Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Epicpkmn11 committed Jan 11, 2024
1 parent 457a824 commit 5f71d7d
Show file tree
Hide file tree
Showing 24 changed files with 1,458 additions and 404 deletions.
9 changes: 7 additions & 2 deletions arm9/source/startMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ constexpr std::array<std::string *, 4> startMenuStrings = {
&STR_LANGUAGE
};

constexpr std::array<std::pair<const char *, const char *>, 18> languageList = {{
constexpr std::array<std::pair<const char *, const char *>, 23> languageList = {{
{"id-ID", "Bahasa Indonesia"},
{"de-DE", "Deutsch"},
{"en-US", "English"},
Expand All @@ -38,15 +38,20 @@ constexpr std::array<std::pair<const char *, const char *>, 18> languageList = {
{"hu-HU", "Magyar"},
{"nl-NL", "Nederlands"},
{"pl-PL", "Polski"},
{"pt-BR", "Português (Brasil)"},
{"ro-RO", "Română"},
{"tr-TR", "Türkçe"},
{"vi-VN", "Tiếng Việt"},
{"ru-RU", "Русский"},
{"uk-UA", "Українська"},
{"he-IL", "עברית"},
{"ar-SA", "العربية"},
{"zh-CN", "中文 (简体)"},
{"zh-TW", "中文 (繁體)"},
{"ja-JP", "日本語"},
{"ja-KANA", "にほんご"},
{"ry-JP", "琉球諸語"}
{"ry-JP", "琉球諸語"},
{"ko-KR", "한국어"}
}};

void startMenu() {
Expand Down
2 changes: 1 addition & 1 deletion crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_id_env: GM9I_CROWDIN_ID
project_id: 486505
api_token_env: CROWDIN_TOKEN
preserve_hierarchy: true

Expand Down
203 changes: 203 additions & 0 deletions nitrofiles/languages/ar-SA/language.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
[PROPERTIES]
DIR=rtl

[LANGUAGE]
NO_DRIVES_FOUND=No drives found!
UNTITLED=بلا عنوان
ROOT=[root]
DIR=(dir)
TIME_FORMAT=%H:%M 
LOADING=جاري التحميل...
CREATING_DIRECTORY=إنشاء الدليل...
ENTERING_DIRECTORY=جارٍ الدخول إلى الدليل...
COPYING=جاري النسخ...
MOVING=جاري النقل...
UNABLE_TO_OPEN_DIRECTORY=Unable to open the directory.
SHA1_HASH_IS=SHA1 hash is:
CLIPBOARD=[CLIPBOARD]
1_MORE_FILE=%d ملف آخر...
N_MORE_FILES=%d ملفات أخرى...
PASTE_CLIPBOARD_HERE=لصق الحافظة هنا؟
COPY_FILES=نسخ الملفات
MOVE_FILES=نقل الملفات
RENAME_TO=إعادة تسمية إلى:
NAME_FOR_NEW_FOLDER=اسم المجلد الجديد:
DELETE_N_PATHS=Delete %d paths?
AND_1_MORE=- and %d more...
AND_N_MORE=- and %d more...
DELETE_X=حَذف %s؟
DELETING_FILES=يتم حذف الملفات، الرجاء الانتظار...
DELETING_FOLDER=يتم حذف المجلد، الرجاء الانتظار...
FAILED_DELETING=فشل الحذف:\n%s
COULD_NOT_ALLOCATE_BUFFER=Could not allocate buffer
COULD_NOT_OPEN_FILE_READING=تعذر فتح الملف للقراءة
CALCULATING_SHA1=Calculating SHA1 hash of:\n%s
N_OF_N_BYTES_PROCESSED=%d/%d bytes processed
FILE_ALREADY_TRIMMED=This file is already trimmed.
TRIM_TO_N_BYTES=Trim file to %s?
RUNNING_X_WITH_N_PARAMETERS=Running %s with %d parameters
START_FAILED_ERROR_N=Start failed. Error %d
HEADER_TITLE=Header Title: %s
TITLE_ID=Title ID: %s
TITLE_IN_LANGUAGE=Title: (\DV %s)
FILE_TOO_BIG=%s is too large to copy to this drive. Please delete some files and try again.

SDCARD_LABEL=[sd:] SDCARD (%s)
FLASHCARD_LABEL=[fat:] FLASHCARD (%s)
RAMDRIVE_LABEL=[ram:] RAMDRIVE
SYSNAND_LABEL=[nand:] SYSNAND
SYSNAND_PHOTO_LABEL=[photo:] SYSNAND (photo)
NITROFS_LABEL=[nitro:] NDS GAME IMAGE
FAT_LABEL=[img:] FAT IMAGE (%s)
GBA_GAMECART=GBA GAMECART (%s)
NDS_GAMECARD=NDS GAMECARD (%s)
NDS_GAMECARD_NO_TITLE=NDS GAMECARD

SD_FAT=(SD FAT, %s)
N_FREE=%s مساحة حرة
SLOT1_FAT=(Slot-1 SD FAT, %s)
GBA_GAME=(GBA Game, %s)
NDS_GAME=(NDS Game, %s (%s trimmed))
GAME_VIRTUAL=(لعبة افتراضية)
RAMDRIVE_FAT=(RAMdrive FAT, %s)
SYSNAND_FAT=(SysNAND FAT, %s)
FAT_IMAGE=(Image FAT, %s)

UNMOUNT_SDCARD=\R+\B - Unmount SD card
REMOUNT_SDCARD=\R+\B - Remount SD card
UNMOUNT_FLASHCARD=\R+\B - Unmount Flashcard
START_START_MENU=ابدأ - قائمة البدء
POWERTEXT_DS=POWER - إيقاف التشغيل
POWERTEXT=POWER - Reboot/[+held] Poweroff
POWERTEXT_3DS=POWER -وضع سكون الشاشة
HOMETEXT=HOME - HOME Menu prompt
IMAGETEXT=\R+\X - Unmount image
SCREENSHOTTEXT=\R+\L - Make a screenshot
CLEAR_CLIPBOARD=SELECT - Clear clipboard
RESTORE_CLIPBOARD=SELECT - Restore clipboard
DIRECTORY_OPTIONS=\R+\A - Directory options
COPY_FILE=\Y - COPY file
COPY_FILES_CREATE_ENTRY=\Y - COPY file/[+\R] CREATE entry
PASTE_FILES_CREATE_ENTRY=\Y - PASTE file/[+\R] CREATE entry
SELECT_FILES=\L - SELECT files/[+\DR] all
DESELECT_FILES=\L - DESELECT files/[+\DL] all
DELETE_RENAME_FILE=\X - DELETE/[+\R] RENAME file

START_MENU=قائمة بدء التشغيل
POWER_OFF=إيقاف التشغيل
REBOOT=إعادة التشغيل
OPEN_TITLE_MANAGER=مدير العنوان...
LANGUAGE=اللغة...
SELECT_LANGUAGE=اختر اللغة
NITROFS_NOT_MOUNTED=NitroFS could not be mounted, please load GodMode9i from TWiLight Menu++ or nds-hb-menu.
NITROFS_UNMOUNTED=Another title's NitroFS has been mounted, please reload GodMode9i to change the language.
TITLE_MANAGER=مدير العنوان
BOOT_FILE=ملف التمهيد
BOOT_FILE_DIRECT=ملف التمهيد (مباشر)
MOUNT_NITROFS=Mount NitroFS
SHOW_NDS_INFO=إظهار معلومات ملف NDS
TRIM_NDS=Trim NDS file
RESTORE_SAVE=أستعادة الحفظ
RESTORE_SAVE_NDS=استعادة الحفظ (المنفذ-1)
RESTORE_SAVE_GBA=استعادة الحفظ (المنفذ-2)
MOUNT_FAT_IMG=Mount as FAT image
OPEN_HEX=Open in hex editor
SHOW_DIRECTORY_INFO=إظهار معلومات الدليل
SHOW_FILE_INFO=إظهار معلومات الملف
COPY_SD_OUT=Copy to sd:/gm9i/out
COPY_FAT_OUT=Copy to fat:/gm9i/out
CALC_SHA1=Calculate SHA1 hash
LOAD_FONT=تحميل الخط
FILESIZE=filesize: %s
CREATED=created: %s
MODIFIED=modified: %s
UP_READONLY=\DUread-only
DOWN_SYSTEM=\DDsystem
LEFT_HIDDEN=\DLhidden
RIGHT_ARCHIVE=\DRarchive
VIRTUAL=افتراضي
HEX_EDITOR=Hex Editor
JUMP_TO_OFFSET=Jump to Offset
SEARCH_STRING=بحث عن نص
SEARCH_DATA=بحث عن بيانات
SEARCH_FOR=بحث عن:
ENTER_VALUE=أدخل القيمة:
SEARCHING=يتم البحث...
PRESS_B_TO_CANCEL=Press \B to cancel
EOF_NO_RESULTS=Reached end of file\nwith no results
FLASHCARD_WILL_UNMOUNT=Flashcard will be unmounted.\nIs this okay?
DUMP_TO=Dump "%s" to\n"%s:/gm9i/out"?
DUMP_TO_GBA=Dump "%s" to GBA cart?
DUMP_ALL=كل
DUMP_ALL_TRIMMED=All (Trimmed ROM)
DUMP_ALL_NO_RTC=All (No RTC)
DUMP_ROM=ROM
DUMP_ROM_TRIMMED=ROM (Trimmed)
DUMP_SAVE=حفظ
DUMP_DS_SAVE=DS save
DUMP_SAVE_NO_RTC=Save (No RTC)
DUMP_PUBLIC_SAVE=حفظ عام
DUMP_PRIVATE_SAVE=حفظ خاص
DUMP_BANNER_SAVE=Banner save
DUMP_TMD=TMD
DUMP_METADATA=بيانات التعريف
DO_NOT_REMOVE_CARD=Do not remove the NDS card.
DO_NOT_REMOVE_CART=Do not remove the GBA cart.
DUMPING_SAVE=Dumping save...
RESTORING_SAVE=أستعادة الحفظ...
DUMPING_METADATA=Dumping metadata...
FAILED_TO_DUMP_ROM=Failed to dump the ROM.
UNABLE_TO_DUMP_ROM=Unable to dump the ROM.
FAILED_TO_DUMP_SAVE=Failed to dump the save.
UNABLE_TO_DUMP_SAVE=Unable to dump the save.
FAILED_TO_RESTORE_SAVE=فشل في استعادة الحفظ.
UNABLE_TO_RESTORE_SAVE=غير قادر على استعادة الحفظ.
SAVE_SIZE_MISMATCH_CARD=The size of this save doesn't match the size of the inserted game card.\n\nWrite cancelled!
SAVE_SIZE_MISMATCH_CART=The size of this save doesn't match the size of the inserted game pak.\n\nWrite cancelled!
RESTORE_SELECTED_SAVE_CARD=استعادة الحفظ المحدد لبطاقة اللعبة المدرجة؟
RESTORE_SELECTED_SAVE_CARD_FLASHCARD=Unmount the flashcard and restore the selected save to a game card?
RESTORE_SELECTED_SAVE_CART=Restore the selected save to the inserted game pak?
EJECT_FLASHCARD_INSERT_GAME=Eject your flashcard and insert the game card to restore to.
PROGRESS=الحالة:
N_OF_N_BYTES=%d/%d Bytes
NDS_IS_DUMPING=%s.nds\nis dumping...
GBA_IS_DUMPING=%s.gba\nis dumping...
COMPRESSING_SAVE=Compressing save...
WRITING_SAVE=كتابة الحفظ...
WRITE_TO_GBA=Write %s to GBA cart? (%s remaining)\n\nMake sure to back up your GBA save first!
SWITCH_CART=Please switch to a different GBA cart.
SWITCH_CART_TO_SECTION=Please switch to the GBA cart containing section %d.
SWITCH_CART_TO_SECTION_THIS_WAS=Please switch to the GBA cart containing section %d. (This was section %d)
WRONG_DS_SAVE=This cart contains a save file from a different DS game.
NO_DS_SAVE=This cart doesn't contain a DS save.

A_OK=(\A OK)
A_YES_B_NO=(\A yes, \B no)
A_CONTINUE=(\A continue)
B_CANCEL=(\B cancel)
A_SELECT_B_CANCEL=(\A select, \B cancel)
START_CANCEL=(START cancel)
UDLR_CHANGE_ATTRIBUTES=(\D change attributes)
A_APPLY_B_CANCEL=(\A apply, \B cancel)
START_RETURN_B_BACKSPACE=(START Return, \B Backspace)

1_BYTE=1 بايت
N_BYTES=%lld Bytes
N_KB=%lld KB
N_MB=%lld MB
N_GB_FLOAT=%.1f GB
N_TB_FLOAT=%.1f TB

JAPANESE=اليابانية
ENGLISH=الانجليزية
FRENCH=الفرنسية
GERMAN=الألمانية
ITALIAN=الإيطالية
SPANISH=الإسبانية
CHINESE=الصينية
KOREAN=الكورية

10 changes: 6 additions & 4 deletions nitrofiles/languages/de-DE/language.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ START_FAILED_ERROR_N=Start fehlgeschlagen. Fehler %d
HEADER_TITLE=Header Titel: %s
TITLE_ID=Titel ID: %s
TITLE_IN_LANGUAGE=Titel: (\DV %s)
FILE_TOO_BIG=%s is too large to copy to this drive. Please delete some files and try again.
FILE_TOO_BIG=%s ist zu groß, um es auf dieses Laufwerk zu kopieren. Bitte löschen Sie einige Dateien und versuchen sie es erneut.

SDCARD_LABEL=[sd:] SD-Karte (%s)
FLASHCARD_LABEL=[fat:] FLASHKARTE (%s)
RAMDRIVE_LABEL=[ram:] RAMDRIVE
SYSNAND_LABEL=[nand:] SYSNAND
SYSNAND_PHOTO_LABEL=[photo:] SYSNAND (Foto)
NITROFS_LABEL=[nitro:] NDS SPIEL IMAGE
FAT_LABEL=[img:] FAT IMAGE (%s)
GBA_GAMECART=GBA SPIELKARTE (%s)
Expand Down Expand Up @@ -78,8 +79,8 @@ DIRECTORY_OPTIONS=\R+\A - Verzeichnisoptionen
COPY_FILE=\Y - Datei KOPIEREN
COPY_FILES_CREATE_ENTRY=\Y - Datei kopieren/[+\R] Eintrag erstellen
PASTE_FILES_CREATE_ENTRY=\Y - Datei EINFÜGEN/[+\R] Eintrag ERSTELLEN
SELECT_FILES=\L - SELECT files/[+\DR] all
DESELECT_FILES=\L - DESELECT files/[+\DL] all
SELECT_FILES=\L - SELECT Dateien/[+\DR] alle
DESELECT_FILES=\L - DESELECT Dateien/[+\DL] alle
DELETE_RENAME_FILE=\X - Datei löschen/[+\R] umbenennen

START_MENU=START Menü
Expand All @@ -94,7 +95,6 @@ TITLE_MANAGER=Titelverwalter

BOOT_FILE=Datei ausführen
BOOT_FILE_DIRECT=Datei ausführen (Direkt)
BOOTSTRAP_FILE=Datei mit nds-bootstrap ausführen
MOUNT_NITROFS=NitroFS einhängen
SHOW_NDS_INFO=NDS-Datei-Info anzeigen
TRIM_NDS=NDS-Datei kürzen
Expand Down Expand Up @@ -134,10 +134,12 @@ DUMP_TO=Kopiere "%s" zu\n"%s:/gm9i/out"?
DUMP_TO_GBA=Kopiere "%s" zur GBA-Karte?
DUMP_ALL=Alles
DUMP_ALL_TRIMMED=Alles (Gekürzte ROM)
DUMP_ALL_NO_RTC=Alles (ohne RTC)
DUMP_ROM=ROM
DUMP_ROM_TRIMMED=ROM (gekürzt)
DUMP_SAVE=Spielstand
DUMP_DS_SAVE=DS Spielstand
DUMP_SAVE_NO_RTC=Speichern (ohne RTC)
DUMP_PUBLIC_SAVE=Öffentlicher Spielstand
DUMP_PRIVATE_SAVE=Privater Spielstand
DUMP_BANNER_SAVE=Banner Spielstand
Expand Down
Loading

0 comments on commit 5f71d7d

Please sign in to comment.