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