From cef4ac11d19ec9c702e7c5901cf939b5499b3719 Mon Sep 17 00:00:00 2001 From: tkymmm <136296842+tkymmm@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:29:39 +0900 Subject: [PATCH] Japanese translation (#98) --- includes/i18n/jp.php | 195 ++++++++++++++++++++++++++++++++++++ includes/i18n/languages.php | 3 +- scripts/i18n/jp.js | 34 +++++++ 3 files changed, 231 insertions(+), 1 deletion(-) create mode 100644 includes/i18n/jp.php create mode 100644 scripts/i18n/jp.js diff --git a/includes/i18n/jp.php b/includes/i18n/jp.php new file mode 100644 index 000000000..e1c6de89f --- /dev/null +++ b/includes/i18n/jp.php @@ -0,0 +1,195 @@ + "ログインする前にアカウントを作成する必要があります", + 'username' => "ユーザー名", + 'password' => "パスワード", + "email" => "メール", + "confirm_password" => "パスワードの確認", + "main_currency" => "主要通貨", + "language" => "言語", + "passwords_dont_match" => "パスワードが違います", + "registration_failed" => "登録に失敗しました。もう一度お試しください。", + "register" => "登録する", + // Login Page + 'please_login' => "ログインしてください", + 'stay_logged_in' => "ログインしたままにする (30日)", + 'login' => "ログイン", + 'login_failed' => "ログイン情報が間違っています", + // Header + 'subscriptions' => "定期購入", + 'stats' => "統計", + 'settings' => "設定", + 'about' => "About", + 'logout' => "ログアウト", + // Subscriptions page + "subscription" => "定期購入", + "no_subscriptions_yet" => "まだ定期購入がありません", + "add_first_subscription" => "最初の定期購入を追加する", + 'new_subscription' => "新しい定期購入", + 'sort' => "並べ替え", + 'name' => "名前", + 'last_added' => "最終追加日", + 'price' => "金額", + 'next_payment' => "次回支払い", + 'member' => "メンバー", + 'category' => "カテゴリ", + 'payment_method' => "支払い方法", + "Daily" => "毎日", + "Weekly" => "毎週", + "Monthly" => "毎月", + "Yearly" => "毎年", + "days" => "日毎", + "weeks" => "週毎", + "months" => "月毎", + "years" => "年毎", + "external_url" => "外部URLにアクセス", + "empty_page" => "空のページ", + // Subscription form + "add_subscription" => "定期購入の追加", + "edit_subscription" => "定期購入の編集", + "subscription_name" => "定期購入名", + "logo_preview" => "ロゴのプレビュー", + "search_logo" => "ウェブ上でロゴを検索する", + "web_search" => "ウェブ検索", + "currency" => "通過", + "billing_cycle" => "請求サイクル", + "frequency" => "頻度", + "cycle" => "サイクル", + "next_payment" => "次回支払い", + "payment_method" => "支払い方法", + "no_category" => "カテゴリなし", + "paid_by" => "支払い元", + "url" => "URL", + "notes" => "注釈", + "enable_notifications" => "この定期購入の通知を有効にする", + "delete" => "削除", + "cancel" => "キャンセル", + "upload_logo" => "ロゴのアップロード", + // Statistics page + 'general_statistics' => "一般統計", + 'active_subscriptions' => "アクティブな定期購入", + 'monthly_cost' => "月間費用", + 'yearly_cost' => "年間費用", + 'average_monthly' => "月額平均費用", + 'most_expensive' => "最も高額な定期購入費用", + 'amount_due' => "今月の支払額", + 'split_views' => "分割表示", + 'category_split' => "カテゴリ別", + 'household_split' => "世帯別", + // About page + 'about_and_credits' => "概要とクレジット", + 'license' => "License", + 'issues_and_requests' => "問題と要望", + 'the_author' => "著者", + 'icons' => "アイコン", + 'payment_icons' => "支払いアイコン", + // Settings page + 'user_details' => "ユーザー詳細", + "household" => "世帯", + "save_member" => "世帯員を保存", + "delete_member" => "世帯員を削除", + "cant_delete_member" => "世帯主は削除出ません", + "cant_delete_member_in_use" => "定期購入を使用中の世帯員は削除できません", + "notifications" => "通知", + "enable_email_notifications" => "電子メール通知を有効にする", + "notify_me" => "通知", + "day_before" => "日前", + "days_before" => "日前", + "smtp_address" => "SMTPアドレス", + "port" => "ポート番号", + "smtp_username" => "SMTPユーザー名", + "smtp_password" => "SMTPパスワード", + "from_email" => "送信元アドレス (オプション)", + "smtp_info" => "SMTPパスワードは平文で送信および保存されます。セキュリティのため専用のアカウントを作成してください。", + "categories" => "カテゴリ", + "save_category" => "カテゴリを保存", + "delete_category" => "カテゴリを削除", + "cant_delete_category_in_use" => "定期購入で使用中のカテゴリは削除できません", + "currencies" => "通過", + "save_currency" => "通貨を保存", + "delete_currency" => "通貨を削除", + "cant_delete_main_currency" => "メイン通貨は削除できません", + "cant_delete_currency_in_use" => "定期購入で使用中の通貨は削除できません", + "exchange_update" => "為替レートの最終更新日", + "currency_info" => "サポートされている通貨と正しい通貨コードを見つける", + "currency_performance" => "Fパフォーマンスを向上させるには、使用する通貨のみを保持してください。", + "fixer_api_key" => "FixerのAPIキー", + "api_key" => "APIキー", + "fixer_info" => "複数の通貨を使用し、定期購入に関する正確な統計と並べ替えが必要な場合は、Fixerからの無料APIキーが必要です。", + "get_key" => "キーを入手する", + "display_settings" => "表示設定", + "switch_theme" => "ライト/ダーク テーマの切り替え", + "calculate_monthly_price" => "すべての定期購入の月額料金を計算して表示する", + "convert_prices" => "常にメイン通貨で価格を換算して表示する (遅い)", + "experimental_settings" => "実験的な設定", + "remove_background" => "画像検索からロゴの背景を削除する (実験)", + "experimental_info" => "実験的な設定は、おそらく完全には機能しません。", + "payment_methods" => "支払い方法", + "payment_methods_info" => "支払い方法をクリックして無効/有効を切り替えます。", + "cant_delete_payment_method_in_use" => "支払い方法が使用中のため無効にできません。", + "disable" => "無効", + "enable" => "有効", + "test" => "テスト", + "add" => "追加", + "save" => "保存", + // Toast + "success" => "成功", + // Endpoint responses + "session_expired" => "セッションの有効期限が切れました。再度ログインしてください。", + "fields_missing" => "いくつかの項目が抜けています", + "fill_all_fields" => "すべての項目を記入してください", + "fill_mandatory_fields" => "必須項目をすべて記入してください", + "error" => "エラー", + // Category + "failed_add_category" => "カテゴリの追加に失敗", + "failed_edit_category" => "カテゴリの編集に失敗", + "category_in_use" => "定期購入で使用中のカテゴリは削除できません", + "failed_remove_category" => "カテゴリの削除に失敗", + "category_saved" => "カテゴリの保存", + "category_removed" => "カテゴリの削除", + // Currency + "currency_saved" => "通貨を保存", + "error_adding_currency" => "通貨エントリの追加エラー.", + "failed_to_store_currency" => "データベースに通貨を保存できませんでした", + "currency_in_use" => "定期購入で使用中の通貨は削除できません", + "currency_is_main" => "メイン通貨に設定中の通貨は削除できません", + "failed_to_remove_currency" => "データベースから通過を削除できませんでした", + "failed_to_store_api_key" => "データベースにAPIキーを保存できませんでした", + "invalid_api_key" => "無効なAPIキーです", + "api_key_saved" => "APIキーの保存に成功", + "currency_removed" => "通貨を削除", + // Household + "failed_add_household" => "世帯員の追加に失敗", + "failed_edit_household" => "世帯員の編集に失敗", + "failed_remove_household" => "世帯員の削除に失敗", + "household_in_use" => "定期購入を使用中の世帯員は削除できません", + "member_saved" => "世帯員を保存", + "member_removed" => "世帯員を削除", + // Notifications + "error_saving_notifications" => "通知データの保存エラー", + "wallos_notification" => "Wallosからの通知", + "test_notification" => "これは通知テストです。これが見られるなら成功です。", + "email_error" => "電子メールの送信エラー", + "notification_sent_successfuly" => "通知の送信に成功しました", + "notifications_settings_saved" => "通知設定の保存に成功", + // Payments + "payment_in_use" => "使用中の支払い方法は削除できません", + "failed_update_payment" => "データーベースの支払い方法の更新に失敗しました", + "enabled" => "有効", + "disabled" => "無効", + // Subscription + "error_fetching_image" => "画像の取得エラー", + "subscription_updated_successfuly" => "定期購入の更新成功", + "subscription_added_successfuly" => "定期購入の追加成功", + "error_deleting_subscription" => "定期購入の削除エラー", + "invalid_request_method" => "無効なリクエスト方法", + // User + "error_updating_user_data" => "ユーザデータの更新エラー", + "user_details_saved" => "ユーザー詳細の保存", + +]; + + +?> diff --git a/includes/i18n/languages.php b/includes/i18n/languages.php index 695d2a5b0..54b652e84 100644 --- a/includes/i18n/languages.php +++ b/includes/i18n/languages.php @@ -7,6 +7,7 @@ "fr" => "Français", "de" => "Deutsch", "zh_cn" => "简体中文", + "jp" => "日本語", ] -?> \ No newline at end of file +?> diff --git a/scripts/i18n/jp.js b/scripts/i18n/jp.js new file mode 100644 index 000000000..47fae7269 --- /dev/null +++ b/scripts/i18n/jp.js @@ -0,0 +1,34 @@ +let i18n = { + // Dashboard + error_reloading_subscription: "定期購入の再読み込みエラー:", + error_fetching_image_results: "画像取得結果エラー:", + subscription_deleted: "定期購入の削除", + error_deleting_subscription: "定期購入の削除エラー", + failed_to_load_subscription: "定期購入の読み込みに失敗しました", + edit_subscription: "定期購入の編集", + add_subscription: "定期購入の追加", + // Settings + network_response_error: "ネットワークの応答異常", + failed_add_member: "世帯員の追加に失敗", + member: "世帯員", + save_member: "世帯員の保存", + delete_member: "世帯員の削除", + failed_remove_member: "世帯員の削除に失敗", + failed_save_member: "世帯員の削除に失敗", + failed_add_category: "カテゴリの追加に失敗", + category: "カテゴリ", + save_category: "カテゴリの保存", + delete_category: "カテゴリの削除", + failed_remove_category: "カテゴリの削除に失敗", + currency: "通貨", + currency_code: "通貨コード", + save_currency: "通貨の保存", + delete_currency: "通貨の削除", + failed_remove_currency: "通貨の削除に失敗", + failed_save_currency: "通貨の保存に失敗", + cant_disable_payment_in_use: "使用中の支払いは無効にできません", + failed_save_payment_method: "支払い方法の保存に失敗", + unknown_error: "不明なエラー。もう一度試してください。", + error_saving_notification_data: "通知データの保存エラー", + error_sending_notification: "通知の送信エラー", +}