mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Rename 'langlinks' to 'languages'
For internal naming consistency (e.g. with MWLanguageMetaItem). Change-Id: Ifb53fa10da52e1ea87389b024b7c581b8dd730e6
This commit is contained in:
parent
3eccf9f682
commit
dd0086468e
|
@ -88,7 +88,7 @@ $messages['en'] = array(
|
|||
'visualeditor-dialog-meta-categories-input-matchingcategorieslabel' => 'Matching categories',
|
||||
'visualeditor-dialog-meta-categories-sortkey-label' => 'Page name in category',
|
||||
'visualeditor-dialog-meta-categories-defaultsort-label' => 'Default page name on category page',
|
||||
'visualeditor-dialog-meta-langlinks-section' => 'Languages',
|
||||
'visualeditor-dialog-meta-languages-section' => 'Languages',
|
||||
'visualeditor-viewpage-savewarning' => 'Are you sure you want to go back to view mode without saving first?',
|
||||
'visualeditor-loadwarning' => 'Error loading data from server: $1. Would you like to retry?',
|
||||
'visualeditor-loadwarning-token' => 'Error loading edit token from server: $1. Would you like to retry?',
|
||||
|
@ -231,7 +231,7 @@ See also:
|
|||
'visualeditor-dialog-meta-categories-input-matchingcategorieslabel' => 'Label for matching suggested categories',
|
||||
'visualeditor-dialog-meta-categories-sortkey-label' => 'Label for setting the page\'s sort key for a given category',
|
||||
'visualeditor-dialog-meta-categories-defaultsort-label' => 'Label for field setting the category default sort',
|
||||
'visualeditor-dialog-meta-langlinks-section' => 'Label for the language links dialog section',
|
||||
'visualeditor-dialog-meta-languages-section' => 'Label for the language links dialog section',
|
||||
'visualeditor-viewpage-savewarning' => 'Text shown when the user tries to leave the editor without saving their changes',
|
||||
'visualeditor-loadwarning' => 'Text (JavaScript confirm()) shown when the editor fails to load properly.
|
||||
|
||||
|
|
|
@ -525,7 +525,7 @@ $wgResourceModules += array(
|
|||
'visualeditor-dialog-meta-categories-input-matchingcategorieslabel',
|
||||
'visualeditor-dialog-meta-categories-sortkey-label',
|
||||
'visualeditor-dialog-meta-categories-defaultsort-label',
|
||||
'visualeditor-dialog-meta-langlinks-section',
|
||||
'visualeditor-dialog-meta-languages-section',
|
||||
),
|
||||
),
|
||||
'ext.visualEditor.experimental' => $wgVisualEditorResourceTemplate + array(
|
||||
|
|
|
@ -86,7 +86,7 @@ ve.ui.MWMetaDialog.prototype.initialize = function () {
|
|||
this.categoryWidget.addItems( this.getCategoryItems() );
|
||||
this.addPage( 'categories', ve.msg( 'visualeditor-dialog-meta-categories-section' ), 'tag' );
|
||||
// TODO: Implement language editing. Load page with:
|
||||
// .addPage( 'languages', ve.msg( 'visualeditor-dialog-meta-langlinks-section' ), 'language' );
|
||||
// .addPage( 'languages', ve.msg( 'visualeditor-dialog-meta-languages-section' ), 'language' );
|
||||
|
||||
this.pages.categories.$.append( this.categoriesFieldset.$, this.categorySettingsFieldset.$ );
|
||||
this.categoriesFieldset.$.append( this.categoryWidget.$ );
|
||||
|
|
Loading…
Reference in a new issue