diff --git a/src/components/compose.jsx b/src/components/compose.jsx index 17d4c43ba..f71f9df08 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -1466,7 +1466,14 @@ function Compose({ class="large" disabled={uiState === 'loading'} > - {replyToStatus ? t`Reply` : editStatus ? t`Update` : t`Post`} + {replyToStatus + ? t`Reply` + : editStatus + ? t`Update` + : t({ + message: 'Post', + context: 'Submit button in composer', + })} diff --git a/src/locales/en.po b/src/locales/en.po index 566dbb2b0..938dd8567 100644 --- a/src/locales/en.po +++ b/src/locales/en.po @@ -105,7 +105,7 @@ msgstr "" #: src/components/account-info.jsx:428 #: src/components/account-info.jsx:1116 -#: src/components/compose.jsx:2444 +#: src/components/compose.jsx:2451 #: src/components/media-alt-modal.jsx:45 #: src/components/media-modal.jsx:283 #: src/components/status.jsx:1628 @@ -401,10 +401,10 @@ msgstr "" #: src/components/account-info.jsx:2087 #: src/components/account-sheet.jsx:37 #: src/components/compose.jsx:797 -#: src/components/compose.jsx:2400 -#: src/components/compose.jsx:2873 -#: src/components/compose.jsx:3081 -#: src/components/compose.jsx:3311 +#: src/components/compose.jsx:2407 +#: src/components/compose.jsx:2880 +#: src/components/compose.jsx:3088 +#: src/components/compose.jsx:3318 #: src/components/drafts.jsx:58 #: src/components/embed-modal.jsx:12 #: src/components/generic-accounts.jsx:142 @@ -543,7 +543,7 @@ msgstr "" #: src/components/compose.jsx:614 #: src/components/compose.jsx:630 #: src/components/compose.jsx:1328 -#: src/components/compose.jsx:1582 +#: src/components/compose.jsx:1589 msgid "{maxMediaAttachments, plural, one {You can only attach up to 1 file.} other {You can only attach up to # files.}}" msgstr "" @@ -657,7 +657,7 @@ msgstr "" msgid "Add custom emoji" msgstr "" -#: src/components/compose.jsx:1469 +#: src/components/compose.jsx:1470 #: src/components/keyboard-shortcuts-help.jsx:143 #: src/components/status.jsx:830 #: src/components/status.jsx:1608 @@ -666,194 +666,194 @@ msgstr "" msgid "Reply" msgstr "" -#: src/components/compose.jsx:1469 +#: src/components/compose.jsx:1472 msgid "Update" msgstr "" -#: src/components/compose.jsx:1469 -#: src/pages/status.jsx:565 +#: src/components/compose.jsx:1473 +msgctxt "Submit button in composer" msgid "Post" msgstr "" -#: src/components/compose.jsx:1594 +#: src/components/compose.jsx:1601 msgid "Downloading GIF…" msgstr "" -#: src/components/compose.jsx:1622 +#: src/components/compose.jsx:1629 msgid "Failed to download GIF" msgstr "" -#: src/components/compose.jsx:1733 -#: src/components/compose.jsx:1810 +#: src/components/compose.jsx:1740 +#: src/components/compose.jsx:1817 #: src/components/nav-menu.jsx:287 msgid "More…" msgstr "" -#: src/components/compose.jsx:2213 +#: src/components/compose.jsx:2220 msgid "Uploaded" msgstr "" -#: src/components/compose.jsx:2226 +#: src/components/compose.jsx:2233 msgid "Image description" msgstr "" -#: src/components/compose.jsx:2227 +#: src/components/compose.jsx:2234 msgid "Video description" msgstr "" -#: src/components/compose.jsx:2228 +#: src/components/compose.jsx:2235 msgid "Audio description" msgstr "" -#: src/components/compose.jsx:2264 -#: src/components/compose.jsx:2284 +#: src/components/compose.jsx:2271 +#: src/components/compose.jsx:2291 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:2276 -#: src/components/compose.jsx:2296 +#: src/components/compose.jsx:2283 +#: src/components/compose.jsx:2303 msgid "Dimension too large. Uploading might encounter issues. Try reduce dimension from {0}×{1}px to {2}×{3}px." msgstr "" -#: src/components/compose.jsx:2304 +#: src/components/compose.jsx:2311 msgid "Frame rate too high. Uploading might encounter issues." msgstr "" -#: src/components/compose.jsx:2364 -#: src/components/compose.jsx:2614 +#: src/components/compose.jsx:2371 +#: src/components/compose.jsx:2621 #: src/components/shortcuts-settings.jsx:723 #: src/pages/catchup.jsx:1058 #: src/pages/filters.jsx:412 msgid "Remove" msgstr "" -#: src/components/compose.jsx:2381 +#: src/components/compose.jsx:2388 msgid "Error" msgstr "" -#: src/components/compose.jsx:2406 +#: src/components/compose.jsx:2413 msgid "Edit image description" msgstr "" -#: src/components/compose.jsx:2407 +#: src/components/compose.jsx:2414 msgid "Edit video description" msgstr "" -#: src/components/compose.jsx:2408 +#: src/components/compose.jsx:2415 msgid "Edit audio description" msgstr "" -#: src/components/compose.jsx:2453 -#: src/components/compose.jsx:2502 +#: src/components/compose.jsx:2460 +#: src/components/compose.jsx:2509 msgid "Generating description. Please wait…" msgstr "" -#: src/components/compose.jsx:2473 +#: src/components/compose.jsx:2480 msgid "Failed to generate description: {0}" msgstr "" -#: src/components/compose.jsx:2474 +#: src/components/compose.jsx:2481 msgid "Failed to generate description" msgstr "" -#: src/components/compose.jsx:2486 -#: src/components/compose.jsx:2492 -#: src/components/compose.jsx:2538 +#: src/components/compose.jsx:2493 +#: src/components/compose.jsx:2499 +#: src/components/compose.jsx:2545 msgid "Generate description…" msgstr "" -#: src/components/compose.jsx:2525 +#: src/components/compose.jsx:2532 msgid "Failed to generate description{0}" msgstr "" -#: src/components/compose.jsx:2540 +#: src/components/compose.jsx:2547 msgid "({0}) <0>— experimental" msgstr "" -#: src/components/compose.jsx:2559 +#: src/components/compose.jsx:2566 msgid "Done" msgstr "" -#: src/components/compose.jsx:2595 +#: src/components/compose.jsx:2602 msgid "Choice {0}" msgstr "" -#: src/components/compose.jsx:2642 +#: src/components/compose.jsx:2649 msgid "Multiple choices" msgstr "" -#: src/components/compose.jsx:2645 +#: src/components/compose.jsx:2652 msgid "Duration" msgstr "" -#: src/components/compose.jsx:2676 +#: src/components/compose.jsx:2683 msgid "Remove poll" msgstr "" -#: src/components/compose.jsx:2890 +#: src/components/compose.jsx:2897 msgid "Search accounts" msgstr "" -#: src/components/compose.jsx:2931 +#: src/components/compose.jsx:2938 #: src/components/shortcuts-settings.jsx:712 #: src/pages/list.jsx:359 msgid "Add" msgstr "" -#: src/components/compose.jsx:2944 +#: src/components/compose.jsx:2951 #: src/components/generic-accounts.jsx:227 msgid "Error loading accounts" msgstr "" -#: src/components/compose.jsx:3087 +#: src/components/compose.jsx:3094 msgid "Custom emojis" msgstr "" -#: src/components/compose.jsx:3107 +#: src/components/compose.jsx:3114 msgid "Search emoji" msgstr "" -#: src/components/compose.jsx:3138 +#: src/components/compose.jsx:3145 msgid "Error loading custom emojis" msgstr "" -#: src/components/compose.jsx:3149 +#: src/components/compose.jsx:3156 msgid "Recently used" msgstr "" -#: src/components/compose.jsx:3150 +#: src/components/compose.jsx:3157 msgid "Others" msgstr "" -#: src/components/compose.jsx:3188 +#: src/components/compose.jsx:3195 msgid "{0} more…" msgstr "" -#: src/components/compose.jsx:3326 +#: src/components/compose.jsx:3333 msgid "Search GIFs" msgstr "" -#: src/components/compose.jsx:3341 +#: src/components/compose.jsx:3348 msgid "Powered by GIPHY" msgstr "" -#: src/components/compose.jsx:3349 +#: src/components/compose.jsx:3356 msgid "Type to search GIFs" msgstr "" -#: src/components/compose.jsx:3447 +#: src/components/compose.jsx:3454 #: src/components/media-modal.jsx:387 #: src/components/timeline.jsx:880 msgid "Previous" msgstr "" -#: src/components/compose.jsx:3465 +#: src/components/compose.jsx:3472 #: src/components/media-modal.jsx:406 #: src/components/timeline.jsx:897 msgid "Next" msgstr "" -#: src/components/compose.jsx:3482 +#: src/components/compose.jsx:3489 msgid "Error loading GIFs" msgstr "" @@ -3485,6 +3485,10 @@ msgstr "" msgid "NOTE: Push notifications only work for <0>one account." msgstr "" +#: src/pages/status.jsx:565 +msgid "Post" +msgstr "" + #: src/pages/status.jsx:786 msgid "You're not logged in. Interactions (reply, boost, etc) are not possible." msgstr ""