Add localisation support to short relative timestamps on score leaderboards - #38250
Add localisation support to short relative timestamps on score leaderboards#38250Newmcpe wants to merge 1 commit into
Conversation
…boards Closes ppy#38065. Reuses osu-web's `common.scoreboard_time.*` localised strings instead of the previously hardcoded English suffixes (e.g. `4dys`, `9mos`, `1yr`).
|
This PR changes the formatting of timestamps in English.
Previously the client formatting was intentionally deviated from the website's. Deviations of particular note:
Before this can proceed, this entire mess probably needs to be cleared up and unified, one way or another. |


Closes #38065.
Relative timestamps on score leaderboards ("4d", "9mo", "1y") were hardcoded to English rather than going through localisation, so non-English clients showed untranslated text while the hover tooltip was already localised. Reuses osu-web's existing
common.scoreboard_time.*strings (same ones the in-game web views use) instead.