mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Cfg: Standardize rest of cfg keys
This commit is contained in:
@@ -34,7 +34,7 @@ public class Xoa_sys_cfg implements Gfo_invk {
|
||||
app.Cfg().Type_mgr().Lists__add("list:" + Cfg__lang, Options_list_lang_.new_());
|
||||
app.Cfg().Bind_many_app(this, Cfg__lang);
|
||||
}
|
||||
private static final String Cfg__lang = "xowa.gui.lang.name";
|
||||
private static final String Cfg__lang = "xowa.gui.app.lang";
|
||||
public int Options_version() {return options_version;} public Xoa_sys_cfg Options_version_(int v) {options_version = v; return this;} private int options_version = 1;
|
||||
public Keyval[] Options_lang_list() {if (options_lang_list == null) options_lang_list = Options_list_lang_.new_(); return options_lang_list;} private Keyval[] options_lang_list;
|
||||
public long Free_mem_when() {return free_mem_when;} long free_mem_when;
|
||||
|
||||
@@ -116,22 +116,25 @@ public class Xoa_prog_mgr implements Gfo_invk {
|
||||
}
|
||||
private static final String Invk_convert_tex_to_dvi = "convert_tex_to_dvi", Invk_convert_dvi_to_png = "convert_dvi_to_png";
|
||||
private static final String
|
||||
Cfg__web = "xowa.app.content_apps.web"
|
||||
, Cfg__media = "xowa.app.content_apps.media"
|
||||
, Cfg__image = "xowa.app.content_apps.image"
|
||||
, Cfg__svg = "xowa.app.content_apps.svg"
|
||||
, Cfg__pdf = "xowa.app.content_apps.pdf"
|
||||
, Cfg__djvu = "xowa.app.content_apps.djvu"
|
||||
, Cfg__bz2__stdout_cmd = "xowa.wiki.import.bz2.stdout_cmd"
|
||||
, Cfg__bz2 = "xowa.wiki.import.apps.bz2"
|
||||
, Cfg__gz = "xowa.wiki.import.apps.gz"
|
||||
, Cfg__query_size = "xowa.wiki.files.apps.query_size"
|
||||
, Cfg__resize_img = "xowa.wiki.files.apps.resize_img"
|
||||
, Cfg__convert_svg_to_png = "xowa.wiki.files.apps.convert_svg_to_png"
|
||||
, Cfg__convert_djvu_to_tiff = "xowa.wiki.files.apps.convert_djvu_to_tiff"
|
||||
, Cfg__convert_tex_to_dvi = "xowa.addon.math.apps.convert_tex_to_dvi"
|
||||
, Cfg__convert_dvi_to_png = "xowa.addon.math.apps.convert_dvi_to_png"
|
||||
Cfg__web = "xowa.files.apps.view.web"
|
||||
, Cfg__media = "xowa.files.apps.view.media"
|
||||
, Cfg__image = "xowa.files.apps.view.image"
|
||||
, Cfg__svg = "xowa.files.apps.view.svg"
|
||||
, Cfg__pdf = "xowa.files.apps.view.pdf"
|
||||
, Cfg__djvu = "xowa.files.apps.view.djvu"
|
||||
|
||||
, Cfg__query_size = "xowa.files.apps.make.img_size_get"
|
||||
, Cfg__resize_img = "xowa.files.apps.make.img_size_set"
|
||||
, Cfg__convert_svg_to_png = "xowa.files.apps.make.svg_to_png"
|
||||
, Cfg__convert_djvu_to_tiff = "xowa.files.apps.make.djvu_to_tiff"
|
||||
|
||||
, Cfg__bz2__stdout_cmd = "xowa.bldr.import.apps.bz2_stdout.cmd"
|
||||
, Cfg__bz2 = "xowa.bldr.import.apps.bz2"
|
||||
, Cfg__gz = "xowa.bldr.import.apps.gz"
|
||||
|
||||
, Cfg__lua = "xowa.addon.scribunto.lua.cmd"
|
||||
, Cfg__convert_tex_to_dvi = "xowa.addon.math.apps.tex_to_dvi"
|
||||
, Cfg__convert_dvi_to_png = "xowa.addon.math.apps.dvi_to_png"
|
||||
, Cfg__lilypond = "xowa.addon.score.apps.lilypond"
|
||||
, Cfg__abc2ly = "xowa.addon.score.apps.abc2ly"
|
||||
, Cfg__trim_img = "xowa.addon.score.apps.trim_img"
|
||||
|
||||
@@ -147,5 +147,4 @@ public class Http_server_mgr implements Gfo_invk {
|
||||
private static final String
|
||||
Cfg__port = "xowa.addon.http_server.port"
|
||||
, Cfg__file_retrieve_mode = "xowa.addon.http_server.file_retrieve_mode";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user