mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-03 15:54:39 +00:00
Add more translatable strings
This commit is contained in:
parent
cfd7b9c6c1
commit
3bf5a89901
4
driver.c
4
driver.c
@ -190,7 +190,9 @@ bool driver_find_next(const char *label, char *s, size_t len)
|
||||
find_driver_nonempty(label, i + 1, s, len);
|
||||
else
|
||||
{
|
||||
RARCH_WARN("Couldn't find any next driver (current one: \"%s\").\n", s);
|
||||
RARCH_WARN("%s (current one: \"%s\").\n",
|
||||
msg_hash_to_str(MSG_COULD_NOT_FIND_ANY_NEXT_DRIVER),
|
||||
s);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -241,7 +241,8 @@ static dylib_t libretro_get_system_info_lib(const char *path,
|
||||
|
||||
if (!lib)
|
||||
{
|
||||
RARCH_ERR("Failed to open libretro core: \"%s\"\n",
|
||||
RARCH_ERR("%s: \"%s\"\n",
|
||||
msg_hash_to_str(MSG_FAILED_TO_OPEN_LIBRETRO_CORE),
|
||||
path);
|
||||
RARCH_ERR("Error(s): %s\n", dylib_error());
|
||||
return NULL;
|
||||
|
@ -1984,6 +1984,10 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
|
||||
return "Reverting savestate directory to";
|
||||
case MSG_COULD_NOT_READ_MOVIE_HEADER:
|
||||
return "Could not read movie header.";
|
||||
case MSG_FAILED_TO_OPEN_LIBRETRO_CORE:
|
||||
return "Failed to open libretro core";
|
||||
case MSG_COULD_NOT_FIND_ANY_NEXT_DRIVER:
|
||||
return "Could not find any next driver";
|
||||
case MSG_MOVIE_FORMAT_DIFFERENT_SERIALIZER_VERSION:
|
||||
return "Movie format seems to have a different serializer version. Will most likely fail.";
|
||||
case MSG_CRC32_CHECKSUM_MISMATCH:
|
||||
|
@ -40,6 +40,8 @@ enum msg_hash_enums
|
||||
MSG_CRC32_CHECKSUM_MISMATCH,
|
||||
MSG_CONTENT_PATCHED_SUCCESSFULLY_IN,
|
||||
MSG_USING_LIBRETRO_DUMMY_CORE_RECORDING_SKIPPED,
|
||||
MSG_FAILED_TO_OPEN_LIBRETRO_CORE,
|
||||
MSG_COULD_NOT_FIND_ANY_NEXT_DRIVER,
|
||||
MSG_MOVIE_FORMAT_DIFFERENT_SERIALIZER_VERSION,
|
||||
MSG_RECORDING_TERMINATED_DUE_TO_RESIZE,
|
||||
MSG_FAILED_TO_START_RECORDING,
|
||||
|
Loading…
x
Reference in New Issue
Block a user