mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Revert "Only change edit tab text if the current text is as expected"
Apparently doesn't work in English.
This reverts commit 8239437a3f
.
Change-Id: I03a375c85b32058992d5956b6801605fa997dd7d
This commit is contained in:
parent
8239437a3f
commit
37b50a273f
|
@ -263,8 +263,7 @@
|
|||
"visualeditor-ca-editsource-section",
|
||||
"postedit-confirmation-created",
|
||||
"postedit-confirmation-restored",
|
||||
"postedit-confirmation-saved",
|
||||
"edit"
|
||||
"postedit-confirmation-saved"
|
||||
],
|
||||
"position": "top"
|
||||
},
|
||||
|
|
|
@ -352,7 +352,7 @@
|
|||
$caEditLink.text( mw.msg( tabMessages[action + 'localdescriptionsource'] ) );
|
||||
}
|
||||
} else {
|
||||
if ( tabMessages[action + 'source'] !== null && $caEditLink.text() === mw.msg( 'edit' ) ) {
|
||||
if ( tabMessages[action + 'source'] !== null ) {
|
||||
$caEditLink.text( mw.msg( tabMessages[action + 'source'] ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue