Chinese ASCII option

This commit is contained in:
Zeno Rogue committed 2024-10-05 13:03:29 +02:00
1 parent 2a92a3cfed
commit 96d5eb4127
6 files changed
+86 -23

No files matched your search

+15
View File
@@ -390,6 +390,21 @@ EX string XLAT(string x, stringpar p1, stringpar p2, stringpar p3, stringpar p4,
return x;
}
EX const char* XLAT1_to(string x, int language) {
#if CAP_TRANS
const fullnoun *N = findInHashTable(x, all_nouns);
if(N) return N->n[7].nom;
#endif
return nullptr;
}
EX const char* XLAT1_acc(string x, int language) {
#if CAP_TRANS
const fullnoun *N = findInHashTable(x, all_nouns);
if(N) return N->n[7].acc;
#endif
return nullptr;
}
EX string XLATN(string x) {
#if CAP_TRANS