Commit bad0e37a authored by Kyle Horimoto's avatar Kyle Horimoto Committed by Commit Bot

[CrOS Wallpaper] Localize wallpaper picker app name

Fixed: 1086799
Change-Id: I358543042d29ab406ed77fd09bde7c48a4d1d083
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218674
Auto-Submit: Kyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Xiaoqian Dai <xdai@chromium.org>
Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#772994}
parent 3835d088
......@@ -34,6 +34,9 @@
</message>
<!-- Wallpaper Manager -->
<message name="IDS_WALLPAPER_MANAGER_APP_NAME" desc="Name of the app which allows users to pick their wallpaper.">
Wallpaper Picker
</message>
<message name="IDS_WALLPAPER_MANAGER_ALL_CATEGORY_LABEL" desc="Wallpaper category label.">
All
</message>
......
......@@ -218,6 +218,7 @@ ExtensionFunction::ResponseAction WallpaperPrivateGetStringsFunction::Run() {
dict->SetString(id, l10n_util::GetStringUTF16(idr))
SET_STRING("webFontFamily", IDS_WEB_FONT_FAMILY);
SET_STRING("webFontSize", IDS_WEB_FONT_SIZE);
SET_STRING("wallpaperAppName", IDS_WALLPAPER_MANAGER_APP_NAME);
SET_STRING("allCategoryLabel", IDS_WALLPAPER_MANAGER_ALL_CATEGORY_LABEL);
SET_STRING("deleteCommandLabel", IDS_WALLPAPER_MANAGER_DELETE_COMMAND_LABEL);
SET_STRING("customCategoryLabel",
......
......@@ -8,7 +8,7 @@ found in the LICENSE file.
<html i18n-values="dir:textdirection;lang:language">
<head>
<meta charset="utf-8">
<title>Wallpaper Picker</title>
<title i18n-content="wallpaperAppName"></title>
<link rel="stylesheet" href="../../../../../ui/webui/resources/css/text_defaults.css">
<link rel="stylesheet" href="../../../../../ui/webui/resources/css/widgets.css">
<link rel="stylesheet" href="../../../../../ui/webui/resources/css/menu.css"></link>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment