summaryrefslogtreecommitdiffstats
path: root/chrome/app/chromium_strings.grd
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 01:01:12 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 01:01:12 +0000
commit033346909ebf37cae8fb063d79f9e70e0ec056c6 (patch)
treecca752667aa31b195a5b800203673a2580eddf52 /chrome/app/chromium_strings.grd
parent6b4a26ec838a3cab2db63eac3f944e050792b5b7 (diff)
downloadchromium_src-033346909ebf37cae8fb063d79f9e70e0ec056c6.zip
chromium_src-033346909ebf37cae8fb063d79f9e70e0ec056c6.tar.gz
chromium_src-033346909ebf37cae8fb063d79f9e70e0ec056c6.tar.bz2
Switch to using '-t ios' for grit
grit now supports passing '-t ios', which sets is_ios, and doesn't set is_macosx (matching the semantics of gyp). All instances of pp_ifdef('ios') change to is_ios, matching the syntax used by other platforms. Because this flips the setting of is_macosx for iOS, most places where code looked at is_macosx also now look for is_ios. This CL errs on the side of being behavior-preserving, adding is_ios checks in some places where they probably aren't needed, to avoid accidental regressions. In places where it's very obvious it's not needed, it hasn't been added. Also adds a missing is_ios to history.html, resolving drift from not-yet-upstreamed changes. BUG=227781 Review URL: https://chromiumcodereview.appspot.com/22600003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chromium_strings.grd')
-rw-r--r--chrome/app/chromium_strings.grd22
1 files changed, 11 insertions, 11 deletions
diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd
index 953a98f..cfc89a8 100644
--- a/chrome/app/chromium_strings.grd
+++ b/chrome/app/chromium_strings.grd
@@ -79,11 +79,11 @@ be available for now. -->
<output filename="chromium_strings_nb.pak" type="data_package" lang="no" />
<!-- 'no' for Norwegian Bokmål. It should be 'nb'. -->
<output filename="chromium_strings_pl.pak" type="data_package" lang="pl" />
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<!-- iOS uses pt for pt-BR -->
<output filename="chromium_strings_pt.pak" type="data_package" lang="pt-BR" />
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<output filename="chromium_strings_pt-BR.pak" type="data_package" lang="pt-BR" />
</if>
<output filename="chromium_strings_pt-PT.pak" type="data_package" lang="pt-PT" />
@@ -290,13 +290,13 @@ be available for now. -->
<message name="IDS_CERT_ERROR_NOT_YET_VALID_DETAILS" desc="Details for an X509 certificate that is not yet valid">
You attempted to reach &lt;strong&gt;<ph name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate that is not yet valid. No information is available to indicate whether that certificate can be trusted. Chromium cannot reliably guarantee that you are communicating with &lt;strong&gt;<ph name="DOMAIN2">$2<ex>paypal.com</ex></ph>&lt;/strong&gt; and not an attacker. Your computer's clock is currently set to <ph name="CURRENT_TIME">$3<ex>Monday, July 18th, 2012 12:31PM</ex></ph>. Does that look right? If not, you should correct your system's clock and then refresh this page.
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_DETAILS" desc="Details for an X509 certificate with an invalid authority">
You attempted to reach &lt;strong&gt;<ph
name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate issued by an entity that is not trusted by Chromium. This may mean that the server has generated its own security credentials, which Chromium cannot rely on for identity information, or an attacker may be trying to intercept your communications.
</message>
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_DETAILS" desc="Details for an X509 certificate with an invalid authority">
You attempted to reach &lt;strong&gt;<ph name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chromium cannot rely on for identity information, or an attacker may be trying to intercept your communications.
</message>
@@ -393,13 +393,13 @@ name="DOMAIN">$1<ex>paypal.com</ex></ph>&lt;/strong&gt;, but the server presente
Get Started with Chromium OS
</message>
</if>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE"
desc="Title for the hard-coded thumbnail that represents the Google Chrome Welcome page. This is used on the NTP when there aren't enough thumbnails to show. [Length: 14em]">
Welcome
</message>
</if>
- <if expr="not pp_ifdef('chromeos') and not pp_ifdef('ios')">
+ <if expr="not pp_ifdef('chromeos') and not is_ios">
<message name="IDS_NEW_TAB_CHROME_WELCOME_PAGE_TITLE"
desc="Title for the hard-coded thumbnail that represents the Google Chrome Welcome page. This is used on the NTP when there aren't enough thumbnails to show.">
Welcome to Chromium
@@ -671,7 +671,7 @@ Chromium is unable to recover your settings.
</message>
<!-- "Create application shortcuts" dialog -->
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<message name="IDS_CREATE_SHORTCUTS_ERROR_LABEL" desc="Contents of the main label in the error dialog box when creating an application shortcut failed for unknown reasons.">
Chromium could not create an application shortcut.
</message>
@@ -766,7 +766,7 @@ For Chromium, processes used to display diagnostics information (such as this "a
</if>
<!-- iOS Upgrade available info bar-->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_UPGRADE_AVAILABLE" desc="Text to inform the user of the presence of a new version of the application">
Chromium just got better! A new version is available.
</message>
@@ -938,18 +938,18 @@ Signing in anyway will merge Chromium information like bookmarks, history, and o
Allow Chromium to access the network in your firewall or antivirus
settings.
</message>
- <if expr="is_macosx and not pp_ifdef('ios')">
+ <if expr="is_macosx">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Mac OSX instructions for disabling use of a proxy server.">
Go to
Applications &gt; System Preferences &gt; Network &gt; Advanced &gt; Proxies
and deselect any proxies that have been selected.
</message>
</if>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Instructions for disabling use of a proxy server (leave empty for Android and iOS).">
</message>
</if>
- <if expr="not pp_ifdef('chromeos') and is_posix and not is_macosx and not is_android and not pp_ifdef('ios')">
+ <if expr="not pp_ifdef('chromeos') and is_posix and not is_macosx and not is_android and not is_ios">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM" desc="Linux instructions for disabling use of a proxy server.">
Go to
the Chromium menu &gt;