I18n for System font
Bug: 47819 Change-Id: I9244aab0ec32c27bfc56dd5a441f02a9783e5fb1
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
"ext-uls-webfonts-select-for": "Select font for $1",
|
||||
"ext-uls-webfonts-select-for-ui-info": "Font used for user interface",
|
||||
"ext-uls-webfonts-select-for-content-info": "Font used for content",
|
||||
"ext-uls-webfonts-system-font": "System font",
|
||||
"ext-uls-back-to-display-settings": "Back to display settings",
|
||||
"ext-uls-input-settings-title": "Input settings",
|
||||
"ext-uls-input-settings-title-short": "Input",
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"ext-uls-webfonts-select-for": "Label for font selector dropdown. $1 is a language name",
|
||||
"ext-uls-webfonts-select-for-ui-info": "Information displayed under font selector",
|
||||
"ext-uls-webfonts-select-for-content-info": "Information displayed under font selector",
|
||||
"ext-uls-webfonts-system-font": "Value in a dropdown. System font means that instead of using a specific font provided by this extension, the default font defined in the browser or operating system is used.",
|
||||
"ext-uls-back-to-display-settings": "Text for the link shown when language selector is accessed from language settings.",
|
||||
"ext-uls-input-settings-title": "Title text for input settings screen",
|
||||
"ext-uls-input-settings-title-short": "Short title for input settings screen",
|
||||
@@ -48,4 +49,4 @@
|
||||
"ext-uls-input-enable": "Label for enable input tools button",
|
||||
"ext-uls-input-disable-info": "Info text for the disable input tools button",
|
||||
"ext-uls-input-settings-noime": "Text to be shown when no input methods are available for a selected language"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -390,7 +390,7 @@
|
||||
} );
|
||||
|
||||
$fontSelector.prop( 'disabled', !this.isWebFontsEnabled() );
|
||||
$systemFont = $( '<option>' ).val( 'system' ).text( 'System font' );
|
||||
$systemFont = $( '<option>' ).val( 'system' ).text( $.i18n( 'ext-uls-webfonts-system-font' ) );
|
||||
$fontSelector.append( $systemFont );
|
||||
$systemFont.attr( 'selected', savedFont === 'system' || !savedFont );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user