1
0

add russian localization

This commit is contained in:
cuqmbr 2025-05-16 13:17:33 +03:00
parent cd029ae52c
commit 440fb374fb
Signed by: cuqmbr
GPG Key ID: 0AA446880C766199
16 changed files with 191 additions and 50 deletions

View File

@ -1,5 +1,8 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
description = ""
date = "{{ .Date }}"
author = "cuqmbr"
tags = ["", ""]
draft = true
+++

View File

@ -4,12 +4,11 @@ title = 'Home'
# Dan Nazarko aka cuqmbr
Linux sysadmin and a privacy enthusiast
Linux sysadmin and a privacy enthusiast, 21-years-old, Software Engineering student.
# Welcome to My Webpage
Hi! I am a 21-years-old Software Engineering student and this is my little website to host my interests in.
This is my little website to host my interests in.
I am currently interested in Linux system administration, DevOps engineering and privacy-respecting tech.

15
content/_index.ru.md Normal file
View File

@ -0,0 +1,15 @@
+++
title = 'Home'
+++
# Данил Назарько aka cuqmbr
Системный администратор, возвраст: 21, студент факультета Програмной Инженерии.
# Добро пожаловать на мою веб-страницу
Это мой небольшой веб-сайт, на котором я размещаю свои интересы.
В настоящее время я интересуюсь системным администрированием Linux и DevOps разработкой и технологиями.
Ознакомьтесь развёрнутыми мной [сервисам](/services). Их не так много, но я планирую развернуть больше. Некоторые из них могут оказаться полезными, например: [SearxNG](https://searxng.cuqmbr.xyz).

View File

@ -3,15 +3,13 @@ title = 'Contact'
+++
- Email: me at domain.tld of this site
- PGP key: [me@cuqmbr.xyz.gpg.pub](/me@cuqmbr.xyz.gpg.pub)
- Fingerprint: `FF8B 1DD4 EA6F F627 144A 454C E6B2 2F45 1C32 7A98`
- All legitimate emails from me will be signed with my PGP key
- XMPP: [cuqmbr@07f.de](xmpp:cuqmbr@07f.de?omemo-sid-750832825=4e91a5ad01a0f2184249fbfd224fe5e56cfc56a497444ffdbfa951da5a79557a;omemo-sid-1276295498=f6e8cdd40426779e18aec861705ae433c5ac767af92459199a934ae3363dd037)
- Matrix: [@cuqmbr:midov.pl](https://matrix.to/#/@cuqmbr:midov.pl)
<!-- - Telegram: [@cuqmbr](https://telegram.me/cuqmbr) -->
- PGP key: [me@cuqmbr.xyz.gpg.pub](/files/me@cuqmbr.xyz.gpg.pub);
- Fingerprint: `FF8B 1DD4 EA6F F627 144A 454C E6B2 2F45 1C32 7A98`;
- All legitimate emails from me will be signed with my PGP key;
- XMPP: [cuqmbr@07f.de](xmpp:cuqmbr@07f.de?omemo-sid-750832825=4e91a5ad01a0f2184249fbfd224fe5e56cfc56a497444ffdbfa951da5a79557a;omemo-sid-1276295498=f6e8cdd40426779e18aec861705ae433c5ac767af92459199a934ae3363dd037);
- Matrix: [@cuqmbr:midov.pl](https://matrix.to/#/@cuqmbr:midov.pl);
- Telegram: [@cuqmbr](https://telegram.me/cuqmbr).
# Links
- Git: https://gitea.cuqmbr.xyz/cuqmbr
<!-- - Mastodon: [@cuqmbr@mastodon.social](https://mastodon.social/@cuqmbr) -->
<!-- - PeerTube: [@cuqmbr@domain.tld]() -->
- Git: https://gitea.cuqmbr.xyz/cuqmbr.

View File

@ -0,0 +1,15 @@
+++
title = 'Контакты'
+++
- Email: me собака домен.домен-верхнего-уровня этого сайта;
- Открытый ключ PGP: [me@cuqmbr.xyz.gpg.pub](/files/me@cuqmbr.xyz.gpg.pub);
- Отпечаток: `FF8B 1DD4 EA6F F627 144A 454C E6B2 2F45 1C32 7A98`;
- Все письма отправленные мной будут подписаны моим ключём PGP;
- XMPP: [cuqmbr@07f.de](xmpp:cuqmbr@07f.de?omemo-sid-750832825=4e91a5ad01a0f2184249fbfd224fe5e56cfc56a497444ffdbfa951da5a79557a;omemo-sid-1276295498=f6e8cdd40426779e18aec861705ae433c5ac767af92459199a934ae3363dd037);
- Matrix: [@cuqmbr:midov.pl](https://matrix.to/#/@cuqmbr:midov.pl);
- Telegram: [@cuqmbr](https://telegram.me/cuqmbr).
# Ссылки
- Git: https://gitea.cuqmbr.xyz/cuqmbr.

View File

@ -12,7 +12,7 @@ title = 'Donate'
- Address in QR-code:
{{< image src="xmr-qr.svg" alt="Monero (XMR) address encoded into QR-code." position="center" style="height: 256px;" >}}
{{< image src="/images/donate/xmr-qr.svg" alt="Monero (XMR) address encoded into QR-code." position="center" style="height: 256px;" >}}
### Bitcoin (BTC)
@ -22,13 +22,13 @@ title = 'Donate'
- Address in QR-code:
{{< image src="btc-qr.svg" alt="Bitcoin (BTC) address encoded into QR-code." position="center" style="height: 256px;" >}}
{{< image src="/images/donate/btc-qr.svg" alt="Bitcoin (BTC) address encoded into QR-code." position="center" style="height: 256px;" >}}
### Referral Links
## Referral Links
[AEZA](https://aeza.net/?ref=495596) - cloud hosting provider with unmetered bandwidth and a fair amount of payment options, including crypto.
### Note
## Note
All crypto I get is held safe and with self-custody.

View File

@ -0,0 +1,33 @@
+++
title = 'Поддержать'
+++
## Крипта
### Monero (XMR)
- Open Alias: donate@cuqmbr.xyz
- Адрес: 8ArvNWx6VvU4vmDbi4cbkWCLSTNMniwcPTEkM79ZnrngX7PK91iqwgQg4Npa9jHd963WeLrSdTTxi5kZ1KbYjmTSB9zsGT1
- QR-код:
{{< image src="/images/donate/xmr-qr.svg" alt="Адрес Monero (XMR) закодированный в QR-код." position="center" style="height: 256px;" >}}
### Bitcoin (BTC)
- Open Alias: donate@cuqmbr.xyz
- Адрес: bc1q9dt2wnjgtzj5xve9w943h8zdwlxame8hyju69r
- QR-код:
{{< image src="/images/donate/btc-qr.svg" alt="Адрес Bitcoin (BTC) закодированный в QR-код." position="center" style="height: 256px;" >}}
## Реферальные ссылки
[AEZA](https://aeza.net/?ref=495596) - облачный хостинг провайдер с неограниченным сетевым трафиком и большим количеством вариантов оплаты.
## Примечание
Если вы воспользовались какой-либо из реферальных ссылок, также можете создать свою и порекомендовать друзьям для получения бонусов.

View File

@ -8,12 +8,12 @@ tags = ["update", "cuqmbr.xyz"]
For the past year my webpage looked, to put it midly, ugly. It is shown on the image below.
{{< image src="old-webpage.webp" alt="A list of services and contacts with default font and white background. No stylyng applied, html only." >}}
{{< image src="/images/posts/hello-webpage/old-webpage.webp" alt="A list of services and contacts with default font and white background. No stylyng applied, html only." >}}
As you noticed, now it changed. I decided to use [Hugo](https://gohugo.io) static site generator to build it for it's simplicity over content management systems like WordPress or Drupal. [Terminal](https://github.com/panr/terminal-css/) theme helped me to get up and running quickly.
Planned content of the website:
- Updates related to hosted services;
- Occasional thoughts on some topics;
- Maybe guides and tutorials.
- updates related to hosted services;
- occasional thoughts on some topics;
- maybe guides and tutorials.

View File

@ -0,0 +1,19 @@
+++
title = "Привет Веб-страница"
description = "Обновление моей Веб-страницы с помощью Hugo."
date = "2024-11-25T15:44:26+02:00"
author = "cuqmbr"
tags = ["update", "cuqmbr.xyz"]
+++
В течение прошлого года моя веб-страница выглядела, мягко говоря, уродливо. Это показано на изображении ниже.
{{< image src="/images/posts/hello-webpage/old-webpage.webp" alt="Список сервисов и контактов со шрифтом по умолчанию и белым фоном. Страница html без применения стилей css." >}}
Как вы заметили, теперь все изменилось. Я решил использовать статический генератор сайтов [Hugo](https://gohugo.io) из-за его простоты по сравнению с системами управления контентом, такими как WordPress или Drupal. Тема [Terminal](https://github.com/panr/terminal-css/) помогла мне быстро приступить к работе.
Планируемое содержимое сайта:
- обновления, связанные с развёрнутыми сервисами;
- мысли по некоторым темам;
- возможно, руководства и обучающие материалы.

View File

@ -4,6 +4,6 @@ title = 'Services'
- [Gitea](https://gitea.cuqmbr.xyz) - painless, self-hosted, all-in-one software development service. It includes Git hosting, code review, team collaboration, package registry, and CI/CD. It is similar to GitHub, Bitbucket and GitLab.
- [SearxNG](https://searxng.cuqmbr.xyz) - SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
- [SearxNG](https://searxng.cuqmbr.xyz) - free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
- [Uptime Kuma](https://status.cuqmbr.xyz) - an easy-to-use self-hosted monitoring tool.

View File

@ -0,0 +1,9 @@
+++
title = 'Сервисы'
+++
- [Gitea](https://gitea.cuqmbr.xyz) - сервис для разработки программного обеспечения. Он включает функционал хостинга Git репозиториев, реестр пакетов и CI/CD, создан для совместной работы над проектами, . Аналог GitHub, Bitbucket и GitLab.
- [SearxNG](https://searxng.cuqmbr.xyz) - это метапоисковая система, которая объединяет результаты из различных поисковых сервисов и баз данных. Пользователи не отслеживаются и не профилируются.
- [Uptime Kuma](https://status.cuqmbr.xyz) - простой в использовании инструмент мониторинга инфраструктуры.

104
hugo.toml
View File

@ -1,8 +1,12 @@
baseURL = 'https://cuqmbr.xyz/'
languageCode = 'en-us'
languageCode = 'en'
theme = 'terminal'
copyright = 'Powered by <a href="https://gohugo.io">Hugo</a>'
defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = true
disableDefaultLanguageRedirect = false
[params]
# dir name of your main content (default is `content/posts`).
# the list of set content will show up on your index page (baseurl).
@ -10,13 +14,13 @@ copyright = 'Powered by <a href="https://gohugo.io">Hugo</a>'
contentTypeName = "null" # Prevent posts showing on the root page
# if you set this to 0, only submenu trigger will be visible
showMenuItems = 5
showMenuItems = 4
# show selector to switch language
showLanguageSelector = false
showLanguageSelector = true
# set theme to full screen width
fullWidthTheme = false
# fullWidthTheme = false
# center theme with default width
centerTheme = true
@ -24,13 +28,14 @@ copyright = 'Powered by <a href="https://gohugo.io">Hugo</a>'
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
# then the file will be used as a cover automatically.
# With this option you don't have to put the `cover` param in a front-matter.
autoCover = true
autoCover = false
# set post to show the last updated
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
showLastUpdated = false
showLastUpdated = true
enableGitInfo = true
dateFormat = "02-01-2006"
dateFormat = "2006-01-02"
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
# updatedDatePrefix = "Updated"
@ -46,17 +51,13 @@ copyright = 'Powered by <a href="https://gohugo.io">Hugo</a>'
# can be overridden in a page's front-matter
# TocTitle = "Table of Contents" # default
[params.twitter]
# set Twitter handles for Twitter cards
# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution
# do not include @
creator = ""
site = ""
[languages]
[languages.en]
languageName = "🇬🇧 EN"
languageCode = "en"
languageName = "🇬🇧 English"
languageDirection = "ltr"
weight = 0
disabled = false
title = "cuqmbr's Webpage"
[languages.en.params]
@ -79,23 +80,72 @@ copyright = 'Powered by <a href="https://gohugo.io">Hugo</a>'
logoHomeLink = "/"
[languages.en.menu]
# [[languages.en.menu.main]]
# identifier = "about"
# name = "About"
# url = "/about"
[[languages.en.menu.main]]
identifier = "services"
name = "Services"
url = "/services"
[[languages.en.menu.main]]
identifier = "posts"
name = "Blog Posts"
url = "/posts"
url = "/en/posts"
weight = 10
[[languages.en.menu.main]]
identifier = "contact"
name = "Contact"
url = "/contact"
url = "/en/contact"
weight = 20
[[languages.en.menu.main]]
identifier = "services"
name = "Services"
url = "/en/services"
weight = 30
[[languages.en.menu.main]]
identifier = "donate"
name = "Donate"
url = "/donate"
url = "/en/donate"
weight = 40
[languages.ru]
languageCode = "ru"
languageName = "🇷🇺 Русский"
languageDirection = "ltr"
weight = 10
disabled = false
title = "Веб-страница cuqmbr'а"
[languages.ru.params]
subtitle = ""
owner = ""
keywords = ""
copyright = ""
menuMore = "Показать больше"
readMore = "Читать дальше"
readOtherPosts = "Читать другие посты"
newerPosts = "Новые посты"
olderPosts = "Старые посты"
missingContentMessage = "Страница не найдена"
missingBackButtonLabel = "На главную"
minuteReadingTime = "минут к прочтению"
words = "слов"
[languages.ru.params.logo]
logoText = "Веб-страница cuqmbr'а"
logoHomeLink = "/ru"
[languages.ru.menu]
[[languages.ru.menu.main]]
identifier = "posts"
name = "Блог"
url = "/ru/posts"
weight = 10
[[languages.ru.menu.main]]
identifier = "contact"
name = "Контакты"
url = "/ru/contact"
weight = 20
[[languages.ru.menu.main]]
identifier = "services"
name = "Сервисы"
url = "/ru/services"
weight = 30
[[languages.ru.menu.main]]
identifier = "donate"
name = "Поддержать"
url = "/ru/donate"
weight = 40

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB