Fix missing lingui stuff

This commit is contained in:
Lim Chee Aun 2024-12-21 20:35:15 +08:00
parent d160e35f87
commit 02238d85c1
5 changed files with 313 additions and 153 deletions

View file

@ -941,7 +941,7 @@ function RelatedActions({
onProfileUpdate = () => {}, onProfileUpdate = () => {},
}) { }) {
if (!info) return null; if (!info) return null;
const { _ } = useLingui(); const { _, t } = useLingui();
const { const {
masto: currentMasto, masto: currentMasto,
instance: currentInstance, instance: currentInstance,
@ -1793,6 +1793,7 @@ function niceAccountURL(url) {
} }
function TranslatedBioSheet({ note, fields, onClose }) { function TranslatedBioSheet({ note, fields, onClose }) {
const { t } = useLingui();
const fieldsText = const fieldsText =
fields fields
?.map(({ name, value }) => `${name}\n${getHTMLText(value)}`) ?.map(({ name, value }) => `${name}\n${getHTMLText(value)}`)
@ -1827,6 +1828,7 @@ function TranslatedBioSheet({ note, fields, onClose }) {
} }
function AddRemoveListsSheet({ accountID, onClose }) { function AddRemoveListsSheet({ accountID, onClose }) {
const { t } = useLingui();
const { masto } = api(); const { masto } = api();
const [uiState, setUIState] = useState('default'); const [uiState, setUIState] = useState('default');
const [lists, setLists] = useState([]); const [lists, setLists] = useState([]);
@ -1971,6 +1973,7 @@ function PrivateNoteSheet({
onRelationshipChange = () => {}, onRelationshipChange = () => {},
onClose = () => {}, onClose = () => {},
}) { }) {
const { t } = useLingui();
const { masto } = api(); const { masto } = api();
const [uiState, setUIState] = useState('default'); const [uiState, setUIState] = useState('default');
const textareaRef = useRef(null); const textareaRef = useRef(null);
@ -2065,6 +2068,7 @@ function PrivateNoteSheet({
} }
function EditProfileSheet({ onClose = () => {} }) { function EditProfileSheet({ onClose = () => {} }) {
const { t } = useLingui();
const { masto } = api(); const { masto } = api();
const [uiState, setUIState] = useState('loading'); const [uiState, setUIState] = useState('loading');
const [account, setAccount] = useState(null); const [account, setAccount] = useState(null);

View file

@ -1813,6 +1813,7 @@ const detectLangs = async (text) => {
}; };
const Textarea = forwardRef((props, ref) => { const Textarea = forwardRef((props, ref) => {
const { t } = useLingui();
const { masto, instance } = api(); const { masto, instance } = api();
const [text, setText] = useState(ref.current?.value || ''); const [text, setText] = useState(ref.current?.value || '');
const { const {
@ -2725,7 +2726,7 @@ function Poll({
minExpiration, minExpiration,
maxCharactersPerOption, maxCharactersPerOption,
}) { }) {
const { _ } = useLingui(); const { t } = useLingui();
const { options, expiresIn, multiple } = poll; const { options, expiresIn, multiple } = poll;
return ( return (
@ -2880,6 +2881,7 @@ function MentionModal({
onSelect = () => {}, onSelect = () => {},
defaultSearchTerm, defaultSearchTerm,
}) { }) {
const { t } = useLingui();
const { masto } = api(); const { masto } = api();
const [uiState, setUIState] = useState('default'); const [uiState, setUIState] = useState('default');
const [accounts, setAccounts] = useState([]); const [accounts, setAccounts] = useState([]);
@ -3104,6 +3106,7 @@ function CustomEmojisModal({
onSelect = () => {}, onSelect = () => {},
defaultSearchTerm, defaultSearchTerm,
}) { }) {
const { t } = useLingui();
const [uiState, setUIState] = useState('default'); const [uiState, setUIState] = useState('default');
const customEmojisList = useRef([]); const customEmojisList = useRef([]);
const [customEmojis, setCustomEmojis] = useState([]); const [customEmojis, setCustomEmojis] = useState([]);
@ -3399,7 +3402,7 @@ const CustomEmojiButton = memo(({ emoji, onClick, showCode }) => {
const GIFS_PER_PAGE = 20; const GIFS_PER_PAGE = 20;
function GIFPickerModal({ onClose = () => {}, onSelect = () => {} }) { function GIFPickerModal({ onClose = () => {}, onSelect = () => {} }) {
const { i18n } = useLingui(); const { i18n, t } = useLingui();
const [uiState, setUIState] = useState('default'); const [uiState, setUIState] = useState('default');
const [results, setResults] = useState([]); const [results, setResults] = useState([]);
const formRef = useRef(null); const formRef = useRef(null);

View file

@ -216,6 +216,7 @@ function Drafts({ onClose }) {
} }
function MiniDraft({ draft }) { function MiniDraft({ draft }) {
const { t } = useLingui();
const { draftStatus, replyTo } = draft; const { draftStatus, replyTo } = draft;
const { status, spoilerText, poll, mediaAttachments } = draftStatus; const { status, spoilerText, poll, mediaAttachments } = draftStatus;
const hasPoll = poll?.options?.length > 0; const hasPoll = poll?.options?.length > 0;

View file

@ -1,3 +1,4 @@
import { i18n } from '@lingui/core';
import { plural } from '@lingui/core/macro'; import { plural } from '@lingui/core/macro';
import { Plural, Trans, useLingui } from '@lingui/react/macro'; import { Plural, Trans, useLingui } from '@lingui/react/macro';
import { useState } from 'preact/hooks'; import { useState } from 'preact/hooks';

451
src/locales/en.po generated
View file

@ -107,7 +107,8 @@ msgid "Posts"
msgstr "" msgstr ""
#: src/components/account-info.jsx:429 #: src/components/account-info.jsx:429
#: src/components/compose.jsx:2591 #: src/components/account-info.jsx:1120
#: src/components/compose.jsx:2592
#: src/components/media-alt-modal.jsx:46 #: src/components/media-alt-modal.jsx:46
#: src/components/media-modal.jsx:358 #: src/components/media-modal.jsx:358
#: src/components/status.jsx:1737 #: src/components/status.jsx:1737
@ -130,10 +131,12 @@ msgid "<0>{displayName}</0> has indicated that their new account is now:"
msgstr "" msgstr ""
#: src/components/account-info.jsx:586 #: src/components/account-info.jsx:586
#: src/components/account-info.jsx:1278
msgid "Handle copied" msgid "Handle copied"
msgstr "Handle copied" msgstr "Handle copied"
#: src/components/account-info.jsx:589 #: src/components/account-info.jsx:589
#: src/components/account-info.jsx:1281
msgid "Unable to copy handle" msgid "Unable to copy handle"
msgstr "Unable to copy handle" msgstr "Unable to copy handle"
@ -231,6 +234,10 @@ msgstr ""
msgid "Blocked" msgid "Blocked"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1096
msgid "Private note"
msgstr "Private note"
#: src/components/account-info.jsx:1153 #: src/components/account-info.jsx:1153
msgid "Mention <0>@{username}</0>" msgid "Mention <0>@{username}</0>"
msgstr "" msgstr ""
@ -239,12 +246,62 @@ msgstr ""
msgid "Translate bio" msgid "Translate bio"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1176
msgid "Edit private note"
msgstr "Edit private note"
#: src/components/account-info.jsx:1176
msgid "Add private note"
msgstr "Add private note"
#: src/components/account-info.jsx:1196
msgid "Notifications enabled for @{username}'s posts."
msgstr "Notifications enabled for @{username}'s posts."
#: src/components/account-info.jsx:1197
msgid " Notifications disabled for @{username}'s posts."
msgstr " Notifications disabled for @{username}'s posts."
#: src/components/account-info.jsx:1209
msgid "Disable notifications"
msgstr "Disable notifications"
#: src/components/account-info.jsx:1210
msgid "Enable notifications"
msgstr "Enable notifications"
#: src/components/account-info.jsx:1227
msgid "Boosts from @{username} enabled."
msgstr "Boosts from @{username} enabled."
#: src/components/account-info.jsx:1228
msgid "Boosts from @{username} disabled."
msgstr "Boosts from @{username} disabled."
#: src/components/account-info.jsx:1239
msgid "Disable boosts"
msgstr "Disable boosts"
#: src/components/account-info.jsx:1239
msgid "Enable boosts"
msgstr "Enable boosts"
#: src/components/account-info.jsx:1255 #: src/components/account-info.jsx:1255
#: src/components/account-info.jsx:1265 #: src/components/account-info.jsx:1265
#: src/components/account-info.jsx:1866 #: src/components/account-info.jsx:1868
msgid "Add/Remove from Lists" msgid "Add/Remove from Lists"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1304
#: src/components/status.jsx:1177
msgid "Link copied"
msgstr ""
#: src/components/account-info.jsx:1307
#: src/components/status.jsx:1180
msgid "Unable to copy link"
msgstr ""
#: src/components/account-info.jsx:1313 #: src/components/account-info.jsx:1313
#: src/components/shortcuts-settings.jsx:1059 #: src/components/shortcuts-settings.jsx:1059
#: src/components/status.jsx:1186 #: src/components/status.jsx:1186
@ -252,11 +309,21 @@ msgstr ""
msgid "Copy" msgid "Copy"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1328
#: src/components/shortcuts-settings.jsx:1077
#: src/components/status.jsx:1202
msgid "Sharing doesn't seem to work."
msgstr ""
#: src/components/account-info.jsx:1334 #: src/components/account-info.jsx:1334
#: src/components/status.jsx:1208 #: src/components/status.jsx:1208
msgid "Share…" msgid "Share…"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1354
msgid "Unmuted @{username}"
msgstr "Unmuted @{username}"
#: src/components/account-info.jsx:1366 #: src/components/account-info.jsx:1366
msgid "Unmute <0>@{username}</0>" msgid "Unmute <0>@{username}</0>"
msgstr "" msgstr ""
@ -265,10 +332,23 @@ msgstr ""
msgid "Mute <0>@{username}</0>…" msgid "Mute <0>@{username}</0>…"
msgstr "" msgstr ""
#. placeholder {0}: typeof MUTE_DURATIONS_LABELS[duration] === 'function' ? MUTE_DURATIONS_LABELS[duration]() : _(MUTE_DURATIONS_LABELS[duration])
#: src/components/account-info.jsx:1414
msgid "Muted @{username} for {0}"
msgstr "Muted @{username} for {0}"
#: src/components/account-info.jsx:1426
msgid "Unable to mute @{username}"
msgstr "Unable to mute @{username}"
#: src/components/account-info.jsx:1447 #: src/components/account-info.jsx:1447
msgid "Remove <0>@{username}</0> from followers?" msgid "Remove <0>@{username}</0> from followers?"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1467
msgid "@{username} removed from followers"
msgstr "@{username} removed from followers"
#: src/components/account-info.jsx:1479 #: src/components/account-info.jsx:1479
msgid "Remove follower…" msgid "Remove follower…"
msgstr "" msgstr ""
@ -277,6 +357,22 @@ msgstr ""
msgid "Block <0>@{username}</0>?" msgid "Block <0>@{username}</0>?"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1514
msgid "Unblocked @{username}"
msgstr "Unblocked @{username}"
#: src/components/account-info.jsx:1522
msgid "Blocked @{username}"
msgstr "Blocked @{username}"
#: src/components/account-info.jsx:1530
msgid "Unable to unblock @{username}"
msgstr "Unable to unblock @{username}"
#: src/components/account-info.jsx:1532
msgid "Unable to block @{username}"
msgstr "Unable to block @{username}"
#: src/components/account-info.jsx:1542 #: src/components/account-info.jsx:1542
msgid "Unblock <0>@{username}</0>" msgid "Unblock <0>@{username}</0>"
msgstr "" msgstr ""
@ -290,10 +386,19 @@ msgid "Report <0>@{username}</0>…"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1588 #: src/components/account-info.jsx:1588
#: src/components/account-info.jsx:2099 #: src/components/account-info.jsx:2103
msgid "Edit profile" msgid "Edit profile"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1624
msgid "Withdraw follow request?"
msgstr "Withdraw follow request?"
#. placeholder {1}: info.acct || info.username
#: src/components/account-info.jsx:1625
msgid "Unfollow @{1}?"
msgstr "Unfollow @{1}?"
#: src/components/account-info.jsx:1676 #: src/components/account-info.jsx:1676
msgid "Unfollow…" msgid "Unfollow…"
msgstr "" msgstr ""
@ -303,83 +408,21 @@ msgid "Withdraw…"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1692 #: src/components/account-info.jsx:1692
#: src/components/account-info.jsx:1696
#: src/pages/hashtag.jsx:262 #: src/pages/hashtag.jsx:262
msgid "Follow" msgid "Follow"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1812 #: src/components/account-info.jsx:1808
msgid "Translated Bio" #: src/components/account-info.jsx:1863
msgstr "" #: src/components/account-info.jsx:1997
#: src/components/account-info.jsx:2098
#: src/components/account-info.jsx:1926
#: src/pages/lists.jsx:105
msgid "Unable to load lists."
msgstr ""
#: src/components/account-info.jsx:1930
msgid "No lists."
msgstr ""
#: src/components/account-info.jsx:1941
#: src/components/list-add-edit.jsx:40
#: src/pages/lists.jsx:59
msgid "New list"
msgstr ""
#. placeholder {0}: account?.username || account?.acct
#: src/components/account-info.jsx:1999
msgid "Private note about <0>@{0}</0>"
msgstr ""
#: src/components/account-info.jsx:2052
#: src/components/account-info.jsx:2222
msgid "Cancel"
msgstr ""
#: src/components/account-info.jsx:2057
msgid "Save & close"
msgstr ""
#: src/components/account-info.jsx:2157
#: src/components/list-add-edit.jsx:105
msgid "Name"
msgstr ""
#: src/components/account-info.jsx:2170
msgid "Bio"
msgstr ""
#: src/components/account-info.jsx:2183
msgid "Extra fields"
msgstr ""
#: src/components/account-info.jsx:2189
msgid "Label"
msgstr ""
#: src/components/account-info.jsx:2192
msgid "Content"
msgstr ""
#: src/components/account-info.jsx:2225
#: src/components/list-add-edit.jsx:150
#: src/components/shortcuts-settings.jsx:715
#: src/pages/filters.jsx:554
#: src/pages/notifications.jsx:981
msgid "Save"
msgstr ""
#: src/components/account-info.jsx:2279
msgid "username"
msgstr ""
#: src/components/account-info.jsx:2283
msgid "server domain name"
msgstr ""
#: src/components/account-sheet.jsx:38 #: src/components/account-sheet.jsx:38
#: src/components/compose.jsx:859 #: src/components/compose.jsx:859
#: src/components/compose.jsx:2547 #: src/components/compose.jsx:2548
#: src/components/compose.jsx:3022
#: src/components/compose.jsx:3231
#: src/components/compose.jsx:3461
#: src/components/drafts.jsx:59 #: src/components/drafts.jsx:59
#: src/components/embed-modal.jsx:13 #: src/components/embed-modal.jsx:13
#: src/components/generic-accounts.jsx:143 #: src/components/generic-accounts.jsx:143
@ -405,6 +448,92 @@ msgstr ""
msgid "Close" msgid "Close"
msgstr "" msgstr ""
#: src/components/account-info.jsx:1813
msgid "Translated Bio"
msgstr ""
#: src/components/account-info.jsx:1908
msgid "Unable to remove from list."
msgstr "Unable to remove from list."
#: src/components/account-info.jsx:1909
msgid "Unable to add to list."
msgstr "Unable to add to list."
#: src/components/account-info.jsx:1928
#: src/pages/lists.jsx:105
msgid "Unable to load lists."
msgstr ""
#: src/components/account-info.jsx:1932
msgid "No lists."
msgstr ""
#: src/components/account-info.jsx:1943
#: src/components/list-add-edit.jsx:40
#: src/pages/lists.jsx:59
msgid "New list"
msgstr ""
#. placeholder {0}: account?.username || account?.acct
#: src/components/account-info.jsx:2002
msgid "Private note about <0>@{0}</0>"
msgstr ""
#: src/components/account-info.jsx:2032
msgid "Unable to update private note."
msgstr "Unable to update private note."
#: src/components/account-info.jsx:2055
#: src/components/account-info.jsx:2226
msgid "Cancel"
msgstr ""
#: src/components/account-info.jsx:2060
msgid "Save & close"
msgstr ""
#: src/components/account-info.jsx:2154
msgid "Unable to update profile."
msgstr "Unable to update profile."
#: src/components/account-info.jsx:2161
#: src/components/list-add-edit.jsx:105
msgid "Name"
msgstr ""
#: src/components/account-info.jsx:2174
msgid "Bio"
msgstr ""
#: src/components/account-info.jsx:2187
msgid "Extra fields"
msgstr ""
#: src/components/account-info.jsx:2193
msgid "Label"
msgstr ""
#: src/components/account-info.jsx:2196
msgid "Content"
msgstr ""
#: src/components/account-info.jsx:2229
#: src/components/list-add-edit.jsx:150
#: src/components/shortcuts-settings.jsx:715
#: src/pages/filters.jsx:554
#: src/pages/notifications.jsx:981
msgid "Save"
msgstr ""
#: src/components/account-info.jsx:2283
msgid "username"
msgstr ""
#: src/components/account-info.jsx:2287
msgid "server domain name"
msgstr ""
#: src/components/background-service.jsx:151 #: src/components/background-service.jsx:151
msgid "Cloak mode disabled" msgid "Cloak mode disabled"
msgstr "" msgstr ""
@ -577,6 +706,7 @@ msgid "Mark media as sensitive"
msgstr "" msgstr ""
#: src/components/compose.jsx:1381 #: src/components/compose.jsx:1381
#: src/components/compose.jsx:3080
#: src/components/shortcuts-settings.jsx:715 #: src/components/shortcuts-settings.jsx:715
#: src/pages/list.jsx:362 #: src/pages/list.jsx:362
msgid "Add" msgid "Add"
@ -608,25 +738,31 @@ msgstr "Downloading GIF…"
msgid "Failed to download GIF" msgid "Failed to download GIF"
msgstr "Failed to download GIF" msgstr "Failed to download GIF"
#: src/components/compose.jsx:2360 #: src/components/compose.jsx:1879
#: src/components/compose.jsx:1956
#: src/components/nav-menu.jsx:239
msgid "More…"
msgstr ""
#: src/components/compose.jsx:2361
msgid "Uploaded" msgid "Uploaded"
msgstr "" msgstr ""
#: src/components/compose.jsx:2373 #: src/components/compose.jsx:2374
msgid "Image description" msgid "Image description"
msgstr "Image description" msgstr "Image description"
#: src/components/compose.jsx:2374 #: src/components/compose.jsx:2375
msgid "Video description" msgid "Video description"
msgstr "Video description" msgstr "Video description"
#: src/components/compose.jsx:2375 #: src/components/compose.jsx:2376
msgid "Audio description" msgid "Audio description"
msgstr "Audio description" msgstr "Audio description"
#. placeholder {0}: prettyBytes( imageSize, ) #. placeholder {0}: prettyBytes( imageSize, )
#. placeholder {1}: prettyBytes(imageSizeLimit) #. placeholder {1}: prettyBytes(imageSizeLimit)
#: src/components/compose.jsx:2411 #: src/components/compose.jsx:2412
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 "File size too large. Uploading might encounter issues. Try reduce the file size from {0} to {1} or lower." msgstr "File size too large. Uploading might encounter issues. Try reduce the file size from {0} to {1} or lower."
@ -634,13 +770,13 @@ msgstr "File size too large. Uploading might encounter issues. Try reduce the fi
#. placeholder {3}: i18n.number(height) #. placeholder {3}: i18n.number(height)
#. placeholder {4}: i18n.number(newWidth) #. placeholder {4}: i18n.number(newWidth)
#. placeholder {5}: i18n.number( newHeight, ) #. placeholder {5}: i18n.number( newHeight, )
#: src/components/compose.jsx:2423 #: src/components/compose.jsx:2424
msgid "Dimension too large. Uploading might encounter issues. Try reduce dimension from {2}×{3}px to {4}×{5}px." msgid "Dimension too large. Uploading might encounter issues. Try reduce dimension from {2}×{3}px to {4}×{5}px."
msgstr "Dimension too large. Uploading might encounter issues. Try reduce dimension from {2}×{3}px to {4}×{5}px." msgstr "Dimension too large. Uploading might encounter issues. Try reduce dimension from {2}×{3}px to {4}×{5}px."
#. placeholder {6}: prettyBytes( videoSize, ) #. placeholder {6}: prettyBytes( videoSize, )
#. placeholder {7}: prettyBytes(videoSizeLimit) #. placeholder {7}: prettyBytes(videoSizeLimit)
#: src/components/compose.jsx:2431 #: src/components/compose.jsx:2432
msgid "File size too large. Uploading might encounter issues. Try reduce the file size from {6} to {7} or lower." msgid "File size too large. Uploading might encounter issues. Try reduce the file size from {6} to {7} or lower."
msgstr "File size too large. Uploading might encounter issues. Try reduce the file size from {6} to {7} or lower." msgstr "File size too large. Uploading might encounter issues. Try reduce the file size from {6} to {7} or lower."
@ -648,119 +784,149 @@ msgstr "File size too large. Uploading might encounter issues. Try reduce the fi
#. placeholder {9}: i18n.number(height) #. placeholder {9}: i18n.number(height)
#. placeholder {10}: i18n.number(newWidth) #. placeholder {10}: i18n.number(newWidth)
#. placeholder {11}: i18n.number( newHeight, ) #. placeholder {11}: i18n.number( newHeight, )
#: src/components/compose.jsx:2443 #: src/components/compose.jsx:2444
msgid "Dimension too large. Uploading might encounter issues. Try reduce dimension from {8}×{9}px to {10}×{11}px." msgid "Dimension too large. Uploading might encounter issues. Try reduce dimension from {8}×{9}px to {10}×{11}px."
msgstr "Dimension too large. Uploading might encounter issues. Try reduce dimension from {8}×{9}px to {10}×{11}px." msgstr "Dimension too large. Uploading might encounter issues. Try reduce dimension from {8}×{9}px to {10}×{11}px."
#: src/components/compose.jsx:2451 #: src/components/compose.jsx:2452
msgid "Frame rate too high. Uploading might encounter issues." msgid "Frame rate too high. Uploading might encounter issues."
msgstr "Frame rate too high. Uploading might encounter issues." msgstr "Frame rate too high. Uploading might encounter issues."
#: src/components/compose.jsx:2511 #: src/components/compose.jsx:2512
#: src/components/compose.jsx:2762
#: 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:2528 #: src/components/compose.jsx:2529
#: src/compose.jsx:84 #: src/compose.jsx:84
msgid "Error" msgid "Error"
msgstr "" msgstr ""
#: src/components/compose.jsx:2553 #: src/components/compose.jsx:2554
msgid "Edit image description" msgid "Edit image description"
msgstr "Edit image description" msgstr "Edit image description"
#: src/components/compose.jsx:2554 #: src/components/compose.jsx:2555
msgid "Edit video description" msgid "Edit video description"
msgstr "Edit video description" msgstr "Edit video description"
#: src/components/compose.jsx:2555 #: src/components/compose.jsx:2556
msgid "Edit audio description" msgid "Edit audio description"
msgstr "Edit audio description" msgstr "Edit audio description"
#: src/components/compose.jsx:2600 #: src/components/compose.jsx:2601
#: src/components/compose.jsx:2649 #: src/components/compose.jsx:2650
msgid "Generating description. Please wait…" msgid "Generating description. Please wait…"
msgstr "Generating description. Please wait…" msgstr "Generating description. Please wait…"
#. placeholder {12}: e.message #. placeholder {12}: e.message
#: src/components/compose.jsx:2620 #: src/components/compose.jsx:2621
msgid "Failed to generate description: {12}" msgid "Failed to generate description: {12}"
msgstr "Failed to generate description: {12}" msgstr "Failed to generate description: {12}"
#: src/components/compose.jsx:2621 #: src/components/compose.jsx:2622
msgid "Failed to generate description" msgid "Failed to generate description"
msgstr "Failed to generate description" msgstr "Failed to generate description"
#: src/components/compose.jsx:2633 #: src/components/compose.jsx:2634
#: src/components/compose.jsx:2639 #: src/components/compose.jsx:2640
#: src/components/compose.jsx:2685 #: src/components/compose.jsx:2686
msgid "Generate description…" msgid "Generate description…"
msgstr "" msgstr ""
#. placeholder {13}: e?.message ? `: ${e.message}` : '' #. placeholder {13}: e?.message ? `: ${e.message}` : ''
#: src/components/compose.jsx:2672 #: src/components/compose.jsx:2673
msgid "Failed to generate description{13}" msgid "Failed to generate description{13}"
msgstr "Failed to generate description{13}" msgstr "Failed to generate description{13}"
#. placeholder {0}: localeCode2Text(lang) #. placeholder {0}: localeCode2Text(lang)
#: src/components/compose.jsx:2687 #: src/components/compose.jsx:2688
msgid "({0}) <0>— experimental</0>" msgid "({0}) <0>— experimental</0>"
msgstr "" msgstr ""
#: src/components/compose.jsx:2706 #: src/components/compose.jsx:2707
msgid "Done" msgid "Done"
msgstr "" msgstr ""
#: src/components/compose.jsx:2789 #. placeholder {0}: i + 1
#: src/components/compose.jsx:2743
msgid "Choice {0}"
msgstr "Choice {0}"
#: src/components/compose.jsx:2790
msgid "Multiple choices" msgid "Multiple choices"
msgstr "" msgstr ""
#: src/components/compose.jsx:2792 #: src/components/compose.jsx:2793
msgid "Duration" msgid "Duration"
msgstr "" msgstr ""
#: src/components/compose.jsx:2823 #: src/components/compose.jsx:2824
msgid "Remove poll" msgid "Remove poll"
msgstr "" msgstr ""
#: src/components/compose.jsx:3091 #: src/components/compose.jsx:3039
msgid "Search accounts"
msgstr "Search accounts"
#: src/components/compose.jsx:3093
#: src/components/generic-accounts.jsx:228 #: src/components/generic-accounts.jsx:228
msgid "Error loading accounts" msgid "Error loading accounts"
msgstr "" msgstr ""
#: src/components/compose.jsx:3234 #: src/components/compose.jsx:3237
msgid "Custom emojis" msgid "Custom emojis"
msgstr "" msgstr ""
#: src/components/compose.jsx:3285 #: src/components/compose.jsx:3257
msgid "Search emoji"
msgstr "Search emoji"
#: src/components/compose.jsx:3288
msgid "Error loading custom emojis" msgid "Error loading custom emojis"
msgstr "" msgstr ""
#: src/components/compose.jsx:3299
msgid "Recently used"
msgstr "Recently used"
#: src/components/compose.jsx:3300
msgid "Others"
msgstr "Others"
#. placeholder {0}: i18n.number(emojis.length - max) #. placeholder {0}: i18n.number(emojis.length - max)
#: src/components/compose.jsx:3335 #: src/components/compose.jsx:3338
msgid "{0} more…" msgid "{0} more…"
msgstr "" msgstr ""
#: src/components/compose.jsx:3496 #: src/components/compose.jsx:3476
msgid "Search GIFs"
msgstr "Search GIFs"
#: src/components/compose.jsx:3491
msgid "Powered by GIPHY"
msgstr "Powered by GIPHY"
#: src/components/compose.jsx:3499
msgid "Type to search GIFs" msgid "Type to search GIFs"
msgstr "" msgstr ""
#: src/components/compose.jsx:3594 #: src/components/compose.jsx:3597
#: src/components/media-modal.jsx:462 #: src/components/media-modal.jsx:462
#: src/components/timeline.jsx:893 #: src/components/timeline.jsx:893
msgid "Previous" msgid "Previous"
msgstr "" msgstr ""
#: src/components/compose.jsx:3612 #: src/components/compose.jsx:3615
#: src/components/media-modal.jsx:481 #: src/components/media-modal.jsx:481
#: src/components/timeline.jsx:910 #: src/components/timeline.jsx:910
msgid "Next" msgid "Next"
msgstr "" msgstr ""
#: src/components/compose.jsx:3629 #: src/components/compose.jsx:3632
msgid "Error loading GIFs" msgid "Error loading GIFs"
msgstr "" msgstr ""
@ -808,6 +974,16 @@ msgstr ""
msgid "No drafts found." msgid "No drafts found."
msgstr "" msgstr ""
#: src/components/drafts.jsx:247
#: src/pages/catchup.jsx:1929
msgid "Poll"
msgstr ""
#: src/components/drafts.jsx:250
#: src/pages/account-statuses.jsx:364
msgid "Media"
msgstr ""
#: src/components/embed-modal.jsx:23 #: src/components/embed-modal.jsx:23
msgid "Open in new window" msgid "Open in new window"
msgstr "" msgstr ""
@ -1183,10 +1359,6 @@ msgstr ""
msgid "Bookmarks" msgid "Bookmarks"
msgstr "" msgstr ""
#: src/components/nav-menu.jsx:239
msgid "More…"
msgstr ""
#: src/components/nav-menu.jsx:248 #: src/components/nav-menu.jsx:248
#: src/components/shortcuts-settings.jsx:55 #: src/components/shortcuts-settings.jsx:55
#: src/components/shortcuts-settings.jsx:201 #: src/components/shortcuts-settings.jsx:201
@ -1435,61 +1607,61 @@ msgstr "View #Wrapstodon"
msgid "Read more →" msgid "Read more →"
msgstr "" msgstr ""
#: src/components/poll.jsx:112 #: src/components/poll.jsx:113
msgid "Voted" msgid "Voted"
msgstr "" msgstr ""
#: src/components/poll.jsx:118 #: src/components/poll.jsx:119
msgid "{optionVotesCount, plural, one {# vote} other {# votes}}" msgid "{optionVotesCount, plural, one {# vote} other {# votes}}"
msgstr "{optionVotesCount, plural, one {# vote} other {# votes}}" msgstr "{optionVotesCount, plural, one {# vote} other {# votes}}"
#: src/components/poll.jsx:138 #: src/components/poll.jsx:139
#: src/components/poll.jsx:221 #: src/components/poll.jsx:222
#: src/components/poll.jsx:225 #: src/components/poll.jsx:226
msgid "Hide results" msgid "Hide results"
msgstr "" msgstr ""
#: src/components/poll.jsx:187 #: src/components/poll.jsx:188
msgid "Vote" msgid "Vote"
msgstr "" msgstr ""
#: src/components/poll.jsx:207 #: src/components/poll.jsx:208
#: src/components/poll.jsx:209 #: src/components/poll.jsx:210
#: src/pages/status.jsx:1203 #: src/pages/status.jsx:1203
#: src/pages/status.jsx:1226 #: src/pages/status.jsx:1226
msgid "Refresh" msgid "Refresh"
msgstr "" msgstr ""
#: src/components/poll.jsx:221 #: src/components/poll.jsx:222
#: src/components/poll.jsx:225 #: src/components/poll.jsx:226
msgid "Show results" msgid "Show results"
msgstr "" msgstr ""
#. placeholder {0}: shortenNumber(votesCount) #. placeholder {0}: shortenNumber(votesCount)
#. placeholder {1}: shortenNumber(votesCount) #. placeholder {1}: shortenNumber(votesCount)
#: src/components/poll.jsx:230 #: src/components/poll.jsx:231
msgid "{votesCount, plural, one {<0>{0}</0> vote} other {<1>{1}</1> votes}}" msgid "{votesCount, plural, one {<0>{0}</0> vote} other {<1>{1}</1> votes}}"
msgstr "" msgstr ""
#. placeholder {0}: shortenNumber(votersCount) #. placeholder {0}: shortenNumber(votersCount)
#. placeholder {1}: shortenNumber(votersCount) #. placeholder {1}: shortenNumber(votersCount)
#: src/components/poll.jsx:247 #: src/components/poll.jsx:248
msgid "{votersCount, plural, one {<0>{0}</0> voter} other {<1>{1}</1> voters}}" msgid "{votersCount, plural, one {<0>{0}</0> voter} other {<1>{1}</1> voters}}"
msgstr "" msgstr ""
#: src/components/poll.jsx:267 #: src/components/poll.jsx:268
msgid "Ended <0/>" msgid "Ended <0/>"
msgstr "" msgstr ""
#: src/components/poll.jsx:271 #: src/components/poll.jsx:272
msgid "Ended" msgid "Ended"
msgstr "" msgstr ""
#: src/components/poll.jsx:274 #: src/components/poll.jsx:275
msgid "Ending <0/>" msgid "Ending <0/>"
msgstr "" msgstr ""
#: src/components/poll.jsx:278 #: src/components/poll.jsx:279
msgid "Ending" msgid "Ending"
msgstr "" msgstr ""
@ -1898,11 +2070,6 @@ msgstr ""
msgid "Unable to copy shortcut settings" msgid "Unable to copy shortcut settings"
msgstr "" msgstr ""
#: src/components/shortcuts-settings.jsx:1077
#: src/components/status.jsx:1202
msgid "Sharing doesn't seem to work."
msgstr ""
#: src/components/shortcuts-settings.jsx:1083 #: src/components/shortcuts-settings.jsx:1083
msgid "Share" msgid "Share"
msgstr "" msgstr ""
@ -2032,14 +2199,6 @@ msgstr ""
msgid "Edited: {editedDateText}" msgid "Edited: {editedDateText}"
msgstr "" msgstr ""
#: src/components/status.jsx:1177
msgid "Link copied"
msgstr ""
#: src/components/status.jsx:1180
msgid "Unable to copy link"
msgstr ""
#: src/components/status.jsx:1221 #: src/components/status.jsx:1221
#: src/components/status.jsx:3238 #: src/components/status.jsx:3238
msgid "Embed post" msgid "Embed post"
@ -2394,10 +2553,6 @@ msgstr ""
msgid "Showing posts with media" msgid "Showing posts with media"
msgstr "" msgstr ""
#: src/pages/account-statuses.jsx:364
msgid "Media"
msgstr ""
#. placeholder {0}: tag.name #. placeholder {0}: tag.name
#: src/pages/account-statuses.jsx:376 #: src/pages/account-statuses.jsx:376
msgid "Showing posts tagged with #{0}" msgid "Showing posts tagged with #{0}"
@ -2742,10 +2897,6 @@ msgstr ""
msgid "Filtered: {0}" msgid "Filtered: {0}"
msgstr "Filtered: {0}" msgstr "Filtered: {0}"
#: src/pages/catchup.jsx:1929
msgid "Poll"
msgstr ""
#: src/pages/favourites.jsx:26 #: src/pages/favourites.jsx:26
msgid "No likes yet. Go like something!" msgid "No likes yet. Go like something!"
msgstr "No likes yet. Go like something!" msgstr "No likes yet. Go like something!"