Skip to content

Commit

Permalink
fix: i18n for find box
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed May 12, 2022
1 parent bb406a8 commit 5e30641
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/launcher/src/renderer/LauncherList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function showLauncherScripts(launcher: Launcher, event: MouseEvent) {
v-i18n:placeholder
type="search"
class="keyword"
placeholder="Find...#!terminal.5"
placeholder="Find#!terminal.5"
autofocus
@keyup.esc="toggleFinding"
>
Expand Down
2 changes: 1 addition & 1 deletion renderer/components/FindBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ watch($$(isFinding), value => {
v-model="keyword"
v-i18n:placeholder
class="keyword"
placeholder="Find#!5"
placeholder="Find#!terminal.5"
autofocus
@keyup.enter="find"
@keyup.esc="cancel"
Expand Down
2 changes: 1 addition & 1 deletion resources/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"All tabs in this window will be closed.#!terminal.2": "当前窗口的全部标签都将被关闭。",
"Confirm#!terminal.3": "确认",
"Cancel#!terminal.4": "取消",
"Find...#!terminal.5": "查找...",
"Find#!terminal.5": "查找",
"Launch#!terminal.6": "启动",
"Addon [%N] only supports %A %E, not %V#!terminal.7": "插件 [%N] 仅支持 %A %E,而非 %V"
}

0 comments on commit 5e30641

Please sign in to comment.