Merge pull request #10980 from MrPetovan/task/10972-screen-reader-part-1

[frio] Wire edit form formatting button aria labels
This commit is contained in:
Michael Vogel 2021-11-16 07:50:08 +01:00 committed by GitHub
commit 1ff0d5d1f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 42 deletions

View file

@ -130,6 +130,15 @@ function editpost_content(App $a)
'$cancel' => DI::l10n()->t('Cancel'), '$cancel' => DI::l10n()->t('Cancel'),
'$rand_num' => Crypto::randomDigits(12), '$rand_num' => Crypto::randomDigits(12),
// Formatting button labels
'$edbold' => DI::l10n()->t('Bold'),
'$editalic' => DI::l10n()->t('Italic'),
'$eduline' => DI::l10n()->t('Underline'),
'$edquote' => DI::l10n()->t('Quote'),
'$edcode' => DI::l10n()->t('Code'),
'$edurl' => DI::l10n()->t('Link'),
'$edattach' => DI::l10n()->t('Link or Media'),
//jot nav tab (used in some themes) //jot nav tab (used in some themes)
'$message' => DI::l10n()->t('Message'), '$message' => DI::l10n()->t('Message'),
'$browser' => DI::l10n()->t('Browser'), '$browser' => DI::l10n()->t('Browser'),

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2021.12-dev\n" "Project-Id-Version: 2021.12-dev\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-11-12 21:54+0100\n" "POT-Creation-Date: 2021-11-15 19:02-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -293,23 +293,58 @@ msgstr ""
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: mod/editpost.php:134 src/Content/Conversation.php:380 #: mod/editpost.php:134 src/Content/Conversation.php:331
#: src/Module/Item/Compose.php:151 src/Object/Post.php:965
msgid "Bold"
msgstr ""
#: mod/editpost.php:135 src/Content/Conversation.php:332
#: src/Module/Item/Compose.php:152 src/Object/Post.php:966
msgid "Italic"
msgstr ""
#: mod/editpost.php:136 src/Content/Conversation.php:333
#: src/Module/Item/Compose.php:153 src/Object/Post.php:967
msgid "Underline"
msgstr ""
#: mod/editpost.php:137 src/Content/Conversation.php:334
#: src/Module/Item/Compose.php:154 src/Object/Post.php:968
msgid "Quote"
msgstr ""
#: mod/editpost.php:138 src/Content/Conversation.php:335
#: src/Module/Item/Compose.php:155 src/Object/Post.php:969
msgid "Code"
msgstr ""
#: mod/editpost.php:139 src/Content/Conversation.php:337
#: src/Module/Item/Compose.php:157 src/Object/Post.php:971
msgid "Link"
msgstr ""
#: mod/editpost.php:140 src/Content/Conversation.php:338
#: src/Module/Item/Compose.php:158 src/Object/Post.php:972
msgid "Link or Media"
msgstr ""
#: mod/editpost.php:143 src/Content/Conversation.php:380
#: src/Content/Widget/VCard.php:107 src/Model/Profile.php:460 #: src/Content/Widget/VCard.php:107 src/Model/Profile.php:460
#: src/Module/Admin/Logs/View.php:92 #: src/Module/Admin/Logs/View.php:92
msgid "Message" msgid "Message"
msgstr "" msgstr ""
#: mod/editpost.php:135 src/Content/Conversation.php:381 #: mod/editpost.php:144 src/Content/Conversation.php:381
#: src/Module/Settings/TwoFactor/Trusted.php:101 #: src/Module/Settings/TwoFactor/Trusted.php:101
msgid "Browser" msgid "Browser"
msgstr "" msgstr ""
#: mod/editpost.php:136 mod/events.php:522 mod/photos.php:945 #: mod/editpost.php:145 mod/events.php:522 mod/photos.php:945
#: mod/photos.php:1297 src/Content/Conversation.php:357 #: mod/photos.php:1297 src/Content/Conversation.php:357
msgid "Permissions" msgid "Permissions"
msgstr "" msgstr ""
#: mod/editpost.php:138 src/Content/Conversation.php:383 #: mod/editpost.php:147 src/Content/Conversation.php:383
msgid "Open Compose page" msgid "Open Compose page"
msgstr "" msgstr ""
@ -2484,46 +2519,11 @@ msgstr ""
msgid "Share" msgid "Share"
msgstr "" msgstr ""
#: src/Content/Conversation.php:331 src/Module/Item/Compose.php:151
#: src/Object/Post.php:965
msgid "Bold"
msgstr ""
#: src/Content/Conversation.php:332 src/Module/Item/Compose.php:152
#: src/Object/Post.php:966
msgid "Italic"
msgstr ""
#: src/Content/Conversation.php:333 src/Module/Item/Compose.php:153
#: src/Object/Post.php:967
msgid "Underline"
msgstr ""
#: src/Content/Conversation.php:334 src/Module/Item/Compose.php:154
#: src/Object/Post.php:968
msgid "Quote"
msgstr ""
#: src/Content/Conversation.php:335 src/Module/Item/Compose.php:155
#: src/Object/Post.php:969
msgid "Code"
msgstr ""
#: src/Content/Conversation.php:336 src/Module/Item/Compose.php:156 #: src/Content/Conversation.php:336 src/Module/Item/Compose.php:156
#: src/Object/Post.php:970 #: src/Object/Post.php:970
msgid "Image" msgid "Image"
msgstr "" msgstr ""
#: src/Content/Conversation.php:337 src/Module/Item/Compose.php:157
#: src/Object/Post.php:971
msgid "Link"
msgstr ""
#: src/Content/Conversation.php:338 src/Module/Item/Compose.php:158
#: src/Object/Post.php:972
msgid "Link or Media"
msgstr ""
#: src/Content/Conversation.php:339 #: src/Content/Conversation.php:339
msgid "Video" msgid "Video"
msgstr "" msgstr ""
@ -6798,12 +6798,12 @@ msgstr ""
msgid "Deny" msgid "Deny"
msgstr "" msgstr ""
#: src/Module/Api/ApiResponse.php:234 #: src/Module/Api/ApiResponse.php:230
#, php-format #, php-format
msgid "API endpoint %s %s is not implemented" msgid "API endpoint %s %s is not implemented"
msgstr "" msgstr ""
#: src/Module/Api/ApiResponse.php:235 #: src/Module/Api/ApiResponse.php:231
msgid "" msgid ""
"The API endpoint is currently not implemented but might be in the future." "The API endpoint is currently not implemented but might be in the future."
msgstr "" msgstr ""