mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-02 12:52:12 +00:00
Update go-ini dependency and remove semicolon hack in translations (#2913)
This commit is contained in:
parent
bd23e36bec
commit
a6f337046f
17 changed files with 584 additions and 429 deletions
6
vendor/github.com/Unknwon/i18n/README.md
generated
vendored
6
vendor/github.com/Unknwon/i18n/README.md
generated
vendored
|
@ -1,4 +1,4 @@
|
|||
i18n
|
||||
i18n [](https://godoc.org/github.com/Unknwon/i18n) [](https://sourcegraph.com/github.com/Unknwon/i18n?badge)
|
||||
====
|
||||
|
||||
Package i18n is for app Internationalization and Localization.
|
||||
|
@ -131,4 +131,6 @@ This command can operate 1 or more files in one command.
|
|||
|
||||
## More information
|
||||
|
||||
If the key does not exist, then i18n will return the key string to caller. For instance, when key name is `hi` and it does not exist in locale file, simply return `hi` as output.
|
||||
- The first locale you load to the module is considered as **default locale**.
|
||||
- When matching non-default locale and didn't find the string, i18n will have a second try on default locale.
|
||||
- If i18n still cannot find string in the default locale, raw string will be returned. For instance, when the string is `hi` and it does not exist in locale file, simply return `hi` as output.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue