Complete all translations to 100% and fix auto-extraction

- Mark non-localizable strings with Text(verbatim:) to prevent extraction
- Update UI strings to lowercase per style guide (open, save, close, recording)
- Add complete translations for all 29 languages (194/194 strings at 100%)
- Remove empty/duplicate entries (@, bitchat/, Open, Recording %@)
- Add proper localization comments for all user-facing strings
This commit is contained in:
jack
2025-10-15 17:37:19 +01:00
committed by islam
parent 78c4bed1ad
commit d71befd8b7
3 changed files with 24133 additions and 23269 deletions
+24129 -23265
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1880,7 +1880,7 @@ private extension ContentView {
Image(systemName: "waveform.circle.fill") Image(systemName: "waveform.circle.fill")
.foregroundColor(.red) .foregroundColor(.red)
.font(.bitchatSystem(size: 20)) .font(.bitchatSystem(size: 20))
Text("Recording \(formattedRecordingDuration())") Text("recording \(formattedRecordingDuration())", comment: "Voice note recording duration indicator")
.font(.bitchatSystem(size: 13, design: .monospaced)) .font(.bitchatSystem(size: 13, design: .monospaced))
.foregroundColor(.red) .foregroundColor(.red)
Spacer() Spacer()
@@ -2310,7 +2310,7 @@ struct ImagePreviewView: View {
Spacer() Spacer()
HStack { HStack {
Button(action: { dismiss() }) { Button(action: { dismiss() }) {
Text("close") Text("close", comment: "Button to dismiss fullscreen media viewer")
.font(.bitchatSystem(size: 15, weight: .semibold)) .font(.bitchatSystem(size: 15, weight: .semibold))
.foregroundColor(.white) .foregroundColor(.white)
.padding(.horizontal, 16) .padding(.horizontal, 16)
@@ -2319,7 +2319,7 @@ struct ImagePreviewView: View {
} }
Spacer() Spacer()
Button(action: saveCopy) { Button(action: saveCopy) {
Text("save") Text("save", comment: "Button to save media to device")
.font(.bitchatSystem(size: 15, weight: .semibold)) .font(.bitchatSystem(size: 15, weight: .semibold))
.foregroundColor(.white) .foregroundColor(.white)
.padding(.horizontal, 16) .padding(.horizontal, 16)
+1 -1
View File
@@ -52,7 +52,7 @@ struct FileAttachmentView: View {
Spacer() Spacer()
Button(action: openFile) { Button(action: openFile) {
Text("Open") Text("open", comment: "Button to open attached file")
.font(.bitchatSystem(size: 13, weight: .semibold)) .font(.bitchatSystem(size: 13, weight: .semibold))
.padding(.horizontal, 12) .padding(.horizontal, 12)
.padding(.vertical, 6) .padding(.vertical, 6)