improved the code so that we can use the AudioPlayerState directly to check the playback speed and added localization

This commit is contained in:
Mauro Romito
2026-02-19 16:05:58 +01:00
committed by Mauro
parent 285f8b7834
commit 3dfcb6912f
13 changed files with 51 additions and 48 deletions
@@ -10,10 +10,6 @@ import Foundation
// swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
// swiftlint:disable nesting type_body_length type_name vertical_whitespace_opening_braces
internal enum UntranslatedL10n {
/// Playback speed %1$@
internal static func a11yPlaybackSpeed(_ p1: Any) -> String {
return UntranslatedL10n.tr("Untranslated", "a11y_playback_speed", String(describing: p1))
}
/// Clear all data currently stored on this device?
/// Sign in again to access your account data and messages.
internal static var softLogoutClearDataDialogContent: String { return UntranslatedL10n.tr("Untranslated", "soft_logout_clear_data_dialog_content") }
+2
View File
@@ -64,6 +64,8 @@ internal enum L10n {
internal static var a11yPinField: String { return L10n.tr("Localizable", "a11y_pin_field") }
/// Play
internal static var a11yPlay: String { return L10n.tr("Localizable", "a11y_play") }
/// Playback speed
internal static var a11yPlaybackSpeed: String { return L10n.tr("Localizable", "a11y_playback_speed") }
/// Poll
internal static var a11yPoll: String { return L10n.tr("Localizable", "a11y_poll") }
/// Ended poll