diff --git a/Localization/StringsConvertor/input/Base.lproj/app.json b/Localization/StringsConvertor/input/Base.lproj/app.json index 47890e24f..8de468601 100644 --- a/Localization/StringsConvertor/input/Base.lproj/app.json +++ b/Localization/StringsConvertor/input/Base.lproj/app.json @@ -444,6 +444,7 @@ "server_processing_state": "Server Processing..." }, "poll": { + "title": "Poll", "duration_time": "Duration: %s", "thirty_minutes": "30 minutes", "one_hour": "1 Hour", diff --git a/Localization/app.json b/Localization/app.json index 6d6ad4ac4..d90c3729e 100644 --- a/Localization/app.json +++ b/Localization/app.json @@ -461,6 +461,7 @@ "server_processing_state": "Server Processing..." }, "poll": { + "title": "Poll", "duration_time": "Duration: %s", "thirty_minutes": "30 minutes", "one_hour": "1 Hour", diff --git a/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift b/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift index 8768012f3..40b57659d 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift +++ b/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift @@ -625,6 +625,8 @@ public enum L10n { public static let thirtyMinutes = L10n.tr("Localizable", "Scene.Compose.Poll.ThirtyMinutes", fallback: "30 minutes") /// 3 Days public static let threeDays = L10n.tr("Localizable", "Scene.Compose.Poll.ThreeDays", fallback: "3 Days") + /// Poll + public static let title = L10n.tr("Localizable", "Scene.Compose.Poll.Title", fallback: "Poll") } public enum Title { /// New Post diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings index d9c9a2926..4412c3f19 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings @@ -225,6 +225,7 @@ uploaded to Mastodon."; "Scene.Compose.Poll.ThePollIsInvalid" = "The poll is invalid"; "Scene.Compose.Poll.ThirtyMinutes" = "30 minutes"; "Scene.Compose.Poll.ThreeDays" = "3 Days"; +"Scene.Compose.Poll.Title" = "Poll"; "Scene.Compose.ReplyingToUser" = "replying to %@"; "Scene.Compose.Title.NewPost" = "New Post"; "Scene.Compose.Title.NewReply" = "New Reply"; diff --git a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift index 714b751b7..d540985b5 100644 --- a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift +++ b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift @@ -224,6 +224,8 @@ extension ComposeContentView { } } } // end VStack + .accessibilityElement(children: .contain) + .accessibilityLabel(L10n.Scene.Compose.Poll.title) } // MARK: - media