summaryrefslogtreecommitdiffstats
path: root/components/security_interstitials_strings.grdp
diff options
context:
space:
mode:
authorfelt <felt@chromium.org>2015-09-02 09:45:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-02 16:46:33 +0000
commitdfecc2ad55cc85de133cb703f5a4e1a5facbc256 (patch)
tree819ec276fbaeda5a6bdac68030e5cf7cc7ba78d9 /components/security_interstitials_strings.grdp
parent97b9a25cc39c67941f86403d03937913ffd4b95f (diff)
downloadchromium_src-dfecc2ad55cc85de133cb703f5a4e1a5facbc256.zip
chromium_src-dfecc2ad55cc85de133cb703f5a4e1a5facbc256.tar.gz
chromium_src-dfecc2ad55cc85de133cb703f5a4e1a5facbc256.tar.bz2
Move "bad clock" strings into the security_interstitials component
BUG=488673 Review URL: https://codereview.chromium.org/1316513004 Cr-Commit-Position: refs/heads/master@{#346938}
Diffstat (limited to 'components/security_interstitials_strings.grdp')
-rw-r--r--components/security_interstitials_strings.grdp52
1 files changed, 52 insertions, 0 deletions
diff --git a/components/security_interstitials_strings.grdp b/components/security_interstitials_strings.grdp
new file mode 100644
index 0000000..a5a7f13
--- /dev/null
+++ b/components/security_interstitials_strings.grdp
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<grit-part>
+ <!-- Shared strings for SSL-related interstitials -->
+ <message name="IDS_SSL_OPEN_DETAILS_BUTTON" desc="The text for the button that expands the details on an error page. Paired with IDS_SSL_CLOSE_DETAILS_BUTTON.">
+ Advanced
+ </message>
+ <message name="IDS_SSL_CLOSE_DETAILS_BUTTON" desc="The text for the button that hides the details on an error page. Paired with IDS_SSL_CLOSE_DETAILS_BUTTON.">
+ Hide advanced
+ </message>
+
+ <!-- Clock errors -->
+ <message name="IDS_CLOCK_ERROR_TITLE" desc="Tab title. Context: the browser can't load a page because the device's clock is wrong.">
+ Clock error
+ </message>
+ <message name="IDS_CLOCK_ERROR_AHEAD_HEADING" desc="Large heading. Context: the error page that's shown when the device clock is too far in the past.">
+ Your clock is ahead
+ </message>
+ <message name="IDS_CLOCK_ERROR_BEHIND_HEADING" desc="Large heading. Context: the error page that's shown when the device clock is too far in the past.">
+ Your clock is behind
+ </message>
+ <message name="IDS_CLOCK_ERROR_UPDATE_DATE_AND_TIME" desc="Button text. Context: error shown when the device clock is wrong. The button takes the user to the operating system date and time settings.">
+ Update date and time
+ </message>
+ <if expr="not is_android and not is_ios">
+ <message name="IDS_CLOCK_ERROR_PRIMARY_PARAGRAPH" desc="Main paragraph of an error message. Context: error shown when the browser can't load a page because the computer's clock is wrong.">
+ A private connection to <ph name="BEGIN_BOLD">&lt;strong&gt;</ph><ph name="DOMAIN">$1<ex>paypal.com</ex></ph><ph name="END_BOLD">&lt;/strong&gt;</ph> can't be established because your computer's date and time (<ph name="DATE_AND_TIME">$2<ex>Monday, January 1, 1970 2:44:30 PM</ex></ph>) are incorrect.
+ </message>
+ </if>
+ <if expr="is_android">
+ <message name="IDS_CLOCK_ERROR_PRIMARY_PARAGRAPH" desc="Main paragraph of an error message. Context: error shown when the browser can't load a page because the Android device's clock is wrong.">
+ A private connection to <ph name="BEGIN_BOLD">&lt;strong&gt;</ph><ph name="DOMAIN">$1<ex>paypal.com</ex></ph><ph name="END_BOLD">&lt;/strong&gt;</ph> can't be established because your device's date and time (<ph name="DATE_AND_TIME">$2<ex>Monday, January 1, 1970 2:44:30 PM</ex></ph>) are incorrect.
+ </message>
+ </if>
+ <if expr="is_ios">
+ <message name="IDS_CLOCK_ERROR_PRIMARY_PARAGRAPH" desc="Main paragraph of an error message. Context: error shown when the browser can't load a page because the device's clock is wrong. This paragraph explains the situation and gives instructions to fix it on iOS.">
+ &lt;p&gt;A private connection to <ph name="BEGIN_BOLD">&lt;strong&gt;</ph><ph name="DOMAIN">$1<ex>paypal.com</ex></ph><ph name="END_BOLD">&lt;/strong&gt;</ph> can't be established because your device's date and time (<ph name="DATE_AND_TIME">$2<ex>Monday, January 1, 1970 2:44:30 PM</ex></ph>) are incorrect.&lt;/p&gt;
+
+ &lt;p&gt;Please adjust the date and time from the &lt;strong&gt;General&lt;/strong&gt; section of the &lt;strong&gt;Settings&lt;/strong&gt; app.&lt;/p&gt;
+ </message>
+ </if>
+ <if expr="_google_chrome">
+ <message name="IDS_CLOCK_ERROR_EXPLANATION" desc="Body text under an 'Advanced' button. Context: error shown when the browser can't load a page because the device's clock is wrong. This paragraph explains why a correct clock is necessary.">
+ To establish a secure connection, your clock needs to be set correctly. This is because the certificates that websites use to identify themselves are only valid for specific periods of time. Since your device's clock is incorrect, Google Chrome cannot verify these certificates.
+ </message>
+ </if>
+ <if expr="not _google_chrome">
+ <message name="IDS_CLOCK_ERROR_EXPLANATION" desc="Body text under an 'Advanced' button. Context: error shown when the browser can't load a page because the device's clock is wrong. This paragraph explains why a correct clock is necessary.">
+ To establish a secure connection, your clock needs to be set correctly. This is because the certificates that websites use to identify themselves are only valid for specific periods of time. Since your device's clock is incorrect, Chromium cannot verify these certificates.
+ </message>
+ </if>
+
+</grit-part> \ No newline at end of file