From bd9f08d99634fd53070f2f0ae32c857875dabfd6 Mon Sep 17 00:00:00 2001 From: Blueberry Date: Sat, 24 Oct 2020 10:03:04 +0800 Subject: [PATCH] Russian translation (#98) Upload files to 'content/features' Upload files to 'content' Update 'scripts/trans-copy' Update 'static/_redirects' Update 'config.yaml' Reviewed-on: https://gitea.com/gitea/website/pulls/98 Reviewed-by: Andrew Thornton Reviewed-by: Lunny Xiao Co-Authored-By: Blueberry Co-Committed-By: Blueberry --- config.yaml | 47 +++++++++++++++++++++ content/_index.ru-ru.md | 21 +++++++++ content/features/cross-platform.ru-ru.md | 15 +++++++ content/features/easy-installation.ru-ru.md | 17 ++++++++ content/features/lightweight.ru-ru.md | 15 +++++++ content/features/open-source.ru-ru.md | 16 +++++++ scripts/trans-copy | 1 + static/_redirects | 1 + 8 files changed, 133 insertions(+) create mode 100644 content/_index.ru-ru.md create mode 100644 content/features/cross-platform.ru-ru.md create mode 100644 content/features/easy-installation.ru-ru.md create mode 100644 content/features/lightweight.ru-ru.md create mode 100644 content/features/open-source.ru-ru.md diff --git a/config.yaml b/config.yaml index 8c58458..42691ca 100644 --- a/config.yaml +++ b/config.yaml @@ -351,3 +351,50 @@ languages: url: https://discourse.gitea.io/ weight: 80 pre: group + + ru-ru: + weight: 7 + languageName: Русский + menu: + page: + - name: Веб-сайт + url: /ru-ru/ + weight: 10 + pre: home + post: active + - name: Документация + url: https://docs.gitea.io/ru-ru/ + weight: 20 + pre: question + - name: API + url: https://try.gitea.io/api/swagger + weight: 45 + pre: plug + - name: Блог + url: https://blog.gitea.io/ + weight: 30 + pre: rss + - name: Код + url: https://code.gitea.io/ + weight: 40 + pre: code + - name: Перевод + url: https://crowdin.com/project/gitea + weight: 41 + pre: language + - name: Загрузки + url: https://dl.gitea.io/ + weight: 50 + pre: download + - name: GitHub + url: https://github.com/go-gitea/ + weight: 60 + pre: github + - name: Чат в Discord + url: https://discord.gg/Gitea + weight: 70 + pre: comment + - name: Форум + url: https://discourse.gitea.io/ + weight: 80 + pre: group \ No newline at end of file diff --git a/content/_index.ru-ru.md b/content/_index.ru-ru.md new file mode 100644 index 0000000..fb78974 --- /dev/null +++ b/content/_index.ru-ru.md @@ -0,0 +1,21 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Добро пожаловать" +weight: 10 +toc: false +draft: false +url: "ru-ru" +type: "home" +--- + +

Gitea - Git with a cup of tea

+

Удобный сервис собственного хостинга репозиториев Git.

+

+ Gitea - это управляемое сообществом облегчённое решение для хостинга кода, написанное на [Go](https://golang.org/). + Он публикуется под лицензией [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE). +

+ + \ No newline at end of file diff --git a/content/features/cross-platform.ru-ru.md b/content/features/cross-platform.ru-ru.md new file mode 100644 index 0000000..2b63571 --- /dev/null +++ b/content/features/cross-platform.ru-ru.md @@ -0,0 +1,15 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Кроссплатформенный" +weight: 10 +toc: false +draft: false +--- +

+ + Кроссплатформенный +

+ +Gitea работает на любой операционной системе, которая может компилировать [Go](http://golang.org/) Windows, macOS, Linux, ARM и т. д. Выбирайте, что вам больше нравится! \ No newline at end of file diff --git a/content/features/easy-installation.ru-ru.md b/content/features/easy-installation.ru-ru.md new file mode 100644 index 0000000..7184932 --- /dev/null +++ b/content/features/easy-installation.ru-ru.md @@ -0,0 +1,17 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Простой в установке" +weight: 10 +toc: false +draft: false +--- +

+ + Простой в установке +

+ +Просто [запустите исполняемый файл](https://docs.gitea.io/ru-ru/install-from-binary/) для вашей платформы. +Или разверните через [Docker](https://github.com/go-gitea/gitea/tree/master/docker), или установите [Vagrant](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs), +с помощью [менеджера пакетов](https://docs.gitea.io/ru-ru/install-from-package/). \ No newline at end of file diff --git a/content/features/lightweight.ru-ru.md b/content/features/lightweight.ru-ru.md new file mode 100644 index 0000000..f3b0fe6 --- /dev/null +++ b/content/features/lightweight.ru-ru.md @@ -0,0 +1,15 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Легковесный" +weight: 10 +toc: false +draft: false +--- +

+ + Легковесный +

+ +Gitea имеет низкие системные требования и может работать на недорогом Raspberry Pi. Экономьте энергию вашей машины! \ No newline at end of file diff --git a/content/features/open-source.ru-ru.md b/content/features/open-source.ru-ru.md new file mode 100644 index 0000000..ad11589 --- /dev/null +++ b/content/features/open-source.ru-ru.md @@ -0,0 +1,16 @@ +--- +date: "2016-11-08T16:00:00+02:00" +title: "Открытый исходный код" +weight: 10 +toc: false +draft: false +--- +

+ + Открытый исходный код +

+ +Всё это на [code.gitea.io/gitea](https://code.gitea.io/gitea/)! +Присоединяйтесь к нам, внося [вклад](https://github.com/go-gitea/gitea) чтобы сделать этот проект ещё лучше. Не бойтесь помогать! \ No newline at end of file diff --git a/scripts/trans-copy b/scripts/trans-copy index 961f4f2..88b9ac8 100755 --- a/scripts/trans-copy +++ b/scripts/trans-copy @@ -12,6 +12,7 @@ set -e # declare -a LOCALES=( + "ru-ru" "ja-jp" "nl-nl" "pt-br" diff --git a/static/_redirects b/static/_redirects index 08fb7b8..cd98e5e 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,6 +1,7 @@ https://gitea-website.netlify.com/* https://gitea.io/:splat 302! https://www.gitea.io/* https://gitea.io/:splat 302! +/ /ru-ru/ 302! Language=ru / /ja-jp/ 302! Language=ja / /nl-nl/ 302! Language=nl / /pt-br/ 302! Language=pt-br