diff options
author | Yarden Shoham <git@yardenshoham.com> | 2023-04-15 14:01:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 13:01:54 +0200 |
commit | b4e952545b95953056f2645b38aa17d15bcd58ab (patch) | |
tree | d5e84c516c743a15bc39a548ca1a7caf1cf81569 /options | |
parent | 35e562d7bd5e984a5cb97f74f5753d2a9998c1d3 (diff) | |
download | gitea-b4e952545b95953056f2645b38aa17d15bcd58ab.tar.gz gitea-b4e952545b95953056f2645b38aa17d15bcd58ab.zip |
Remove untranslatable `on_date` key (#24106)
- Follows #23988
- Fixes: #24074 by removing this key
GitHub's `relative-time` elements allow us to force their rendering to
`auto`, `past`, or `future` tense. We will never show an absolute date
`on ...` in `TimeSince`
## Before
![image](https://user-images.githubusercontent.com/20454870/231735872-048c7bf3-6aa1-4113-929d-75a985c9922c.png)
## After
![image](https://user-images.githubusercontent.com/20454870/231736116-6ad47b63-77f4-4d3f-82a2-ee9a46ba2bd1.png)
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'options')
-rw-r--r-- | options/locale/locale_en-US.ini | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index f71ea824e9..c2c8f1e120 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -112,8 +112,6 @@ never = Never rss_feed = RSS Feed -on_date = on - [aria] navbar = Navigation Bar footer = Footer @@ -3129,8 +3127,6 @@ starred_repo = starred <a href="%[1]s">%[2]s</a> watched_repo = started watching <a href="%[1]s">%[2]s</a> [tool] -ago = %s ago -from_now = %s from now now = now future = future 1s = 1 second |