OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/dom_ui/accounts_options_handler.h" | 5 #include "chrome/browser/chromeos/dom_ui/accounts_options_handler.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 void AccountsOptionsHandler::GetLocalizedValues( | 21 void AccountsOptionsHandler::GetLocalizedValues( |
22 DictionaryValue* localized_strings) { | 22 DictionaryValue* localized_strings) { |
23 DCHECK(localized_strings); | 23 DCHECK(localized_strings); |
24 localized_strings->SetString(L"accountsPage", l10n_util::GetString( | 24 localized_strings->SetString(L"accountsPage", l10n_util::GetString( |
25 IDS_OPTIONS_ACCOUNTS_TAB_LABEL)); | 25 IDS_OPTIONS_ACCOUNTS_TAB_LABEL)); |
26 | 26 |
27 localized_strings->SetString(L"allow_BWSI", l10n_util::GetString( | 27 localized_strings->SetString(L"allow_BWSI", l10n_util::GetString( |
28 IDS_OPTIONS_ACCOUNTS_ALLOW_BWSI_DESCRIPTION)); | 28 IDS_OPTIONS_ACCOUNTS_ALLOW_BWSI_DESCRIPTION)); |
29 localized_strings->SetString(L"allow_guest",l10n_util::GetString( | 29 localized_strings->SetString(L"allow_guest",l10n_util::GetString( |
30 IDS_OPTIONS_ACCOUNTS_ALLOW_GUEST_DESCRIPTION)); | 30 IDS_OPTIONS_ACCOUNTS_ALLOW_GUEST_DESCRIPTION)); |
31 localized_strings->SetString(L"user_list_title",l10n_util::GetString( | 31 localized_strings->SetString(L"show_user_on_signin",l10n_util::GetString( |
32 IDS_OPTIONS_ACCOUNTS_USER_LIST_TITLE)); | 32 IDS_OPTIONS_ACCOUNTS_SHOW_USER_NAMES_ON_SINGIN_DESCRIPTION)); |
33 localized_strings->SetString(L"add_user",l10n_util::GetString( | 33 localized_strings->SetString(L"username_edit_hint",l10n_util::GetString( |
34 IDS_OPTIONS_ACCOUNTS_ADD_USER)); | 34 IDS_OPTIONS_ACCOUNTS_USERNAME_EDIT_HINT)); |
35 localized_strings->SetString(L"remove_user",l10n_util::GetString( | 35 localized_strings->SetString(L"username_format",l10n_util::GetString( |
36 IDS_OPTIONS_ACCOUNTS_REMOVE_USER)); | 36 IDS_OPTIONS_ACCOUNTS_USERNAME_FORMAT)); |
37 localized_strings->SetString(L"add_user_email",l10n_util::GetString( | 37 localized_strings->SetString(L"add_users",l10n_util::GetString( |
38 IDS_OPTIONS_ACCOUNTS_EMAIL_LABEL)); | 38 IDS_OPTIONS_ACCOUNTS_ADD_USERS)); |
39 | |
40 localized_strings->SetString(L"ok_label",l10n_util::GetString( | |
41 IDS_OK)); | |
42 localized_strings->SetString(L"cancel_label",l10n_util::GetString( | |
43 IDS_CANCEL)); | |
44 } | 39 } |
45 | 40 |
46 } // namespace chromeos | 41 } // namespace chromeos |
OLD | NEW |