Browse Source

updated: Chinese translation

changed: release script now creates *.zip files instead of *.tar.gz


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@346 e52654a7-88a9-db11-a3e9-0013d4bc506e
master
Tomasz Sowa 11 years ago
parent
commit
c4bcecc029
  1. 6
      CHANGELOG
  2. 23
      makerelease.sh
  3. 64
      src/languages.cpp

6
CHANGELOG

@ -1,12 +1,14 @@
Version 0.9.3 prerelease (2011.03.07):
Version 0.9.3 prerelease (2011.05.29):
* added: German translation made by
Moritz Beleites <morbel at gmx.net>
* added: on display tab: an option how many digits should be grouped
* changed: the way how buttons on display tab work
suppose we have "123+34+56" in the first edit, then select
(bo mouse or a keyboard) "123+34" similar as you would like
(by mouse or a keyboard) "123+34" similar as you would like
to copy them to the clipboard, then press a button let we say
"sin" - the result is: "sin(123+34)+56"
* updated: Chinese translation
Version 0.9.2 (2010.09.24):
* added: Italian translation made by

23
makerelease.sh

@ -103,9 +103,9 @@ fi
if [ $d = "y" -o $d = "Y" ]
then
ntar="$n-bin.$datestr.tar.gz";
ntar="$n-bin.$datestr.zip";
else
ntar="$n-bin.tar.gz";
ntar="$n-bin.zip";
fi
mkdir $n
@ -114,7 +114,8 @@ cp ../src/ttcalc.exe $n
cp ../COPYRIGHT $n
cp ../README $n
cp ../CHANGELOG $n
tar -zcf $ntar $n
#tar -zcf $ntar $n
zip -r -9 $ntar $n
rm -r $n
@ -169,9 +170,9 @@ fi
if [ $d = "y" -o $d = "Y" ]
then
ntar="$n-bin.$datestr.tar.gz";
ntar="$n-bin.$datestr.zip";
else
ntar="$n-bin.tar.gz";
ntar="$n-bin.zip";
fi
mkdir $n
@ -182,7 +183,8 @@ mv ttcalc.chm $n
cp ../COPYRIGHT $n
cp ../README $n
cp ../CHANGELOG $n
tar -zcf $ntar $n
#tar -zcf $ntar $n
zip -r -9 $ntar $n
rm -r $n
@ -203,9 +205,9 @@ fi
if [ $d = "y" -o $d = "Y" ]
then
ntar="$n-src.$datestr.tar.gz";
ntar="$n-src.$datestr.zip";
else
ntar="$n-src.tar.gz";
ntar="$n-src.zip";
fi
@ -239,7 +241,8 @@ cp ../COPYRIGHT $n/ttcalc
cp ../README $n/ttcalc
cp ../CHANGELOG $n/ttcalc
tar -zcf $ntar $n
#tar -zcf $ntar $n
zip -r -9 $ntar $n
rm -r $n
@ -259,7 +262,7 @@ echo "---------" >> note.txt
cat ../CHANGELOG >> note.txt
rm note.txt.md5
unix2dos -o note.txt
unix2dos note.txt
echo "done"
exit 0

64
src/languages.cpp

@ -220,7 +220,7 @@ void Languages::InitErrorMessagesTab()
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_stack_not_clear,"堆栈没有清空");
InsertErrorPair(ttmath::err_unknown_variable,"未知变量");
InsertErrorPair(ttmath::err_division_by_zero,"除数不能为零");
InsertErrorPair(ttmath::err_interrupt,"计算被中断");
@ -594,7 +594,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " portable version");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "About");
InsertGuiPair(about_box_button_close, "Close");
InsertGuiPair(unknown_error, "An unknown error has occurred");
@ -801,7 +801,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " wersja portable");
InsertGuiPair(about_text_exe_packer, "Paker exe: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "Paker exe: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "O programie");
InsertGuiPair(about_box_button_close, "Zamknij");
InsertGuiPair(unknown_error, "Nieznany kod b酬du");
@ -1013,7 +1013,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " versi髇 portatil");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "Acerca de");
InsertGuiPair(about_box_button_close, "Cerrar");
InsertGuiPair(unknown_error, "Ocurri� un error desconocido");
@ -1223,7 +1223,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " transportabel version");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "Om");
InsertGuiPair(about_box_button_close, "Luk");
InsertGuiPair(unknown_error, "Der er sket en ukendt fejl");
@ -1283,13 +1283,13 @@ void Languages::InitGuiMessagesTab()
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_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_add_function_function_exists,"此函数已存在");
InsertGuiPair(dialog_box_edit_function_unknown_function,"表格中没有此函数。可能是内部错误!");
InsertGuiPair(dialog_box_delete_function_confirm,"你确定要删除这些函数吗?");
InsertGuiPair(dialog_box_function_not_all_deleted,"一些函数不能删除。可能是内部错误!");
@ -1297,9 +1297,9 @@ void Languages::InitGuiMessagesTab()
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(list_functions_header_1,"函数");
InsertGuiPair(list_functions_header_2,"参数个数");
InsertGuiPair(list_functions_header_3,"表达式");
InsertGuiPair(button_add,"添加");
InsertGuiPair(button_edit,"编辑");
@ -1312,9 +1312,9 @@ void Languages::InitGuiMessagesTab()
InsertGuiPair(tab_display,"显示");
InsertGuiPair(tab_convert,"转换");
InsertGuiPair(radio_precision_1,"小 - 96 bits 尾数, 32 bits 指数");
InsertGuiPair(radio_precision_2,"中 - 512 bits 尾数, 64 bits 指数");
InsertGuiPair(radio_precision_3,"大 - 1024 bits 尾数, 128 bits for 指数");
InsertGuiPair(radio_precision_1,"小 - 96 位 尾数, 32位 指数");
InsertGuiPair(radio_precision_2,"中 - 512 位 尾数, 64位 指数");
InsertGuiPair(radio_precision_3,"大 - 1024 位 尾数, 128位 指数");
InsertGuiPair(precision_1_info,"(+/-)6.97...e+646457021, 26位有效数字(十进制)");
@ -1360,7 +1360,7 @@ void Languages::InitGuiMessagesTab()
InsertGuiPair(menu_view_normal_view, "&普通视图");
InsertGuiPair(menu_view_compact_view, "&迷你视图");
InsertGuiPair(menu_view_always_on_top, "&总在最前");
InsertGuiPair(menu_view_pad, "粘贴板");
InsertGuiPair(menu_view_pad, "&文本计算器");
InsertGuiPair(menu_view_lang_english, "&英语");
InsertGuiPair(menu_view_lang_polish, "&波兰语");
InsertGuiPair(menu_view_lang_spanish, "&西班牙语");
@ -1368,8 +1368,8 @@ void Languages::InitGuiMessagesTab()
InsertGuiPair(menu_view_lang_chinese, "&简体中文");
InsertGuiPair(menu_view_lang_russian, "&俄语");
InsertGuiPair(menu_view_lang_swedish, "&瑞典语");
InsertGuiPair(menu_view_lang_italian, "&Italian");
InsertGuiPair(menu_view_lang_german, "&German"); // to translate
InsertGuiPair(menu_view_lang_italian, "&意大利语");
InsertGuiPair(menu_view_lang_german, "&德语");
InsertGuiPair(menu_view_close_program, "&关闭");
InsertGuiPair(menu_edit_undo, "&取消 \tCtrl+Z");
InsertGuiPair(menu_edit_cut, "&剪切 \tCtrl+X");
@ -1381,7 +1381,7 @@ void Languages::InitGuiMessagesTab()
InsertGuiPair(menu_edit_copy_result, "&复制结果 \tCtrl+R");
InsertGuiPair(menu_edit_select_all, "&全选\tEsc");
InsertGuiPair(menu_edit_bracket, "&加括号 \tCtrl+0"); // inserting brackets: (...)
InsertGuiPair(menu_edit_swap, "&Swap \tCtrl+W"); // swapping input edit for output edit
InsertGuiPair(menu_edit_swap, "&输入计算结果 \tCtrl+W"); // swapping input edit for output edit
InsertGuiPair(menu_help_help, "&帮助");
InsertGuiPair(menu_help_project_page, "&软件主页");
InsertGuiPair(menu_help_about, "&关于");
@ -1392,9 +1392,9 @@ void Languages::InitGuiMessagesTab()
InsertGuiPair(cant_init_calculations, "不能初始化计算器模型");
InsertGuiPair(message_box_error_caption,"TTCalc");
InsertGuiPair(cant_create_thread, "不能创建两个线程来运算");
InsertGuiPair(cant_create_pad, "I could not create the pad window");
InsertGuiPair(cant_create_pad, "不能创建文本计算窗口");
InsertGuiPair(cant_create_main_window, "不能创建应用程序主窗口");
InsertGuiPair(cant_init_common_controls,"不能初始化通用控件(InitCommonControlsEx)");
InsertGuiPair(cant_init_common_controls,"不能初始化通用控件");
InsertGuiPair(about_text,
"Mathematical calculator TTCalc %d.%d.%d%s%s\r\n\r\n"
"开发人: Tomasz Sowa\r\n"
@ -1403,8 +1403,8 @@ void Languages::InitGuiMessagesTab()
"主页: http://ttcalc.sourceforge.net\r\n"
"Bignum library: TTMath %d.%d.%d%s (%s)\r\n"
"Bignum type: binary floating point numbers\r\n"
"Programming language: C++\r\n"
"Compiler: %s\r\n"
"编程语言: C++\r\n"
"编译器: %s\r\n"
"%s" // for upx
"\r\n"
"TTCalc uses the TTMath bignum library"
@ -1427,13 +1427,13 @@ void Languages::InitGuiMessagesTab()
" vdgladilovich@gmail.com\r\n"
"瑞典语 Lars 'Bafvert' Gafvert\r\n"
" lars.gafvert@gmail.com\r\n"
"Italian Damiano Monaco\r\n"
"意大利语 Damiano Monaco\r\n"
" dmonax@gmail.com\r\n"
"German Moritz Beleites\r\n"
"德语 Moritz Beleites\r\n"
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " portable version");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "关于");
InsertGuiPair(about_box_button_close, "关闭");
InsertGuiPair(unknown_error, "发生未知错误");
@ -1459,7 +1459,7 @@ void Languages::InitGuiMessagesTab()
#endif
InsertGuiPair(update_download_error, "下载时出现错误,请稍后重试。");
InsertGuiPair(pad_title, "粘贴板");
InsertGuiPair(pad_title, "&文本计算器");
InsertGuiPair(pad_menu_file, "&文件");
InsertGuiPair(pad_menu_edit, "&编辑");
InsertGuiPair(pad_menu_file_new, "&新建"); // temporarily not used
@ -1473,9 +1473,9 @@ void Languages::InitGuiMessagesTab()
InsertGuiPair(pad_menu_edit_del, "&删除 \tDel");
InsertGuiPair(pad_menu_edit_select_all, "&全选 \tCtrl+A");
InsertGuiPair(cannot_open_file, "I cannot open the file");
InsertGuiPair(cannot_save_file, "I cannot save to such a file");
InsertGuiPair(file_too_long, "The file is too long");
InsertGuiPair(cannot_open_file, "未能打开文件");
InsertGuiPair(cannot_save_file, "不能保存文件");
InsertGuiPair(file_too_long, "文件太长");
InsertGuiPair(other_error, "There was a problem with this operation"); // for other kinds of errors
@ -1647,7 +1647,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " 镥疱眍耥�� 忮瘃��");
InsertGuiPair(about_text_exe_packer, "箫嚓钼�� EXE: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "箫嚓钼�� EXE: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "� 镳钽疣祆�");
InsertGuiPair(about_box_button_close, "青牮��");
InsertGuiPair(unknown_error, "湾桤忮耱磬� 铠栳赅");
@ -1859,7 +1859,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " transportabel version");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "Om");
InsertGuiPair(about_box_button_close, "B鋠er");
InsertGuiPair(unknown_error, "Det har intr鋐fat ett ok鋘t fel");
@ -2069,7 +2069,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " versione portabile");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "Informazioni su");
InsertGuiPair(about_box_button_close, "Esci");
InsertGuiPair(unknown_error, "Si e verificato un errore sconosciuto");
@ -2277,7 +2277,7 @@ void Languages::InitGuiMessagesTab()
" morbel@gmx.net\r\n"
);
InsertGuiPair(about_text_portable_version, " portable Version");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.04\r\n");
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.07\r\n");
InsertGuiPair(about_box_title, "躡er TTCalc");
InsertGuiPair(about_box_button_close, "Schlie遝n");
InsertGuiPair(unknown_error, "Ein unbekannter Fehler ist aufgetreten");

Loading…
Cancel
Save