Commit 7724ce8809

7724ce880935ab5876f119e0e1bf113e6ea9e1ff

parent: aa329aa6f4

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-22 20:49 UTC

Live Activity: a short Clock Out label in German, Spanish and French

"Zeiterfassung beenden" is "Ausstempeln" on the Live Activity's button,
which has its own key so the Mac and watch keep theirs.

Ref #224

Layout: unified · split

Sources/OrgstarWidgets/ClockActivityWidget.swift +5 −1
@@ -66,7 +66,11 @@ struct ElapsedText: View {
66struct ClockOutButton: View { 66struct ClockOutButton: View {
67 var body: some View { 67 var body: some View {
68 Button(intent: ClockOutIntent()) { 68 Button(intent: ClockOutIntent()) {
69 Label("Clock Out", systemImage: "stop.fill").font(.caption.weight(.semibold)) 69 Label(
70 String(localized: "clock-activity.clock-out", defaultValue: "Clock Out", comment: "Live Activity button that stops the running clock; keep it short"),
71 systemImage: "stop.fill"
72 )
73 .font(.caption.weight(.semibold))
70 } 74 }
71 .tint(.orange) 75 .tint(.orange)
72 } 76 }
l10n/Localizable.xcstrings +41
@@ -36932,6 +36932,47 @@
36932 } 36932 }
36933 } 36933 }
36934 }, 36934 },
36935 "clock-activity.clock-out": {
36936 "comment": "Live Activity button that stops the running clock; keep it short",
36937 "localizations": {
36938 "de": {
36939 "stringUnit": {
36940 "state": "translated",
36941 "value": "Ausstempeln"
36942 }
36943 },
36944 "en": {
36945 "stringUnit": {
36946 "state": "translated",
36947 "value": "Clock Out"
36948 }
36949 },
36950 "es": {
36951 "stringUnit": {
36952 "state": "translated",
36953 "value": "Detener"
36954 }
36955 },
36956 "fr": {
36957 "stringUnit": {
36958 "state": "translated",
36959 "value": "Arrêter"
36960 }
36961 },
36962 "ja": {
36963 "stringUnit": {
36964 "state": "translated",
36965 "value": "クロックアウト"
36966 }
36967 },
36968 "pt-BR": {
36969 "stringUnit": {
36970 "state": "translated",
36971 "value": "Parar Registro"
36972 }
36973 }
36974 }
36975 },
36935 "comparison with nan": { 36976 "comparison with nan": {
36936 "localizations": { 36977 "localizations": {
36937 "de": { 36978 "de": {