Fix Polish translation (#13601)

This commit is contained in:
Michael Burgardt 2022-02-06 04:40:08 +01:00 committed by GitHub
parent df1f7bffb9
commit 504a6b9670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 5 deletions

View File

@ -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}; static char hotkey_lbl[128] = {0};
unsigned idx = msg - MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN; 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; return hotkey_lbl;
} }

View File

@ -12,10 +12,17 @@
* You should have received a copy of the GNU General Public License along with RetroArch. * You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <stddef.h>
#include <compat/strl.h>
#include <string/stdstring.h>
#include "../msg_hash.h" #include "../msg_hash.h"
#include "../configuration.h"
#include "../verbosity.h"
#if defined(_MSC_VER) && !defined(_XBOX) && (_MSC_VER >= 1500 && _MSC_VER < 1900) #if defined(_MSC_VER) && !defined(_XBOX) && (_MSC_VER >= 1500 && _MSC_VER < 1900)
#if (_MSC_VER >= 1700) #if (_MSC_VER >= 1700)

View File

@ -7661,7 +7661,7 @@ MSG_HASH(
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ARABIC, MENU_ENUM_LABEL_VALUE_LANG_ARABIC,
"Arabic - اَلْعَرَبِيَّةُ (Restart Required)" "Arabic - اَلْعَرَبِيَّةُ (Restart Required)"
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ASTURIAN, MENU_ENUM_LABEL_VALUE_LANG_ASTURIAN,
@ -7829,7 +7829,7 @@ MSG_HASH(
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_PERSIAN, MENU_ENUM_LABEL_VALUE_LANG_PERSIAN,
"Persian - فارسی (Restart Required)" "Persian - فارسی (Restart Required)"
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_POLISH, MENU_ENUM_LABEL_VALUE_LANG_POLISH,
@ -7897,7 +7897,7 @@ MSG_HASH(
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_URDU, MENU_ENUM_LABEL_VALUE_LANG_URDU,
"Urdu - اُردُو (Restart Required)" "Urdu - اُردُو (Restart Required)"
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_VIETNAMESE, MENU_ENUM_LABEL_VALUE_LANG_VIETNAMESE,