Skip to content

Commit 9f77b21

Browse files
committed
translate
1 parent d6f7351 commit 9f77b21

File tree

5 files changed

+695
-50
lines changed

5 files changed

+695
-50
lines changed

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

Lines changed: 139 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@ msgstr "{0}'s notes"
128128
msgid "{0}'s shares"
129129
msgstr "{0}'s shares"
130130

131-
#: src/routes/(root)/sign/index.tsx:193
131+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:381
132+
msgid "A passkey with this name already exists"
133+
msgstr "A passkey with this name already exists"
134+
135+
#: src/routes/(root)/sign/index.tsx:233
132136
msgid "A sign-in link has been sent to your email. Please check your inbox (or spam folder)."
133137
msgstr "A sign-in link has been sent to your email. Please check your inbox (or spam folder)."
134138

@@ -140,6 +144,14 @@ msgstr "Account"
140144
msgid "An error occurred during signup. Please try again."
141145
msgstr "An error occurred during signup. Please try again."
142146

147+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:253
148+
msgid "An error occurred while registering your passkey."
149+
msgstr "An error occurred while registering your passkey."
150+
151+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:300
152+
msgid "An error occurred while revoking your passkey."
153+
msgstr "An error occurred while revoking your passkey."
154+
143155
#: src/routes/(root)/[handle]/settings/preferences.tsx:144
144156
msgid "An error occurred while saving your preferences. Please try again, or contact support if the problem persists."
145157
msgstr "An error occurred while saving your preferences. Please try again, or contact support if the problem persists."
@@ -148,6 +160,11 @@ msgstr "An error occurred while saving your preferences. Please try again, or co
148160
msgid "An error occurred while saving your settings. Please try again, or contact support if the problem persists."
149161
msgstr "An error occurred while saving your settings. Please try again, or contact support if the problem persists."
150162

163+
#. placeholder {0}: passkeyToRevoke()?.name
164+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:476
165+
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."
166+
msgstr "Are you sure you want to revoke passkey {0}? You won't be able to use it to sign in to your account anymore."
167+
151168
#: src/components/ProfileTabs.tsx:48
152169
#: src/routes/(root)/[handle]/(profile)/articles.tsx:84
153170
msgid "Articles"
@@ -162,6 +179,10 @@ msgstr "Articles only"
162179
msgid "As you have already changed it {0}, you can't change it again."
163180
msgstr "As you have already changed it {0}, you can't change it again."
164181

182+
#: src/routes/(root)/sign/index.tsx:419
183+
msgid "Authenticating..."
184+
msgstr "Authenticating..."
185+
165186
#: src/routes/(root)/[handle]/settings/index.tsx:247
166187
#: src/routes/(root)/sign/up/[token].tsx:410
167188
msgid "Bio"
@@ -171,13 +192,21 @@ msgstr "Bio"
171192
msgid "Bio is too long. Maximum length is 512 characters."
172193
msgstr "Bio is too long. Maximum length is 512 characters."
173194

195+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:480
196+
msgid "Cancel"
197+
msgstr "Cancel"
198+
174199
#: src/components/AppSidebar.tsx:321
175200
#: src/routes/(root)/coc.tsx:53
176201
#: src/routes/(root)/coc.tsx:58
177202
#: src/routes/(root)/sign/up/[token].tsx:457
178203
msgid "Code of conduct"
179204
msgstr "Code of conduct"
180205

206+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:423
207+
msgid "Created:"
208+
msgstr "Created:"
209+
181210
#: src/routes/(root)/sign/up/[token].tsx:485
182211
msgid "Creating account…"
183212
msgstr "Creating account…"
@@ -195,26 +224,30 @@ msgstr "Default share privacy"
195224
msgid "Display name"
196225
msgstr "Display name"
197226

198-
#: src/routes/(root)/sign/index.tsx:288
227+
#: src/routes/(root)/sign/index.tsx:425
199228
msgid "Do you need an account? Hackers' Pub is invite-only—please ask a friend to invite you."
200229
msgstr "Do you need an account? Hackers' Pub is invite-only—please ask a friend to invite you."
201230

202231
#: src/routes/(root)/sign/up/[token].tsx:337
203232
msgid "Email address"
204233
msgstr "Email address"
205234

206-
#: src/routes/(root)/sign/index.tsx:266
235+
#: src/routes/(root)/sign/index.tsx:380
207236
msgid "Email or username"
208237
msgstr "Email or username"
209238

210-
#: src/routes/(root)/sign/index.tsx:201
239+
#: src/routes/(root)/sign/index.tsx:241
211240
msgid "Enter your email or username below to sign in."
212241
msgstr "Enter your email or username below to sign in."
213242

214243
#: src/routes/(root)/sign/up/[token].tsx:295
215244
msgid "Error"
216245
msgstr "Error"
217246

247+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:373
248+
msgid "ex) My key"
249+
msgstr "ex) My key"
250+
218251
#: src/components/ActorArticleList.tsx:75
219252
msgid "Failed to load more articles; click to retry"
220253
msgstr "Failed to load more articles; click to retry"
@@ -236,6 +269,15 @@ msgstr "Failed to load more notifications; click to retry"
236269
msgid "Failed to load more posts; click to retry"
237270
msgstr "Failed to load more posts; click to retry"
238271

272+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:250
273+
msgid "Failed to register passkey"
274+
msgstr "Failed to register passkey"
275+
276+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:290
277+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:297
278+
msgid "Failed to revoke passkey"
279+
msgstr "Failed to revoke passkey"
280+
239281
#: src/routes/(root)/[handle]/settings/preferences.tsx:142
240282
msgid "Failed to save preferences"
241283
msgstr "Failed to save preferences"
@@ -301,6 +343,10 @@ msgstr "If enabled, the AI will generate a summary of the article for you. Other
301343
msgid "John Doe"
302344
msgstr "John Doe"
303345

346+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:432
347+
msgid "Last used:"
348+
msgstr "Last used:"
349+
304350
#: src/components/ActorArticleList.tsx:78
305351
msgid "Load more articles"
306352
msgstr "Load more articles"
@@ -365,6 +411,10 @@ msgstr "Name is required."
365411
msgid "Name is too long. Maximum length is 50 characters."
366412
msgstr "Name is too long. Maximum length is 50 characters."
367413

414+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:438
415+
msgid "Never used"
416+
msgstr "Never used"
417+
368418
#: src/components/ActorFollowerList.tsx:90
369419
msgid "No followers found"
370420
msgstr "No followers found"
@@ -386,7 +436,7 @@ msgstr "No posts found"
386436
#~ msgid "No posts found."
387437
#~ msgstr "No posts found."
388438

389-
#: src/routes/(root)/sign/index.tsx:198
439+
#: src/routes/(root)/sign/index.tsx:238
390440
msgid "No such account in Hackers' Pub—please try again."
391441
msgstr "No such account in Hackers' Pub—please try again."
392442

@@ -395,14 +445,43 @@ msgstr "No such account in Hackers' Pub—please try again."
395445
msgid "Notes"
396446
msgstr "Notes"
397447

398-
#: src/routes/(root)/sign/index.tsx:299
448+
#: src/routes/(root)/sign/index.tsx:406
449+
msgid "Or"
450+
msgstr "Or"
451+
452+
#: src/routes/(root)/sign/index.tsx:436
399453
msgid "Or enter the code from the email"
400454
msgstr "Or enter the code from the email"
401455

402456
#: src/routes/[...404].tsx:11
403457
msgid "Page Not Found"
404458
msgstr "Page Not Found"
405459

460+
#: src/routes/(root)/sign/index.tsx:346
461+
msgid "Passkey authentication failed"
462+
msgstr "Passkey authentication failed"
463+
464+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:368
465+
msgid "Passkey name"
466+
msgstr "Passkey name"
467+
468+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:236
469+
msgid "Passkey registered successfully"
470+
msgstr "Passkey registered successfully"
471+
472+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:282
473+
msgid "Passkey revoked"
474+
msgstr "Passkey revoked"
475+
476+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:333
477+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:344
478+
msgid "passkeys"
479+
msgstr "passkeys"
480+
481+
#: src/components/SettingsTabs.tsx:51
482+
msgid "Passkeys"
483+
msgstr "Passkeys"
484+
406485
#: src/components/ProfileTabs.tsx:38
407486
msgid "Posts"
408487
msgstr "Posts"
@@ -440,6 +519,35 @@ msgstr "Read full article"
440519
msgid "Read the full Code of conduct"
441520
msgstr "Read the full Code of conduct"
442521

522+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:392
523+
msgid "Register"
524+
msgstr "Register"
525+
526+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:355
527+
msgid "Register a passkey"
528+
msgstr "Register a passkey"
529+
530+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:357
531+
msgid "Register a passkey to sign in to your account. You can use a passkey instead of receiving a sign-in link by email."
532+
msgstr "Register a passkey to sign in to your account. You can use a passkey instead of receiving a sign-in link by email."
533+
534+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:399
535+
msgid "Registered passkeys"
536+
msgstr "Registered passkeys"
537+
538+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:392
539+
msgid "Registering..."
540+
msgstr "Registering..."
541+
542+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:453
543+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:485
544+
msgid "Revoke"
545+
msgstr "Revoke"
546+
547+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:474
548+
msgid "Revoke passkey"
549+
msgstr "Revoke passkey"
550+
443551
#: src/routes/(root)/[handle]/settings/index.tsx:264
444552
#: src/routes/(root)/[handle]/settings/preferences.tsx:243
445553
msgid "Save"
@@ -452,6 +560,7 @@ msgstr "Saving…"
452560

453561
#: src/components/AppSidebar.tsx:288
454562
#: src/routes/(root)/[handle]/settings/index.tsx:180
563+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:338
455564
#: src/routes/(root)/[handle]/settings/preferences.tsx:181
456565
msgid "Settings"
457566
msgstr "Settings"
@@ -462,10 +571,14 @@ msgid "Shares"
462571
msgstr "Shares"
463572

464573
#: src/components/AppSidebar.tsx:241
465-
#: src/routes/(root)/sign/index.tsx:282
574+
#: src/routes/(root)/sign/index.tsx:396
466575
msgid "Sign in"
467576
msgstr "Sign in"
468577

578+
#: src/routes/(root)/sign/index.tsx:420
579+
msgid "Sign in with passkey"
580+
msgstr "Sign in with passkey"
581+
469582
#: src/components/AppSidebar.tsx:310
470583
msgid "Sign out"
471584
msgstr "Sign out"
@@ -474,19 +587,19 @@ msgstr "Sign out"
474587
msgid "Sign up"
475588
msgstr "Sign up"
476589

477-
#: src/routes/(root)/sign/index.tsx:249
590+
#: src/routes/(root)/sign/index.tsx:363
478591
msgid "Signing in Hackers' Pub"
479592
msgstr "Signing in Hackers' Pub"
480593

481-
#: src/routes/(root)/sign/index.tsx:282
594+
#: src/routes/(root)/sign/index.tsx:396
482595
msgid "Signing in…"
483596
msgstr "Signing in…"
484597

485598
#: src/routes/(root)/sign/up/[token].tsx:313
486599
msgid "Signing up for Hackers' Pub"
487600
msgstr "Signing up for Hackers' Pub"
488601

489-
#: src/routes/(root)/sign/index.tsx:203
602+
#: src/routes/(root)/sign/index.tsx:243
490603
msgid "Something went wrong—please try again."
491604
msgstr "Something went wrong—please try again."
492605

@@ -518,6 +631,14 @@ msgstr "The default privacy setting for your notes."
518631
msgid "The default privacy setting for your shares."
519632
msgstr "The default privacy setting for your shares."
520633

634+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:401
635+
msgid "The following passkeys are registered to your account. You can use them to sign in to your account."
636+
msgstr "The following passkeys are registered to your account. You can use them to sign in to your account."
637+
638+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:283
639+
msgid "The passkey has been successfully revoked."
640+
msgstr "The passkey has been successfully revoked."
641+
521642
#: src/routes/(root)/sign/up/[token].tsx:322
522643
msgid "The sign-up link is invalid. Please make sure you're using the correct link from the email you received."
523644
msgstr "The sign-up link is invalid. Please make sure you're using the correct link from the email you received."
@@ -596,6 +717,10 @@ msgstr "Without shares"
596717
msgid "You can change it only once, and the old username will become available to others."
597718
msgstr "You can change it only once, and the old username will become available to others."
598719

720+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:409
721+
msgid "You don't have any passkeys registered yet."
722+
msgstr "You don't have any passkeys registered yet."
723+
599724
#: src/routes/(root)/sign/up/[token].tsx:433
600725
msgid "You were invited by"
601726
msgstr "You were invited by"
@@ -621,6 +746,10 @@ msgstr "Your email address will be used to sign in to your account."
621746
msgid "Your name will be displayed on your profile and in your posts."
622747
msgstr "Your name will be displayed on your profile and in your posts."
623748

749+
#: src/routes/(root)/[handle]/settings/passkeys.tsx:238
750+
msgid "Your passkey has been registered and can now be used for authentication."
751+
msgstr "Your passkey has been registered and can now be used for authentication."
752+
624753
#: src/routes/(root)/[handle]/settings/preferences.tsx:135
625754
msgid "Your preferences have been updated successfully."
626755
msgstr "Your preferences have been updated successfully."

0 commit comments

Comments
 (0)