Another attempt to satisfy prettier requirements

This commit is contained in:
Wladimir Palant 2024-12-03 15:20:32 +01:00
parent 81dabb440f
commit dd3201007f
2 changed files with 54 additions and 52 deletions

View file

@ -1883,7 +1883,9 @@ const Textarea = forwardRef((props, ref) => {
url, url,
)}" width="16" height="16" alt="" loading="lazy" />`; )}" width="16" height="16" alt="" loading="lazy" />`;
html += ` html += `
<li role="option" data-value="${encodeHTML(unicode || `:${shortcode}:`)}"> <li role="option" data-value="${encodeHTML(
unicode || `:${shortcode}:`,
)}">
${presentation} ${presentation}
${encodeHTML(shortcode || '')} ${encodeHTML(shortcode || '')}
</li>`; </li>`;

102
src/locales/en.po generated
View file

@ -104,7 +104,7 @@ msgstr ""
#: src/components/account-info.jsx:429 #: src/components/account-info.jsx:429
#: src/components/account-info.jsx:1120 #: src/components/account-info.jsx:1120
#: src/components/compose.jsx:2602 #: src/components/compose.jsx:2606
#: src/components/media-alt-modal.jsx:45 #: src/components/media-alt-modal.jsx:45
#: src/components/media-modal.jsx:357 #: src/components/media-modal.jsx:357
#: src/components/status.jsx:1737 #: src/components/status.jsx:1737
@ -400,10 +400,10 @@ msgstr ""
#: src/components/account-info.jsx:2094 #: src/components/account-info.jsx:2094
#: src/components/account-sheet.jsx:37 #: src/components/account-sheet.jsx:37
#: src/components/compose.jsx:859 #: src/components/compose.jsx:859
#: src/components/compose.jsx:2558 #: src/components/compose.jsx:2562
#: src/components/compose.jsx:3031 #: src/components/compose.jsx:3035
#: src/components/compose.jsx:3239 #: src/components/compose.jsx:3247
#: src/components/compose.jsx:3471 #: src/components/compose.jsx:3483
#: src/components/drafts.jsx:58 #: src/components/drafts.jsx:58
#: src/components/embed-modal.jsx:12 #: src/components/embed-modal.jsx:12
#: src/components/generic-accounts.jsx:142 #: src/components/generic-accounts.jsx:142
@ -681,7 +681,7 @@ msgid "Mark media as sensitive"
msgstr "" msgstr ""
#: src/components/compose.jsx:1381 #: src/components/compose.jsx:1381
#: src/components/compose.jsx:3089 #: src/components/compose.jsx:3093
#: src/components/shortcuts-settings.jsx:715 #: src/components/shortcuts-settings.jsx:715
#: src/pages/list.jsx:359 #: src/pages/list.jsx:359
msgid "Add" msgid "Add"
@ -713,172 +713,172 @@ msgstr ""
msgid "Failed to download GIF" msgid "Failed to download GIF"
msgstr "" msgstr ""
#: src/components/compose.jsx:1889 #: src/components/compose.jsx:1893
#: src/components/compose.jsx:1966 #: src/components/compose.jsx:1970
#: src/components/nav-menu.jsx:238 #: src/components/nav-menu.jsx:238
msgid "More…" msgid "More…"
msgstr "" msgstr ""
#: src/components/compose.jsx:2371 #: src/components/compose.jsx:2375
msgid "Uploaded" msgid "Uploaded"
msgstr "" msgstr ""
#: src/components/compose.jsx:2384 #: src/components/compose.jsx:2388
msgid "Image description" msgid "Image description"
msgstr "" msgstr ""
#: src/components/compose.jsx:2385 #: src/components/compose.jsx:2389
msgid "Video description" msgid "Video description"
msgstr "" msgstr ""
#: src/components/compose.jsx:2386 #: src/components/compose.jsx:2390
msgid "Audio description" msgid "Audio description"
msgstr "" msgstr ""
#: src/components/compose.jsx:2422 #: src/components/compose.jsx:2426
#: src/components/compose.jsx:2442 #: src/components/compose.jsx:2446
msgid "File size too large. Uploading might encounter issues. Try reduce the file size from {0} to {1} or lower." msgid "File size too large. Uploading might encounter issues. Try reduce the file size from {0} to {1} or lower."
msgstr "" msgstr ""
#: src/components/compose.jsx:2434 #: src/components/compose.jsx:2438
#: src/components/compose.jsx:2454 #: src/components/compose.jsx:2458
msgid "Dimension too large. Uploading might encounter issues. Try reduce dimension from {0}×{1}px to {2}×{3}px." msgid "Dimension too large. Uploading might encounter issues. Try reduce dimension from {0}×{1}px to {2}×{3}px."
msgstr "" msgstr ""
#: src/components/compose.jsx:2462 #: src/components/compose.jsx:2466
msgid "Frame rate too high. Uploading might encounter issues." msgid "Frame rate too high. Uploading might encounter issues."
msgstr "" msgstr ""
#: src/components/compose.jsx:2522 #: src/components/compose.jsx:2526
#: src/components/compose.jsx:2772 #: src/components/compose.jsx:2776
#: src/components/shortcuts-settings.jsx:726 #: src/components/shortcuts-settings.jsx:726
#: src/pages/catchup.jsx:1074 #: src/pages/catchup.jsx:1074
#: src/pages/filters.jsx:412 #: src/pages/filters.jsx:412
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: src/components/compose.jsx:2539 #: src/components/compose.jsx:2543
#: src/compose.jsx:83 #: src/compose.jsx:83
msgid "Error" msgid "Error"
msgstr "" msgstr ""
#: src/components/compose.jsx:2564 #: src/components/compose.jsx:2568
msgid "Edit image description" msgid "Edit image description"
msgstr "" msgstr ""
#: src/components/compose.jsx:2565 #: src/components/compose.jsx:2569
msgid "Edit video description" msgid "Edit video description"
msgstr "" msgstr ""
#: src/components/compose.jsx:2566 #: src/components/compose.jsx:2570
msgid "Edit audio description" msgid "Edit audio description"
msgstr "" msgstr ""
#: src/components/compose.jsx:2611 #: src/components/compose.jsx:2615
#: src/components/compose.jsx:2660 #: src/components/compose.jsx:2664
msgid "Generating description. Please wait…" msgid "Generating description. Please wait…"
msgstr "" msgstr ""
#: src/components/compose.jsx:2631 #: src/components/compose.jsx:2635
msgid "Failed to generate description: {0}" msgid "Failed to generate description: {0}"
msgstr "" msgstr ""
#: src/components/compose.jsx:2632 #: src/components/compose.jsx:2636
msgid "Failed to generate description" msgid "Failed to generate description"
msgstr "" msgstr ""
#: src/components/compose.jsx:2644 #: src/components/compose.jsx:2648
#: src/components/compose.jsx:2650 #: src/components/compose.jsx:2654
#: src/components/compose.jsx:2696 #: src/components/compose.jsx:2700
msgid "Generate description…" msgid "Generate description…"
msgstr "" msgstr ""
#: src/components/compose.jsx:2683 #: src/components/compose.jsx:2687
msgid "Failed to generate description{0}" msgid "Failed to generate description{0}"
msgstr "" msgstr ""
#: src/components/compose.jsx:2698 #: src/components/compose.jsx:2702
msgid "({0}) <0>— experimental</0>" msgid "({0}) <0>— experimental</0>"
msgstr "" msgstr ""
#: src/components/compose.jsx:2717 #: src/components/compose.jsx:2721
msgid "Done" msgid "Done"
msgstr "" msgstr ""
#: src/components/compose.jsx:2753 #: src/components/compose.jsx:2757
msgid "Choice {0}" msgid "Choice {0}"
msgstr "" msgstr ""
#: src/components/compose.jsx:2800 #: src/components/compose.jsx:2804
msgid "Multiple choices" msgid "Multiple choices"
msgstr "" msgstr ""
#: src/components/compose.jsx:2803 #: src/components/compose.jsx:2807
msgid "Duration" msgid "Duration"
msgstr "" msgstr ""
#: src/components/compose.jsx:2834 #: src/components/compose.jsx:2838
msgid "Remove poll" msgid "Remove poll"
msgstr "" msgstr ""
#: src/components/compose.jsx:3048 #: src/components/compose.jsx:3052
msgid "Search accounts" msgid "Search accounts"
msgstr "" msgstr ""
#: src/components/compose.jsx:3102 #: src/components/compose.jsx:3106
#: src/components/generic-accounts.jsx:227 #: src/components/generic-accounts.jsx:227
msgid "Error loading accounts" msgid "Error loading accounts"
msgstr "" msgstr ""
#: src/components/compose.jsx:3245 #: src/components/compose.jsx:3253
msgid "Custom emojis" msgid "Custom emojis"
msgstr "" msgstr ""
#: src/components/compose.jsx:3265 #: src/components/compose.jsx:3275
msgid "Search emoji" msgid "Search emoji"
msgstr "" msgstr ""
#: src/components/compose.jsx:3296 #: src/components/compose.jsx:3308
msgid "Error loading custom emojis" msgid "Error loading custom emojis"
msgstr "" msgstr ""
#: src/components/compose.jsx:3307 #: src/components/compose.jsx:3319
msgid "Recently used" msgid "Recently used"
msgstr "" msgstr ""
#: src/components/compose.jsx:3308 #: src/components/compose.jsx:3320
msgid "Others" msgid "Others"
msgstr "" msgstr ""
#: src/components/compose.jsx:3346 #: src/components/compose.jsx:3358
msgid "{0} more…" msgid "{0} more…"
msgstr "" msgstr ""
#: src/components/compose.jsx:3486 #: src/components/compose.jsx:3498
msgid "Search GIFs" msgid "Search GIFs"
msgstr "" msgstr ""
#: src/components/compose.jsx:3501 #: src/components/compose.jsx:3513
msgid "Powered by GIPHY" msgid "Powered by GIPHY"
msgstr "" msgstr ""
#: src/components/compose.jsx:3509 #: src/components/compose.jsx:3521
msgid "Type to search GIFs" msgid "Type to search GIFs"
msgstr "" msgstr ""
#: src/components/compose.jsx:3607 #: src/components/compose.jsx:3619
#: src/components/media-modal.jsx:461 #: src/components/media-modal.jsx:461
#: src/components/timeline.jsx:889 #: src/components/timeline.jsx:889
msgid "Previous" msgid "Previous"
msgstr "" msgstr ""
#: src/components/compose.jsx:3625 #: src/components/compose.jsx:3637
#: src/components/media-modal.jsx:480 #: src/components/media-modal.jsx:480
#: src/components/timeline.jsx:906 #: src/components/timeline.jsx:906
msgid "Next" msgid "Next"
msgstr "" msgstr ""
#: src/components/compose.jsx:3642 #: src/components/compose.jsx:3654
msgid "Error loading GIFs" msgid "Error loading GIFs"
msgstr "" msgstr ""