mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-29 07:27:16 +00:00
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:
parent
1f59e814f9
commit
d0a4d13eac
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user