Skip to content

Commit f3f33c8

Browse files
dahliaclaude
andcommitted
web-next: Complete invitation system translations
Fill in missing translations for invitation functionality across all supported locales (ja-JP, ko-KR, zh-CN, zh-TW). Translations include invitation form labels, error messages, validation feedback, and UI elements. All translations follow established terminology from glossary files and maintain consistency with existing locale conventions. Co-Authored-By: Claude <[email protected]>
1 parent 5eec31c commit f3f33c8

File tree

5 files changed

+425
-5
lines changed

5 files changed

+425
-5
lines changed

web-next/src/locales/en-US/messages.po

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ msgstr "{0, plural, one {# follower} other {# followers}}"
2323
msgid "{0, plural, one {# following} other {# following}}"
2424
msgstr "{0, plural, one {# following} other {# following}}"
2525

26+
#. placeholder {0}: account().invitationsLeft
27+
#: src/routes/(root)/[handle]/settings/invite.tsx:237
28+
msgid "{0, plural, one {Invite your friends to Hackers' Pub. You can invite up to # person.} other {Invite your friends to Hackers' Pub. You can invite up to # people.}}"
29+
msgstr "{0, plural, one {Invite your friends to Hackers' Pub. You can invite up to # person.} other {Invite your friends to Hackers' Pub. You can invite up to # people.}}"
30+
2631
#. placeholder {0}: "ACTOR"
2732
#. placeholder {1}: "COUNT"
2833
#: src/components/notification/FollowNotificationCard.tsx:29
@@ -65,6 +70,11 @@ msgstr "{0} and {1} others shared your post"
6570
msgid "{0} followed you"
6671
msgstr "{0} followed you"
6772

73+
#. placeholder {0}: "USER"
74+
#: src/routes/(root)/[handle]/settings/invite.tsx:281
75+
msgid "{0} is already a member of Hackers' Pub."
76+
msgstr "{0} is already a member of Hackers' Pub."
77+
6878
#. placeholder {0}: "ACTOR"
6979
#: src/components/notification/MentionNotificationCard.tsx:35
7080
msgid "{0} mentioned you"
@@ -160,6 +170,10 @@ msgstr "An error occurred while saving your preferences. Please try again, or co
160170
msgid "An error occurred while saving your settings. Please try again, or contact support if the problem persists."
161171
msgstr "An error occurred while saving your settings. Please try again, or contact support if the problem persists."
162172

173+
#: src/routes/(root)/[handle]/settings/invite.tsx:178
174+
msgid "An unexpected error occurred. Please try again later."
175+
msgstr "An unexpected error occurred. Please try again later."
176+
163177
#. placeholder {0}: passkeyToRevoke()?.name
164178
#: src/routes/(root)/[handle]/settings/passkeys.tsx:539
165179
msgid "Are you sure you want to revoke passkey {0}? You won't be able to use it to sign in to your account anymore."
@@ -201,6 +215,10 @@ msgstr "Bio is too long. Maximum length is 512 characters."
201215
msgid "Cancel"
202216
msgstr "Cancel"
203217

218+
#: src/routes/(root)/[handle]/settings/invite.tsx:305
219+
msgid "Choose the language your friend prefers. This language will only be used for the invitation."
220+
msgstr "Choose the language your friend prefers. This language will only be used for the invitation."
221+
204222
#: src/components/AppSidebar.tsx:321
205223
#: src/routes/(root)/coc.tsx:53
206224
#: src/routes/(root)/coc.tsx:58
@@ -245,6 +263,7 @@ msgstr "Do you need an account? Hackers' Pub is invite-only—please ask a frien
245263
msgid "Drag to select the area you want to keep, then click “Crop” to update your avatar."
246264
msgstr "Drag to select the area you want to keep, then click “Crop” to update your avatar."
247265

266+
#: src/routes/(root)/[handle]/settings/invite.tsx:254
248267
#: src/routes/(root)/sign/up/[token].tsx:337
249268
msgid "Email address"
250269
msgstr "Email address"
@@ -265,6 +284,10 @@ msgstr "Error"
265284
msgid "ex) My key"
266285
msgstr "ex) My key"
267286

287+
#: src/routes/(root)/[handle]/settings/invite.tsx:310
288+
msgid "Extra message"
289+
msgstr "Extra message"
290+
268291
#: src/components/ActorArticleList.tsx:75
269292
msgid "Failed to load more articles; click to retry"
270293
msgstr "Failed to load more articles; click to retry"
@@ -307,6 +330,11 @@ msgstr "Failed to save preferences"
307330
msgid "Failed to save settings"
308331
msgstr "Failed to save settings"
309332

333+
#: src/routes/(root)/[handle]/settings/invite.tsx:156
334+
#: src/routes/(root)/[handle]/settings/invite.tsx:176
335+
msgid "Failed to send invitation"
336+
msgstr "Failed to send invitation"
337+
310338
#. placeholder {0}: error.message
311339
#: src/components/AppSidebar.tsx:81
312340
msgid "Failed to sign out: {0}"
@@ -360,6 +388,20 @@ msgstr "I have read and agree to the Code of conduct."
360388
msgid "If enabled, the AI will generate a summary of the article for you. Otherwise, the first few lines of the article will be used as the summary."
361389
msgstr "If enabled, the AI will generate a summary of the article for you. Otherwise, the first few lines of the article will be used as the summary."
362390

391+
#: src/routes/(root)/[handle]/settings/invite.tsx:298
392+
msgid "Invitation language"
393+
msgstr "Invitation language"
394+
395+
#: src/routes/(root)/[handle]/settings/invite.tsx:166
396+
msgid "Invitation sent"
397+
msgstr "Invitation sent"
398+
399+
#: src/components/SettingsTabs.tsx:51
400+
#: src/routes/(root)/[handle]/settings/invite.tsx:210
401+
#: src/routes/(root)/[handle]/settings/invite.tsx:221
402+
msgid "Invite"
403+
msgstr "Invite"
404+
363405
#: src/routes/(root)/[handle]/settings/index.tsx:460
364406
msgid "John Doe"
365407
msgstr "John Doe"
@@ -452,6 +494,10 @@ msgstr "Never used"
452494
msgid "No followers found"
453495
msgstr "No followers found"
454496

497+
#: src/routes/(root)/[handle]/settings/invite.tsx:328
498+
msgid "No invitations left"
499+
msgstr "No invitations left"
500+
455501
#: src/components/ActorArticleList.tsx:85
456502
msgid "No notes articles"
457503
msgstr "No notes articles"
@@ -516,14 +562,18 @@ msgstr "Passkey revoked"
516562
msgid "passkeys"
517563
msgstr "passkeys"
518564

519-
#: src/components/SettingsTabs.tsx:51
565+
#: src/components/SettingsTabs.tsx:58
520566
msgid "Passkeys"
521567
msgstr "Passkeys"
522568

523569
#: src/routes/(root)/[handle]/settings/index.tsx:212
524570
msgid "Please choose an image file smaller than 5 MiB."
525571
msgstr "Please choose an image file smaller than 5 MiB."
526572

573+
#: src/routes/(root)/[handle]/settings/invite.tsx:157
574+
msgid "Please correct the errors and try again."
575+
msgstr "Please correct the errors and try again."
576+
527577
#: src/components/ProfileTabs.tsx:38
528578
msgid "Posts"
529579
msgstr "Posts"
@@ -600,8 +650,17 @@ msgstr "Save"
600650
msgid "Saving…"
601651
msgstr "Saving…"
602652

653+
#: src/routes/(root)/[handle]/settings/invite.tsx:331
654+
msgid "Send"
655+
msgstr "Send"
656+
657+
#: src/routes/(root)/[handle]/settings/invite.tsx:330
658+
msgid "Sending…"
659+
msgstr "Sending…"
660+
603661
#: src/components/AppSidebar.tsx:288
604662
#: src/routes/(root)/[handle]/settings/index.tsx:152
663+
#: src/routes/(root)/[handle]/settings/invite.tsx:215
605664
#: src/routes/(root)/[handle]/settings/passkeys.tsx:379
606665
#: src/routes/(root)/[handle]/settings/preferences.tsx:181
607666
msgid "Settings"
@@ -673,10 +732,22 @@ msgstr "The default privacy setting for your notes."
673732
msgid "The default privacy setting for your shares."
674733
msgstr "The default privacy setting for your shares."
675734

735+
#: src/routes/(root)/[handle]/settings/invite.tsx:272
736+
msgid "The email address is invalid."
737+
msgstr "The email address is invalid."
738+
739+
#: src/routes/(root)/[handle]/settings/invite.tsx:267
740+
msgid "The email address is not only used for receiving the invitation, but also for signing in to the account."
741+
msgstr "The email address is not only used for receiving the invitation, but also for signing in to the account."
742+
676743
#: src/routes/(root)/[handle]/settings/passkeys.tsx:429
677744
msgid "The following passkeys are registered to your account. You can use them to sign in to your account."
678745
msgstr "The following passkeys are registered to your account. You can use them to sign in to your account."
679746

747+
#: src/routes/(root)/[handle]/settings/invite.tsx:167
748+
msgid "The invitation has been sent successfully."
749+
msgstr "The invitation has been sent successfully."
750+
680751
#: src/routes/(root)/[handle]/settings/passkeys.tsx:326
681752
msgid "The passkey has been successfully revoked."
682753
msgstr "The passkey has been successfully revoked."
@@ -775,10 +846,19 @@ msgstr "You can change it only once, and the old username will become available
775846
msgid "You can leave this empty to remove the link."
776847
msgstr "You can leave this empty to remove the link."
777848

849+
#: src/routes/(root)/[handle]/settings/invite.tsx:316
850+
msgid "You can leave this field empty."
851+
msgstr "You can leave this field empty."
852+
778853
#: src/routes/(root)/[handle]/settings/passkeys.tsx:441
779854
msgid "You don't have any passkeys registered yet."
780855
msgstr "You don't have any passkeys registered yet."
781856

857+
#: src/routes/(root)/[handle]/settings/invite.tsx:235
858+
#: src/routes/(root)/[handle]/settings/invite.tsx:337
859+
msgid "You have no invitations left. Please wait until you receive more."
860+
msgstr "You have no invitations left. Please wait until you receive more."
861+
782862
#: src/routes/(root)/sign/up/[token].tsx:433
783863
msgid "You were invited by"
784864
msgstr "You were invited by"
@@ -803,6 +883,10 @@ msgstr "Your bio will be displayed on your profile. You can use Markdown to form
803883
msgid "Your email address will be used to sign in to your account."
804884
msgstr "Your email address will be used to sign in to your account."
805885

886+
#: src/routes/(root)/[handle]/settings/invite.tsx:319
887+
msgid "Your friend will see this message in the invitation email."
888+
msgstr "Your friend will see this message in the invitation email."
889+
806890
#: src/routes/(root)/[handle]/settings/index.tsx:464
807891
#: src/routes/(root)/sign/up/[token].tsx:400
808892
msgid "Your name will be displayed on your profile and in your posts."

0 commit comments

Comments
 (0)