2 Copyright 2013 Karel Matas
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 namespace aoi_config
{
26 data_
["log/level"] = {"message",
27 "Possible values: none, message, warning, error, debug", STRING
};
29 data_
["db/file_main"] = {"main.db","Name of the main database file.", STRING
};
30 data_
["db/file_user"] = {"user.db","Name of the user database file.", STRING
};
32 data_
["font/base_size"] = {"14",
33 "Base size of the text in pixels. (Most other size is based on this value)", INT
};
34 data_
["font/kanji"] = {"HanaMinA",
35 "This font should cover at least ASCII and JIS X 208. "\
36 "Recommended: MS PMincho, MS Mincho (at least one MS font should be present in Windows XP and higher) or hanazono (variant HanaMinA, http://fonts.jp/hanazono/", FONT
};
38 data_
["color/foreground"] = {"0x00000000","Text color. Default: black",COLOR
};
39 data_
["color/background"] = {"0xbebebe00","Background color of widgets. Default: gray",COLOR
};
40 data_
["color/background2"] = {"0xffffff00","Alternative background color of widgets (background of fields). Default: white.",COLOR
};
41 data_
["color/selection"] = {"0x00008b00","Selection color: Default: dark blue",COLOR
};
42 data_
["color/frequent"] = {"0x0000ff00",
43 "Color of the frequent readings and kanji. Default: blue",COLOR
};
44 data_
["color/misc"] = {"0x0000ff00",
45 "Color of the misc data (). Default: blue",COLOR
};
46 data_
["color/field"] = {"0x00ff0000",
47 "Color of the field data (comp, ling, ...). Default: green",COLOR
};
48 data_
["color/pos"] = {"0xff000000",
49 "Color of the part-of-speech data (n,adj,exp,...). Default: red",COLOR
};
51 data_
["sources/url_database"] = {"http://aoi.souko.cz/downloads/main.db.gz",
52 "URL for downloading database", STRING
},
53 data_
["sources/url_jmdict"] = {"http://ftp.monash.edu.au/pub/nihongo/JMdict_e.gz",
54 "URL for downloading JMdict.", STRING
};
55 data_
["sources/url_kanjidic"] = {"http://www.csse.monash.edu.au/~jwb/kanjidic2/kanjidic2.xml.gz",
56 "URL for downloading kanjidic2.",STRING
};
57 data_
["sources/help_index"] = {"help/index.html",
58 "Path to help index.",STRING
};
60 data_
["knj/min_compo_count"] = {"10","INTERNAL. Components with count lower then this value will be not shown in component view.",INT
};
61 data_
["knj/jis208_only"] = {"1","INTERNAL. State of the 'JIS X 208 only checkbox.'",BOOL
};
62 data_
["dic/input_parser_warning"] = {"10","INTERNAL. How much kanji in andvanced search will trigger warning.",INT
};
67 } // namespace aoi_config