summaryrefslogtreecommitdiffstats
path: root/chrome/tools/build
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 04:36:52 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 04:36:52 +0000
commitc9e1715cfd9e925ece5f94a5028d5bb302765281 (patch)
tree2ab152b05f25f7e7d985f7fd9ab6b9a571bef0c4 /chrome/tools/build
parentee70311954923a02bfeaa9e6a57e2614fef97464 (diff)
downloadchromium_src-c9e1715cfd9e925ece5f94a5028d5bb302765281.zip
chromium_src-c9e1715cfd9e925ece5f94a5028d5bb302765281.tar.gz
chromium_src-c9e1715cfd9e925ece5f94a5028d5bb302765281.tar.bz2
Change UI font at startup time if necessary, based on the UI locale.
As of writing, ChromeDroidSans is used as the UI font (see /etc/gtk-2.0/gtkrc). This setting does not work well for Japanese users as Chinese glyphs are used for Kanji characters. For Japanese UI, we should use a Japanese font. Introduce IDS_UI_FONT_FAMILY_CROS to control the UI font based on the UI locale. For now, app_locale_settings_ja.xtb only contains a non-default value: IPAPGothic. Just for the record, I originally tried to use "DroidSans Japanese" but for some reason, this caused space characters (0x20) to be garbled in the wrench menu. Hence, IPAPGotchic is chosen for now. TEST=manually on the netbook, and ubuntu BUG=chromium-os:4038 Review URL: http://codereview.chromium.org/3275008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/build')
-rwxr-xr-xchrome/tools/build/repack_locales.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/tools/build/repack_locales.py b/chrome/tools/build/repack_locales.py
index c74a23c..ffb99fb 100755
--- a/chrome/tools/build/repack_locales.py
+++ b/chrome/tools/build/repack_locales.py
@@ -66,6 +66,10 @@ def calc_inputs(locale):
inputs.append('%s/app/app_strings/app_strings_%s.pak' % (
SHARE_INT_DIR, locale))
+ #e.g. '<(SHARED_INTERMEDIATE_DIR)/app/app_locale_settings_da.pak',
+ inputs.append('%s/app/app_locale_settings/app_locale_settings_%s.pak' % (
+ SHARE_INT_DIR, locale))
+
#e.g. '<(grit_out_dir)/google_chrome_strings_da.pak'
# or
# '<(grit_out_dir)/chromium_strings_da.pak'