|
|
|
@ -211,6 +211,36 @@ void Languages::InitErrorMessagesTab()
|
|
|
|
|
InsertErrorPair(ttmath::err_too_big_factorial,"Et for stort argument for factorial() funktionen");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Chinese messages relating to ttmath library
|
|
|
|
|
*/
|
|
|
|
|
error_messages_tab.push_back( std::map<ttmath::ErrorCode, std::string>() );
|
|
|
|
|
|
|
|
|
|
InsertErrorPair(ttmath::err_ok,"确定");
|
|
|
|
|
InsertErrorPair(ttmath::err_nothing_has_read,"");
|
|
|
|
|
InsertErrorPair(ttmath::err_unknown_character,"未知字符");
|
|
|
|
|
InsertErrorPair(ttmath::err_unexpected_final_bracket,"意外多余的括弧"); //
|
|
|
|
|
InsertErrorPair(ttmath::err_stack_not_clear,"未知字符没有清空");
|
|
|
|
|
InsertErrorPair(ttmath::err_unknown_variable,"未知变量");
|
|
|
|
|
InsertErrorPair(ttmath::err_division_by_zero,"除数不能为零");
|
|
|
|
|
InsertErrorPair(ttmath::err_interrupt,"计算被中断");
|
|
|
|
|
InsertErrorPair(ttmath::err_overflow,"数据溢出");
|
|
|
|
|
InsertErrorPair(ttmath::err_unknown_function,"未知函数");
|
|
|
|
|
InsertErrorPair(ttmath::err_unknown_operator,"未知运算符");
|
|
|
|
|
InsertErrorPair(ttmath::err_unexpected_semicolon_operator,"意外的分号运算符");
|
|
|
|
|
InsertErrorPair(ttmath::err_improper_amount_of_arguments,"错误参数数量");
|
|
|
|
|
InsertErrorPair(ttmath::err_improper_argument,"错误参数");
|
|
|
|
|
InsertErrorPair(ttmath::err_unexpected_end,"意外末端");
|
|
|
|
|
InsertErrorPair(ttmath::err_internal_error,"内部错误");
|
|
|
|
|
|
|
|
|
|
InsertErrorPair(ttmath::err_incorrect_name,"错误的变量名或函数名");
|
|
|
|
|
InsertErrorPair(ttmath::err_incorrect_value,"错误的变量值或函数值");
|
|
|
|
|
InsertErrorPair(ttmath::err_variable_exists,"这个变量已经存在");
|
|
|
|
|
InsertErrorPair(ttmath::err_variable_loop,"变量循环");
|
|
|
|
|
InsertErrorPair(ttmath::err_functions_loop,"函数循环");
|
|
|
|
|
InsertErrorPair(ttmath::err_must_be_only_one_value,"变量或函数必须有返回值");
|
|
|
|
|
InsertErrorPair(ttmath::err_still_calculating,"正在计算...");
|
|
|
|
|
InsertErrorPair(ttmath::err_too_big_factorial,"阶乘函数的参数太大");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -346,6 +376,7 @@ void Languages::InitGuiMessagesTab()
|
|
|
|
|
InsertGuiPair(menu_view_lang_polish, "&Polish");
|
|
|
|
|
InsertGuiPair(menu_view_lang_spanish, "&Spanish");
|
|
|
|
|
InsertGuiPair(menu_view_lang_danish, "&Danish");
|
|
|
|
|
InsertGuiPair(menu_view_lang_chinese, "&Chinese");
|
|
|
|
|
InsertGuiPair(menu_view_close_program, "&Close");
|
|
|
|
|
InsertGuiPair(menu_edit_undo, "&Undo");
|
|
|
|
|
InsertGuiPair(menu_edit_paste, "&Paste");
|
|
|
|
@ -477,6 +508,7 @@ void Languages::InitGuiMessagesTab()
|
|
|
|
|
InsertGuiPair(menu_view_lang_polish, "&Polski");
|
|
|
|
|
InsertGuiPair(menu_view_lang_spanish, "&Hiszpañski");
|
|
|
|
|
InsertGuiPair(menu_view_lang_danish, "&Duñski");
|
|
|
|
|
InsertGuiPair(menu_view_lang_chinese, "&Chi駍ki");
|
|
|
|
|
InsertGuiPair(menu_view_close_program, "&Zamknij");
|
|
|
|
|
InsertGuiPair(menu_edit_undo, "&Cofnij");
|
|
|
|
|
InsertGuiPair(menu_edit_paste, "&Wklej");
|
|
|
|
@ -612,6 +644,7 @@ void Languages::InitGuiMessagesTab()
|
|
|
|
|
InsertGuiPair(menu_view_lang_polish, "&Polaco");
|
|
|
|
|
InsertGuiPair(menu_view_lang_spanish, "&Español");
|
|
|
|
|
InsertGuiPair(menu_view_lang_danish, "&Danés"); // 'Danés' is a correct translation for 'Danish'?
|
|
|
|
|
InsertGuiPair(menu_view_lang_chinese, "&Chino"); // 'Chino' is a correct translation for 'Chinese'?
|
|
|
|
|
InsertGuiPair(menu_view_close_program, "&Close");
|
|
|
|
|
InsertGuiPair(menu_edit_undo, "&Deshacer");
|
|
|
|
|
InsertGuiPair(menu_edit_paste, "&Pegar");
|
|
|
|
@ -743,6 +776,7 @@ void Languages::InitGuiMessagesTab()
|
|
|
|
|
InsertGuiPair(menu_view_lang_polish, "&Polsk");
|
|
|
|
|
InsertGuiPair(menu_view_lang_spanish, "&Spansk");
|
|
|
|
|
InsertGuiPair(menu_view_lang_danish, "&Dansk");
|
|
|
|
|
InsertGuiPair(menu_view_lang_chinese, "&Kinesisk"); // 'Kinesisk' is a correct translation for 'Chinese'?
|
|
|
|
|
InsertGuiPair(menu_view_close_program, "&Afslut");
|
|
|
|
|
InsertGuiPair(menu_edit_undo, "&Fortryd");
|
|
|
|
|
InsertGuiPair(menu_edit_paste, "&Sæt ind");
|
|
|
|
@ -788,6 +822,135 @@ void Languages::InitGuiMessagesTab()
|
|
|
|
|
InsertGuiPair(cant_open_project_page, "Projekt siden kunne ikke åbnes");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Chinese gui messages
|
|
|
|
|
*/
|
|
|
|
|
gui_messages_tab.push_back( std::map<GuiMsg, std::string>() );
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(button_ok,"确定");
|
|
|
|
|
InsertGuiPair(button_cancel,"取消");
|
|
|
|
|
InsertGuiPair(message_box_caption,"TTCalc");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(dialog_box_add_variable_caption,"添加新变量");
|
|
|
|
|
InsertGuiPair(dialog_box_edit_variable_caption,"编辑变量");
|
|
|
|
|
InsertGuiPair(dialog_box_add_variable_incorrect_name,"错误的变量名");
|
|
|
|
|
InsertGuiPair(dialog_box_add_variable_incorrect_value,"错误的变量值");
|
|
|
|
|
InsertGuiPair(dialog_box_add_variable_variable_exists,"这个变量已经存在");
|
|
|
|
|
InsertGuiPair(dialog_box_edit_variable_unknown_variable,"表格中没有此变量。可能是内部错误!");
|
|
|
|
|
InsertGuiPair(dialog_box_delete_variable_confirm,"你确定要删除这些变量吗?");
|
|
|
|
|
InsertGuiPair(dialog_box_variable_not_all_deleted,"一些变量不能删除。可能是内部错误!");
|
|
|
|
|
InsertGuiPair(dialog_box_add_function_caption,"添加新函数");
|
|
|
|
|
InsertGuiPair(dialog_box_edit_function_caption,"编辑函数");
|
|
|
|
|
InsertGuiPair(dialog_box_add_function_function_exists,"这个函数已经存在");
|
|
|
|
|
InsertGuiPair(dialog_box_edit_function_unknown_function,"表格中没有此函数。可能是内部错误!");
|
|
|
|
|
InsertGuiPair(dialog_box_delete_function_confirm,"你确定要删除这些函数吗?");
|
|
|
|
|
InsertGuiPair(dialog_box_function_not_all_deleted,"一些函数不能删除。可能是内部错误!");
|
|
|
|
|
InsertGuiPair(dialog_box_add_function_incorrect_name,"错误的函数名");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(list_variables_header_1,"名称");
|
|
|
|
|
InsertGuiPair(list_variables_header_2,"值");
|
|
|
|
|
InsertGuiPair(list_functions_header_1,"名称");
|
|
|
|
|
InsertGuiPair(list_functions_header_2,"编号");
|
|
|
|
|
InsertGuiPair(list_functions_header_3,"值");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(button_add,"添加");
|
|
|
|
|
InsertGuiPair(button_edit,"编辑");
|
|
|
|
|
InsertGuiPair(button_delete,"删除");
|
|
|
|
|
InsertGuiPair(button_clear,"C");
|
|
|
|
|
InsertGuiPair(tab_standard,"标准");
|
|
|
|
|
InsertGuiPair(tab_variables,"变量");
|
|
|
|
|
InsertGuiPair(tab_functions,"函数");
|
|
|
|
|
InsertGuiPair(tab_precision,"精度");
|
|
|
|
|
InsertGuiPair(tab_display,"显示");
|
|
|
|
|
InsertGuiPair(tab_convert,"转换");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(radio_precision_1,"小 - 96 bits 尾数, 32 bits 指数");
|
|
|
|
|
InsertGuiPair(radio_precision_2,"中 - 288 bits 尾数, 64 bits 指数");
|
|
|
|
|
InsertGuiPair(radio_precision_3,"大 - 864 bits 尾数, 128 bits for 指数");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(precision_1_info,"(+/-)6.9 e+646457021, 26位有效数字(十进制)");
|
|
|
|
|
InsertGuiPair(precision_2_info,"(+/-)3.4e+2776511644261678652, 85位有效数字");
|
|
|
|
|
InsertGuiPair(precision_3_info,"(+/-)6.7e+51217599719369681875006054625051616609, 258位有效数字");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(overflow_during_printing,"打印时数据溢出");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(combo_rounding_none,"无");
|
|
|
|
|
InsertGuiPair(combo_rounding_integer,"整数");
|
|
|
|
|
InsertGuiPair(combo_rounding_to_number,"转换");
|
|
|
|
|
InsertGuiPair(combo_rounding_after_comma,"位数");
|
|
|
|
|
InsertGuiPair(check_remove_zeroes,"去掉尾随零");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(display_input, "输入");
|
|
|
|
|
InsertGuiPair(display_output, "输出");
|
|
|
|
|
InsertGuiPair(display_rounding, "四舍五入");
|
|
|
|
|
InsertGuiPair(display_always_scientific,"一直");
|
|
|
|
|
InsertGuiPair(display_not_always_scientific,"当指数大于:");
|
|
|
|
|
InsertGuiPair(display_group_scientific, "按科学计数法打印结果");
|
|
|
|
|
InsertGuiPair(display_decimal_point, "小数点");
|
|
|
|
|
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
|
|
|
|
InsertGuiPair(convert_type, "类型");
|
|
|
|
|
InsertGuiPair(convert_input, "输入");
|
|
|
|
|
InsertGuiPair(convert_output, "输出");
|
|
|
|
|
InsertGuiPair(convert_dynamic_output, "自动");
|
|
|
|
|
|
|
|
|
|
InsertGuiPair(menu_view, "&查看");
|
|
|
|
|
InsertGuiPair(menu_edit, "&编辑");
|
|
|
|
|
InsertGuiPair(menu_help, "&帮助");
|
|
|
|
|
InsertGuiPair(menu_language, "&语言");
|
|
|
|
|
InsertGuiPair(menu_view_new_window, "&新窗口");
|
|
|
|
|
InsertGuiPair(menu_view_normal_view, "&普通视图");
|
|
|
|
|
InsertGuiPair(menu_view_compact_view, "&迷你视图");
|
|
|
|
|
InsertGuiPair(menu_view_always_on_top, "&总在最前");
|
|
|
|
|
InsertGuiPair(menu_view_lang_english, "&English");
|
|
|
|
|
InsertGuiPair(menu_view_lang_polish, "&Polish");
|
|
|
|
|
InsertGuiPair(menu_view_lang_spanish, "&Spanish");
|
|
|
|
|
InsertGuiPair(menu_view_lang_danish, "&Danish");
|
|
|
|
|
InsertGuiPair(menu_view_lang_chinese, "&Chinese");
|
|
|
|
|
InsertGuiPair(menu_view_close_program, "&关闭");
|
|
|
|
|
InsertGuiPair(menu_edit_undo, "&取消");
|
|
|
|
|
InsertGuiPair(menu_edit_paste, "&粘贴");
|
|
|
|
|
InsertGuiPair(menu_edit_copy_result, "&复制结果");
|
|
|
|
|
InsertGuiPair(menu_help_help, "&帮助");
|
|
|
|
|
InsertGuiPair(menu_help_project_page, "&软件主页");
|
|
|
|
|
InsertGuiPair(menu_help_about, "&关于");
|
|
|
|
|
InsertGuiPair(cant_init_calculations, "不能初始化计算器模型");
|
|
|
|
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
|
|
|
|
InsertGuiPair(cant_create_thread, "不能创建两个线程来运算");
|
|
|
|
|
InsertGuiPair(cant_create_main_window, "不能创建应用程序主窗口");
|
|
|
|
|
InsertGuiPair(cant_init_common_controls,"不能初始化通用控件(InitCommonControlsEx)");
|
|
|
|
|
InsertGuiPair(about_text,
|
|
|
|
|
"Mathematical calculator TTCalc %d.%d.%d%s%s\r\n"
|
|
|
|
|
"Author: Tomasz Sowa\r\n"
|
|
|
|
|
"Contact: t.sowa@ttmath.org\r\n"
|
|
|
|
|
"Licence: BSD (open source)\r\n"
|
|
|
|
|
"Project page: http://ttcalc.sourceforge.net\r\n"
|
|
|
|
|
"Bignum library: TTMath %d.%d.%d%s\r\n"
|
|
|
|
|
"Programming language: C++\r\n"
|
|
|
|
|
"Compiler: %s\r\n"
|
|
|
|
|
"%s" // for upx
|
|
|
|
|
"\r\n"
|
|
|
|
|
"TTCalc uses the TTMath bignum library"
|
|
|
|
|
" which can be found at http://sourceforge.net/projects/ttmath\r\n"
|
|
|
|
|
"\r\n"
|
|
|
|
|
#ifdef TTCALC_PORTABLE
|
|
|
|
|
"This is the portable version of the program TTCalc. In this version "
|
|
|
|
|
"you can calculate only with one kind of precision (96 bits for the "
|
|
|
|
|
"mantissa and 32 bits for the exponent) it's about +/-6.9e+646457021.\r\n"
|
|
|
|
|
"\r\n"
|
|
|
|
|
#endif
|
|
|
|
|
"If you have any questions, advices or interesting ideas about"
|
|
|
|
|
" this program or if you want to join to this project as"
|
|
|
|
|
" a developer or a programmer feel free to contant with the author."
|
|
|
|
|
);
|
|
|
|
|
InsertGuiPair(about_text_portable_version, " portable version");
|
|
|
|
|
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
|
|
|
|
InsertGuiPair(about_box_title, "关于");
|
|
|
|
|
InsertGuiPair(about_box_button_close, "关闭");
|
|
|
|
|
InsertGuiPair(unknown_error, "发生未知错误");
|
|
|
|
|
InsertGuiPair(cant_find_help, "没有找到帮助文件");
|
|
|
|
|
InsertGuiPair(cant_open_project_page, "不能打开软件主页");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|