feat(settings): 新增关于菜单和基于正式发布的更新检测
This commit is contained in:
+18
-8
@@ -18,6 +18,7 @@ import notify
|
||||
private let metrics = MetricsStore()
|
||||
private let awake = KeepAwakeService()
|
||||
private let presentation = SettingsPresentation()
|
||||
private let updates = ReleaseUpdates()
|
||||
private let appearance = AppearancePreferences()
|
||||
private let menuBarPreferences = MenuBarPreferences()
|
||||
private let language = LanguagePreferences()
|
||||
@@ -57,7 +58,7 @@ import notify
|
||||
Settings {
|
||||
AppLanguageScope(preferences: language, onChange: { self.configureMainMenu() }) { [self] in
|
||||
AppearanceSettingsView(preferences: appearance, language: language, sampling: metrics.sampling,
|
||||
menuBar: menuBarPreferences, readings: readings, presentation: presentation)
|
||||
menuBar: menuBarPreferences, readings: readings, presentation: presentation, updates: updates)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -69,13 +70,12 @@ import notify
|
||||
menuBar = MenuPanelController(readings: readings, visibility: { [metrics] in metrics.setPanelVisible($0) },
|
||||
menuTitle: { [language] key in
|
||||
AppLocalization.string("status." + key, locale: language.locale, table: "StatusItem")
|
||||
}, openSettings: { [weak self] in self?.settingsCommand() }) { [self] panel in
|
||||
}, openSettings: { [weak self] in self?.settingsCommand() }, openAbout: { [weak self] in self?.aboutCommand() }) { [self] panel in
|
||||
AppLanguageScope(preferences: language) {
|
||||
MenuPanelView(metrics: self.metrics, preferences: self.appearance, keepAwake: self.awake, settingsPresentation: self.presentation,
|
||||
MenuPanelView(metrics: self.metrics, preferences: self.appearance, keepAwake: self.awake, updates: self.updates,
|
||||
presentation: panel, onOpenSettings: { [weak self] in
|
||||
self?.menuBar?.hide()
|
||||
settings.environment.openSettings()
|
||||
}, onPreferredHeight: { [weak self] height in
|
||||
self?.settingsCommand()
|
||||
}, onOpenAbout: { [weak self] in self?.aboutCommand() }, onPreferredHeight: { [weak self] height in
|
||||
self?.menuBar?.setPreferredContentHeight(height)
|
||||
})
|
||||
}
|
||||
@@ -87,6 +87,10 @@ import notify
|
||||
let root = NSMenu()
|
||||
let application = NSMenu()
|
||||
let appItem = NSMenuItem(); appItem.submenu = application; root.addItem(appItem)
|
||||
let about = NSMenuItem(title: AppLocalization.string("action.about", locale: language.locale), action: #selector(aboutCommand), keyEquivalent: "")
|
||||
about.target = self
|
||||
application.addItem(about)
|
||||
application.addItem(.separator())
|
||||
let settings = NSMenuItem(title: AppLocalization.string("action.settings", locale: language.locale), action: #selector(settingsCommand), keyEquivalent: ",")
|
||||
settings.target = self
|
||||
application.addItem(settings)
|
||||
@@ -106,9 +110,14 @@ import notify
|
||||
NSApp.mainMenu = root
|
||||
}
|
||||
|
||||
@objc private func settingsCommand() {
|
||||
func applicationDidFinishLaunching(_ notification: Notification) { updates.start() }
|
||||
|
||||
@objc private func settingsCommand() { showSettings() }
|
||||
@objc private func aboutCommand() { showSettings(.about) }
|
||||
|
||||
private func showSettings(_ page: SettingsPage? = nil) {
|
||||
NSApp.setActivationPolicy(.regular)
|
||||
presentation.request()
|
||||
presentation.request(page)
|
||||
menuBar?.hide()
|
||||
openSettingsAction?()
|
||||
}
|
||||
@@ -118,6 +127,7 @@ import notify
|
||||
workspaceTokens.forEach(NSWorkspace.shared.notificationCenter.removeObserver)
|
||||
workspaceTokens.removeAll()
|
||||
menuBar?.shutdown()
|
||||
updates.stop()
|
||||
awake.disable()
|
||||
menuBar = nil
|
||||
openSettingsAction = nil
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
import Foundation
|
||||
import Observation
|
||||
|
||||
/// The release tag carries the marketing version. Kymo's ZIP also carries its build number.
|
||||
nonisolated struct PublishedRelease: Decodable, Equatable {
|
||||
struct Asset: Decodable, Equatable { let name: String }
|
||||
let tagName: String
|
||||
let draft: Bool
|
||||
let prerelease: Bool
|
||||
let assets: [Asset]
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case tagName = "tag_name"
|
||||
case draft, prerelease, assets
|
||||
}
|
||||
|
||||
static let repository = URL(string: "https://git.airnan.cn/wangairnan/Kymo")!
|
||||
static let endpoint = URL(string: "https://git.airnan.cn/api/v1/repos/wangairnan/Kymo/releases/latest")!
|
||||
|
||||
var page: URL { Self.repository.appending(path: "releases/tag").appending(component: tagName) }
|
||||
var version: String { tagName.hasPrefix("v") ? String(tagName.dropFirst()) : tagName }
|
||||
|
||||
private static func components(_ value: String) throws -> [Int] {
|
||||
var numbers: [Int] = []
|
||||
for part in value.components(separatedBy: ".") {
|
||||
guard !part.isEmpty, part.utf8.allSatisfy({ (48...57).contains($0) }), let n = Int(part) else {
|
||||
throw URLError(.cannotParseResponse)
|
||||
}
|
||||
numbers.append(n)
|
||||
}
|
||||
while numbers.last == 0 { numbers.removeLast() }
|
||||
return numbers
|
||||
}
|
||||
|
||||
var build: Int? {
|
||||
let prefix = "kymo-" + version + "-"
|
||||
return assets.compactMap { asset -> Int? in
|
||||
let name = asset.name
|
||||
guard name.hasPrefix(prefix), name.hasSuffix(".zip") else { return nil }
|
||||
let remainder = name.dropFirst(prefix.count)
|
||||
guard let separator = remainder.firstIndex(of: "-") else { return nil }
|
||||
let build = remainder[..<separator]
|
||||
guard build.allSatisfy({ $0.isASCII && $0.isNumber }) else { return nil }
|
||||
return Int(build)
|
||||
}.max()
|
||||
}
|
||||
|
||||
func isNewer(than localVersion: String, build localBuild: Int) throws -> Bool {
|
||||
guard !draft, !prerelease else { throw URLError(.cannotParseResponse) }
|
||||
let remote = try Self.components(version)
|
||||
let local = try Self.components(localVersion)
|
||||
if remote != local { return local.lexicographicallyPrecedes(remote) }
|
||||
return build.map { $0 > localBuild } ?? false
|
||||
}
|
||||
|
||||
static func latest() async throws -> Self {
|
||||
let config = URLSessionConfiguration.ephemeral
|
||||
config.urlCache = nil
|
||||
config.httpCookieStorage = nil
|
||||
config.urlCredentialStorage = nil
|
||||
config.timeoutIntervalForRequest = 15
|
||||
let session = URLSession(configuration: config)
|
||||
defer { session.finishTasksAndInvalidate() }
|
||||
let (data, response) = try await session.data(from: endpoint)
|
||||
guard (response as? HTTPURLResponse)?.statusCode == 200 else { throw URLError(.badServerResponse) }
|
||||
return try JSONDecoder().decode(Self.self, from: data)
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor @Observable final class ReleaseUpdates {
|
||||
enum Phase { case idle, checking, checked, failed }
|
||||
private(set) var phase = Phase.idle
|
||||
private(set) var available: PublishedRelease?
|
||||
var automatic: Bool {
|
||||
didSet {
|
||||
guard automatic != oldValue else { return }
|
||||
defaults.set(automatic, forKey: Self.preferenceKey)
|
||||
if automatic { check(manual: false) }
|
||||
else {
|
||||
timer?.cancel()
|
||||
if automaticRequest { cancelRequest() }
|
||||
}
|
||||
}
|
||||
}
|
||||
private static let preferenceKey = "updates.automatic"
|
||||
private let defaults: UserDefaults
|
||||
private let version: String
|
||||
private let build: Int
|
||||
private let fetch: () async throws -> PublishedRelease
|
||||
@ObservationIgnored private var timer: Task<Void, Never>?
|
||||
@ObservationIgnored private var request: Task<Void, Never>?
|
||||
@ObservationIgnored private var automaticRequest = false
|
||||
|
||||
init(defaults: UserDefaults = .standard,
|
||||
version: String = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? "",
|
||||
build: Int = Int(Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String ?? "") ?? 0,
|
||||
fetch: @escaping () async throws -> PublishedRelease = PublishedRelease.latest) {
|
||||
self.defaults = defaults
|
||||
self.version = version
|
||||
self.build = build
|
||||
self.fetch = fetch
|
||||
automatic = defaults.object(forKey: Self.preferenceKey) as? Bool ?? true
|
||||
}
|
||||
|
||||
func start() { if automatic { check(manual: false) } }
|
||||
|
||||
func check(manual: Bool = true) {
|
||||
guard request == nil else { return }
|
||||
timer?.cancel()
|
||||
phase = .checking
|
||||
automaticRequest = !manual
|
||||
request = Task { [weak self, fetch] in
|
||||
guard !Task.isCancelled else { return }
|
||||
do {
|
||||
let release = try await fetch()
|
||||
guard !Task.isCancelled, let self else { return }
|
||||
available = try release.isNewer(than: version, build: build) ? release : nil
|
||||
phase = .checked
|
||||
} catch {
|
||||
guard !Task.isCancelled else { return }
|
||||
self?.phase = .failed
|
||||
}
|
||||
guard let self else { return }
|
||||
request = nil
|
||||
automaticRequest = false
|
||||
if automatic {
|
||||
let delay: Duration = phase == .failed ? .seconds(3600) : .seconds(86400)
|
||||
timer = Task { [weak self] in
|
||||
do { try await Task.sleep(for: delay) } catch { return }
|
||||
self?.check(manual: false)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private func cancelRequest() {
|
||||
request?.cancel()
|
||||
request = nil
|
||||
automaticRequest = false
|
||||
if phase == .checking { phase = .idle }
|
||||
}
|
||||
|
||||
func stop() {
|
||||
timer?.cancel()
|
||||
cancelRequest()
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,15 @@
|
||||
import Observation
|
||||
|
||||
enum SettingsPage: Hashable {
|
||||
case general, menuBar, about
|
||||
}
|
||||
|
||||
/// A UI-independent intent shared by the menu entry and the settings scene.
|
||||
@MainActor @Observable final class SettingsPresentation {
|
||||
var selection: SettingsPage = .general
|
||||
private(set) var requestID: UInt64 = 0
|
||||
func request() { requestID &+= 1 }
|
||||
func request(_ page: SettingsPage? = nil) {
|
||||
if let page { selection = page }
|
||||
requestID &+= 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ import Observation
|
||||
private let visibility: (Bool) -> Void
|
||||
private let menuTitle: (String) -> String
|
||||
private let openSettings: () -> Void
|
||||
private let openAbout: () -> Void
|
||||
private var showingStatusMenu = false
|
||||
private var isHiding = false
|
||||
private var preferredContentHeight = PanelLayout.defaultHeight
|
||||
@@ -34,11 +35,13 @@ import Observation
|
||||
visibility: @escaping (Bool) -> Void,
|
||||
menuTitle: @escaping (String) -> String = { $0 },
|
||||
openSettings: @escaping () -> Void = {},
|
||||
openAbout: @escaping () -> Void = {},
|
||||
@ViewBuilder content: @escaping (PanelPresentation) -> Content) {
|
||||
self.readings = readings
|
||||
self.visibility = visibility
|
||||
self.menuTitle = menuTitle
|
||||
self.openSettings = openSettings
|
||||
self.openAbout = openAbout
|
||||
self.content = {
|
||||
let host = NSHostingView(rootView: content($0))
|
||||
// The controller owns the fixed panel frame; content must not negotiate window limits.
|
||||
@@ -127,6 +130,9 @@ import Observation
|
||||
let settings = NSMenuItem(title: menuTitle("settings"), action: #selector(settingsClicked), keyEquivalent: ",")
|
||||
settings.target = self
|
||||
menu.addItem(settings)
|
||||
let about = NSMenuItem(title: menuTitle("about"), action: #selector(aboutClicked), keyEquivalent: "")
|
||||
about.target = self
|
||||
menu.addItem(about)
|
||||
menu.addItem(.separator())
|
||||
let quit = NSMenuItem(title: menuTitle("quit"), action: #selector(NSApplication.terminate(_:)), keyEquivalent: "q")
|
||||
quit.target = NSApp
|
||||
@@ -134,6 +140,7 @@ import Observation
|
||||
return menu
|
||||
}
|
||||
|
||||
@objc private func aboutClicked() { hide(); openAbout() }
|
||||
@objc private func settingsClicked() { hide(); openSettings() }
|
||||
|
||||
private func isOverStatusItem(_ screenPoint: NSPoint) -> Bool {
|
||||
|
||||
@@ -5,9 +5,10 @@ struct MenuPanelView: View {
|
||||
let metrics: MetricsStore
|
||||
let preferences: AppearancePreferences
|
||||
let keepAwake: KeepAwakeService
|
||||
let settingsPresentation: SettingsPresentation
|
||||
let updates: ReleaseUpdates
|
||||
var presentation = PanelPresentation()
|
||||
var onOpenSettings: () -> Void = {}
|
||||
var onOpenAbout: () -> Void = {}
|
||||
var onPreferredHeight: (CGFloat) -> Void = { _ in }
|
||||
@Environment(\.locale) var locale
|
||||
@State private var panelSize = PanelLayout.contentSize(visible: NSScreen.main?.visibleFrame ?? CGRect(x: 0, y: 0, width: 1000, height: 760))
|
||||
@@ -205,11 +206,14 @@ struct MenuPanelView: View {
|
||||
}
|
||||
.help(metrics.isPaused ? Text("action.resume") : Text("action.pause"))
|
||||
.accessibilityLabel(metrics.isPaused ? Text("action.resume") : Text("action.pause"))
|
||||
Button {
|
||||
NSApp.setActivationPolicy(.regular)
|
||||
settingsPresentation.request()
|
||||
onOpenSettings()
|
||||
} label: {
|
||||
if updates.available != nil {
|
||||
Button(action: onOpenAbout) {
|
||||
Image(systemName: "arrow.down.circle.fill").frame(width: 20, height: 20)
|
||||
.foregroundStyle(Color.accentColor)
|
||||
}
|
||||
.help(Text("updates.available")).accessibilityLabel(Text("updates.available"))
|
||||
}
|
||||
Button(action: onOpenSettings) {
|
||||
Image(systemName: "gearshape").frame(width: 20, height: 20)
|
||||
}
|
||||
.help(Text("action.settings")).accessibilityLabel(Text("action.settings"))
|
||||
|
||||
@@ -8,13 +8,13 @@ struct AppearanceSettingsView: View {
|
||||
@Bindable var sampling: SamplingPreferences
|
||||
let menuBar: MenuBarPreferences
|
||||
let readings: () -> [MenuBarReading]
|
||||
let presentation: SettingsPresentation
|
||||
@Bindable var presentation: SettingsPresentation
|
||||
@Bindable var updates: ReleaseUpdates
|
||||
@Environment(\.locale) private var locale
|
||||
@State private var selection = SettingsPage.general
|
||||
|
||||
var body: some View {
|
||||
Group {
|
||||
switch selection {
|
||||
switch presentation.selection {
|
||||
case .general: generalPage
|
||||
case .menuBar: MenuBarSettingsPage(preferences: menuBar, readings: readings())
|
||||
case .about: aboutPage
|
||||
@@ -23,7 +23,7 @@ struct AppearanceSettingsView: View {
|
||||
.padding(12)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .principal) {
|
||||
NeutralTabPicker(title: "settings.title", selection: $selection,
|
||||
NeutralTabPicker(title: "settings.title", selection: $presentation.selection,
|
||||
options: [(.general, "settings.general"), (.menuBar, "settings.menuBar"), (.about, "settings.about")])
|
||||
}
|
||||
.sharedBackgroundVisibility(.hidden)
|
||||
@@ -97,6 +97,29 @@ struct AppearanceSettingsView: View {
|
||||
}
|
||||
.padding(.vertical, 8)
|
||||
}
|
||||
Section {
|
||||
Toggle("updates.automatic", isOn: $updates.automatic)
|
||||
.toggleStyle(.checkbox)
|
||||
HStack {
|
||||
Button("updates.check") { updates.check() }
|
||||
.disabled(updates.phase == .checking)
|
||||
switch updates.phase {
|
||||
case .idle: EmptyView()
|
||||
case .checking: Text("updates.checking").foregroundStyle(.secondary)
|
||||
case .failed: Text("updates.failed").foregroundStyle(.secondary)
|
||||
case .checked:
|
||||
if updates.available == nil { Text("updates.current").foregroundStyle(.secondary) }
|
||||
}
|
||||
}
|
||||
if let release = updates.available {
|
||||
let display = release.build.map { "\(release.tagName) (\($0))" } ?? release.tagName
|
||||
LabeledContent {
|
||||
Link("updates.releasePage", destination: release.page)
|
||||
} label: {
|
||||
Text("updates.new \(display)")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.formStyle(.grouped)
|
||||
.padding(.horizontal, 12)
|
||||
@@ -121,7 +144,3 @@ private extension AppAppearance {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private enum SettingsPage: Hashable {
|
||||
case general, menuBar, about
|
||||
}
|
||||
|
||||
@@ -1,6 +1,213 @@
|
||||
{
|
||||
"sourceLanguage" : "en",
|
||||
"strings" : {
|
||||
"action.about": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "About Kymo"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "关于 Kymo"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "關於 Kymo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.automatic": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "Automatically check for updates"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "自动检查更新"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "自動檢查更新"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.check": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "Check for Updates"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "检查更新"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "檢查更新"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.checking": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "Checking…"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "正在检查…"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "正在檢查…"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.current": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "Kymo is up to date."
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "已是最新版本。"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "已是最新版本。"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.failed": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "Check failed. Try again later."
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "检查失败,请稍后重试。"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "檢查失敗,請稍後再試。"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.available": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "New Kymo version available"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "有可用的 Kymo 更新"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "有可用的 Kymo 更新"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.new %@": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "New version %@"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "发现新版本 %@"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "發現新版本 %@"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"updates.releasePage": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "View Release"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "查看发布页"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "查看發行頁面"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"duration.hours %@": {
|
||||
"localizations": {
|
||||
"en": {
|
||||
|
||||
@@ -1,6 +1,29 @@
|
||||
{
|
||||
"sourceLanguage" : "en",
|
||||
"strings" : {
|
||||
"status.about": {
|
||||
"extractionState": "manual",
|
||||
"localizations": {
|
||||
"en": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "About Kymo"
|
||||
}
|
||||
},
|
||||
"zh-Hans": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "关于 Kymo"
|
||||
}
|
||||
},
|
||||
"zh-Hant": {
|
||||
"stringUnit": {
|
||||
"state": "translated",
|
||||
"value": "關於 Kymo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"status.hide" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
|
||||
Reference in New Issue
Block a user