Skip to content

Commit

Permalink
fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Natsuki-Kaede committed Oct 29, 2024
1 parent 6384876 commit 960abbb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1852,6 +1852,7 @@ _role:
gtlAvailable: "Can view the global timeline"
ltlAvailable: "Can view the local timeline"
canPublicNote: "Can send public notes"
canEditNote: "Can edit notes"
mentionMax: "Maximum number of mentions in a note"
canInvite: "Can create instance invite codes"
inviteLimit: "Invite limit"
Expand Down Expand Up @@ -2820,3 +2821,9 @@ _embedCodeGen:
generateCode: "Generate embed code"
codeGenerated: "The code has been generated"
codeGeneratedDescription: "Paste the generated code into your website to embed the content."
_selfXssPrevention:
warning: "WARNING"
title: "Any request to 'paste something into this screen' is a scam."
description1: "Pasting content here could allow malicious users to hijack your account or steal your personal information."
description2: "If you don't fully understand what you're about to paste, %cplease stop immediately and close this window."
description3: "For more information, please check here: {link}"
1 change: 1 addition & 0 deletions locales/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export function build() {
default:
return merge(
locales['en-US'],
locales['ja-JP'],
locales[`${lang}-${primaries[lang]}`] ?? {},
v
);
Expand Down

0 comments on commit 960abbb

Please sign in to comment.