Add language-zh.cpp

This commit is contained in:
1iuh authored and liuh committed 2024-08-02 13:33:44 +08:00
1 parent 617f125632
commit 6683d89ebc
5 files changed
+9229 -4

No files matched your search

+4 -1
View File
@@ -16,7 +16,7 @@ EX const string dnameof(eWall w) { return w >= 0 && w < walltypes ? winf[w].name
EX const string dnameof(eItem i) { return i >= 0 && i < ittypes ? iinf[i].name : hr::format("[ITEM %d]", i); }
#if HDR
#define NUMLAN 8
#define NUMLAN 9
struct stringpar {
string v;
@@ -303,6 +303,9 @@ void parrep(string& x, string w, stringpar p) {
rep(x, "%abl"+w, data.abl);
rep(x, "%d"+w, data.abl); // Dativ (which equals Ablative in German)
}
if(l == 8) {
rep(x, "%"+w, data.nom);
}
#endif
if(true) {
// proper names (R'Lyeh)