From 40f42682afc1bd543f9fde452f7f1f20fcf55492 Mon Sep 17 00:00:00 2001 From: "alexeypa@chromium.org" Date: Fri, 26 Jul 2013 22:55:00 +0000 Subject: Localized Chromoting Host on Mac and Linux. This CL implements generation of localizable strings from remoting_strings.grd file. Depending on the platform the localized resources are placed to: - Mac: localized .string and .pak resources are added to each application bundle under 'Resources/.lproj' - Linux: localized .pak files are placed under 'remoting_locales' directory next to the binary locading them. - Windows: .rc resources are generated from .jinja2 templates and embedded into a relevant binary. Chrome l10n and i18n APIs are used to retrieve the current locale and RTL flag (Mac & Linux). The it2me plugin sets the locale to match the locale of the browser. Collateral changes: - UiString is not used any more. - Increased width of disconnect window message on Mac. - The host plugin version is correctly reported on Mac. - Dialogs use RTL templates in case of RTL languages. No more updating the templates dynamically (Windows). - remoting_unittests.ResourcesTest row runs on Mac, LInux and Windows. - '@' is used for variable substitutions by remoting_localize.py. - HOST_PLUGIN_MIME_TYPE is defined in one place now. - Deleted unused commong_resources.grd. Mac installer and preference panel are not localized yet. BUG=155204 Review URL: https://chromiumcodereview.appspot.com/19803010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213997 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/continue_window.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'remoting/host/continue_window.cc') diff --git a/remoting/host/continue_window.cc b/remoting/host/continue_window.cc index abea5cf..35a7f90 100644 --- a/remoting/host/continue_window.cc +++ b/remoting/host/continue_window.cc @@ -57,8 +57,7 @@ void ContinueWindow::DisconnectSession() { client_session_control_->DisconnectSession(); } -ContinueWindow::ContinueWindow(const UiStrings& ui_strings) - : ui_strings_(ui_strings) { +ContinueWindow::ContinueWindow() { } void ContinueWindow::OnSessionExpired() { -- cgit v1.1