Message consistency
* Removed title case * "language used for menus" Change-Id: If5c0323f5e49f2e71a3b6257b62ce5a08c74704c
This commit is contained in:
committed by
Gerrit Code Review
parent
ad4b091796
commit
01b41b9783
@@ -144,7 +144,7 @@
|
|||||||
quickList = quickList.slice( 0, 16 );
|
quickList = quickList.slice( 0, 16 );
|
||||||
quickList.sort( $.uls.data.sortByAutonym );
|
quickList.sort( $.uls.data.sortByAutonym );
|
||||||
var $quickListsection = $( '<div>' ).addClass( 'twelve columns uls-lcd-region-section' ).prop( 'id', 'uls-lcd-quicklist' );
|
var $quickListsection = $( '<div>' ).addClass( 'twelve columns uls-lcd-region-section' ).prop( 'id', 'uls-lcd-quicklist' );
|
||||||
$quickListsection.append( $( '<h3>' ).addClass( 'eleven columns uls-lcd-region-section offset-by-one' ).text( 'Common Languages' ) );
|
$quickListsection.append( $( '<h3>' ).addClass( 'eleven columns uls-lcd-region-section offset-by-one' ).text( 'Common languages' ) );
|
||||||
this.$element.prepend( $quickListsection );
|
this.$element.prepend( $quickListsection );
|
||||||
this.regionDivs[ 'quick' ] = $quickListsection;
|
this.regionDivs[ 'quick' ] = $quickListsection;
|
||||||
for ( var i = 0; i < quickList.length; i++) {
|
for ( var i = 0; i < quickList.length; i++) {
|
||||||
|
|||||||
@@ -20,17 +20,17 @@
|
|||||||
( function( $, mw, window, undefined ) {
|
( function( $, mw, window, undefined ) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var template = '<div class="row"><div class="twelve columns"><h3>Display Settings</h3></div></div>'
|
var template = '<div class="row"><div class="twelve columns"><h3>Display settings</h3></div></div>'
|
||||||
+ '<div class="row"><div class="eleven columns"><h4>Language used for menus</h4></div></div>'
|
+ '<div class="row"><div class="eleven columns"><h4>Language used for menus</h4></div></div>'
|
||||||
+ '<div class="row"><div class="uls-ui-languages eleven columns">'
|
+ '<div class="row"><div class="uls-ui-languages eleven columns">'
|
||||||
+ '</div></div>'
|
+ '</div></div>'
|
||||||
+ '<div class="row"><div class="twelve columns"><h4>Font Settings</h4></div></div>'
|
+ '<div class="row"><div class="twelve columns"><h4>Font settings</h4></div></div>'
|
||||||
+ '<div class="row">'
|
+ '<div class="row">'
|
||||||
+ '<div class="eleven columns">'
|
+ '<div class="eleven columns">'
|
||||||
+ '<label class="checkbox"><input type="checkbox" id="webfonts-enable-checkbox" />'
|
+ '<label class="checkbox"><input type="checkbox" id="webfonts-enable-checkbox" />'
|
||||||
+ '<strong>Download fonts automatically when needed</strong> '
|
+ '<strong>Download fonts automatically when needed</strong> '
|
||||||
+ 'Web fonts will be downloaded when text in special scripts is displayed. '
|
+ 'Web fonts will be downloaded when text in special scripts is displayed. '
|
||||||
+ '<a target="_blank" href="//www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:WebFonts">More Information</a>'
|
+ '<a target="_blank" href="//www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:WebFonts">More information</a>'
|
||||||
+ '</span></label>'
|
+ '</span></label>'
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
var DisplaySettings = function ( $parent ) {
|
var DisplaySettings = function ( $parent ) {
|
||||||
this.name = "Display";
|
this.name = "Display";
|
||||||
this.description = "Set the languages of menus and fonts";
|
this.description = "Set language used for menus and fonts";
|
||||||
this.$template = $( template );
|
this.$template = $( template );
|
||||||
this.uiLanguage = this.getUILanguage();
|
this.uiLanguage = this.getUILanguage();
|
||||||
this.contentLanguage = this.getContentLanguage();
|
this.contentLanguage = this.getContentLanguage();
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
.text( 'Display settings' ),
|
.text( 'Display settings' ),
|
||||||
$displaySettingsText = $( '<span>' )
|
$displaySettingsText = $( '<span>' )
|
||||||
.addClass( 'settings-text' )
|
.addClass( 'settings-text' )
|
||||||
.text( 'Set language for menus and fonts.' ),
|
.text( 'Set language used for menus and fonts.' ),
|
||||||
$displaySettings = $( '<div>' )
|
$displaySettings = $( '<div>' )
|
||||||
.addClass( 'display-settings-block' )
|
.addClass( 'display-settings-block' )
|
||||||
.prop( 'id', 'display-settings-block' )
|
.prop( 'id', 'display-settings-block' )
|
||||||
|
|||||||
Reference in New Issue
Block a user