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

Issue 10533101: Don't replace $1 with an empty string when localizing string for host plugin. (Closed)

Created:
8 years, 6 months ago by Sergey Ulanov
Modified:
8 years, 6 months ago
Reviewers:
Jamie
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Don't replace $1 with an empty string when localizing string for host plugin. Previously chrome.l18n.getString() wouldn't touch $1 within the resource when substitutions are not specified. This was fixed in crrev.com/141280, and now it replaced $1 with an empty strings, which broke chromoting host localization that relied on the previous incorrect behaviour. Fixed the webapp to correctly handle strings substitutions. BUG=132146 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141804

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M remoting/webapp/host_session.js View 1 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Sergey Ulanov
8 years, 6 months ago (2012-06-12 01:50:37 UTC) #1
Jamie
Are we in any rush to release this? If not, then I think we'd be ...
8 years, 6 months ago (2012-06-12 03:00:00 UTC) #2
Sergey Ulanov
On 2012/06/12 03:00:00, Jamie wrote: > Are we in any rush to release this? If ...
8 years, 6 months ago (2012-06-12 04:01:20 UTC) #3
Jamie
On 2012/06/12 04:01:20, sergeyu wrote: > On 2012/06/12 03:00:00, Jamie wrote: > > Are we ...
8 years, 6 months ago (2012-06-12 20:50:38 UTC) #4
Sergey Ulanov
On 2012/06/12 20:50:38, Jamie wrote: > On 2012/06/12 04:01:20, sergeyu wrote: > > On 2012/06/12 ...
8 years, 6 months ago (2012-06-12 23:48:57 UTC) #5
Jamie
On 2012/06/12 23:48:57, sergeyu wrote: > On 2012/06/12 20:50:38, Jamie wrote: > > On 2012/06/12 ...
8 years, 6 months ago (2012-06-12 23:51:32 UTC) #6
Sergey Ulanov
> Okay, since it's blocking testing, lgtm (but please run it through jscompiler if > ...
8 years, 6 months ago (2012-06-13 00:14:46 UTC) #7
commit-bot: I haz the power
8 years, 6 months ago (2012-06-13 00:15:44 UTC) #8

Powered by Google App Engine
This is Rietveld 408576698