Merge "Fix remaining strings not participating in live language preview"
This commit is contained in:
@@ -80,8 +80,8 @@
|
||||
+ '</div>'; // End font settings section
|
||||
|
||||
function DisplaySettings( $parent ) {
|
||||
this.name = $.i18n( 'ext-uls-display-settings-title-short' );
|
||||
this.description = $.i18n( 'ext-uls-display-settings-desc' );
|
||||
this.nameI18n = 'ext-uls-display-settings-title-short';
|
||||
this.descriptionI18n = 'ext-uls-display-settings-desc';
|
||||
this.$template = $( template );
|
||||
this.uiLanguage = this.getUILanguage();
|
||||
this.contentLanguage = this.getContentLanguage();
|
||||
|
||||
@@ -55,8 +55,8 @@
|
||||
+ '</div>';
|
||||
|
||||
function InputSettings( $parent ) {
|
||||
this.name = $.i18n( 'ext-uls-input-settings-title-short' );
|
||||
this.description = $.i18n( 'ext-uls-input-settings-desc' );
|
||||
this.nameI18n = 'ext-uls-input-settings-title-short';
|
||||
this.descriptionI18n = 'ext-uls-input-settings-desc';
|
||||
this.$template = $( template );
|
||||
this.uiLanguage = this.getInterfaceLanguage();
|
||||
this.contentLanguage = this.getContentLanguage();
|
||||
|
||||
@@ -125,10 +125,10 @@
|
||||
|
||||
$settingsTitle = $( '<div>' )
|
||||
.addClass( 'settings-title' )
|
||||
.text( module.name );
|
||||
.attr( 'data-i18n', module.nameI18n );
|
||||
$settingsText = $( '<span>' )
|
||||
.addClass( 'settings-text' )
|
||||
.text( module.description );
|
||||
.attr( 'data-i18n', module.descriptionI18n );
|
||||
$settingsLink = $( '<div>' )
|
||||
.addClass( moduleName + '-settings-block menu-section' )
|
||||
.prop( 'id', moduleName + '-panel-trigger' )
|
||||
|
||||
Reference in New Issue
Block a user