Index: chrome/browser/policy/policy_status_info.cc |
diff --git a/chrome/browser/policy/policy_status_info.cc b/chrome/browser/policy/policy_status_info.cc |
index 2b740df1f1972c018846526540e7c6b103bae8fd..395bf623bd4ae5a96c5b11b53b347e1e5b8eb71c 100644 |
--- a/chrome/browser/policy/policy_status_info.cc |
+++ b/chrome/browser/policy/policy_status_info.cc |
@@ -8,6 +8,8 @@ |
#include "base/logging.h" |
#include "base/utf_string_conversions.h" |
+#include "grit/generated_resources.h" |
+#include "ui/base/l10n/l10n_util.h" |
namespace policy { |
@@ -46,8 +48,8 @@ PolicyStatusInfo::~PolicyStatusInfo() { |
DictionaryValue* PolicyStatusInfo::GetDictionaryValue() const { |
string16 level_string = GetPolicyLevelString(level); |
string16 source_type_string = GetSourceTypeString(source_type); |
- string16 status_message = status == ENFORCED ? ASCIIToUTF16("ok") |
- : error_message; |
+ string16 status_message = |
+ status == ENFORCED ? l10n_util::GetStringUTF16(IDS_OK) : error_message; |
DictionaryValue* result = new DictionaryValue(); |
result->SetString(std::string(kNameDictPath), name); |
result->SetString(std::string(kLevelDictPath), level_string); |