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