Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 304223010: Include upstream libaddressinput strings in Chrome build. (Closed)

Created:
6 years, 6 months ago by please use gerrit instead
Modified:
6 years, 6 months ago
Reviewers:
Lei Zhang, Evan Stade
CC:
chromium-reviews
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276559

Patch Set 1 : #

Total comments: 11

Patch Set 2 : Repack locales. #

Patch Set 3 : Keep repacking old strings until they're gone. #

Patch Set 4 : Re-license and remove newlines. #

Patch Set 5 : Gclient runhooks copies the GRDP file. #

Patch Set 6 : Re-upload to try with 'git cl try' #

Patch Set 7 : Add a do-not-modify warning header. #

Total comments: 4

Patch Set 8 : All platforms use autofill profiles, which use libaddressinput. #

Patch Set 9 : Rebase on top of https://codereview.chromium.org/319373003/. #

Patch Set 10 : Attempt to fix android_aosp build. #

Patch Set 11 : Rebase on top of https://codereview.chromium.org/329473002/. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+435 lines, -11 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A chrome/app/address_input_strings.grd View 1 2 3 1 chunk +194 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_am.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ar.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_bg.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_bn.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ca.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_cs.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_da.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_de.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_el.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_en-GB.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_es.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_es-419.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_et.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_fa.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_fi.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_fil.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_fr.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_gu.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_hi.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_hr.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_hu.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_id.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_it.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_iw.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ja.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_kn.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ko.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_lt.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_lv.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ml.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_mr.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ms.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_nl.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_no.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_pl.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_pt-BR.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_pt-PT.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ro.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ru.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_sk.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_sl.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_sr.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_sv.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_sw.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_ta.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_te.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_th.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_tr.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_uk.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_vi.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_zh-CN.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/resources/address_input_strings_zh-TW.xtb View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/tools/build/repack_locales.py View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/libaddressinput/README.chromium View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/libaddressinput/chromium/tools/update-strings.py View 1 2 3 4 5 6 7 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/libaddressinput/libaddressinput.gyp View 2 chunks +22 lines, -0 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (0 generated)
please use gerrit instead
Evan: PTAL Patch Set 1.
6 years, 6 months ago (2014-05-31 01:30:12 UTC) #1
please use gerrit instead
Lei: OWNERS PTAL Patch Set 1 (chrome/app/address_input_strings.grd[p]).
6 years, 6 months ago (2014-05-31 01:31:44 UTC) #2
Lei Zhang
lgtm with estade's approval. https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd File chrome/app/address_input_strings.grd (right): https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd#newcode3 chrome/app/address_input_strings.grd:3: Copyright (C) 2013 Google Inc. ...
6 years, 6 months ago (2014-05-31 01:39:47 UTC) #3
please use gerrit instead
Thanks for the review, Lei! https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd File chrome/app/address_input_strings.grd (right): https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd#newcode3 chrome/app/address_input_strings.grd:3: Copyright (C) 2013 Google ...
6 years, 6 months ago (2014-06-01 14:27:26 UTC) #4
Lei Zhang
https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd File chrome/app/address_input_strings.grd (right): https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd#newcode3 chrome/app/address_input_strings.grd:3: Copyright (C) 2013 Google Inc. On 2014/06/01 14:27:27, Rouslan ...
6 years, 6 months ago (2014-06-02 20:47:43 UTC) #5
please use gerrit instead
Thank you for the comments, Lei. https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd File chrome/app/address_input_strings.grd (right): https://codereview.chromium.org/304223010/diff/20001/chrome/app/address_input_strings.grd#newcode3 chrome/app/address_input_strings.grd:3: Copyright (C) 2013 ...
6 years, 6 months ago (2014-06-02 21:07:21 UTC) #6
Lei Zhang
Are the .xtb files all suppose to be only 4 lines long?
6 years, 6 months ago (2014-06-02 21:15:13 UTC) #7
please use gerrit instead
On 2014/06/02 21:15:13, Lei Zhang wrote: > Are the .xtb files all suppose to be ...
6 years, 6 months ago (2014-06-02 22:04:43 UTC) #8
Lei Zhang
lgtm++
6 years, 6 months ago (2014-06-02 22:05:34 UTC) #9
Evan Stade
how do you plan to roll changes in the future?
6 years, 6 months ago (2014-06-03 01:08:05 UTC) #10
please use gerrit instead
On 2014/06/03 01:08:05, Evan Stade wrote: > how do you plan to roll changes in ...
6 years, 6 months ago (2014-06-03 01:55:30 UTC) #11
Evan Stade
On 2014/06/03 01:55:30, Rouslan Solomakhin wrote: > On 2014/06/03 01:08:05, Evan Stade wrote: > > ...
6 years, 6 months ago (2014-06-03 02:15:47 UTC) #12
please use gerrit instead
On 2014/06/03 02:15:47, Evan Stade wrote: > On 2014/06/03 01:55:30, Rouslan Solomakhin wrote: > > ...
6 years, 6 months ago (2014-06-03 02:33:16 UTC) #13
Evan Stade
Is it possible to have gclient pull it in there (so that it effectively pulls ...
6 years, 6 months ago (2014-06-03 17:33:42 UTC) #14
please use gerrit instead
Ah, that sounds interesting. Let me try. On Tue, Jun 3, 2014 at 10:33 AM, ...
6 years, 6 months ago (2014-06-03 17:49:37 UTC) #15
please use gerrit instead
Evan: PTAL Patch Set 6. I've added a DEPS hook to copy over the file ...
6 years, 6 months ago (2014-06-03 19:30:11 UTC) #16
Evan Stade
Doesn't this script mean you don't need to check the translation files into git?
6 years, 6 months ago (2014-06-03 20:03:14 UTC) #17
please use gerrit instead
Upstream libaddressinput does not have translation files.
6 years, 6 months ago (2014-06-03 20:37:59 UTC) #18
Evan Stade
could you make the script add a comment to the .grdp that says this file ...
6 years, 6 months ago (2014-06-03 21:41:09 UTC) #19
Evan Stade
could you make the script add a comment to the .grdp that says this file ...
6 years, 6 months ago (2014-06-03 21:41:13 UTC) #20
please use gerrit instead
Evan: PTAL Patch Set 7. The update-strings.py script adds the following message to the header ...
6 years, 6 months ago (2014-06-03 22:11:48 UTC) #21
Evan Stade
https://codereview.chromium.org/304223010/diff/120001/third_party/libaddressinput/chromium/tools/update-strings.py File third_party/libaddressinput/chromium/tools/update-strings.py (right): https://codereview.chromium.org/304223010/diff/120001/third_party/libaddressinput/chromium/tools/update-strings.py#newcode15 third_party/libaddressinput/chromium/tools/update-strings.py:15: This file will be overwritten by "gclient runhooks". It ...
6 years, 6 months ago (2014-06-03 22:16:09 UTC) #22
please use gerrit instead
Evan: PTAL Patch Set 8. https://codereview.chromium.org/304223010/diff/120001/third_party/libaddressinput/chromium/tools/update-strings.py File third_party/libaddressinput/chromium/tools/update-strings.py (right): https://codereview.chromium.org/304223010/diff/120001/third_party/libaddressinput/chromium/tools/update-strings.py#newcode15 third_party/libaddressinput/chromium/tools/update-strings.py:15: This file will be ...
6 years, 6 months ago (2014-06-03 22:39:02 UTC) #23
Evan Stade
lgtm
6 years, 6 months ago (2014-06-03 23:21:06 UTC) #24
please use gerrit instead
Sent the first patch into CQ from https://codereview.chromium.org/312883005/.
6 years, 6 months ago (2014-06-03 23:30:13 UTC) #25
please use gerrit instead
The CQ bit was checked by rouslan@chromium.org
6 years, 6 months ago (2014-06-06 05:40:57 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/304223010/150001
6 years, 6 months ago (2014-06-06 05:42:23 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-06 09:40:13 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 09:46:25 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/158860) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/148336) ios_rel_device_ninja ...
6 years, 6 months ago (2014-06-06 09:46:26 UTC) #30
please use gerrit instead
The CQ bit was checked by rouslan@chromium.org
6 years, 6 months ago (2014-06-07 01:40:16 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/304223010/330001
6 years, 6 months ago (2014-06-07 01:42:42 UTC) #32
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 07:06:05 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 07:36:04 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/81730)
6 years, 6 months ago (2014-06-07 07:36:05 UTC) #35
please use gerrit instead
The CQ bit was checked by rouslan@chromium.org
6 years, 6 months ago (2014-06-07 21:12:03 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/304223010/350001
6 years, 6 months ago (2014-06-07 21:12:51 UTC) #37
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 23:02:22 UTC) #38
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 23:23:55 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/81761)
6 years, 6 months ago (2014-06-07 23:23:56 UTC) #40
please use gerrit instead
The CQ bit was checked by rouslan@chromium.org
6 years, 6 months ago (2014-06-11 15:27:08 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/304223010/390001
6 years, 6 months ago (2014-06-11 15:30:43 UTC) #42
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 21:03:38 UTC) #43
please use gerrit instead
The CQ bit was unchecked by rouslan@chromium.org
6 years, 6 months ago (2014-06-11 21:19:49 UTC) #44
please use gerrit instead
The CQ bit was checked by rouslan@chromium.org
6 years, 6 months ago (2014-06-12 03:40:18 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rouslan@chromium.org/304223010/390001
6 years, 6 months ago (2014-06-12 03:43:11 UTC) #46
commit-bot: I haz the power
Change committed as 276559
6 years, 6 months ago (2014-06-12 07:21:18 UTC) #47
Torne
Why does this require a hook to copy the file from one place to another? ...
6 years, 6 months ago (2014-06-13 13:48:09 UTC) #48
Evan Stade
6 years, 6 months ago (2014-06-13 16:30:07 UTC) #49
Message was sent while issue was closed.
On 2014/06/13 13:48:09, Torne wrote:
> Why does this require a hook to copy the file from one place to another? Can't
> we just refer to the file in its original location? It seems excessive to
> execute a custom python script just to do this.
> 
> This broke the Android WebView build since we don't execute the hooks. I *can*
> fix up our scripts to run this specific script while it does the merge, but it
> seems like it'd be easier to just get rid of the hook. Am I missing some
reason
> why it must be this way?

The TPMs have certain requirements about where in the tree strings may live.

Powered by Google App Engine
This is Rietveld 408576698