Commit 8cdc741e authored by Hector Carmona's avatar Hector Carmona Committed by Commit Bot

Navi: Remove URLs from translate file.

Having URLs in GRD files can be error-prone.

Bug: NONE
Change-Id: I5d9bb6cb768fdad2bcea3cb1998ad636b83a072a
Reviewed-on: https://chromium-review.googlesource.com/c/1391426Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
Commit-Queue: Hector Carmona <hcarmona@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619704}
parent 7baaeb37
...@@ -38,33 +38,18 @@ ...@@ -38,33 +38,18 @@
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_MAPS" desc="Label for a button that creates a bookmark to maps.google.com, this should be the name of the brand."> <message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_MAPS" desc="Label for a button that creates a bookmark to maps.google.com, this should be the name of the brand.">
Maps Maps
</message> </message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_MAPS_LINK" desc="URL for the Google Maps website, this should be the replaced with a locale specific URL if it exists.">
https://maps.google.com
</message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_NEWS" desc="Label for a button that creates a bookmark to news.google.com, this should be the name of the brand."> <message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_NEWS" desc="Label for a button that creates a bookmark to news.google.com, this should be the name of the brand.">
News News
</message> </message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_NEWS_LINK" desc="URL for the Google News website, this should be the replaced with a locale specific URL if it exists.">
https://news.google.com
</message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_TRANSLATE" desc="Label for a button that creates a bookmark to translate.google.com, this should be the name of the brand."> <message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_TRANSLATE" desc="Label for a button that creates a bookmark to translate.google.com, this should be the name of the brand.">
Translate Translate
</message> </message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_TRANSLATE_LINK" desc="URL for the Google Translate website, this should be the replaced with a locale specific URL if it exists.">
https://translate.google.com
</message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_WEB_STORE" desc="Label for a button that creates a bookmark to chrome.google.com/webstore, this should be the name of the brand."> <message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_WEB_STORE" desc="Label for a button that creates a bookmark to chrome.google.com/webstore, this should be the name of the brand.">
Web Store Web Store
</message> </message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_WEB_STORE_LINK" desc="URL for the Chrome Webstore website, this should be the replaced with a locale specific URL if it exists.">
https://chrome.google.com/webstore
</message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_YOUTUBE" desc="Label for a button that creates a bookmark to youtube.com, this should be the name of the brand."> <message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_YOUTUBE" desc="Label for a button that creates a bookmark to youtube.com, this should be the name of the brand.">
YouTube YouTube
</message> </message>
<message name="IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_YOUTUBE_LINK" desc="URL for the YouTube website, this should be the replaced with a locale specific URL if it exists.">
https://youtube.com
</message>
<!-- NUX set default module --> <!-- NUX set default module -->
<message name="IDS_ONBOARDING_WELCOME_NUX_SET_AS_DEFAULT_HEADER" desc="Header for the page that prompts user to set Chrome as their default browser."> <message name="IDS_ONBOARDING_WELCOME_NUX_SET_AS_DEFAULT_HEADER" desc="Header for the page that prompts user to set Chrome as their default browser.">
......
...@@ -48,37 +48,24 @@ GoogleAppsHandler::GoogleAppsHandler() ...@@ -48,37 +48,24 @@ GoogleAppsHandler::GoogleAppsHandler()
{static_cast<int>(GoogleApps::kYouTube), {static_cast<int>(GoogleApps::kYouTube),
l10n_util::GetStringUTF8( l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_YOUTUBE), IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_YOUTUBE),
"youtube", "youtube", "https://youtube.com", IDR_NUX_GOOGLE_APPS_YOUTUBE_1X},
l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_YOUTUBE_LINK),
IDR_NUX_GOOGLE_APPS_YOUTUBE_1X},
{static_cast<int>(GoogleApps::kMaps), {static_cast<int>(GoogleApps::kMaps),
l10n_util::GetStringUTF8( l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_MAPS), IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_MAPS),
"maps", "maps", "https://maps.google.com", IDR_NUX_GOOGLE_APPS_MAPS_1X},
l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_MAPS_LINK),
IDR_NUX_GOOGLE_APPS_MAPS_1X},
{static_cast<int>(GoogleApps::kNews), {static_cast<int>(GoogleApps::kNews),
l10n_util::GetStringUTF8( l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_NEWS), IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_NEWS),
"news", "news", "https://news.google.com", IDR_NUX_GOOGLE_APPS_NEWS_1X},
l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_NEWS_LINK),
IDR_NUX_GOOGLE_APPS_NEWS_1X},
{static_cast<int>(GoogleApps::kTranslate), {static_cast<int>(GoogleApps::kTranslate),
l10n_util::GetStringUTF8( l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_TRANSLATE), IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_TRANSLATE),
"translate", "translate", "https://translate.google.com",
l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_TRANSLATE_LINK),
IDR_NUX_GOOGLE_APPS_TRANSLATE_1X}, IDR_NUX_GOOGLE_APPS_TRANSLATE_1X},
{static_cast<int>(GoogleApps::kChromeWebStore), {static_cast<int>(GoogleApps::kChromeWebStore),
l10n_util::GetStringUTF8( l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_WEB_STORE), IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_WEB_STORE),
"web-store", "web-store", "https://chrome.google.com/webstore",
l10n_util::GetStringUTF8(
IDS_ONBOARDING_WELCOME_NUX_GOOGLE_APPS_WEB_STORE_LINK),
IDR_NUX_GOOGLE_APPS_CHROME_STORE_1X}, IDR_NUX_GOOGLE_APPS_CHROME_STORE_1X},
}} {} }} {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment