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

Unified Diff: components/app_modal_dialogs_strings.grdp

Issue 648833004: Componentize app_modal_dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 2 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:
View side-by-side diff with in-line comments
Download patch
Index: components/app_modal_dialogs_strings.grdp
diff --git a/components/app_modal_dialogs_strings.grdp b/components/app_modal_dialogs_strings.grdp
new file mode 100644
index 0000000000000000000000000000000000000000..276a1700367fce8ec5d36ae8cc247e2667ec7d59
--- /dev/null
+++ b/components/app_modal_dialogs_strings.grdp
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<grit-part>
+
+ <!-- JavaScript Dialog Box strings -->
+ <message name="IDS_JAVASCRIPT_ALERT_DEFAULT_TITLE" desc="Title for JavaScript alert originating from a webpage if there is no hostname to display">
+ JavaScript Alert
+ </message>
+ <message name="IDS_JAVASCRIPT_MESSAGEBOX_DEFAULT_TITLE" desc="Title for JavaScript prompt and confirm originating from a webpage if there is no hostname to display">
+ JavaScript
+ </message>
+ <message name="IDS_JAVASCRIPT_ALERT_TITLE" desc="Title for JavaScript alert originating from a webpage">
+ The page at <ph name="SITE">$1<ex>http://www.google.com</ex></ph> says:
+ </message>
+ <message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE" desc="Title for JavaScript prompt and confirm originating from a webpage">
+ The page at <ph name="SITE">$1<ex>http://www.google.com</ex></ph> says:
+ </message>
+
+ <!-- "Before Unload" Dialog Box strings -->
+ <message name="IDS_BEFOREUNLOAD_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog.">
+ Confirm Navigation
+ </message>
+ <message name="IDS_BEFOREUNLOAD_MESSAGEBOX_FOOTER" desc="Text shown at the bottom of the dialog, after the message provided by the script.">
+ Are you sure you want to leave this page?
+ </message>
+ <message name="IDS_BEFOREUNLOAD_MESSAGEBOX_OK_BUTTON_LABEL" desc="The text on the button which navigates the user away from the page.">
+ Leave this Page
+ </message>
+ <message name="IDS_BEFOREUNLOAD_MESSAGEBOX_CANCEL_BUTTON_LABEL" desc="The text on the button which cancels the navigation away from the page.">
+ Stay on this Page
+ </message>
+
+ <!-- "Before Reload" Dialog Box strings (same as "Before Unload" but when reloading rather than unloading the page -->
+ <message name="IDS_BEFORERELOAD_MESSAGEBOX_TITLE" desc="Title for the 'before reload' dialog.">
+ Confirm Reload
+ </message>
+ <message name="IDS_BEFORERELOAD_MESSAGEBOX_FOOTER" desc="Text shown at the bottom of the dialog, after the message provided by the script.">
+ Are you sure you want to reload this page?
+ </message>
+ <message name="IDS_BEFORERELOAD_MESSAGEBOX_OK_BUTTON_LABEL" desc="The text on the button which reloads the page.">
+ Reload this Page
+ </message>
+ <message name="IDS_BEFORERELOAD_MESSAGEBOX_CANCEL_BUTTON_LABEL" desc="The text on the button which cancels the page reload.">
+ Don't Reload
+ </message>
+
+ <message name="IDS_JAVASCRIPT_MESSAGEBOX_SUPPRESS_OPTION" desc="Optional UI shown on the message box, in the form of a checkbox, allowing the user to suppress additional message boxes from the page.">
+ Prevent this page from creating additional dialogs.
+ </message>
+
+</grit-part>

Powered by Google App Engine
This is Rietveld 408576698