summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 07:21:15 +0000
committerrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-12 07:21:15 +0000
commit69d1b3b8d83c4bba45e273c8b341432e619ea4e5 (patch)
treee2e642c9b3a9cba4f7db53fffb71cf2895ecd1f1
parente4be6e2d4d0d1fe4ad04a2c9103574b3c4395f7a (diff)
downloadchromium_src-69d1b3b8d83c4bba45e273c8b341432e619ea4e5.zip
chromium_src-69d1b3b8d83c4bba45e273c8b341432e619ea4e5.tar.gz
chromium_src-69d1b3b8d83c4bba45e273c8b341432e619ea4e5.tar.bz2
Include upstream libaddressinput strings in Chrome build.
This patch adds the upstream libaddressinput strings into the Chrome build inside of chrome/app/address_input.grd[p] to work well with the translation tools. This patch should precede using upstream libaddressinput to ensure that the upstream libaddressinput has the correct strings well ahead of using it in Chrome. Although the strings include postal code examples and links for error messages, these features are optional and can be turned off if undesired. BUG=327046 Review URL: https://codereview.chromium.org/304223010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276559 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--DEPS2
-rw-r--r--chrome/app/address_input_strings.grd194
-rw-r--r--chrome/app/resources/address_input_strings_am.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ar.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_bg.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_bn.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ca.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_cs.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_da.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_de.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_el.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_en-GB.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_es-419.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_es.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_et.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_fa.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_fi.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_fil.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_fr.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_gu.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_hi.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_hr.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_hu.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_id.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_it.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_iw.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ja.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_kn.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ko.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_lt.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_lv.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ml.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_mr.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ms.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_nl.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_no.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_pl.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_pt-BR.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_pt-PT.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ro.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ru.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_sk.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_sl.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_sr.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_sv.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_sw.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_ta.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_te.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_th.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_tr.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_uk.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_vi.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_zh-CN.xtb4
-rw-r--r--chrome/app/resources/address_input_strings_zh-TW.xtb4
-rwxr-xr-xchrome/tools/build/repack_locales.py5
-rw-r--r--third_party/libaddressinput/README.chromium4
-rwxr-xr-xthird_party/libaddressinput/chromium/tools/update-strings.py8
-rw-r--r--third_party/libaddressinput/libaddressinput.gyp22
-rw-r--r--tools/gritsettings/resource_ids3
59 files changed, 435 insertions, 11 deletions
diff --git a/DEPS b/DEPS
index 84f4152..f3e325a 100644
--- a/DEPS
+++ b/DEPS
@@ -39,7 +39,7 @@ vars = {
# to update other nacl_*_revision's.
"nacl_tools_revision": "13077", # native_client/DEPS: tools_rev
"google_toolbox_for_mac_revision": "662",
- "libaddressinput_revision": "265",
+ "libaddressinput_revision": "273",
"libphonenumber_revision": "621",
"libvpx_revision": "269083",
"lss_revision": "26",
diff --git a/chrome/app/address_input_strings.grd b/chrome/app/address_input_strings.grd
new file mode 100644
index 0000000..d0f003d
--- /dev/null
+++ b/chrome/app/address_input_strings.grd
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 2014 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+
+This file is a copy of third_party/libaddressinput/src/cpp/res/messages.grd,
+seasoned with information about translations from Chromium.
+
+The location of messages.h and en_messages.cc is defined in
+third_party/libaddressinput/libaddressinput.gyp.
+-->
+<grit base_dir="." latest_public_release="0" current_release="1"
+ source_lang_id="en" enc_check="möl">
+ <outputs>
+ <output filename="messages.h" type="rc_header" lang="en">
+ <emit>
+ <!-- If the emit element is not specified, then the generated
+ messages.h includes an atlres.h file from Windows Template
+ Library (WTL). -->
+ </emit>
+ </output>
+ <output filename="en_messages.cc" lang="en" type="c_format" />
+
+ <!-- Chromium language packs. -->
+ <output filename="address_input_strings_am.pak" type="data_package" lang="am" />
+ <output filename="address_input_strings_ar.pak" type="data_package" lang="ar" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_ast.pak" type="data_package" lang="ast" />
+ </if>
+ <output filename="address_input_strings_bg.pak" type="data_package" lang="bg" />
+ <output filename="address_input_strings_bn.pak" type="data_package" lang="bn" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_bs.pak" type="data_package" lang="bs" />
+ </if>
+ <output filename="address_input_strings_ca.pak" type="data_package" lang="ca" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_ca@valencia.pak" type="data_package" lang="ca@valencia" />
+ </if>
+ <output filename="address_input_strings_cs.pak" type="data_package" lang="cs" />
+ <output filename="address_input_strings_da.pak" type="data_package" lang="da" />
+ <output filename="address_input_strings_de.pak" type="data_package" lang="de" />
+ <output filename="address_input_strings_el.pak" type="data_package" lang="el" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_en-AU.pak" type="data_package" lang="en-AU" />
+ </if>
+ <output filename="address_input_strings_en-GB.pak" type="data_package" lang="en-GB" />
+ <output filename="address_input_strings_en-US.pak" type="data_package" lang="en" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_eo.pak" type="data_package" lang="eo" />
+ </if>
+ <output filename="address_input_strings_es.pak" type="data_package" lang="es" />
+ <if expr="is_ios">
+ <!-- iOS uses es-MX for es-419 -->
+ <output filename="address_input_strings_es-MX.pak" type="data_package" lang="es-419" />
+ </if>
+ <if expr="not is_ios">
+ <output filename="address_input_strings_es-419.pak" type="data_package" lang="es-419" />
+ </if>
+ <output filename="address_input_strings_et.pak" type="data_package" lang="et" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_eu.pak" type="data_package" lang="eu" />
+ </if>
+ <output filename="address_input_strings_fa.pak" type="data_package" lang="fa" />
+ <output filename="address_input_strings_fake-bidi.pak" type="data_package" lang="fake-bidi" />
+ <output filename="address_input_strings_fi.pak" type="data_package" lang="fi" />
+ <output filename="address_input_strings_fil.pak" type="data_package" lang="fil" />
+ <output filename="address_input_strings_fr.pak" type="data_package" lang="fr" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_gl.pak" type="data_package" lang="gl" />
+ </if>
+ <output filename="address_input_strings_gu.pak" type="data_package" lang="gu" />
+ <output filename="address_input_strings_he.pak" type="data_package" lang="he" />
+ <output filename="address_input_strings_hi.pak" type="data_package" lang="hi" />
+ <output filename="address_input_strings_hr.pak" type="data_package" lang="hr" />
+ <output filename="address_input_strings_hu.pak" type="data_package" lang="hu" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_hy.pak" type="data_package" lang="hy" />
+ <output filename="address_input_strings_ia.pak" type="data_package" lang="ia" />
+ </if>
+ <output filename="address_input_strings_id.pak" type="data_package" lang="id" />
+ <output filename="address_input_strings_it.pak" type="data_package" lang="it" />
+ <output filename="address_input_strings_ja.pak" type="data_package" lang="ja" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_ka.pak" type="data_package" lang="ka" />
+ </if>
+ <output filename="address_input_strings_kn.pak" type="data_package" lang="kn" />
+ <output filename="address_input_strings_ko.pak" type="data_package" lang="ko" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_ku.pak" type="data_package" lang="ku" />
+ <output filename="address_input_strings_kw.pak" type="data_package" lang="kw" />
+ </if>
+ <output filename="address_input_strings_lt.pak" type="data_package" lang="lt" />
+ <output filename="address_input_strings_lv.pak" type="data_package" lang="lv" />
+ <output filename="address_input_strings_ml.pak" type="data_package" lang="ml" />
+ <output filename="address_input_strings_mr.pak" type="data_package" lang="mr" />
+ <output filename="address_input_strings_ms.pak" type="data_package" lang="ms" />
+ <output filename="address_input_strings_nl.pak" type="data_package" lang="nl" />
+ <!-- The translation console uses 'no' for Norwegian Bokmål. It should
+ be 'nb'. -->
+ <output filename="address_input_strings_nb.pak" type="data_package" lang="no" />
+ <output filename="address_input_strings_pl.pak" type="data_package" lang="pl" />
+ <if expr="is_ios">
+ <!-- iOS uses pt for pt-BR -->
+ <output filename="address_input_strings_pt.pak" type="data_package" lang="pt-BR" />
+ </if>
+ <if expr="not is_ios">
+ <output filename="address_input_strings_pt-BR.pak" type="data_package" lang="pt-BR" />
+ </if>
+ <output filename="address_input_strings_pt-PT.pak" type="data_package" lang="pt-PT" />
+ <output filename="address_input_strings_ro.pak" type="data_package" lang="ro" />
+ <output filename="address_input_strings_ru.pak" type="data_package" lang="ru" />
+ <output filename="address_input_strings_sk.pak" type="data_package" lang="sk" />
+ <output filename="address_input_strings_sl.pak" type="data_package" lang="sl" />
+ <output filename="address_input_strings_sr.pak" type="data_package" lang="sr" />
+ <output filename="address_input_strings_sv.pak" type="data_package" lang="sv" />
+ <output filename="address_input_strings_sw.pak" type="data_package" lang="sw" />
+ <output filename="address_input_strings_ta.pak" type="data_package" lang="ta" />
+ <output filename="address_input_strings_te.pak" type="data_package" lang="te" />
+ <output filename="address_input_strings_th.pak" type="data_package" lang="th" />
+ <output filename="address_input_strings_tr.pak" type="data_package" lang="tr" />
+ <if expr="use_third_party_translations">
+ <output filename="address_input_strings_ug.pak" type="data_package" lang="ug" />
+ </if>
+ <output filename="address_input_strings_uk.pak" type="data_package" lang="uk" />
+ <output filename="address_input_strings_vi.pak" type="data_package" lang="vi" />
+ <output filename="address_input_strings_zh-CN.pak" type="data_package" lang="zh-CN" />
+ <output filename="address_input_strings_zh-TW.pak" type="data_package" lang="zh-TW" />
+ </outputs>
+
+ <!-- Chromium translations. -->
+ <translations>
+ <file path="resources/address_input_strings_am.xtb" lang="am" />
+ <file path="resources/address_input_strings_ar.xtb" lang="ar" />
+ <file path="resources/address_input_strings_bg.xtb" lang="bg" />
+ <file path="resources/address_input_strings_bn.xtb" lang="bn" />
+ <file path="resources/address_input_strings_ca.xtb" lang="ca" />
+ <file path="resources/address_input_strings_cs.xtb" lang="cs" />
+ <file path="resources/address_input_strings_da.xtb" lang="da" />
+ <file path="resources/address_input_strings_de.xtb" lang="de" />
+ <file path="resources/address_input_strings_el.xtb" lang="el" />
+ <file path="resources/address_input_strings_en-GB.xtb" lang="en-GB" />
+ <file path="resources/address_input_strings_es.xtb" lang="es" />
+ <file path="resources/address_input_strings_es-419.xtb" lang="es-419" />
+ <file path="resources/address_input_strings_et.xtb" lang="et" />
+ <file path="resources/address_input_strings_fa.xtb" lang="fa" />
+ <file path="resources/address_input_strings_fi.xtb" lang="fi" />
+ <file path="resources/address_input_strings_fil.xtb" lang="fil" />
+ <file path="resources/address_input_strings_fr.xtb" lang="fr" />
+ <file path="resources/address_input_strings_gu.xtb" lang="gu" />
+ <file path="resources/address_input_strings_hi.xtb" lang="hi" />
+ <file path="resources/address_input_strings_hr.xtb" lang="hr" />
+ <file path="resources/address_input_strings_hu.xtb" lang="hu" />
+ <file path="resources/address_input_strings_id.xtb" lang="id" />
+ <file path="resources/address_input_strings_it.xtb" lang="it" />
+ <!-- The translation console uses 'iw' for Hebrew, but we use 'he'. -->
+ <file path="resources/address_input_strings_iw.xtb" lang="he" />
+ <file path="resources/address_input_strings_ja.xtb" lang="ja" />
+ <file path="resources/address_input_strings_kn.xtb" lang="kn" />
+ <file path="resources/address_input_strings_ko.xtb" lang="ko" />
+ <file path="resources/address_input_strings_lt.xtb" lang="lt" />
+ <file path="resources/address_input_strings_lv.xtb" lang="lv" />
+ <file path="resources/address_input_strings_ml.xtb" lang="ml" />
+ <file path="resources/address_input_strings_mr.xtb" lang="mr" />
+ <file path="resources/address_input_strings_ms.xtb" lang="ms" />
+ <file path="resources/address_input_strings_nl.xtb" lang="nl" />
+ <file path="resources/address_input_strings_no.xtb" lang="no" />
+ <file path="resources/address_input_strings_pl.xtb" lang="pl" />
+ <file path="resources/address_input_strings_pt-BR.xtb" lang="pt-BR" />
+ <file path="resources/address_input_strings_pt-PT.xtb" lang="pt-PT" />
+ <file path="resources/address_input_strings_ro.xtb" lang="ro" />
+ <file path="resources/address_input_strings_ru.xtb" lang="ru" />
+ <file path="resources/address_input_strings_sk.xtb" lang="sk" />
+ <file path="resources/address_input_strings_sl.xtb" lang="sl" />
+ <file path="resources/address_input_strings_sr.xtb" lang="sr" />
+ <file path="resources/address_input_strings_sv.xtb" lang="sv" />
+ <file path="resources/address_input_strings_sw.xtb" lang="sw" />
+ <file path="resources/address_input_strings_ta.xtb" lang="ta" />
+ <file path="resources/address_input_strings_te.xtb" lang="te" />
+ <file path="resources/address_input_strings_th.xtb" lang="th" />
+ <file path="resources/address_input_strings_tr.xtb" lang="tr" />
+ <file path="resources/address_input_strings_uk.xtb" lang="uk" />
+ <file path="resources/address_input_strings_vi.xtb" lang="vi" />
+ <file path="resources/address_input_strings_zh-CN.xtb" lang="zh-CN" />
+ <file path="resources/address_input_strings_zh-TW.xtb" lang="zh-TW" />
+ </translations>
+ <release seq="1" allow_pseudo="false">
+ <messages fallback_to_english="true">
+ <!-- Chromium name for the file with original strings to work well with
+ translation tools. -->
+ <part file="address_input_strings.grdp" />
+ </messages>
+ </release>
+</grit>
diff --git a/chrome/app/resources/address_input_strings_am.xtb b/chrome/app/resources/address_input_strings_am.xtb
new file mode 100644
index 0000000..6c985cb8
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_am.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="am">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ar.xtb b/chrome/app/resources/address_input_strings_ar.xtb
new file mode 100644
index 0000000..e8b5562
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ar.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ar">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_bg.xtb b/chrome/app/resources/address_input_strings_bg.xtb
new file mode 100644
index 0000000..ebab473
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_bg.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="bg">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_bn.xtb b/chrome/app/resources/address_input_strings_bn.xtb
new file mode 100644
index 0000000..a66cc1f
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_bn.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="bn">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ca.xtb b/chrome/app/resources/address_input_strings_ca.xtb
new file mode 100644
index 0000000..1438d89
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ca.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ca">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_cs.xtb b/chrome/app/resources/address_input_strings_cs.xtb
new file mode 100644
index 0000000..2d95130
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_cs.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="cs">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_da.xtb b/chrome/app/resources/address_input_strings_da.xtb
new file mode 100644
index 0000000..751fa4a
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_da.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="da">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_de.xtb b/chrome/app/resources/address_input_strings_de.xtb
new file mode 100644
index 0000000..91de7f51
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_de.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="de">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_el.xtb b/chrome/app/resources/address_input_strings_el.xtb
new file mode 100644
index 0000000..6e5e7d8
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_el.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="el">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_en-GB.xtb b/chrome/app/resources/address_input_strings_en-GB.xtb
new file mode 100644
index 0000000..0fb2133
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_en-GB.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="en-GB">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_es-419.xtb b/chrome/app/resources/address_input_strings_es-419.xtb
new file mode 100644
index 0000000..2fe4770
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_es-419.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="es-419">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_es.xtb b/chrome/app/resources/address_input_strings_es.xtb
new file mode 100644
index 0000000..64022ec
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_es.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="es">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_et.xtb b/chrome/app/resources/address_input_strings_et.xtb
new file mode 100644
index 0000000..5244dfd
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_et.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="et">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_fa.xtb b/chrome/app/resources/address_input_strings_fa.xtb
new file mode 100644
index 0000000..18626f8
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_fa.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fa">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_fi.xtb b/chrome/app/resources/address_input_strings_fi.xtb
new file mode 100644
index 0000000..4691cd5
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_fi.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fi">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_fil.xtb b/chrome/app/resources/address_input_strings_fil.xtb
new file mode 100644
index 0000000..443630e
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_fil.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fil">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_fr.xtb b/chrome/app/resources/address_input_strings_fr.xtb
new file mode 100644
index 0000000..63026a3
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_fr.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="fr">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_gu.xtb b/chrome/app/resources/address_input_strings_gu.xtb
new file mode 100644
index 0000000..7d8a4df
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_gu.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="gu">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_hi.xtb b/chrome/app/resources/address_input_strings_hi.xtb
new file mode 100644
index 0000000..a6ddd5d
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_hi.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="hi">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_hr.xtb b/chrome/app/resources/address_input_strings_hr.xtb
new file mode 100644
index 0000000..26f99d0
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_hr.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="hr">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_hu.xtb b/chrome/app/resources/address_input_strings_hu.xtb
new file mode 100644
index 0000000..7ef9a5e
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_hu.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="hu">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_id.xtb b/chrome/app/resources/address_input_strings_id.xtb
new file mode 100644
index 0000000..aa34783
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_id.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="id">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_it.xtb b/chrome/app/resources/address_input_strings_it.xtb
new file mode 100644
index 0000000..a6ac8d46
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_it.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="it">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_iw.xtb b/chrome/app/resources/address_input_strings_iw.xtb
new file mode 100644
index 0000000..86b5533
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_iw.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="iw">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ja.xtb b/chrome/app/resources/address_input_strings_ja.xtb
new file mode 100644
index 0000000..23139e6
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ja.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ja">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_kn.xtb b/chrome/app/resources/address_input_strings_kn.xtb
new file mode 100644
index 0000000..cc3643a
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_kn.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="kn">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ko.xtb b/chrome/app/resources/address_input_strings_ko.xtb
new file mode 100644
index 0000000..e0fc370
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ko.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ko">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_lt.xtb b/chrome/app/resources/address_input_strings_lt.xtb
new file mode 100644
index 0000000..5804ae2
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_lt.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="lt">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_lv.xtb b/chrome/app/resources/address_input_strings_lv.xtb
new file mode 100644
index 0000000..a0a1c47
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_lv.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="lv">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ml.xtb b/chrome/app/resources/address_input_strings_ml.xtb
new file mode 100644
index 0000000..f7db315
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ml.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ml">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_mr.xtb b/chrome/app/resources/address_input_strings_mr.xtb
new file mode 100644
index 0000000..098d29c
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_mr.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="mr">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ms.xtb b/chrome/app/resources/address_input_strings_ms.xtb
new file mode 100644
index 0000000..1fb470a
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ms.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ms">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_nl.xtb b/chrome/app/resources/address_input_strings_nl.xtb
new file mode 100644
index 0000000..e782410
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_nl.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="nl">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_no.xtb b/chrome/app/resources/address_input_strings_no.xtb
new file mode 100644
index 0000000..913638b
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_no.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="no">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_pl.xtb b/chrome/app/resources/address_input_strings_pl.xtb
new file mode 100644
index 0000000..4519e3d
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_pl.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="pl">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_pt-BR.xtb b/chrome/app/resources/address_input_strings_pt-BR.xtb
new file mode 100644
index 0000000..e95eb56
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_pt-BR.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="pt-BR">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_pt-PT.xtb b/chrome/app/resources/address_input_strings_pt-PT.xtb
new file mode 100644
index 0000000..1dcf557a
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_pt-PT.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="pt-PT">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ro.xtb b/chrome/app/resources/address_input_strings_ro.xtb
new file mode 100644
index 0000000..9e43493
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ro.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ro">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ru.xtb b/chrome/app/resources/address_input_strings_ru.xtb
new file mode 100644
index 0000000..c4a621b
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ru.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ru">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_sk.xtb b/chrome/app/resources/address_input_strings_sk.xtb
new file mode 100644
index 0000000..00750d3
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_sk.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="sk">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_sl.xtb b/chrome/app/resources/address_input_strings_sl.xtb
new file mode 100644
index 0000000..489b7e4
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_sl.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="sl">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_sr.xtb b/chrome/app/resources/address_input_strings_sr.xtb
new file mode 100644
index 0000000..38f6f35
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_sr.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="sr">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_sv.xtb b/chrome/app/resources/address_input_strings_sv.xtb
new file mode 100644
index 0000000..ddea3dc
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_sv.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="sv">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_sw.xtb b/chrome/app/resources/address_input_strings_sw.xtb
new file mode 100644
index 0000000..b775088
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_sw.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="sw">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_ta.xtb b/chrome/app/resources/address_input_strings_ta.xtb
new file mode 100644
index 0000000..ef90687
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_ta.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="ta">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_te.xtb b/chrome/app/resources/address_input_strings_te.xtb
new file mode 100644
index 0000000..48c714b
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_te.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="te">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_th.xtb b/chrome/app/resources/address_input_strings_th.xtb
new file mode 100644
index 0000000..fae3196
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_th.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="th">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_tr.xtb b/chrome/app/resources/address_input_strings_tr.xtb
new file mode 100644
index 0000000..9a29951
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_tr.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="tr">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_uk.xtb b/chrome/app/resources/address_input_strings_uk.xtb
new file mode 100644
index 0000000..f0db52c
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_uk.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="uk">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_vi.xtb b/chrome/app/resources/address_input_strings_vi.xtb
new file mode 100644
index 0000000..b2957da
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_vi.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="vi">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_zh-CN.xtb b/chrome/app/resources/address_input_strings_zh-CN.xtb
new file mode 100644
index 0000000..26e8b40
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_zh-CN.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="zh-CN">
+</translationbundle>
diff --git a/chrome/app/resources/address_input_strings_zh-TW.xtb b/chrome/app/resources/address_input_strings_zh-TW.xtb
new file mode 100644
index 0000000..935ef48
--- /dev/null
+++ b/chrome/app/resources/address_input_strings_zh-TW.xtb
@@ -0,0 +1,4 @@
+<?xml version="1.0" ?>
+<!DOCTYPE translationbundle>
+<translationbundle lang="zh-TW">
+</translationbundle>
diff --git a/chrome/tools/build/repack_locales.py b/chrome/tools/build/repack_locales.py
index 554b155..f837d2a 100755
--- a/chrome/tools/build/repack_locales.py
+++ b/chrome/tools/build/repack_locales.py
@@ -115,6 +115,11 @@ def calc_inputs(locale):
inputs.append(os.path.join(SHARE_INT_DIR, 'third_party', 'libaddressinput',
'libaddressinput_strings_%s.pak' % locale))
+ #e.g. '<(SHARED_INTERMEDIATE_DIR)/grit/libaddressinput/
+ # address_input_strings_da.pak',
+ inputs.append(os.path.join(SHARE_INT_DIR, 'grit', 'libaddressinput',
+ 'address_input_strings_%s.pak' % locale))
+
#e.g. '<(grit_out_dir)/google_chrome_strings_da.pak'
# or
# '<(grit_out_dir)/chromium_strings_da.pak'
diff --git a/third_party/libaddressinput/README.chromium b/third_party/libaddressinput/README.chromium
index 13b5898..a779e07 100644
--- a/third_party/libaddressinput/README.chromium
+++ b/third_party/libaddressinput/README.chromium
@@ -2,8 +2,8 @@ Name: The library to input, validate, and display addresses.
Short Name: libaddressinput
URL: https://code.google.com/p/libaddressinput/
Version: 0
-Date: 4 June 2014
-Revision: 265
+Date: 10 June 2014
+Revision: 273
License: Apache 2.0
License File: LICENSE
Security Critical: no
diff --git a/third_party/libaddressinput/chromium/tools/update-strings.py b/third_party/libaddressinput/chromium/tools/update-strings.py
index 39bfa6b..223f99b 100755
--- a/third_party/libaddressinput/chromium/tools/update-strings.py
+++ b/third_party/libaddressinput/chromium/tools/update-strings.py
@@ -24,14 +24,6 @@ to the upstream library at https://libaddressinput.googlecode.com/.
script_dir = os.path.dirname(os.path.realpath(__file__))
from_file = os.path.abspath(os.path.join(
script_dir, os.pardir, os.pardir, 'src', 'cpp', 'res', 'messages.grdp'))
-
-if not os.path.isfile(from_file):
- # Android and iOS do not use src/third_party/libaddressinput/src/. Gclient
- # cannot filter out hooks based on OS or (when using git) based on file name
- # patterns.
- print('No libaddressinput for this target OS.')
- sys.exit()
-
to_file = os.path.abspath(os.path.join(
script_dir, os.pardir, os.pardir, os.pardir, os.pardir, 'chrome', 'app',
'address_input_strings.grdp'))
diff --git a/third_party/libaddressinput/libaddressinput.gyp b/third_party/libaddressinput/libaddressinput.gyp
index a97d1ef..fc3fb93 100644
--- a/third_party/libaddressinput/libaddressinput.gyp
+++ b/third_party/libaddressinput/libaddressinput.gyp
@@ -41,6 +41,27 @@
'../../build/grit_target.gypi',
],
},
+ {
+ 'target_name': 'libaddressinput_updated_strings',
+ 'type': 'none',
+ 'variables': {
+ 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/grit/libaddressinput/',
+ },
+ 'actions': [
+ {
+ 'action_name': 'libaddressinput_updated_strings',
+ 'variables': {
+ 'grit_grd_file': '../../chrome/app/address_input_strings.grd',
+ },
+ 'includes': [
+ '../../build/grit_action.gypi',
+ ],
+ },
+ ],
+ 'includes': [
+ '../../build/grit_target.gypi',
+ ],
+ },
# This target provides basic functionality which is cooked into the build.
{ 'target_name': 'libaddressinput_util',
'type': 'static_library',
@@ -129,6 +150,7 @@
],
'dependencies': [
'libaddressinput_strings',
+ 'libaddressinput_updated_strings',
'libaddressinput_util',
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/base/base.gyp:base_i18n',
diff --git a/tools/gritsettings/resource_ids b/tools/gritsettings/resource_ids
index 21d8a69..f407798 100644
--- a/tools/gritsettings/resource_ids
+++ b/tools/gritsettings/resource_ids
@@ -201,6 +201,9 @@
"third_party/libaddressinput/chromium/cpp/res/libaddressinput_strings.grd": {
"messages": [29050],
},
+ "chrome/app/address_input_strings.grd": {
+ "messages": [29100],
+ },
"components/components_strings.grd": {
"messages": [30000],
},