-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include translation strings for input keywords of System Info Card pr…
…ovider Bug: b/263994165 Change-Id: Ie874498d500b4b585b6d89698f50347f43816ab6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4328370 Reviewed-by: Tony Yeoman <tby@chromium.org> Commit-Queue: Lauren Commeignes <laurencom@chromium.org> Cr-Commit-Position: refs/heads/main@{#1119777}
- Loading branch information
Lauren Commeignes
authored and
Chromium LUCI CQ
committed
Mar 21, 2023
1 parent
b1808b8
commit 2179af0
Showing
27 changed files
with
237 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_ABOUT_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8c6c2e41794fa277ddcb4261e58d5270a83a18c9 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_ACTIVITY_MONITOR_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
e6dcc98a5ef502ac5ef669f6168c959bc90d1603 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_BATTERY_HEALTH_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7d68346a3193329711d0e20b21a1f4ec7b66c4b3 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_BATTERY_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
25bc4f09b2d82d6314ec2c483c109f29552a1911 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_BATTERY_LIFE_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
e10073cb71a35a651d6e25911f082b6dd3d93e0c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
d7dd831dbbb3368a784bb6a66ddaa35caa6dae85 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_CPU_USAGE_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8c77bfe9f2540f74f7067010f6bffe3fbc362fbb |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_DEVICE_SLOW_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
502ab51908363a54d9f59ed430796827754eebe4 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_MEMORY_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
96ea1ce8e5f706bdf7ce4302c66cc8c25a868e07 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_MEMORY_USAGE_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
61fe13759ed89be0a0ef75a4d7063ad9db1df523 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_MY_DEVICE_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
c8ea9d0f94bd2f1f42efb0ad6f2c97eb073f0dc1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
68da1349daac782ab963c7cbf391a2baf64040f2 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_RAM_USAGE_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ede0ffde3b7eee3c855825a68082b98d29680e86 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_RANDOM_ACCESS_MEMORY_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
efe0166c3b7c1e057d90035e2aac998823af0345 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_STORAGE_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a82eaacf692f4ce8290534a5f67cc90235aa987c |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_STORAGE_MANAGEMENT_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1deb3eb9fa99a8a5b144f2ce21dbb15057366fb9 |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_STORAGE_USE_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
964eae4172a80caea4c15c77a91fe250cbf3853b |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_VERSION_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
49d403cb6bb9436e2ecdbf497bcfcb115dc55c3d |
1 change: 1 addition & 0 deletions
1
ash/ash_strings_grd/IDS_ASH_WHY_IS_MY_DEVICE_SLOW_KEYWORD_FOR_LAUNCHER.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
89fdec36e3fbf5e6b6f07d9d419fb1aa6c52b0d5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
chrome/browser/ash/app_list/search/system_info/system_info_keyword_input.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2023 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "chrome/browser/ash/app_list/search/system_info/system_info_keyword_input.h" | ||
|
||
namespace app_list { | ||
|
||
SystemInfoKeywordInput::SystemInfoKeywordInput(SystemInfoInputType input_type, | ||
std::u16string keyword) | ||
: input_type_(input_type), keyword_(keyword) {} | ||
|
||
SystemInfoInputType SystemInfoKeywordInput::GetInputType() { | ||
return input_type_; | ||
} | ||
std::u16string SystemInfoKeywordInput::GetKeyword() { | ||
return keyword_; | ||
} | ||
|
||
} // namespace app_list |
32 changes: 32 additions & 0 deletions
32
chrome/browser/ash/app_list/search/system_info/system_info_keyword_input.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright 2023 The Chromium Authors | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef CHROME_BROWSER_ASH_APP_LIST_SEARCH_SYSTEM_INFO_SYSTEM_INFO_KEYWORD_INPUT_H_ | ||
#define CHROME_BROWSER_ASH_APP_LIST_SEARCH_SYSTEM_INFO_SYSTEM_INFO_KEYWORD_INPUT_H_ | ||
|
||
#include <string> | ||
|
||
namespace app_list { | ||
|
||
// This enum represents which type of System Info will be displayed. | ||
enum class SystemInfoInputType { kCPU, kVersion, kMemory, kBattery, kStorage }; | ||
|
||
struct SystemInfoKeywordInput { | ||
SystemInfoKeywordInput() = default; | ||
SystemInfoKeywordInput(SystemInfoInputType input_type, | ||
std::u16string keyword); | ||
|
||
~SystemInfoKeywordInput() = default; | ||
|
||
SystemInfoInputType GetInputType(); | ||
std::u16string GetKeyword(); | ||
|
||
private: | ||
SystemInfoInputType input_type_; | ||
std::u16string keyword_; | ||
}; | ||
|
||
} // namespace app_list | ||
|
||
#endif // CHROME_BROWSER_ASH_APP_LIST_SEARCH_SYSTEM_INFO_SYSTEM_INFO_KEYWORD_INPUT_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.