Commit b279e76a authored by aurimas@chromium.org's avatar aurimas@chromium.org

Exclude bookmark import strings for Android.

Android has a custom UI and code for handing bookmark import.

BUG=326023

Review URL: https://codereview.chromium.org/167533002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252286 0039d316-1c4b-4281-b951-d872f2087c98
parent 2e644989
...@@ -23,30 +23,32 @@ ...@@ -23,30 +23,32 @@
</message> </message>
</if> </if>
<!-- The following two strings are shown when the user has no bookmarks yet. --> <if expr="not is_android">
<message name="IDS_BOOKMARKS_NO_ITEMS" desc="Text shown when the user has no bookmarks"> <!-- The following two strings are shown when the user has no bookmarks yet. -->
For quick access, place your bookmarks here on the bookmarks bar. <message name="IDS_BOOKMARKS_NO_ITEMS" desc="Text shown when the user has no bookmarks">
</message> For quick access, place your bookmarks here on the bookmarks bar.
<message name="IDS_BOOKMARK_BAR_IMPORT_LINK" desc="text shown for importing "> </message>
Import bookmarks now... <message name="IDS_BOOKMARK_BAR_IMPORT_LINK" desc="text shown for importing ">
</message> Import bookmarks now...
</message>
<!-- The special folders created when importing from other other browsers. --> <!-- The special folders created when importing from other other browsers. -->
<message name="IDS_BOOKMARK_GROUP_FROM_IE" desc="The group name of bookmarks from Internet Explorer"> <message name="IDS_BOOKMARK_GROUP_FROM_IE" desc="The group name of bookmarks from Internet Explorer">
Imported From IE Imported From IE
</message> </message>
<message name="IDS_BOOKMARK_GROUP_FROM_FIREFOX" desc="The group name of bookmarks from Firefox"> <message name="IDS_BOOKMARK_GROUP_FROM_FIREFOX" desc="The group name of bookmarks from Firefox">
Imported From Firefox Imported From Firefox
</message> </message>
<message name="IDS_BOOKMARK_GROUP_FROM_SAFARI" desc="The group name of bookmarks from Safari"> <message name="IDS_BOOKMARK_GROUP_FROM_SAFARI" desc="The group name of bookmarks from Safari">
Imported From Safari Imported From Safari
</message> </message>
<message name="IDS_BOOKMARK_GROUP_FROM_GOOGLE_TOOLBAR" desc="The group name of bookmarks from Google Toolbar"> <message name="IDS_BOOKMARK_GROUP_FROM_GOOGLE_TOOLBAR" desc="The group name of bookmarks from Google Toolbar">
Imported From Google Toolbar Imported From Google Toolbar
</message> </message>
<message name="IDS_BOOKMARK_GROUP" desc="The group name of bookmarks imported from a file"> <message name="IDS_BOOKMARK_GROUP" desc="The group name of bookmarks imported from a file">
Imported Imported
</message> </message>
</if>
<if expr="not use_titlecase"> <if expr="not use_titlecase">
<message name="IDS_BOOKMARK_BAR_MOBILE_FOLDER_NAME" desc="Name shown in the tree for the mobile bookmarks folder"> <message name="IDS_BOOKMARK_BAR_MOBILE_FOLDER_NAME" desc="Name shown in the tree for the mobile bookmarks folder">
......
...@@ -7785,107 +7785,100 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1 ...@@ -7785,107 +7785,100 @@ The following plug-in is unresponsive: <ph name="PLUGIN_NAME">$1
</message> </message>
</if> </if>
<!-- Import Settings Dialog --> <!-- Android uses custom UI for Bookmark importing -->
<message name="IDS_IMPORT_SETTINGS_TITLE" desc="Dialog title for import dialog"> <if expr="not is_android">
Import bookmarks and settings <!-- Import Settings Dialog -->
</message> <message name="IDS_IMPORT_SETTINGS_TITLE" desc="Dialog title for import dialog">
<message name="IDS_IMPORT_FROM_LABEL" desc="Label before profile select combo box"> Import bookmarks and settings
From: </message>
</message> <message name="IDS_IMPORT_FROM_LABEL" desc="Label before profile select combo box">
<message name="IDS_IMPORT_FROM_IE" desc="browser combo box: Microsoft Internet Explorer"> From:
Microsoft Internet Explorer </message>
</message> <message name="IDS_IMPORT_FROM_IE" desc="browser combo box: Microsoft Internet Explorer">
<message name="IDS_IMPORT_FROM_FIREFOX" desc="browser combo box: Mozilla Firefox"> Microsoft Internet Explorer
Mozilla Firefox </message>
</message> <message name="IDS_IMPORT_FROM_FIREFOX" desc="browser combo box: Mozilla Firefox">
<message name="IDS_IMPORT_FROM_ICEWEASEL" desc="browser combo box: Iceweasel"> Mozilla Firefox
Iceweasel </message>
</message> <message name="IDS_IMPORT_FROM_ICEWEASEL" desc="browser combo box: Iceweasel">
<message name="IDS_IMPORT_FROM_SAFARI" desc="browser combo box: Safari"> Iceweasel
Safari </message>
</message> <message name="IDS_IMPORT_FROM_SAFARI" desc="browser combo box: Safari">
<message name="IDS_IMPORT_FROM_BOOKMARKS_HTML_FILE" desc="browser combo box: Bookmarks HTML File"> Safari
Bookmarks HTML File </message>
</message> <message name="IDS_IMPORT_FROM_BOOKMARKS_HTML_FILE" desc="browser combo box: Bookmarks HTML File">
<message name="IDS_IMPORT_ITEMS_LABEL" desc="Label before item select checkboxes"> Bookmarks HTML File
Select items to import: </message>
</message> <message name="IDS_IMPORT_ITEMS_LABEL" desc="Label before item select checkboxes">
<message name="IDS_IMPORT_HISTORY_CHKBOX" desc="Checkbox for importing browsing history"> Select items to import:
Browsing history </message>
</message> <message name="IDS_IMPORT_HISTORY_CHKBOX" desc="Checkbox for importing browsing history">
<message name="IDS_IMPORT_FAVORITES_CHKBOX" desc="Checkbox for importing favorites"> Browsing history
Favorites/Bookmarks </message>
</message> <message name="IDS_IMPORT_FAVORITES_CHKBOX" desc="Checkbox for importing favorites">
<message name="IDS_IMPORT_PASSWORDS_CHKBOX" desc="Checkbox for importing saved passwords"> Favorites/Bookmarks
Saved passwords </message>
</message> <message name="IDS_IMPORT_PASSWORDS_CHKBOX" desc="Checkbox for importing saved passwords">
<message name="IDS_IMPORT_SEARCH_ENGINES_CHKBOX" desc="Checkbox for importing search engines"> Saved passwords
Search engines </message>
</message> <message name="IDS_IMPORT_SEARCH_ENGINES_CHKBOX" desc="Checkbox for importing search engines">
<message name="IDS_IMPORT_LOADING_PROFILES" desc="Status text to notify the user that profiles are being loaded"> Search engines
Loading... </message>
</message> <message name="IDS_IMPORT_LOADING_PROFILES" desc="Status text to notify the user that profiles are being loaded">
<message name="IDS_IMPORT_SUCCEEDED" desc="Status text to notify the user that the import succeeded"> Loading...
Success! </message>
</message> <message name="IDS_IMPORT_SUCCEEDED" desc="Status text to notify the user that the import succeeded">
Success!
</message>
<message name="IDS_IMPORT_COMMIT" desc="Text for OK button on dialog"> <message name="IDS_IMPORT_COMMIT" desc="Text for OK button on dialog">
Import Import
</message> </message>
<message name="IDS_IMPORT_CHOOSE_FILE" desc="Text for the Choose File on dialog"> <message name="IDS_IMPORT_CHOOSE_FILE" desc="Text for the Choose File on dialog">
Choose File Choose File
</message> </message>
<message name="IDS_IMPORTER_GOOGLE_LOGIN_TEXT" desc="The message to be displayed on dialog"> <message name="IDS_IMPORTER_GOOGLE_LOGIN_TEXT" desc="The message to be displayed on dialog">
In order to import Toolbar bookmarks into Chrome, you must be signed in to your Google account. Please sign in and try to import again. In order to import Toolbar bookmarks into Chrome, you must be signed in to your Google account. Please sign in and try to import again.
</message> </message>
<message name="IDS_IMPORT_NO_PROFILE_FOUND" desc="Message displayed when we do not find any supported browser to import from."> <message name="IDS_IMPORT_NO_PROFILE_FOUND" desc="Message displayed when we do not find any supported browser to import from.">
No supported browser found No supported browser found
</message> </message>
<message name="IDS_IMPORT_PASSWORD_KEYCHAIN_WARNING" desc="Message displayed at the bottom of the Import Dialog for Safari on Mac OS"> <message name="IDS_IMPORT_PASSWORD_KEYCHAIN_WARNING" desc="Message displayed at the bottom of the Import Dialog for Safari on Mac OS">
Passwords saved in the Mac OS X Keychain will be used to help you sign in without typing. Passwords saved in the Mac OS X Keychain will be used to help you sign in without typing.
</message> </message>
<!-- Import progress popup -->
<message name="IDS_IMPORT_PROGRESS_TITLE" desc="Title for the importing progress dialog">
Importing
</message>
<!-- Import progress popup --> <if expr="is_macosx">
<message name="IDS_IMPORT_PROGRESS_TITLE" desc="Title for the importing progress dialog"> <message name="IDS_IMPORT_SETTINGS_MENU_MAC" desc="The text label for the Import menu item.">
Importing Import Bookmarks and Settings...
</message> </message>
</if>
<if expr="is_macosx"> <message name="IDS_IMPORT_PROGRESS_STATUS_BOOKMARKS" desc="Import status for bookmarks">
<message name="IDS_IMPORT_SETTINGS_MENU_MAC" desc="The text label for the Import menu item."> Favorites/Bookmarks
Import Bookmarks and Settings... </message>
<message name="IDS_IMPORT_PROGRESS_STATUS_SEARCH" desc="Import status for search engines">
Search settings
</message>
<message name="IDS_IMPORT_PROGRESS_STATUS_PASSWORDS" desc="Import status for passwords">
Saved passwords
</message> </message>
<message name="IDS_IMPORT_PROGRESS_EXPLANATORY_TEXT_MAC" desc="Text displayed above status items in Import Dialog"> <message name="IDS_IMPORT_PROGRESS_STATUS_HISTORY" desc="Import status for history">
<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is now importing the following items from <ph name="IMPORT_BROWSER_NAME">$2<ex>Safari</ex></ph>: Browsing history
</message> </message>
<message name="IDS_IMPORT_IMPORTING_PROGRESS_TEXT_MAC" desc="Status text displayed when an item in the Import Progress Dialog is being imported."> <message name="IDS_IMPORT_PROGRESS_STATUS_COOKIES" desc="Import status for cookies">
Importing... Cookies
</message> </message>
<message name="IDS_IMPORT_IMPORTING_DONE_TEXT_MAC" desc="Status text displayed when an item in the Import Progress Dialog is done importing."> <message name="IDS_IMPORT_PROGRESS_STATUS_CANCEL" desc="Button text for import cancellation">
Done Stop import
</message> </message>
</if> </if>
<message name="IDS_IMPORT_PROGRESS_STATUS_BOOKMARKS" desc="Import status for bookmarks">
Favorites/Bookmarks
</message>
<message name="IDS_IMPORT_PROGRESS_STATUS_SEARCH" desc="Import status for search engines">
Search settings
</message>
<message name="IDS_IMPORT_PROGRESS_STATUS_PASSWORDS" desc="Import status for passwords">
Saved passwords
</message>
<message name="IDS_IMPORT_PROGRESS_STATUS_HISTORY" desc="Import status for history">
Browsing history
</message>
<message name="IDS_IMPORT_PROGRESS_STATUS_COOKIES" desc="Import status for cookies">
Cookies
</message>
<message name="IDS_IMPORT_PROGRESS_STATUS_CANCEL" desc="Button text for import cancellation">
Stop import
</message>
<!-- Confirm to quit panel --> <!-- Confirm to quit panel -->
<message name="IDS_CONFIRM_TO_QUIT_DESCRIPTION" desc="Instructions for how the user should confirm quitting."> <message name="IDS_CONFIRM_TO_QUIT_DESCRIPTION" desc="Instructions for how the user should confirm quitting.">
Hold <ph name="KEY_EQUIVALENT">$1<ex>⌘Q</ex></ph> to Quit. Hold <ph name="KEY_EQUIVALENT">$1<ex>⌘Q</ex></ph> to Quit.
......
...@@ -463,6 +463,9 @@ ...@@ -463,6 +463,9 @@
['OS=="android"', { ['OS=="android"', {
'sources/': [ 'sources/': [
['exclude', '^common/chrome_version_info_posix.cc'], ['exclude', '^common/chrome_version_info_posix.cc'],
['exclude', '^common/importer/'],
['include', '^common/importer/imported_favicon_usage.cc$'],
['include', '^common/importer/imported_favicon_usage.h$'],
['exclude', '^common/service_'], ['exclude', '^common/service_'],
], ],
'sources!': [ 'sources!': [
...@@ -473,10 +476,6 @@ ...@@ -473,10 +476,6 @@
'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc', 'common/extensions/manifest_handlers/minimum_chrome_version_checker.cc',
'common/extensions/manifest_handlers/nacl_modules_handler.cc', 'common/extensions/manifest_handlers/nacl_modules_handler.cc',
'common/icon_with_badge_image_source.cc', 'common/icon_with_badge_image_source.cc',
'common/importer/imported_bookmark_entry.cc',
'common/importer/importer_bridge.cc',
'common/importer/importer_data_types.cc',
'common/importer/importer_url_row.cc',
'common/net/url_util.cc', 'common/net/url_util.cc',
'common/spellcheck_common.cc', 'common/spellcheck_common.cc',
], ],
......
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