summaryrefslogtreecommitdiffstats
path: root/chrome/app/resources
diff options
context:
space:
mode:
authorjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 21:06:13 +0000
committerjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 21:06:13 +0000
commit35f51d4c6c9b5f606616e4c905ae4de4d344bc6d (patch)
tree432d167679cf3d157e7beec491558422217be427 /chrome/app/resources
parent0a3ab1ba3e98a21a336f48e7e972441b88f7468a (diff)
downloadchromium_src-35f51d4c6c9b5f606616e4c905ae4de4d344bc6d.zip
chromium_src-35f51d4c6c9b5f606616e4c905ae4de4d344bc6d.tar.gz
chromium_src-35f51d4c6c9b5f606616e4c905ae4de4d344bc6d.tar.bz2
Add Farsi support
Add 'fa' entry to all the grd files. For *locale_settings*, create new xtb files for Farsi (copied from Arabic). Also, pulls in ICU @r=58904 (with Farsi data). locale_settings_fa.xtb has a lot of UI dimensions that may not work well in Farsi. We need LQA to take a look at them. terms_FOO.html is not yet available for Farsi as well as Amharic and Swahili. Tentatively, use terms_en.html. BUG=45505 TEST='chrome --lang=fa' on Windows should bring up Chrome in Farsi. 'LANGUAGE=fa chrome' should do the same on Linux. (on Ubuntu, 'language-pack-gnome-fa' and 'language-pack-fa' have be installed to get Chrome in Farsi with the UI mirrored). Review URL: http://codereview.chromium.org/3296013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/resources')
-rw-r--r--chrome/app/resources/locale_settings.grd4
-rw-r--r--chrome/app/resources/locale_settings_cros.grd2
-rw-r--r--chrome/app/resources/locale_settings_fa.xtb68
-rw-r--r--chrome/app/resources/locale_settings_linux.grd2
-rw-r--r--chrome/app/resources/locale_settings_mac.grd2
-rw-r--r--chrome/app/resources/locale_settings_win.grd2
-rw-r--r--chrome/app/resources/platform_locale_settings/locale_settings_cros_fa.xtb6
-rw-r--r--chrome/app/resources/platform_locale_settings/locale_settings_linux_fa.xtb6
-rw-r--r--chrome/app/resources/platform_locale_settings/locale_settings_mac_fa.xtb9
-rw-r--r--chrome/app/resources/platform_locale_settings/locale_settings_win_fa.xtb6
10 files changed, 107 insertions, 0 deletions
diff --git a/chrome/app/resources/locale_settings.grd b/chrome/app/resources/locale_settings.grd
index 90cedf7..5f78639 100644
--- a/chrome/app/resources/locale_settings.grd
+++ b/chrome/app/resources/locale_settings.grd
@@ -18,6 +18,7 @@
<output filename="locale_settings_es.rc" type="rc_all" lang="es" />
<output filename="locale_settings_es-419.rc" type="rc_all" lang="es-419" />
<output filename="locale_settings_et.rc" type="rc_all" lang="et" />
+ <output filename="locale_settings_fa.rc" type="rc_all" lang="fa" />
<output filename="locale_settings_fi.rc" type="rc_all" lang="fi" />
<output filename="locale_settings_fil.rc" type="rc_all" lang="fil" />
<output filename="locale_settings_fr.rc" type="rc_all" lang="fr" />
@@ -72,6 +73,7 @@
<output filename="locale_settings_es.pak" type="data_package" lang="es" />
<output filename="locale_settings_es-419.pak" type="data_package" lang="es-419" />
<output filename="locale_settings_et.pak" type="data_package" lang="et" />
+ <output filename="locale_settings_fa.pak" type="data_package" lang="fa" />
<output filename="locale_settings_fi.pak" type="data_package" lang="fi" />
<output filename="locale_settings_fil.pak" type="data_package" lang="fil" />
<output filename="locale_settings_fr.pak" type="data_package" lang="fr" />
@@ -126,6 +128,7 @@
<file path="locale_settings_es.xtb" lang="es" />
<file path="locale_settings_es-419.xtb" lang="es-419" />
<file path="locale_settings_et.xtb" lang="et" />
+ <file path="locale_settings_fa.xtb" lang="fa" />
<file path="locale_settings_fi.xtb" lang="fi" />
<file path="locale_settings_fil.xtb" lang="fil" />
<file path="locale_settings_fr.xtb" lang="fr" />
@@ -180,6 +183,7 @@
<if expr="pp_ifdef('_google_chrome') and 'es' == lang"> <include name="IDR_TERMS_HTML" file="terms\terms_es.html" type="BINDATA" /></if>
<if expr="pp_ifdef('_google_chrome') and 'es-419' == lang"><include name="IDR_TERMS_HTML" file="terms\terms_es-419.html" type="BINDATA" /></if>
<if expr="pp_ifdef('_google_chrome') and 'et' == lang"> <include name="IDR_TERMS_HTML" file="terms\terms_et.html" type="BINDATA" /></if>
+ <if expr="pp_ifdef('_google_chrome') and 'fa' == lang"> <include name="IDR_TERMS_HTML" file="terms\terms_en.html" type="BINDATA" /></if>
<if expr="pp_ifdef('_google_chrome') and 'fi' == lang"> <include name="IDR_TERMS_HTML" file="terms\terms_fi.html" type="BINDATA" /></if>
<if expr="pp_ifdef('_google_chrome') and 'fil' == lang"> <include name="IDR_TERMS_HTML" file="terms\terms_fil.html" type="BINDATA" /></if>
<if expr="pp_ifdef('_google_chrome') and 'fr' == lang"> <include name="IDR_TERMS_HTML" file="terms\terms_fr.html" type="BINDATA" /></if>
diff --git a/chrome/app/resources/locale_settings_cros.grd b/chrome/app/resources/locale_settings_cros.grd
index 77d7b0f..6149451 100644
--- a/chrome/app/resources/locale_settings_cros.grd
+++ b/chrome/app/resources/locale_settings_cros.grd
@@ -18,6 +18,7 @@
<output filename="platform_locale_settings_es.pak" type="data_package" lang="es" />
<output filename="platform_locale_settings_es-419.pak" type="data_package" lang="es-419" />
<output filename="platform_locale_settings_et.pak" type="data_package" lang="et" />
+ <output filename="platform_locale_settings_fa.pak" type="data_package" lang="fa" />
<output filename="platform_locale_settings_fi.pak" type="data_package" lang="fi" />
<output filename="platform_locale_settings_fil.pak" type="data_package" lang="fil" />
<output filename="platform_locale_settings_fr.pak" type="data_package" lang="fr" />
@@ -72,6 +73,7 @@
<file path="platform_locale_settings/locale_settings_cros_es.xtb" lang="es" />
<file path="platform_locale_settings/locale_settings_cros_es-419.xtb" lang="es-419" />
<file path="platform_locale_settings/locale_settings_cros_et.xtb" lang="et" />
+ <file path="platform_locale_settings/locale_settings_cros_fa.xtb" lang="fa" />
<file path="platform_locale_settings/locale_settings_cros_fi.xtb" lang="fi" />
<file path="platform_locale_settings/locale_settings_cros_fil.xtb" lang="fil" />
<file path="platform_locale_settings/locale_settings_cros_fr.xtb" lang="fr" />
diff --git a/chrome/app/resources/locale_settings_fa.xtb b/chrome/app/resources/locale_settings_fa.xtb
new file mode 100644
index 0000000..6f44c87
--- /dev/null
+++ b/chrome/app/resources/locale_settings_fa.xtb
@@ -0,0 +1,68 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fa">
+<translation id="IDS_ACCEPT_LANGUAGES">fa,en-US,en</translation>
+<translation id="IDS_DEFAULT_ENCODING">windows-1256</translation>
+<translation id="IDS_USES_UNIVERSAL_DETECTOR">false</translation>
+<translation id="IDS_SPELLCHECK_DICTIONARY">en-US</translation>
+<translation id="IDS_OPTIONS_DIALOG_LEFT_COLUMN_WIDTH_CHARS">26</translation>
+<translation id="IDS_OPTIONS_RESET_CONFIRM_BOX_WIDTH_CHARS">80</translation>
+<translation id="IDS_URLPICKER_DIALOG_WIDTH_CHARS">80</translation>
+<translation id="IDS_URLPICKER_DIALOG_HEIGHT_LINES">30</translation>
+<translation id="IDS_URLPICKER_DIALOG_LEFT_COLUMN_WIDTH_CHARS">33</translation>
+<translation id="IDS_PASSWORDS_DIALOG_WIDTH_CHARS">106</translation>
+<translation id="IDS_PASSWORDS_DIALOG_HEIGHT_LINES">27</translation>
+<translation id="IDS_CUSTOMIZE_SYNC_DIALOG_WIDTH_CHARS">60</translation>
+<translation id="IDS_CUSTOMIZE_SYNC_DIALOG_HEIGHT_LINES">10</translation>
+<translation id="IDS_BUGREPORT_DIALOG_WIDTH_CHARS">85</translation>
+<translation id="IDS_BUGREPORT_DIALOG_HEIGHT_LINES">17</translation>
+<translation id="IDS_CLEARDATA_DIALOG_WIDTH_CHARS">66</translation>
+<translation id="IDS_CLEARDATA_DIALOG_HEIGHT_LINES">17</translation>
+<translation id="IDS_IMPORT_DIALOG_WIDTH_CHARS">60</translation>
+<translation id="IDS_IMPORT_DIALOG_HEIGHT_LINES">14</translation>
+<translation id="IDS_ABOUT_DIALOG_WIDTH_CHARS">83</translation>
+<translation id="IDS_ABOUT_DIALOG_MINIMUM_HEIGHT_LINES">4</translation>
+<translation id="IDS_FONTSLANG_DIALOG_WIDTH_CHARS">101</translation>
+<translation id="IDS_FONTSLANG_DIALOG_HEIGHT_LINES">26</translation>
+<translation id="IDS_PAGEINFO_DIALOG_WIDTH_CHARS">70</translation>
+<translation id="IDS_PAGEINFO_DIALOG_HEIGHT_LINES">25</translation>
+<translation id="IDS_SEARCHENGINES_DIALOG_WIDTH_CHARS">95</translation>
+<translation id="IDS_SEARCHENGINES_DIALOG_HEIGHT_LINES">25</translation>
+<translation id="IDS_SHELFITEM_DIALOG_WIDTH_CHARS">80</translation>
+<translation id="IDS_SHELFITEM_DIALOG_HEIGHT_LINES">30</translation>
+<translation id="IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS">70</translation>
+<translation id="IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES">25</translation>
+<translation id="IDS_FIRSTRUN_DIALOG_WIDTH_CHARS">80</translation>
+<translation id="IDS_FIRSTRUN_DIALOG_HEIGHT_LINES">19</translation>
+<translation id="IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS">80</translation>
+<translation id="IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES">17</translation>
+<translation id="IDS_COOKIES_DIALOG_WIDTH_CHARS">80</translation>
+<translation id="IDS_COOKIES_DIALOG_HEIGHT_LINES">29</translation>
+<translation id="IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS">75</translation>
+<translation id="IDS_IMPORTPROGRESS_DIALOG_HEIGHT_LINES">16</translation>
+<translation id="IDS_IMPORTLOCK_DIALOG_WIDTH_CHARS">50</translation>
+<translation id="IDS_IMPORTLOCK_DIALOG_HEIGHT_LINES">8</translation>
+<translation id="IDS_FIRSTRUNBUBBLE_DIALOG_WIDTH_CHARS">93</translation>
+<translation id="IDS_FIRSTRUNBUBBLE_DIALOG_HEIGHT_LINES">12</translation>
+<translation id="IDS_FIRSTRUNOEMBUBBLE_DIALOG_WIDTH_CHARS">70</translation>
+<translation id="IDS_FIRSTRUNOEMBUBBLE_DIALOG_HEIGHT_LINES">4</translation>
+<translation id="IDS_STATIC_ENCODING_LIST">windows-1256,ISO-8859-6</translation>
+<translation id="IDS_BOOKMARK_MANAGER_DIALOG_WIDTH_CHARS">150</translation>
+<translation id="IDS_BOOKMARK_MANAGER_DIALOG_HEIGHT_LINES">40</translation>
+<translation id="IDS_DOWNLOAD_BIG_PROGRESS_SIZE">52</translation>
+<translation id="IDS_SELECT_PROFILE_DIALOG_WIDTH_CHARS">60</translation>
+<translation id="IDS_SELECT_PROFILE_DIALOG_HEIGHT_LINES">5</translation>
+<translation id="IDS_NEW_PROFILE_DIALOG_WIDTH_CHARS">60</translation>
+<translation id="IDS_SYNC_SETUP_WIZARD_WIDTH_CHARS">46</translation>
+<translation id="IDS_SYNC_SETUP_WIZARD_HEIGHT_LINES">15</translation>
+<translation id="IDS_CONFIRM_MESSAGE_BOX_DEFAULT_WIDTH_CHARS">50</translation>
+<translation id="IDS_CONFIRM_MESSAGE_BOX_DEFAULT_HEIGHT_LINES">5</translation>
+<translation id="IDS_CONFIRM_STOP_SYNCING_DIALOG_WIDTH_CHARS">60</translation>
+<translation id="IDS_CONFIRM_STOP_SYNCING_DIALOG_HEIGHT_LINES">8</translation>
+<translation id="IDS_DOWNLOAD_IN_PROGRESS_WIDTH_CHARS">67</translation>
+<translation id="IDS_DOWNLOAD_IN_PROGRESS_MINIMUM_HEIGHT_LINES">4</translation>
+<translation id="IDS_CONTENT_SETTINGS_DIALOG_WIDTH_CHARS">83</translation>
+<translation id="IDS_CONTENT_SETTINGS_DIALOG_HEIGHT_LINES">25</translation>
+<translation id="IDS_CONTENT_SETTINGS_DIALOG_LISTBOX_WIDTH_CHARS">22</translation>
+<translation id="IDS_CONTENT_EXCEPTION_DIALOG_WIDTH_CHARS">96</translation>
+</translationbundle>
diff --git a/chrome/app/resources/locale_settings_linux.grd b/chrome/app/resources/locale_settings_linux.grd
index 200e481..24f1b50 100644
--- a/chrome/app/resources/locale_settings_linux.grd
+++ b/chrome/app/resources/locale_settings_linux.grd
@@ -18,6 +18,7 @@
<output filename="platform_locale_settings_es.pak" type="data_package" lang="es" />
<output filename="platform_locale_settings_es-419.pak" type="data_package" lang="es-419" />
<output filename="platform_locale_settings_et.pak" type="data_package" lang="et" />
+ <output filename="platform_locale_settings_fa.pak" type="data_package" lang="fa" />
<output filename="platform_locale_settings_fi.pak" type="data_package" lang="fi" />
<output filename="platform_locale_settings_fil.pak" type="data_package" lang="fil" />
<output filename="platform_locale_settings_fr.pak" type="data_package" lang="fr" />
@@ -72,6 +73,7 @@
<file path="platform_locale_settings/locale_settings_linux_es.xtb" lang="es" />
<file path="platform_locale_settings/locale_settings_linux_es-419.xtb" lang="es-419" />
<file path="platform_locale_settings/locale_settings_linux_et.xtb" lang="et" />
+ <file path="platform_locale_settings/locale_settings_linux_fa.xtb" lang="fa" />
<file path="platform_locale_settings/locale_settings_linux_fi.xtb" lang="fi" />
<file path="platform_locale_settings/locale_settings_linux_fil.xtb" lang="fil" />
<file path="platform_locale_settings/locale_settings_linux_fr.xtb" lang="fr" />
diff --git a/chrome/app/resources/locale_settings_mac.grd b/chrome/app/resources/locale_settings_mac.grd
index 0ad226a..3469e5f 100644
--- a/chrome/app/resources/locale_settings_mac.grd
+++ b/chrome/app/resources/locale_settings_mac.grd
@@ -18,6 +18,7 @@
<output filename="platform_locale_settings_es.pak" type="data_package" lang="es" />
<output filename="platform_locale_settings_es-419.pak" type="data_package" lang="es-419" />
<output filename="platform_locale_settings_et.pak" type="data_package" lang="et" />
+ <output filename="platform_locale_settings_fa.pak" type="data_package" lang="fa" />
<output filename="platform_locale_settings_fi.pak" type="data_package" lang="fi" />
<output filename="platform_locale_settings_fil.pak" type="data_package" lang="fil" />
<output filename="platform_locale_settings_fr.pak" type="data_package" lang="fr" />
@@ -72,6 +73,7 @@
<file path="platform_locale_settings/locale_settings_mac_es.xtb" lang="es" />
<file path="platform_locale_settings/locale_settings_mac_es-419.xtb" lang="es-419" />
<file path="platform_locale_settings/locale_settings_mac_et.xtb" lang="et" />
+ <file path="platform_locale_settings/locale_settings_mac_fa.xtb" lang="fa" />
<file path="platform_locale_settings/locale_settings_mac_fi.xtb" lang="fi" />
<file path="platform_locale_settings/locale_settings_mac_fil.xtb" lang="fil" />
<file path="platform_locale_settings/locale_settings_mac_fr.xtb" lang="fr" />
diff --git a/chrome/app/resources/locale_settings_win.grd b/chrome/app/resources/locale_settings_win.grd
index a88a6b3..2fa6543 100644
--- a/chrome/app/resources/locale_settings_win.grd
+++ b/chrome/app/resources/locale_settings_win.grd
@@ -18,6 +18,7 @@
<output filename="platform_locale_settings_es.rc" type="rc_all" lang="es" />
<output filename="platform_locale_settings_es-419.rc" type="rc_all" lang="es-419" />
<output filename="platform_locale_settings_et.rc" type="rc_all" lang="et" />
+ <output filename="platform_locale_settings_fa.rc" type="rc_all" lang="fa" />
<output filename="platform_locale_settings_fi.rc" type="rc_all" lang="fi" />
<output filename="platform_locale_settings_fil.rc" type="rc_all" lang="fil" />
<output filename="platform_locale_settings_fr.rc" type="rc_all" lang="fr" />
@@ -72,6 +73,7 @@
<file path="platform_locale_settings/locale_settings_win_es.xtb" lang="es" />
<file path="platform_locale_settings/locale_settings_win_es-419.xtb" lang="es-419" />
<file path="platform_locale_settings/locale_settings_win_et.xtb" lang="et" />
+ <file path="platform_locale_settings/locale_settings_win_fa.xtb" lang="fa" />
<file path="platform_locale_settings/locale_settings_win_fi.xtb" lang="fi" />
<file path="platform_locale_settings/locale_settings_win_fil.xtb" lang="fil" />
<file path="platform_locale_settings/locale_settings_win_fr.xtb" lang="fr" />
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_fa.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_fa.xtb
new file mode 100644
index 0000000..9cebc2c
--- /dev/null
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_fa.xtb
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fa">
+<translation id="IDS_MINIMUM_FONT_SIZE">10</translation>
+<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation>
+</translationbundle>
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_fa.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_fa.xtb
new file mode 100644
index 0000000..9cebc2c
--- /dev/null
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_fa.xtb
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fa">
+<translation id="IDS_MINIMUM_FONT_SIZE">10</translation>
+<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation>
+</translationbundle>
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_mac_fa.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_mac_fa.xtb
new file mode 100644
index 0000000..4ed7c62
--- /dev/null
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_mac_fa.xtb
@@ -0,0 +1,9 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fa">
+<translation id="IDS_FIXED_FONT_FAMILY">Courier New</translation>
+<translation id="IDS_SERIF_FONT_FAMILY">Times New Roman</translation>
+<translation id="IDS_SANS_SERIF_FONT_FAMILY">Arial</translation>
+<translation id="IDS_MINIMUM_FONT_SIZE">10</translation>
+<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation>
+</translationbundle>
diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_fa.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_fa.xtb
new file mode 100644
index 0000000..9cebc2c
--- /dev/null
+++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_fa.xtb
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fa">
+<translation id="IDS_MINIMUM_FONT_SIZE">10</translation>
+<translation id="IDS_MINIMUM_LOGICAL_FONT_SIZE">10</translation>
+</translationbundle>