Skip to content

Commit

Permalink
Update translations (#1713)
Browse files Browse the repository at this point in the history
* Update translations

* Don't default initialize translation strings

Saves a couple KB and a tiny bit of time, not a huge improvement or anything but it's just completely pointless to do it as as long as langInit is called it'll fill them with defaults anyways

* Update fonts

* Add Tiếng Việt

(Vietnamese)

* Update translator credits
  • Loading branch information
Epicpkmn11 authored Dec 9, 2021
1 parent ad78fff commit 627ede1
Show file tree
Hide file tree
Showing 40 changed files with 881 additions and 103 deletions.
Binary file modified 7zfile/_nds/TWiLightMenu/extras/fonts/Default/large-ds.nftr
Binary file not shown.
Binary file modified 7zfile/_nds/TWiLightMenu/extras/fonts/Default/large-dsi.nftr
Binary file not shown.
Binary file modified 7zfile/_nds/TWiLightMenu/extras/fonts/Default/small-ds.nftr
Binary file not shown.
Binary file modified 7zfile/_nds/TWiLightMenu/extras/fonts/Default/small-dsi.nftr
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ You can help translate TWiLight Menu++ on the [Crowdin project](https://crowdin.
- fintogive, RadDude McCoolguy, KazoWAR, Vague Rant, [gamemasterplc](https://github.com/gamemasterplc), [Rocket Robz](https://github.com/RocketRobz), [ChampionLeake](https://github.com/ChampionLeake), [DeadSkullzJr](https://github.com/DeadSkullzJr), [spellboundtriangle](https://github.com/spellboundtriangle), [LedyBacer](https://github.com/LedyBacer): Widescreen Cheats
## Translators
- Bulgarian: [Peter0x44](https://github.com/Peter0x44), [Tescu](https://crowdin.com/profile/tescu48)
- Chinese Simplified: [Forbidden](https://crowdin.com/profile/Origami), [James-Makoto](https://crowdin.com/profile/VCMOD55), [R-YaTian](https://github.com/R-YaTian), [Yukino Song](https://crowdin.com/profile/ClassicOldSong), [曾国立](https://crowdin.com/profile/notthingtosay), [百地 希留耶](https://crowdin.com/profile/FIve201)
- Chinese Simplified: [Forbidden](https://crowdin.com/profile/Origami), [James-Makoto](https://crowdin.com/profile/VCMOD55), [R-YaTian](https://github.com/R-YaTian), [Yukino Song](https://crowdin.com/profile/ClassicOldSong), [曾国立](https://crowdin.com/profile/notthingtosay), [天天地地人人](https://crowdin.com/profile/realworld), [百地 希留耶](https://crowdin.com/profile/FIve201)
- Chinese Traditional: [ccccchoho](https://crowdin.com/profile/ccccchoho), [James-Makoto](https://crowdin.com/profile/VCMOD55), [Rintim](https://crowdin.com/profile/Rintim), [奇诺比奥](https://crowdin.com/profile/Counta6_233)
- Danish: [jonata](https://github.com/Jonatan6), [Nadia Pedersen](https://crowdin.com/profile/nadiaholmquist)
- Dutch: [Arthur](https://crowdin.com/profile/arthurr2014.tl), [guusbuk](https://crowdin.com/profile/guusbuk), [Mikosu](https://crowdin.com/profile/miko303), [Xtremegamer007](https://crowdin.com/profile/xtremegamer007)
Expand All @@ -118,3 +118,4 @@ You can help translate TWiLight Menu++ on the [Crowdin project](https://crowdin.
- Swedish: [Max Hambraeus](https://github.com/maxhambraeus), [Nullified Block](https://crowdin.com/profile/elasderas123), [TM-47](https://crowdin.com/profile/-tm-), [Victor Ahlin](https://crowdin.com/profile/VSwede), [Walter Lindell](https://crowdin.com/profile/walter.lindell)
- Turkish: [Egehan.TWL](https://crowdin.com/profile/egehan.twl), [Emir](https://crowdin.com/profile/dirt3009), [GlideGuy06](https://crowdin.com/profile/glideguy06), [imbeegboi22](https://crowdin.com/profile/imbeegboi22), [İlke Hür Eyiol](https://crowdin.com/profile/ilkecan51), [rewix32](https://crowdin.com/profile/rewix32), [rewold20](https://crowdin.com/profile/rewold20), [Yağmur Celep](https://crowdin.com/profile/FixingCarp)
- Ukrainian: [Oleh Hatsenko](https://github.com/IRONKAGE), [TM-47](https://crowdin.com/profile/-tm-)
- Vietnamese: [Đỗ Minh Hiếu](https://crowdin.com/profile/hieu2097)
2 changes: 1 addition & 1 deletion manual/arm9/source/language.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "common/inifile.h"

#define STRING(what,def) std::string STR_##what = ""#what;
#define STRING(what,def) std::string STR_##what;
#include "language.inl"
#undef STRING

Expand Down
3 changes: 3 additions & 0 deletions manual/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ enum TLanguage {
ELangRomanian = 23,
ELangArabic = 24,
ELangPortugueseBrazil = 25,
ELangVietnamese = 26,
};

int setLanguage = 0;
Expand Down Expand Up @@ -183,6 +184,8 @@ std::string getGuiLanguageString() {
return "ar";
case ELangPortugueseBrazil:
return "pt-BR";
case ELangVietnamese:
return "vi";
}
}

Expand Down
6 changes: 6 additions & 0 deletions manual/nitrofiles/languages/vi/language.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[LANGUAGE]
ERROR_HAS_OCCURRED=Có lỗi xảy ra.
DISABLE_SD_REMOVAL_CHECK=Hãy tắt máy, bật lại, vào lại\nTwiLight Menu++, giữ SELECT để mở\ncài đặt TWLMenu++, và vô\nhiệu hóa chức năng phát\nhiện thẻ SD đã tháo.
SD_WAS_REMOVED=Thẻ SD đã bị tháo.
REINSERT_SD_CARD=Hãy nhấn POWER để tắt\nmáy, cắm lại thẻ SD,\nrồi bật máy lại.

2 changes: 2 additions & 0 deletions quickmenu/arm9/source/common/dsimenusettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ std::string TWLSettings::getGuiLanguageString()
return "ar";
case TWLSettings::ELangPortugueseBrazil:
return "pt-BR";
case TWLSettings::ELangVietnamese:
return "vi";
}
}

Expand Down
1 change: 1 addition & 0 deletions quickmenu/arm9/source/common/dsimenusettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class TWLSettings
ELangRomanian = 23,
ELangArabic = 24,
ELangPortugueseBrazil = 25,
ELangVietnamese = 26,
};

enum TRegion
Expand Down
2 changes: 1 addition & 1 deletion quickmenu/arm9/source/language.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "common/dsimenusettings.h"
#include "common/inifile.h"

#define STRING(what,def) std::string STR_##what = ""#what;
#define STRING(what,def) std::string STR_##what;
#include "language.inl"
#undef STRING

Expand Down
45 changes: 45 additions & 0 deletions quickmenu/nitrofiles/languages/vi/language.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[LANGUAGE]
LAST_PLAYED_HERE=Trò chơi đã chơi gần đây\nsẽ xuất hiện ở đây.
NO_GAME_CARD=There is no Game Card\ninserted.
START_GAME_CARD=Start Game Card
START_GBA_GAME=Start GBA game.
FEATURE_UNAVAILABLE=Tính năng này không khả dụng.
TAKEWHILE_RESTART=If this takes a while, press\n\L+\R+START+SELECT to restart.
TAKEWHILE_CLOSELID=If this takes a while, close and open\nthe console's lid.
TAKEWHILE_PRESSHOME=If this takes a while, press HOME,\nthen press \B.
BARSTOPPED_RESTART=If the bar stopped, press\n\L+\R+START+SELECT to restart.
BARSTOPPED_CLOSELID=If the bar stopped, close and open\nthe console's lid.
BARSTOPPED_PRESSHOME=If the bar stopped, press HOME,\nthen press \B.
NOW_COPYING_DATA=Đang sao chép dữ liệu...
DO_NOT_TURN_OFF_POWER=Đừng tắt máy.
CREATING_PUBLIC_SAVE=Creating public save file...
PUBLIC_SAVE_CREATED=Public save file created!
CREATING_PRIVATE_SAVE=Creating private save file...
PRIVATE_SAVE_CREATED=Private save file created!
CREATING_SAVE=Creating save file...
SAVE_CREATED=Save file created!
EXPANDING_SAVE=Expanding save file...
SAVE_EXPANDED=Save file expanded!
RESTART_AFTER_SAVE=After saving, please re-start\nTWiLight Menu++ to transfer your\nsave data back.
NOW_LOADING=Now Loading...
PLEASE_WAIT=Please wait...
DATE_FORMAT=%m/%d
TIME_FORMAT_12=%I:%M
TIME_FORMAT_24=%H:%M

B_BACK=\B Back

START_FAILED_ERROR=Start failed. Error %i
BOOTSTRAP_NIGHTLY_NOT_FOUND=nds-bootstrap (Nightly)\nnot found.
BOOTSTRAP_RELEASE_NOT_FOUND=nds-bootstrap (Release)\nnot found.
BOOTSTRAP_HB_NIGHTLY_NOT_FOUND=nds-bootstrap for homebrew\n(Nightly) not found.
BOOTSTRAP_HB_RELEASE_NOT_FOUND=nds-bootstrap for homebrew\n(Release) not found.
FAILED_TO_COPY_WIDESCREEN=Failed to copy widescreen\ncode for the game.
FLASHCARD_UNSUPPORTED=Flashcard may be unsupported.
FLASHCARD_NAME=Flashcard name:

ERROR_HAS_OCCURRED=An error has occurred.
DISABLE_SD_REMOVAL_CHECK=Please turn off the power, turn\nthe power back on, relaunch\nTWiLight Menu++, hold SELECT to\nopen TWLMenu++ Settings, and\ndisable SD removal detection.
SD_WAS_REMOVED=The SD card was removed.
REINSERT_SD_CARD=Please press POWER to turn off\nthe power, reinsert the SD card,\nthen turn the power back on.

26 changes: 13 additions & 13 deletions quickmenu/nitrofiles/languages/zh-CN/language.ini
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
[LANGUAGE]
LAST_PLAYED_HERE=上次游玩的游戏\n将会在此显示。
NO_GAME_CARD=未插入Nintendo DS游戏卡。
START_GAME_CARD=游玩卡带游戏
START_GBA_GAME=游玩GBA游戏
START_GAME_CARD=运行卡带游戏
START_GBA_GAME=运行GBA游戏
FEATURE_UNAVAILABLE=该功能不可用。
TAKEWHILE_RESTART=如果等待时间过长,请按\n\L+\R+START+SELECT键重启。
TAKEWHILE_CLOSELID=如果等待时间过长,请合盖\n再开。
TAKEWHILE_PRESSHOME=如果等待时间过长,请按下HOME键,\n然后按下B键。
BARSTOPPED_RESTART=如果该栏未响应,请按\n\L+\R+START+SELECT键重启。
BARSTOPPED_CLOSELID=如果该栏无响应,请重新盒盖\n并打开主机。
BARSTOPPED_CLOSELID=如果该栏无响应,请重新合盖\n并打开主机。
BARSTOPPED_PRESSHOME=如果该栏无响应,请按下HOME键,\n然后按下B键。
NOW_COPYING_DATA=正在复制数据...
DO_NOT_TURN_OFF_POWER=请不要关闭主机电源。
CREATING_PUBLIC_SAVE=正在创建公用保存数据...
PUBLIC_SAVE_CREATED=公用保存数据已创建
CREATING_PRIVATE_SAVE=正在创建个人保存数据...
PRIVATE_SAVE_CREATED=个人保存数据已创建
CREATING_SAVE=正在创建保存数据...
SAVE_CREATED=保存数据已创建
EXPANDING_SAVE=正在扩展保存数据...
SAVE_EXPANDED=保存数据扩展完成
CREATING_PUBLIC_SAVE=正在创建公用存档文件...
PUBLIC_SAVE_CREATED=公用存档文件已创建
CREATING_PRIVATE_SAVE=正在创建个人存档文件...
PRIVATE_SAVE_CREATED=个人存档文件已创建
CREATING_SAVE=正在创建存档文件...
SAVE_CREATED=存档文件已创建
EXPANDING_SAVE=正在扩展存档文件...
SAVE_EXPANDED=存档文件扩展完成
RESTART_AFTER_SAVE=保存完成后,请重启\nTWiLight Menu++来完成您的\n保存数据的复原。
NOW_LOADING=正在读取中...
NOW_LOADING=正在读取...
PLEASE_WAIT=请稍候...
DATE_FORMAT=%m/%d
TIME_FORMAT_12=%I:%M
TIME_FORMAT_24=%H:%M

B_BACK=\B 返回

START_FAILED_ERROR=启动失败。错误%i
START_FAILED_ERROR=启动失败。错误 %i
BOOTSTRAP_NIGHTLY_NOT_FOUND=找不到nds-bootstrap (每夜版)。
BOOTSTRAP_RELEASE_NOT_FOUND=找不到nds-bootstrap (正式版) 。
BOOTSTRAP_HB_NIGHTLY_NOT_FOUND=找不到用于自制软件的\nnds-bootstrap (每夜版)。
Expand Down
2 changes: 2 additions & 0 deletions romsel_aktheme/arm9/source/common/dsimenusettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,5 +318,7 @@ std::string TWLSettings::getGuiLanguageString()
return "ar";
case TWLSettings::ELangPortugueseBrazil:
return "pt-BR";
case TWLSettings::ELangVietnamese:
return "vi";
}
}
1 change: 1 addition & 0 deletions romsel_aktheme/arm9/source/common/dsimenusettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class TWLSettings
ELangRomanian = 23,
ELangArabic = 24,
ELangPortugueseBrazil = 25,
ELangVietnamese = 26,
};

enum TRunIn
Expand Down
2 changes: 2 additions & 0 deletions romsel_aktheme/arm9/source/language.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ class LanguageFile : public CIniFile
return "lang_ar";
case TWLSettings::ELangPortugueseBrazil:
return "lang_pt-BR";
case TWLSettings::ELangVietnamese:
return "lang_vi";
default:
return "lang_en";
}
Expand Down
18 changes: 9 additions & 9 deletions romsel_aktheme/nitrofiles/language/lang_id/language.ini
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ text=Kecerahan
ok=OK
cancel=Batal
confirm=Konfirmasi Menyimpan Pilihan
confirm text=Apa kamu yakin ingin menyimpan pengaturan tadi?
confirm text=Apa kamu yakin ingin menyimpan pengaturan ini?
setting=Pengaturan
[rom info]
title=Info Berkas
title=Sifat Berkas
file date=Terakhir Diubah: %d %d %d %02d %02d %02d(GMT)
file size=Ukuran Berkas: %s
game code=Kode Permainan: %s
Expand All @@ -92,14 +92,14 @@ title=Galat
memory allocation error=Galat alokasi memori
[game settings]
Japanese=Jepang
English=Inggris
French=Prancis
German=Jerman
Japanese=Bahasa Jepang
English=Bahasa Inggris
French=Bahasa Prancis
German=Bahasa Jerman
Italian=Italia
Spanish=Spanyol
Chinese=Tionghoa
Korean=Korea
Spanish=Bahasa Spanyol
Chinese=Bahasa Cina
Korean=Bahasa Korea
133MHz (TWL)=133MHz (TWL)
67MHz (NTR)=67MHz (NTR)
Auto=Otomatis
Expand Down
157 changes: 157 additions & 0 deletions romsel_aktheme/nitrofiles/language/lang_vi/language.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
[font]
main=tahoma.pcf

[start menu]
START=START
Copy=Sao chép
Cut=Di chuyển
Paste=Dán
Delete=Xóa
Hide=Ẩn
Setting=Cài đặt
Info=Thuộc tính

[message box]
yes=Đồng ý
no=Không
ok=OK
cancel=Hủy bỏ
Don't show=Không hiện
[cheats]
button=Cheats
deselect=Bỏ chọn tất cả
info=Thông tin
title=Cheats Menu
[progress window]
processing copy="Đang sao chép.. Đừng tắt máy, %c=Hủy bỏ!"
[copy file error]
title=Lỗi khi sao chép tệp hoặc thư mục
text=Tệp hoặc thư mục không tồn tại.
[copy file exists]
title=Xác nhận thay thế tệp
text=Thư mục này đã chứa 1 tệp cùng tên. Bạn có muốn thay thế nó không?
[copy dest is directory]
title=Lỗi khi sao chép tệp hoặc thư mục
text=Thư mục này chứa một thư mục cùng tên. Không thể sao chép.
[move dest is directory]
title=Lỗi khi di chuyển tệp hoặc thư mục
text=Thư mục này chứa 1 thư mục cùng tên. Không thể di chuyển.
[no copy dir]
title=Lỗi sao chép/di chuyển thư mục
text=Thư mục đang sao chép/di chuyển hiện không hỗ trợ!
[stop copying file]
title=Xác nhận hủy bỏ sao chép tệp
text=Bạn có chắc muốn hủy sao chép tệp?
[confirm delete file]
title=Xác nhận xóa tệp/thư mục
text=Tệp/thư mục đã xóa không thể khôi phục, bạn có chắc muốn xóa '%s'?
[confirm hide file]
title=Xác nhận ẩn tệp/thư mục
hide='%s' sẽ được ẩn trừ khi bạn bật "Hiện tệp ẩn" trong cài đặt, ẩn chứ?
unhide='%s' sẽ không ẩn nữa, ok?
[do not delete directory]
title=Lỗi xóa thư mục
text=Thư mục này không trống, xóa hết những gì trong đó trước và thử lại.
[no free space]
title=Lỗi không đủ bộ nhớ
text=Không đủ bộ nhớ ở ổ đĩa đích, không thể sao chép.
[sd card error]
title=Lỗi truy cập thẻ MicroSD
text=Không thể truy cập thẻ MicroSD, hãy chắc rằng thẻ MicroSD được format và cắm đúng.
[brightness]
text=Độ sáng
[setting window]
ok=OK
cancel=Hủy bỏ
confirm=Xác nhận lưu cài đặt
confirm text=Bạn có chắc muốn lưu cài đặt hiện tại?
setting=Cài đặt
[rom info]
title=Thuộc tính
file date=Lần sửa cuối: %d/%d/%d %02d:%02d:%02d(GMT)
file size=Kích thước: %s
game code=Mã game: %s
[ram allocation]
title=Lỗi
memory allocation error=Lỗi phân bổ bộ nhớ
[game settings]
Japanese=Tiếng Nhật
English=Tiếng Anh
French=Tiếng Pháp
German=Tiếng Đức
Italian=Tiếng Ý
Spanish=Tiếng Tây Ban Nha
Chinese=Tiếng Trung
Korean=Tiếng Hàn
133MHz (TWL)=133MHz (TWL)
67MHz (NTR)=67MHz (NTR)
Auto=Tự động
Boost VRAM=Boost VRAM
Bootstrap File=Bootstrap File
CPU Frequency=Tần số CPU
Default=Mặc định
Direct Boot=Direct Boot
DS mode=DS mode
DSi mode=DSi mode
DSi mode (Forced)=DSi mode (Forced)
Heap Shrink=Heap Shrink
Language=Ngôn ngữ
Nightly=Nightly
Off=Off
On=On
Per Game Settings=Per Game Settings
RAM disk=Bộ nhớ RAM
Release=Release
Run in=Run in
Save number=Lưu Số
System=Hệ thống
Use Bootstrap=Dùng Bootstrap
[game launch]
ROM Start Error=Lỗi khởi động ROM
error=Lỗi %i
Please wait=Vui lòng chờ...
NDS Bootstrap Error=Lỗi NDS Bootstrap
GBARunner2 Error=Lỗi GBARunner2
Sega8bit Error=SEGA 8-bit RAM Disk Error
Sega8bit Error Message=SEGA 8-bit RAM Disk in "sd:/_nds/TWiLightMenu/emulators/" was not found
SegaMD Error=SEGA MD RAM Disk Error
SegaMD Error Message=SEGA Mega Drive (Genesis) RAM Disk in "sd:/_nds/TWiLightMenu/emulators/" was not found
SNES Error=SNES RAM Disk Error
SNES Error Message=SNES RAM Disk in "sd:/_nds/TWiLightMenu/emulators/" was not found
Flashcard Error=Lỗi Flashcard
Launch Error=Launch Error
Preparing Unlaunch Boot=Preparing Unlaunch Boot...
Unlaunch Error=Unlaunch Error
unlaunch boot=Boot DSiWare with Unlaunch
unlaunch instructions=After saving, please re-start this menu to transfer your save data back.
ap warning=Cảnh báo
ap msg=Trò chơi này đã chống vi phạm bản quyền. Hãy chắc rằng bạn đang sử dụng phiên bản mới nhất của TWiLight Menu++.
ap msg1=This game has AP (Anti-Piracy) and MUST be patched using the RGF TWiLight Menu AP patcher.
[mainlist]
Manual=Manual
microSD Card=Thẻ MicroSD
SD Card=Thẻ SD
Settings=Cài đặt
SLOT-1 Card=SLOT-1 Card
SLOT-1 microSD Card=SLOT-1 microSD Card
System Menu=Menu hệ thống
2 changes: 2 additions & 0 deletions romsel_dsimenutheme/arm9/source/common/dsimenusettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ std::string TWLSettings::getGuiLanguageString()
return "ar";
case TWLSettings::ELangPortugueseBrazil:
return "pt-BR";
case TWLSettings::ELangVietnamese:
return "vi";
}
}

Expand Down
Loading

0 comments on commit 627ede1

Please sign in to comment.