From: Volker E Date: Tue, 27 Nov 2018 23:03:02 +0000 (-0800) Subject: Special:Preferences: Add example value as placeholder to timezone offset X-Git-Tag: 1.34.0-rc.0~3402^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=293a1391ded10fb7e76b42648a40d62406c6998f;p=lhc%2Fweb%2Fwiklou.git Special:Preferences: Add example value as placeholder to timezone offset Adding example value as placeholder message in timezone offset input. Bug: T194524 Change-Id: I1fd6183233109355e49b7baecf44a8603c1efdb2 --- diff --git a/includes/preferences/DefaultPreferencesFactory.php b/includes/preferences/DefaultPreferencesFactory.php index 32a54044fa..769954d9b9 100644 --- a/includes/preferences/DefaultPreferencesFactory.php +++ b/includes/preferences/DefaultPreferencesFactory.php @@ -796,6 +796,7 @@ class DefaultPreferencesFactory implements PreferencesFactory { 'section' => 'rendering/timeoffset', 'id' => 'wpTimeCorrection', 'filter' => TimezoneFilter::class, + 'placeholder-message' => 'timezone-useoffset-placeholder', ]; } diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 72e67163e6..310dad49dd 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1078,7 +1078,8 @@ "timezonelegend": "Time zone:", "localtime": "Local time:", "timezoneuseserverdefault": "Use wiki default ($1)", - "timezoneuseoffset": "Other (specify offset)", + "timezoneuseoffset": "Other (specify offset below)", + "timezone-useoffset-placeholder": "Example values: \"-07:00\" or \"01:00\"", "servertime": "Server time:", "guesstimezone": "Fill in from browser", "timezoneregion-africa": "Africa", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 182dc42fee..dde3643a20 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -1282,6 +1282,7 @@ "localtime": "Used as label in [[Special:Preferences#mw-prefsection-datetime|preferences]].", "timezoneuseserverdefault": "[[Special:Preferences]] > Date and time > Time zone\n\nThis option lets your time zone setting use the one that is used on the wiki (often UTC).\n\nParameters:\n* $1 - timezone name, or timezone offset (in \"%+03d:%02d\" format)", "timezoneuseoffset": "Used in \"Time zone\" listbox in [[Special:Preferences#mw-prefsection-datetime|preferences]], \"date and time\" tab.", + "timezone-useoffset-placeholder": "Used in \"Time zone\" text input field as placeholder in [[Special:Preferences#mw-prefsection-datetime|preferences]]", "servertime": "Used as label in [[Special:Preferences#mw-prefsection-datetime|preferences]].", "guesstimezone": "Option to fill in the timezone from the browser setting", "timezoneregion-africa": "Used in \"Time zone\" listbox in [[Special:Preferences#mw-prefsection-datetime|preferences]], \"date and time\" tab.\n{{Related|Timezoneregion}}",