Don't localize voice-message filename

This commit is contained in:
Sasha Weiss 2025-07-31 14:19:29 -07:00 committed by GitHub
parent e169df9440
commit e6c3ec95e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -18,8 +18,7 @@ extension VoiceMessageSendableDraft {
dateFormatter.dateFormat = "yyyy-MM-dd-HH-mm-ss-SSS"
let dateString = dateFormatter.string(from: Date())
return String(
format: "%@-%@.%@",
OWSLocalizedString("VOICE_MESSAGE_FILE_NAME", comment: "Filename for voice messages."),
format: "signal-%@.%@",
dateString,
VoiceMessageConstants.fileExtension
)

View File

@ -9271,9 +9271,6 @@
/* Indicates how to cancel a voice message. */
"VOICE_MESSAGE_CANCEL_INSTRUCTIONS" = "Slide to cancel";
/* Filename for voice messages. */
"VOICE_MESSAGE_FILE_NAME" = "signal";
/* Message for the tooltip indicating the 'voice message' needs to be held to be held down to record. */
"VOICE_MESSAGE_TOO_SHORT_TOOLTIP" = "Press and hold to record.";