Try fix same words with different contexts

This commit is contained in:
Lim Chee Aun 2024-10-14 19:20:28 +08:00
parent 8b3ea707f6
commit 5e4300f71d
2 changed files with 38 additions and 34 deletions

65
src/locales/en.po generated
View file

@ -118,7 +118,7 @@ msgstr ""
#: src/pages/hashtag.jsx:199
#: src/pages/list.jsx:157
#: src/pages/public.jsx:114
#: src/pages/status.jsx:1178
#: src/pages/status.jsx:1181
#: src/pages/trending.jsx:471
msgid "More"
msgstr ""
@ -185,8 +185,8 @@ msgstr ""
#: src/pages/catchup.jsx:71
#: src/pages/catchup.jsx:1445
#: src/pages/catchup.jsx:2056
#: src/pages/status.jsx:901
#: src/pages/status.jsx:1503
#: src/pages/status.jsx:904
#: src/pages/status.jsx:1506
msgid "Replies"
msgstr ""
@ -427,7 +427,7 @@ msgstr ""
#: src/pages/notifications.jsx:868
#: src/pages/notifications.jsx:1082
#: src/pages/settings.jsx:76
#: src/pages/status.jsx:1265
#: src/pages/status.jsx:1268
msgid "Close"
msgstr ""
@ -967,7 +967,7 @@ msgstr ""
#: src/pages/list.jsx:293
#: src/pages/notifications.jsx:848
#: src/pages/search.jsx:454
#: src/pages/status.jsx:1298
#: src/pages/status.jsx:1301
msgid "Show more…"
msgstr ""
@ -1350,7 +1350,7 @@ msgstr ""
#: src/components/nav-menu.jsx:363
#: src/pages/login.jsx:189
#: src/pages/status.jsx:801
#: src/pages/status.jsx:804
#: src/pages/welcome.jsx:64
msgid "Log in"
msgstr ""
@ -1540,8 +1540,8 @@ msgstr ""
#: src/components/poll.jsx:205
#: src/components/poll.jsx:207
#: src/pages/status.jsx:1167
#: src/pages/status.jsx:1190
#: src/pages/status.jsx:1170
#: src/pages/status.jsx:1193
msgid "Refresh"
msgstr ""
@ -2309,8 +2309,8 @@ msgstr ""
#: src/components/timeline.jsx:554
#: src/pages/home.jsx:213
#: src/pages/notifications.jsx:824
#: src/pages/status.jsx:954
#: src/pages/status.jsx:1327
#: src/pages/status.jsx:957
#: src/pages/status.jsx:1330
msgid "Try again"
msgstr ""
@ -3550,84 +3550,85 @@ msgid "NOTE: Push notifications only work for <0>one account</0>."
msgstr ""
#: src/pages/status.jsx:567
#: src/pages/status.jsx:1097
#: src/pages/status.jsx:1100
msgctxt "noun"
msgid "Post"
msgstr ""
msgstr "Post"
#: src/pages/status.jsx:788
#: src/pages/status.jsx:791
msgid "You're not logged in. Interactions (reply, boost, etc) are not possible."
msgstr ""
#: src/pages/status.jsx:808
#: src/pages/status.jsx:811
msgid "This post is from another instance (<0>{instance}</0>). Interactions (reply, boost, etc) are not possible."
msgstr ""
#: src/pages/status.jsx:836
#: src/pages/status.jsx:839
msgid "Error: {e}"
msgstr ""
#: src/pages/status.jsx:843
#: src/pages/status.jsx:846
msgid "Switch to my instance to enable interactions"
msgstr ""
#: src/pages/status.jsx:945
#: src/pages/status.jsx:948
msgid "Unable to load replies."
msgstr ""
#: src/pages/status.jsx:1057
#: src/pages/status.jsx:1060
msgid "Back"
msgstr ""
#: src/pages/status.jsx:1088
#: src/pages/status.jsx:1091
msgid "Go to main post"
msgstr ""
#: src/pages/status.jsx:1111
#: src/pages/status.jsx:1114
msgid "{0} posts above Go to top"
msgstr ""
#: src/pages/status.jsx:1154
#: src/pages/status.jsx:1217
#: src/pages/status.jsx:1157
#: src/pages/status.jsx:1220
msgid "Switch to Side Peek view"
msgstr ""
#: src/pages/status.jsx:1218
#: src/pages/status.jsx:1221
msgid "Switch to Full view"
msgstr ""
#: src/pages/status.jsx:1236
#: src/pages/status.jsx:1239
msgid "Show all sensitive content"
msgstr ""
#: src/pages/status.jsx:1241
#: src/pages/status.jsx:1244
msgid "Experimental"
msgstr ""
#: src/pages/status.jsx:1250
#: src/pages/status.jsx:1253
msgid "Unable to switch"
msgstr ""
#: src/pages/status.jsx:1257
#: src/pages/status.jsx:1260
msgid "Switch to post's instance ({0})"
msgstr ""
#: src/pages/status.jsx:1260
#: src/pages/status.jsx:1263
msgid "Switch to post's instance"
msgstr ""
#: src/pages/status.jsx:1318
#: src/pages/status.jsx:1321
msgid "Unable to load post"
msgstr ""
#: src/pages/status.jsx:1435
#: src/pages/status.jsx:1438
msgid "{0, plural, one {# reply} other {<0>{1}</0> replies}}"
msgstr ""
#: src/pages/status.jsx:1453
#: src/pages/status.jsx:1456
msgid "{totalComments, plural, one {# comment} other {<0>{0}</0> comments}}"
msgstr ""
#: src/pages/status.jsx:1475
#: src/pages/status.jsx:1478
msgid "View post with its replies"
msgstr ""

View file

@ -564,7 +564,10 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
useTitle(
heroDisplayName && heroContentText
? `${heroDisplayName}: "${heroContentText}"`
: t`Post`,
: t({
message: 'Post',
context: 'noun',
}),
'/:instance?/s/:id',
);
@ -1094,7 +1097,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
</>
) : (
<>
<Trans>Post</Trans>{' '}
<Trans context="noun">Post</Trans>{' '}
<button
type="button"
class="ancestors-indicator light small"