revanced-manager icon indicating copy to clipboard operation
revanced-manager copied to clipboard

feat: add date letters to en.json

Open KiGamji opened this issue 2 years ago • 1 comments

Type

Cosmetic

Manager Branch

Flutter

Issue

Currently, there is a string in en.json -> latestCommitCard -> timeagoLabel thats called "{time} ago". But the dates, fetched from github is not translated, so translated to, for example, russian string "{time} назад" will look like "1d назад".

Feature

Add date letters to en.json, such as "d", "s", "m", "w" etc.

Motivation

Because it's wrong to use such date ago translation format, and it looks so weird when you use different from english l10n.

Additional context

No response

KiGamji avatar Sep 20 '22 12:09 KiGamji

timeago package has also a feature for translations. We can look on improving this to use them. Thanks.

ponces avatar Sep 22 '22 11:09 ponces