Skip to content

Commit

Permalink
added localization
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanuwu committed Jan 11, 2025
1 parent 516b101 commit 5eadad1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -646,5 +646,6 @@
"suspended_user": { "message": "Account suspended" },
"suspended_user_desc": { "message": "The profile you are trying to view has been suspended." },
"show_boring_indicators": { "message": "Show indicator in followers/following page if last tweet of person is a retweet/quote/non-existent/old" },
"hide_original_languages":{"message": "Hide original languages when translated" }
"hide_original_languages":{"message": "Hide original languages when translated" },
"blocked": { "message": "Blocked" }
}
2 changes: 1 addition & 1 deletion scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ async function appendUser(u, container, label, usernameClass = '') {
: 'follow'
}">
${u.blocking
? 'Blocked'
? LOC.blocked.message
: u.following
? LOC.following_btn.message
: LOC.follow.message
Expand Down

0 comments on commit 5eadad1

Please sign in to comment.