aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-06-28 08:43:28 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-28 13:43:28 +0800
commit32fc44aa83e61acb93dbdcf6d47dfadc69f5c044 (patch)
tree60c08a5a57d10e710c36d27685f199af465f0b97 /options
parent9d8fba62b37aee328f47411d1e187ca8f18396e4 (diff)
downloadgitea-32fc44aa83e61acb93dbdcf6d47dfadc69f5c044.tar.gz
gitea-32fc44aa83e61acb93dbdcf6d47dfadc69f5c044.zip
Make time diff translatable (#2057)
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini33
1 files changed, 17 insertions, 16 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 0cbb32df11..b74921b02b 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -1385,23 +1385,24 @@ push_tag = pushed tag <a href="%s/src/%s">%[2]s</a> to <a href="%[1]s">%[3]s</a>
compare_commits = Compare %d commits
[tool]
-ago = ago
-from_now = from now
+ago = %s ago
+from_now = %s from now
now = now
-1s = 1 second %s
-1m = 1 minute %s
-1h = 1 hour %s
-1d = 1 day %s
-1w = 1 week %s
-1mon = 1 month %s
-1y = 1 year %s
-seconds = %d seconds %s
-minutes = %d minutes %s
-hours = %d hours %s
-days = %d days %s
-weeks = %d weeks %s
-months = %d months %s
-years = %d years %s
+future = future
+1s = 1 second
+1m = 1 minute
+1h = 1 hour
+1d = 1 day
+1w = 1 week
+1mon = 1 month
+1y = 1 year
+seconds = %d seconds
+minutes = %d minutes
+hours = %d hours
+days = %d days
+weeks = %d weeks
+months = %d months
+years = %d years
raw_seconds = seconds
raw_minutes = minutes