mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
[mod] Add en_US translation changes.
This commit is contained in:
parent
11369f5778
commit
9bfb5384c9
2 changed files with 16 additions and 6 deletions
|
|
@ -155,9 +155,16 @@ int main(int argc, char *argv[]) {
|
||||||
// patch note: double gun for config CFG_EYEDSTONE_2: from GUN_FAST_ELECTROMAGNETIC_BEAM to double GUN_FAST_ELECTROMAGNETIC_BEAM (lz)
|
// patch note: double gun for config CFG_EYEDSTONE_2: from GUN_FAST_ELECTROMAGNETIC_BEAM to double GUN_FAST_ELECTROMAGNETIC_BEAM (lz)
|
||||||
tblcfg("CFG_EYEDSTONE_2", "LIGHTGUN1") = "GUN_FAST_ELECTROMAGNETIC_BEAM";
|
tblcfg("CFG_EYEDSTONE_2", "LIGHTGUN1") = "GUN_FAST_ELECTROMAGNETIC_BEAM";
|
||||||
// patch note: INFORMATION
|
// patch note: INFORMATION
|
||||||
auto quest = mod.quest().open();
|
{
|
||||||
// patch note: add name for SINIGR armor, it was unnamed before (lz)
|
auto quest = mod.quest("ru_RU").open();
|
||||||
quest("INFORMATION", "EQP_ZERO_ARMOR_S_SIN", "NAME") = u8"Îñîáàÿ íóëü-áðîíÿ";
|
// patch note: add name for SINIGR armor, it was unnamed before (lz)
|
||||||
|
quest("INFORMATION", "EQP_ZERO_ARMOR_S_SIN", "NAME") = u8"Îñîáàÿ íóëü-áðîíÿ";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
auto quest = mod.quest("en_US").open();
|
||||||
|
quest("INFORMATION", "EQP_ZERO_ARMOR_S_SIN", "NAME") = u8"Special zero armor";
|
||||||
|
}
|
||||||
|
// more known langs: cs_CZ, de_DE, et_EE, fr_FR
|
||||||
// patch note:
|
// patch note:
|
||||||
|
|
||||||
// patch note: Game Changes
|
// patch note: Game Changes
|
||||||
|
|
@ -236,7 +243,6 @@ int main(int argc, char *argv[]) {
|
||||||
// patch note:
|
// patch note:
|
||||||
// patch note: Have fun!
|
// patch note: Have fun!
|
||||||
db.~files();
|
db.~files();
|
||||||
quest.~files();
|
|
||||||
mod.apply();
|
mod.apply();
|
||||||
|
|
||||||
// patch note:
|
// patch note:
|
||||||
|
|
|
||||||
|
|
@ -312,8 +312,12 @@ struct mod_maker {
|
||||||
db2 db() {
|
db2 db() {
|
||||||
return open_db("db");
|
return open_db("db");
|
||||||
}
|
}
|
||||||
db2 quest() {
|
db2 quest(const std::string &language = {}) {
|
||||||
return open_db("quest");
|
if (language.empty()) {
|
||||||
|
return open_db("quest");
|
||||||
|
} else {
|
||||||
|
return open_db("quest_" + language);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue