lang: added missing translation (#2361)

This commit is contained in:
WinTP
2025-02-02 22:53:07 +08:00
committed by GitHub
parent d3cbf8d22c
commit 32150b24a5
41 changed files with 627 additions and 3 deletions

View File

@@ -255,7 +255,7 @@ internal class Settings: NSStackView, Settings_v, NSTableViewDelegate, NSTableVi
self.list[i].enabled = sender.state == NSControl.StateValue.on
}
@objc private func addNewClock(_ sender: Any) {
self.list.append(Clock_t(name: "Clock \(self.list.count)", format: Clock.local.format, tz: Clock.local.tz))
self.list.append(Clock_t(name: "\(localizedString("Clock")) \(self.list.count)", format: Clock.local.format, tz: Clock.local.tz))
self.tableView.reloadData()
}
@objc private func deleteClock(_ sender: Any) {