Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4549)

Unified Diff: chrome/browser/notifications/notification_platform_bridge_linux.cc

Issue 2873233002: Linux native notifications: Localize settings button. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/notification_platform_bridge_linux.cc
diff --git a/chrome/browser/notifications/notification_platform_bridge_linux.cc b/chrome/browser/notifications/notification_platform_bridge_linux.cc
index aa3a6efc57271c5443f25d7acfd1bbb44f051a31..10b05ac9d85fdd4c76e34838968ade6dbecfdb11 100644
--- a/chrome/browser/notifications/notification_platform_bridge_linux.cc
+++ b/chrome/browser/notifications/notification_platform_bridge_linux.cc
@@ -29,11 +29,13 @@
#include "chrome/browser/notifications/notification_display_service_factory.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/shell_integration_linux.h"
+#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/object_proxy.h"
+#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/image/image_skia.h"
namespace {
@@ -467,8 +469,8 @@ class NotificationPlatformBridgeLinuxImpl
}
// Always add a settings button.
actions.push_back(kSettingsButtonId);
- // TODO(thomasanderson): Localize this string.
- actions.push_back("Settings");
+ actions.push_back(
+ l10n_util::GetStringUTF8(IDS_NOTIFICATION_BUTTON_SETTINGS));
}
writer.AppendArrayOfStrings(actions);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698