Skip to content

Commit

Permalink
chore: word 'info' -> 'readme'
Browse files Browse the repository at this point in the history
  • Loading branch information
netdcy committed Aug 20, 2024
1 parent af65a1f commit 5939b72
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions FlowVision/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -693,17 +693,6 @@
}
}
},
"Info..." : {
"comment" : "说明...",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "说明..."
}
}
}
},
"input-new-folder-name" : {
"extractionState" : "manual",
"localizations" : {
Expand Down Expand Up @@ -1326,6 +1315,17 @@
}
}
},
"Readme..." : {
"comment" : "说明...",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "说明..."
}
}
}
},
"recognize-OCR" : {
"comment" : "识别文本(OCR)",
"localizations" : {
Expand Down
6 changes: 3 additions & 3 deletions FlowVision/Sources/WindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ extension WindowController: NSToolbarDelegate {
let isGenHdThumb = menu.addItem(withTitle: NSLocalizedString("Generate HD Thumbnails", comment: "生成高清缩略图"), action: #selector(genHdThumbAction), keyEquivalent: "")
isGenHdThumb.state = (globalVar.isGenHdThumb) ? .on : .off

let actionItemSettings = menu.addItem(withTitle: NSLocalizedString("Info...", comment: "说明..."), action: #selector(genHdThumbInfoAction), keyEquivalent: "")
let actionItemSettings = menu.addItem(withTitle: NSLocalizedString("Readme...", comment: "说明..."), action: #selector(genHdThumbInfoAction), keyEquivalent: "")

menu.addItem(NSMenuItem.separator())

Expand Down Expand Up @@ -778,15 +778,15 @@ extension WindowController: NSToolbarDelegate {
let recursiveMode = menu.addItem(withTitle: NSLocalizedString("Recursive Mode", comment: "递归浏览模式"), action: #selector(toggleRecursiveMode), keyEquivalent: "")
recursiveMode.state = (viewController.publicVar.isRecursiveMode) ? .on : .off

let recursiveModeInfo = menu.addItem(withTitle: NSLocalizedString("Info...", comment: "说明..."), action: #selector(recursiveModeInfo), keyEquivalent: "")
let recursiveModeInfo = menu.addItem(withTitle: NSLocalizedString("Readme...", comment: "说明..."), action: #selector(recursiveModeInfo), keyEquivalent: "")

menu.addItem(NSMenuItem.separator())

let portableMode = menu.addItem(withTitle: NSLocalizedString("Portable Browsing Mode", comment: "便携浏览模式"), action: #selector(togglePortableMode), keyEquivalent: "~")
portableMode.keyEquivalentModifierMask = []
portableMode.state = globalVar.portableMode ? .on : .off

let portableModeInfo = menu.addItem(withTitle: NSLocalizedString("Info...", comment: "说明..."), action: #selector(portableModeInfo), keyEquivalent: "")
let portableModeInfo = menu.addItem(withTitle: NSLocalizedString("Readme...", comment: "说明..."), action: #selector(portableModeInfo), keyEquivalent: "")

menu.addItem(NSMenuItem.separator())

Expand Down

0 comments on commit 5939b72

Please sign in to comment.