Title: [138204] trunk/Source/WebCore
Revision
138204
Author
k...@webkit.org
Date
2012-12-19 16:40:01 -0800 (Wed, 19 Dec 2012)

Log Message

Unreviewed. Add new strings to GTK+'s implementation of
LocalizedStrings, using glib's context-aware macro.

* platform/gtk/LocalizedStringsGtk.cpp:
(WebCore):
(WebCore::textTrackClosedCaptionsText):
(WebCore::textTrackSubtitlesText):
(WebCore::textTrackOffText):
(WebCore::textTrackNoLabelText):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (138203 => 138204)


--- trunk/Source/WebCore/ChangeLog	2012-12-20 00:38:22 UTC (rev 138203)
+++ trunk/Source/WebCore/ChangeLog	2012-12-20 00:40:01 UTC (rev 138204)
@@ -1,3 +1,15 @@
+2012-12-19  Gustavo Noronha Silva  <g...@gnome.org>
+
+        Unreviewed. Add new strings to GTK+'s implementation of
+        LocalizedStrings, using glib's context-aware macro.
+
+        * platform/gtk/LocalizedStringsGtk.cpp:
+        (WebCore):
+        (WebCore::textTrackClosedCaptionsText):
+        (WebCore::textTrackSubtitlesText):
+        (WebCore::textTrackOffText):
+        (WebCore::textTrackNoLabelText):
+
 2012-12-18  James Simonsen  <simon...@chromium.org>
 
         Set the original resource's response even on a 304

Modified: trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp (138203 => 138204)


--- trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp	2012-12-20 00:38:22 UTC (rev 138203)
+++ trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp	2012-12-20 00:40:01 UTC (rev 138204)
@@ -747,4 +747,26 @@
     return validationMessageTypeMismatchText();
 }
 
+#if ENABLE(VIDEO_TRACK)
+String textTrackClosedCaptionsText()
+{
+    return String::fromUTF8(C_("Closed Captions", "Menu section heading for closed captions"));
 }
+
+String textTrackSubtitlesText()
+{
+    return String::fromUTF8(C_("Subtitles", "Menu section heading for subtitles"));
+}
+
+String textTrackOffText()
+{
+    return String::fromUTF8(C_("Off", "Menu item label for the track that represents disabling closed captions"));
+}
+
+String textTrackNoLabelText()
+{
+    return String::fromUTF8(C_("No label", "Menu item label for a closed captions track that has no other name"));
+}
+#endif
+
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to