mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-09 01:26:24 +01:00
Run prettier
This commit is contained in:
parent
0d1e19f144
commit
d9bfb30be7
2 changed files with 74 additions and 62 deletions
|
@ -2014,8 +2014,14 @@ function Status({
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon icon={showSpoiler ? 'eye-open' : 'eye-close'} />{' '}
|
<Icon icon={showSpoiler ? 'eye-open' : 'eye-close'} />{' '}
|
||||||
<span class={"spoiler-text"}>
|
<span class={'spoiler-text'}>
|
||||||
{spoilerText ? <EmojiText text={spoilerText} emojis={emojis} /> : showSpoiler ? t`Show less` : t`Show content`}
|
{spoilerText ? (
|
||||||
|
<EmojiText text={spoilerText} emojis={emojis} />
|
||||||
|
) : showSpoiler ? (
|
||||||
|
t`Show less`
|
||||||
|
) : (
|
||||||
|
t`Show content`
|
||||||
|
)}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</>
|
</>
|
||||||
|
@ -2067,8 +2073,14 @@ function Status({
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon icon={showSpoiler ? 'eye-open' : 'eye-close'} />{' '}
|
<Icon icon={showSpoiler ? 'eye-open' : 'eye-close'} />{' '}
|
||||||
<span class={"spoiler-text"}>
|
<span class={'spoiler-text'}>
|
||||||
{!!spoilerText ? <EmojiText text={spoilerText} emojis={emojis} /> : showSpoiler ? t`Show less` : t`Show content`}
|
{!!spoilerText ? (
|
||||||
|
<EmojiText text={spoilerText} emojis={emojis} />
|
||||||
|
) : showSpoiler ? (
|
||||||
|
t`Show less`
|
||||||
|
) : (
|
||||||
|
t`Show content`
|
||||||
|
)}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
|
116
src/locales/en.po
generated
116
src/locales/en.po
generated
|
@ -110,8 +110,8 @@ msgstr ""
|
||||||
#: src/components/status.jsx:1737
|
#: src/components/status.jsx:1737
|
||||||
#: src/components/status.jsx:1754
|
#: src/components/status.jsx:1754
|
||||||
#: src/components/status.jsx:1878
|
#: src/components/status.jsx:1878
|
||||||
#: src/components/status.jsx:2474
|
#: src/components/status.jsx:2486
|
||||||
#: src/components/status.jsx:2477
|
#: src/components/status.jsx:2489
|
||||||
#: src/pages/account-statuses.jsx:528
|
#: src/pages/account-statuses.jsx:528
|
||||||
#: src/pages/accounts.jsx:109
|
#: src/pages/accounts.jsx:109
|
||||||
#: src/pages/hashtag.jsx:199
|
#: src/pages/hashtag.jsx:199
|
||||||
|
@ -180,7 +180,7 @@ msgid "Original"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/account-info.jsx:864
|
#: src/components/account-info.jsx:864
|
||||||
#: src/components/status.jsx:2252
|
#: src/components/status.jsx:2264
|
||||||
#: src/pages/catchup.jsx:71
|
#: src/pages/catchup.jsx:71
|
||||||
#: src/pages/catchup.jsx:1445
|
#: src/pages/catchup.jsx:1445
|
||||||
#: src/pages/catchup.jsx:2056
|
#: src/pages/catchup.jsx:2056
|
||||||
|
@ -288,7 +288,7 @@ 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
|
||||||
#: src/components/status.jsx:3251
|
#: src/components/status.jsx:3263
|
||||||
msgid "Copy"
|
msgid "Copy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -416,9 +416,9 @@ msgstr ""
|
||||||
#: src/components/shortcuts-settings.jsx:230
|
#: src/components/shortcuts-settings.jsx:230
|
||||||
#: src/components/shortcuts-settings.jsx:583
|
#: src/components/shortcuts-settings.jsx:583
|
||||||
#: src/components/shortcuts-settings.jsx:783
|
#: src/components/shortcuts-settings.jsx:783
|
||||||
#: src/components/status.jsx:2976
|
#: src/components/status.jsx:2988
|
||||||
#: src/components/status.jsx:3215
|
#: src/components/status.jsx:3227
|
||||||
#: src/components/status.jsx:3715
|
#: src/components/status.jsx:3727
|
||||||
#: src/pages/accounts.jsx:36
|
#: src/pages/accounts.jsx:36
|
||||||
#: src/pages/catchup.jsx:1581
|
#: src/pages/catchup.jsx:1581
|
||||||
#: src/pages/filters.jsx:224
|
#: src/pages/filters.jsx:224
|
||||||
|
@ -624,7 +624,7 @@ msgid "Attachment #{i} failed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/compose.jsx:1180
|
#: src/components/compose.jsx:1180
|
||||||
#: src/components/status.jsx:2045
|
#: src/components/status.jsx:2051
|
||||||
#: src/components/timeline.jsx:984
|
#: src/components/timeline.jsx:984
|
||||||
msgid "Content warning"
|
msgid "Content warning"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -692,7 +692,7 @@ msgstr ""
|
||||||
#: src/components/status.jsx:929
|
#: src/components/status.jsx:929
|
||||||
#: src/components/status.jsx:1717
|
#: src/components/status.jsx:1717
|
||||||
#: src/components/status.jsx:1718
|
#: src/components/status.jsx:1718
|
||||||
#: src/components/status.jsx:2370
|
#: src/components/status.jsx:2382
|
||||||
msgid "Reply"
|
msgid "Reply"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1110,9 +1110,9 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/keyboard-shortcuts-help.jsx:172
|
#: src/components/keyboard-shortcuts-help.jsx:172
|
||||||
#: src/components/status.jsx:937
|
#: src/components/status.jsx:937
|
||||||
#: src/components/status.jsx:2397
|
#: src/components/status.jsx:2409
|
||||||
#: src/components/status.jsx:2428
|
#: src/components/status.jsx:2440
|
||||||
#: src/components/status.jsx:2429
|
#: src/components/status.jsx:2441
|
||||||
msgid "Boost"
|
msgid "Boost"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1122,8 +1122,8 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/keyboard-shortcuts-help.jsx:180
|
#: src/components/keyboard-shortcuts-help.jsx:180
|
||||||
#: src/components/status.jsx:1022
|
#: src/components/status.jsx:1022
|
||||||
#: src/components/status.jsx:2453
|
#: src/components/status.jsx:2465
|
||||||
#: src/components/status.jsx:2454
|
#: src/components/status.jsx:2466
|
||||||
msgid "Bookmark"
|
msgid "Bookmark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1227,9 +1227,9 @@ msgid "Filtered: {filterTitleStr}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/media-post.jsx:133
|
#: src/components/media-post.jsx:133
|
||||||
#: src/components/status.jsx:3545
|
#: src/components/status.jsx:3557
|
||||||
#: src/components/status.jsx:3641
|
#: src/components/status.jsx:3653
|
||||||
#: src/components/status.jsx:3719
|
#: src/components/status.jsx:3731
|
||||||
#: src/components/timeline.jsx:973
|
#: src/components/timeline.jsx:973
|
||||||
#: src/pages/catchup.jsx:75
|
#: src/pages/catchup.jsx:75
|
||||||
#: src/pages/catchup.jsx:1876
|
#: src/pages/catchup.jsx:1876
|
||||||
|
@ -2065,18 +2065,18 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:937
|
#: src/components/status.jsx:937
|
||||||
#: src/components/status.jsx:999
|
#: src/components/status.jsx:999
|
||||||
#: src/components/status.jsx:2397
|
#: src/components/status.jsx:2409
|
||||||
#: src/components/status.jsx:2428
|
#: src/components/status.jsx:2440
|
||||||
msgid "Unboost"
|
msgid "Unboost"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:953
|
#: src/components/status.jsx:953
|
||||||
#: src/components/status.jsx:2412
|
#: src/components/status.jsx:2424
|
||||||
msgid "Quote"
|
msgid "Quote"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:961
|
#: src/components/status.jsx:961
|
||||||
#: src/components/status.jsx:2421
|
#: src/components/status.jsx:2433
|
||||||
msgid "Some media have no descriptions."
|
msgid "Some media have no descriptions."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2100,20 +2100,20 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1012
|
#: src/components/status.jsx:1012
|
||||||
#: src/components/status.jsx:1727
|
#: src/components/status.jsx:1727
|
||||||
#: src/components/status.jsx:2441
|
#: src/components/status.jsx:2453
|
||||||
msgid "Unlike"
|
msgid "Unlike"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1013
|
#: src/components/status.jsx:1013
|
||||||
#: src/components/status.jsx:1727
|
#: src/components/status.jsx:1727
|
||||||
#: src/components/status.jsx:1728
|
#: src/components/status.jsx:1728
|
||||||
#: src/components/status.jsx:2441
|
#: src/components/status.jsx:2453
|
||||||
#: src/components/status.jsx:2442
|
#: src/components/status.jsx:2454
|
||||||
msgid "Like"
|
msgid "Like"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1022
|
#: src/components/status.jsx:1022
|
||||||
#: src/components/status.jsx:2453
|
#: src/components/status.jsx:2465
|
||||||
msgid "Unbookmark"
|
msgid "Unbookmark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2130,7 +2130,7 @@ msgid "Edited: {editedDateText}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1221
|
#: src/components/status.jsx:1221
|
||||||
#: src/components/status.jsx:3220
|
#: src/components/status.jsx:3232
|
||||||
msgid "Embed post"
|
msgid "Embed post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2200,17 +2200,17 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1728
|
#: src/components/status.jsx:1728
|
||||||
#: src/components/status.jsx:1764
|
#: src/components/status.jsx:1764
|
||||||
#: src/components/status.jsx:2442
|
#: src/components/status.jsx:2454
|
||||||
msgid "Liked"
|
msgid "Liked"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1761
|
#: src/components/status.jsx:1761
|
||||||
#: src/components/status.jsx:2429
|
#: src/components/status.jsx:2441
|
||||||
msgid "Boosted"
|
msgid "Boosted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1771
|
#: src/components/status.jsx:1771
|
||||||
#: src/components/status.jsx:2454
|
#: src/components/status.jsx:2466
|
||||||
msgid "Bookmarked"
|
msgid "Bookmarked"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2219,7 +2219,7 @@ msgid "Pinned"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1820
|
#: src/components/status.jsx:1820
|
||||||
#: src/components/status.jsx:2260
|
#: src/components/status.jsx:2272
|
||||||
msgid "Deleted"
|
msgid "Deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2231,106 +2231,106 @@ msgstr ""
|
||||||
msgid "Thread{0}"
|
msgid "Thread{0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2018
|
#: src/components/status.jsx:2021
|
||||||
#: src/components/status.jsx:2071
|
#: src/components/status.jsx:2080
|
||||||
#: src/components/status.jsx:2157
|
#: src/components/status.jsx:2169
|
||||||
msgid "Show less"
|
msgid "Show less"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2018
|
#: src/components/status.jsx:2023
|
||||||
#: src/components/status.jsx:2071
|
#: src/components/status.jsx:2082
|
||||||
msgid "Show content"
|
msgid "Show content"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2157
|
#: src/components/status.jsx:2169
|
||||||
msgid "Show media"
|
msgid "Show media"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2294
|
#: src/components/status.jsx:2306
|
||||||
msgid "Edited"
|
msgid "Edited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2371
|
#: src/components/status.jsx:2383
|
||||||
msgid "Comments"
|
msgid "Comments"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. More from [Author]
|
#. More from [Author]
|
||||||
#: src/components/status.jsx:2680
|
#: src/components/status.jsx:2692
|
||||||
msgid "More from <0/>"
|
msgid "More from <0/>"
|
||||||
msgstr "More from <0/>"
|
msgstr "More from <0/>"
|
||||||
|
|
||||||
#: src/components/status.jsx:2981
|
#: src/components/status.jsx:2993
|
||||||
msgid "Edit History"
|
msgid "Edit History"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2985
|
#: src/components/status.jsx:2997
|
||||||
msgid "Failed to load history"
|
msgid "Failed to load history"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2990
|
#: src/components/status.jsx:3002
|
||||||
#: src/pages/annual-report.jsx:46
|
#: src/pages/annual-report.jsx:46
|
||||||
msgid "Loading…"
|
msgid "Loading…"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3225
|
#: src/components/status.jsx:3237
|
||||||
msgid "HTML Code"
|
msgid "HTML Code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3242
|
#: src/components/status.jsx:3254
|
||||||
msgid "HTML code copied"
|
msgid "HTML code copied"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3245
|
#: src/components/status.jsx:3257
|
||||||
msgid "Unable to copy HTML code"
|
msgid "Unable to copy HTML code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3257
|
#: src/components/status.jsx:3269
|
||||||
msgid "Media attachments:"
|
msgid "Media attachments:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3279
|
#: src/components/status.jsx:3291
|
||||||
msgid "Account Emojis:"
|
msgid "Account Emojis:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3310
|
#: src/components/status.jsx:3322
|
||||||
#: src/components/status.jsx:3355
|
#: src/components/status.jsx:3367
|
||||||
msgid "static URL"
|
msgid "static URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3324
|
#: src/components/status.jsx:3336
|
||||||
msgid "Emojis:"
|
msgid "Emojis:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3369
|
#: src/components/status.jsx:3381
|
||||||
msgid "Notes:"
|
msgid "Notes:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3373
|
#: src/components/status.jsx:3385
|
||||||
msgid "This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."
|
msgid "This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3379
|
#: src/components/status.jsx:3391
|
||||||
msgid "Polls are not interactive, becomes a list with vote counts."
|
msgid "Polls are not interactive, becomes a list with vote counts."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3384
|
#: src/components/status.jsx:3396
|
||||||
msgid "Media attachments can be images, videos, audios or any file types."
|
msgid "Media attachments can be images, videos, audios or any file types."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3390
|
#: src/components/status.jsx:3402
|
||||||
msgid "Post could be edited or deleted later."
|
msgid "Post could be edited or deleted later."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3396
|
#: src/components/status.jsx:3408
|
||||||
msgid "Preview"
|
msgid "Preview"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3405
|
#: src/components/status.jsx:3417
|
||||||
msgid "Note: This preview is lightly styled."
|
msgid "Note: This preview is lightly styled."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. [Name] [Visibility icon] boosted
|
#. [Name] [Visibility icon] boosted
|
||||||
#: src/components/status.jsx:3649
|
#: src/components/status.jsx:3661
|
||||||
msgid "<0/> <1/> boosted"
|
msgid "<0/> <1/> boosted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue