add Swedish as a translation option

This commit is contained in:
Daryl Borth 2024-01-21 16:04:44 -07:00
parent f6d1477806
commit 202179e005
4 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#include "pt_br_lang.h"
#include "ca_lang.h"
#include "tr_lang.h"
#include "sv_lang.h"
// Sounds
#ifdef HW_RVL

View File

@ -4614,6 +4614,7 @@ static int MenuSettingsMenu()
case LANG_BRAZILIAN_PORTUGUESE: sprintf(options.value[5], "Brazilian Portuguese"); break;
case LANG_CATALAN: sprintf(options.value[5], "Catalan"); break;
case LANG_TURKISH: sprintf(options.value[5], "Turkish"); break;
case LANG_SWEDISH: sprintf(options.value[5], "Swedish"); break;
}
switch(GCSettings.PreviewImage)

View File

@ -107,6 +107,7 @@ enum {
LANG_BRAZILIAN_PORTUGUESE,
LANG_CATALAN,
LANG_TURKISH,
LANG_SWEDISH,
LANG_LENGTH
};

View File

@ -225,6 +225,7 @@ bool LoadLanguage()
case LANG_BRAZILIAN_PORTUGUESE: file = (char *)pt_br_lang; eof = file + pt_br_lang_size; break;
case LANG_CATALAN: file = (char *)ca_lang; eof = file + ca_lang_size; break;
case LANG_TURKISH: file = (char *)tr_lang; eof = file + tr_lang_size; break;
case LANG_SWEDISH: file = (char *)sv_lang; eof = file + sv_lang_size; break;
default: return false;
}