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

Unified Diff: chrome/app/generated_resources.grd

Side-by-side diff isn't available for this file because of its large size.
Issue 1248613003: Issue 501916 : Add data type counts to profile deletion flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (again) and added strings for the case when statistics are loading Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: chrome/app/generated_resources.grd
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 6f21ca5509e31bae7b4dcee7342a9ac43d361c2a..9d1053cf2e4429a1708151a2682745bd1680696d 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -13835,8 +13835,53 @@ After you create a new supervised user, you can manage their settings at any tim
All files and local data associated with the supervised user will be permanently deleted once this supervised user is removed. Visited websites and settings for this supervised user may still be visible by the manager at <ph name="MANAGEMENT_URL">$1<ex>www.example.com</ex></ph>.
</message>
<if expr="not chromeos">
- <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING" desc="Text shown as a warning when attempting to remove an user.">
- Are you sure you want to delete this user and all the data associated with it from this computer? This cannot be undone!
+ <!-- Warning messages shown when attempting to remove an user. Synced versions has the extra words "but will not clear synced items from other devices." Versions with loading errors has the extra words "at least." "Calculating" versions are non-failure versions with the number missing, which can take different plural forms when translated. -->
lwchkg 2015/09/20 17:29:08 Not sure whether I should write the comment here o
Mike Lerman 2015/09/21 19:24:51 What does inside the description is sent to the tr
lwchkg 2015/09/28 18:54:20 Agree. So I'll remove this comment.
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_NONSYNC" desc="Main text shown as a warning when attempting to remove an user. This case is for non-synced profiles, with all statistics loaded correctly. The symbol $1 will be substituted with custom JS code, so it should not be replaced by a #.">
+ {NUM_ITEMS, plural,
+ =1 {This will permanently delete $1 item from this device.}
+ other {This will permanently delete $1 items from this device.}}
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_NONSYNC_WITH_ERRORS" desc="Main text shown as a warning when attempting to remove an user. This case is for non-synced profiles, with some statistics failed to load. The symbol $1 will be substituted with custom JS code, so it should not be replaced by a #.">
+ {NUM_ITEMS, plural,
+ =1 {This will permanently delete at least $1 item from this device.}
+ other {This will permanently delete at least $1 items from this device.}}
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_NONSYNC_NOSTATS" desc="Main text shown as a warning when attempting to remove an user. This case is for non-synced profiles with statistics unavailable. (Possible case: Chromium decided not to load the statistics of closed profiles.)">
+ This will permanently delete your browsing data from this device.
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_NONSYNC_CALCULATING" desc="Main text shown as a warning when attempting to remove an user. This case is for non-synced profiles when the statistics is still loading. $1 is always replaced by localized version of the ellipsis (...).">
+ This will permanently delete <ph name="TOTAL_COUNT">$1<ex>...</ex></ph> items from this device.
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_HISTORY" desc="The title of a statistic (browsing history) shown inside a table below the warning text when attempting to remove an user. A number is displayed next to it.">
+ Browsing History
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_PASSWORDS" desc="The title of a statistic (passwords) shown inside a table below the warning text when attempting to remove an user. A number is displayed next to it.">
+ Passwords
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_BOOKMARKS" desc="The title of a statistic (bookmarks) shown inside a table below the warning text when attempting to remove an user. A number is displayed next to it.">
+ Bookmarks
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_SETTINGS" desc="The title of a statistic (settings) shown inside a table below the warning text when attempting to remove an user. A number is displayed next to it.">
+ Settings
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_CALCULATING" desc="This is used in '...' of the warning message 'This will permanently delete ... items from the device.', which is shown when attempting to remove an user. Also shown next to the loading statistics below this warning. All occurences of '...' will be eventually replaced by numbers when the statistics are loaded.">
+ ...
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC" desc="Main text shown as a warning when attempting to remove an user. This case is for synced profiles, with all statistics loaded correctly. The symbol $1 will be substituted with custom JS code, so it should not be replaced by a #.">
+ {NUM_ITEMS, plural,
+ =1 {This will permanently delete $1 item from this device but will not clear synced items from other devices.}
+ other {This will permanently delete $1 items from this device but will not clear synced items from other devices.}}
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC_WITH_ERRORS" desc="Main text shown as a warning when attempting to remove an user. This case is for non-synced profiles, with some statistics failed to load. The symbol $1 will be substituted with custom JS code, so it should not be replaced by a #.">
+ {NUM_ITEMS, plural,
+ =1 {This will permanently delete at least $1 item from this device but will not clear synced items from other devices.}
+ other {This will permanently delete at least $1 items from this device but will not clear synced items from other devices.}}
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC_NOSTATS" desc="Main text shown as a warning when attempting to remove an user. This case is for synced profiles with statistics unavailable. (Possible case: Chromium decided not to load the statistics of closed profiles.)">
+ This will permanently delete your browsing data from this device but will not clear synced items from other devices.
+ </message>
+ <message name="IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC_CALCULATING" desc="Main text shown as a warning when attempting to remove an user. This case is for synced profiles when the statistics is still loading. $1 is always replaced by localized version of the ellipsis (...).">
+ This will permanently delete at least <ph name="TOTAL_COUNT">$1<ex>...</ex></ph> items from this device but will not clear synced items from other devices.
</message>
</if>

Powered by Google App Engine
This is Rietveld 408576698