mirror of
https://github.com/joel16/PSP-Everest.git
synced 2024-11-23 11:39:49 +00:00
169 lines
4.0 KiB
C
169 lines
4.0 KiB
C
|
|
#include <psputility_sysparam.h>
|
|
#include "translate.h"
|
|
#include "main.h"
|
|
|
|
/* English Translate*/
|
|
EverestTranslate ENtrans =
|
|
{
|
|
.yes = "Yes",
|
|
.no = "No",
|
|
.hardware_title = "Hardware Information",
|
|
.hardware =
|
|
{
|
|
.model = "Model: %s%d0%s%d (%s)",
|
|
.no_model = "Model: -",
|
|
.mobo = "Motherboard: %s",
|
|
.region = "Region: %s",
|
|
.gen = "Generation: %s%dg",
|
|
.eeprom = "EEPROM access: %s",
|
|
.pandora = "Pandora access: %s",
|
|
.initialfw = "Initial Firmware: %s",
|
|
.umdfw = "UMD™ Firmware: %s",
|
|
.nandsize = "NAND Size: %i MB",
|
|
.regname =
|
|
{
|
|
"Japan",
|
|
"America",
|
|
"Australia",
|
|
"United Kingdom",
|
|
"Europe",
|
|
"Korea",
|
|
"Hong-Kong",
|
|
"Taiwan",
|
|
"Russia",
|
|
"China",
|
|
"Mexico"
|
|
}
|
|
},
|
|
.battery_title = "Battery Information",
|
|
.battery =
|
|
{
|
|
.ex_power = "External Power: %s",
|
|
.batt_stat = "Battery Status: %s",
|
|
.batt_stat_present = "Present",
|
|
.batt_stat_absent = "Absent",
|
|
.charging = "Charging: %s",
|
|
.charging_cpl = "Complete",
|
|
.no_charge_lvl = "Charge Level: -",
|
|
.charge_lvl = "Charge Level: %d%%",
|
|
.charge_stat = "Charge Status: %s",
|
|
.charge_stat_low = "Low",
|
|
.charge_stat_normal = "Normal",
|
|
.charge_stat_strong = "Strong",
|
|
.no_left_time = "Left Time: -",
|
|
.left_time = "Left Time: %d:%02d'",
|
|
.no_voltage = "Voltage: -",
|
|
.voltage = "Voltage: %0.2fV",
|
|
.no_temperature = "Temperature: -",
|
|
.temperature = "Temperature: %d'C",
|
|
.no_remain_capacity = "Remain Capacity: -",
|
|
.remain_capacity = "Remain Capacity: %i mAh",
|
|
.no_total_capacity = "Total Capacity: -",
|
|
.total_capacity = "Total Capacity: %i mAh",
|
|
.serial = "Serial: 0x%04X%04X",
|
|
.no_serial = "Serial: -",
|
|
.mode = "Mode: %s",
|
|
.mode_service = "Service",
|
|
.mode_autoboot = "Autoboot",
|
|
.mode_default = "Default"
|
|
},
|
|
.system_title = "System Information",
|
|
.system =
|
|
{
|
|
.fw = "Firmware: %s",
|
|
.button_assign = "Button Assign:",
|
|
.username = "Username:",
|
|
.password = "Password: %s",
|
|
.vertxterr = "Error in open version.txt: 0x%08X."
|
|
},
|
|
.exit = "Exit"
|
|
};
|
|
|
|
/* Russian Translate */
|
|
EverestTranslate RUtrans =
|
|
{
|
|
.yes = "Äà",
|
|
.no = "Íåò",
|
|
.hardware_title = "Èíôîðìàöèÿ î æåëåçå",
|
|
.hardware =
|
|
{
|
|
.model = "Ìîäåëü: %s%d0%s%d (%s)",
|
|
.no_model = "Ìîäåëü: -",
|
|
.mobo = "Ìàò. ïëàòà: %s",
|
|
.region = "Ðåãèîí: %s",
|
|
.gen = "Ìîäóëü: %s%dg",
|
|
.eeprom = "Äîñòóï ê EEPROM: %s",
|
|
.pandora = "Ðàáîòà ïàíäîðû: %s",
|
|
.initialfw = "Çàâîäñêàÿ ïðîøèâêà: %s",
|
|
.umdfw = "Ïðîøèâêà UMD™: %s",
|
|
.nandsize = "Ðàçìåð NAND: %i ÌÁ",
|
|
.regname =
|
|
{
|
|
"ßïîíèÿ",
|
|
"Àìåðèêà",
|
|
"Àâñòðàëèÿ",
|
|
"Àíãëèÿ",
|
|
"Åâðîïà",
|
|
"Êîðåÿ",
|
|
"Ãîíã-Êîíã",
|
|
"Òàéâàíü",
|
|
"Ðîññèÿ",
|
|
"Êèòàé",
|
|
"Ìåêñèêà"
|
|
}
|
|
},
|
|
.battery_title = "Èíôîðìàöèÿ î áàòàðåå",
|
|
.battery =
|
|
{
|
|
.ex_power = "Âíåøíåå ïèòàíèå: %s",
|
|
.batt_stat = "Íàëè÷èå áàòàðåè: %s",
|
|
.batt_stat_present = "Äà",
|
|
.batt_stat_absent = "Íåò",
|
|
.charging = "Çàðÿäêà: %s",
|
|
.charging_cpl = "Çàêîí÷åíà",
|
|
.no_charge_lvl = "Óðîâåíü çàðÿäà: -",
|
|
.charge_lvl = "Óðîâåíü çàðÿäà: %d%%",
|
|
.charge_stat = "Ñòàòóñ çàðÿäà: %s",
|
|
.charge_stat_low = "Íèçêèé",
|
|
.charge_stat_normal = "Ñðåäíèé",
|
|
.charge_stat_strong = "Âûñîêèé",
|
|
.no_left_time = "Îñòàâøååñÿ âðåìÿ: -",
|
|
.left_time = "Îñòàâøååñÿ âðåìÿ: %d:%02d'",
|
|
.no_voltage = "Íàïðÿæåíèå: -",
|
|
.voltage = "Íàïðÿæåíèå: %0.2fV",
|
|
.no_temperature = "Òåìïåðàòóðà: -",
|
|
.temperature = "Òåìïåðàòóðà: %d'C",
|
|
.no_remain_capacity = "Òåêóùàÿ ¸ìêîñòü: -",
|
|
.remain_capacity = "Òåêóùàÿ ¸ìêîñòü: %i ìÀ÷",
|
|
.no_total_capacity = "Îáùàÿ ¸ìêîñòü: -",
|
|
.total_capacity = "Îáùàÿ ¸ìêîñòü: %i ìÀ÷",
|
|
.serial = "Ñåðèéíèê: 0x%04X%04X",
|
|
.no_serial = "Ñåðèéíèê: -",
|
|
.mode = "Ðåæèì: %s",
|
|
.mode_service = "Ñåðâèñíûé",
|
|
.mode_autoboot = "Àâòîçàïóñê",
|
|
.mode_default = "Îáû÷íûé"
|
|
},
|
|
.system_title = "Èíôîðìàöèÿ î ñèñòåìå",
|
|
.system =
|
|
{
|
|
.fw = "Ïðîøèâêà: %s",
|
|
.button_assign = "Êíîïêà ââîäà:",
|
|
.username = "Ïñåâäîíèì:",
|
|
.password = "Ïàðîëü: %s",
|
|
.vertxterr = "Îøèáêà ïðè îòêðûòèè version.txt: 0x%08X."
|
|
},
|
|
.exit = "Âûõîä"
|
|
};
|
|
|
|
EverestTranslate *trans;
|
|
|
|
void SetupTranslate()
|
|
{
|
|
if(language == PSP_SYSTEMPARAM_LANGUAGE_RUSSIAN)
|
|
trans = &RUtrans;
|
|
else
|
|
trans = &ENtrans;
|
|
}
|