diff options
author | dantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 22:48:00 +0000 |
---|---|---|
committer | dantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 22:48:00 +0000 |
commit | a24f36f39edc39fb626161190ccd39ec744cbae9 (patch) | |
tree | 2208794bb6ee7048151e9dd0e6f9be6431428f41 | |
parent | b52e52a2fbc2d8222924a5f60fe3fe35bad4ea0f (diff) | |
download | chromium_src-a24f36f39edc39fb626161190ccd39ec744cbae9.zip chromium_src-a24f36f39edc39fb626161190ccd39ec744cbae9.tar.gz chromium_src-a24f36f39edc39fb626161190ccd39ec744cbae9.tar.bz2 |
Fix some Sync strings
Review URL: http://codereview.chromium.org/1600004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43542 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/app/generated_resources.grd | 20 | ||||
-rw-r--r-- | chrome/browser/cocoa/preferences_window_controller.mm | 7 | ||||
-rw-r--r-- | chrome/browser/gtk/options/content_page_gtk.cc | 7 | ||||
-rw-r--r-- | chrome/browser/sync/sync_ui_util.cc | 3 | ||||
-rw-r--r-- | chrome/browser/views/options/content_page_view.cc | 2 |
5 files changed, 22 insertions, 17 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 0b903a1..d54be97 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -6501,7 +6501,7 @@ Keep your key file in a safe place. You will need it to create new versions of y </message> </if> <message name="IDS_SYNC_NOT_SET_UP_INFO" desc="The message that appears in the options dialog when sync has not been set up by the user."> - You are not set up to sync your bookmarks with your other computers. + You are not set up to sync your <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data with your other computers. </message> <if expr="not pp_ifdef('use_titlecase')"> <message name="IDS_SYNC_START_SYNC_BUTTON_LABEL" desc="The label that appears on the sync button in the options dialog when sync has not been set up by the user."> @@ -6558,8 +6558,11 @@ Keep your key file in a safe place. You will need it to create new versions of y <message name="IDS_SYNC_STOP_SYNCING_CONFIRM_BUTTON_LABEL" desc="The text to display on the button to confirm the user wishes to stop syncing."> Stop syncing </message> + <message name="IDS_SYNC_STOP_SYNCING_DIALOG_TITLE" desc="The title of the dialog that explains what 'stop syncing' means."> + Stop syncing this account + </message> <message name="IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL" desc="The text to display below the 'Stop syncing this account' button on the options pane, explaining what the button does."> - If you disable sync, your <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data will no longer be kept in sync with data stored in your Google Account or on your other machines. No data will be deleted. All existing data will remain on this computer and in your Google Account. + Stopping <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> sync prevents sharing your <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data from this computer. All your data will remain within <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and your Google Account, but your Google Account will no longer receive changes to your <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data. </message> <!-- Sync time strings --> <message name="IDS_SYNC_TIME_NEVER" desc="Indicates that the first sync has never completed."> @@ -6627,14 +6630,13 @@ Keep your key file in a safe place. You will need it to create new versions of y </message> <!-- Login dialog strings --> - <message name="IDS_SYNC_MY_BOOKMARKS_LABEL" desc="Text to show for the sync login dialog."> + <message name="IDS_SYNC_MY_BOOKMARKS_LABEL" desc="Title of the sync login dialog."> Set up sync </message> <message name="IDS_SYNC_LOGIN_INTRODUCTION" desc="The message to display at the top of the Login dialog"> - <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> Sync makes it easy to keep the same set of data (such as bookmarks and preferences) on multiple computers. - When you enable syncing, your <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data will get stored online in your Google Account. - Each additional computer on which you enable syncing will receive the same <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data. - </message> + <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> sync makes it easy to share your data (such as bookmarks and preferences) between your computers. + <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> synchronizes your data by storing it online with Google when you login with your Google Account. + </message> <message name="IDS_SYNC_LOGIN_SIGNIN_PREFIX" desc="The first part of the sentence that is displayed after the login info"> Sign in with your </message> @@ -6666,7 +6668,7 @@ Keep your key file in a safe place. You will need it to create new versions of y Could not connect to the server </message> <message name="IDS_SYNC_LOGIN_SETTING_UP_SYNC" desc="For the connect error message"> - Setting up Sync + Setting up sync </message> <message name="IDS_SYNC_LOGIN_SETTING_UP" desc="A progress message"> Setting up... @@ -6695,7 +6697,7 @@ Keep your key file in a safe place. You will need it to create new versions of y <!-- Success dialog strings--> <message name="IDS_SYNC_SETUP_ALL_DONE" desc="The text shown on the confirmation dialog after setting up sync when there were already bookmarks in the cloud."> - Your <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data will now be synced among all computers where you have enabled sync. + Your <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> data will now be synchronized between all your computers where you have enabled syncing. </message> <message name="IDS_SYNC_SETUP_FIRST_TIME_ALL_DONE" desc="The text shown on the confirmation dialog after setting up sync when no bookmarks exist in the cloud."> Your bookmarks are now synced to Google Docs! To merge and sync your bookmarks to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> diff --git a/chrome/browser/cocoa/preferences_window_controller.mm b/chrome/browser/cocoa/preferences_window_controller.mm index a45ac00..3503acc 100644 --- a/chrome/browser/cocoa/preferences_window_controller.mm +++ b/chrome/browser/cocoa/preferences_window_controller.mm @@ -1349,9 +1349,10 @@ const int kDisabledIndex = 1; [alert addButtonWithTitle:l10n_util::GetNSStringWithFixup( IDS_CANCEL)]; [alert setMessageText:l10n_util::GetNSStringWithFixup( - IDS_SYNC_STOP_SYNCING_BUTTON_LABEL)]; - [alert setInformativeText:l10n_util::GetNSStringWithFixup( - IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL)]; + IDS_SYNC_STOP_SYNCING_DIALOG_TITLE)]; + [alert setInformativeText:l10n_util::GetNSStringFWithFixup( + IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL, + l10n_util::GetStringUTF16(IDS_PRODUCT_NAME))]; [alert setAlertStyle:NSWarningAlertStyle]; const SEL kEndSelector = @selector(stopSyncAlertDidEnd:returnCode:contextInfo:); diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc index 62ef19e..f76a31f 100644 --- a/chrome/browser/gtk/options/content_page_gtk.cc +++ b/chrome/browser/gtk/options/content_page_gtk.cc @@ -570,12 +570,13 @@ void ContentPageGtk::OnSyncStartStopButtonClicked(GtkWidget* widget) { GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", - l10n_util::GetStringUTF8( - IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL).c_str()); + l10n_util::GetStringFUTF8( + IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL, + l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)).c_str()); gtk_util::ApplyMessageDialogQuirks(dialog); gtk_window_set_title(GTK_WINDOW(dialog), l10n_util::GetStringUTF8( - IDS_SYNC_STOP_SYNCING_BUTTON_LABEL).c_str()); + IDS_SYNC_STOP_SYNCING_DIALOG_TITLE).c_str()); gtk_dialog_add_buttons( GTK_DIALOG(dialog), l10n_util::GetStringUTF8(IDS_CANCEL).c_str(), diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc index a72cc30..df28f40 100644 --- a/chrome/browser/sync/sync_ui_util.cc +++ b/chrome/browser/sync/sync_ui_util.cc @@ -140,7 +140,8 @@ MessageType GetStatusInfo(ProfileSyncService* service, } else { if (status_label) { status_label->assign( - l10n_util::GetStringUTF16(IDS_SYNC_NOT_SET_UP_INFO)); + l10n_util::GetStringFUTF16(IDS_SYNC_NOT_SET_UP_INFO, + l10n_util::GetStringUTF16(IDS_PRODUCT_NAME))); } } } diff --git a/chrome/browser/views/options/content_page_view.cc b/chrome/browser/views/options/content_page_view.cc index 18371fa..db0ef0c 100644 --- a/chrome/browser/views/options/content_page_view.cc +++ b/chrome/browser/views/options/content_page_view.cc @@ -141,7 +141,7 @@ void ContentPageView::ButtonPressed( this, l10n_util::GetStringF(IDS_SYNC_STOP_SYNCING_EXPLANATION_LABEL, l10n_util::GetString(IDS_PRODUCT_NAME)), - l10n_util::GetString(IDS_SYNC_STOP_SYNCING_BUTTON_LABEL), + l10n_util::GetString(IDS_SYNC_STOP_SYNCING_DIALOG_TITLE), l10n_util::GetString(IDS_SYNC_STOP_SYNCING_CONFIRM_BUTTON_LABEL), l10n_util::GetString(IDS_CANCEL), gfx::Size(views::Window::GetLocalizedContentsSize( |