Skip to content

Commit

Permalink
Update translations, add Romainan & Turkish
Browse files Browse the repository at this point in the history
  • Loading branch information
Epicpkmn11 committed May 28, 2022
1 parent 7ccd21f commit f76a9fa
Show file tree
Hide file tree
Showing 21 changed files with 534 additions and 178 deletions.
2 changes: 1 addition & 1 deletion arm9/include/PKSMCORE_CONFIG.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
#define _PKSMCORE_GETLINE_FUNC __getline
#define _PKSMCORE_DISABLE_THREAD_SAFETY

#define _PKSMCORE_EXTRA_LANGUAGES BRH, IND, LIT, POL, POR, RUS, HUN
#define _PKSMCORE_EXTRA_LANGUAGES BRH, IND, LIT, POL, POR, RUS, HUN, RON, TUR

#endif
2 changes: 1 addition & 1 deletion arm9/source/graphics/graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void loadFont() {
fclose(file);
}

questionMark = getCharIndex('?');
questionMark = getCharIndex(u'');
}

Image loadImage(const std::string &path) {
Expand Down
12 changes: 8 additions & 4 deletions arm9/source/menus/configMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,37 @@ std::vector<std::string> songs = {

std::vector<std::string> optionsText;

const std::vector<std::string> langNames = {"Bruh",
const std::vector<std::string> langNames = {"Bahasa Indonesia",
"Bruh",
"Deutsch",
"English",
"Español",
"Français",
"Bahasa Indonesia",
"Italiano",
"Lietuvių",
"Magyar",
"Polski",
"Português",
"Română",
"Türkçe",
"Русский",
"中文 (简体)",
"中文 (繁體)",
"日本語",
"한국어"};
const std::vector<pksm::Language> guiLangs = {pksm::Language::BRH,
const std::vector<pksm::Language> guiLangs = {pksm::Language::IND,
pksm::Language::BRH,
pksm::Language::GER,
pksm::Language::ENG,
pksm::Language::SPA,
pksm::Language::FRE,
pksm::Language::IND,
pksm::Language::ITA,
pksm::Language::LIT,
pksm::Language::HUN,
pksm::Language::POL,
pksm::Language::POR,
pksm::Language::RON,
pksm::Language::TUR,
pksm::Language::RUS,
pksm::Language::CHS,
pksm::Language::CHT,
Expand Down
Binary file modified nitrofiles/graphics/font.nftr
Binary file not shown.
6 changes: 5 additions & 1 deletion nitrofiles/i18n/brh/gui.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"defense": "Bruhfense",
"defenseIV": "Bruhfense IV",
"delete": "Debruh",
"dexNo": "No. %03d",
"dexNo": "Bruhmber %03d",
"discard": "Briscard",
"DO_NOT_DOWNGRADE": "Do not downbruh pkmn-chest!",
"dPadDirections": "Bruh-Pad Brections",
Expand All @@ -43,6 +43,7 @@
"dumpedTo": "Bruh, its at:\n%s",
"dumpingSave": "Bruhmping save...\nBro wait",
"edit": "Bredit",
"egg": "Bruehgg",
"elmLab": "Prof. Bruh's Lab",
"ev": "BreeVee",
"exit": "Brexit",
Expand Down Expand Up @@ -100,6 +101,9 @@
"playTime": "Time bruhed",
"pokemonInfo": "Pokébruh Info",
"pokerus": "bruh disease",
"pp": "PP",
"ppUps": "PP Bruhs",
"ppMax": "Bruhx PP",
"release": "bruh",
"remove": "bruh",
"rename": "bruh",
Expand Down
56 changes: 30 additions & 26 deletions nitrofiles/i18n/chs/gui.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"ability": "特性",
"attack": "物攻",
"attackIV": "物攻个体值",
"attack": "攻击",
"attackIV": "攻击个体值",
"back": "返回",
"BACKUP_FAIL_SAVE": "箱子备份失败!\n仍然保存?",
"backupAmount": "备份",
"badges": "徽章",
"bag": "背包",
"ball": "",
"bag": "包包",
"ball": "精灵球",
"BALLS": "精灵球",
"BANK_CORRUPT": "箱子已损坏!",
"BANK_NAME_ERROR": "无法保存箱子名!",
"BANK_SAVE_ERROR": "无法保存箱子!",
"BankException": "BankException:\n错误的世代值: 0x%x",
"base": "种族",
"BATTLE_ITEMS": "战斗用物品",
"base": "种族值",
"BATTLE_ITEMS": "战斗道具",
"BERRIES": "树果",
"bp": "BP",
"cancel": "取消",
Expand All @@ -30,8 +30,8 @@
"copy": "复制",
"create": "创建",
"CRITICAL_BANK_ERROR": "无法撤消对箱子的更改\n请尽快通知开发者!",
"defense": "物防",
"defenseIV": "物防个体值",
"defense": "防御",
"defenseIV": "防御个体值",
"delete": "删除",
"dexNo": "No. %03d",
"discard": "取消",
Expand All @@ -40,13 +40,14 @@
"dPadGroups": "D-Pad 输入组",
"dump": "导出",
"dumpBox": "导出盒子",
"dumpedTo": "已导出到:\n%s",
"dumpedTo": "已导出至:\n%s",
"dumpingSave": "导出存档中...\n请等待",
"edit": "编辑",
"egg": "",
"elmLab": "空木博士的研究所",
"ev": "努力",
"exit": "退出",
"fatefulEncounter": "命中注定的相遇",
"fatefulEncounter": "命中注定般的相遇",
"female": "女性",
"filter": "筛选",
"form": "形态",
Expand All @@ -57,10 +58,10 @@
"hpIV": "HP 个体值",
"hpType": "觉醒力量属性",
"inject": "导入",
"installUnlaunch": "请安装Unlaunch",
"installUnlaunch": "请安装 Unlaunch",
"invalidSave": "无效的存档文件",
"item": "物品",
"ITEMS": "物品",
"item": "携带道具",
"ITEMS": "道具",
"iv": "个体",
"jump": "转到",
"KEY_ITEMS": "重要物品",
Expand All @@ -70,48 +71,51 @@
"lv": "Lv.",
"MAIL": "邮件",
"male": "男性",
"MEDICINE": "回复道具",
"MEDICINE": "回复",
"metDay": "相遇 日",
"metLevel": "相遇时等级",
"metLocation": "相遇地点",
"metMonth": "相遇 月",
"metYear": "相遇 年",
"money": "零花钱",
"moneyFormat": "%li元",
"moneyFormat": "$%li",
"move": "移动",
"moves": "招式",
"music": "音乐",
"name": "名称",
"name": "名字",
"nature": "性格",
"new": "新建",
"no": "",
"noCard": "未插入NDS卡带",
"noCart": "未插入GBA卡带",
"none": "",
"oakLab": "大木博士的研究所",
"oakLab": "大木研究所",
"off": "",
"ok": "",
"options": "选项",
"options": "设置",
"origin": "来源",
"originGame": "来源版本",
"origTrainer": "初训家",
"party": "队伍",
"PC_ITEMS": "电脑物品",
"PC_ITEMS": "电脑道具",
"playTime": "游戏时间",
"pokemonInfo": "宝可梦信息",
"pokerus": "宝可病毒",
"pp": "PP",
"ppUps": "PP 提升值",
"ppMax": "PP 总和值",
"release": "放生",
"remove": "删除",
"rename": "重命名",
"reopenIfFrozen": "如果进度条卡住,\n请合盖再开",
"rtcElapsed": "RTC 经过时间",
"rtcInitial": "RTC 开始时间",
"rtcInitial": "RTC 起始时间",
"save": "保存",
"saveMsgCard": "你想要保存更改\n到卡带?",
"saveMsgChest": "你想要保存更改\n到箱子?",
"saveMsgSave": "你想要保存更改\n到存档文件?",
"secretID": "里 ID",
"shiny": "闪光",
"shiny": "异色",
"sort": "排序",
"soundFX": "音效",
"spAtk": "特攻",
Expand All @@ -125,17 +129,17 @@
"stats": "能力",
"swap": "交换",
"theme": "主题",
"TMHM": "技能 & 秘传",
"TMHM": "招式学习器",
"total": "总计",
"trainerID": "训练家 ID",
"trainerInfo": "训练师信息",
"twinleafTown": "双叶镇",
"type1": "类型 1",
"type2": "类型 2",
"type1": "属性 1",
"type2": "属性 2",
"unknown": "未知",
"unlimited": "无限制",
"wallpaper": "背景",
"warning": "警告!",
"wallpaper": "壁纸",
"warning": "警告",
"wrongSaveCard": "该存档文件的大小\n与当前卡带的存档大小\n不匹配!\n写入已停止",
"wrongSaveCart": "该存档文件的类型\n与当前卡带的存档类型\n不匹配!\n写入已停止",
"yes": ""
Expand Down
4 changes: 4 additions & 0 deletions nitrofiles/i18n/cht/gui.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"dumpedTo": "導出至:\n%s",
"dumpingSave": "導出記憶檔中...\n請等待",
"edit": "編輯",
"egg": "",
"elmLab": "空木博士的研究所",
"ev": "努力",
"exit": "離開",
Expand Down Expand Up @@ -100,6 +101,9 @@
"playTime": "遊戲時間",
"pokemonInfo": "寶可夢訊息",
"pokerus": "寶可病毒",
"pp": "PP",
"ppUps": "PP 提升",
"ppMax": "總 PP",
"release": "放生",
"remove": "移除",
"rename": "重命名",
Expand Down
Loading

0 comments on commit f76a9fa

Please sign in to comment.