Mark the poll editor as a group

This commit is contained in:
Jed Fox 2023-02-07 17:00:22 -05:00
parent 9f541957a7
commit 8217f5ce28
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
5 changed files with 7 additions and 0 deletions

View File

@ -444,6 +444,7 @@
"server_processing_state": "Server Processing..."
},
"poll": {
"title": "Poll",
"duration_time": "Duration: %s",
"thirty_minutes": "30 minutes",
"one_hour": "1 Hour",

View File

@ -461,6 +461,7 @@
"server_processing_state": "Server Processing..."
},
"poll": {
"title": "Poll",
"duration_time": "Duration: %s",
"thirty_minutes": "30 minutes",
"one_hour": "1 Hour",

View File

@ -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

View File

@ -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";

View File

@ -224,6 +224,8 @@ extension ComposeContentView {
}
}
} // end VStack
.accessibilityElement(children: .contain)
.accessibilityLabel(L10n.Scene.Compose.Poll.title)
}
// MARK: - media