Commit Graph

64 Commits

Author SHA1 Message Date
Spence Churchill
5e350b92e8
refactor: rename "Related contents" to "Related content" (#567) 2022-06-05 17:20:08 +02:00
Niko Köser
14bb05c8db
docs(i18n): add German translation for categories widget (#596) 2022-06-05 13:02:41 +02:00
RADDAH
c5eee559c2
fix(i18n/ar): update Reading Time localization for Arabic language (#527)
* update the localization based on Arabic syntax

readingTime variable updated to match the exact syntax for Arabic language

One variable in Arabic no need to add the count variable for 1 minute, there is a word to describe that specifically. 
Other variable localization updated to match Arabic grammar tenses.

* remove unnecessary leading space

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-03-20 00:41:18 +01:00
Farrel Franqois
2726cf7549
feat(i18n/id): Add translation for Category Widget (#548) 2022-03-20 00:38:00 +01:00
Hugoo
1cfd39c627
feat(i18n): add Catalan translation (#557) 2022-03-20 00:14:26 +01:00
Hugoo
bf8868c8e7
feat(i18n/es): add translation for Category widget (#558) 2022-03-20 00:06:27 +01:00
Konnyaku
da6a50ddb5
feat(i18n): add Chinese(Hong Kong) translation (#560) 2022-03-20 00:05:12 +01:00
Kacper Betański
9d922272e4
feat(i18n/pl): Add translation for Category widget (#563) 2022-03-19 23:58:05 +01:00
Jimmy Cai
7d1713d407 refactor(i18n): use lowercase language codes
Related with this Hugo issue: https://github.com/gohugoio/hugo/issues/7344
2022-03-09 15:04:24 +00:00
zhixuan
0167edcbf2
feat(i18n): add missing ja & zh-CN translations (#538) 2022-03-07 21:33:04 +01:00
FarisZR
47c19a0fbc
feat(i18n): add Arabic translation (#157) 2022-03-04 00:28:17 +01:00
Felix Niederwanger
e22664be13
feat(widget): add category widget (#475)
* Add category widget

Adds the ability to add a category to the widgets.

* Adapt to new widget scheme

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-03-03 23:47:10 +01:00
HAHWUL
359e4b34c1
Update i18n(ko) (#418)
Add dark mode, list-section, list-subsction, article-back, article-tableOfContents, article-readingTime
2021-12-04 21:16:22 +01:00
Paul-Henri Zimmerlin
195b8d8076
fix(i18n/fr): add missing translations for reading time (#416) 2021-12-04 21:10:42 +01:00
volodymyrmarkiv
a7d316365c
feat(i18n): add Ukrainian translation (#404) 2021-10-30 21:22:08 +02:00
TonyPepeBear
ea74aecadb
feat(i18n): add zh-TW (#402) 2021-10-30 21:18:02 +02:00
Christos Manios
ca9dcc870d
feat(i18n): add Greek translation (#378) 2021-10-22 16:12:44 +02:00
Ar-ruk Kachen
913a4e8898
feat(i18n): Thai language (#396) 2021-10-17 12:34:19 +02:00
Daniel Pessoa
30467ae65c
feat(i18n): add missing pt-BR translations (#384) 2021-10-16 11:10:25 +02:00
Matthias Thym
9b75823f68
refactor(i18n): Suggest improvements English translation (#329)
No need to shorten minutes
Remove period from subtitle on 404 page
2021-08-30 15:52:29 +02:00
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