add measure words and fix missing translations in language-zh.cpp

This commit is contained in:
1iuh
2024-08-06 12:40:40 +08:00
committed by liuh
parent 6683d89ebc
commit 655dc115d7
3 changed files with 462 additions and 486 deletions
+2 -2
View File
@@ -294,14 +294,14 @@ void langZH() {
current_language = "ZH";
static std::pair<const char *, const char *> ds[] = {
#define S(a,b) { a, b },
#define N(a,b,c)
#define N(a,b,c,d)
#include "language-zh.cpp"
#undef N
#undef S
};
static std::pair<const char *, noun2> ns[] = {
#define S(a,b)
#define N(a,b,c) { a, noun2{ b, c, c, c, c } },
#define N(a,b,c,d) { a, noun2{ b, c, c, c, d } },
#include "language-zh.cpp"
#undef N
#undef S