1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

ParserFunctions: Add ParserFunction for PageLanguage [#595]

This commit is contained in:
gnosygnu
2019-10-13 16:52:32 -04:00
parent c67970b5b9
commit bc976ac300
5 changed files with 83 additions and 1 deletions

View File

@@ -275,5 +275,6 @@ kwd_mgr.New(Bool_.N, Xol_kwd_grp_.Id_categorytree, "#categorytree");
kwd_mgr.New(Bool_.N, Xol_kwd_grp_.Id_assessment, "#assessment");
kwd_mgr.New(Bool_.N, Xol_kwd_grp_.Id_statements, "#statements");
kwd_mgr.New(Bool_.N, Xol_kwd_grp_.Id_translation, "#translation");
kwd_mgr.New(Bool_.Y, Xol_kwd_grp_.Id_pagelanguage, "PAGELANGUAGE");
}
}

View File

@@ -237,8 +237,9 @@ public static final int
, Id_ttl_root_url = 217
, Id_statements = 218
, Id_translation = 219
, Id_pagelanguage = 220
;
public static final int Id__max = 220;
public static final int Id__max = 221;
private static byte[] ary_itm_(int id) {
switch (id) {
@@ -462,6 +463,7 @@ case Xol_kwd_grp_.Id_categorytree: return Bry_.new_u8("categorytree");
case Xol_kwd_grp_.Id_assessment: return Bry_.new_u8("assessment");
case Xol_kwd_grp_.Id_statements: return Bry_.new_u8("statements");
case Xol_kwd_grp_.Id_translation: return Bry_.new_u8("translation");
case Xol_kwd_grp_.Id_pagelanguage: return Bry_.new_u8("pagelanguage");
default: throw Err_.new_unhandled(id);
}
}