summaryrefslogtreecommitdiffstats
path: root/remoting/host
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 18:24:49 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-18 18:24:49 +0000
commit159407f4e3b39981c6fd4c883eefdfa56e4b8cea (patch)
treeff69935ca40e1337c12156400112fd300bff3b52 /remoting/host
parente95db56091fad94c9f7f028fb19d08e8d9652971 (diff)
downloadchromium_src-159407f4e3b39981c6fd4c883eefdfa56e4b8cea.zip
chromium_src-159407f4e3b39981c6fd4c883eefdfa56e4b8cea.tar.gz
chromium_src-159407f4e3b39981c6fd4c883eefdfa56e4b8cea.tar.bz2
Fixed footer i18n so that 3 entries are no longer needed.
BUG=None TEST=Manual Review URL: http://codereview.chromium.org/7661033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97340 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r--remoting/host/plugin/host_script_object.cc19
1 files changed, 10 insertions, 9 deletions
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
index 9f6bbfc..0fcb082 100644
--- a/remoting/host/plugin/host_script_object.cc
+++ b/remoting/host/plugin/host_script_object.cc
@@ -648,22 +648,23 @@ void HostNPScriptObject::LocalizeStrings() {
ui_strings->direction =
direction == "rtl" ? remoting::UiStrings::RTL
: remoting::UiStrings::LTR;
- LocalizeString("productName", NULL, &ui_strings->product_name);
- LocalizeString("disconnectButton", NULL, &ui_strings->disconnect_button_text);
+ LocalizeString("PRODUCT_NAME", NULL, &ui_strings->product_name);
+ LocalizeString("DISCONNECT_BUTTON", NULL,
+ &ui_strings->disconnect_button_text);
LocalizeString(
#if defined(OS_WIN)
- "disconnectButtonPlusShortcutWindows",
+ "DISCONNECT_BUTTON_PLUS_SHORTCUT_WINDOWS",
#elif defined(OS_MAC)
- "disconnectButtonPlusShortcutMacOSX",
+ "DISCONNECT_BUTTON_PLUS_SHORTCUT_MAC_OS_X",
#else
- "disconnectButtonPlusShortcutLinux",
+ "DISCONNECT_BUTTON_PLUS_SHORTCUT_LINUX",
#endif
NULL, &ui_strings->disconnect_button_text_plus_shortcut);
- LocalizeString("continuePrompt", NULL, &ui_strings->continue_prompt);
- LocalizeString("continueButton", NULL, &ui_strings->continue_button_text);
- LocalizeString("stopSharingButton", NULL,
+ LocalizeString("CONTINUE_PROMPT", NULL, &ui_strings->continue_prompt);
+ LocalizeString("CONTINUE_BUTTON", NULL, &ui_strings->continue_button_text);
+ LocalizeString("STOP_SHARING_BUTTON", NULL,
&ui_strings->stop_sharing_button_text);
- LocalizeString("messageShared", client_username_.c_str(),
+ LocalizeString("MESSAGE_SHARED", client_username_.c_str(),
&ui_strings->disconnect_message);
}