diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-31 23:08:39 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-31 23:08:39 +0000 |
commit | fc877cf756aca680933305c6cb147feecf63113e (patch) | |
tree | bdbeae4a96bd19176573960f14bbd7223cdcf869 /remoting/branding_Chrome | |
parent | 5365e52c633777ee6dde1edba6258fb502ac205d (diff) | |
download | chromium_src-fc877cf756aca680933305c6cb147feecf63113e.zip chromium_src-fc877cf756aca680933305c6cb147feecf63113e.tar.gz chromium_src-fc877cf756aca680933305c6cb147feecf63113e.tar.bz2 |
Localized Chromoting Host on Mac and Linux.
Re-landing r214379. Two additional fixes:
- HOST_PLUGIN_MIME_TYPE is passed unquoted making the code the uses it responsible for stringizing it.
- msvs_cygwin_shell is set to 0 to avoid cygpath changing "remoting_locales\nl.pak" to "remoting_ocales\nl.pak".
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/<locale>.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 now 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/21059003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/branding_Chrome')
-rw-r--r-- | remoting/branding_Chrome | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/remoting/branding_Chrome b/remoting/branding_Chrome index 49e1e88..8e6acc8 100644 --- a/remoting/branding_Chrome +++ b/remoting/branding_Chrome @@ -1,6 +1,4 @@ -COPYRIGHT=Copyright 2013 Google Inc. All Rights Reserved. HOST_PLUGIN_FILE_NAME=Chrome Remote Desktop Host -HOST_PLUGIN_DESCRIPTION=Allow another user to access your computer securely over the Internet. DAEMON_FILE_NAME=Chrome Remote Desktop Host Service MAC_BUNDLE_ID=com.google.Chrome MAC_CREATOR=rimZ @@ -8,7 +6,4 @@ MAC_HOST_BUNDLE_ID=com.google.chrome_remote_desktop.remoting_me2me_host MAC_UNINSTALLER_NAME=Chrome Remote Desktop Host Uninstaller MAC_UNINSTALLER_BUNDLE_PREFIX=com.google.pkg MAC_UNINSTALLER_BUNDLE_ID=com.google.chromeremotedesktop.host_uninstaller -MAC_UNINSTALLER_BUNDLE_NAME=Chrome Remote Desktop Host Uninstaller MAC_PREFPANE_BUNDLE_ID=com.google.chromeremotedesktop.preferences -MAC_PREFPANE_BUNDLE_NAME=Chrome Remote Desktop Host Preferences -MAC_PREFPANE_ICON_LABEL=Chrome Remote
Desktop Host |