Commit Graph

44 Commits

Author SHA1 Message Date
Matthias Thym
080c86ec79
feat(i18n): add German and Spanish translations for new features and refactor (#328)
* feat(i18n): add German translations for new features and refactor

add translation for feature `back`
add translation for feature `tableOfContents`
add translation for feature `readingTime`
fix translation for feature `resultTitle`
add newlines according to i18n en config

* feat(i18n): add Spanish translations for new features and refactor

add translation for feature `back`
add translation for feature `tableOfContents`
add translation for feature `readingTime`
add newlines according to i18n en config
2021-08-26 18:23:55 +02:00
MikDal002
2013c50abe
feat(i18n): add PL translation for reading time (#325) 2021-08-25 12:23:50 +02:00
SOT-TECH
f07d5dc515
feat(i18n): add readingTime russian translation (#297) 2021-08-10 10:28:43 +02:00
zhixuan
5f1a5ab83f
feat(i18n): add translation for .readingTime in Chinese & Japanese (#285) 2021-08-04 20:39:01 +02:00
giacomocarrozzo
910d93b4ce
feat(i18n): Italian translation (#281) 2021-07-29 15:59:15 +02:00
Farrel Franqois
8d0c65c374
feat(i18n): Add Indonesian translation for readingTime (#279) 2021-07-27 10:16:54 +02:00
Bachrul uluum
dcfc7b5589
feat(article): reading time (#204)
* add reading time feature

* Revert change in jsconfig.json

* feat: add article.readingTime param, and improve style

* Revert change in jsconfig.json x2

* Remove reading time in compact layout

It doesn't look right to me for now

* feat: add i18n support to reading time string

* Hide footer.article-time when there's not content

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-07-23 18:37:30 +02:00
Farrel Franqois
8cb11d721f
feat(i18n): Improve Indonesian translation (#265) 2021-07-19 12:21:49 +02:00
SOT-TECH
99418f1056
feat(i18n): add russian translation for back and TOC (#262) 2021-07-11 11:23:52 +02:00
Zoroark
45a944412c
feat(i18n): Added missing French translations (#259)
Also adds whitespace to match the English file's layout.
2021-07-07 13:05:30 +02:00
MikDal002
ac18f600c1
feat(i18n): add Polish translation (#257) 2021-07-06 12:29:22 +02:00
zhixuan
42eb1f5067
feat(i18n): add Chinese translation of Table of Content (#235) 2021-06-23 11:21:37 +02:00
zhixuan
0c8643e458
feat(i18n): add Japanese translation of Table of Content (#237) 2021-06-23 11:16:46 +02:00
Jimmy Cai
41fa65cbf5
feat: Table of Contents (#232)
Currently, the new table of contents is disabled by default. I will change that after several versions.

-------------

* feat: Table of Content (WIP)

* fix: set scratch inside define block

* fix(toc): darkmode text color

* feat: unify page layout, and add config to disable toc

* feat: add scroll-behavior: smooth to html

* fix: use <ol> for TOC. And Disable TOC by default for now

* refactor: use css flexbox for article page with toc

enable toc for example site

* feat(i18n): add i18n entry for "Back" and "Table of Contents"

* style: remove unused `keep-sidebar` class

* doc: add table of contents as feature
2021-06-21 18:44:54 +02:00
Masakazu Araki
159cc30570
fix(i18n): Japanese translating (#212)
"サーチ" is not good translate for this situation.
2021-06-12 09:28:43 +02:00
miclnl
80bd7689a2
fix(i18n): Dutch minor change (#185) 2021-04-05 10:25:11 +02:00
miclnl
b10d028ca9
feat(i18n): add Dutch (#180) 2021-04-03 20:59:46 +02:00
Matthias Thym
21a5834a2f i18n: German translation 2021-03-27 14:38:36 +01:00
Spicy
e61bca1dbd
i18n: Spanish translation (#155)
Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2021-02-26 17:43:47 +01:00
SOT-TECH
1ec73b2d76
fix(i18n/ru): fix typo in 'notFound' (#114) 2021-01-03 22:42:08 +01:00
Daniel Pessoa
0de250c9ff
feat(i18n): Improve Brazilian portuguese translation (#112) 2021-01-02 10:52:20 +01:00
Jimmy Cai
ae477ab224
refactor(archives): remove archive.categories i18n item (#108)
It's possible in the future to display another kind of taxonomy.

To translate that title, create _index.md under  content/categories, with the following content:

---
title: Category
---
2021-01-01 13:04:37 +01:00
SOT-TECH
3572fff280
feat(i18n): add Russian translation (#101) 2020-12-30 11:25:13 +01:00
zhixuan
400b0a9283
feat(i18n): improve Japanese translation (#99) 2020-12-30 11:20:51 +01:00
İsmail Özçelik
d790d42441
feat(i18n): add Turkish language file (#96) 2020-12-28 00:11:48 +01:00
Jimmy Cai
358e63e799
feat(darkmode): dark mode toggle (#82)
* feat(darkmode): initial support for dark mode toggle

* fix(darkmode): add svg icons

* feat(darkmode): dispatch onColorSchemeChange event

* add head/darkmode

* feat(darkmode); add colorScheme config

* style: remove empty line

* refactor(darkmode): simplify code

* style: add comment for darkmode config

* i18n support for dark mode toggle

* Some renaming
2020-12-23 19:03:40 +01:00
Jimmy Cai
7d841cf237
feat(list): add subsection support (#81)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/48
2020-12-22 21:14:50 +01:00
Jimmy Cai
d205753323
refactor(i18n): translation key renaming (#68)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/63
2020-12-19 01:41:26 +01:00
Rizki Prastyo
e1277f4e61
feat(i18n): add Indonesian translation (#64) 2020-12-11 17:18:08 +01:00
Daniel Pessoa
bfeddf3217
feat(i18n): Coverage improvements (#59)
* Replace hardcoded text with i18n

* Add categoriesTitle text

* Add categoriesTitle text

* Add new strings available

Co-authored-by: Daniel Pessoa <cobalto@users.noreply.github.com>
2020-12-11 16:11:47 +01:00
Jimmy Cai
69b1524f91
Merge pull request #57 from cobalto/i18n/brazilian-portuguese
Add pt-BR.toml
2020-12-07 14:48:48 +01:00
Basix
27c8350f1b Add Korean translations 2020-12-06 22:59:11 +09:00
Daniel Pessoa
108e017a32
Add pt-BR.toml
Add file for Brazilian Portuguese i18n
2020-12-05 22:48:13 -03:00
Jimmy Cai
81c0b1ba9c i18n: add variables for footer translation 2020-11-28 12:29:43 +01:00
Victor Lourme
2b4f529404 i18n: added footer translations 2020-11-23 10:15:47 +01:00
Victor Lourme
819c8ea0b4 i18n: add french translations 2020-11-23 10:15:35 +01:00
Jimmy Cai
c018f4967a feat(search): i18n support 2020-11-06 11:49:30 +01:00
Yasuhiro Kobayashi
26bdeb3afb
feat(i18n): Add Japanese translation (#35) 2020-10-11 10:14:31 +02:00
Jimmy Cai
8d508fb796
refactor(i18n/article): remove date variable from lastUpdatedOn item
Due to Hugo v0.76's i18n behaviour change
2020-10-09 19:01:37 +02:00
Ress
043a1c1972 Be able to display last update time 2020-10-09 13:34:41 +09:00
Jimmy Cai
7379bbe412
refactor: rename archive -> archives 2020-09-13 11:22:47 +02:00
Jimmy Cai
62b0da64df
feat(i18n): add zh-CN translation 2020-09-09 22:48:37 +02:00
Jimmy Cai
04454a51ea
feat(i18n): change lastUpdatedOn item struct 2020-09-09 22:41:42 +02:00
Jimmy Cai
ed4a43096c
feat(i18n): initial support for i18n 2020-09-09 17:17:09 +02:00