From 3ef4ebc1a4a3948dee9fa5992c33373f40ac2b76 Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Sun, 1 May 2022 19:17:53 +0200 Subject: [PATCH] New language: Japanese (#1462) * New language: Japanese * About - Add new libaries used --- CHANGELOG.md | 1 + assets/webconfig/content/about.html | 2 +- assets/webconfig/i18n/en.json | 1 + assets/webconfig/i18n/ja.json | 301 ++++++++++++++++++++++++++++ assets/webconfig/js/languages.js | 4 +- 5 files changed, 306 insertions(+), 3 deletions(-) create mode 100644 assets/webconfig/i18n/ja.json diff --git a/CHANGELOG.md b/CHANGELOG.md index f059c84d..c02ab0f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Support additional Yeelight models - LED-Devices: Show warning, if get properties failed (Network devices: indication that network device is not reachable) - hyperion-remote: Show image filename in UI for images sent +- New language: Japanese ### Changed diff --git a/assets/webconfig/content/about.html b/assets/webconfig/content/about.html index 935be01e..046c1462 100644 --- a/assets/webconfig/content/about.html +++ b/assets/webconfig/content/about.html @@ -22,7 +22,7 @@ performTranslation(); var si = window.sysInfo.hyperion; - var libs = { "Bootstrap 3": "https://getbootstrap.com/", "JQuery": "https://jquery.com/", "Bootstrap Colorpicker": "https://itsjavi.com/bootstrap-colorpicker/", "Bootstrap Toggle": "https://www.bootstraptoggle.com/", "Bootstrap Select": "https://developer.snapappointments.com/bootstrap-select/", "JSON-Editor": "https://www.jeremydorn.com/json-editor", "jQuery.i18n": "https://github.com/wikimedia/jquery.i18n", "metisMenu": "https://mm.onokumus.com/index.html", "download.js": "https://github.com/rndme/download", "Gijgo": "https://gijgo.com/", "DOMPurify" : "https://github.com/cure53/DOMPurify", "Marked": "https://github.com/markedjs/marked"}; + var libs = { "Bootstrap 3": "https://getbootstrap.com/", "JQuery": "https://jquery.com/", "Bootstrap Colorpicker": "https://itsjavi.com/bootstrap-colorpicker/", "Bootstrap Toggle": "https://www.bootstraptoggle.com/", "Bootstrap Select": "https://developer.snapappointments.com/bootstrap-select/", "JSON-Editor": "https://www.jeremydorn.com/json-editor", "jQuery.i18n": "https://github.com/wikimedia/jquery.i18n", "metisMenu": "https://mm.onokumus.com/index.html", "download.js": "https://github.com/rndme/download", "Gijgo": "https://gijgo.com/", "DOMPurify" : "https://github.com/cure53/DOMPurify", "Marked": "https://github.com/markedjs/marked", "PlainDraggable": "https://github.com/anseki/plain-draggable", "LeaderLine": "https://github.com/anseki/leader-line", "Animate.css": "https://github.com/animate-css/animate.css"}; var libh = ""; var lang = []; var dcount = 0; diff --git a/assets/webconfig/i18n/en.json b/assets/webconfig/i18n/en.json index 928b3b1e..565ecd8f 100644 --- a/assets/webconfig/i18n/en.json +++ b/assets/webconfig/i18n/en.json @@ -835,6 +835,7 @@ "general_speech_fr": "French", "general_speech_hu": "Hungarian", "general_speech_it": "Italian", + "general_speech_ja": "Japanese", "general_speech_nb": "Norwegian (Bokmål)", "general_speech_nl": "Dutch", "general_speech_pl": "Polish", diff --git a/assets/webconfig/i18n/ja.json b/assets/webconfig/i18n/ja.json new file mode 100644 index 00000000..e0b31e9f --- /dev/null +++ b/assets/webconfig/i18n/ja.json @@ -0,0 +1,301 @@ +{ + "InfoDialog_access_title": "設定レベル", + "InfoDialog_nowrite_title": "書き込み権限エラー!", + "about_build": "ビルド", + "about_builddate": "ビルド日付", + "about_translations": "翻訳について", + "about_version": "バージョン", + "conf_general_impexp_expbtn": "出力", + "conf_general_impexp_impbtn": "入力", + "conf_general_impexp_l1": "下記の設定ファイルを選択し、「インポート」をクリックしてください", + "conf_general_impexp_l2": "設定をエクスポートするには「エクスポート」をクリックしてください。", + "conf_general_impexp_title": "設定ファイルをインポート・エクスポートする", + "conf_general_label_title": "一般設定", + "conf_helptable_expl": "説明", + "conf_helptable_option": "オプション", + "conf_leds_contr_label_contrtype": "コントローラータイプ", + "conf_leds_layout_advanced": "詳細設定", + "conf_leds_layout_btn_checklist": "チェックリストを表示", + "conf_leds_layout_button_savelay": "レイアウト保存", + "conf_leds_layout_button_updsim": "プレビュー", + "conf_leds_layout_cl_bottom": "下", + "conf_leds_layout_cl_gappos": "ギャップの位置", + "conf_leds_layout_cl_inppos": "インプットの位置", + "conf_leds_layout_cl_left": "左", + "conf_leds_layout_cl_right": "右", + "conf_leds_layout_cl_top": "上", + "conf_leds_layout_frame": "クラッシックレイアウト", + "conf_leds_layout_ma_cabling": "配線", + "conf_leds_layout_ma_horiz": "水平", + "conf_leds_layout_ma_optbottomleft": "左下", + "conf_leds_layout_ma_optbottomright": "右下", + "conf_leds_layout_ma_opthoriz": "水平", + "conf_leds_layout_ma_optparallel": "パラレル", + "conf_leds_layout_ma_optsnake": "スネーク", + "conf_leds_layout_ma_opttopleft": "左上", + "conf_leds_layout_ma_opttopright": "右上", + "conf_leds_layout_ma_optvert": "垂直", + "conf_leds_layout_ma_order": "並び順", + "conf_leds_layout_ma_position": "インプット", + "conf_leds_layout_ma_vert": "垂直", + "conf_leds_layout_matrix": "マトリックスレイアウト", + "conf_leds_layout_peview": "LEDレイアウトのプレビュー", + "conf_leds_layout_preview_l1": "一番目のLEDの位置", + "conf_leds_layout_preview_l2": "データの向きを示す", + "conf_leds_layout_preview_ledpower": "最大パワー消費電力率:", + "conf_leds_layout_preview_originCL": "クラッシックレイアウトから作成", + "conf_leds_layout_preview_originMA": "マトリックスレイアウトから作成", + "conf_leds_layout_preview_originTEXT": "テキストから作成", + "conf_leds_layout_preview_totalleds": "LED数:", + "conf_leds_nav_label_ledcontroller": "LEDコントローラー", + "conf_leds_nav_label_ledlayout": "LEDレイアウト", + "conf_leds_optgroup_network": "ネットワーク", + "conf_leds_optgroup_usb": "USB/シリアル", + "conf_logging_btn_autoscroll": "オートスクロール", + "conf_logging_report": "レポートと連携する", + "conf_logging_uplpolicy": "ボタンをクリックして同意する", + "dashboard_alert_message_confedit": "設定変更しました。適用するには、ハイペリオンを再起動してください。", + "dashboard_alert_message_confedit_t": "設定変更しました", + "dashboard_alert_message_confsave_success": "設定を保存し、有効化にしました。", + "dashboard_alert_message_confsave_success_t": "設定を保存しました", + "dashboard_alert_message_disabled": "インスタンスが無効になっています。使用するにはダッシュボードにて有効にしてください。", + "dashboard_alert_message_disabled_t": "LEDハードウェアインスタンスを無効", + "dashboard_componentbox_label_comp": "コンポネント", + "dashboard_componentbox_label_status": "ステータス", + "dashboard_componentbox_label_title": "コンポネント・ステータス", + "dashboard_infobox_label_currenthyp": "バージョン", + "dashboard_infobox_label_disableh": "インスタンスを無効にする", + "dashboard_infobox_label_enableh": "インスタンスを有効にする", + "dashboard_infobox_label_instance": "インスタンス", + "dashboard_infobox_label_latesthyp": "最新バージョン", + "dashboard_infobox_label_platform": "プラットフォーム", + "dashboard_infobox_label_ports": "ポート", + "dashboard_infobox_label_smartacc": "スマートアクセス", + "dashboard_infobox_label_statush": "ステータス", + "dashboard_infobox_label_title": "システム情報", + "dashboard_infobox_message_updatesuccess": "最新版を使用しています", + "dashboard_infobox_message_updatewarning": "最新版のアップデートあります!", + "dashboard_label_intro": "ハイペリオンのステータスを確認できる画面です", + "dashboard_newsbox_label_title": "ブログ", + "dashboard_newsbox_noconn": "ハイペリオンサーバーに接続して最新情報を見れない場合は、インターネット接続を確認してください。", + "dashboard_newsbox_readmore": "詳細を読む", + "dashboard_newsbox_visitblog": "ハイペリオンのブログを見る", + "edt_conf_bb_mode_title": "モード", + "edt_conf_color_black_title": "ブラック", + "edt_conf_color_blue_title": "青", + "edt_conf_color_brightness_title": "明るさ", + "edt_conf_color_channelAdjustment_header_itemtitle": "プロファイル", + "edt_conf_color_channelAdjustment_header_title": "カラーチャネルの調整", + "edt_conf_color_cyan_title": "シアン", + "edt_conf_color_green_title": "緑", + "edt_conf_color_heading_title": "色の調整", + "edt_conf_color_id_title": "ID", + "edt_conf_color_leds_title": "LEDインデックス", + "edt_conf_color_magenta_title": "マジェスタ", + "edt_conf_color_red_title": "赤", + "edt_conf_color_white_title": "ホワイト", + "edt_conf_color_yellow_title": "黄", + "edt_conf_enum_NO_CHANGE": "自動", + "edt_conf_enum_NTSC": "NTSC", + "edt_conf_enum_PAL": "PAL", + "edt_conf_enum_automatic": "自動", + "edt_conf_enum_bbclassic": "クラシック", + "edt_conf_enum_bbdefault": "デフォルト", + "edt_conf_enum_bbosd": "OSD", + "edt_conf_enum_bgr": "BGR 青・緑・赤", + "edt_conf_enum_brg": "BRG 青・赤・緑", + "edt_conf_enum_color": "色", + "edt_conf_enum_effect": "効果", + "edt_conf_enum_gbr": "GBR 緑・青・赤", + "edt_conf_enum_grb": "GRB 緑・赤・青", + "edt_conf_enum_logdebug": "デバッグ", + "edt_conf_enum_logwarn": "警告", + "edt_conf_enum_multicolor_mean": "マルチカラー", + "edt_conf_enum_rbg": "RBG 赤・青・緑", + "edt_conf_enum_rgb": "RGB 赤・緑・青", + "edt_conf_enum_unicolor_mean": "ユニカラー", + "edt_conf_fg_type_title": "タイプ", + "edt_conf_fge_type_title": "タイプ", + "edt_conf_gen_heading_title": "全般設定", + "edt_conf_gen_name_title": "設定の名前", + "edt_conf_gen_showOptHelp_title": "説明を表示する", + "edt_conf_general_enable_expl": "コンポネントを有効にする。", + "edt_conf_general_enable_title": "有効にする", + "edt_conf_general_port_expl": "使用ポート", + "edt_conf_general_port_title": "ポート", + "edt_conf_general_priority_expl": "このコンポネントの優先度", + "edt_conf_general_priority_title": "有線チャネル", + "edt_conf_smooth_heading_title": "スムージング", + "edt_conf_smooth_time_ms_title": "時刻", + "edt_conf_smooth_type_expl": "スムージングタイプ", + "edt_conf_smooth_type_title": "タイプ", + "edt_conf_v4l2_device_title": "デバイス", + "edt_conf_v4l2_heading_title": "USBキャプチャ", + "edt_conf_v4l2_standard_title": "ビデオスタンダード", + "edt_dev_auth_key_title": "認証トークン", + "edt_dev_enum_sub_min_cool_adjust": "クールホワイトを減らす", + "edt_dev_enum_sub_min_warm_adjust": "ワームホワイトを減らす", + "edt_dev_general_autostart_title": "オートスタート", + "edt_dev_general_colorOrder_title": "RGBの並び", + "edt_dev_general_hardwareLedCount_title": "ハードウェアLED数", + "edt_dev_general_heading_title": "一般設定", + "edt_dev_general_name_title": "設定の名前", + "edt_dev_spec_FCledToOn_title": "フェードキャンディーLEDを有効にする", + "edt_dev_spec_FCsetConfig_title": "フェードキャンディの設定", + "edt_dev_spec_baudrate_title": "ボーレート", + "edt_dev_spec_cid_title": "CID", + "edt_dev_spec_colorComponent_title": "カラーコンポネント", + "edt_dev_spec_dmaNumber_title": "DMAチャネル", + "edt_dev_spec_gpioBcm_title": "GPIOピン", + "edt_dev_spec_gpioMap_title": "GPIOマッピング", + "edt_dev_spec_gpioNumber_title": "GPIO番号", + "edt_dev_spec_intervall_title": "インタバル", + "edt_dev_spec_ledIndex_title": "LEDインデックス", + "edt_dev_spec_ledType_title": "LEDタイプ", + "edt_dev_spec_lightid_itemtitle": "ID", + "edt_dev_spec_lightid_title": "ライトID", + "edt_dev_spec_maxPacket_title": "最大パケット", + "edt_dev_spec_maximumLedCount_title": "最大LED数", + "edt_dev_spec_numberOfLeds_title": "LED数", + "edt_dev_spec_outputPath_title": "出力パス", + "edt_dev_spec_pid_title": "PID", + "edt_dev_spec_port_title": "ポート", + "edt_dev_spec_serial_title": "シリアル番号", + "edt_dev_spec_spipath_title": "SPIデバイス", + "edt_dev_spec_targetIpHost_title": "ホスト名/IPアドレス", + "edt_dev_spec_targetIp_title": "IPアドレス", + "edt_dev_spec_uid_title": "UID", + "edt_dev_spec_universe_title": "ユニバース", + "edt_dev_spec_useRgbwProtocol_title": "RGBWプロトコルを使用する", + "edt_dev_spec_username_title": "ユーザー名", + "edt_dev_spec_vid_title": "VID", + "edt_eff_image_source_url": "URL", + "effectsconfigurator_button_deleffect": "効果を削除する", + "effectsconfigurator_button_editeffect": "効果をロードする", + "effectsconfigurator_button_saveeffect": "効果を保存", + "effectsconfigurator_button_starttest": "テスト開始", + "effectsconfigurator_button_stoptest": "テスト中止", + "effectsconfigurator_editdeleff": "効果を削除/ロードする", + "effectsconfigurator_label_chooseeff": "テンプレートを選択する", + "effectsconfigurator_label_effectname": "効果名", + "general_access_advanced": "アドバンスト", + "general_access_default": "一般", + "general_access_expert": "エキスパート", + "general_btn_back": "戻る", + "general_btn_cancel": "キャンセル", + "general_btn_continue": "続行", + "general_btn_iswitch": "スイッチ", + "general_btn_next": "次へ", + "general_btn_off": "切", + "general_btn_ok": "OK", + "general_btn_on": "入", + "general_btn_restarthyperion": "ハイペリオンを再起動する", + "general_btn_save": "保存", + "general_btn_saveandreload": "保存してリフレッシュ", + "general_btn_yes": "はい", + "general_button_savesettings": "設定保存", + "general_col_blue": "青", + "general_col_green": "緑", + "general_col_red": "赤", + "general_comp_BLACKBORDER": "黒帯検出", + "general_comp_BOBLIGHTSERVER": "ボブライト・サーバー", + "general_comp_FLATBUFSERVER": "フラットバッファ・サーバー", + "general_comp_FORWARDER": "フォワーダー", + "general_comp_GRABBER": "画面キャプチャ", + "general_comp_LEDDEVICE": "LED出力", + "general_comp_PROTOSERVER": "プロトコルバッファ・サーバー", + "general_comp_SMOOTHING": "スムージング", + "general_comp_V4L": "キャプチャ - USB入力", + "general_country_de": "ドイツ", + "general_country_es": "スペイン", + "general_country_fr": "仏国", + "general_country_it": "イタリア", + "general_country_nl": "オランダ", + "general_country_uk": "英国", + "general_country_us": "米国", + "general_speech_cs": "チェコ語", + "general_speech_de": "ドイツ語", + "general_speech_en": "英語", + "general_speech_es": "スペイン語", + "general_speech_it": "イタリア語", + "general_webui_title": "ハイペリオン - ウェブ設定", + "infoDialog_checklist_title": "チェックリスト!", + "infoDialog_effconf_created_text": "\"$1\"は正しく作成されました!", + "infoDialog_effconf_deleted_text": "\"$1\"は正しく削除されました!", + "infoDialog_general_error_title": "エラー", + "infoDialog_general_success_title": "大成功!", + "infoDialog_general_warning_title": "警告", + "infoDialog_import_comperror_text": "残念!このブラウザーはインポートを対応していません。別なブラウザーで試してください。", + "infoDialog_import_confirm_title": "インポートの確認", + "infoDialog_wizrgb_text": "RGBの並び順を修正しました。", + "info_conlost_label_autorefresh": "このページは自動的に更新します。", + "info_conlost_label_reason": "原因:", + "info_conlost_label_reason1": "-  インターネットにせt属されていない", + "info_conlost_label_reason2": "‐ ハイペリオンがアップデート中", + "info_conlost_label_reason3": "- ハイペリオンが起動されていない", + "info_restart_title": "再起動中…", + "main_ledsim_btn_togglelednumber": "LED番号を表示する", + "main_ledsim_btn_toggleleds": "LEDを表示する", + "main_ledsim_btn_togglelivevideo": "LEDビデオ", + "main_ledsim_title": "LEDの視覚化", + "main_menu_about_token": "ハイペリオンについて", + "main_menu_colors_conf_token": "イメージ・プロセシング", + "main_menu_configuration_token": "LEDのインスタンス", + "main_menu_dashboard_token": "ダッシュボード", + "main_menu_effect_conf_token": "効果", + "main_menu_effectsconfigurator_token": "効果設定", + "main_menu_general_conf_token": "一般", + "main_menu_grabber_conf_token": "キャプチャ・ハードウェア", + "main_menu_input_selection_token": "入力選択", + "main_menu_leds_conf_token": "LED出力", + "main_menu_logging_token": "ログ", + "main_menu_network_conf_token": "ネットワーク設定", + "main_menu_remotecontrol_token": "リモート・コントロール設定", + "main_menu_support_token": "サポート", + "main_menu_system_token": "システム", + "main_menu_update_token": "アップデート", + "main_menu_webconfig_token": "ウェブ設定", + "remote_adjustment_label": "色の調整", + "remote_color_button_reset": "色/効果をリセット", + "remote_color_label": "色/効果", + "remote_color_label_color": "色:", + "remote_effects_label_effects": "効果:", + "remote_input_clearall": "全ての効果/色をクリアする", + "remote_input_ip": "IP:", + "remote_input_label": "ソース選択", + "remote_input_label_autoselect": "自動選択", + "remote_input_owner": "タイプ", + "remote_input_priority": "優先度", + "remote_input_setsource_btn": "ソース選択", + "remote_maptype_label_multicolor_mean": "マルチカラー", + "remote_maptype_label_unicolor_mean": "ユニカラー", + "remote_optgroup_syseffets": "システム設定", + "remote_optgroup_usreffets": "ユーザー設定", + "remote_videoMode_label": "ビデオモード", + "support_label_forumtitle": "フォーラム", + "support_label_ghtext": "GitHubへ", + "support_label_title": "ハイペリオンをサポートする", + "support_label_wikititle": "ドキュメンテーション", + "update_button_changelog": "変更ログ", + "update_button_install": "インストール", + "update_error_getting_versions": "最新バージョンをとけていできません", + "update_label_description": "説明", + "update_label_type": "タイプ:", + "update_versreminder": "使用中のバージョン:", + "wiz_cc_btn_stop": "ビデオを停止する", + "wiz_cc_btn_switchpic": "画像の切り替え:", + "wiz_cc_kodimsg_start": "テスト成功 - 次へ進みましょう!", + "wiz_cc_kodishould": "Kodiに次の画像が表示されます:$1", + "wiz_cc_kwebs": "Kodiウェブサーバー(ホスト名またはIPアドレス)", + "wiz_cc_testintro": "テストしましょう!", + "wiz_cc_title": "色調整ウィザード", + "wiz_hue_create_user": "ユーザーIDを新規作成", + "wiz_hue_ip": "ホスト名またはIPアドレス", + "wiz_hue_searchb": "ブリッジを検証中…", + "wiz_hue_title": "フィリップスヒューウィザード", + "wiz_hue_username": "ユーザーID", + "wiz_rgb_qgend": "緑?", + "wiz_rgb_qrend": "赤?", + "wiz_rgb_title": "RGBの並び順", + "wiz_wizavail": "ウィザードを使用可能" +} \ No newline at end of file diff --git a/assets/webconfig/js/languages.js b/assets/webconfig/js/languages.js index 4ac2cf7b..8049dd34 100644 --- a/assets/webconfig/js/languages.js +++ b/assets/webconfig/js/languages.js @@ -1,6 +1,6 @@ var storedLang; -var availLang = ['cs', 'da', 'de', 'en', 'es', 'fr', 'hu', 'it', 'nl', 'nb', 'pl', 'pt', 'ro', 'sv', 'vi', 'ru', 'tr', 'zh-CN']; -var availLangText = ['Čeština', 'Dansk', 'Deutsch', 'English', 'Español', 'Français', 'Magyar', 'Italiano', 'Nederlands', 'Norsk Bokmål', 'Polski', 'Português', 'Română', 'Svenska', 'Tiếng Việt', 'русский', 'Türkçe', '汉语']; +var availLang = ['cs', 'da', 'de', 'en', 'es', 'fr', 'hu', 'it', 'ja', 'nl', 'nb', 'pl', 'pt', 'ro', 'sv', 'vi', 'ru', 'tr', 'zh-CN']; +var availLangText = ['Čeština', 'Dansk', 'Deutsch', 'English', 'Español', 'Français', 'Magyar', 'Italiano', '日本語', 'Nederlands', 'Norsk Bokmål', 'Polski', 'Português', 'Română', 'Svenska', 'Tiếng Việt', 'русский', 'Türkçe', '汉语']; //$.i18n.debug = true;