mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
Add language-zh.cpp
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user