l10n: localize the voice-recording cancel button

the icon-only cancel button in the recording HUD used a raw "Cancel"
literal instead of the common.cancel catalog key, so VoiceOver
announced it in English regardless of locale. reuse the key already
used for every other cancel button in the app.
This commit is contained in:
Taksh 2026-08-07 20:58:05 +05:30
parent 1f59e814f9
commit d0a4d13eac

View File

@ -238,7 +238,7 @@ private extension ContentComposerView {
}
Spacer()
Button(action: voiceRecordingVM.cancel) {
Label("Cancel", systemImage: "xmark.circle")
Label("common.cancel", systemImage: "xmark.circle")
.labelStyle(.iconOnly)
.font(.bitchatSystem(size: 18))
.foregroundColor(.red)