mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Make 'Delete' post look dangereous
Thanks to https://github.com/cheeaun/phanpy/pull/841
This commit is contained in:
parent
e2e9e3cdb0
commit
a25bcba8a6
2 changed files with 83 additions and 80 deletions
|
@ -1292,6 +1292,9 @@ function Status({
|
|||
</span>
|
||||
</>
|
||||
}
|
||||
itemProps={{
|
||||
className: 'danger',
|
||||
}}
|
||||
menuItemClassName="danger"
|
||||
onClick={() => {
|
||||
// const yes = confirm('Delete this post?');
|
||||
|
|
160
src/locales/en.po
generated
160
src/locales/en.po
generated
|
@ -108,11 +108,11 @@ msgstr ""
|
|||
#: src/components/compose.jsx:2463
|
||||
#: src/components/media-alt-modal.jsx:45
|
||||
#: src/components/media-modal.jsx:283
|
||||
#: src/components/status.jsx:1700
|
||||
#: src/components/status.jsx:1717
|
||||
#: src/components/status.jsx:1841
|
||||
#: src/components/status.jsx:2439
|
||||
#: src/components/status.jsx:1703
|
||||
#: src/components/status.jsx:1720
|
||||
#: src/components/status.jsx:1844
|
||||
#: src/components/status.jsx:2442
|
||||
#: src/components/status.jsx:2445
|
||||
#: src/pages/account-statuses.jsx:528
|
||||
#: src/pages/accounts.jsx:109
|
||||
#: src/pages/hashtag.jsx:199
|
||||
|
@ -181,7 +181,7 @@ msgid "Original"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/account-info.jsx:859
|
||||
#: src/components/status.jsx:2230
|
||||
#: src/components/status.jsx:2233
|
||||
#: src/pages/catchup.jsx:71
|
||||
#: src/pages/catchup.jsx:1445
|
||||
#: src/pages/catchup.jsx:2056
|
||||
|
@ -289,7 +289,7 @@ msgstr ""
|
|||
#: src/components/account-info.jsx:1308
|
||||
#: src/components/shortcuts-settings.jsx:1056
|
||||
#: src/components/status.jsx:1152
|
||||
#: src/components/status.jsx:3214
|
||||
#: src/components/status.jsx:3217
|
||||
msgid "Copy"
|
||||
msgstr ""
|
||||
|
||||
|
@ -417,9 +417,9 @@ msgstr ""
|
|||
#: src/components/shortcuts-settings.jsx:227
|
||||
#: src/components/shortcuts-settings.jsx:580
|
||||
#: src/components/shortcuts-settings.jsx:780
|
||||
#: src/components/status.jsx:2939
|
||||
#: src/components/status.jsx:3178
|
||||
#: src/components/status.jsx:3676
|
||||
#: src/components/status.jsx:2942
|
||||
#: src/components/status.jsx:3181
|
||||
#: src/components/status.jsx:3679
|
||||
#: src/pages/accounts.jsx:36
|
||||
#: src/pages/catchup.jsx:1581
|
||||
#: src/pages/filters.jsx:224
|
||||
|
@ -605,7 +605,7 @@ msgid "Attachment #{i} failed"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/compose.jsx:1118
|
||||
#: src/components/status.jsx:2026
|
||||
#: src/components/status.jsx:2029
|
||||
#: src/components/timeline.jsx:984
|
||||
msgid "Content warning"
|
||||
msgstr ""
|
||||
|
@ -641,7 +641,7 @@ msgstr ""
|
|||
|
||||
#: src/components/compose.jsx:1185
|
||||
#: src/components/status.jsx:97
|
||||
#: src/components/status.jsx:1904
|
||||
#: src/components/status.jsx:1907
|
||||
msgid "Private mention"
|
||||
msgstr ""
|
||||
|
||||
|
@ -672,9 +672,9 @@ msgstr ""
|
|||
#: src/components/compose.jsx:1479
|
||||
#: src/components/keyboard-shortcuts-help.jsx:143
|
||||
#: src/components/status.jsx:895
|
||||
#: src/components/status.jsx:1680
|
||||
#: src/components/status.jsx:1681
|
||||
#: src/components/status.jsx:2335
|
||||
#: src/components/status.jsx:1683
|
||||
#: src/components/status.jsx:1684
|
||||
#: src/components/status.jsx:2338
|
||||
msgid "Reply"
|
||||
msgstr ""
|
||||
|
||||
|
@ -889,7 +889,7 @@ msgstr ""
|
|||
|
||||
#: src/components/drafts.jsx:127
|
||||
#: src/components/list-add-edit.jsx:183
|
||||
#: src/components/status.jsx:1315
|
||||
#: src/components/status.jsx:1318
|
||||
#: src/pages/filters.jsx:587
|
||||
msgid "Delete…"
|
||||
msgstr ""
|
||||
|
@ -1090,9 +1090,9 @@ msgstr ""
|
|||
|
||||
#: src/components/keyboard-shortcuts-help.jsx:164
|
||||
#: src/components/status.jsx:903
|
||||
#: src/components/status.jsx:2361
|
||||
#: src/components/status.jsx:2393
|
||||
#: src/components/status.jsx:2394
|
||||
#: src/components/status.jsx:2364
|
||||
#: src/components/status.jsx:2396
|
||||
#: src/components/status.jsx:2397
|
||||
msgid "Boost"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1102,8 +1102,8 @@ msgstr ""
|
|||
|
||||
#: src/components/keyboard-shortcuts-help.jsx:172
|
||||
#: src/components/status.jsx:988
|
||||
#: src/components/status.jsx:2418
|
||||
#: src/components/status.jsx:2419
|
||||
#: src/components/status.jsx:2421
|
||||
#: src/components/status.jsx:2422
|
||||
msgid "Bookmark"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1207,9 +1207,9 @@ msgid "Filtered: {filterTitleStr}"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/media-post.jsx:133
|
||||
#: src/components/status.jsx:3506
|
||||
#: src/components/status.jsx:3602
|
||||
#: src/components/status.jsx:3680
|
||||
#: src/components/status.jsx:3509
|
||||
#: src/components/status.jsx:3605
|
||||
#: src/components/status.jsx:3683
|
||||
#: src/components/timeline.jsx:973
|
||||
#: src/pages/catchup.jsx:75
|
||||
#: src/pages/catchup.jsx:1876
|
||||
|
@ -2029,18 +2029,18 @@ msgstr ""
|
|||
|
||||
#: src/components/status.jsx:903
|
||||
#: src/components/status.jsx:965
|
||||
#: src/components/status.jsx:2361
|
||||
#: src/components/status.jsx:2393
|
||||
#: src/components/status.jsx:2364
|
||||
#: src/components/status.jsx:2396
|
||||
msgid "Unboost"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:919
|
||||
#: src/components/status.jsx:2376
|
||||
#: src/components/status.jsx:2379
|
||||
msgid "Quote"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:927
|
||||
#: src/components/status.jsx:2385
|
||||
#: src/components/status.jsx:2388
|
||||
msgid "Some media have no descriptions."
|
||||
msgstr ""
|
||||
|
||||
|
@ -2049,12 +2049,12 @@ msgid "Old post (<0>{0}</0>)"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:953
|
||||
#: src/components/status.jsx:1405
|
||||
#: src/components/status.jsx:1408
|
||||
msgid "Unboosted @{0}'s post"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:954
|
||||
#: src/components/status.jsx:1406
|
||||
#: src/components/status.jsx:1409
|
||||
msgid "Boosted @{0}'s post"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2063,21 +2063,21 @@ msgid "Boost…"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:978
|
||||
#: src/components/status.jsx:1690
|
||||
#: src/components/status.jsx:2406
|
||||
#: src/components/status.jsx:1693
|
||||
#: src/components/status.jsx:2409
|
||||
msgid "Unlike"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:979
|
||||
#: src/components/status.jsx:1690
|
||||
#: src/components/status.jsx:1691
|
||||
#: src/components/status.jsx:2406
|
||||
#: src/components/status.jsx:2407
|
||||
#: src/components/status.jsx:1693
|
||||
#: src/components/status.jsx:1694
|
||||
#: src/components/status.jsx:2409
|
||||
#: src/components/status.jsx:2410
|
||||
msgid "Like"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:988
|
||||
#: src/components/status.jsx:2418
|
||||
#: src/components/status.jsx:2421
|
||||
msgid "Unbookmark"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2094,7 +2094,7 @@ msgid "Edited: {editedDateText}"
|
|||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1187
|
||||
#: src/components/status.jsx:3183
|
||||
#: src/components/status.jsx:3186
|
||||
msgid "Embed post"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2150,150 +2150,150 @@ msgstr ""
|
|||
msgid "Delete this post?"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1304
|
||||
#: src/components/status.jsx:1307
|
||||
msgid "Post deleted"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1307
|
||||
#: src/components/status.jsx:1310
|
||||
msgid "Unable to delete post"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1335
|
||||
#: src/components/status.jsx:1338
|
||||
msgid "Report post…"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1691
|
||||
#: src/components/status.jsx:1727
|
||||
#: src/components/status.jsx:2407
|
||||
#: src/components/status.jsx:1694
|
||||
#: src/components/status.jsx:1730
|
||||
#: src/components/status.jsx:2410
|
||||
msgid "Liked"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1724
|
||||
#: src/components/status.jsx:2394
|
||||
#: src/components/status.jsx:1727
|
||||
#: src/components/status.jsx:2397
|
||||
msgid "Boosted"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1734
|
||||
#: src/components/status.jsx:2419
|
||||
#: src/components/status.jsx:1737
|
||||
#: src/components/status.jsx:2422
|
||||
msgid "Bookmarked"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1738
|
||||
#: src/components/status.jsx:1741
|
||||
msgid "Pinned"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1783
|
||||
#: src/components/status.jsx:2238
|
||||
#: src/components/status.jsx:1786
|
||||
#: src/components/status.jsx:2241
|
||||
msgid "Deleted"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1824
|
||||
#: src/components/status.jsx:1827
|
||||
msgid "{repliesCount, plural, one {# reply} other {# replies}}"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1913
|
||||
#: src/components/status.jsx:1916
|
||||
msgid "Thread{0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1989
|
||||
#: src/components/status.jsx:2051
|
||||
#: src/components/status.jsx:2136
|
||||
#: src/components/status.jsx:1992
|
||||
#: src/components/status.jsx:2054
|
||||
#: src/components/status.jsx:2139
|
||||
msgid "Show less"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:1989
|
||||
#: src/components/status.jsx:2051
|
||||
#: src/components/status.jsx:1992
|
||||
#: src/components/status.jsx:2054
|
||||
msgid "Show content"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:2136
|
||||
#: src/components/status.jsx:2139
|
||||
msgid "Show media"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:2259
|
||||
#: src/components/status.jsx:2262
|
||||
msgid "Edited"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:2336
|
||||
#: src/components/status.jsx:2339
|
||||
msgid "Comments"
|
||||
msgstr ""
|
||||
|
||||
#. More from [Author]
|
||||
#: src/components/status.jsx:2645
|
||||
#: src/components/status.jsx:2648
|
||||
msgid "More from <0/>"
|
||||
msgstr "More from <0/>"
|
||||
|
||||
#: src/components/status.jsx:2944
|
||||
#: src/components/status.jsx:2947
|
||||
msgid "Edit History"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:2948
|
||||
#: src/components/status.jsx:2951
|
||||
msgid "Failed to load history"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:2953
|
||||
#: src/components/status.jsx:2956
|
||||
msgid "Loading…"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3188
|
||||
#: src/components/status.jsx:3191
|
||||
msgid "HTML Code"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3205
|
||||
#: src/components/status.jsx:3208
|
||||
msgid "HTML code copied"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3208
|
||||
#: src/components/status.jsx:3211
|
||||
msgid "Unable to copy HTML code"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3220
|
||||
#: src/components/status.jsx:3223
|
||||
msgid "Media attachments:"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3242
|
||||
#: src/components/status.jsx:3245
|
||||
msgid "Account Emojis:"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3273
|
||||
#: src/components/status.jsx:3318
|
||||
#: src/components/status.jsx:3276
|
||||
#: src/components/status.jsx:3321
|
||||
msgid "static URL"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3287
|
||||
#: src/components/status.jsx:3290
|
||||
msgid "Emojis:"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3332
|
||||
#: src/components/status.jsx:3335
|
||||
msgid "Notes:"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3336
|
||||
#: src/components/status.jsx:3339
|
||||
msgid "This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed."
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3342
|
||||
#: src/components/status.jsx:3345
|
||||
msgid "Polls are not interactive, becomes a list with vote counts."
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3347
|
||||
#: src/components/status.jsx:3350
|
||||
msgid "Media attachments can be images, videos, audios or any file types."
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3353
|
||||
#: src/components/status.jsx:3356
|
||||
msgid "Post could be edited or deleted later."
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3359
|
||||
#: src/components/status.jsx:3362
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/status.jsx:3368
|
||||
#: src/components/status.jsx:3371
|
||||
msgid "Note: This preview is lightly styled."
|
||||
msgstr ""
|
||||
|
||||
#. [Name] [Visibility icon] boosted
|
||||
#: src/components/status.jsx:3610
|
||||
#: src/components/status.jsx:3613
|
||||
msgid "<0/> <1/> boosted"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue