Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dd05206

Browse files
add locales & translations.js
1 parent 82a2918 commit dd05206

File tree

6 files changed

+105
-22
lines changed

6 files changed

+105
-22
lines changed

‎config/locales/de.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
de:
2+
type: "Deutsch"
3+
comments: "Kommentare"
4+
description:
5+
support_markdown: "Text unterstützt Github Flavored Markdown."
6+
delete_rule: "Die ältere als 24 Stunden Kommentare werden gelöscht."
7+
submit_rule: "Name wird beibehalten. Text wird zurücksetzt während der Sendung."
8+
form:
9+
horizontal: "Horizontale Form"
10+
stacked: "Gestapelte Form"
11+
inline: "Inline Form"
12+
input:
13+
name:
14+
label: "Name"
15+
placeholder: "Dein Name"
16+
text:
17+
label: "Text"
18+
placeholder: "Sagen Sie etwas mit markdown..."
19+
saving: "Speichern"
20+
post: "Posten"

‎config/locales/en.yml‎

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
# Files in the config/locales directory are used for internationalization
2-
# and are automatically loaded by Rails. If you want to use locales other
3-
# than English, add the necessary files in this directory.
4-
#
5-
# To use the locales, use `I18n.t`:
6-
#
7-
# I18n.t "hello"
8-
#
9-
# In views, this is aliased to just `t`:
10-
#
11-
# <%= t("hello") %>
12-
#
13-
# To use a different locale, set it with `I18n.locale`:
14-
#
15-
# I18n.locale = :es
16-
#
17-
# This would use the information in config/locales/es.yml.
18-
#
19-
# To learn more, please read the Rails Internationalization guide
20-
# available at http://guides.rubyonrails.org/i18n.html.
21-
221
en:
23-
hello: "Hello world"
2+
type: "English"
3+
comments: "Comments"
4+
description:
5+
support_markdown: "Text supports Github Flavored Markdown."
6+
delete_rule: "Comments older than 24 hours are deleted."
7+
submit_rule: "Name is preserved. Text is reset, between submits."
8+
form:
9+
horizontal: "Horizontal Form"
10+
stacked: "Stacked Form"
11+
inline: "Inline Form"
12+
input:
13+
name:
14+
label: "Name"
15+
placeholder: "Your Name"
16+
text:
17+
label: "Text"
18+
placeholder: "Say something using markdown..."
19+
saving: "Saving"
20+
post: "Post"

‎config/locales/ja.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
ja:
2+
type: "日本語"
3+
comments: "コメント"
4+
description:
5+
support_markdown: "テキストは Github Flavored Markdown をサポートしています。"
6+
delete_rule: "コメントは24時間後削除されます。"
7+
submit_rule: "送信の間に名前は保存され、テキストがリセットされます。"
8+
form:
9+
horizontal: "水平フォーム"
10+
stacked: "積み上げフォーム"
11+
inline: "インラインフォーム"
12+
input:
13+
name:
14+
label: "名前"
15+
placeholder: "あなたの名前"
16+
text:
17+
label: "本文"
18+
placeholder: "何かが Markdown を使用して言います..."
19+
saving: "保存"
20+
post: "サブミット"

‎config/locales/zh-CN.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
zh-CN:
2+
type: "简体中文"
3+
comments: "评论"
4+
description:
5+
support_markdown: "支援 Github Flavored Markdown。"
6+
delete_rule: "评论于24小时后移除。"
7+
submit_rule: "送出评论后, 名字保留并清除内容。"
8+
form:
9+
horizontal: "水平格式"
10+
stacked: "堆叠格式"
11+
inline: "内嵌格式"
12+
input:
13+
name:
14+
label: "名字"
15+
placeholder: "你的名字"
16+
text:
17+
label: "内容"
18+
placeholder: "使用markdown说些什么..."
19+
saving: "储存"
20+
post: "发表"

‎config/locales/zh-TW.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
zh-TW:
2+
type: "正體中文"
3+
comments: "評論"
4+
description:
5+
support_markdown: "支援 Github Flavored Markdown。"
6+
delete_rule: "評論於24小時後移除。"
7+
submit_rule: "送出評論後, 名字保留並清除內容。"
8+
form:
9+
horizontal: "水平格式"
10+
stacked: "堆疊格式"
11+
inline: "內嵌格式"
12+
input:
13+
name:
14+
label: "名字"
15+
placeholder: "你的名字"
16+
text:
17+
label: "內容"
18+
placeholder: "使用markdown說些什麼..."
19+
saving: "儲存"
20+
post: "發表"

‎public/javascripts/translations.js‎

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /