Skip to content

Commit

Permalink
Move country code /jp to lang code /ja url
Browse files Browse the repository at this point in the history
  • Loading branch information
treffynnon committed Feb 28, 2017
1 parent 2091b8e commit ca10e6d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To then run it locally `bundle exec jekyll serve`
If you would like to translate the guide then please open a pull request or open an issue
if you need some help getting it setup.

* [Japanese/日本語](http://www.sqlstyle.guide/jp/) by [nkurigit](https://github.com/nkurigit)
* [Japanese/日本語](http://www.sqlstyle.guide/ja/) by [nkurigit](https://github.com/nkurigit)
* [Simplified Chinese/简体中文](http://www.sqlstyle.guide/zh/) by
[wontoncoder](https://github.com/wontoncoder)

Expand Down
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ kramdown:
input: GFM
hard_wrap: false
toc_levels: "2,3"

gems:
- jekyll-redirect-from
6 changes: 3 additions & 3 deletions _includes/foot.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<span itemprop="name" alternateName="en" title="English">English</span>
</a>
·
<a href="{{ site.url }}/jp" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="ja" title="Japanese">日本語</span>
<a href="{{ site.url }}/ja" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="ja" title="日本語 (Japanese)" lang="ja">日本語</span>
</a>
·
<a href="{{ site.url }}/zh" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="zh" title="Simplified Chinese">简体中文</span>
<span itemprop="name" alternateName="zh" title="简体中文 (Simplified Chinese)" lang="zh">简体中文</span>
</a>
</nav>
<p>
Expand Down
6 changes: 3 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<span itemprop="name" alternateName="en" title="English">English</span>
</a>
·
<a href="{{ site.url }}/jp" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="ja" title="Japanese">日本語</span>
<a href="{{ site.url }}/ja" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="ja" title="日本語 (Japanese)" lang="ja">日本語</span>
</a>
·
<a href="{{ site.url }}/zh" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="zh" title="Simplified Chinese">简体中文</span>
<span itemprop="name" alternateName="zh" title="简体中文 (Simplified Chinese)" lang="zh">简体中文</span>
</a>
</nav>
</div>
Expand Down
8 changes: 4 additions & 4 deletions _includes/sqlstyle.guide.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

**日本語訳について**

日本語訳は誤訳や[原文の最新版][sqlstyleguide]に追随していない恐れがあります。誤訳や改善点があれば、GitHubの[issue][]または[pull request][pull]を使用するか、[Twitter][twitter-jp]でお知らせください。
翻訳: 久利史之 [@nkuritw][twitter-jp]
日本語訳は誤訳や[原文の最新版][sqlstyleguide]に追随していない恐れがあります。誤訳や改善点があれば、GitHubの[issue][]または[pull request][pull]を使用するか、[Twitter][twitter-ja]でお知らせください。
翻訳: 久利史之 [@nkuritw][twitter-ja]

[twitter-jp]: https://twitter.com/nkuritw
[twitter-ja]: https://twitter.com/nkuritw

***

Expand Down Expand Up @@ -1195,7 +1195,7 @@ ZONE
"SQL style guide pull requests on GitHub"
[celko]: https://www.amazon.co.jp/Celkos-Programming-Kaufmann-Management-Systems/dp/0120887975
"Joe Celko's SQL Programming Style (The Morgan Kaufmann Series in Data Management Systems)"
[dl-md]: https://raw.githubusercontent.com/treffynnon/sqlstyle.guide/gh-pages/_includes/sqlstyle.guide.jp.md
[dl-md]: https://raw.githubusercontent.com/treffynnon/sqlstyle.guide/gh-pages/_includes/sqlstyle.guide.ja.md
"Download the guide in Markdown format"
[iso-8601]: https://ja.wikipedia.org/wiki/ISO_8601
"Wikipedia: ISO 8601"
Expand Down
1 change: 1 addition & 0 deletions jp/index.md → ja/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default
redirect_from: "/jp"
---

* TOC
Expand Down

0 comments on commit ca10e6d

Please sign in to comment.