Index: trunk/extensions/Translate/utils/MessageTable.php |
— | — | @@ -126,13 +126,13 @@ |
127 | 127 | } |
128 | 128 | |
129 | 129 | global $wgLang; |
130 | | - $niceTitle = htmlspecialchars( $wgLang->truncate( $title->getPrefixedText(), - 30 ) ); |
| 130 | + $niceTitle = htmlspecialchars( $wgLang->truncate( $title->getPrefixedText(), -35 ) ); |
131 | 131 | |
132 | 132 | $linker = class_exists( 'DummyLinker' ) ? new DummyLinker() : new Linker(); |
133 | 133 | $tools['edit'] = $linker->link( |
134 | 134 | $title, |
135 | 135 | $niceTitle, |
136 | | - TranslationEditPage::jsEdit( $title ), |
| 136 | + TranslationEditPage::jsEdit( $title, $this->group->getId() ), |
137 | 137 | array( 'action' => 'edit' ) + $this->editLinkParams, |
138 | 138 | 'known' |
139 | 139 | ); |
— | — | @@ -145,7 +145,7 @@ |
146 | 146 | $extra = '<br />' . $optional; |
147 | 147 | } |
148 | 148 | |
149 | | - $leftColumn = $anchor . $tools['edit'] . $this->getReviewButton( $m ) . $extra . $this->getReviewStatus( $m ); |
| 149 | + $leftColumn = $this->getReviewButton( $m ) . $anchor . $tools['edit'] . $extra . $this->getReviewStatus( $m ); |
150 | 150 | |
151 | 151 | if ( $this->reviewMode && $original !== $message ) { |
152 | 152 | $output .= Xml::tags( 'tr', array( 'class' => 'orig' ), |
Index: trunk/extensions/Translate/resources/ext.translate.quickedit.js |
— | — | @@ -88,11 +88,11 @@ |
89 | 89 | |
90 | 90 | if ( mw.config.get( 'trlKeys' ) ) { |
91 | 91 | form.find( '.mw-translate-next' ).click( function() { |
92 | | - mw.translate.openNext( page ); |
| 92 | + mw.translate.openNext( page, group ); |
93 | 93 | } ); |
94 | 94 | |
95 | 95 | form.find( '.mw-translate-skip' ).click( function() { |
96 | | - mw.translate.openNext( page ); |
| 96 | + mw.translate.openNext( page, group ); |
97 | 97 | dialog.dialog( 'close' ); |
98 | 98 | return false; |
99 | 99 | } ); |
— | — | @@ -190,7 +190,7 @@ |
191 | 191 | return false; |
192 | 192 | }, |
193 | 193 | |
194 | | - openNext: function( title ) { |
| 194 | + openNext: function( title, group ) { |
195 | 195 | var messages = mw.config.get( 'trlKeys' ); |
196 | 196 | var found = false, key, value; |
197 | 197 | |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | |
203 | 203 | value = messages[key]; |
204 | 204 | if ( found ) { |
205 | | - return mw.translate.openDialog( value ); |
| 205 | + return mw.translate.openDialog( value, group ); |
206 | 206 | } else if( value === title ) { |
207 | 207 | found = true; |
208 | 208 | } |