1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

7 Commits

Author SHA1 Message Date
b88a105a7c Revert "i18n: Allow custom language codes"
This reverts commit bb04010cbfd92837685f98c3e0f5362ba00ce487.
2017-11-05 10:20:39 +01:00
b3443b3d0c Revert "i18n: Prevent data race in lang code handling"
This reverts commit c97216e4f0f3021b12cd3803e512393be569c886.
2017-11-05 10:20:30 +01:00
c97216e4f0 i18n: Prevent data race in lang code handling
See #3564
2017-11-04 10:48:29 +01:00
bb04010cbf i18n: Allow custom language codes
Use the new `RegisterPluralSpec` function to register all defined
languages. This allows the usage of language identifiers which are not
part of the Unicode CLDR standard.

Closes #3564
2017-11-04 10:48:29 +01:00
873a6f1885 Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
d8717cd4c7 all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
93ca7c9e95 all: Refactor to nonglobal Viper, i18n etc.
This is a final rewrite that removes all the global state in Hugo, which also enables
the use if `t.Parallel` in tests.

Updates #2701
Fixes #3016
2017-02-17 17:15:26 +01:00