Commit 3213b60f1d

3213b60f1dea5285b265602da886a81031ecda71

parent: 27e81e04ea

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-26 01:02 UTC

iOS Settings ▸ In Use: the font line through the catalog

"System monospaced" and "isn't installed" were English in every language.

Ref #224

Layout: unified · split

Changed files (2)
Sources/OrgstarMobile/SettingsScreen.swift +3 −3 · view
@@ -321,9 +321,9 @@ struct SettingsScreen: View {
321321 /// The theme's family, or the system's monospaced font when it's unset or not on the device.
322322 private var font: String {
323323 let spec = model.theme
324 let family = spec.font.isEmpty || UIFont.fontNames(forFamilyName: spec.font).isEmpty ? "System monospaced" : spec.font
325 let missing = !spec.font.isEmpty && family != spec.font ? " (\(spec.font) isn't installed)" : ""
326 return "\(family), \(spec.fontSize) pt\(missing)"
324 let family = spec.font.isEmpty || UIFont.fontNames(forFamilyName: spec.font).isEmpty ? String(localized: "System monospaced") : spec.font
325 return !spec.font.isEmpty && family != spec.font ? String(localized: "\(family), \(spec.fontSize) pt (\(spec.font) isn't installed)")
326 : String(localized: "\(family), \(spec.fontSize) pt")
327327 }
328328
329329 private var todoKeywords: String {
l10n/Localizable.xcstrings +68 · view
@@ -919,6 +919,74 @@
919919 }
920920 }
921921 },
922 "%@, %lld pt": {
923 "localizations": {
924 "de": {
925 "stringUnit": {
926 "state": "translated",
927 "value": "%1$@, %2$lld pt"
928 }
929 },
930 "es": {
931 "stringUnit": {
932 "state": "translated",
933 "value": "%1$@, %2$lld pt"
934 }
935 },
936 "fr": {
937 "stringUnit": {
938 "state": "translated",
939 "value": "%1$@, %2$lld pt"
940 }
941 },
942 "ja": {
943 "stringUnit": {
944 "state": "translated",
945 "value": "%1$@、%2$lld pt"
946 }
947 },
948 "pt-BR": {
949 "stringUnit": {
950 "state": "translated",
951 "value": "%1$@, %2$lld pt"
952 }
953 }
954 }
955 },
956 "%@, %lld pt (%@ isn't installed)": {
957 "localizations": {
958 "de": {
959 "stringUnit": {
960 "state": "translated",
961 "value": "%1$@, %2$lld pt (%3$@ ist nicht installiert)"
962 }
963 },
964 "es": {
965 "stringUnit": {
966 "state": "translated",
967 "value": "%1$@, %2$lld pt (%3$@ no está instalada)"
968 }
969 },
970 "fr": {
971 "stringUnit": {
972 "state": "translated",
973 "value": "%1$@, %2$lld pt (%3$@ n'est pas installée)"
974 }
975 },
976 "ja": {
977 "stringUnit": {
978 "state": "translated",
979 "value": "%1$@、%2$lld pt(%3$@はインストールされていません)"
980 }
981 },
982 "pt-BR": {
983 "stringUnit": {
984 "state": "translated",
985 "value": "%1$@, %2$lld pt (%3$@ não está instalada)"
986 }
987 }
988 }
989 },
922990 "%lld": {
923991 "shouldTranslate": false
924992 },
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form