mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +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>
|
</span>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
itemProps={{
|
||||||
|
className: 'danger',
|
||||||
|
}}
|
||||||
menuItemClassName="danger"
|
menuItemClassName="danger"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
// const yes = confirm('Delete this post?');
|
// 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/compose.jsx:2463
|
||||||
#: src/components/media-alt-modal.jsx:45
|
#: src/components/media-alt-modal.jsx:45
|
||||||
#: src/components/media-modal.jsx:283
|
#: src/components/media-modal.jsx:283
|
||||||
#: src/components/status.jsx:1700
|
#: src/components/status.jsx:1703
|
||||||
#: src/components/status.jsx:1717
|
#: src/components/status.jsx:1720
|
||||||
#: src/components/status.jsx:1841
|
#: src/components/status.jsx:1844
|
||||||
#: src/components/status.jsx:2439
|
|
||||||
#: src/components/status.jsx:2442
|
#: src/components/status.jsx:2442
|
||||||
|
#: src/components/status.jsx:2445
|
||||||
#: 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
|
||||||
|
@ -181,7 +181,7 @@ msgid "Original"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/account-info.jsx:859
|
#: 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:71
|
||||||
#: src/pages/catchup.jsx:1445
|
#: src/pages/catchup.jsx:1445
|
||||||
#: src/pages/catchup.jsx:2056
|
#: src/pages/catchup.jsx:2056
|
||||||
|
@ -289,7 +289,7 @@ msgstr ""
|
||||||
#: src/components/account-info.jsx:1308
|
#: src/components/account-info.jsx:1308
|
||||||
#: src/components/shortcuts-settings.jsx:1056
|
#: src/components/shortcuts-settings.jsx:1056
|
||||||
#: src/components/status.jsx:1152
|
#: src/components/status.jsx:1152
|
||||||
#: src/components/status.jsx:3214
|
#: src/components/status.jsx:3217
|
||||||
msgid "Copy"
|
msgid "Copy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -417,9 +417,9 @@ msgstr ""
|
||||||
#: src/components/shortcuts-settings.jsx:227
|
#: src/components/shortcuts-settings.jsx:227
|
||||||
#: src/components/shortcuts-settings.jsx:580
|
#: src/components/shortcuts-settings.jsx:580
|
||||||
#: src/components/shortcuts-settings.jsx:780
|
#: src/components/shortcuts-settings.jsx:780
|
||||||
#: src/components/status.jsx:2939
|
#: src/components/status.jsx:2942
|
||||||
#: src/components/status.jsx:3178
|
#: src/components/status.jsx:3181
|
||||||
#: src/components/status.jsx:3676
|
#: src/components/status.jsx:3679
|
||||||
#: 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
|
||||||
|
@ -605,7 +605,7 @@ msgid "Attachment #{i} failed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/compose.jsx:1118
|
#: src/components/compose.jsx:1118
|
||||||
#: src/components/status.jsx:2026
|
#: src/components/status.jsx:2029
|
||||||
#: src/components/timeline.jsx:984
|
#: src/components/timeline.jsx:984
|
||||||
msgid "Content warning"
|
msgid "Content warning"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -641,7 +641,7 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/compose.jsx:1185
|
#: src/components/compose.jsx:1185
|
||||||
#: src/components/status.jsx:97
|
#: src/components/status.jsx:97
|
||||||
#: src/components/status.jsx:1904
|
#: src/components/status.jsx:1907
|
||||||
msgid "Private mention"
|
msgid "Private mention"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -672,9 +672,9 @@ msgstr ""
|
||||||
#: src/components/compose.jsx:1479
|
#: src/components/compose.jsx:1479
|
||||||
#: src/components/keyboard-shortcuts-help.jsx:143
|
#: src/components/keyboard-shortcuts-help.jsx:143
|
||||||
#: src/components/status.jsx:895
|
#: src/components/status.jsx:895
|
||||||
#: src/components/status.jsx:1680
|
#: src/components/status.jsx:1683
|
||||||
#: src/components/status.jsx:1681
|
#: src/components/status.jsx:1684
|
||||||
#: src/components/status.jsx:2335
|
#: src/components/status.jsx:2338
|
||||||
msgid "Reply"
|
msgid "Reply"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -889,7 +889,7 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/drafts.jsx:127
|
#: src/components/drafts.jsx:127
|
||||||
#: src/components/list-add-edit.jsx:183
|
#: src/components/list-add-edit.jsx:183
|
||||||
#: src/components/status.jsx:1315
|
#: src/components/status.jsx:1318
|
||||||
#: src/pages/filters.jsx:587
|
#: src/pages/filters.jsx:587
|
||||||
msgid "Delete…"
|
msgid "Delete…"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1090,9 +1090,9 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/keyboard-shortcuts-help.jsx:164
|
#: src/components/keyboard-shortcuts-help.jsx:164
|
||||||
#: src/components/status.jsx:903
|
#: src/components/status.jsx:903
|
||||||
#: src/components/status.jsx:2361
|
#: src/components/status.jsx:2364
|
||||||
#: src/components/status.jsx:2393
|
#: src/components/status.jsx:2396
|
||||||
#: src/components/status.jsx:2394
|
#: src/components/status.jsx:2397
|
||||||
msgid "Boost"
|
msgid "Boost"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1102,8 +1102,8 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/keyboard-shortcuts-help.jsx:172
|
#: src/components/keyboard-shortcuts-help.jsx:172
|
||||||
#: src/components/status.jsx:988
|
#: src/components/status.jsx:988
|
||||||
#: src/components/status.jsx:2418
|
#: src/components/status.jsx:2421
|
||||||
#: src/components/status.jsx:2419
|
#: src/components/status.jsx:2422
|
||||||
msgid "Bookmark"
|
msgid "Bookmark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1207,9 +1207,9 @@ msgid "Filtered: {filterTitleStr}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/media-post.jsx:133
|
#: src/components/media-post.jsx:133
|
||||||
#: src/components/status.jsx:3506
|
#: src/components/status.jsx:3509
|
||||||
#: src/components/status.jsx:3602
|
#: src/components/status.jsx:3605
|
||||||
#: src/components/status.jsx:3680
|
#: src/components/status.jsx:3683
|
||||||
#: 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
|
||||||
|
@ -2029,18 +2029,18 @@ msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:903
|
#: src/components/status.jsx:903
|
||||||
#: src/components/status.jsx:965
|
#: src/components/status.jsx:965
|
||||||
#: src/components/status.jsx:2361
|
#: src/components/status.jsx:2364
|
||||||
#: src/components/status.jsx:2393
|
#: src/components/status.jsx:2396
|
||||||
msgid "Unboost"
|
msgid "Unboost"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:919
|
#: src/components/status.jsx:919
|
||||||
#: src/components/status.jsx:2376
|
#: src/components/status.jsx:2379
|
||||||
msgid "Quote"
|
msgid "Quote"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:927
|
#: src/components/status.jsx:927
|
||||||
#: src/components/status.jsx:2385
|
#: src/components/status.jsx:2388
|
||||||
msgid "Some media have no descriptions."
|
msgid "Some media have no descriptions."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2049,12 +2049,12 @@ msgid "Old post (<0>{0}</0>)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:953
|
#: src/components/status.jsx:953
|
||||||
#: src/components/status.jsx:1405
|
#: src/components/status.jsx:1408
|
||||||
msgid "Unboosted @{0}'s post"
|
msgid "Unboosted @{0}'s post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:954
|
#: src/components/status.jsx:954
|
||||||
#: src/components/status.jsx:1406
|
#: src/components/status.jsx:1409
|
||||||
msgid "Boosted @{0}'s post"
|
msgid "Boosted @{0}'s post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2063,21 +2063,21 @@ msgid "Boost…"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:978
|
#: src/components/status.jsx:978
|
||||||
#: src/components/status.jsx:1690
|
#: src/components/status.jsx:1693
|
||||||
#: src/components/status.jsx:2406
|
#: src/components/status.jsx:2409
|
||||||
msgid "Unlike"
|
msgid "Unlike"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:979
|
#: src/components/status.jsx:979
|
||||||
#: src/components/status.jsx:1690
|
#: src/components/status.jsx:1693
|
||||||
#: src/components/status.jsx:1691
|
#: src/components/status.jsx:1694
|
||||||
#: src/components/status.jsx:2406
|
#: src/components/status.jsx:2409
|
||||||
#: src/components/status.jsx:2407
|
#: src/components/status.jsx:2410
|
||||||
msgid "Like"
|
msgid "Like"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:988
|
#: src/components/status.jsx:988
|
||||||
#: src/components/status.jsx:2418
|
#: src/components/status.jsx:2421
|
||||||
msgid "Unbookmark"
|
msgid "Unbookmark"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2094,7 +2094,7 @@ msgid "Edited: {editedDateText}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1187
|
#: src/components/status.jsx:1187
|
||||||
#: src/components/status.jsx:3183
|
#: src/components/status.jsx:3186
|
||||||
msgid "Embed post"
|
msgid "Embed post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2150,150 +2150,150 @@ msgstr ""
|
||||||
msgid "Delete this post?"
|
msgid "Delete this post?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1304
|
#: src/components/status.jsx:1307
|
||||||
msgid "Post deleted"
|
msgid "Post deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1307
|
#: src/components/status.jsx:1310
|
||||||
msgid "Unable to delete post"
|
msgid "Unable to delete post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1335
|
#: src/components/status.jsx:1338
|
||||||
msgid "Report post…"
|
msgid "Report post…"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1691
|
#: src/components/status.jsx:1694
|
||||||
#: src/components/status.jsx:1727
|
#: src/components/status.jsx:1730
|
||||||
#: src/components/status.jsx:2407
|
#: src/components/status.jsx:2410
|
||||||
msgid "Liked"
|
msgid "Liked"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1724
|
#: src/components/status.jsx:1727
|
||||||
#: src/components/status.jsx:2394
|
#: src/components/status.jsx:2397
|
||||||
msgid "Boosted"
|
msgid "Boosted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1734
|
#: src/components/status.jsx:1737
|
||||||
#: src/components/status.jsx:2419
|
#: src/components/status.jsx:2422
|
||||||
msgid "Bookmarked"
|
msgid "Bookmarked"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1738
|
#: src/components/status.jsx:1741
|
||||||
msgid "Pinned"
|
msgid "Pinned"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1783
|
#: src/components/status.jsx:1786
|
||||||
#: src/components/status.jsx:2238
|
#: src/components/status.jsx:2241
|
||||||
msgid "Deleted"
|
msgid "Deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1824
|
#: src/components/status.jsx:1827
|
||||||
msgid "{repliesCount, plural, one {# reply} other {# replies}}"
|
msgid "{repliesCount, plural, one {# reply} other {# replies}}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1913
|
#: src/components/status.jsx:1916
|
||||||
msgid "Thread{0}"
|
msgid "Thread{0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1989
|
#: src/components/status.jsx:1992
|
||||||
#: src/components/status.jsx:2051
|
#: src/components/status.jsx:2054
|
||||||
#: src/components/status.jsx:2136
|
#: src/components/status.jsx:2139
|
||||||
msgid "Show less"
|
msgid "Show less"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:1989
|
#: src/components/status.jsx:1992
|
||||||
#: src/components/status.jsx:2051
|
#: src/components/status.jsx:2054
|
||||||
msgid "Show content"
|
msgid "Show content"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2136
|
#: src/components/status.jsx:2139
|
||||||
msgid "Show media"
|
msgid "Show media"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2259
|
#: src/components/status.jsx:2262
|
||||||
msgid "Edited"
|
msgid "Edited"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2336
|
#: src/components/status.jsx:2339
|
||||||
msgid "Comments"
|
msgid "Comments"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. More from [Author]
|
#. More from [Author]
|
||||||
#: src/components/status.jsx:2645
|
#: src/components/status.jsx:2648
|
||||||
msgid "More from <0/>"
|
msgid "More from <0/>"
|
||||||
msgstr "More from <0/>"
|
msgstr "More from <0/>"
|
||||||
|
|
||||||
#: src/components/status.jsx:2944
|
#: src/components/status.jsx:2947
|
||||||
msgid "Edit History"
|
msgid "Edit History"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2948
|
#: src/components/status.jsx:2951
|
||||||
msgid "Failed to load history"
|
msgid "Failed to load history"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:2953
|
#: src/components/status.jsx:2956
|
||||||
msgid "Loading…"
|
msgid "Loading…"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3188
|
#: src/components/status.jsx:3191
|
||||||
msgid "HTML Code"
|
msgid "HTML Code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3205
|
#: src/components/status.jsx:3208
|
||||||
msgid "HTML code copied"
|
msgid "HTML code copied"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3208
|
#: src/components/status.jsx:3211
|
||||||
msgid "Unable to copy HTML code"
|
msgid "Unable to copy HTML code"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3220
|
#: src/components/status.jsx:3223
|
||||||
msgid "Media attachments:"
|
msgid "Media attachments:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3242
|
#: src/components/status.jsx:3245
|
||||||
msgid "Account Emojis:"
|
msgid "Account Emojis:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3273
|
#: src/components/status.jsx:3276
|
||||||
#: src/components/status.jsx:3318
|
#: src/components/status.jsx:3321
|
||||||
msgid "static URL"
|
msgid "static URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3287
|
#: src/components/status.jsx:3290
|
||||||
msgid "Emojis:"
|
msgid "Emojis:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3332
|
#: src/components/status.jsx:3335
|
||||||
msgid "Notes:"
|
msgid "Notes:"
|
||||||
msgstr ""
|
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."
|
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:3342
|
#: src/components/status.jsx:3345
|
||||||
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:3347
|
#: src/components/status.jsx:3350
|
||||||
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:3353
|
#: src/components/status.jsx:3356
|
||||||
msgid "Post could be edited or deleted later."
|
msgid "Post could be edited or deleted later."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3359
|
#: src/components/status.jsx:3362
|
||||||
msgid "Preview"
|
msgid "Preview"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/status.jsx:3368
|
#: src/components/status.jsx:3371
|
||||||
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:3610
|
#: src/components/status.jsx:3613
|
||||||
msgid "<0/> <1/> boosted"
|
msgid "<0/> <1/> boosted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue