LibreTranslatePlus/JSON/LibreTranslatePlus.py.settings.json

209 lines
9.0 KiB
JSON
Raw Normal View History

[
"LibreTranslatePlus_start", {
"autostart" : true,
"print_format" : "[{type}] {yyyy}{mm}{dd} {hh}{ii}{ss} {line}-{file}({method}): {message}",
"overwrite" : false,
"show_error_message" : true,
"show_ok_message" : false,
"show_exception_message" : true,
"show_info_message" : true,
"show_save_file_exception_message" : true,
"show_save_file_error_message" : true,
"show_save_file_ok_message" : false
}, "LibreTranslatePlus_end",
"LibreTranslatePlus_Settings_start", {
"nulls" : false,
"default_value" : null,
"overwrite_settings" : false,
"default_settings_files" : [
"/JSON/LibreTranslatePlus.py.settings.json",
"/JSON/LibreTranslatePlus.py.settings.secrets.json"
],
"show_exception" : false,
"settings_show_exception" : true
}, "LibreTranslatePlus_Settings_end",
"LibreTranslatePlus_I18N_start", {
"default_text" : "",
"unknown_language" : "UNKNOWN",
"default_language" : "english",
"overwrite_i18n" : false,
"i18n_show_exception" : true,
"default_i18n_files" : [
"/JSON/I18N/LibreTranslatePlus.py.i18n.english.json",
"/JSON/I18N/LibreTranslatePlus.py.i18n.espanol.json",
"/JSON/I18N/LibreTranslatePlus.py.i18n.galego.json",
"/JSON/I18N/LibreTranslatePlus.py.i18n.russkiy.json",
"/JSON/I18N/LibreTranslatePlus.py.i18n.nihongo.json"
],
"default_codes_keys" : {
"en" : "english",
"ar" : "alarabiyah",
"az" : "azerbaycanca",
"ca" : "catala",
"zh" : "zhongwen",
"cs" : "cestina",
"da" : "dansk",
"nl" : "nederlands",
"eo" : "esperanto",
"fi" : "suomi",
"fr" : "francais",
"de" : "deutsch",
"el" : "ellinika",
"he" : "ivrit",
"hi" : "hindi",
"hu" : "magyar",
"id" : "indonesia",
"ga" : "gaeilge",
"it" : "italiano",
"ja" : "nihongo",
"ko" : "hangugeo",
"fa" : "farsi",
"pl" : "polski",
"pt" : "portugues",
"ru" : "russkiy",
"sk" : "slovencina",
"es" : "espanol",
"sv" : "svenska",
"th" : "thai",
"tr" : "turkce",
"uk" : "ukrainska",
"gl" : "galego"
},
"i18n_show_code_key_exception_message" : true,
"i18n_show_code_key_error_message" : true,
"i18n_show_code_key_ok_message" : false,
"i18n_show_code_error_message" : true,
"i18n_show_code_ok_message" : false,
"i18n_show_key_error_message" : true,
"i18n_show_key_ok_message" : false,
"i18n_show_validate_language_error_message" : true,
"i18n_show_validate_language_ok_message" : false
}, "LibreTranslatePlus_I18N_end",
"LibreTranslatePlus_Threads_start", {
"__comments__" : [
"The timer 16.67 is iqual to 60 FPS more or less.",
"The 'start_now' sais the thread will be executed in time."
],
"threads_autostart" : true,
"threads_timer" : 16.67,
"threads_subtimer" : 16.67,
"threads_start_now" : true,
"threads_bucle" : true,
"threads_show_add_error_message" : true,
"threads_show_add_ok_message" : false,
"threads_show_add_exception_message" : true,
"threads_show_remove_error_message" : true,
"threads_show_remove_ok_message" : false,
"threads_show_remove_exception_message" : true,
"threads_show_removing_all_exception_message" : true,
"threads_show_remove_all_exception_message" : true,
"threads_show_play_error_message" : true,
"threads_show_play_ok_message" : false,
"threads_show_play_exception_message" : true,
"threads_show_stop_error_message" : true,
"threads_show_stop_ok_message" : false,
"threads_show_stop_exception_message" : true
}, "LibreTranslatePlus_Threads_end",
"LibreTranslatePlus_Terminal_start", {
"default_commands" : {
"close" : {
"method" : "close",
"aliases" : ["exit", "bye"]
},
"translate" : {
"method" : "connections._translate_command"
},
"echo" : {
"method" : "_echo",
"aliases" : ["print"]
},
"languages" : {
"method" : "connections._languages_command"
}
},
"terminal_overwrite" : false,
"terminal_show_exception" : true,
"terminal_show_add_command_error_message" : true,
"terminal_show_add_command_ok_message" : false,
"terminal_show_add_command_exception_message" : true
}, "LibreTranslatePlus_Terminal_end",
"LibreTranslatePlus_Connections_start", {
"connections_overwrite" : false,
"connections_show_add_exception_message" : true,
"connections_show_add_error_message" : true,
"connections_show_add_ok_message" : true,
"connections_show_get_error_message" : true,
"connections_show_get_ok_message" : false,
"connections_show_exception_message" : true,
"connections_unknown_driver" : "UNKNOWN"
}, "LibreTranslatePlus_Connections_end",
"LibreTranslatePlus_Drivers_LibreTranslate_start", {
"drivers_libre_translate_variables_format" : " -H 'Context-Type: application/x-www-form-urlencoded' -d '{uri_variables}'",
"drivers_libre_translate_query_format" : "curl -s -H 'accept: application/json'{variables} -X {method} {url}{request}",
"drivers_libre_translate_default_format" : "text",
"drivers_libre_translate_default_api_key" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"drivers_libre_translate_default_url" : "http://127.0.0.1:5000",
"drivers_libre_translate_show_build_error_message" : true,
"drivers_libre_translate_show_build_ok_message" : true,
"drivers_libre_translate_show_query_error_message" : true,
"drivers_libre_translate_show_query_ok_message" : false,
"drivers_libre_translate_show_query_exception_message" : true,
"drivers_libre_translate_show_translate_error_message" : true,
"drivers_libre_translate_show_translate_ok_message" : false,
"drivers_libre_translate_autoload" : true
}, "LibreTranslatePlus_Drivers_LibreTranslate_end",
"LibreTranslatePlus_Models_start", {
"models_overwrite" : false,
"models_show_exception" : true,
"models_show_validate_paths_error_message" : true,
"models_show_validate_paths_ok_message" : false,
"models_show_validate_path_error_message" : true,
"models_show_validate_path_ok_message" : false,
"models_show_set_error_message" : true,
"models_show_set_ok_message" : false,
"models_show_set_exception_message" : true,
"model_unknown_name" : "UNKNOWN",
"models_autolaunch" : true,
"models_default_timer" : 8000
}, "LibreTranslatePlus_Models_end",
"LibreTranslatePlus_Abstracts_Models_start", {
"abstracts_models_show_build_error_message" : true,
"abstracts_models_show_build_ok_message" : true
}, "LibreTranslatePlus_Abstracts_Models_end",
"LibreTranslatePlus_Models_KJSON_start", {
"models_kjson_separators" : [", ", " : "],
"models_kjson_indent" : 4,
"models_kjson_ascii" : false,
"models_kjson_cache_directory" : "/Data/cache",
"models_kjson_show_load_cache_exception_message" : true,
"models_kjson_show_load_cache_error_message" : true,
"models_kjson_show_load_cache_ok_message" : false,
"models_kjson_show_load_cache_info_message" : false,
"models_kjson_key_name" : "MKVB",
"models_kjson_default_variables_pattern2" : "([\\'\"]\\{([a-zA-Z0-9_]+)\\}[\\'\"]|\\{([a-zA-Z0-9_]+)\\})(\\.$)?",
"models_kjson_default_variables_pattern" : "([\\'\"]\\{([a-zA-Z0-9_]+)\\}[\\'\"]|\\{([a-zA-Z0-9_]+)\\})",
"models_kjson_protected_fragments" : "'\\{file\\}\\(\\{method\\}\\)\\[\\{line\\}\\]'\\{lines\\}\\n+\\{exception_message\\}",
"models_kjson_splitted_sentences_minimum_length" : 150,
"models_kjson_fragment_maximum_length" : 65,
"models_kjson_default_language_key" : "english",
"models_kjson_allow_blocks" : true,
"models_kjson_show_key_processing_message" : true,
"models_kjson_show_are_changes_message" : true,
"models_kjson_show_saving_language_message" : true,
"models_kjson_show_saving_cache_message" : true,
"models_kjson_show_only_key_with_changes" : true,
"models_kjson_key_name_length" : 8,
"models_kjson_key_name_characters" : "QRTYPSDFGHKLZXCVBNM"
}, "LibreTranslatePlus_Models_KJSON_end"
]