Skip to content

Commit

Permalink
pref: UI optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
AkaShark committed Jan 31, 2024
1 parent 41afc5e commit 560be05
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions Easydict/App/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -1510,13 +1510,13 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Input Translate:"
"value" : "Input Translate"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "输入翻译:"
"value" : "输入翻译"
}
}
}
Expand Down Expand Up @@ -2335,13 +2335,13 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Select Text Translate:"
"value" : "Select Text Translate"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "划词翻译:"
"value" : "划词翻译"
}
}
}
Expand Down Expand Up @@ -3237,13 +3237,13 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Show Mini Window:"
"value" : "Show Mini Window"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "显示迷你窗口:"
"value" : "显示迷你窗口"
}
}
}
Expand All @@ -3253,13 +3253,13 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Silent Screenshot OCR:"
"value" : "Silent Screenshot OCR"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "静默截图 OCR:"
"state" : "needs_review",
"value" : "静默截图 OCR"
}
}
}
Expand Down Expand Up @@ -3302,13 +3302,13 @@
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Snip Translate:"
"value" : "Snip Translate"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "截图翻译:"
"value" : "截图翻译"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,27 @@ extension ShortcutTab {
Section {
HStack {
Text("input_translate")
.frame(minWidth: 140, alignment: .trailing)
Spacer()
GeneralKeyHolderWrapper(shortcutType: .inputTranslate, confictAlterMessage: $confictAlterMessage).frame(width: 180, height: 24)
}
HStack {
Text("snip_translate")
.frame(minWidth: 140, alignment: .trailing)
Spacer()
GeneralKeyHolderWrapper(shortcutType: .snipTranslate, confictAlterMessage: $confictAlterMessage).frame(width: 180, height: 24)
}
HStack {
Text("select_translate")
.frame(minWidth: 140, alignment: .trailing)
Spacer()
GeneralKeyHolderWrapper(shortcutType: .selectTranslate, confictAlterMessage: $confictAlterMessage).frame(width: 180, height: 24)
}
HStack {
Text("show_mini_window")
.frame(minWidth: 140, alignment: .trailing)
Spacer()
GeneralKeyHolderWrapper(shortcutType: .showMiniWindow, confictAlterMessage: $confictAlterMessage).frame(width: 180, height: 24)
}
HStack {
Text("silent_screenshot_ocr")
.frame(minWidth: 140, alignment: .trailing)
Spacer()
GeneralKeyHolderWrapper(shortcutType: .silentScreenshotOcr, confictAlterMessage: $confictAlterMessage).frame(width: 180, height: 24)
}
} header: {
Expand Down

0 comments on commit 560be05

Please sign in to comment.