Skip to content

Commit

Permalink
[ONUK-00001] - Added the Ukrainian translation for the FeelIt theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Onuk authored and khusika committed Jan 16, 2024
1 parent 799e0d2 commit 934cbc9
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ FeelIt supports the following languages:
* Hungarian
* Czech
* Persian
* Ukrainian
* [Contribute with a new language](https://github.com/khusika/FeelIt/pulls)

[Languages Compatibility](https://feelit.khusika.dev/theme-documentation-basics/#language-compatibility)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s
| Hungarian | `hu` | `hu` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
| Czech | `cs` | `cs` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
| Persian | `fa` | `fa` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
| Ukrainian | `uk` | `uk` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |

### 4.2 Basic Configuration

Expand Down Expand Up @@ -1050,6 +1051,7 @@ Single file `my-page.md` is split in three files:
* in English: `my-page.en.md`
* in Chinese: `my-page.zh-cn.md`
* in French: `my-page.fr.md`
* in Ukrainian: `my-page.uk.md`

{{< admonition >}}
Be aware that only translated pages are displayed in menu. It’s not replaced with default language content.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ In `assets/css/_custom.scss`, you can add some css style code to customize the s
| Hungarian | `hu` | `hu` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
| Czech | `cs` | `cs` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
| Persian | `fa` | `fa` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
| Ukrainian | `uk` | `uk` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |

### 4.2 Basic Configuration

Expand Down Expand Up @@ -1055,6 +1056,7 @@ Single file `my-page.md` is split in three files:
* in English: `my-page.en.md`
* in Chinese: `my-page.zh-cn.md`
* in French: `my-page.fr.md`
* in Ukrainian: `my-page.uk.md`

{{< admonition >}}
Be aware that only translated pages are displayed in menu. It’s not replaced with default language content.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
| 越南语 | `vi` | `vi` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
| 简体中文 | `zh-cn` | `zh-CN` | :(fa-regular fa-check-square fa-fw): | :(fa-regular fa-check-square fa-fw): |
| 波斯语 | `fa` | `fa` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-square fa-fw): |
| 乌克兰语 | `uk` | `uk` | :(fa-regular fa-square fa-fw): | :(fa-regular fa-check-square fa-fw): |

### 4.2 基本配置

Expand Down Expand Up @@ -1055,6 +1056,7 @@ defaultContentLanguage = "zh-cn"
* 英语: `my-page.en.md`
* 中文: `my-page.zh-cn.md`
* 法语: `my-page.fr.md`
* 乌克兰语: `my-page.uk.md`

{{< admonition >}}
请注意, 菜单中仅显示翻译的页面. 它不会替换为默认语言内容.
Expand Down
207 changes: 207 additions & 0 deletions i18n/uk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
# Translations for Ukrainian
# Переклад на українську мову
# https://gohugo.io/content-management/multilingual/#translation-of-strings

# === baseof ==
[backToTop]
other = "Вгору"

[viewComments]
other = "Переглянути коментарі"
# === baseof ==

# === Post ===
[posts]
other = "Дописи"
# === Post ===

# === Taxonomy ===
[allSome]
other = "Всі {{ .Some }}"

[tag]
other = "Теґ"

[tags]
other = "Теги"

[category]
other = "Категорія"

[categories]
other = "Категорії"
# === Taxonomy ===

# === Pagination ===
[more]
other = "Більше"
# === Pagination ===

# === partials/header.html ===
[selectLanguage]
other = "Вибір мови"

[switchTheme]
other = "Змінити Тему"
# === partials/header.html ===

# === partials/footer.html ===
[poweredBySome]
other = "Працює на {{ .Hugo }} | Тема - {{ .Theme }}"
# === partials/footer.html ===

# === partials/comment.html ===
[valineLang]
other = "en"

[valinePlaceholder]
other = "Ваш коментар ..."

[facebookLanguageCode]
other = "uk_UA"
# === partials/comment.html ===

# === partials/assets.html ===
[search]
other = "Пошук"

[searchPlaceholder]
other = "Пошук заголовків та вмісту ..."

[clear]
other = "Очистити"

[cancel]
other = "Скасувати"

[noResultsFound]
other = "Результатів що відповідають запиту не знайдено"

[lunrLanguageCode]
other = "uk"

[lunrLanguageLib]
other = "lib/lunr/lunr.uk.js"

[copyToClipboard]
other = "Копіювати в буфер обміну"

[cookieconsentMessage]
other = "Цей сайт використовує Cookies для покращення вашого досвіду."

[cookieconsentDismiss]
other = "Згоден"

[cookieconsentLink]
other = "Вчити більше"
# === partials/assets.html ===

# === partials/plugin/share.html ===
[shareOn]
other = "Поділитися у"
# === partials/plugin/share.html ===

# === posts/single.html ===
[contents]
other = "Зміст"

[publishedOnDate]
other = "Опубліковано {{ .Date }}"

[publishedInCategories]
other = "опубліковано в {{ .Categories }}"

[includedInCategories]
other = "доданий у категорію {{ .Categories }}"

[wordCount]
one = "Одне слово"
other = "{{ .Count }} слів"

[readingTime]
one = "Одна хвилина"
other = "{{ .Count }} хвилин"

[views]
other = "переглядів"

[author]
other = "Автор"

[updatedOnDate]
other = "Оновлена {{ .Date }}"

[readMarkdown]
other = "Читати Markdown"

[improveArticle]
other = "Improve Article"

[back]
other = "Назад"

[home]
other = "На головну"
# === posts/single.html ===

# === 404.html ===
[pageNotFound]
other = "Сторінку не знайдено"

[pageNotFoundText]
other = "Сторінка, яку Ви шукаєте, не існує. Вибачте."
# === 404.html ===

# === Offline Page ===
[pageOffline]
other = "Ви не в мережі. Перевірте інтернет з'єднання."
# === Offline Page ===

# === shortcodes/admonition.html ===
[note]
other = "Зауваження"

[abstract]
other = "Короткий опис"

[info]
other = "Інфо"

[tip]
other = "Порада"

[success]
other = "Вдало"

[question]
other = "Питання"

[warning]
other = "Попередження"

[failure]
other = "Відмова"

[danger]
other = "Небезпека"

[bug]
other = "Помилка"

[example]
other = "Приклад"

[quote]
other = "Цитата"
# === shortcodes/admonition.html ===

# === shortcodes/version.html ===
[new]
other = "НОВИЙ"

[changed]
other = "ЗМІНЕНИЙ"

[deleted]
other = "ВИДАЛЕНИЙ"
# === shortcodes/version.html ===

0 comments on commit 934cbc9

Please sign in to comment.