Add Japanese translation (#91)

Translate text on the website into Japanese.

Signed-off-by: TAKAHASHI Shuuji <shuuji3@gmail.com>

Add the `ja-jp` locale code for Japanese translation.

Signed-off-by: TAKAHASHI Shuuji <shuuji3@gmail.com>

Add config for Japanese translation.

I weight 6 on ja-jp because I saw a PR for korean translation on Gitea
repository. If there is no problem on that PR, it will be merged, and
I expect that the weight of ja-jp will be 6.

Signed-off-by: TAKAHASHI Shuuji <shuuji3@gmail.com>

Co-authored-by: TAKAHASHI Shuuji <shuuji3@gmail.com>
Reviewed-on: https://gitea.com/gitea/website/pulls/91
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
TAKAHASHI Shuuji 2020-09-27 16:27:02 +00:00 committed by techknowlogick
parent 9ca62b5aab
commit 6e9b6868ba
8 changed files with 130 additions and 1 deletions

View File

@ -300,4 +300,51 @@ languages:
- name: 포럼
url: https://discourse.gitea.io/
weight: 80
pre: group
pre: group
ja-jp:
weight: 6
languageName: 日本語
menu:
page:
- name: ウェブサイト
url: /ja-jp/
weight: 10
pre: home
post: active
- name: ドキュメント
url: https://docs.gitea.io/ja-jp/
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

20
content/_index.ja-jp.md Normal file
View File

@ -0,0 +1,20 @@
---
date: "2016-11-08T16:00:00+02:00"
title: "ようこそ"
weight: 10
toc: false
draft: false
url: "ja-jp"
type: "home"
---
<h1 class="title is-1">Gitea - 一杯のお茶を添えた Git</h1>
<h3 class="subtitle is-3">苦痛のないセルフホスト型 Git サービス</h3>
<h4 class="subtitle">
Gitea は、コミュニティ主導で開発が進められている [Go 言語](https://golang.org/)製の軽量のコードホスティングソリューションです。コードは [MIT](https://github.com/go-gitea/gitea/blob/master/LICENSE) ライセンスで公開されています。
</h4>
<div class="container">
<a class="button is-success is-large" href="https://try.gitea.io" target="_blank">Gitea を試す</a>
<a class="button is-light is-large" href="https://docs.gitea.io">ドキュメント</a>
</div>

View File

@ -0,0 +1,15 @@
---
date: "2016-11-08T16:00:00+02:00"
title: "クロスプラットフォーム"
weight: 10
toc: false
draft: false
---
<h3 class="subtitle is-3">
<svg class="octicon octicon-device-desktop" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
<path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"></path>
</svg>
クロスプラットフォーム
</h3>
Gitea は [Go 言語](http://golang.org/) がコンパイル可能なあらゆるプラットフォームで動作します。Windows、macOS、Linux、ARM など、あなたが一番好きなプラットフォームを選んでください!

View File

@ -0,0 +1,15 @@
---
date: "2016-11-08T16:00:00+02:00"
title: "インストールが簡単"
weight: 10
toc: false
draft: false
---
<h3 class="subtitle is-3">
<svg class="octicon octicon-flame" viewBox="0 0 12 16" version="1.1" aria-hidden="true">
<path fill-rule="evenodd" d="M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"></path>
</svg>
インストールが簡単
</h3>
ただプラットフォーム向けの[バイナリを実行する](https://docs.gitea.io/en-us/install-from-binary/)だけで動作します。Gitea は [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/en-us/install-from-package/)からインストールすることもできます。

View File

@ -0,0 +1,15 @@
---
date: "2016-11-08T16:00:00+02:00"
title: "軽量"
weight: 10
toc: false
draft: false
---
<h3 class="subtitle is-3">
<svg class="octicon octicon-rocket" viewBox="0 0 16 16" version="1.1" aria-hidden="true">
<path fill-rule="evenodd" d="M12.17 3.83c-.27-.27-.47-.55-.63-.88-.16-.31-.27-.66-.34-1.02-.58.33-1.16.7-1.73 1.13-.58.44-1.14.94-1.69 1.48-.7.7-1.33 1.81-1.78 2.45H3L0 10h3l2-2c-.34.77-1.02 2.98-1 3l1 1c.02.02 2.23-.64 3-1l-2 2v3l3-3v-3c.64-.45 1.75-1.09 2.45-1.78.55-.55 1.05-1.13 1.47-1.7.44-.58.81-1.16 1.14-1.72-.36-.08-.7-.19-1.03-.34a3.39 3.39 0 0 1-.86-.63M16 0s-.09.38-.3 1.06c-.2.7-.55 1.58-1.06 2.66-.7-.08-1.27-.33-1.66-.72-.39-.39-.63-.94-.7-1.64C13.36.84 14.23.48 14.92.28 15.62.08 16 0 16 0"></path>
</svg>
軽量
</h3>
Gitea に必要な依存関係は最小限しかないため、安価な Raspberry Pi でも動作します。マシンの消費電力を節約しましょう!

View File

@ -0,0 +1,15 @@
---
date: "2016-11-08T16:00:00+02:00"
title: "オープンソース"
weight: 10
toc: false
draft: false
---
<h3 class="subtitle is-3">
<svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" aria-hidden="true">
<path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"></path>
</svg>
オープンソース
</h3>
コードは [code.gitea.io/gitea](https://code.gitea.io/gitea/) で入手できます! 私たちと一緒に[コントリビューション](https://github.com/go-gitea/gitea)を行い、このプロジェクトをさらに優れたものにしていきましょう。コントリビュータになるのに遠慮はいりません!

View File

@ -12,6 +12,7 @@ set -e
#
declare -a LOCALES=(
"ja-jp"
"nl-nl"
"pt-br"
"zh-cn"

View File

@ -1,6 +1,7 @@
https://gitea-website.netlify.com/* https://gitea.io/:splat 302!
https://www.gitea.io/* https://gitea.io/:splat 302!
/ /ja-jp/ 302! Language=ja
/ /nl-nl/ 302! Language=nl
/ /pt-br/ 302! Language=pt-br
/ /zh-cn/ 302! Language=zh-cn