|
|
DescriptionAdd OWNERS for Physical Web strings and move strings.
We are changing from ListUrlsActivity to WebUI. Move strings to
physical_web_ui_strings.grdp so they can be accessed in WebUI.
BUG=692789
Review-Url: https://codereview.chromium.org/2697193006
Cr-Commit-Position: refs/heads/master@{#452159}
Committed: https://chromium.googlesource.com/chromium/src/+/f6abba5e558aed73885e07c3ac1abdc4595ec764
Patch Set 1 #Patch Set 2 : update string #
Total comments: 3
Patch Set 3 : remove unused string #Patch Set 4 : reset android_chrome_strings.grd #
Total comments: 4
Patch Set 5 : replace urls by pages #Patch Set 6 : move strings #Patch Set 7 : add OWNERS #Patch Set 8 : rebase #Patch Set 9 : fix tests, restore android_chrome_strings.grd #Messages
Total messages: 57 (28 generated)
Description was changed from ========== adding new string for scanning and no result notification BUG=692789 ========== to ========== adding new string for scanning and empty result notification BUG=692789 ==========
ranj@chromium.org changed reviewers: + jochen@chromium.org, mattreynolds@chromium.org, mmocny@chromium.org
Description was changed from ========== adding new string for scanning and empty result notification BUG=692789 ========== to ========== Duplicate strings for scanning and empty result notification here so that they can be accessed in webui BUG=692789 ==========
lgtm https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... File components/physical_web_ui_strings.grdp (right): https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... components/physical_web_ui_strings.grdp:6: <!-- These two messages are duplicated in android/java/strings/android_chrome_strings.grd --> Is this comment still necessary? I couldn't find the strings in android_chrome_strings.grd, maybe they've been removed already?
https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... File components/physical_web_ui_strings.grdp (right): https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... components/physical_web_ui_strings.grdp:6: <!-- These two messages are duplicated in android/java/strings/android_chrome_strings.grd --> On 2017/02/16 20:04:41, mattreynolds wrote: > Is this comment still necessary? I couldn't find the strings in > android_chrome_strings.grd, maybe they've been removed already? They have same value, but the ids are different. https://cs.chromium.org/chromium/src/chrome/android/java/strings/android_chro...
https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... File components/physical_web_ui_strings.grdp (right): https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... components/physical_web_ui_strings.grdp:6: <!-- These two messages are duplicated in android/java/strings/android_chrome_strings.grd --> On 2017/02/16 20:08:52, Ran wrote: > On 2017/02/16 20:04:41, mattreynolds wrote: > > Is this comment still necessary? I couldn't find the strings in > > android_chrome_strings.grd, maybe they've been removed already? > > They have same value, but the ids are different. > https://cs.chromium.org/chromium/src/chrome/android/java/strings/android_chro... Ah, looks like they are unused. Could you remove them? I think we can remove everything from IDS_PHYSICAL_WEB_OPTIN_TITLE to IDS_PHYSICAL_WEB_LAUNCH_BUTTON. They were used by Physical Web notifications, the opt-in interstitial, and the old list view activity which have all been removed.
On 2017/02/16 20:14:42, mattreynolds wrote: > https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... > File components/physical_web_ui_strings.grdp (right): > > https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... > components/physical_web_ui_strings.grdp:6: <!-- These two messages are > duplicated in android/java/strings/android_chrome_strings.grd --> > On 2017/02/16 20:08:52, Ran wrote: > > On 2017/02/16 20:04:41, mattreynolds wrote: > > > Is this comment still necessary? I couldn't find the strings in > > > android_chrome_strings.grd, maybe they've been removed already? > > > > They have same value, but the ids are different. > > > https://cs.chromium.org/chromium/src/chrome/android/java/strings/android_chro... > > Ah, looks like they are unused. Could you remove them? > > I think we can remove everything from IDS_PHYSICAL_WEB_OPTIN_TITLE to > IDS_PHYSICAL_WEB_LAUNCH_BUTTON. They were used by Physical Web notifications, > the opt-in interstitial, and the old list view activity which have all been > removed. Done.
On 2017/02/16 20:23:34, Ran wrote: > On 2017/02/16 20:14:42, mattreynolds wrote: > > > https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... > > File components/physical_web_ui_strings.grdp (right): > > > > > https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... > > components/physical_web_ui_strings.grdp:6: <!-- These two messages are > > duplicated in android/java/strings/android_chrome_strings.grd --> > > On 2017/02/16 20:08:52, Ran wrote: > > > On 2017/02/16 20:04:41, mattreynolds wrote: > > > > Is this comment still necessary? I couldn't find the strings in > > > > android_chrome_strings.grd, maybe they've been removed already? > > > > > > They have same value, but the ids are different. > > > > > > https://cs.chromium.org/chromium/src/chrome/android/java/strings/android_chro... > > > > Ah, looks like they are unused. Could you remove them? > > > > I think we can remove everything from IDS_PHYSICAL_WEB_OPTIN_TITLE to > > IDS_PHYSICAL_WEB_LAUNCH_BUTTON. They were used by Physical Web notifications, > > the opt-in interstitial, and the old list view activity which have all been > > removed. > > Done. Could we make it obvious to language translators that we already have translations for these strings under the old names? Not sure if we should just update this patch description?
Description was changed from ========== Duplicate strings for scanning and empty result notification here so that they can be accessed in webui BUG=692789 ========== to ========== Move string from chrome/android/java/strings/android_chrome_strings.grd to components/physical_web_ui_strings.grdp, clean unused string in chrome/android/java/strings/android_chrome_strings.grd BUG=692789 ==========
On 2017/02/16 20:30:32, mmocny wrote: > On 2017/02/16 20:23:34, Ran wrote: > > On 2017/02/16 20:14:42, mattreynolds wrote: > > > > > > https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... > > > File components/physical_web_ui_strings.grdp (right): > > > > > > > > > https://codereview.chromium.org/2697193006/diff/20001/components/physical_web... > > > components/physical_web_ui_strings.grdp:6: <!-- These two messages are > > > duplicated in android/java/strings/android_chrome_strings.grd --> > > > On 2017/02/16 20:08:52, Ran wrote: > > > > On 2017/02/16 20:04:41, mattreynolds wrote: > > > > > Is this comment still necessary? I couldn't find the strings in > > > > > android_chrome_strings.grd, maybe they've been removed already? > > > > > > > > They have same value, but the ids are different. > > > > > > > > > > https://cs.chromium.org/chromium/src/chrome/android/java/strings/android_chro... > > > > > > Ah, looks like they are unused. Could you remove them? > > > > > > I think we can remove everything from IDS_PHYSICAL_WEB_OPTIN_TITLE to > > > IDS_PHYSICAL_WEB_LAUNCH_BUTTON. They were used by Physical Web > notifications, > > > the opt-in interstitial, and the old list view activity which have all been > > > removed. > > > > Done. > > Could we make it obvious to language translators that we already have > translations for these strings under the old names? > > Not sure if we should just update this patch description? Updated description. I don't think it matters that much as it only takes seconds to translate a message.
lgtm Thanks for updating the description.
ranj@chromium.org changed reviewers: + cco3@chromium.org
As discuses, do the clean up in another cl.
The CQ bit was checked by ranj@chromium.org to run a CQ dry run
Commit subjects should be: * capitalized, * imperative, and * limited to 50-columns. Suggestion: "Add strings for displaying PW scanning info" https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... File components/physical_web_ui_strings.grdp (right): https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... components/physical_web_ui_strings.grdp:6: <message name="IDS_PHYSICAL_WEB_UI_EMPTY_MESSAGE" desc="The message displayed in place of a list of nearby URLs when there are no URLs to display."> Why are we adding strings if we aren't using them? https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... components/physical_web_ui_strings.grdp:7: No Physical Web URLs to show Haven't we avoided using the term "URL"? This should be No Physical Web pages
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/02/16 22:34:43, cco3 wrote: > Commit subjects should be: > * capitalized, > * imperative, and > * limited to 50-columns. > > Suggestion: > "Add strings for displaying PW scanning info" > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > File components/physical_web_ui_strings.grdp (right): > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > components/physical_web_ui_strings.grdp:6: <message > name="IDS_PHYSICAL_WEB_UI_EMPTY_MESSAGE" desc="The message displayed in place of > a list of nearby URLs when there are no URLs to display."> > Why are we adding strings if we aren't using them? > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > components/physical_web_ui_strings.grdp:7: No Physical Web URLs to show > Haven't we avoided using the term "URL"? This should be No Physical Web pages Also, the commit message/CL description doesn't seem to match the change.
On 2017/02/16 22:35:47, cco3 wrote: > On 2017/02/16 22:34:43, cco3 wrote: > > Commit subjects should be: > > * capitalized, > > * imperative, and > > * limited to 50-columns. > > > > Suggestion: > > "Add strings for displaying PW scanning info" > > > > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > > File components/physical_web_ui_strings.grdp (right): > > > > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > > components/physical_web_ui_strings.grdp:6: <message > > name="IDS_PHYSICAL_WEB_UI_EMPTY_MESSAGE" desc="The message displayed in place > of > > a list of nearby URLs when there are no URLs to display."> > > Why are we adding strings if we aren't using them? > > > > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > > components/physical_web_ui_strings.grdp:7: No Physical Web URLs to show > > Haven't we avoided using the term "URL"? This should be No Physical Web pages > > Also, the commit message/CL description doesn't seem to match the change. I also don't think you removed chrome/android/java/strings/android_chrome_strings.grd as you intended. In the future, you should use `git mv`. This time, you can run `git rm -f chrome/android/java/strings/android_chrome_strings.grd"
On 2017/02/16 22:37:36, cco3 wrote: > On 2017/02/16 22:35:47, cco3 wrote: > > On 2017/02/16 22:34:43, cco3 wrote: > > > Commit subjects should be: > > > * capitalized, > > > * imperative, and > > > * limited to 50-columns. > > > > > > Suggestion: > > > "Add strings for displaying PW scanning info" > > > > > > > > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > > > File components/physical_web_ui_strings.grdp (right): > > > > > > > > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > > > components/physical_web_ui_strings.grdp:6: <message > > > name="IDS_PHYSICAL_WEB_UI_EMPTY_MESSAGE" desc="The message displayed in > place > > of > > > a list of nearby URLs when there are no URLs to display."> > > > Why are we adding strings if we aren't using them? > > > > > > > > > https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... > > > components/physical_web_ui_strings.grdp:7: No Physical Web URLs to show > > > Haven't we avoided using the term "URL"? This should be No Physical Web > pages > > > > Also, the commit message/CL description doesn't seem to match the change. > > I also don't think you removed > chrome/android/java/strings/android_chrome_strings.grd as you intended. In the > future, you should use `git mv`. This time, you can run `git rm -f > chrome/android/java/strings/android_chrome_strings.grd" Disregard that last comment. For some reason I thought you were trying to remove that file.
Description was changed from ========== Move string from chrome/android/java/strings/android_chrome_strings.grd to components/physical_web_ui_strings.grdp, clean unused string in chrome/android/java/strings/android_chrome_strings.grd BUG=692789 ========== to ========== Add string for scanning page and empty result page. BUG=692789 ==========
https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... File components/physical_web_ui_strings.grdp (right): https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... components/physical_web_ui_strings.grdp:6: <message name="IDS_PHYSICAL_WEB_UI_EMPTY_MESSAGE" desc="The message displayed in place of a list of nearby URLs when there are no URLs to display."> On 2017/02/16 22:34:43, cco3 wrote: > Why are we adding strings if we aren't using them? I have another cl that uses this string. https://codereview.chromium.org/2698503004/ I try to catch the feature freeze deadline, as strings require translation need to go before it... https://codereview.chromium.org/2697193006/diff/60001/components/physical_web... components/physical_web_ui_strings.grdp:7: No Physical Web URLs to show On 2017/02/16 22:34:43, cco3 wrote: > Haven't we avoided using the term "URL"? This should be No Physical Web pages Done. Thanks!
-lgtm Ran: Somehow the description changed and CL changed significantly. I thought the plan was to move a few strings over to this new file, without making any modifications to the text. Your patch #3 was almost correct but it had deleted too many strings (some were still used!). I still think you should move the strings which were used by the old native listview (which was deleted) to this new strings file to be used by the new WebUI in a separate patch.
please indicate in the CL description that this is about physical web I assume that somebody working on the physical web stuff is in an OWNERS file for those strings? Otherwise, please add an respective entry
Description was changed from ========== Add string for scanning page and empty result page. BUG=692789 ========== to ========== Move PhysicalWeb scanning and empty result notification string from android_chrome_strings.grd to physical_web_ui_strings.grdp. BUG=692789 ==========
On 2017/02/20 09:49:55, jochen wrote: > please indicate in the CL description that this is about physical web > > I assume that somebody working on the physical web stuff is in an OWNERS file > for those strings? Otherwise, please add an respective entry Physical web entry is not listed in components/OWNERS. Will update OWNERS file in separated CL.
On 2017/02/20 09:49:55, jochen wrote: > please indicate in the CL description that this is about physical web > > I assume that somebody working on the physical web stuff is in an OWNERS file > for those strings? Otherwise, please add an respective entry Physical web entry is not listed in components/OWNERS. Will update OWNERS file in separated CL.
Move strings, update description.
LGTM. FYI: Commit description bodies should be limited to 72 columns.
On 2017/02/21 22:08:57, cco3 wrote: > LGTM. > > FYI: Commit description bodies should be limited to 72 columns. Also, the subject might be better as "Move some Physical Web strings to new location", and then explain in the body.
> I assume that somebody working on the physical web stuff is in an OWNERS file > for those strings? Otherwise, please add an respective entry We must have overlooked adding the OWNERS entry for these strings. Ran, could you add this line to components/OWNERS? per-file physical_web_ui_strings.grdp=file://components/physical_web/OWNERS
Description was changed from ========== Move PhysicalWeb scanning and empty result notification string from android_chrome_strings.grd to physical_web_ui_strings.grdp. BUG=692789 ========== to ========== We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in wWebUIebui. Add OWNERS for Physical Web strings. BUG=692789 ==========
Description was changed from ========== We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in wWebUIebui. Add OWNERS for Physical Web strings. BUG=692789 ========== to ========== We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in WebUI. Add OWNERS for Physical Web strings. BUG=692789 ==========
Add OWNERS
On 2017/02/21 22:29:23, Ran wrote: > Add OWNERS LGTM
lgtm note that the CL description needs to be reformated: http://dev.chromium.org/developers/contributing-code#TOC-Writing-change-list-... long lines should be wrapped, and the first line should be the summary (followed by an empty line)
Description was changed from ========== We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in WebUI. Add OWNERS for Physical Web strings. BUG=692789 ========== to ========== Add OWNERS for Physical Web strings and move strings. We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in WebUI. BUG=692789 ==========
Description was changed from ========== Add OWNERS for Physical Web strings and move strings. We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in WebUI. BUG=692789 ========== to ========== Add OWNERS for Physical Web strings and move strings. We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in WebUI. BUG=692789 ==========
The CQ bit was checked by ranj@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mattreynolds@chromium.org, mmocny@chromium.org Link to the patchset: https://codereview.chromium.org/2697193006/#ps120001 (title: "add OWNERS")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm6...)
The CQ bit was checked by ranj@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by ranj@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by ranj@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mmocny@chromium.org, jochen@chromium.org, cco3@chromium.org, mattreynolds@chromium.org Link to the patchset: https://codereview.chromium.org/2697193006/#ps160001 (title: "fix tests, restore android_chrome_strings.grd")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 160001, "attempt_start_ts": 1487790633464020, "parent_rev": "0a7bb59fff7ca4ba57577a4dcf3e013019f5794b", "commit_rev": "f6abba5e558aed73885e07c3ac1abdc4595ec764"}
Message was sent while issue was closed.
Description was changed from ========== Add OWNERS for Physical Web strings and move strings. We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in WebUI. BUG=692789 ========== to ========== Add OWNERS for Physical Web strings and move strings. We are changing from ListUrlsActivity to WebUI. Move strings to physical_web_ui_strings.grdp so they can be accessed in WebUI. BUG=692789 Review-Url: https://codereview.chromium.org/2697193006 Cr-Commit-Position: refs/heads/master@{#452159} Committed: https://chromium.googlesource.com/chromium/src/+/f6abba5e558aed73885e07c3ac1a... ==========
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/f6abba5e558aed73885e07c3ac1a... |