Acme.BookStore.HttpApi.Host/wwwroot/libs/timeago/locales/README.md

(完整代码) 952B

# Locale override examples for timeago

You can represent time statements in most western languages where
a prefix and/or suffix is used.

The default case is to use suffix only (as in English), which you
do by providing the `suffixAgo` and `suffixFromNow` settings in
the strings hash (earlier versions of timeago used the deprecated
`ago` and `fromNow` options). If present, they are used.

    2 minutes [suffixAgo]
    2 minutes [suffixFromNow]

In case you want to use prefix only instead of
suffix (e.g. Greek), you provide the `prefixAgo` and
`prefixFromNow` options in the strings hash and leave `suffixAgo`
and `suffixFromNow` empty or null.

    [prefixAgo] 2 minutes
    [prefixFromNow] 2 minutes

For languages where you want to use a prefix only for future
tense and prefix/suffix for past tense (for example swedish), you
can combine the prefix and suffixes as needed.

    [prefixAgo] 2 minutes [suffixAgo]
    [prefixFromNow] 2 minutes

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。