Title: [227646] trunk/Source/WebCore
- Revision
- 227646
- Author
- [email protected]
- Date
- 2018-01-25 17:18:30 -0800 (Thu, 25 Jan 2018)
Log Message
Add localizable strings for extra-zoomed form controls
https://bugs.webkit.org/show_bug.cgi?id=182080
Reviewed by Tim Horton.
Add new localizable strings. Additionally, run `update-webkit-localizable-strings` to re-sort
Localizable.strings.
* English.lproj/Localizable.strings:
* platform/LocalizedStrings.cpp:
(WebCore::formControlCancelButtonTitle):
(WebCore::formControlHideButtonTitle):
(WebCore::formControlGoButtonTitle):
(WebCore::formControlSearchButtonTitle):
(WebCore::textInputModeWriteButton):
(WebCore::textInputModeSpeechButton):
* platform/LocalizedStrings.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (227645 => 227646)
--- trunk/Source/WebCore/ChangeLog 2018-01-26 01:12:20 UTC (rev 227645)
+++ trunk/Source/WebCore/ChangeLog 2018-01-26 01:18:30 UTC (rev 227646)
@@ -1,3 +1,23 @@
+2018-01-25 Wenson Hsieh <[email protected]>
+
+ Add localizable strings for extra-zoomed form controls
+ https://bugs.webkit.org/show_bug.cgi?id=182080
+
+ Reviewed by Tim Horton.
+
+ Add new localizable strings. Additionally, run `update-webkit-localizable-strings` to re-sort
+ Localizable.strings.
+
+ * English.lproj/Localizable.strings:
+ * platform/LocalizedStrings.cpp:
+ (WebCore::formControlCancelButtonTitle):
+ (WebCore::formControlHideButtonTitle):
+ (WebCore::formControlGoButtonTitle):
+ (WebCore::formControlSearchButtonTitle):
+ (WebCore::textInputModeWriteButton):
+ (WebCore::textInputModeSpeechButton):
+ * platform/LocalizedStrings.h:
+
2018-01-25 Chris Dumez <[email protected]>
Access to service workers / Cache API should be disabled in sandboxed frames without allow-same-origin flag
Modified: trunk/Source/WebCore/English.lproj/Localizable.strings (227645 => 227646)
--- trunk/Source/WebCore/English.lproj/Localizable.strings 2018-01-26 01:12:20 UTC (rev 227645)
+++ trunk/Source/WebCore/English.lproj/Localizable.strings 2018-01-26 01:18:30 UTC (rev 227646)
@@ -124,6 +124,9 @@
/* Option in segmented control for inserting a bulleted list in text editing */
"Bulleted list" = "Bulleted list";
+/* Title of the Cancel button for zoomed form controls. */
+"Cancel" = "Cancel";
+
/* Title for Cancel button label in button bar */
"Cancel button label in button bar" = "Cancel";
@@ -220,6 +223,9 @@
/* Undo action name */
"Dictation (Undo action name)" = "Dictation";
+/* Text of button that exits element fullscreen. */
+"Done" = "Done";
+
/* Download Audio To Disk context menu item */
"Download Audio" = "Download Audio";
@@ -283,9 +289,15 @@
/* WebKitErrorFrameLoadInterruptedByPolicyChange description */
"Frame load interrupted" = "Frame load interrupted";
+/* Title of the Go button for zoomed form controls. */
+"Go" = "Go";
+
/* accessibility role description for web area */
"HTML content" = "HTML content";
+/* Title of the Hide button for zoomed form controls. */
+"Hide" = "Hide";
+
/* Hide Media Controls context menu item */
"Hide Controls" = "Hide Controls";
@@ -523,6 +535,9 @@
/* Title for Save Image action button */
"Save Image" = "Save Image";
+/* Title of the Search button for zoomed form controls. */
+"Search" = "Search";
+
/* Search in Spotlight context menu item */
"Search in Spotlight" = "Search in Spotlight";
@@ -598,6 +613,9 @@
/* Title of the label to show on a snapshotted plug-in */
"Snapshotted Plug-In" = "Snapshotted Plug-In";
+/* Title of the dictation button for zoomed form controls. */
+"Speak" = "Speak";
+
/* Speech context sub-menu item */
"Speech" = "Speech";
@@ -793,6 +811,9 @@
/* WebKitErrorInternal description */
"WebKit encountered an internal error" = "WebKit encountered an internal error";
+/* Title of the writing button for zoomed form controls. */
+"Write" = "Write";
+
/* message in authentication panel */
"Your login information will be sent securely." = "Your login information will be sent securely.";
@@ -1162,6 +1183,15 @@
/* accessibility help text for hide closed captions button */
"stop displaying closed captions" = "stop displaying closed captions";
+/* Label for the strong confirmation password auto fill button inside a text field. */
+"strong confirmation password auto fill" = "strong confirmation password auto fill";
+
+/* Label for strong password. */
+"strong password" = "strong password";
+
+/* Label for the strong password auto fill button inside a text field. */
+"strong password auto fill" = "strong password auto fill";
+
/* The suboptimal value description for a meter element. */
"suboptimal value" = "suboptimal value";
@@ -1246,14 +1276,3 @@
/* Option in segmented control for choosing list type in text editing */
"•" = "•";
-/* Label for strong password. */
-"strong password" = "strong password";
-
-/* Label for the auto fill strong password button inside a text field. */
-"strong password auto fill" = "strong password auto fill";
-
-/* Label for the auto fill strong confirmation password button inside a text field. */
-"strong confirmation password auto fill" = "strong confirmation password auto fill";
-
-/* Text of button that exits element fullscreen. */
-"Done" = "Done";
Modified: trunk/Source/WebCore/platform/LocalizedStrings.cpp (227645 => 227646)
--- trunk/Source/WebCore/platform/LocalizedStrings.cpp 2018-01-26 01:12:20 UTC (rev 227645)
+++ trunk/Source/WebCore/platform/LocalizedStrings.cpp 2018-01-26 01:18:30 UTC (rev 227646)
@@ -1029,4 +1029,38 @@
#endif
+#if ENABLE(EXTRA_ZOOM_MODE)
+
+String formControlCancelButtonTitle()
+{
+ return WEB_UI_STRING("Cancel", "Title of the Cancel button for zoomed form controls.");
+}
+
+String formControlHideButtonTitle()
+{
+ return WEB_UI_STRING("Hide", "Title of the Hide button for zoomed form controls.");
+}
+
+String formControlGoButtonTitle()
+{
+ return WEB_UI_STRING("Go", "Title of the Go button for zoomed form controls.");
+}
+
+String formControlSearchButtonTitle()
+{
+ return WEB_UI_STRING("Search", "Title of the Search button for zoomed form controls.");
+}
+
+String textInputModeWriteButton()
+{
+ return WEB_UI_STRING("Write", "Title of the writing button for zoomed form controls.");
+}
+
+String textInputModeSpeechButton()
+{
+ return WEB_UI_STRING("Speak", "Title of the dictation button for zoomed form controls.");
+}
+
+#endif
+
} // namespace WebCore
Modified: trunk/Source/WebCore/platform/LocalizedStrings.h (227645 => 227646)
--- trunk/Source/WebCore/platform/LocalizedStrings.h 2018-01-26 01:12:20 UTC (rev 227645)
+++ trunk/Source/WebCore/platform/LocalizedStrings.h 2018-01-26 01:18:30 UTC (rev 227646)
@@ -315,6 +315,16 @@
WEBCORE_EXPORT String exitFullScreenButtonAccessibilityTitle();
#endif
+#if ENABLE(EXTRA_ZOOM_MODE)
+ WEBCORE_EXPORT String formControlCancelButtonTitle();
+ WEBCORE_EXPORT String formControlSubmitButtonTitle();
+ WEBCORE_EXPORT String formControlHideButtonTitle();
+ WEBCORE_EXPORT String formControlGoButtonTitle();
+ WEBCORE_EXPORT String formControlSearchButtonTitle();
+ WEBCORE_EXPORT String textInputModeWriteButton();
+ WEBCORE_EXPORT String textInputModeSpeechButton();
+#endif
+
#if USE(GLIB) && defined(GETTEXT_PACKAGE)
#define WEB_UI_STRING(string, description) WebCore::localizedString(_(string))
#define WEB_UI_STRING_KEY(string, key, description) WebCore::localizedString(C_(key, string))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes