aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorYarden Shoham <git@yardenshoham.com>2023-05-06 13:10:30 +0300
committerGitHub <noreply@github.com>2023-05-06 18:10:30 +0800
commit291c86804699ca00c937bfa58f3ee6a3263ea5ae (patch)
treebe3ad0beb80ee722839a12af99b3d547ea732d1a /options
parente5a8ebc0ed2553a16bac4b54a74cc3e5e8036b32 (diff)
downloadgitea-291c86804699ca00c937bfa58f3ee6a3263ea5ae.tar.gz
gitea-291c86804699ca00c937bfa58f3ee6a3263ea5ae.zip
Change `join_on` translation to `joined_on` and include placeholder for the date (#24550)
The correct thing to do is to translate the entire phrase into a single string. The previous translation assumed all languages have a space between the "joined on" and the date (and that "joined on" comes before the date). Some languages, like Hebrew, have no space between the "joined on" and the date. For example: ```ini joined_on=נרשם ב-%s ``` ("joined" becomes נרשם, "on" is ב and when paired with a date we use a dash to connect ב with the date)
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 248936e35d..19ab6b15e4 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -559,7 +559,7 @@ target_branch_not_exist = Target branch does not exist.
[user]
change_avatar = Change your avatar…
-join_on = Joined on
+joined_on = Joined on %s
repositories = Repositories
activity = Public Activity
followers = Followers