Merge pull request #108 from mattn/japanese-locale

Japanese locale and font-separat by base-{locale}.css
This commit is contained in:
Liang Ding 2014-10-28 13:35:16 +08:00
commit 9cc3dc126f
7 changed files with 129 additions and 2 deletions

109
i18n/ja_JP.json Normal file
View File

@ -0,0 +1,109 @@
{
"wide": "Wide",
"isDelete": "削除",
"cancel": "取消",
"file": "ファイル",
"login": "ログイン",
"username": "ユーザ名",
"current_user": "現在のユーザ",
"password": "パスワード",
"login_error": "ログインエラー",
"run": "実行",
"debug": "デバッグ",
"help": "ヘルプ",
"check_update": "更新をチェック",
"report_issues": "問題を報告",
"wide_doc": "Wide ドキュメント",
"about": "Wide について",
"start_page": "スタートページ",
"create_file": "新規ファイル",
"create": "作成",
"create_dir": "新規ディレクトリ",
"delete": "削除",
"save": "保存",
"exit": "終了",
"close_all_files": "全てのファイルを閉じる",
"save_all_files": "全てを保存",
"format": "フォーマット",
"goget": "go get",
"goinstall": "go install",
"build": "ビルド",
"build_n_run": "ビルド実行",
"editor": "エディタ",
"max_editor": "最大化",
"restore_editor": "元のサイズに戻す",
"unread_notification": "未読の通知",
"notification_2": "[gocode] が見つかりません。[Autocomplete] は動作しません。",
"notification_3": "[ide_stub] が見つかりません。[Jump to Decl]、[Find Usages] は動作しません。",
"goto_line": "指定行にジャンプ",
"go": "Go",
"tip": "ヒント",
"confirm": "確認",
"stop": "停止",
"output": "出力",
"search": "検索",
"notification": "通知",
"min": "最小化",
"restore_side": "ファイルツリーを戻す",
"search_text": "テキストを検索",
"find": "検索",
"find_next": "次を検索",
"find_previous": "前を検索",
"replace": "置換",
"replace_all": "全て置換",
"restore_bottom": "ウィンドウを下に戻す",
"file_format": "ファイルの拡張子",
"keyword": "キーワード",
"user_guide": "ユーザガイド",
"dev_guide": "開発ガイド",
"keyboard_shortcuts": "キーボードショートカット",
"ver": "バージョン",
"current_ver": "現在のバージョン",
"dev_team": "開発チーム",
"donate_us": "寄付",
"confirm_save": "保存の確認",
"workspace": "ワークスペース",
"project_address": "プロジェクト",
"community": "コミュニティ",
"autocomplete": "自動補完",
"jump_to_decl": "定義へジャンプ",
"show_expr_info": "式の情報を表示",
"find_usages": "使用方法を検索する",
"delete_line": "行を削除",
"save_editor_file": "保存",
"save_all_editors_files": "全てを保存",
"close_editor": "エディタを閉じる",
"full_screen": "全画面",
"auto_indent": "自動インデント",
"indent": "インデントを増やす",
"unindent": "インデントを減らす",
"focus": "フォーカス",
"switch_tab": "タブを切り替える",
"focus_editor": "エディタにフォーカスを与える",
"focus_file_tree": "ファイルツリーにフォーカスを与える",
"focus_output": "出力にフォーカスを与える",
"focus_search": "検索にフォーカスを与える",
"focus_notification": "通知にフォーカスを与える",
"start-build": "[go build] 開始",
"build-succ": "[go build] 成功",
"build-error": "[go build] 失敗",
"start-test": "[go test] 開始",
"test-succ": "[go test] 成功",
"test-error": "[go test] 失敗",
"start-install": "[go install] 開始",
"install-succ": "[go install] 成功",
"install-error": "[go install] 失敗",
"start-get": "[go get] 開始",
"get-succ": "[go get] 成功",
"get-error": "[go get] 失敗",
"check_version": "更新をチェック中",
"new_version_available": "新しいバージョンがあります",
"go_env": "Go",
"os": "OS",
"project": "プロジェクト",
"license": "ライセンス",
"credits": "クレジット",
"uptodate": "最新です",
"test": "テスト",
"colon": ""
}

View File

@ -23,6 +23,7 @@ func Load() {
// TODO: 自动加载所有语言配置
load("zh_CN")
load("ja_JP")
load("en_US")
}

View File

View File

@ -0,0 +1,8 @@
body {
font-family: Helvetica, 'MS Gothic';
}
input,
button {
font-family: Helvetica, 'MS Gothic';
}

View File

@ -0,0 +1,8 @@
body {
font-family: Helvetica, 'Microsoft Yahei';
}
input,
button {
font-family: Helvetica, 'Microsoft Yahei';
}

View File

@ -4,7 +4,7 @@ body {
margin: 0;
color: #000;
overflow: hidden;
font-family: Helvetica, 'Microsoft Yahei';
font-family: Helvetica;
}
ul {
@ -19,7 +19,7 @@ ul {
input,
button {
font-family: Helvetica, 'Microsoft Yahei';
font-family: Helvetica;
}
.fn-left {

View File

@ -14,6 +14,7 @@
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/dialog.css?{{.conf.StaticResourceVersion}}">
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/base.css?{{.conf.StaticResourceVersion}}">
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/base-{{.conf.Locale}}.css?{{.conf.StaticResourceVersion}}">
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/wide.css?{{.conf.StaticResourceVersion}}">
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/side.css?{{.conf.StaticResourceVersion}}">
<link rel="stylesheet" href="{{.conf.StaticServer}}/static/css/start.css?{{.conf.StaticResourceVersion}}">