Changeset 128098 in webkit


Ignore:
Timestamp:
Sep 10, 2012 1:31:17 PM (12 years ago)
Author:
andersca@apple.com
Message:

Silence a warning when running update-webkit-localizable-strings
https://bugs.webkit.org/show_bug.cgi?id=96307

Reviewed by John Sullivan.

Since both the blockedPluginByContentSecurityPolicyText and insecurePluginVersionText strings use exact the same wording,
use WEB_UI_STRING_KEY to indicate that they are different.

  • English.lproj/Localizable.strings:

Update the localizable strings file.

  • platform/LocalizedStrings.cpp:

(WebCore::blockedPluginByContentSecurityPolicyText):
(WebCore::insecurePluginVersionText):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r128095 r128098  
     12012-09-10  Anders Carlsson  <andersca@apple.com>
     2
     3        Silence a warning when running update-webkit-localizable-strings
     4        https://bugs.webkit.org/show_bug.cgi?id=96307
     5
     6        Reviewed by John Sullivan.
     7
     8        Since both the blockedPluginByContentSecurityPolicyText and insecurePluginVersionText strings use exact the same wording,
     9        use WEB_UI_STRING_KEY to indicate that they are different.
     10
     11        * English.lproj/Localizable.strings:
     12        Update the localizable strings file.
     13
     14        * platform/LocalizedStrings.cpp:
     15        (WebCore::blockedPluginByContentSecurityPolicyText):
     16        (WebCore::insecurePluginVersionText):
     17
    1182012-09-10  Adam Barth  <abarth@chromium.org>
    219
  • trunk/Source/WebCore/English.lproj/Localizable.strings

    r118820 r128098  
    5656"Back" = "Back";
    5757
     58/* Label text to be used if plugin is blocked by a page's Content Security Policy */
     59"Blocked Plug-In (Blocked by page's Content Security Policy)" = "Blocked Plug-in";
     60
    5861/* Label text to be used when an insecure plug-in version was blocked from loading */
    59 "Blocked Plug-in" = "Blocked Plug-in";
     62"Blocked Plug-In (Insecure plug-in)" = "Blocked Plug-in";
    6063
    6164/* Bold context menu item */
  • trunk/Source/WebCore/platform/LocalizedStrings.cpp

    r127525 r128098  
    677677String blockedPluginByContentSecurityPolicyText()
    678678{
    679     return WEB_UI_STRING("Blocked Plug-in", "Label text to be used if plugin is blocked by a page's Content Security Policy");
     679    return WEB_UI_STRING_KEY("Blocked Plug-in", "Blocked Plug-In (Blocked by page's Content Security Policy)", "Label text to be used if plugin is blocked by a page's Content Security Policy");
    680680}
    681681
    682682String insecurePluginVersionText()
    683683{
    684     return WEB_UI_STRING("Blocked Plug-in", "Label text to be used when an insecure plug-in version was blocked from loading");
     684    return WEB_UI_STRING_KEY("Blocked Plug-in", "Blocked Plug-In (Insecure plug-in)", "Label text to be used when an insecure plug-in version was blocked from loading");
    685685}
    686686
Note: See TracChangeset for help on using the changeset viewer.