diff --git a/Assets/JB STUDIO/EZ2Screenshot/Editor/EZ2ScreenshotWindow.cs b/Assets/JB STUDIO/EZ2Screenshot/Editor/EZ2ScreenshotWindow.cs
index cdb2cd0..8bfcb61 100644
--- a/Assets/JB STUDIO/EZ2Screenshot/Editor/EZ2ScreenshotWindow.cs
+++ b/Assets/JB STUDIO/EZ2Screenshot/Editor/EZ2ScreenshotWindow.cs
@@ -118,7 +118,7 @@ private void OnGUI()
// Set helper object
if (Camera.main == null)
{
- Debug.LogError("There is no main camera.");
+ Debug.LogError(GetLocalizedString("log_error_main_cam_not_exit"));
return;
}
@@ -229,9 +229,15 @@ private void SetLanguageOnGUI()
{
"English",
"한국어",
+ "日本語"
};
EZ2ScreenshotLocalizer.CurrentLang =
(EZ2ScreenshotLocalizer.EZ2ScreenshotLang) EditorGUILayout.Popup(GetLocalizedString("gui_language_yours"), (int) EZ2ScreenshotLocalizer.CurrentLang, displayedLanguage);
+
+ if (EZ2ScreenshotLocalizer.CurrentLang == EZ2ScreenshotLocalizer.EZ2ScreenshotLang.Japanese)
+ {
+ GUILayout.Label("翻訳: Ryu Siyeong", EditorStyles.boldLabel);
+ }
}
private void SetPathOnGUI()
diff --git a/Assets/JB STUDIO/EZ2Screenshot/Lang/JP.json b/Assets/JB STUDIO/EZ2Screenshot/Lang/JP.json
new file mode 100644
index 0000000..7713f06
--- /dev/null
+++ b/Assets/JB STUDIO/EZ2Screenshot/Lang/JP.json
@@ -0,0 +1,81 @@
+{
+ "gui_language_title": "言語設定",
+ "gui_language_yours": "言語",
+ "gui_error_title": "エラー",
+ "gui_error_file_exist_question": "ファイルは既に存在します。上書きしますか?",
+ "gui_error_file_exist_cancel": "キャンセル",
+ "gui_error_file_exist_retry": "再試行",
+ "gui_error_file_exist_replace": "上書き",
+ "gui_error_file_exist_open_existing_file": "対応するファイルを開く",
+ "gui_error_file_exist_open_existing_dir": "該当するフォルダを開く",
+ "gui_take_screenshot": "スクリーンショットの撮影",
+ "gui_save_path_title": "保存場所",
+ "gui_current_path": "現在の場所",
+ "gui_save_to": "スクリーンショットの保存場所を選択",
+ "gui_dir_proj": "プロジェクトの場所(デフォルト)",
+ "gui_dir_desktop": "デスクトップ",
+ "gui_dir_my_pictures": "ピクチャ",
+ "gui_dir_custom": "直接設定",
+ "gui_open_cur_path": "現在の保存場所をエクスプローラーで開く",
+ "gui_create_subfolder": "サブフォルダの作成",
+ "gui_subfolder_name": "サブフォルダの名",
+ "gui_file_name_title": "ファイルの名",
+ "gui_advanced_mode": "詳細モード",
+ "gui_final_file_name": "最終ファイルの名",
+ "gui_file_name": "ファイルの名",
+ "gui_reset_index": "番号の初期化",
+ "gui_prefix_and_suffix": "ヘッダー & フッター",
+ "gui_prefix": "ヘッダー",
+ "gui_suffix": "フッター",
+ "gui_separator": "区切り文字",
+ "gui_miscellaneous": "その他の設定",
+ "gui_format": "フォーマット",
+ "gui_capture_mode": "キャプチャモード",
+ "gui_advanced_guide_title": "詳細モードフォーマットガイド",
+ "gui_advanced_guide_date": "日付",
+ "gui_advanced_guide_time": "時間",
+ "gui_advanced_guide_idx": "番号",
+ "gui_advanced_guide_product": "Productの名",
+ "gui_advanced_guide_scene": "シーンの名",
+ "gui_advanced_guide_example": "たとえば、\"{Product}_Screenshot\" は \"{productName}_Screenshot\" に変換されます。",
+ "gui_advanced_date_title": "日付設定",
+ "gui_advanced_date_current_format": "現在の日付形式",
+ "gui_advanced_date_date_format": "日付形式",
+ "gui_advanced_date_item_mdy": "月-日-年",
+ "gui_advanced_date_item_dmy": "日-月-年",
+ "gui_advanced_date_item_ymd": "年-月-日",
+ "gui_advanced_date_2digit_year": "年度を二文字に",
+ "gui_advanced_date_separator": "区切り文字",
+ "gui_advanced_date_leading_zero": "0 で始まる",
+ "gui_advanced_time_title": "時間設定",
+ "gui_advanced_time_current_format": "現在の時間形式",
+ "gui_advanced_time_12h_24h": "12時間/24時間",
+ "gui_advanced_time_item_12h": "12時間",
+ "gui_advanced_time_item_24h": "24時間",
+ "gui_advanced_time_show_sec": "秒単位の表示",
+ "gui_advanced_time_separator": "区切り文字",
+ "gui_advanced_time_leading_zero": "0 で始まる",
+ "gui_advanced_index_title": "番号設定",
+ "gui_advanced_index_info_current_index": "現在の番号",
+ "gui_advanced_index_info_next_index": "次の番号",
+ "gui_advanced_index_current_index": "現在の番号",
+ "gui_advanced_index_incremental_value": "増加値",
+ "gui_advanced_index_minimum_digits": "最小桁数",
+ "gui_separator_item_space": "空白",
+ "gui_separator_item_none": "なし",
+ "gui_prefix_suffix_item_none": "使用しない",
+ "gui_prefix_suffix_item_date": "日付",
+ "gui_prefix_suffix_item_time": "時間",
+ "gui_item_include_ui": "UI を含める",
+ "gui_item_exclude_ui": "UI を除外",
+ "gui_error_set_valid_path": "スクリーンショットを保存する有効な場所を指定してください。",
+ "log_error_main_cam_not_exit": "メインカメラがありません。",
+ "log_error_file_not_exist_now": "このファイルは現在存在しません。",
+ "log_error_dir_not_exit_now": "そのフォルダは現在存在しません。",
+ "log_info_new_path": "新しい場所指定: {path}",
+ "log_error_editor_not_play_mode": "Unity Editor はプレイモードである必要があります。",
+ "log_error_path_invalid": "場所が無効です。",
+ "log_error_empty_subfolder_name": "サブフォルダーの名を入力してください。",
+ "log_error_already_exist": "{fileName}.{fileFormat} は既に存在します。",
+ "log_info_saved_as": "保存済み: {path}\\{fileName}.{fileFormat}"
+}
\ No newline at end of file
diff --git a/Assets/JB STUDIO/EZ2Screenshot/Lang/JP.json.meta b/Assets/JB STUDIO/EZ2Screenshot/Lang/JP.json.meta
new file mode 100644
index 0000000..de3bf74
--- /dev/null
+++ b/Assets/JB STUDIO/EZ2Screenshot/Lang/JP.json.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 63054aef659c47944b68e526808be03a
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/JB STUDIO/EZ2Screenshot/Scripts/EZ2ScreenshotLocalizer.cs b/Assets/JB STUDIO/EZ2Screenshot/Scripts/EZ2ScreenshotLocalizer.cs
index e12c2a3..c5c63cf 100644
--- a/Assets/JB STUDIO/EZ2Screenshot/Scripts/EZ2ScreenshotLocalizer.cs
+++ b/Assets/JB STUDIO/EZ2Screenshot/Scripts/EZ2ScreenshotLocalizer.cs
@@ -9,7 +9,8 @@ public static class EZ2ScreenshotLocalizer
public enum EZ2ScreenshotLang
{
English,
- Korean
+ Korean,
+ Japanese,
}
private static EZ2ScreenshotLang _currentLang;
@@ -45,6 +46,9 @@ private static void Init()
case EZ2ScreenshotLang.Korean:
fileName = "KR";
break;
+ case EZ2ScreenshotLang.Japanese:
+ fileName = "JP";
+ break;
default:
Debug.Assert(false, CurrentLang);
return;