diff --git a/CHANGELOG b/CHANGELOG index d6a7dbd..b4850c8 100644 --- a/CHANGELOG +++ b/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 * 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 diff --git a/makerelease.sh b/makerelease.sh index 7151769..6985a20 100644 --- a/makerelease.sh +++ b/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 diff --git a/src/languages.cpp b/src/languages.cpp index cdbbcf8..87763d5 100644 --- a/src/languages.cpp +++ b/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ón 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äver"); InsertGuiPair(unknown_error, "Det har inträffat ett okänt 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, "Über TTCalc"); InsertGuiPair(about_box_button_close, "Schließen"); InsertGuiPair(unknown_error, "Ein unbekannter Fehler ist aufgetreten");