mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 02:05:39 +03:00
Fill in forgotten strings
This commit is contained in:
parent
289010073a
commit
0e961e87a4
7 changed files with 44 additions and 23 deletions
|
@ -1154,7 +1154,7 @@ function Compose({
|
|||
class={`toolbar-button ${
|
||||
visibility !== 'public' && !sensitive ? 'show-field' : ''
|
||||
} ${visibility !== 'public' ? 'highlight' : ''}`}
|
||||
title={`Visibility: ${visibility}`}
|
||||
title={visibility}
|
||||
>
|
||||
<Icon icon={visibilityIconsMap[visibility]} alt={visibility} />
|
||||
<select
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Plural, t, Trans } from '@lingui/macro';
|
||||
import { Plural, plural, t, Trans } from '@lingui/macro';
|
||||
import { useState } from 'preact/hooks';
|
||||
|
||||
import shortenNumber from '../utils/shorten-number';
|
||||
|
@ -113,9 +113,10 @@ export default function Poll({
|
|||
</div>
|
||||
<div
|
||||
class="poll-option-votes"
|
||||
title={`${optionVotesCount} vote${
|
||||
optionVotesCount === 1 ? '' : 's'
|
||||
}`}
|
||||
title={plural(optionVotesCount, {
|
||||
one: `# vote`,
|
||||
other: `# votes`,
|
||||
})}
|
||||
>
|
||||
{percentage}
|
||||
</div>
|
||||
|
|
|
@ -1517,49 +1517,53 @@ msgstr ""
|
|||
msgid "Voted"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:135
|
||||
#: src/components/poll.jsx:218
|
||||
#: src/components/poll.jsx:222
|
||||
#: src/components/poll.jsx:116
|
||||
msgid "{optionVotesCount, plural, one {# vote} other {# votes}}"
|
||||
msgstr "{optionVotesCount, plural, one {# vote} other {# votes}}"
|
||||
|
||||
#: src/components/poll.jsx:136
|
||||
#: src/components/poll.jsx:219
|
||||
#: src/components/poll.jsx:223
|
||||
msgid "Hide results"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:184
|
||||
#: src/components/poll.jsx:185
|
||||
msgid "Vote"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:204
|
||||
#: src/components/poll.jsx:206
|
||||
#: src/components/poll.jsx:205
|
||||
#: src/components/poll.jsx:207
|
||||
#: src/pages/status.jsx:1158
|
||||
#: src/pages/status.jsx:1181
|
||||
msgid "Refresh"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:218
|
||||
#: src/components/poll.jsx:222
|
||||
#: src/components/poll.jsx:219
|
||||
#: src/components/poll.jsx:223
|
||||
msgid "Show results"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:227
|
||||
#: src/components/poll.jsx:228
|
||||
msgid "{votesCount, plural, one {<0>{0}</0> vote} other {<1>{1}</1> votes}}"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:244
|
||||
#: src/components/poll.jsx:245
|
||||
msgid "{votersCount, plural, one {<0>{0}</0> voter} other {<1>{1}</1> voters}}"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:264
|
||||
#: src/components/poll.jsx:265
|
||||
msgid "Ended <0/>"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:268
|
||||
#: src/components/poll.jsx:269
|
||||
msgid "Ended"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:271
|
||||
#: src/components/poll.jsx:272
|
||||
msgid "Ending <0/>"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/poll.jsx:275
|
||||
#: src/components/poll.jsx:276
|
||||
msgid "Ending"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2484,6 +2488,10 @@ msgstr ""
|
|||
msgid "Note: <0>Default</0> account will always be used for first load. Switched accounts will persist during the session."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/bookmarks.jsx:25
|
||||
msgid "No bookmarks yet. Go bookmark something!"
|
||||
msgstr "No bookmarks yet. Go bookmark something!"
|
||||
|
||||
#: src/pages/bookmarks.jsx:26
|
||||
msgid "Unable to load bookmarks."
|
||||
msgstr ""
|
||||
|
@ -2725,6 +2733,10 @@ msgstr ""
|
|||
msgid "Filtered: {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/favourites.jsx:25
|
||||
msgid "No likes yet. Go like something!"
|
||||
msgstr "No likes yet. Go like something!"
|
||||
|
||||
#: src/pages/favourites.jsx:26
|
||||
msgid "Unable to load likes."
|
||||
msgstr ""
|
||||
|
@ -2899,6 +2911,10 @@ msgstr ""
|
|||
msgid "Unable to load posts with this tag"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/hashtag.jsx:208
|
||||
msgid "Unfollow #{hashtag}?"
|
||||
msgstr "Unfollow #{hashtag}?"
|
||||
|
||||
#: src/pages/hashtag.jsx:223
|
||||
msgid "Unfollowed #{hashtag}"
|
||||
msgstr ""
|
||||
|
@ -3030,6 +3046,10 @@ msgstr ""
|
|||
msgid "Failed to register application"
|
||||
msgstr "Failed to register application"
|
||||
|
||||
#: src/pages/login.jsx:185
|
||||
msgid "instance domain"
|
||||
msgstr "instance domain"
|
||||
|
||||
#: src/pages/login.jsx:209
|
||||
msgid "e.g. “mastodon.social”"
|
||||
msgstr ""
|
||||
|
|
|
@ -22,7 +22,7 @@ function Bookmarks() {
|
|||
<Timeline
|
||||
title={t`Bookmarks`}
|
||||
id="bookmarks"
|
||||
emptyText={`No bookmarks yet. Go bookmark something!`}
|
||||
emptyText={t`No bookmarks yet. Go bookmark something!`}
|
||||
errorText={t`Unable to load bookmarks.`}
|
||||
instance={instance}
|
||||
fetchItems={fetchBookmarks}
|
||||
|
|
|
@ -22,7 +22,7 @@ function Favourites() {
|
|||
<Timeline
|
||||
title={t`Likes`}
|
||||
id="favourites"
|
||||
emptyText={`No likes yet. Go like something!`}
|
||||
emptyText={t`No likes yet. Go like something!`}
|
||||
errorText={t`Unable to load likes.`}
|
||||
instance={instance}
|
||||
fetchItems={fetchFavourites}
|
||||
|
|
|
@ -205,7 +205,7 @@ function Hashtags({ media: mediaView, columnMode, ...props }) {
|
|||
<MenuConfirm
|
||||
subMenu
|
||||
confirm={info.following}
|
||||
confirmLabel={`Unfollow #${hashtag}?`}
|
||||
confirmLabel={t`Unfollow #${hashtag}?`}
|
||||
disabled={followUIState === 'loading' || !authenticated}
|
||||
onClick={() => {
|
||||
setFollowUIState('loading');
|
||||
|
|
|
@ -182,7 +182,7 @@ function Login() {
|
|||
autocapitalize="off"
|
||||
autocomplete="off"
|
||||
spellCheck={false}
|
||||
placeholder={`instance domain`}
|
||||
placeholder={t`instance domain`}
|
||||
onInput={(e) => {
|
||||
setInstanceText(e.target.value);
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue