Skip to content

Commit

Permalink
add Swedish as a translation option
Browse files Browse the repository at this point in the history
  • Loading branch information
dborth committed Jan 21, 2024
1 parent f6d1477 commit 202179e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/filelist.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions source/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions source/snes9xgx.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ enum {
LANG_BRAZILIAN_PORTUGUESE,
LANG_CATALAN,
LANG_TURKISH,
LANG_SWEDISH,
LANG_LENGTH
};

Expand Down
1 change: 1 addition & 0 deletions source/utils/gettext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 202179e

Please sign in to comment.