From 504a6b967078009aeaf309d3b10fb49e34463646 Mon Sep 17 00:00:00 2001 From: Michael Burgardt Date: Sun, 6 Feb 2022 04:40:08 +0100 Subject: [PATCH] Fix Polish translation (#13601) --- intl/msg_hash_de.c | 2 +- intl/msg_hash_pl.c | 9 ++++++++- intl/msg_hash_us.h | 6 +++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/intl/msg_hash_de.c b/intl/msg_hash_de.c index d157ef8914..7fe179f955 100644 --- a/intl/msg_hash_de.c +++ b/intl/msg_hash_de.c @@ -2047,7 +2047,7 @@ static const char *menu_hash_to_str_de_label_enum(enum msg_hash_enums msg) { static char hotkey_lbl[128] = {0}; unsigned idx = msg - MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN; - snprintf(hotkey_lbl, sizeof(hotkey_lbl), "input_hotkey_binds_%d", idx); + snprintf(hotkey_lbl, sizeof(hotkey_lbl), "input_hotkey_binds_%u", idx); return hotkey_lbl; } diff --git a/intl/msg_hash_pl.c b/intl/msg_hash_pl.c index 70108000d8..3cca07cfdc 100644 --- a/intl/msg_hash_pl.c +++ b/intl/msg_hash_pl.c @@ -12,10 +12,17 @@ * You should have received a copy of the GNU General Public License along with RetroArch. * If not, see . */ + +#include #include -#include +#include + +#include +#include #include "../msg_hash.h" +#include "../configuration.h" +#include "../verbosity.h" #if defined(_MSC_VER) && !defined(_XBOX) && (_MSC_VER >= 1500 && _MSC_VER < 1900) #if (_MSC_VER >= 1700) diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index f5db9d99d8..795ac2e6b7 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -7661,7 +7661,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_LANG_ARABIC, - "Arabic - 
اَلْعَرَبِيَّةُ
 (Restart Required)" + "Arabic - اَلْعَرَبِيَّةُ (Restart Required)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_LANG_ASTURIAN, @@ -7829,7 +7829,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_LANG_PERSIAN, - "Persian - 
فارسی
 (Restart Required)" + "Persian - فارسی (Restart Required)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_LANG_POLISH, @@ -7897,7 +7897,7 @@ MSG_HASH( ) MSG_HASH( MENU_ENUM_LABEL_VALUE_LANG_URDU, - "Urdu - 
اُردُو
 (Restart Required)" + "Urdu - اُردُو (Restart Required)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_LANG_VIETNAMESE,