aboutsummaryrefslogtreecommitdiffstats
path: root/options/locale/locale_en-US.ini
diff options
context:
space:
mode:
authorYarden Shoham <git@yardenshoham.com>2023-05-06 16:11:27 +0300
committerGitHub <noreply@github.com>2023-05-06 21:11:27 +0800
commit46679554d01b0475b4339fb3c5fec96da3a7e202 (patch)
tree7a9e7b775bccab0904ca943942074aa0ed48a62b /options/locale/locale_en-US.ini
parent95e2e3aa30d777a8298319885bb885befa870396 (diff)
downloadgitea-46679554d01b0475b4339fb3c5fec96da3a7e202.tar.gz
gitea-46679554d01b0475b4339fb3c5fec96da3a7e202.zip
Change `add_on` translation to `added_on` and include placeholder for the date (#24562)
- Very similar to #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 "added on" and the date (and that "added on" comes before the date). Some languages, like Hebrew, have no space between the "added on" and the date. For example: ```ini added_on=נוסף ב-%s ``` ("added" becomes נוסף, "on" is ב and when paired with a date we use a dash to connect ב with the date) --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'options/locale/locale_en-US.ini')
-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 c988cb5964..b3bf00a60a 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -754,7 +754,7 @@ ssh_principal_deletion_desc = Removing a SSH Certificate Principal revokes its a
ssh_key_deletion_success = The SSH key has been removed.
gpg_key_deletion_success = The GPG key has been removed.
ssh_principal_deletion_success = The principal has been removed.
-add_on = Added on
+added_on = Added on %s
valid_until_date = Valid until %s
valid_forever = Valid forever
last_used = Last used on