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

Issue 2406203003: Added blimp support strings. (Closed)

Created:
4 years, 2 months ago by xingliu
Modified:
4 years, 2 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added blimp support strings. Previously we use 0.5 strings in //blimp/client/app, which are also java strings generated from a grd file. This CL port some of the strings into //blimp/client/support/resources. The embedder may depend on this to access blimp external strings. The grd file for support strings will only generate strings used in native code. There will be another grd file for blimp internal only strings. BUG=630687 Committed: https://crrev.com/12f1340436b88c4d91355935bea8bdbfb28a58cf Cr-Commit-Position: refs/heads/master@{#426001}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rebased. #

Patch Set 3 : Add entry in translation expectation script. #

Total comments: 8

Patch Set 4 : Fixes based on feedback. #

Patch Set 5 : Removed unused import in GN. #

Total comments: 5

Patch Set 6 : Use empty translation file stubs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -7 lines) Patch
M blimp/client/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M blimp/client/support/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/BUILD.gn View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A blimp/client/support/resources/blimp_strings.h View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A blimp/client/support/resources/blimp_strings.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
A blimp/client/support/resources/blimp_strings.grd View 1 2 3 1 chunk +127 lines, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_am.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_ar.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_bg.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_ca.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_cs.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_da.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_de.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_el.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_en-GB.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_es.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_es-419.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_fa.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_fi.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_fil.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_fr.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_hi.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_hr.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_hu.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_id.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_it.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_iw.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_ja.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_ko.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_lt.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_lv.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_nl.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_no.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_pl.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_pt-BR.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_pt-PT.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_ro.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_ru.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_sk.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_sl.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_sr.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_sv.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_sw.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_th.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_tr.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_uk.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_vi.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_zh-CN.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A blimp/client/support/resources/translations/blimp_strings_zh-TW.xtb View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/blimp/chrome_blimp_client_context_delegate.cc View 1 2 5 chunks +15 lines, -7 lines 0 comments Download
M chrome/chrome_repack_locales.gni View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/gritsettings/translation_expectations.pyl View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 52 (30 generated)
xingliu
Support string resources setup. The support string is pretty straight forward that doesn't have GN ...
4 years, 2 months ago (2016-10-11 22:54:29 UTC) #6
David Trainor- moved to gerrit
lgtm % nits. https://codereview.chromium.org/2406203003/diff/1/blimp/client/support/resources/BUILD.gn File blimp/client/support/resources/BUILD.gn (right): https://codereview.chromium.org/2406203003/diff/1/blimp/client/support/resources/BUILD.gn#newcode28 blimp/client/support/resources/BUILD.gn:28: grit("blimp_strings") { just "strings"? The target ...
4 years, 2 months ago (2016-10-13 03:59:34 UTC) #7
xingliu
@jshin: please help review change in blimp/client/DEPS. @thestig: please help review change in tools/gritsettings/resource_ids tools/gritsettings/translation_expectations.pyl, ...
4 years, 2 months ago (2016-10-13 18:00:58 UTC) #11
Lei Zhang
https://codereview.chromium.org/2406203003/diff/40001/blimp/client/DEPS File blimp/client/DEPS (right): https://codereview.chromium.org/2406203003/diff/40001/blimp/client/DEPS#newcode18 blimp/client/DEPS:18: "+ui/base/l10n", alphabetical order please https://codereview.chromium.org/2406203003/diff/40001/blimp/client/support/resources/blimp_strings.grd File blimp/client/support/resources/blimp_strings.grd (right): https://codereview.chromium.org/2406203003/diff/40001/blimp/client/support/resources/blimp_strings.grd#newcode21 ...
4 years, 2 months ago (2016-10-13 18:09:48 UTC) #12
xingliu
Thanks for the feedback, please help to take a look. https://codereview.chromium.org/2406203003/diff/1/chrome/browser/android/blimp/chrome_blimp_client_context_delegate.cc File chrome/browser/android/blimp/chrome_blimp_client_context_delegate.cc (right): https://codereview.chromium.org/2406203003/diff/1/chrome/browser/android/blimp/chrome_blimp_client_context_delegate.cc#newcode93 ...
4 years, 2 months ago (2016-10-13 21:00:14 UTC) #19
Lei Zhang
The red trybots from patch set 3 makes me think there's still some (missing) dependency ...
4 years, 2 months ago (2016-10-13 21:08:46 UTC) #20
xingliu
On 2016/10/13 21:08:46, Lei Zhang wrote: > The red trybots from patch set 3 makes ...
4 years, 2 months ago (2016-10-13 21:15:14 UTC) #21
xingliu
https://codereview.chromium.org/2406203003/diff/80001/chrome/chrome_repack_locales.gni File chrome/chrome_repack_locales.gni (right): https://codereview.chromium.org/2406203003/diff/80001/chrome/chrome_repack_locales.gni#newcode59 chrome/chrome_repack_locales.gni:59: "${root_gen_dir}/blimp/client/support/resources/blimp_strings_", On 2016/10/13 21:08:45, Lei Zhang wrote: > Should ...
4 years, 2 months ago (2016-10-13 21:23:29 UTC) #22
Lei Zhang
https://codereview.chromium.org/2406203003/diff/80001/chrome/chrome_repack_locales.gni File chrome/chrome_repack_locales.gni (right): https://codereview.chromium.org/2406203003/diff/80001/chrome/chrome_repack_locales.gni#newcode59 chrome/chrome_repack_locales.gni:59: "${root_gen_dir}/blimp/client/support/resources/blimp_strings_", On 2016/10/13 21:23:29, xingliu wrote: > On 2016/10/13 ...
4 years, 2 months ago (2016-10-13 21:31:41 UTC) #23
xingliu
On 2016/10/13 21:23:29, xingliu wrote: > https://codereview.chromium.org/2406203003/diff/80001/chrome/chrome_repack_locales.gni > File chrome/chrome_repack_locales.gni (right): > > https://codereview.chromium.org/2406203003/diff/80001/chrome/chrome_repack_locales.gni#newcode59 > ...
4 years, 2 months ago (2016-10-13 21:38:01 UTC) #24
Lei Zhang
lgtm
4 years, 2 months ago (2016-10-13 21:40:22 UTC) #25
xingliu
Thanks for the feedback. Friendly ping. @jshin
4 years, 2 months ago (2016-10-14 19:20:11 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2406203003/80001
4 years, 2 months ago (2016-10-17 16:22:44 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/282614)
4 years, 2 months ago (2016-10-17 16:33:39 UTC) #33
jungshik at Google
DEPS file change looks good, but I have a question about xtb file changes. https://codereview.chromium.org/2406203003/diff/80001/blimp/client/support/resources/translations/blimp_strings_am.xtb ...
4 years, 2 months ago (2016-10-17 20:24:34 UTC) #34
xingliu
https://codereview.chromium.org/2406203003/diff/80001/blimp/client/support/resources/translations/blimp_strings_am.xtb File blimp/client/support/resources/translations/blimp_strings_am.xtb (left): https://codereview.chromium.org/2406203003/diff/80001/blimp/client/support/resources/translations/blimp_strings_am.xtb#oldcode7 blimp/client/support/resources/translations/blimp_strings_am.xtb:7: <translation id="1491042665327336022">እባክዎ መተግበሪያውን ዳግም ያስጀምሩ።</translation> On 2016/10/17 20:24:34, jungshik ...
4 years, 2 months ago (2016-10-17 20:49:51 UTC) #35
jungshik at Google
On 2016/10/17 20:49:51, xingliu wrote: > https://codereview.chromium.org/2406203003/diff/80001/blimp/client/support/resources/translations/blimp_strings_am.xtb > File blimp/client/support/resources/translations/blimp_strings_am.xtb (left): > > https://codereview.chromium.org/2406203003/diff/80001/blimp/client/support/resources/translations/blimp_strings_am.xtb#oldcode7 > ...
4 years, 2 months ago (2016-10-17 23:57:02 UTC) #38
xingliu
On 2016/10/17 23:57:02, jungshik at google wrote: > On 2016/10/17 20:49:51, xingliu wrote: > > ...
4 years, 2 months ago (2016-10-18 00:28:06 UTC) #39
jungshik at Google
LGTM !
4 years, 2 months ago (2016-10-18 17:01:11 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2406203003/100001
4 years, 2 months ago (2016-10-18 17:20:30 UTC) #49
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-18 17:26:47 UTC) #50
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 17:28:59 UTC) #52
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/12f1340436b88c4d91355935bea8bdbfb28a58cf
Cr-Commit-Position: refs/heads/master@{#426001}

Powered by Google App Engine
This is Rietveld 408576698