Compare commits
16 Commits
7e50c7e5ae
...
ecbc214874
Author | SHA1 | Date |
---|---|---|
Wolf Noble | ecbc214874 | |
James Panther | ed0408da33 | |
James Panther | e9a69ec8e0 | |
James Panther | 090de56037 | |
James Panther | b6a532c22f | |
James Panther | 7c9fe0ef6f | |
James Panther | a968a781df | |
James Panther | 515d7bcad2 | |
James Panther | e92f8e55fb | |
dependabot[bot] | ca67e579a9 | |
dependabot[bot] | 99c45443cf | |
MrEddX | 56c7c9a466 | |
Shun Sakai | ef51b7c6de | |
Andrii Serbovets | 1e5a789156 | |
Tomy Hsieh | 0109db6173 | |
Robert van Bregt | 0cfab5dabb |
|
@ -53,6 +53,7 @@ Congoは現在、以下の言語に対応しています:
|
|||
| :gb: **English (default)** | `en` |
|
||||
| :egypt: Arabic | `ar` |
|
||||
| :bangladesh: Bengali | `bn` |
|
||||
| :bulgaria: Bulgarian | `bg` |
|
||||
| :cn: Chinese - Simplified (China) | `zh-cn` |
|
||||
| :taiwan: Chinese - Traditional (Taiwan) | `zh-tw` |
|
||||
| :flag-cz: Czech | `cs` |
|
||||
|
@ -73,6 +74,7 @@ Congoは現在、以下の言語に対応しています:
|
|||
| :slovakia: Slovak | `sk` |
|
||||
| :es: Spanish (Spain) | `es` |
|
||||
| :tr: Turkish | `tr` |
|
||||
| :ukraine: Ukrainian | `uk` |
|
||||
|
||||
翻訳文字列を含むカスタムファイルを `i18n/[code].yaml` に作成することでデフォルトの翻訳をオーバーライドできます。このメソッドを使って新しい言語を追加することもできます。新しい翻訳をコミュニティと共有したい場合、[Pull Request](https://github.com/jpanther/congo/pulls)を作ってください。
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@ The theme currently supports the following languages out of the box:
|
|||
| :gb: **English (default)** | `en` |
|
||||
| :egypt: Arabic | `ar` |
|
||||
| :bangladesh: Bengali | `bn` |
|
||||
| :bulgaria: Bulgarian | `bg` |
|
||||
| :cn: Chinese - Simplified (China) | `zh-cn` |
|
||||
| :taiwan: Chinese - Traditional (Taiwan) | `zh-tw` |
|
||||
| :flag-cz: Czech | `cs` |
|
||||
|
@ -73,6 +74,7 @@ The theme currently supports the following languages out of the box:
|
|||
| :slovakia: Slovak | `sk` |
|
||||
| :es: Spanish (Spain) | `es` |
|
||||
| :tr: Turkish | `tr` |
|
||||
| :ukraine: Ukrainian | `uk` |
|
||||
|
||||
The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/jpanther/congo/pulls).
|
||||
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
article:
|
||||
anchor_label: "Котва"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Обновено: {{ .Date }}"
|
||||
draft: "Чернова"
|
||||
edit_title: "Редактиране на съдържание"
|
||||
reading_time:
|
||||
one: "{{ .Count }} минута"
|
||||
other: "{{ .Count }} минути"
|
||||
reading_time_title: "Време за четене"
|
||||
table_of_contents: "Съдържание"
|
||||
word_count:
|
||||
one: "{{ .Count }} дума"
|
||||
other: "{{ .Count }} думи"
|
||||
|
||||
author:
|
||||
byline_title: "Автор"
|
||||
|
||||
code:
|
||||
copy: "Копирай"
|
||||
copied: "Копирано"
|
||||
|
||||
error:
|
||||
404_title: "Страницата не е намерена :confused:"
|
||||
404_error: "Грешка 404"
|
||||
404_description: "Изглежда, че страницата, която търсите не съществува."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Превключи към тъмна тема"
|
||||
light_appearance: "Превключи към светла тема"
|
||||
powered_by: "Осъществено чрез {{ .Hugo }} & {{ .Congo }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Връзка към външен сайт"
|
||||
no_articles: "Тук няма статии за прелистване."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Превърти до началото"
|
||||
skip_to_main: "Преминаване към основното съдържание"
|
||||
|
||||
search:
|
||||
open_button_title: "Търсене (/)"
|
||||
close_button_title: "Затвори (Esc)"
|
||||
input_placeholder: "Търси"
|
||||
|
||||
sharing:
|
||||
email: "Изпращане по имейл"
|
||||
facebook: "Споделяне във Facebook"
|
||||
linkedin: "Споделяне в LinkedIn"
|
||||
mastodon: "Публикуване в Mastodon"
|
||||
pinterest: "Пин в Pinterest"
|
||||
reddit: "Публикуване в Reddit"
|
||||
twitter: "Туит в Twitter"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Последни"
|
|
@ -1,7 +1,7 @@
|
|||
article:
|
||||
anchor_label: "Anker"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Bijgwerkt: {{ .Date }}"
|
||||
date_updated: "Bijgewerkt: {{ .Date }}"
|
||||
draft: "Concept"
|
||||
edit_title: "Bewerk inhoud"
|
||||
reading_time:
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
article:
|
||||
anchor_label: "Закладка"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Оновлено {{ .Date }}"
|
||||
draft: "Чернетка"
|
||||
edit_title: "Редагувати"
|
||||
reading_time:
|
||||
one: "{{ .Count }} хвилину"
|
||||
few: "{{ .Count }} хвилини"
|
||||
many: "{{ .Count }} хвилин"
|
||||
other: "{{ .Count }} хвилини"
|
||||
reading_time_title: "Прочитаєте за"
|
||||
table_of_contents: "Зміст"
|
||||
word_count:
|
||||
one: "{{ .Count }} слово"
|
||||
few: "{{ .Count }} слова"
|
||||
many: "{{ .Count }} слів"
|
||||
other: "{{ .Count }} слова"
|
||||
|
||||
author:
|
||||
byline_title: "Автор"
|
||||
|
||||
code:
|
||||
copy: "Копіювати"
|
||||
copied: "Скопійовано"
|
||||
|
||||
error:
|
||||
404_title: "Немає такої сторінки :confused:"
|
||||
404_error: "Помилка 404"
|
||||
404_description: "Здається, сторінки, яка вам потрібна, не існує."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Увімкнути темний режим"
|
||||
light_appearance: "Увімкнути світлий режим"
|
||||
powered_by: "Сайт працює на рушії {{ .Hugo }} зі стилем {{ .Congo }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Зовнішнє посилання"
|
||||
no_articles: "Дописів поки що немає"
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Повернутися на початок сторінки"
|
||||
skip_to_main: "До тексту"
|
||||
|
||||
search:
|
||||
open_button_title: "Шукати (/)"
|
||||
close_button_title: "Закрити (Esc)"
|
||||
input_placeholder: "Введіть запит тут"
|
||||
|
||||
sharing:
|
||||
email: "Надіслати електронною поштою"
|
||||
facebook: "Поширити на Facebook"
|
||||
linkedin: "Поширити на LinkedIn"
|
||||
mastodon: "Поширити на Mastodon"
|
||||
pinterest: "Зберегти на Pinterest"
|
||||
reddit: "Опублікувати на Reddit"
|
||||
twitter: "Поширити на Twitter"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Недавні дописи"
|
|
@ -4,7 +4,7 @@
|
|||
<nav class="pb-4 text-base font-medium text-neutral-500 dark:text-neutral-400">
|
||||
<ul class="flex flex-col list-none sm:flex-row">
|
||||
{{ range .Site.Menus.footer }}
|
||||
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ continue }}
|
||||
{{ end }}
|
||||
<li class="mb-1 group text-end sm:mb-0 sm:me-7 sm:last:me-0">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<ul class="flex flex-col list-none text-end sm:flex-row">
|
||||
{{ if .Site.Menus.main }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ continue }}
|
||||
{{ end }}
|
||||
<li class="group mb-1 sm:mb-0 sm:me-7 sm:last:me-0.5">
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</li>
|
||||
{{ if .Site.Menus.main }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ continue }}
|
||||
{{ end }}
|
||||
<li class="mb-1 group">
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</li>
|
||||
{{ if .Site.Menus.main }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ continue }}
|
||||
{{ end }}
|
||||
<li class="mb-1 group">
|
||||
|
@ -129,7 +129,7 @@
|
|||
<ul class="flex-row hidden list-none text-end sm:flex">
|
||||
{{ if .Site.Menus.main }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if and (eq .Params.action "locale") (and (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ if and (eq .Params.action "locale") (or (not page.IsTranslated) (not site.IsMultiLingual)) }}
|
||||
{{ continue }}
|
||||
{{ end }}
|
||||
<li class="mb-1 group sm:mb-0 sm:me-7 sm:last:me-0">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"chart.js": "^4.4.0",
|
||||
"fuse.js": "^7.0.0",
|
||||
"katex": "^0.16.9",
|
||||
"mermaid": "^10.6.0",
|
||||
"mermaid": "^10.6.1",
|
||||
"prettier": "^3.1.0",
|
||||
"prettier-plugin-go-template": "^0.0.15",
|
||||
"prettier-plugin-tailwindcss": "^0.5.7",
|
||||
|
@ -1489,9 +1489,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/mermaid": {
|
||||
"version": "10.6.0",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.6.0.tgz",
|
||||
"integrity": "sha512-Hcti+Q2NiWnb2ZCijSX89Bn2i7TCUwosBdIn/d+u63Sz7y40XU6EKMctT4UX4qZuZGfKGZpfOeim2/KTrdR7aQ==",
|
||||
"version": "10.6.1",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.6.1.tgz",
|
||||
"integrity": "sha512-Hky0/RpOw/1il9X8AvzOEChfJtVvmXm+y7JML5C//ePYMy0/9jCEmW1E1g86x9oDfW9+iVEdTV/i+M6KWRNs4A==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@braintree/sanitize-url": "^6.0.1",
|
||||
|
@ -4221,9 +4221,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"mermaid": {
|
||||
"version": "10.6.0",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.6.0.tgz",
|
||||
"integrity": "sha512-Hcti+Q2NiWnb2ZCijSX89Bn2i7TCUwosBdIn/d+u63Sz7y40XU6EKMctT4UX4qZuZGfKGZpfOeim2/KTrdR7aQ==",
|
||||
"version": "10.6.1",
|
||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.6.1.tgz",
|
||||
"integrity": "sha512-Hky0/RpOw/1il9X8AvzOEChfJtVvmXm+y7JML5C//ePYMy0/9jCEmW1E1g86x9oDfW9+iVEdTV/i+M6KWRNs4A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@braintree/sanitize-url": "^6.0.1",
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"chart.js": "^4.4.0",
|
||||
"fuse.js": "^7.0.0",
|
||||
"katex": "^0.16.9",
|
||||
"mermaid": "^10.6.0",
|
||||
"mermaid": "^10.6.1",
|
||||
"prettier": "^3.1.0",
|
||||
"prettier-plugin-go-template": "^0.0.15",
|
||||
"prettier-plugin-tailwindcss": "^0.5.7",
|
||||
|
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |