jenkins-bot has submitted this change and it was merged.

Change subject: Remove shortcut-activated from "paste source"
......................................................................


Remove shortcut-activated from "paste source"

It's similar to "revert changes" button, which does not have
the insertable class and thus the number indicating shortcut
key won't be visible.

Change-Id: I83e0a52f35906ac7e645546ed6d303b65881a8b2
---
M resources/js/ext.translate.editor.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/js/ext.translate.editor.js 
b/resources/js/ext.translate.editor.js
index cd92fa0..80087dc 100644
--- a/resources/js/ext.translate.editor.js
+++ b/resources/js/ext.translate.editor.js
@@ -601,7 +601,7 @@
 
                        if ( canTranslate ) {
                                $pasteOriginalButton = $( '<button>' )
-                                       .addClass( 
'tux-editor-paste-original-button shortcut-activated' )
+                                       .addClass( 
'tux-editor-paste-original-button' )
                                        .text( mw.msg( 
'tux-editor-paste-original-button-label' ) )
                                        .on( 'click', function () {
                                                $textarea

-- 
To view, visit https://gerrit.wikimedia.org/r/110706
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I83e0a52f35906ac7e645546ed6d303b65881a8b2
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to