make some strings translatable and add JP translations

This commit is contained in:
Brad Parker 2017-11-12 20:54:56 -05:00
parent 9c791e7fb5
commit e9acbbdf9e
4 changed files with 22 additions and 5 deletions

View File

@ -2922,7 +2922,7 @@ bool config_load_override(void)
/* Restore the libretro_path we're using
* since it will be overwritten by the override when reloading. */
path_set(RARCH_PATH_CORE, buf);
runloop_msg_queue_push("Configuration override loaded.", 1, 100, true);
runloop_msg_queue_push(msg_hash_to_str(MSG_CONFIG_OVERRIDE_LOADED), 1, 100, true);
/* Reset save paths. */
retroarch_override_setting_set(RARCH_OVERRIDE_SETTING_STATE_PATH, NULL);
@ -3039,7 +3039,7 @@ bool config_load_remap(void)
RARCH_LOG("Remaps: game-specific remap found at %s.\n", game_path);
if (input_remapping_load_file(new_conf, game_path))
{
runloop_msg_queue_push("Game remap file loaded.", 1, 100, true);
runloop_msg_queue_push(msg_hash_to_str(MSG_GAME_REMAP_FILE_LOADED), 1, 100, true);
rarch_ctl(RARCH_CTL_SET_REMAPS_GAME_ACTIVE, NULL);
goto success;
}
@ -3059,7 +3059,7 @@ bool config_load_remap(void)
RARCH_LOG("Remaps: core-specific remap found at %s.\n", core_path);
if (input_remapping_load_file(new_conf, core_path))
{
runloop_msg_queue_push("Core remap file loaded.", 1, 100, true);
runloop_msg_queue_push(msg_hash_to_str(MSG_CORE_REMAP_FILE_LOADED), 1, 100, true);
rarch_ctl(RARCH_CTL_SET_REMAPS_CORE_ACTIVE, NULL);
goto success;
}

View File

@ -2160,7 +2160,7 @@ MSG_HASH(MSG_NO_STATE_HAS_BEEN_LOADED_YET,
MSG_HASH(MSG_OVERRIDES_ERROR_SAVING,
"Error saving overrides.")
MSG_HASH(MSG_OVERRIDES_SAVED_SUCCESSFULLY,
"Overrides saved successfully.")
"優先ファイルを保存しました。")
MSG_HASH(MSG_PAUSED,
"一時停止。")
MSG_HASH(MSG_PROGRAM,
@ -2180,7 +2180,9 @@ MSG_HASH(MSG_REDIRECTING_SAVEFILE_TO,
MSG_HASH(MSG_REDIRECTING_SAVESTATE_TO,
"Redirecting savestate to")
MSG_HASH(MSG_REMAP_FILE_SAVED_SUCCESSFULLY,
"Remap file saved successfully.")
"リマップファイルを保存しました。")
MSG_HASH(MSG_REMAP_FILE_REMOVED_SUCCESSFULLY,
"リマップファイルを削除しました。")
MSG_HASH(MSG_REMOVED_DISK_FROM_TRAY,
"Removed disk from tray.")
MSG_HASH(MSG_REMOVING_TEMPORARY_CONTENT_FILE,
@ -3189,3 +3191,9 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_VIDEO_MESSAGE_COLOR_BLUE,
"OSDメッセージの青色値")
MSG_HASH(MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
"フレームレート表示でフレーム数を表示")
MSG_HASH(MSG_CONFIG_OVERRIDE_LOADED,
"優先ファイルをロードしました。")
MSG_HASH(MSG_GAME_REMAP_FILE_LOADED,
"ゲームの優先ファイルをロードしました。")
MSG_HASH(MSG_CORE_REMAP_FILE_LOADED,
"コアの優先ファイルをロードしました。")

View File

@ -3263,3 +3263,9 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_VIDEO_MESSAGE_COLOR_BLUE,
"Onscreen Notification Blue Color")
MSG_HASH(MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
"Show frame count on FPS display")
MSG_HASH(MSG_CONFIG_OVERRIDE_LOADED,
"Configuration override loaded.")
MSG_HASH(MSG_GAME_REMAP_FILE_LOADED,
"Game remap file loaded.")
MSG_HASH(MSG_CORE_REMAP_FILE_LOADED,
"Core remap file loaded.")

View File

@ -393,6 +393,9 @@ enum msg_hash_enums
MSG_EXTRACTING,
MSG_EXTRACTING_FILE,
MSG_NO_CONTENT_STARTING_DUMMY_CORE,
MSG_CONFIG_OVERRIDE_LOADED,
MSG_GAME_REMAP_FILE_LOADED,
MSG_CORE_REMAP_FILE_LOADED,
MENU_LABEL(ADD_TO_MIXER),
MENU_LABEL(ADD_TO_MIXER_AND_COLLECTION),