| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/chromeos/dom_ui/accounts_options_handler.h" |
| 6 |
| 7 #include "app/l10n_util.h" |
| 8 #include "base/json/json_reader.h" |
| 9 #include "base/scoped_ptr.h" |
| 10 #include "base/values.h" |
| 11 #include "grit/generated_resources.h" |
| 12 |
| 13 namespace chromeos { |
| 14 |
| 15 AccountsOptionsHandler::AccountsOptionsHandler() { |
| 16 } |
| 17 |
| 18 AccountsOptionsHandler::~AccountsOptionsHandler() { |
| 19 } |
| 20 |
| 21 void AccountsOptionsHandler::GetLocalizedValues( |
| 22 DictionaryValue* localized_strings) { |
| 23 DCHECK(localized_strings); |
| 24 localized_strings->SetString(L"accountsPage", l10n_util::GetString( |
| 25 IDS_OPTIONS_ACCOUNTS_TAB_LABEL)); |
| 26 |
| 27 localized_strings->SetString(L"allow_BWSI", l10n_util::GetString( |
| 28 IDS_OPTIONS_ACCOUNTS_ALLOW_BWSI_DESCRIPTION)); |
| 29 localized_strings->SetString(L"allow_guest",l10n_util::GetString( |
| 30 IDS_OPTIONS_ACCOUNTS_ALLOW_GUEST_DESCRIPTION)); |
| 31 localized_strings->SetString(L"user_list_title",l10n_util::GetString( |
| 32 IDS_OPTIONS_ACCOUNTS_USER_LIST_TITLE)); |
| 33 localized_strings->SetString(L"add_user",l10n_util::GetString( |
| 34 IDS_OPTIONS_ACCOUNTS_ADD_USER)); |
| 35 localized_strings->SetString(L"remove_user",l10n_util::GetString( |
| 36 IDS_OPTIONS_ACCOUNTS_REMOVE_USER)); |
| 37 localized_strings->SetString(L"add_user_email",l10n_util::GetString( |
| 38 IDS_OPTIONS_ACCOUNTS_EMAIL_LABEL)); |
| 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 } |
| 45 |
| 46 } // namespace chromeos |
| OLD | NEW |