Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
783bebc269 | ||
|
|
19f4177691 | ||
|
|
b668b3765c | ||
|
|
b3f25face3 | ||
|
|
34500e3a5e | ||
|
|
e841dcfa70 |
No files matched your search
@@ -1,3 +1,19 @@
|
||||
Version 0.8.6 (2009.06.30):
|
||||
* added: new language: Russian
|
||||
translation made by: Vladimir Gladilovich <vdgladilovich at gmail dot com>
|
||||
|
||||
|
||||
Version 0.8.5 (2009.06.18):
|
||||
* added: new language: Chinese
|
||||
translation made by: Juis <zsyfly at gmail dot com>
|
||||
* changed: version of the TTMath library: 0.8.5 now
|
||||
|
||||
Changes from TTMath 0.8.5 relating to TTCalc:
|
||||
* fixed: Big::Mod(x) didn't correctly return a carry
|
||||
and the result was sometimes very big (even greater than x)
|
||||
* changed: factorial() function is much faster now
|
||||
|
||||
|
||||
Version 0.8.4 (2009.05.08):
|
||||
* added: new language: Danish
|
||||
translation made by: Rune Bisgaard Vammen <runebisgaard at gmail dot com>
|
||||
@@ -41,7 +57,7 @@ Version 0.8.3 (2009.04.06):
|
||||
* removed: 'cut off last non valid digits' on 'rounding' option
|
||||
on 'display' tab
|
||||
|
||||
Changes from TTMath 0.8.3 relating to TTCalc:
|
||||
Changes from TTMath 0.8.3 relating to TTCalc:
|
||||
* fixed: Big::Add incorrectly rounded 'this' when both exponents were equal
|
||||
it caused that sometimes when adding a zero the result has changed
|
||||
this had impact among other things on FromString() method
|
||||
|
||||
@@ -17,7 +17,7 @@ display values with the base (radix) from two to sixteen.
|
||||
Author: Tomasz Sowa
|
||||
Contact: t.sowa@ttmath.org
|
||||
Licence: BSD (open source)
|
||||
Interface: English, Polish, Spanish, Danish
|
||||
Interface: English, Polish, Spanish, Danish, Chinese, Russian
|
||||
Project page: http://ttcalc.sourceforge.net/
|
||||
Bignum library: TTMath http://ttmath.org/
|
||||
Bignum library: TTMath http://www.ttmath.org/
|
||||
Operating systems: Microsoft Windows 9x/Me/NT/2000/XP/Vista
|
||||
+3
-2
@@ -7,6 +7,7 @@
|
||||
<link rel="stylesheet" href="styles.css" type="text/css">
|
||||
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
|
||||
<param name="Keyword" value="TTCalc">
|
||||
<param name="Keyword" value="TTMath">
|
||||
<param name="Keyword" value="author">
|
||||
<param name="Keyword" value="contact">
|
||||
<param name="Keyword" value="licence">
|
||||
@@ -43,9 +44,9 @@ display values with the base (radix) from two to sixteen.
|
||||
<tr><td>Author:</td><td>Tomasz Sowa</td></tr>
|
||||
<tr><td>Contact:</td><td>t.sowa@ttmath.org</td></tr>
|
||||
<tr><td>Licence:</td><td>BSD (open source)</td></tr>
|
||||
<tr><td>Interface:</td><td>English, Polish, Spanish, Danish</td></tr>
|
||||
<tr><td>Interface:</td><td>English, Polish, Spanish, Danish, Chinese, Russian</td></tr>
|
||||
<tr><td>Project page:</td><td><a href="http://ttcalc.sourceforge.net/">http://ttcalc.sourceforge.net/</a></td></tr>
|
||||
<tr><td>Bignum library:</td><td>TTMath <a href="http://ttmath.org/">http://ttmath.org/</a></td></tr>
|
||||
<tr><td>Bignum library:</td><td>TTMath <a href="http://ttmath.org/">http://www.ttmath.org/</a></td></tr>
|
||||
<tr><td>Operating systems:</td><td>Microsoft Windows 9x/Me/NT/2000/XP/Vista</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
+4
-2
@@ -3,8 +3,8 @@
|
||||
|
||||
[Setup]
|
||||
AppName=TTCalc
|
||||
AppVerName=TTCalc 0.8.4
|
||||
AppVersion=0.8.4
|
||||
AppVerName=TTCalc 0.8.6
|
||||
AppVersion=0.8.6
|
||||
AppPublisher=Tomasz Sowa
|
||||
AppPublisherURL=http://ttcalc.sourceforge.net
|
||||
AppSupportURL=http://ttcalc.sourceforge.net
|
||||
@@ -26,6 +26,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
|
||||
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
|
||||
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
|
||||
Name: "chinese"; MessagesFile: "compiler:Languages\ChineseSimp-12-5.1.11.isl"
|
||||
Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
|
||||
|
||||
[InstallDelete]
|
||||
; prior to 0.8.3 we were using mingwm10.dll (now it is not needed and will be deleted if exists)
|
||||
|
||||
+7
-5
@@ -8,7 +8,6 @@ helpname = ttcalc.chm
|
||||
|
||||
# the name of the setup is also set in the Inno Setup config file
|
||||
setupname = ttcalc-setup.exe
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -17,9 +16,11 @@ all: ttcalc
|
||||
|
||||
include Makefile.dep
|
||||
|
||||
|
||||
ttcalc: $(o)
|
||||
$(CC) -o $(name) $(CFLAGS) $(o) -lcomctl32
|
||||
|
||||
|
||||
resource.o: resource.rc
|
||||
#windres -DTTCALC_CONVERT resource.rc resource.o
|
||||
windres resource.rc resource.o
|
||||
@@ -27,7 +28,8 @@ resource.o: resource.rc
|
||||
|
||||
help: $(helpdep)
|
||||
Makefile.help.sh
|
||||
|
||||
|
||||
|
||||
|
||||
setup: $(setupdep)
|
||||
iscc ../setup/innosetup.iss
|
||||
@@ -35,7 +37,7 @@ setup: $(setupdep)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f *.s
|
||||
rm -f $(name)
|
||||
rm -f $(helpname)
|
||||
rm -f $(setupname)
|
||||
rm -f ttcalcp.exe
|
||||
rm -f ../help/$(helpname)
|
||||
rm -f ../setup/$(setupname)
|
||||
+22
-21
@@ -19,26 +19,27 @@ winmain.o: winmain.cpp compileconfig.h winmain.h programresources.h iniparser.
|
||||
$(CC) -c $(CFLAGS) $<
|
||||
|
||||
|
||||
helpdep = ../help/arithmetic_functions.html \
|
||||
../help/logarithm_exponential.html \
|
||||
../help/trigonometric_functions.html \
|
||||
../help/inverse_trigonometric_functions.html \
|
||||
../help/hyperbolic_functions.html \
|
||||
../help/inverse_hyperbolic_functions.html \
|
||||
../help/conversions_deg_rad_grad.html \
|
||||
../help/rounding_functions.html \
|
||||
../help/other_functions.html \
|
||||
../help/operators_priority.html \
|
||||
../help/bitwise_functions.html \
|
||||
../help/index.html \
|
||||
../help/userfunctions.html \
|
||||
../help/logical_functions.html \
|
||||
../help/accuracy.html \
|
||||
../help/tips.html \
|
||||
../help/values_and_std_operators.html \
|
||||
../help/styles.css \
|
||||
../help/index.hhk \
|
||||
../help/toc.hhc \
|
||||
../help/help.hhp
|
||||
helpdep = ../help/accuracy.html \
|
||||
../help/arithmetic_functions.html \
|
||||
../help/bitwise_functions.html \
|
||||
../help/conversions_deg_rad_grad.html \
|
||||
../help/help.hhp \
|
||||
../help/hyperbolic_functions.html \
|
||||
../help/index.hhk \
|
||||
../help/index.html \
|
||||
../help/inverse_hyperbolic_functions.html \
|
||||
../help/inverse_trigonometric_functions.html \
|
||||
../help/logarithm_exponential.html \
|
||||
../help/logical_functions.html \
|
||||
../help/operators_priority.html \
|
||||
../help/other_functions.html \
|
||||
../help/rounding_functions.html \
|
||||
../help/styles.css \
|
||||
../help/tips.html \
|
||||
../help/toc.hhc \
|
||||
../help/trigonometric_functions.html \
|
||||
../help/userfunctions.html \
|
||||
../help/values_and_std_operators.html
|
||||
|
||||
|
||||
setupdep = ttcalc help ../setup/innosetup.iss ../setup/COPYRIGHT ../COPYRIGHT ../CHANGELOG ../README
|
||||
@@ -13,3 +13,9 @@ ttcalc: $(o)
|
||||
|
||||
resource.o: resource.rc
|
||||
windres -DTTCALC_PORTABLE resource.rc resource.o
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f $(name)
|
||||
rm -f ../help/$(helpname)
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
#define bigtypesheader
|
||||
|
||||
#include "compileconfig.h"
|
||||
|
||||
//#define TTMATH_RELEASE
|
||||
#include <ttmath/ttmath.h>
|
||||
|
||||
|
||||
|
||||
+3
-1
@@ -55,7 +55,7 @@
|
||||
*/
|
||||
#define TTCALC_MAJOR_VER 0
|
||||
#define TTCALC_MINOR_VER 8
|
||||
#define TTCALC_REVISION_VER 4
|
||||
#define TTCALC_REVISION_VER 6
|
||||
#define TTCALC_PRERELEASE_VER 0
|
||||
|
||||
|
||||
@@ -68,6 +68,8 @@
|
||||
#pragma warning (disable : 4800)
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_IE
|
||||
#define _WIN32_IE 0x0501
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -211,6 +211,69 @@ 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,"½×³Ëº¯ÊýµÄ²ÎÊýÌ«´ó");
|
||||
|
||||
|
||||
/*
|
||||
russian messages relating to ttmath library
|
||||
*/
|
||||
error_messages_tab.push_back( std::map<ttmath::ErrorCode, std::string>() );
|
||||
|
||||
InsertErrorPair(ttmath::err_ok,"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,"Ñëèøêîì áîëüøîé àðãóìåíò äëÿ ôóíêöèè factorial()");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -346,6 +409,8 @@ 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_lang_russian, "&Russian");
|
||||
InsertGuiPair(menu_view_close_program, "&Close");
|
||||
InsertGuiPair(menu_edit_undo, "&Undo");
|
||||
InsertGuiPair(menu_edit_paste, "&Paste");
|
||||
@@ -477,6 +542,8 @@ 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ñski");
|
||||
InsertGuiPair(menu_view_lang_russian, "&Russian");
|
||||
InsertGuiPair(menu_view_close_program, "&Zamknij");
|
||||
InsertGuiPair(menu_edit_undo, "&Cofnij");
|
||||
InsertGuiPair(menu_edit_paste, "&Wklej");
|
||||
@@ -612,6 +679,8 @@ 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_lang_russian, "&Russian");
|
||||
InsertGuiPair(menu_view_close_program, "&Close");
|
||||
InsertGuiPair(menu_edit_undo, "&Deshacer");
|
||||
InsertGuiPair(menu_edit_paste, "&Pegar");
|
||||
@@ -743,6 +812,8 @@ 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_lang_russian, "&Russian");
|
||||
InsertGuiPair(menu_view_close_program, "&Afslut");
|
||||
InsertGuiPair(menu_edit_undo, "&Fortryd");
|
||||
InsertGuiPair(menu_edit_paste, "&Sæt ind");
|
||||
@@ -788,6 +859,267 @@ 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, "&Ó¢Óï");
|
||||
InsertGuiPair(menu_view_lang_polish, "&²¨À¼Óï");
|
||||
InsertGuiPair(menu_view_lang_spanish, "&Î÷°àÑÀÓï");
|
||||
InsertGuiPair(menu_view_lang_danish, "&µ¤ÂóÓï");
|
||||
InsertGuiPair(menu_view_lang_chinese, "&¼òÌåÖÐÎÄ");
|
||||
InsertGuiPair(menu_view_lang_russian, "&Russian");
|
||||
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"
|
||||
"¿ª·¢ÈË: Tomasz Sowa\r\n"
|
||||
"ÁªÏµ: t.sowa@ttmath.org\r\n"
|
||||
"Ðí¿É: BSD (¿ªÔ´ÏîÄ¿)\r\n"
|
||||
"Ö÷Ò³: 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
|
||||
"Èç¹ûÄãÓÐÈκδËÈí¼þµÄÎÊÌâ¡¢½¨ÒéºÍÓÐȤµÄÏë·¨£¬»òÕßÄãÏë°ïÖúÒ»Æð¼ÓÈ뿪·¢Èí¼þµÄ»°£¬ÎÒ½«ËæÊ±ÈÈÇéµÄ»¶ÓÄãÃÇ£¡"
|
||||
);
|
||||
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, "²»ÄÜ´ò¿ªÈí¼þÖ÷Ò³");
|
||||
|
||||
|
||||
|
||||
/*
|
||||
russian gui messages
|
||||
*/
|
||||
gui_messages_tab.push_back( std::map<GuiMsg, std::string>() );
|
||||
|
||||
InsertGuiPair(button_ok,"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 áèò íà ìàíòèññó, 32 áèòà íà ïîêàçàòåëü ñòåïåíè");
|
||||
InsertGuiPair(radio_precision_2,"Ñðåäíÿÿ - 288 áèò íà ìàíòèññó, 64 áèòà íà ïîêàçàòåëü ñòåïåíè");
|
||||
InsertGuiPair(radio_precision_3,"Áîëüøàÿ - 864 áèò íà ìàíòèññó, 128 áèòà íà ïîêàçàòåëü ñòåïåíè");
|
||||
|
||||
|
||||
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, "&Àíãëèéñêèé");
|
||||
InsertGuiPair(menu_view_lang_polish, "&Ïîëüñêèé");
|
||||
InsertGuiPair(menu_view_lang_spanish, "&Èñïàíñêèé");
|
||||
InsertGuiPair(menu_view_lang_danish, "&Äàòñêèé");
|
||||
InsertGuiPair(menu_view_lang_chinese, "&Êèòàéñêèé");
|
||||
InsertGuiPair(menu_view_lang_russian, "&Ðóññêèé");
|
||||
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,
|
||||
"Ìàòåìàòè÷åñêèé êàëüêóëÿòîð TTCalc %d.%d.%d%s%s\r\n"
|
||||
"Àâòîð: Tomasz Sowa\r\n"
|
||||
"e-mail: t.sowa@ttmath.org\r\n"
|
||||
"Ëèöåíçèÿ: BSD (open source)\r\n"
|
||||
"Ñàéò ïðîåêòà: http://ttcalc.sourceforge.net\r\n"
|
||||
"Áèáëèîòåêà Bignum: TTMath %d.%d.%d%s\r\n"
|
||||
"ßçûê ïðîãðàììèðîâàíèÿ: C++\r\n"
|
||||
"Êîìïèëÿòîð: %s\r\n"
|
||||
"%s" // for upx
|
||||
"\r\n"
|
||||
"TTCalc èñïîëüçóåò áèáëèîòåêó ñâåðõáîëüøèõ ÷èñåë TTMath,"
|
||||
" êîòîðàÿ íàõîäèòñÿ çäåñü: http://sourceforge.net/projects/ttmath\r\n"
|
||||
"\r\n"
|
||||
#ifdef TTCALC_PORTABLE
|
||||
"Ýòî ïåðåíîñíàÿ âåðñèÿ ïðîãðàììû.  ýòîé âåðñèè ìîæíî ñ÷èòàòü "
|
||||
"òîëüêî ñ îäíîé (ìàëîé) òî÷íîñòüþ (96 áèò íà ìàíòèññó,"
|
||||
" 32 áèòà íà ïîêàçàòåëü ñòåïåíè), òî åñòü +/-6.9e+646457021.\r\n"
|
||||
"\r\n"
|
||||
#endif
|
||||
"Åñëè ó Âàñ åñòü êàêèå-ëèáî âîïðîñû, ïîæåëàíèÿ èëè èíòåðåñíûå èäåè äëÿ"
|
||||
" ýòîé ïðîãðàììû, èëè Âû õîòèòå ïðèñîåäèíèòüñÿ ê ïðîåêòó â êà÷åñòâå"
|
||||
" ðàçðàáîò÷èêà èëè ïðîãðàììèñòa, íå ñòåñíÿéòåñü íàïèñàòü àâòîðó."
|
||||
);
|
||||
InsertGuiPair(about_text_portable_version, " ïåðåíîñíàÿ âåðñèÿ");
|
||||
InsertGuiPair(about_text_exe_packer, "óïàêîâùèê EXE: 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, "Íå óäàåòñÿ îòêðûòü ñàéò ïðîåêòà");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
+3
-1
@@ -119,6 +119,8 @@ public:
|
||||
menu_view_lang_polish,
|
||||
menu_view_lang_spanish,
|
||||
menu_view_lang_danish,
|
||||
menu_view_lang_chinese,
|
||||
menu_view_lang_russian,
|
||||
menu_view_close_program,
|
||||
menu_edit_undo,
|
||||
menu_edit_paste,
|
||||
@@ -147,7 +149,7 @@ public:
|
||||
// (after conversion to 'int' we pass it into the std::vector)
|
||||
enum Country
|
||||
{
|
||||
en = 0, pl, sp, da
|
||||
en = 0, pl, sp, da, chn, ru
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -406,6 +406,8 @@ HMENU menu = GetMenu(hWnd);
|
||||
SetMenuLanguageItem(menu, IDM_LANGUAGE_POLISH, Languages::menu_view_lang_polish);
|
||||
SetMenuLanguageItem(menu, IDM_LANGUAGE_SPANISH, Languages::menu_view_lang_spanish);
|
||||
SetMenuLanguageItem(menu, IDM_LANGUAGE_DANISH, Languages::menu_view_lang_danish);
|
||||
SetMenuLanguageItem(menu, IDM_LANGUAGE_CHINESE, Languages::menu_view_lang_chinese);
|
||||
SetMenuLanguageItem(menu, IDM_LANGUAGE_RUSSIAN, Languages::menu_view_lang_russian);
|
||||
SetMenuLanguageItem(menu, IDM_CLOSE_PROGRAM, Languages::menu_view_close_program);
|
||||
SetMenuLanguageItem(menu, IDM_EDIT_UNDO, Languages::menu_edit_undo);
|
||||
SetMenuLanguageItem(menu, IDM_EDIT_PASTE, Languages::menu_edit_paste);
|
||||
@@ -768,6 +770,8 @@ void WmInitMenuPopUpView(HMENU menu)
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_POLISH, MF_BYCOMMAND|MF_UNCHECKED);
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_SPANISH, MF_BYCOMMAND|MF_UNCHECKED);
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_DANISH, MF_BYCOMMAND|MF_UNCHECKED);
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_CHINESE, MF_BYCOMMAND|MF_UNCHECKED);
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_RUSSIAN, MF_BYCOMMAND|MF_UNCHECKED);
|
||||
|
||||
Languages::Country lang = GetPrgRes()->GetLanguages()->GetCurrentLanguage();
|
||||
|
||||
@@ -782,6 +786,12 @@ void WmInitMenuPopUpView(HMENU menu)
|
||||
else
|
||||
if( lang == Languages::da )
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_DANISH, MF_BYCOMMAND|MF_CHECKED);
|
||||
else
|
||||
if( lang == Languages::chn )
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_CHINESE, MF_BYCOMMAND|MF_CHECKED);
|
||||
else
|
||||
if( lang == Languages::ru )
|
||||
CheckMenuItem(menu, IDM_LANGUAGE_RUSSIAN, MF_BYCOMMAND|MF_CHECKED);
|
||||
}
|
||||
|
||||
|
||||
@@ -1055,6 +1065,27 @@ BOOL WmCommand_LanguageDanish(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||
return true;
|
||||
}
|
||||
|
||||
BOOL WmCommand_LanguageChinese(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
GetPrgRes()->GetLanguages()->SetCurrentLanguage(Languages::chn);
|
||||
|
||||
SetMenuLanguage(hWnd);
|
||||
SetOutputEditLanguage(hWnd);
|
||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
BOOL WmCommand_LanguageRussian(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
GetPrgRes()->GetLanguages()->SetCurrentLanguage(Languages::ru);
|
||||
|
||||
SetMenuLanguage(hWnd);
|
||||
SetOutputEditLanguage(hWnd);
|
||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1126,6 +1157,8 @@ void CreateCommandMessagesTable(Messages & cmessages)
|
||||
cmessages.Associate(IDM_LANGUAGE_POLISH, WmCommand_LanguagePolish);
|
||||
cmessages.Associate(IDM_LANGUAGE_SPANISH, WmCommand_LanguageSpanish);
|
||||
cmessages.Associate(IDM_LANGUAGE_DANISH, WmCommand_LanguageDanish);
|
||||
cmessages.Associate(IDM_LANGUAGE_CHINESE, WmCommand_LanguageChinese);
|
||||
cmessages.Associate(IDM_LANGUAGE_RUSSIAN, WmCommand_LanguageRussian);
|
||||
cmessages.Associate(IDM_HELP_HELP, WmHelp);
|
||||
cmessages.Associate(IDM_HELP_PROJECT_PAGE, WmProjectPage);
|
||||
}
|
||||
|
||||
@@ -57,19 +57,19 @@ ParserManager::ParserManager() : buffer_len(2048)
|
||||
|
||||
ParserManager::ParserManager(const ParserManager & p) : buffer_len(p.buffer_len)
|
||||
{
|
||||
buffer = 0;
|
||||
base_input = p.base_input;
|
||||
base_output = p.base_output;
|
||||
buffer = 0;
|
||||
base_input = p.base_input;
|
||||
base_output = p.base_output;
|
||||
always_scientific = p.always_scientific;
|
||||
when_scientific = p.when_scientific;
|
||||
rounding = p.rounding;
|
||||
remove_zeroes = p.remove_zeroes;
|
||||
when_scientific = p.when_scientific;
|
||||
rounding = p.rounding;
|
||||
remove_zeroes = p.remove_zeroes;
|
||||
last_variables_id = p.last_variables_id;
|
||||
last_functions_id = p.last_functions_id;
|
||||
}
|
||||
|
||||
|
||||
ParserManager & ParserManager::operator=(const ParserManager & p)
|
||||
ParserManager & ParserManager::operator=(const ParserManager &)
|
||||
{
|
||||
buffer = 0;
|
||||
|
||||
|
||||
@@ -44,9 +44,7 @@
|
||||
*/
|
||||
|
||||
#include "resource.h"
|
||||
#include <ttmath/ttmath.h>
|
||||
#include "programresources.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
|
||||
@@ -803,6 +803,12 @@ std::string ini_value[20];
|
||||
SetDisplayRounding( atoi(ini_value[11].c_str()) );
|
||||
SetRemovingZeroes( bool(atoi(ini_value[15].c_str())) );
|
||||
|
||||
if( ini_value[13] == "5" )
|
||||
languages.SetCurrentLanguage(Languages::ru);
|
||||
else
|
||||
if( ini_value[13] == "4" )
|
||||
languages.SetCurrentLanguage(Languages::chn);
|
||||
else
|
||||
if( ini_value[13] == "3" )
|
||||
languages.SetCurrentLanguage(Languages::da);
|
||||
else
|
||||
|
||||
@@ -196,6 +196,8 @@
|
||||
#define IDM_LANGUAGE_POLISH 40011
|
||||
#define IDM_LANGUAGE_SPANISH 40012
|
||||
#define IDM_LANGUAGE_DANISH 40013
|
||||
#define IDM_LANGUAGE_CHINESE 40014
|
||||
#define IDM_LANGUAGE_RUSSIAN 40015
|
||||
#define IDM_CLOSE_PROGRAM 40020
|
||||
#define IDM_EDIT_UNDO 40030
|
||||
#define IDM_EDIT_PASTE 40031
|
||||
|
||||
+17
-14
@@ -1,7 +1,8 @@
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
#include "afxres.h"
|
||||
//#include "afxres.h"
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
#include "windows.h"
|
||||
|
||||
LANGUAGE LANG_POLISH, 1
|
||||
104 ICON "..\\res\\icon02.ico"
|
||||
@@ -29,6 +30,8 @@ BEGIN
|
||||
MENUITEM "&Polish", 40011
|
||||
MENUITEM "&Spanish", 40012
|
||||
MENUITEM "&Danish", 40013
|
||||
MENUITEM "&Chinese", 40014
|
||||
MENUITEM "&Russian", 40015
|
||||
END
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Close", 40020
|
||||
@@ -64,7 +67,6 @@ BEGIN
|
||||
END
|
||||
|
||||
|
||||
|
||||
102 DIALOG DISCARDABLE 0, 0, 358, 61
|
||||
STYLE DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE |
|
||||
WS_CAPTION | WS_SYSMENU
|
||||
@@ -73,10 +75,10 @@ FONT 8, "Ms Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "Ok",1,291,10,50,14,BS_CENTER | BS_VCENTER
|
||||
PUSHBUTTON "Cancel",2,291,28,50,14,BS_CENTER | BS_VCENTER
|
||||
EDITTEXT 1134,38,10,67,14,ES_AUTOHSCROLL
|
||||
EDITTEXT 1135,38,28,230,14,ES_AUTOHSCROLL
|
||||
LTEXT "name:",1136,7,12,27,8
|
||||
LTEXT "value:",1137,7,30,27,8
|
||||
EDITTEXT 1134,47,10,67,14,ES_AUTOHSCROLL
|
||||
EDITTEXT 1135,47,28,226,14,ES_AUTOHSCROLL
|
||||
LTEXT "name:",1136,7,12,38,8
|
||||
LTEXT "value:",1137,7,30,38,8
|
||||
END
|
||||
|
||||
103 DIALOG DISCARDABLE 0, 0, 370, 74
|
||||
@@ -84,16 +86,17 @@ STYLE DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE |
|
||||
WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "Ms Shell Dlg"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "Ok",1,303,10,50,14,BS_CENTER | BS_VCENTER
|
||||
PUSHBUTTON "Cancel",2,303,27,50,14,BS_CENTER | BS_VCENTER
|
||||
EDITTEXT 1144,46,10,67,14,ES_AUTOHSCROLL
|
||||
COMBOBOX 1146,46,29,67,130,CBS_DROPDOWNLIST | WS_TABSTOP
|
||||
EDITTEXT 1145,46,47,308,14,ES_AUTOHSCROLL
|
||||
LTEXT "name:",1147,7,12,31,8
|
||||
LTEXT "value:",1149,7,49,33,8
|
||||
LTEXT "param:",1148,7,30,33,8
|
||||
DEFPUSHBUTTON "Ok",1,304,10,50,14,BS_CENTER | BS_VCENTER
|
||||
PUSHBUTTON "Cancel",2,304,27,50,14,BS_CENTER | BS_VCENTER
|
||||
EDITTEXT 1144,55,10,67,14,ES_AUTOHSCROLL
|
||||
COMBOBOX 1146,55,29,67,130,CBS_DROPDOWNLIST | WS_TABSTOP
|
||||
EDITTEXT 1145,55,47,299,14,ES_AUTOHSCROLL
|
||||
LTEXT "name:",1147,7,12,46,8
|
||||
LTEXT "value:",1149,7,49,46,8
|
||||
LTEXT "param:",1148,7,30,46,8
|
||||
END
|
||||
|
||||
|
||||
110 DIALOGEX 0, 0, 287, 90
|
||||
STYLE DS_3DLOOK | DS_FIXEDSYS |DS_SETFONT | WS_CHILD| WS_TABSTOP |WS_GROUP
|
||||
FONT 8, "Ms Shell Dlg"
|
||||
|
||||
@@ -243,7 +243,7 @@ NewStopCalculating stop_calculating;
|
||||
we make the copy-constructor private so that nobody will be able
|
||||
to make a copy of the one object of this class
|
||||
*/
|
||||
ThreadController(const ThreadController & c)
|
||||
ThreadController(const ThreadController &)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user