Skip to content

Commit

Permalink
lang: add a seperate entry for BDM and update english template
Browse files Browse the repository at this point in the history
  • Loading branch information
KrahJohlito committed May 23, 2021
1 parent 6988467 commit 991644f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion include/lang.h
Expand Up @@ -15,7 +15,7 @@ enum _STR_IDS {
_STR_EXIT,
_STR_SETTINGS,
_STR_MENU,
_STR_BDM_GAMES,
_STR_USB_GAMES,
_STR_HDD_GAMES,
_STR_NET_GAMES,
_STR_APPS,
Expand Down Expand Up @@ -283,6 +283,7 @@ enum _STR_IDS {
_STR_INFO_RELEASE,
_STR_INFO_DEVELOPER,
_STR_INFO_DESCRIPTION,
_STR_BDM_GAMES,

LANG_STR_COUNT
};
Expand Down
15 changes: 8 additions & 7 deletions lng/lang_English.lng
Expand Up @@ -82,17 +82,17 @@ Loading config...
Saving config...
Start Device
Refresh
USB Device Start Mode
BDM Device Start Mode
HDD Device Start Mode
ETH Device Start Mode
Applications Start Mode
Auto
Manual
Start HDL Server
HDL Server starting...
HDL Server running...
Failed to start HDL Server.
HDL Server unloading...
Start NBD Server
NBD Server starting...
NBD Server running...
Failed to start NBD Server.
NBD Server unloading...
IGR Path
Background Color
Text Color
Expand Down Expand Up @@ -155,7 +155,7 @@ Automatic Refresh
About
Coders
Quality Assurance
USB Prefix Path
BDM Prefix Path
Boots custom ELF after an IGR.
Value in minute(s), 0 to disable spin down.
Automatic HDD Spin Down
Expand Down Expand Up @@ -300,3 +300,4 @@ Genre
Release
Developer
Description
BDM Games
5 changes: 3 additions & 2 deletions src/lang.c
Expand Up @@ -69,7 +69,7 @@ static char *internalEnglish[LANG_STR_COUNT] = {
"Saving config...",
"Start Device",
"Refresh",
"USB Device Start Mode",
"BDM Device Start Mode",
"HDD Device Start Mode",
"ETH Device Start Mode",
"Applications Start Mode",
Expand Down Expand Up @@ -142,7 +142,7 @@ static char *internalEnglish[LANG_STR_COUNT] = {
"About",
"Coders",
"Quality Assurance",
"USB Prefix Path",
"BDM Prefix Path",
"Boots custom ELF after an IGR.",
"Value in minute(s), 0 to disable spin down.",
"Automatic HDD Spin Down",
Expand Down Expand Up @@ -287,6 +287,7 @@ static char *internalEnglish[LANG_STR_COUNT] = {
"Release",
"Developer",
"Description",
"BDM Games",
};

static int guiLangID = 0;
Expand Down

0 comments on commit 991644f

Please sign in to comment.