Title: [154994] trunk/Source/WebCore
Revision
154994
Author
[email protected]
Date
2013-09-03 12:00:11 -0700 (Tue, 03 Sep 2013)

Log Message

[GTK][EFL] include missing localized strings for subtitle auto track
https://bugs.webkit.org/show_bug.cgi?id=120629

those methods are necessary to show the "Auto" track on webkitgtk

Patch by Danilo Cesar Lemes de Paula <[email protected]> on 2013-09-03
Reviewed by Gustavo Noronha Silva.

* platform/efl/LocalizedStringsEfl.cpp:
(WebCore::textTrackAutomaticMenuItemText):
* platform/gtk/LocalizedStringsGtk.cpp:
(WebCore::textTrackAutomaticMenuItemText):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (154993 => 154994)


--- trunk/Source/WebCore/ChangeLog	2013-09-03 18:51:45 UTC (rev 154993)
+++ trunk/Source/WebCore/ChangeLog	2013-09-03 19:00:11 UTC (rev 154994)
@@ -1,3 +1,17 @@
+2013-09-03  Danilo Cesar Lemes de Paula  <[email protected]>
+
+        [GTK][EFL] include missing localized strings for subtitle auto track
+        https://bugs.webkit.org/show_bug.cgi?id=120629
+
+        those methods are necessary to show the "Auto" track on webkitgtk
+
+        Reviewed by Gustavo Noronha Silva.
+
+        * platform/efl/LocalizedStringsEfl.cpp:
+        (WebCore::textTrackAutomaticMenuItemText):
+        * platform/gtk/LocalizedStringsGtk.cpp:
+        (WebCore::textTrackAutomaticMenuItemText):
+
 2013-09-03  Daniel Bates  <[email protected]>
 
         Require layout when -webkit-overflow-scrolling changes

Modified: trunk/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp (154993 => 154994)


--- trunk/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp	2013-09-03 18:51:45 UTC (rev 154993)
+++ trunk/Source/WebCore/platform/efl/LocalizedStringsEfl.cpp	2013-09-03 19:00:11 UTC (rev 154994)
@@ -640,6 +640,11 @@
     return String::fromUTF8("Off");
 }
 
+String textTrackAutomaticMenuItemText()
+{
+    return String::fromUTF8("Auto");
+}
+
 String textTrackNoLabelText()
 {
     return String::fromUTF8("No label");

Modified: trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp (154993 => 154994)


--- trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp	2013-09-03 18:51:45 UTC (rev 154993)
+++ trunk/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp	2013-09-03 19:00:11 UTC (rev 154994)
@@ -803,6 +803,11 @@
     return String::fromUTF8(C_("Off", "Menu item label for the track that represents disabling closed captions"));
 }
 
+String textTrackAutomaticMenuItemText()
+{
+    return String::fromUTF8(C_("Menu item label for the automatically choosen track", "Auto"));
+}
+
 String textTrackNoLabelText()
 {
     return String::fromUTF8(C_("No label", "Menu item label for a closed captions track that has no other name"));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to