From 4c7417a2888e5419d4079640ef5c9f09cea4cac8 Mon Sep 17 00:00:00 2001 From: Hirohisa Kawase Date: Sat, 17 May 2014 22:15:59 +0900 Subject: [PATCH] Added Japanese language files for backend/cms/system modules. --- modules/system/lang/ja/lang.php | 125 ++++++++++++++++++++++++++ modules/system/lang/ja/validation.php | 99 ++++++++++++++++++++ 2 files changed, 224 insertions(+) create mode 100644 modules/system/lang/ja/lang.php create mode 100644 modules/system/lang/ja/validation.php diff --git a/modules/system/lang/ja/lang.php b/modules/system/lang/ja/lang.php new file mode 100644 index 000000000..cc9d13b7c --- /dev/null +++ b/modules/system/lang/ja/lang.php @@ -0,0 +1,125 @@ + [ + 'name' => 'October CMS', + 'motto' => '基本に戻ろう!', + ], + 'directory' => [ + 'create_fail' => "ディレクトリーが作成できません: :name", + ], + 'file' => [ + 'create_fail' => "ファイルが作成できません: :name", + ], + 'system' => [ + 'name' => 'システム', + 'menu_label' => 'システム', + ], + 'plugin' => [ + 'unnamed' => '名前なしプラグイン', + 'name' => [ + 'label' => 'プラグイン名', + 'help' => '重複しないプラグイン名を付けてください。(例:RainLab.Blog)', + ], + ], + 'project' => [ + 'name' => 'プロジェクト', + 'owner_label' => '所有者', + 'attach' => 'プロジェクト追加', + 'detach' => 'プロジェクト切り離し', + 'none' => '無し', + 'id' => [ + 'label' => 'プロジェクトID', + 'help' => 'プロジェクトIDの見つけ方', + 'missing' => '使用するプロジェクトのIDを指定してください。', + ], + 'detach_confirm' => 'このプロジェクトを切り離しますか?', + 'unbind_success' => 'プロジェクトを切り離しました。', + ], + 'settings' => [ + 'menu_label' => '設定', + 'missing_model' => 'モデルの定義が見つかりません。', + 'update_success' => ':name を設定しました。', + 'return' => 'システム設定へ戻る', + ], + 'email' => [ + 'menu_label' => 'メール設定', + 'menu_description' => 'メール設定の管理', + 'general' => '全般', + 'method' => 'メール方法', + 'sender_name' => '送信者名', + 'sender_email' => '送信者メール', + 'smtp' => 'SMTP', + 'smtp_address' => 'SMTPアドレス', + 'smtp_authorization' => 'SMTP認証が必要', + 'smtp_authorization_comment' => 'SMTPサーバーの認証が必要な場合、チェックしてください。', + 'smtp_username' => 'ユーザー名', + 'smtp_password' => 'パスワード', + 'smtp_port' => 'SMTPポート', + 'smtp_ssl' => 'SSL接続が必要', + 'sendmail' => 'Sendmail', + 'sendmail_path' => 'Sendmailパス', + 'sendmail_path_comment' => 'Sendmailプログラムへのパスを指定してください。', + ], + 'install' => [ + 'project_label' => 'プロジェクト追加', + 'plugin_label' => 'プラグインインストール', + 'missing_plugin_name' => 'インストールするプラグインの名前を指定してください。', + 'install_completing' => 'インストールを仕上げ中', + 'install_success' => 'プラグインをインストールしました。', + ], + 'updates' => [ + 'title' => 'アップデート管理', + 'name' => 'ソフトウェアアップデート', + 'menu_label' => 'アップデート', + 'check_label' => 'アップデート確認', + 'retry_label' => '再実行', + 'plugin_name' => '名前', + 'plugin_description' => '説明', + 'plugin_version' => 'バージョン', + 'plugin_author' => '作者', + 'core_build' => '現在のビルド', + 'core_build_old' => '現在のビルド :build', + 'core_build_new' => 'ビルド :build', + 'core_build_new_help' => '新しいビルドが存在します。', + 'core_downloading' => 'アプリケーションファイルのダウンロード中', + 'core_extracting' => 'アプリケーションファイルの展開中', + 'plugin_downloading' => 'プラグインダウンロード中: :name', + 'plugin_extracting' => 'プラグイン展開中: :name', + 'plugin_version_none' => '新プラグイン', + 'plugin_version_old' => '現在 v:version', + 'plugin_version_new' => 'v:version', + 'update_label' => 'ソフトウェアアップデート', + 'update_completing' => 'アップデート仕上げ中', + 'update_loading' => 'アップデートロード中…', + 'update_success' => 'アップデートしました。', + 'update_failed_label' => 'アップデート失敗', + 'force_label' => '強制アップデート', + 'found' => [ + 'label' => '新しいアップデートあり', + 'help' => 'アップデートしたいソフトウェアをクリックしてください。', + ], + 'none' => [ + 'label' => 'アップデートなし', + 'help' => '新しいアップデートが見つかりません。', + ], + ], + 'server' => [ + 'connect_error' => 'サーバー接続エラー。', + 'response_not_found' => '更新サーバーが見つかりません。', + 'response_invalid' => 'サーバーからの無効なレスポンス。', + 'response_empty' => 'サーバーから空のレスポンス。', + 'file_error' => 'サーバーがパッケージ配布に失敗。', + 'file_corrupt' => 'サーバーからのファイルが壊れています。', + ], + 'behavior' => [ + 'missing_property' => ':class クラスは、 :behavior ビヘイビアーにより使用される、 :property プロパティーを定義する必要があります。', + ], + 'config' => [ + 'not_found' => ':location で、 :file 設定ファイルが見つかりません。', + 'required' => ':location の中の設定で、値の指定が必要な、 :property が見つかりません。', + ], + 'zip' => [ + 'extract_failed' => "コアファイル: ':file' が取り出せません。", + ], +]; diff --git a/modules/system/lang/ja/validation.php b/modules/system/lang/ja/validation.php new file mode 100644 index 000000000..21efc0e7e --- /dev/null +++ b/modules/system/lang/ja/validation.php @@ -0,0 +1,99 @@ + ":attributeを承認してください。", + "active_url" => ":attributeが有効なURLではありません。", + "after" => ":attributeには、:date以降の日付を指定してください。", + "alpha" => ":attributeはアルファベッドのみがご利用できます。", + "alpha_dash" => ":attributeは英数字とダッシュ(-)及び下線(_)がご利用できます。", + "alpha_num" => ":attributeは英数字がご利用できます。.", + "array" => ":attributeは配列でなくてはなりません。", + "before" => ":attributeには、:date以前の日付をご利用ください。", + "between" => array( + "numeric" => ":attributeは、:minから:maxの間で指定してください。", + "file" => ":attributeは、:min kBから、:max kBの間で指定してください。", + "string" => ":attributeは、:min文字から、:max文字の間で指定してください。", + "array" => ":attributeは、:min個から:max個の間で指定してください。", + ), + "confirmed" => ":attributeと、確認フィールドとが、一致していません。", + "date" => ":attributeには有効な日付を指定してください。", + "date_format" => ":attributeは:format形式で指定してください。", + "different" => ":attributeと:otherには、異なった内容を指定してください。", + "digits" => ":attributeは:digits桁で指定してください。", + "digits_between" => ":attributeは:min桁から:max桁の間で指定してください。", + "email" => "The :attribute must be a valid email address.", + "exists" => "選択された:attributeは正しくありません。", + "image" => ":attributeには画像ファイルを指定してください。", + "in" => "選択された:attributeは正しくありません。", + "integer" => ":attributeは整数でご指定ください。", + "ip" => ":attributeには、有効なIPアドレスをご指定ください。", + "max" => array( + "numeric" => ":attributeには、:max以下の数字をご指定ください。", + "file" => ":attributeには、:max kB以下のファイルをご指定ください。", + "string" => ":attributeは、:max文字以下でご指定ください。", + "array" => ":attributeは:max個以下ご指定ください。", + ), + "mimes" => ":attributeには:valuesタイプのファイルを指定してください。", + "min" => array( + "numeric" => ":attributeには、:min以上の数字をご指定ください。", + "file" => ":attributeには、:min kB以上のファイルをご指定ください。", + "string" => ":attributeは、:min文字以上でご指定ください。", + "array" => ":attributeは:min個以上ご指定ください。", + ), + "not_in" => "選択された:attributeは正しくありません。", + "numeric" => ":attributeには、数字を指定してください。", + "regex" => ":attributeに正しい形式をご指定ください。", + "required" => ":attributeは必ず指定してください。", + "required_if" => ":otherが:valueの場合、:attributeも指定してください。", + "required_with" => ":valuesを指定する場合は、:attributeも指定してください。", + "required_without" => ":valuesを指定しない場合は、:attributeを指定してください。", + "required_without_all" => "The :attribute field is required when none of :values are present.", + "same" => ":attributeと:otherには同じ値を指定してください。", + "size" => array( + "numeric" => ":attributeは:sizeを指定してください。", + "file" => ":attributeのファイルは、:sizeキロバイトでなくてはなりません。", + "string" => ":attributeは:size文字で指定してください。", + "array" => ":attributeは:size個ご指定ください。", + ), + "unique" => ":attributeの値は既に存在しています。", + "url" => ":attributeに正しい形式をご指定ください。", + + /* + |-------------------------------------------------------------------------- + | カスタムバリデーション言語行 + |-------------------------------------------------------------------------- + | + | "属性.ルール"の規約でキーを指定することでカスタムバリデーション + | メッセージを定義できます。指定した属性ルールに対する特定の + | カスタム言語行を手早く指定できます。 + | + */ + + 'custom' => array(), + + /* + |-------------------------------------------------------------------------- + | カスタムバリデーション属性名 + |-------------------------------------------------------------------------- + | + | 以下の言語行は、例えば"email"の代わりに「メールアドレス」のように、 + | 読み手にフレンドリーな表現でプレースホルダーを置き換えるために指定する + | 言語行です。これはメッセージをよりきれいに表示するために役に立ちます。 + | + */ + + 'attributes' => array(), + +);