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

Cfg: Add 'Gui - Menus'

This commit is contained in:
gnosygnu
2016-12-23 13:48:41 -05:00
parent 3177979558
commit 1ffc4191a8
8 changed files with 121 additions and 308 deletions

View File

@@ -37,7 +37,7 @@ public class Xocfg_dflt_mgr {
}
public void Add(Gfo_invk invk, String... keys) {
for (String key : keys) {
hash.Add(key, invk);
hash.Add_if_dupe_use_nth(key, invk);
}
}
}

View File

@@ -66,6 +66,7 @@ public class Xoedit_itm implements Xoedit_nde, Mustache_doc_itm {
rv.Add_int("id", id);
rv.Add_str("key", key);
rv.Add_str("dflt", dflt);
rv.Add_str("dflt_text", String_.Replace(dflt, "'", "'"));
rv.Add_str("lang", lang);
rv.Add_str("name", name);
rv.Add_str("help", help);