settings: Fix strings, copy and capitalization

Addresses the issues pointed out in:
https://gerrit.wikimedia.org/r/#/c/140086/16/i18n/en.json

Discussion:
https://trello.com/c/NYQ0nMeE/101-hovercards-phase-3

Bug: 68812
Change-Id: I7b4f6d2be08a1ee20b19aec95d99a73fd4bf9d29
This commit is contained in:
Prateek Saxena 2014-08-19 21:22:18 +05:30
parent 46bcb6d4d2
commit 13f3f1cf67
4 changed files with 18 additions and 18 deletions

View file

@ -79,10 +79,10 @@ $wgHooks[ 'ResourceLoaderRegisterModules' ][] = function ( ResourceLoader &$reso
'popups-last-edited',
"popups-settings-title",
"popups-settings-description",
"popups-settings-option-read-quickly",
"popups-settings-option-read-quickly-description",
"popups-settings-option-monitor-or-edit",
"popups-settings-option-monitor-or-edit-description",
"popups-settings-option-simple",
"popups-settings-option-simple-description",
"popups-settings-option-advanced",
"popups-settings-option-advanced-description",
"popups-settings-option-off",
"popups-settings-option-off-description",
"popups-settings-save",

View file

@ -6,15 +6,15 @@
"popups-desc": "Displays hovercards with summaries of page contents when the user hovers over a page link",
"popups-last-edited": "Last edited $1",
"popups-redirects": "redirects to <h3>$1</h3>",
"popups-settings-title": "Article Preview",
"popups-settings-title": "Page preview",
"popups-settings-description": "This tool lets you preview blue links and references",
"popups-settings-option-read-quickly": "Read Quickly",
"popups-settings-option-read-quickly-description": "See the lead sentence of an article and see a preview image.<br />This is recommended for readers.",
"popups-settings-option-monitor-or-edit": "Monitor or Edit",
"popups-settings-option-monitor-or-edit-description": "Use advanced actions to monitor and edit the content of blue links",
"popups-settings-option-off": "Turn Previews off",
"popups-settings-option-simple": "Simple",
"popups-settings-option-simple-description": "See the lead sentence of a page and a preview image. This is recommended for readers",
"popups-settings-option-advanced": "Advanced",
"popups-settings-option-advanced-description": "See link previews and access editing function menus. This is used by many editors.",
"popups-settings-option-off": "Disable previews",
"popups-settings-option-off-description": "You can change this setting using the link in the footer of the page",
"popups-settings-save": "Save",
"popups-settings-cancel": "Cancel",
"popups-settings-enable": "Enable Hovercards"
"popups-settings-enable": "Enable previews"
}

View file

@ -11,11 +11,11 @@
"popups-redirects": "Unused at this time.\n\nMessage shown when the hovercard is showing a redirected page.\n\nParameters:\n* $1 - ...",
"popups-settings-title": "Title used for the setting's dialog",
"popups-settings-description": "Description for the setting's dialog",
"popups-settings-option-read-quickly": "Title for the read quickly or hovercard option",
"popups-settings-option-read-quickly-description": "Description for the read quickly or hovercard option",
"popups-settings-option-monitor-or-edit": "Title for the monitor or edit or navigation popups option",
"popups-settings-option-monitor-or-edit-description": "Description for the monitor or edit or navigation popups option",
"popups-settings-option-off": "Title for turn off hovercards option",
"popups-settings-option-simple": "Title for the reader hovercard option",
"popups-settings-option-simple-description": "Description for the reader hovercard option",
"popups-settings-option-advanced": "Title for the editor or navigation popups option",
"popups-settings-option-advanced-description": "Description for the editor or navigation popups option",
"popups-settings-option-off": "Title to turn off hovercards option",
"popups-settings-option-off-description": "Description for turn off hovercards option",
"popups-settings-save": "Save buttton for the setting's dialoag\n{{Identical|Save}}",
"popups-settings-cancel": "Cancel button for the setting's dialog\n{{Identical|Cancel}}",

View file

@ -37,8 +37,8 @@
$form = $( '<form>' ).append( $radioGroup, $actions ),
$main = $( '<main>' ).append( $description, $form ),
options = [
[ mw.message( 'popups-settings-option-read-quickly' ).text(), mw.message( 'popups-settings-option-read-quickly-description' ).text(), 'hovercard.svg' ],
[ mw.message( 'popups-settings-option-monitor-or-edit' ).text(), mw.message( 'popups-settings-option-monitor-or-edit-description' ).text(), 'navpop.svg' ],
[ mw.message( 'popups-settings-option-simple' ).text(), mw.message( 'popups-settings-option-simple-description' ).text(), 'hovercard.svg' ],
[ mw.message( 'popups-settings-option-advanced' ).text(), mw.message( 'popups-settings-option-advanced-description' ).text(), 'navpop.svg' ],
[ mw.message( 'popups-settings-option-off' ).text(), mw.message( 'popups-settings-option-off-description' ).text() ]
];