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

Unified Diff: chrome/app/generated_resources.grd

Side-by-side diff isn't available for this file because of its large size.
Issue 22600003: Switch to using '-t ios' for grit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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
« no previous file with comments | « chrome/app/chromium_strings.grd ('k') | chrome/app/google_chrome_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/generated_resources.grd
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 866efff9cd74bd2b07bac40b587e7eb873777c8f..13422db45c2b97f7d8a4b1f823b86b36a1eb03e2 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -84,11 +84,11 @@ are declared in build/common.gypi.
be 'nb'. -->
<output filename="generated_resources_nb.pak" type="data_package" lang="no" />
<output filename="generated_resources_pl.pak" type="data_package" lang="pl" />
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<!-- iOS uses pt for pt-BR -->
<output filename="generated_resources_pt.pak" type="data_package" lang="pt-BR" />
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<output filename="generated_resources_pt-BR.pak" type="data_package" lang="pt-BR" />
</if>
<output filename="generated_resources_pt-PT.pak" type="data_package" lang="pt-PT" />
@@ -2309,12 +2309,12 @@ Psst! Incognito mode <ph name="SHORTCUT_KEY">$1<ex>(Ctrl+Shift+N)</ex></ph> may
<message name="IDS_CERT_ERROR_EXTRA_INFO_TITLE" desc="The title for the extra information section displayed when a page contains a certificate error">
Help me understand
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_CERT_ERROR_EXTRA_INFO_1" desc="Mobile: 1st paragraph of extra information for any certificate error">
When you connect to a secure website, the server hosting that site presents your browser with something called a "certificate" to verify its identity. This certificate contains identity information, such as the address of the website, which is verified by a third party that your device trusts. By checking that the address in the certificate matches the address of the website, it is possible to verify that you are securely communicating with the website you intended, and not a third party (such as an attacker on your network).
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_CERT_ERROR_EXTRA_INFO_1" desc="1st paragraph of extra information for any certificate error">
When you connect to a secure website, the server hosting that site presents your browser with something called a "certificate" to verify its identity. This certificate contains identity information, such as the address of the website, which is verified by a third party that your computer trusts. By checking that the address in the certificate matches the address of the website, it is possible to verify that you are securely communicating with the website you intended, and not a third party (such as an attacker on your network).
</message>
@@ -2352,7 +2352,7 @@ Psst! Incognito mode <ph name="SHORTCUT_KEY">$1<ex>(Ctrl+Shift+N)</ex></ph> may
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_TITLE" desc="Title for an X509 certificate with an invalid authority">
The site's security certificate is not trusted!
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_EXTRA_INFO_2" desc="Mobile: 2nd paragraph of extra information for a X509 certificate with an invalid authority">
In this case, the certificate has not been verified by a third party that your device trusts. Anyone can create a certificate claiming to be whatever website they choose, which is why it must be verified by a trusted third party. Without that verification, the identity information in the certificate is meaningless. It is therefore not possible to verify that you are communicating with <ph name="DOMAIN">&lt;strong&gt;$1<ex>paypal.com</ex>&lt;/strong&gt;</ph> instead of an attacker who generated his own certificate claiming to be <ph name="DOMAIN2">&lt;strong&gt;$2<ex>paypal.com</ex>&lt;/strong&gt;</ph>. You should not proceed past this point.
</message>
@@ -2362,7 +2362,7 @@ Psst! Incognito mode <ph name="SHORTCUT_KEY">$1<ex>(Ctrl+Shift+N)</ex></ph> may
If, however, you work in an organization that generates its own certificates, and you are trying to connect to an internal website of that organization using such a certificate, you may be able to solve this problem securely. You can import your organization's root certificate as a "root certificate", and then certificates issued or verified by your organization will be trusted and you will not see this error next time you try to connect to an internal website. Contact your organization's help staff for assistance in adding a new root certificate to your device.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_CERT_ERROR_AUTHORITY_INVALID_EXTRA_INFO_2" desc="2nd paragraph of extra information for a X509 certificate with an invalid authority">
In this case, the certificate has not been verified by a third party that your computer trusts. Anyone can create a certificate claiming to be whatever website they choose, which is why it must be verified by a trusted third party. Without that verification, the identity information in the certificate is meaningless. It is therefore not possible to verify that you are communicating with <ph name="DOMAIN">&lt;strong&gt;$1<ex>paypal.com</ex>&lt;/strong&gt;</ph> instead of an attacker who generated his own certificate claiming to be <ph name="DOMAIN2">&lt;strong&gt;$2<ex>paypal.com</ex>&lt;/strong&gt;</ph>. You should not proceed past this point.
</message>
@@ -6994,7 +6994,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_OMNIBOX_KEYWORD_TEXT" desc="Text shown in the search button at the front of the omnibox when the user has selected a keyword">
Search <ph name="SITE_NAME">$1<ex>google.com</ex></ph>:
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_OMNIBOX_EMPTY_HINT" desc="The text displayed in the omnibox when it is empty.">
Search or type URL
</message>
@@ -7146,7 +7146,7 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_ACCNAME_WEB_CONTENTS" desc="The accessible name for the web contents.">
Web Contents
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_ACCNAME_CLEAR_TEXT" desc="The accessibility label for the clear text button in the location bar [Length: unlimited].">
Clear Text
</message>
@@ -8391,14 +8391,14 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_CONFIG_HEADER" desc="When a webpage fails to load, in some cases we suggest checking the proxy server configuration, or disabling the proxy server. This is a header above some details.">
If you use a proxy server...
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_CONFIG_BODY" desc="When a webpage fails to load, in some cases we suggest checking the proxy server configuration, or disabling the proxy server. These are instructions below a header.">
Check your proxy settings or contact your network administrator to
make sure the proxy server is working.
<ph name="PLATFORM_TEXT">$1<ex>Goto the wrench menu and choose Fix It.</ex></ph>
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_ERRORPAGES_SUGGESTION_PROXY_CONFIG_BODY" desc="When a webpage fails to load, in some cases we suggest checking the proxy server configuration, or disabling the proxy server. These are instructions below a header.">
Check your proxy settings or contact your network administrator to
make sure the proxy server is working. If you don't believe you should
@@ -8534,7 +8534,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<message name="IDS_ERRORPAGES_SUMMARY_FILE_ACCESS_DENIED" desc="Summary in the error page when we can't open a file.">
The file at <ph name="URL">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;<ex>http://www.google.com/</ex></ph> is not readable. It may have been removed, moved, or file permissions may be preventing access.
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_ACCESS_DENIED" desc="Mobile: Summary in the error page when we're not being allowed to access the network.">
<ph name="PRODUCT_NAME">&lt;span jscontent="productName"&gt;&lt;/span&gt;<ex>Google Chrome</ex></ph>
is having trouble accessing the network.
@@ -8555,7 +8555,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
The page can be loaded once you connect to a network.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_ACCESS_DENIED" desc="Summary in the error page when we're not being allowed to access the network.">
<ph name="PRODUCT_NAME">&lt;span jscontent="productName"&gt;&lt;/span&gt;<ex>Google Chrome</ex></ph>
is having trouble accessing the network.
@@ -8644,7 +8644,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
If the problem persists, try clearing the cache. In some cases, this
can also be a symptom of hardware starting to fail.
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_IO_SUSPENDED" desc="Mobile: Summary in the error page when a page load failed due to the device entering sleep/suspend mode.">
Unable to load the webpage because your device entered sleep or
hibernate mode. When this happens, network connections are shut
@@ -8652,7 +8652,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
resolve this.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_ERRORPAGES_SUMMARY_NETWORK_IO_SUSPENDED" desc="Summary in the error page when a page load failed due to the computer entering sleep/suspend mode.">
Unable to load the webpage because your computer entered sleep or
hibernate mode. When this happens, network connections are shut
@@ -8663,7 +8663,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<message name="IDS_ERRORPAGES_SUMMARY_NOT_FOUND" desc="Summary in the error page when the server returns a 404.">
No webpage was found for the web address: <ph name="URL">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;</ph>
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_ERRORPAGES_SUMMARY_TOO_MANY_REDIRECTS" desc="Mobile: Summary in the error page when there are too many URL redirects.">
The webpage at <ph name="URL">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;</ph> has resulted in
too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If
@@ -8671,7 +8671,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
device.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_ERRORPAGES_SUMMARY_TOO_MANY_REDIRECTS" desc="Summary in the error page when there are too many URL redirects.">
The webpage at <ph name="URL">&lt;strong jscontent="failedUrl"&gt;&lt;/strong&gt;</ph> has resulted in
too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If
@@ -8920,7 +8920,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
</message>
<!-- iOS specific error page messages -->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_ERRORPAGES_HEADING_DOWNLOAD_FILE_TYPE_ERROR" desc="A one-line title for error message to tell user that the requested type of file cannot be downloaded. [Length: 20em]">
Download Failed
</message>
@@ -9023,7 +9023,7 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
<message name="IDS_PAGE_INFO_SITE_INFO_TITLE" desc="The name of the site information section.">
Site information
</message>
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_PAGE_INFO_SECURITY_BUTTON_ACCESSIBILITY_LABEL" desc="The accessibility text for the page security info button">
Page Security Info
</message>
@@ -10108,7 +10108,7 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
<message name="IDS_THEMES_RESET_BUTTON" desc="The button to reset your theme">
Reset to default theme
</message>
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<message name="IDS_THEMES_GTK_BUTTON" desc="The button to choose GTK colors and icons as the current theme.">
Use GTK+ theme
</message>
@@ -10123,12 +10123,12 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
Get themes
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_OPTIONS_SYSTEM_PROXIES_LABEL" desc="Mobile: The info label for the 'Proxy settings' button when managed by the system.">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is using your device's system proxy settings to connect to the network.
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_OPTIONS_SYSTEM_PROXIES_LABEL" desc="The info label for the 'Proxy settings' button when managed by the system.">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is using your computer's system proxy settings to connect to the network.
</message>
@@ -10322,7 +10322,7 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
</message>
<!-- Auto-login infobar -->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_AUTOLOGIN_INFOBAR_MESSAGE" desc="The string shown in the infobar explaining that they can press one button to auto-login instead of entering their user name and password. [length: 60em]">
Automatic sign-in is available <ph name="EMAIL_ADDRESS">$1</ph>
</message>
@@ -10330,7 +10330,7 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
Login
</message>
</if>
- <if expr="not pp_ifdef('ios')">
+ <if expr="not is_ios">
<message name="IDS_AUTOLOGIN_INFOBAR_MESSAGE" desc="The string shown in the infobar explaining that they can press one button to auto-login instead of entering their user name and password.">
Sign in to this site as: <ph name="EMAIL_ADDRESS">$1</ph>
</message>
@@ -10338,12 +10338,12 @@ Would you like to start <ph name="CONTROL_PANEL_APPLET_NAME">$1<ex>Add/Remove Pr
Sign in
</message>
</if>
- <if expr="not is_android and not pp_ifdef('ios')">
+ <if expr="not is_android and not is_ios">
<message name="IDS_AUTOLOGIN_INFOBAR_CANCEL_BUTTON" desc="The string used in the infobar button that the user presses to never see this infobar again.">
Never offer to sign me in
</message>
</if>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_AUTOLOGIN_INFOBAR_CANCEL_BUTTON" desc="Mobile: The string used in the autologin infobar button that the user presses to close the infobar without logging in.">
Cancel
</message>
@@ -13103,7 +13103,7 @@ Some features may be unavailable. Please check that the profile exists and you
<message name="IDS_TRANSLATE_INFOBAR_BEFORE_MESSAGE" desc="Message that page is in specified language and ask if should translate">
This page is in<ph name="original_language">$1<ex>French</ex></ph>Would you like to translate it?
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_TRANSLATE_INFOBAR_BEFORE_MESSAGE_MOBILE" desc="Mobile: Message that page is in specified language and ask if should translate.">
Translate from <ph name="original_language">$1<ex>French</ex></ph> to <ph name="target_language">$2<ex>English</ex></ph>?
</message>
@@ -13129,7 +13129,7 @@ Some features may be unavailable. Please check that the profile exists and you
<message name="IDS_TRANSLATE_INFOBAR_AFTER_MESSAGE_AUTODETERMINED_SOURCE_LANGUAGE" desc="Message that page has been translated to another with server side auto language detection">
This page has been translated to <ph name="target_language">$1<ex>German</ex></ph>
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_TRANSLATE_INFOBAR_AFTER_MESSAGE_MOBILE" desc="Mobile: Message that page has been translated from one language to another">
This page has been translated to <ph name="target_language">$1<ex>German</ex></ph>
</message>
@@ -13155,7 +13155,7 @@ Some features may be unavailable. Please check that the profile exists and you
<message name="IDS_TRANSLATE_INFOBAR_UNSUPPORTED_PAGE_LANGUAGE" desc="Error message shown when the translate server translated the page and returned the page was in a language the browser does not know.">
This page has been translated from an unknown language to <ph name="language_language">$1<ex>English</ex></ph>
</message>
- <if expr="is_android or pp_ifdef('ios')">
+ <if expr="is_android or is_ios">
<message name="IDS_TRANSLATE_INFOBAR_ERROR_MOBILE" desc="Mobile: Translate Error message">
The translation to <ph name="target_language">$1<ex>German</ex></ph> failed.
</message>
@@ -13249,7 +13249,7 @@ Some features may be unavailable. Please check that the profile exists and you
<!-- Mac Menubar Menus -->
- <if expr="is_macosx">
+ <if expr="is_macosx or is_ios">
<!-- Menubar Menu Titles -->
<!-- NOTE: Some of these exist in context menus with Title Case support, but we use different IDs in case we need slightly different strings in some language due to the different context. -->
<message name="IDS_FILE_MENU_MAC" desc="The menu title of the Mac file menu.">
@@ -13514,7 +13514,7 @@ Some features may be unavailable. Please check that the profile exists and you
</if> <!-- is_macosx -->
<!-- Linux Global Menubar Menus -->
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<!-- Unity and some other GNOME configurations now have a permanent,
Mac-like menu bar that lives outside the window at the top of the
screen. The following strings should be in Linux style, not Mac
@@ -13808,7 +13808,7 @@ Some features may be unavailable. Please check that the profile exists and you
<part file="chromeos_strings.grdp" />
</if>
- <if expr="is_posix and not is_macosx">
+ <if expr="is_posix and not is_macosx and not is_ios">
<!-- Linux proxy configuration fallback help -->
<message name="IDS_ABOUT_LINUX_PROXY_CONFIG_TITLE" desc="Title of HTML page shown on systems where system proxy configuration is unsupported.">
Proxy Configuration Help
@@ -14295,7 +14295,7 @@ Please check your email at <ph name="ACCOUNT_EMAIL">$2<ex>jane.doe@gmail.com</ex
Switch to <ph name="NEW_PROFILE_NAME">$1<ex>New User</ex></ph>
</message>
- <if expr="not is_android and not pp_ifdef('ios') and not pp_ifdef('chromeos')">
+ <if expr="not is_android and not is_ios and not pp_ifdef('chromeos')">
<!-- User manager web UI -->
<if expr="pp_ifdef('use_titlecase')">
<message name="IDS_ADD_USER_BUTTON" desc="Text shown on an add user button on login/locker screen">
@@ -14729,7 +14729,7 @@ Do you accept?
</if>
<!-- iOS Chrome to Device strings-->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_CHROME_TO_DEVICE_PRINT_TO_PHONE" desc="The message indicating print-to-phone jobs are now available. [Length: 30em]">
Your document is ready to view.
</message>
@@ -14739,7 +14739,7 @@ Do you accept?
</if>
<!-- iOS Net-Export strings -->
- <if expr="pp_ifdef('ios')">
+ <if expr="is_ios">
<message name="IDS_NET_EXPORT_NO_EMAIL_ACCOUNTS_ALERT_MESSAGE" desc="The message of the alert informing a user with no email accounts that he or she needs to configure an email account to send net-export data. [Length: 70em]">
To send net-export data, please configure your email account in System Settings.
</message>
« no previous file with comments | « chrome/app/chromium_strings.grd ('k') | chrome/app/google_chrome_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698