added: language messages to all widgets
changed: about box: added names of translators new bitmap added: checkbox 'check update on startup' on Update dialog box (not implemented yet) git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@235 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 143 KiB |
BIN
res/aboutbox.bmp
Normal file
BIN
res/aboutbox.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 205 KiB |
@@ -2,16 +2,16 @@ o = resource.o calculation.o convert.o download.o functions.o iniparser.o langua
|
|||||||
|
|
||||||
calculation.o: calculation.cpp compileconfig.h parsermanager.h resource.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h tabs.h messages.h
|
calculation.o: calculation.cpp compileconfig.h parsermanager.h resource.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h tabs.h messages.h
|
||||||
convert.o: convert.cpp convert.h compileconfig.h bigtypes.h
|
convert.o: convert.cpp convert.h compileconfig.h bigtypes.h
|
||||||
download.o: download.cpp download.h
|
download.o: download.cpp compileconfig.h download.h
|
||||||
functions.o: functions.cpp compileconfig.h tabs.h resource.h messages.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
functions.o: functions.cpp compileconfig.h tabs.h resource.h messages.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
||||||
iniparser.o: iniparser.cpp compileconfig.h iniparser.h
|
iniparser.o: iniparser.cpp compileconfig.h iniparser.h
|
||||||
languages.o: languages.cpp compileconfig.h languages.h bigtypes.h
|
languages.o: languages.cpp compileconfig.h languages.h bigtypes.h
|
||||||
mainwindow.o: mainwindow.cpp compileconfig.h winmain.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h resource.h messages.h tabs.h pad.h update.h download.h
|
mainwindow.o: mainwindow.cpp compileconfig.h winmain.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h resource.h messages.h tabs.h pad.h update.h download.h
|
||||||
pad.o: pad.cpp programresources.h compileconfig.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h resource.h messages.h
|
pad.o: pad.cpp programresources.h compileconfig.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h resource.h messages.h pad.h
|
||||||
parsermanager.o: parsermanager.cpp compileconfig.h parsermanager.h resource.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h tabs.h messages.h
|
parsermanager.o: parsermanager.cpp compileconfig.h parsermanager.h resource.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h tabs.h messages.h
|
||||||
programresources.o: programresources.cpp compileconfig.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
programresources.o: programresources.cpp compileconfig.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
||||||
tabs.o: tabs.cpp compileconfig.h tabs.h resource.h messages.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
tabs.o: tabs.cpp compileconfig.h tabs.h resource.h messages.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
||||||
update.o: update.cpp update.h download.h programresources.h compileconfig.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h messages.h resource.h winmain.h tabs.h pad.h
|
update.o: update.cpp compileconfig.h update.h download.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h messages.h resource.h winmain.h tabs.h pad.h
|
||||||
variables.o: variables.cpp compileconfig.h tabs.h resource.h messages.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
variables.o: variables.cpp compileconfig.h tabs.h resource.h messages.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h
|
||||||
winmain.o: winmain.cpp compileconfig.h winmain.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h resource.h messages.h tabs.h pad.h
|
winmain.o: winmain.cpp compileconfig.h winmain.h programresources.h iniparser.h languages.h bigtypes.h threadcontroller.h stopcalculating.h convert.h resource.h messages.h tabs.h pad.h
|
||||||
|
|
||||||
|
@@ -110,7 +110,7 @@ void Languages::InitErrorMessagesTab()
|
|||||||
InsertErrorPair(ttmath::err_must_be_only_one_value,"Variables or functions must return only one value");
|
InsertErrorPair(ttmath::err_must_be_only_one_value,"Variables or functions must return only one value");
|
||||||
InsertErrorPair(ttmath::err_still_calculating,"Calculating...");
|
InsertErrorPair(ttmath::err_still_calculating,"Calculating...");
|
||||||
InsertErrorPair(ttmath::err_percent_from,"Incorrectly used percentage operator");
|
InsertErrorPair(ttmath::err_percent_from,"Incorrectly used percentage operator");
|
||||||
|
// other english translation: the percentage operator used in incorrect way
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -362,6 +362,13 @@ void Languages::InitGuiMessagesTab()
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
english gui messages
|
english gui messages
|
||||||
|
|
||||||
|
& - (ampersand) used in menus or buttons, means the key shortcut
|
||||||
|
(when left Alt is pressed you see a small line at the bottom of a specified letter)
|
||||||
|
\t - tabulator
|
||||||
|
\r\n - new line
|
||||||
|
%d - another integer value (leave it)
|
||||||
|
%s - another string (leave it)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
gui_messages_tab.push_back( std::map<GuiMsg, std::string>() );
|
gui_messages_tab.push_back( std::map<GuiMsg, std::string>() );
|
||||||
@@ -413,7 +420,7 @@ void Languages::InitGuiMessagesTab()
|
|||||||
|
|
||||||
InsertGuiPair(overflow_during_printing,"Overflow during printing");
|
InsertGuiPair(overflow_during_printing,"Overflow during printing");
|
||||||
|
|
||||||
InsertGuiPair(combo_rounding_none,"None");
|
InsertGuiPair(combo_rounding_none,"none");
|
||||||
InsertGuiPair(combo_rounding_integer,"to integer");
|
InsertGuiPair(combo_rounding_integer,"to integer");
|
||||||
InsertGuiPair(combo_rounding_to_number,"to");
|
InsertGuiPair(combo_rounding_to_number,"to");
|
||||||
InsertGuiPair(combo_rounding_after_comma,"digit(s)");
|
InsertGuiPair(combo_rounding_after_comma,"digit(s)");
|
||||||
@@ -425,8 +432,18 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(display_always_scientific,"Always");
|
InsertGuiPair(display_always_scientific,"Always");
|
||||||
InsertGuiPair(display_not_always_scientific,"When the exponent is greater than:");
|
InsertGuiPair(display_not_always_scientific,"When the exponent is greater than:");
|
||||||
InsertGuiPair(display_group_scientific, "Print the result as the scientific value");
|
InsertGuiPair(display_group_scientific, "Print the result as the scientific value");
|
||||||
InsertGuiPair(display_decimal_point, "Output decimal point");
|
InsertGuiPair(display_deg_rad_grad, "Trigonometric functions");
|
||||||
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
InsertGuiPair(display_grouping, "Grouping"); // e.g. 1`000`000
|
||||||
|
InsertGuiPair(display_grouping_none, "none");
|
||||||
|
InsertGuiPair(display_grouping_space, "space");
|
||||||
|
InsertGuiPair(display_input_decimal_point, "Input decimal point"); // Decimal point in formula
|
||||||
|
InsertGuiPair(display_input_decimal_point_item1, " . or ,");
|
||||||
|
InsertGuiPair(display_output_decimal_point, "Output decimal point"); // Decimal point in result
|
||||||
|
InsertGuiPair(display_param_sep, "Parameters separated by");
|
||||||
|
InsertGuiPair(display_param_sep_item2, " ; or .");
|
||||||
|
InsertGuiPair(display_param_sep_item3, " ; or ,");
|
||||||
|
|
||||||
|
|
||||||
InsertGuiPair(convert_type, "Type");
|
InsertGuiPair(convert_type, "Type");
|
||||||
InsertGuiPair(convert_input, "Input");
|
InsertGuiPair(convert_input, "Input");
|
||||||
InsertGuiPair(convert_output, "Output");
|
InsertGuiPair(convert_output, "Output");
|
||||||
@@ -439,8 +456,8 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_new_window, "&New window");
|
InsertGuiPair(menu_view_new_window, "&New window");
|
||||||
InsertGuiPair(menu_view_normal_view, "No&rmal view");
|
InsertGuiPair(menu_view_normal_view, "No&rmal view");
|
||||||
InsertGuiPair(menu_view_compact_view, "C&ompact view");
|
InsertGuiPair(menu_view_compact_view, "C&ompact view");
|
||||||
InsertGuiPair(menu_view_always_on_top, "&Always on top");
|
|
||||||
InsertGuiPair(menu_view_pad, "&Pad");
|
InsertGuiPair(menu_view_pad, "&Pad");
|
||||||
|
InsertGuiPair(menu_view_always_on_top, "&Always on top");
|
||||||
InsertGuiPair(menu_view_lang_english, "&English");
|
InsertGuiPair(menu_view_lang_english, "&English");
|
||||||
InsertGuiPair(menu_view_lang_polish, "&Polish");
|
InsertGuiPair(menu_view_lang_polish, "&Polish");
|
||||||
InsertGuiPair(menu_view_lang_spanish, "&Spanish");
|
InsertGuiPair(menu_view_lang_spanish, "&Spanish");
|
||||||
@@ -450,11 +467,22 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
||||||
InsertGuiPair(menu_view_close_program, "&Close");
|
InsertGuiPair(menu_view_close_program, "&Close");
|
||||||
InsertGuiPair(menu_edit_undo, "&Undo \tCtrl+Z");
|
InsertGuiPair(menu_edit_undo, "&Undo \tCtrl+Z");
|
||||||
InsertGuiPair(menu_edit_paste_formula, "&Paste formula\tCtrl+V");
|
InsertGuiPair(menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
InsertGuiPair(menu_edit_copy_result, "&Copy result \tCtrl+R");
|
InsertGuiPair(menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(menu_edit_paste, "&Paste"); // cutting, copying, pasting the the edit which has a focus
|
||||||
|
InsertGuiPair(menu_edit_del, "&Delete \tDel");
|
||||||
|
InsertGuiPair(menu_edit_paste_formula, "Paste &formula\tCtrl+V"); // pasting directly to input edit
|
||||||
|
InsertGuiPair(menu_edit_copy_result, "Copy &result \tCtrl+R");
|
||||||
|
InsertGuiPair(menu_edit_copy_both, "Copy &both \tCtrl+B"); // copying in this way: "input edit = output edit"
|
||||||
|
InsertGuiPair(menu_edit_select_all, "Select &all \tEsc");
|
||||||
|
InsertGuiPair(menu_edit_bracket, "Bracke&t \tCtrl+0"); // inserting brackets: (...)
|
||||||
InsertGuiPair(menu_help_help, "&Help");
|
InsertGuiPair(menu_help_help, "&Help");
|
||||||
InsertGuiPair(menu_help_project_page, "&Project page");
|
InsertGuiPair(menu_help_project_page, "&Project page");
|
||||||
|
InsertGuiPair(menu_help_check_update, "&Check update...");
|
||||||
InsertGuiPair(menu_help_about, "&About");
|
InsertGuiPair(menu_help_about, "&About");
|
||||||
|
InsertGuiPair(menu_update_available, "&New version is available"); // not implemented yet
|
||||||
|
// this will be a new main menu item (one after 'help') visible only if there is an update
|
||||||
|
|
||||||
InsertGuiPair(cant_init_calculations, "I could not initialize the module for calculations");
|
InsertGuiPair(cant_init_calculations, "I could not initialize the module for calculations");
|
||||||
InsertGuiPair(message_box_error_caption,"TTCalc");
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
||||||
InsertGuiPair(cant_create_thread, "I could not create the second thread for calculating");
|
InsertGuiPair(cant_create_thread, "I could not create the second thread for calculating");
|
||||||
@@ -462,18 +490,19 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(cant_create_main_window, "I could not create the main window of the application");
|
InsertGuiPair(cant_create_main_window, "I could not create the main window of the application");
|
||||||
InsertGuiPair(cant_init_common_controls,"I could not initialize the common controls (InitCommonControlsEx)");
|
InsertGuiPair(cant_init_common_controls,"I could not initialize the common controls (InitCommonControlsEx)");
|
||||||
InsertGuiPair(about_text,
|
InsertGuiPair(about_text,
|
||||||
"Mathematical calculator TTCalc %d.%d.%d%s%s\r\n"
|
"Mathematical calculator TTCalc %d.%d.%d%s%s\r\n\r\n"
|
||||||
"Author: Tomasz Sowa\r\n"
|
"Author: Tomasz Sowa\r\n"
|
||||||
"Contact: t.sowa@ttmath.org\r\n"
|
"Contact: t.sowa@ttmath.org\r\n"
|
||||||
"Licence: BSD (open source)\r\n"
|
"Licence: BSD (open source)\r\n"
|
||||||
"Project page: http://ttcalc.sourceforge.net\r\n"
|
"Project page: http://ttcalc.sourceforge.net\r\n"
|
||||||
"Bignum library: TTMath %d.%d.%d%s\r\n"
|
"Bignum library: TTMath %d.%d.%d%s\r\n"
|
||||||
|
"Bignum type: binary floating point numbers\r\n"
|
||||||
"Programming language: C++\r\n"
|
"Programming language: C++\r\n"
|
||||||
"Compiler: %s\r\n"
|
"Compiler: %s\r\n"
|
||||||
"%s" // for upx
|
"%s" // for upx
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"TTCalc uses the TTMath bignum library"
|
"TTCalc uses the TTMath bignum library"
|
||||||
" which can be found at http://sourceforge.net/projects/ttmath\r\n"
|
" which can be found at http://www.ttmath.org\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#ifdef TTCALC_PORTABLE
|
#ifdef TTCALC_PORTABLE
|
||||||
"This is the portable version of the program TTCalc. In this version "
|
"This is the portable version of the program TTCalc. In this version "
|
||||||
@@ -481,9 +510,14 @@ void Languages::InitGuiMessagesTab()
|
|||||||
"mantissa and 32 bits for the exponent) it's about +/-6.9e+646457021.\r\n"
|
"mantissa and 32 bits for the exponent) it's about +/-6.9e+646457021.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#endif
|
#endif
|
||||||
"If you have any questions, advices or interesting ideas about"
|
"Translations:\r\n"
|
||||||
" this program or if you want to join to this project as"
|
"English Author\r\n" // one tabulator between language and the name of the author
|
||||||
" a developer or a programmer feel free to contant with the author."
|
"Polish Author\r\n"
|
||||||
|
"Spanish Alejandro S. Valdezate <alesanval@gmail.com>\r\n"
|
||||||
|
"Danish Rune Bisgaard Vammen <runebisgaard@gmail.com>\r\n"
|
||||||
|
"Chinese Juis <zsyfly@gmail.com>\r\n"
|
||||||
|
"Russian Vladimir Gladilovich <vdgladilovich@gmail.com>\r\n"
|
||||||
|
"Swedish Lars 'Bafvert' Gafvert <lars.gafvert@gmail.com>\r\n"
|
||||||
);
|
);
|
||||||
InsertGuiPair(about_text_portable_version, " portable version");
|
InsertGuiPair(about_text_portable_version, " portable version");
|
||||||
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
||||||
@@ -492,6 +526,37 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(unknown_error, "An unknown error has occurred");
|
InsertGuiPair(unknown_error, "An unknown error has occurred");
|
||||||
InsertGuiPair(cant_find_help, "I can't find any help files");
|
InsertGuiPair(cant_find_help, "I can't find any help files");
|
||||||
InsertGuiPair(cant_open_project_page, "I can't open the project webpage");
|
InsertGuiPair(cant_open_project_page, "I can't open the project webpage");
|
||||||
|
InsertGuiPair(update_title, "Check for a new version");
|
||||||
|
InsertGuiPair(update_button_next, "Next");
|
||||||
|
InsertGuiPair(update_button_finish, "Finish");
|
||||||
|
InsertGuiPair(update_button_cancel, "Cancel");
|
||||||
|
InsertGuiPair(update_check_at_startup, "Always check for the update on startup");
|
||||||
|
InsertGuiPair(update_check_for_info, "Press Next to check for the update...");
|
||||||
|
InsertGuiPair(update_is_new_version, "Version %d.%d.%d is available, press Next to download...");
|
||||||
|
InsertGuiPair(update_no_new_version, "There is not a new version available.");
|
||||||
|
InsertGuiPair(update_download_from, "Downloading from...");
|
||||||
|
#ifndef TTCALC_PORTABLE
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new setup program has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "Press Finish to close TTCalc and run the installer.");
|
||||||
|
#else
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new version of TTCalc has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "");
|
||||||
|
#endif
|
||||||
|
InsertGuiPair(update_download_error, "There was a problem with downloading, please try again later.");
|
||||||
|
|
||||||
|
InsertGuiPair(pad_title, "Pad");
|
||||||
|
InsertGuiPair(pad_menu_file, "&File");
|
||||||
|
InsertGuiPair(pad_menu_edit, "&Edit");
|
||||||
|
InsertGuiPair(pad_menu_file_new, "&New"); // temporarily not used
|
||||||
|
InsertGuiPair(pad_menu_file_open, "&Open...");
|
||||||
|
InsertGuiPair(pad_menu_file_saveas, "Save &as...");
|
||||||
|
InsertGuiPair(pad_menu_file_close, "&Close");
|
||||||
|
InsertGuiPair(pad_menu_edit_undo, "&Undo \tCtrl+Z");
|
||||||
|
InsertGuiPair(pad_menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(pad_menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(pad_menu_edit_paste, "&Paste \tCtrl+V");
|
||||||
|
InsertGuiPair(pad_menu_edit_del, "&Del \tDel");
|
||||||
|
InsertGuiPair(pad_menu_edit_select_all, "Select &all \tCtrl+A");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -561,8 +626,17 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(display_always_scientific,"Zawsze");
|
InsertGuiPair(display_always_scientific,"Zawsze");
|
||||||
InsertGuiPair(display_not_always_scientific,"Je<EFBFBD>li eksponent jest wi<77>kszy ni<6E>:");
|
InsertGuiPair(display_not_always_scientific,"Je<EFBFBD>li eksponent jest wi<77>kszy ni<6E>:");
|
||||||
InsertGuiPair(display_group_scientific, "Wy<EFBFBD>wietl wynik w postaci naukowej");
|
InsertGuiPair(display_group_scientific, "Wy<EFBFBD>wietl wynik w postaci naukowej");
|
||||||
InsertGuiPair(display_decimal_point, "Przecinek dziesi<73>tny");
|
InsertGuiPair(display_deg_rad_grad, "Funkcje trygonometryczne");
|
||||||
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
InsertGuiPair(display_grouping, "Grupowanie");
|
||||||
|
InsertGuiPair(display_grouping_none, "brak");
|
||||||
|
InsertGuiPair(display_grouping_space, "spacja");
|
||||||
|
InsertGuiPair(display_input_decimal_point, "Przecinek w formule");
|
||||||
|
InsertGuiPair(display_input_decimal_point_item1, " . lub ,");
|
||||||
|
InsertGuiPair(display_output_decimal_point, "Przecinek w wyniku");
|
||||||
|
InsertGuiPair(display_param_sep, "Parametry oddzielane przez");
|
||||||
|
InsertGuiPair(display_param_sep_item2, " ; lub .");
|
||||||
|
InsertGuiPair(display_param_sep_item3, " ; lub ,");
|
||||||
|
|
||||||
InsertGuiPair(convert_type, "Typ");
|
InsertGuiPair(convert_type, "Typ");
|
||||||
InsertGuiPair(convert_input, "Wej<EFBFBD>cie");
|
InsertGuiPair(convert_input, "Wej<EFBFBD>cie");
|
||||||
InsertGuiPair(convert_output, "Wyj<EFBFBD>cie");
|
InsertGuiPair(convert_output, "Wyj<EFBFBD>cie");
|
||||||
@@ -586,11 +660,21 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_lang_swedish, "&Szwedzki");
|
InsertGuiPair(menu_view_lang_swedish, "&Szwedzki");
|
||||||
InsertGuiPair(menu_view_close_program, "&Zamknij");
|
InsertGuiPair(menu_view_close_program, "&Zamknij");
|
||||||
InsertGuiPair(menu_edit_undo, "&Cofnij");
|
InsertGuiPair(menu_edit_undo, "&Cofnij");
|
||||||
InsertGuiPair(menu_edit_paste_formula, "&Wklej");
|
InsertGuiPair(menu_edit_cut, "Wy&tnij \tCtrl+X");
|
||||||
InsertGuiPair(menu_edit_copy_result, "&Kopiuj wynik");
|
InsertGuiPair(menu_edit_copy, "&Kopiuj \tCtrl+C");
|
||||||
|
InsertGuiPair(menu_edit_paste, "&Wklej");
|
||||||
|
InsertGuiPair(menu_edit_del, "&Usu<73> \tDel");
|
||||||
|
InsertGuiPair(menu_edit_paste_formula, "&Wklej formu<6D><75> \tCtrl+V");
|
||||||
|
InsertGuiPair(menu_edit_copy_result, "&Kopiuj wynik \tCtrl+R");
|
||||||
|
InsertGuiPair(menu_edit_copy_both, "Kopiuj &obydwa \tCtrl+B");
|
||||||
|
InsertGuiPair(menu_edit_select_all, "Zaznacz &wszystko \tEsc");
|
||||||
|
InsertGuiPair(menu_edit_bracket, "&Nawiasy \tCtrl+0");
|
||||||
InsertGuiPair(menu_help_help, "&Pomoc");
|
InsertGuiPair(menu_help_help, "&Pomoc");
|
||||||
InsertGuiPair(menu_help_project_page, "&Strona projektu");
|
InsertGuiPair(menu_help_project_page, "&Strona projektu");
|
||||||
|
InsertGuiPair(menu_help_check_update, "Sprawd<EFBFBD> &aktualizacj<63>...");
|
||||||
InsertGuiPair(menu_help_about, "&O programie");
|
InsertGuiPair(menu_help_about, "&O programie");
|
||||||
|
InsertGuiPair(menu_update_available, "&Jest nowa wersja programu");
|
||||||
|
|
||||||
InsertGuiPair(cant_init_calculations, "Nie uda<64>o si<73> zainicjalizowa<77> modu<64>u obs<62>ugi oblicze<7A>");
|
InsertGuiPair(cant_init_calculations, "Nie uda<64>o si<73> zainicjalizowa<77> modu<64>u obs<62>ugi oblicze<7A>");
|
||||||
InsertGuiPair(message_box_error_caption,"TTCalc");
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
||||||
InsertGuiPair(cant_create_thread, "Nie uda<64>o si<73> utworzy<7A> drugiego w<>tku do oblicze<7A>");
|
InsertGuiPair(cant_create_thread, "Nie uda<64>o si<73> utworzy<7A> drugiego w<>tku do oblicze<7A>");
|
||||||
@@ -598,18 +682,19 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(cant_create_main_window, "Nie uda<64>o si<73> utworzy<7A> g<><67>wnego okna aplikacji");
|
InsertGuiPair(cant_create_main_window, "Nie uda<64>o si<73> utworzy<7A> g<><67>wnego okna aplikacji");
|
||||||
InsertGuiPair(cant_init_common_controls,"Nie uda<64>o si<73> zainicjalizowa<77> obs<62>ugi Common Controls (InitCommonControlsEx)");
|
InsertGuiPair(cant_init_common_controls,"Nie uda<64>o si<73> zainicjalizowa<77> obs<62>ugi Common Controls (InitCommonControlsEx)");
|
||||||
InsertGuiPair(about_text,
|
InsertGuiPair(about_text,
|
||||||
"Kalkulator matematyczny TTCalc %d.%d.%d%s%s\r\n"
|
"Kalkulator matematyczny TTCalc %d.%d.%d%s%s\r\n\r\n"
|
||||||
"Autor: Tomasz Sowa\r\n"
|
"Autor: Tomasz Sowa\r\n"
|
||||||
"Kontakt: t.sowa@ttmath.org\r\n"
|
"Kontakt: t.sowa@ttmath.org\r\n"
|
||||||
"Licencja: BSD (open source)\r\n"
|
"Licencja: BSD (open source)\r\n"
|
||||||
"Strona projektu: http://ttcalc.sourceforge.net\r\n"
|
"Strona projektu: http://ttcalc.sourceforge.net\r\n"
|
||||||
"Biblioteka du<64>ych liczb: TTMath %d.%d.%d%s\r\n"
|
"Biblioteka du<64>ych liczb: TTMath %d.%d.%d%s\r\n"
|
||||||
|
"Rodzaj du<64>ych liczb: liczby binarne zmiennoprzecinkowe\r\n"
|
||||||
"J<EFBFBD>zyk programowania: C++\r\n"
|
"J<EFBFBD>zyk programowania: C++\r\n"
|
||||||
"Kompilator: %s\r\n"
|
"Kompilator: %s\r\n"
|
||||||
"%s" // for upx
|
"%s" // for upx
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"Ten program u<>ywa biblioteki du<64>ych liczb TTMath"
|
"Ten program u<>ywa biblioteki du<64>ych liczb TTMath"
|
||||||
" kt<6B>ra jest dost<73>pna na http://sourceforge.net/projects/ttmath\r\n"
|
" kt<6B>ra jest dost<73>pna na http://www.ttmath.org\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#ifdef TTCALC_PORTABLE
|
#ifdef TTCALC_PORTABLE
|
||||||
"To jest wersja portable programu TTCalc. W tej wersji mo<6D>esz dokonywa<77> "
|
"To jest wersja portable programu TTCalc. W tej wersji mo<6D>esz dokonywa<77> "
|
||||||
@@ -617,9 +702,14 @@ void Languages::InitGuiMessagesTab()
|
|||||||
"oraz 32 bitowy wyk<79>adnik) to jest oko<6B>o +/-6.9e+646457021.\r\n"
|
"oraz 32 bitowy wyk<79>adnik) to jest oko<6B>o +/-6.9e+646457021.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#endif
|
#endif
|
||||||
"Je<EFBFBD>eli masz jakie<69> pytania, rady, ciekawe pomys<79>y dotycz<63>ce"
|
"T<EFBFBD>umaczenie:\r\n"
|
||||||
" tego programu lub chcia<69>by<62> do<64><6F>czy<7A> jako projektant/programista"
|
"Angielski Author\r\n" // tab + two spaces
|
||||||
" poprostu skontaktuj si<73> z autorem."
|
"Polski Author\r\n"
|
||||||
|
"Hiszpa<EFBFBD>ski Alejandro S. Valdezate <alesanval@gmail.com>\r\n" // only one space
|
||||||
|
"Du<EFBFBD>ski Rune Bisgaard Vammen <runebisgaard@gmail.com>\r\n"
|
||||||
|
"Chi<EFBFBD>ski Juis <zsyfly@gmail.com>\r\n"
|
||||||
|
"Rosyjski Vladimir Gladilovich <vdgladilovich@gmail.com>\r\n"
|
||||||
|
"Szwedzki Lars 'Bafvert' Gafvert <lars.gafvert@gmail.com>\r\n"
|
||||||
);
|
);
|
||||||
InsertGuiPair(about_text_portable_version, " wersja portable");
|
InsertGuiPair(about_text_portable_version, " wersja portable");
|
||||||
InsertGuiPair(about_text_exe_packer, "Paker exe: UPX 3.03\r\n");
|
InsertGuiPair(about_text_exe_packer, "Paker exe: UPX 3.03\r\n");
|
||||||
@@ -628,7 +718,37 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(unknown_error, "Nieznany kod b<><62>du");
|
InsertGuiPair(unknown_error, "Nieznany kod b<><62>du");
|
||||||
InsertGuiPair(cant_find_help, "Nie mog<6F> znale<6C><65> <20>adnych plik<69>w pomocy");
|
InsertGuiPair(cant_find_help, "Nie mog<6F> znale<6C><65> <20>adnych plik<69>w pomocy");
|
||||||
InsertGuiPair(cant_open_project_page, "Nie mog<6F> otworzy<7A> strony projektu");
|
InsertGuiPair(cant_open_project_page, "Nie mog<6F> otworzy<7A> strony projektu");
|
||||||
|
InsertGuiPair(update_title, "Sprawd<EFBFBD> dost<73>pno<6E><6F> nowej wersji");
|
||||||
|
InsertGuiPair(update_button_next, "Dalej");
|
||||||
|
InsertGuiPair(update_button_finish, "Zako<EFBFBD>cz");
|
||||||
|
InsertGuiPair(update_button_cancel, "Anuluj");
|
||||||
|
InsertGuiPair(update_check_at_startup, "Zawsze sprawdzaj aktualizacje podczas uruchamiania");
|
||||||
|
InsertGuiPair(update_check_for_info, "Wci<EFBFBD>nij Dalej aby sprawdzi<7A> dost<73>pno<6E><6F> aktualizacji...");
|
||||||
|
InsertGuiPair(update_is_new_version, "Wersja %d.%d.%d jest dost<73>pna, wci<63>nij Dalej aby j<> pobra<72>...");
|
||||||
|
InsertGuiPair(update_no_new_version, "Nie ma dost<73>pnej nowej wersji programu.");
|
||||||
|
InsertGuiPair(update_download_from, "Pobieranie z...");
|
||||||
|
#ifndef TTCALC_PORTABLE
|
||||||
|
InsertGuiPair(update_downloaded_info1, "Nowy instalator zosta<74> <20>ci<63>gni<6E>ty.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "Wci<EFBFBD>nij Zako<6B>cz aby zamkn<6B><6E> program TTCalc i uruchomi<6D> pobrany instalator.");
|
||||||
|
#else
|
||||||
|
InsertGuiPair(update_downloaded_info1, "Nowa wersja programu TTCalc zosta<74>a <20>ci<63>gni<6E>ta");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "");
|
||||||
|
#endif
|
||||||
|
InsertGuiPair(update_download_error, "Wyst<EFBFBD>pi<EFBFBD>y problemy ze <20>ci<63>ganiem, prosz<73> spr<70>bowa<77> ponownie p<><70>niej");
|
||||||
|
|
||||||
|
InsertGuiPair(pad_title, "Padzzzzz");
|
||||||
|
InsertGuiPair(pad_menu_file, "&Plik");
|
||||||
|
InsertGuiPair(pad_menu_edit, "&Edycja");
|
||||||
|
InsertGuiPair(pad_menu_file_new, "&Nowy"); // temporarily not used
|
||||||
|
InsertGuiPair(pad_menu_file_open, "&Otw<74>rz...");
|
||||||
|
InsertGuiPair(pad_menu_file_saveas, "Zapisz &jako...");
|
||||||
|
InsertGuiPair(pad_menu_file_close, "&Zamknij");
|
||||||
|
InsertGuiPair(pad_menu_edit_undo, "&Cofnij \tCtrl+Z");
|
||||||
|
InsertGuiPair(pad_menu_edit_cut, "Wy&tnij \tCtrl+X");
|
||||||
|
InsertGuiPair(pad_menu_edit_copy, "&Kopiuj \tCtrl+C");
|
||||||
|
InsertGuiPair(pad_menu_edit_paste, "&Wklej \tCtrl+V");
|
||||||
|
InsertGuiPair(pad_menu_edit_del, "&Usu<73> \tDel");
|
||||||
|
InsertGuiPair(pad_menu_edit_select_all, "Zaznacz wszystko \tCtrl+A");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -700,12 +820,20 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(display_always_scientific,"Siempre");
|
InsertGuiPair(display_always_scientific,"Siempre");
|
||||||
InsertGuiPair(display_not_always_scientific,"Cuando el exponente es mas grande que:");
|
InsertGuiPair(display_not_always_scientific,"Cuando el exponente es mas grande que:");
|
||||||
InsertGuiPair(display_group_scientific, "Imprimir el resultado como valor cientifico");
|
InsertGuiPair(display_group_scientific, "Imprimir el resultado como valor cientifico");
|
||||||
InsertGuiPair(display_decimal_point, "Decimal point");
|
InsertGuiPair(display_deg_rad_grad, "Trigonometric functions");
|
||||||
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
|
||||||
InsertGuiPair(convert_type, "Tipo");
|
InsertGuiPair(convert_type, "Tipo");
|
||||||
InsertGuiPair(convert_input, "Entrada");
|
InsertGuiPair(convert_input, "Entrada");
|
||||||
InsertGuiPair(convert_output, "Salida");
|
InsertGuiPair(convert_output, "Salida");
|
||||||
InsertGuiPair(convert_dynamic_output, "Auto prefijo");
|
InsertGuiPair(convert_dynamic_output, "Auto prefijo");
|
||||||
|
InsertGuiPair(display_grouping, "Grouping");
|
||||||
|
InsertGuiPair(display_grouping_none, "None");
|
||||||
|
InsertGuiPair(display_grouping_space, "Space");
|
||||||
|
InsertGuiPair(display_input_decimal_point, "Input decimal point");
|
||||||
|
InsertGuiPair(display_input_decimal_point_item1, " . or ,");
|
||||||
|
InsertGuiPair(display_output_decimal_point, "Output decimal point");
|
||||||
|
InsertGuiPair(display_param_sep, "Parameters separated by");
|
||||||
|
InsertGuiPair(display_param_sep_item2, " ; or .");
|
||||||
|
InsertGuiPair(display_param_sep_item3, " ; or ,");
|
||||||
|
|
||||||
InsertGuiPair(menu_view, "&Ver");
|
InsertGuiPair(menu_view, "&Ver");
|
||||||
InsertGuiPair(menu_edit, "&Editar");
|
InsertGuiPair(menu_edit, "&Editar");
|
||||||
@@ -725,11 +853,21 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
||||||
InsertGuiPair(menu_view_close_program, "&Close");
|
InsertGuiPair(menu_view_close_program, "&Close");
|
||||||
InsertGuiPair(menu_edit_undo, "&Deshacer");
|
InsertGuiPair(menu_edit_undo, "&Deshacer");
|
||||||
|
InsertGuiPair(menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(menu_edit_paste, "&Paste");
|
||||||
|
InsertGuiPair(menu_edit_del, "&Delete \tDel");
|
||||||
InsertGuiPair(menu_edit_paste_formula, "&Pegar");
|
InsertGuiPair(menu_edit_paste_formula, "&Pegar");
|
||||||
InsertGuiPair(menu_edit_copy_result, "&Copiar resultado");
|
InsertGuiPair(menu_edit_copy_result, "&Copiar resultado");
|
||||||
|
InsertGuiPair(menu_edit_copy_both, "Copy &both \tCtrl+B");
|
||||||
|
InsertGuiPair(menu_edit_select_all, "Select &all \tEsc");
|
||||||
|
InsertGuiPair(menu_edit_bracket, "Bracke&t \tCtrl+0");
|
||||||
InsertGuiPair(menu_help_help, "&Ayuda");
|
InsertGuiPair(menu_help_help, "&Ayuda");
|
||||||
InsertGuiPair(menu_help_project_page, "&Pagina del proyecto");
|
InsertGuiPair(menu_help_project_page, "&Pagina del proyecto");
|
||||||
|
InsertGuiPair(menu_help_check_update, "&Check update...");
|
||||||
InsertGuiPair(menu_help_about, "&Acerca de");
|
InsertGuiPair(menu_help_about, "&Acerca de");
|
||||||
|
InsertGuiPair(menu_update_available, "&New version is available");
|
||||||
|
|
||||||
InsertGuiPair(cant_init_calculations, "No se puede inicializar el modulo de calculo");
|
InsertGuiPair(cant_init_calculations, "No se puede inicializar el modulo de calculo");
|
||||||
InsertGuiPair(message_box_error_caption,"TTCalc");
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
||||||
InsertGuiPair(cant_create_thread, "No se puede crear la segunda hebra para calcular");
|
InsertGuiPair(cant_create_thread, "No se puede crear la segunda hebra para calcular");
|
||||||
@@ -737,18 +875,19 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(cant_create_main_window, "No se puede crear la ventana principal par ala aplicacion");
|
InsertGuiPair(cant_create_main_window, "No se puede crear la ventana principal par ala aplicacion");
|
||||||
InsertGuiPair(cant_init_common_controls,"No se pueden inicializar los controles comunes (InitCommonControlsEx)");
|
InsertGuiPair(cant_init_common_controls,"No se pueden inicializar los controles comunes (InitCommonControlsEx)");
|
||||||
InsertGuiPair(about_text,
|
InsertGuiPair(about_text,
|
||||||
"Calculadora matematica TTCalc %d.%d.%d%s%s\r\n"
|
"Calculadora matematica TTCalc %d.%d.%d%s%s\r\n\r\n"
|
||||||
"Autor: Tomasz Sowa\r\n"
|
"Autor: Tomasz Sowa\r\n"
|
||||||
"Contacto: t.sowa@ttmath.org\r\n"
|
"Contacto: t.sowa@ttmath.org\r\n"
|
||||||
"Licencia: BSD (open source)\r\n"
|
"Licencia: BSD (open source)\r\n"
|
||||||
"Pagina del proyecto: http://ttcalc.sourceforge.net\r\n"
|
"Pagina del proyecto: http://ttcalc.sourceforge.net\r\n"
|
||||||
"Biblioteca Bignum: TTMath %d.%d.%d%s\r\n"
|
"Biblioteca Bignum: TTMath %d.%d.%d%s\r\n"
|
||||||
|
"Bignum type: binary floating point numbers\r\n"
|
||||||
"Lenguaje de programacion: C++\r\n"
|
"Lenguaje de programacion: C++\r\n"
|
||||||
"Compilador: %s\r\n"
|
"Compilador: %s\r\n"
|
||||||
"%s" // for upx
|
"%s" // for upx
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"TTCalc usa la biblioteca TTMath bignum"
|
"TTCalc usa la biblioteca TTMath bignum"
|
||||||
" la cual puede ser encontrada en http://sourceforge.net/projects/ttmath\r\n"
|
" la cual puede ser encontrada en http://www.ttmath.org\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#ifdef TTCALC_PORTABLE
|
#ifdef TTCALC_PORTABLE
|
||||||
"Esta es la version portatil del programa TTCalc. En esta version "
|
"Esta es la version portatil del programa TTCalc. En esta version "
|
||||||
@@ -756,9 +895,14 @@ void Languages::InitGuiMessagesTab()
|
|||||||
"mantisa y 32 bits para el exponente) que es aproximadamente +/-6.9e+646457021.\r\n"
|
"mantisa y 32 bits para el exponente) que es aproximadamente +/-6.9e+646457021.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#endif
|
#endif
|
||||||
"Si tienes preguntas, consejos o ideas interesantes sobre"
|
"Translations:\r\n"
|
||||||
" este programa o si quieres unirte a este proyecto como"
|
"English Author\r\n" // one tabulator between language and the name of the author
|
||||||
" desarrollador o programador, no dudes en contactar con el autor."
|
"Polish Author\r\n"
|
||||||
|
"Spanish Alejandro S. Valdezate <alesanval@gmail.com>\r\n"
|
||||||
|
"Danish Rune Bisgaard Vammen <runebisgaard@gmail.com>\r\n"
|
||||||
|
"Chinese Juis <zsyfly@gmail.com>\r\n"
|
||||||
|
"Russian Vladimir Gladilovich <vdgladilovich@gmail.com>\r\n"
|
||||||
|
"Swedish Lars 'Bafvert' Gafvert <lars.gafvert@gmail.com>\r\n"
|
||||||
);
|
);
|
||||||
InsertGuiPair(about_text_portable_version, " version portatil");
|
InsertGuiPair(about_text_portable_version, " version portatil");
|
||||||
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
||||||
@@ -767,6 +911,37 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(unknown_error, "Ocurrio un error desconocido");
|
InsertGuiPair(unknown_error, "Ocurrio un error desconocido");
|
||||||
InsertGuiPair(cant_find_help, "No se encuentran los ficheros de ayuda");
|
InsertGuiPair(cant_find_help, "No se encuentran los ficheros de ayuda");
|
||||||
InsertGuiPair(cant_open_project_page, "No se puede abrir la pagina dle proyecto");
|
InsertGuiPair(cant_open_project_page, "No se puede abrir la pagina dle proyecto");
|
||||||
|
InsertGuiPair(update_title, "Check for a new version");
|
||||||
|
InsertGuiPair(update_button_next, "Next");
|
||||||
|
InsertGuiPair(update_button_finish, "Finish");
|
||||||
|
InsertGuiPair(update_button_cancel, "Cancel");
|
||||||
|
InsertGuiPair(update_check_at_startup, "Always check for the update on startup");
|
||||||
|
InsertGuiPair(update_check_for_info, "Press Next to check for the update...");
|
||||||
|
InsertGuiPair(update_is_new_version, "Version %d.%d.%d is available, press Next to download...");
|
||||||
|
InsertGuiPair(update_no_new_version, "There is not a new version available.");
|
||||||
|
InsertGuiPair(update_download_from, "Downloading from...");
|
||||||
|
#ifndef TTCALC_PORTABLE
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new setup program has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "Press Finish to close TTCalc and run the installer.");
|
||||||
|
#else
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new version of TTCalc has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "");
|
||||||
|
#endif
|
||||||
|
InsertGuiPair(update_download_error, "There was a problem with downloading, please try again later.");
|
||||||
|
|
||||||
|
InsertGuiPair(pad_title, "Pad");
|
||||||
|
InsertGuiPair(pad_menu_file, "&File");
|
||||||
|
InsertGuiPair(pad_menu_edit, "&Edit");
|
||||||
|
InsertGuiPair(pad_menu_file_new, "&New"); // temporarily not used
|
||||||
|
InsertGuiPair(pad_menu_file_open, "&Open...");
|
||||||
|
InsertGuiPair(pad_menu_file_saveas, "Save &as...");
|
||||||
|
InsertGuiPair(pad_menu_file_close, "&Close");
|
||||||
|
InsertGuiPair(pad_menu_edit_undo, "&Undo \tCtrl+Z");
|
||||||
|
InsertGuiPair(pad_menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(pad_menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(pad_menu_edit_paste, "&Paste \tCtrl+V");
|
||||||
|
InsertGuiPair(pad_menu_edit_del, "&Del \tDel");
|
||||||
|
InsertGuiPair(pad_menu_edit_select_all, "Select &all \tCtrl+A");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -836,12 +1011,20 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(display_always_scientific,"Altid");
|
InsertGuiPair(display_always_scientific,"Altid");
|
||||||
InsertGuiPair(display_not_always_scientific,"N<EFBFBD>r exponenten er st<73>rre end:");
|
InsertGuiPair(display_not_always_scientific,"N<EFBFBD>r exponenten er st<73>rre end:");
|
||||||
InsertGuiPair(display_group_scientific, "Print resultatet som den videnskablige v<>rdi");
|
InsertGuiPair(display_group_scientific, "Print resultatet som den videnskablige v<>rdi");
|
||||||
InsertGuiPair(display_decimal_point, "Decimal punkt");
|
InsertGuiPair(display_deg_rad_grad, "Trigonometric functions");
|
||||||
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
|
||||||
InsertGuiPair(convert_type, "Type");
|
InsertGuiPair(convert_type, "Type");
|
||||||
InsertGuiPair(convert_input, "Input");
|
InsertGuiPair(convert_input, "Input");
|
||||||
InsertGuiPair(convert_output, "Udput");
|
InsertGuiPair(convert_output, "Udput");
|
||||||
InsertGuiPair(convert_dynamic_output, "Auto pr<70>fix");
|
InsertGuiPair(convert_dynamic_output, "Auto pr<70>fix");
|
||||||
|
InsertGuiPair(display_grouping, "Grouping");
|
||||||
|
InsertGuiPair(display_grouping_none, "None");
|
||||||
|
InsertGuiPair(display_grouping_space, "Space");
|
||||||
|
InsertGuiPair(display_input_decimal_point, "Input decimal point");
|
||||||
|
InsertGuiPair(display_input_decimal_point_item1, " . or ,");
|
||||||
|
InsertGuiPair(display_output_decimal_point, "Output decimal point");
|
||||||
|
InsertGuiPair(display_param_sep, "Parameters separated by");
|
||||||
|
InsertGuiPair(display_param_sep_item2, " ; or .");
|
||||||
|
InsertGuiPair(display_param_sep_item3, " ; or ,");
|
||||||
|
|
||||||
InsertGuiPair(menu_view, "&Vis");
|
InsertGuiPair(menu_view, "&Vis");
|
||||||
InsertGuiPair(menu_edit, "&Rediger");
|
InsertGuiPair(menu_edit, "&Rediger");
|
||||||
@@ -861,11 +1044,21 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_lang_swedish, "S&wedish");
|
InsertGuiPair(menu_view_lang_swedish, "S&wedish");
|
||||||
InsertGuiPair(menu_view_close_program, "&Afslut");
|
InsertGuiPair(menu_view_close_program, "&Afslut");
|
||||||
InsertGuiPair(menu_edit_undo, "&Fortryd");
|
InsertGuiPair(menu_edit_undo, "&Fortryd");
|
||||||
|
InsertGuiPair(menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(menu_edit_paste, "&Paste");
|
||||||
|
InsertGuiPair(menu_edit_del, "&Delete \tDel");
|
||||||
InsertGuiPair(menu_edit_paste_formula, "&S<>t ind");
|
InsertGuiPair(menu_edit_paste_formula, "&S<>t ind");
|
||||||
InsertGuiPair(menu_edit_copy_result, "&Kopier resultatet");
|
InsertGuiPair(menu_edit_copy_result, "&Kopier resultatet");
|
||||||
|
InsertGuiPair(menu_edit_copy_both, "Copy &both \tCtrl+B");
|
||||||
|
InsertGuiPair(menu_edit_select_all, "Select &all \tEsc");
|
||||||
|
InsertGuiPair(menu_edit_bracket, "Bracke&t \tCtrl+0");
|
||||||
InsertGuiPair(menu_help_help, "&Hj<48>lp");
|
InsertGuiPair(menu_help_help, "&Hj<48>lp");
|
||||||
InsertGuiPair(menu_help_project_page, "&Projekt side");
|
InsertGuiPair(menu_help_project_page, "&Projekt side");
|
||||||
|
InsertGuiPair(menu_help_check_update, "&Check update...");
|
||||||
InsertGuiPair(menu_help_about, "&Om");
|
InsertGuiPair(menu_help_about, "&Om");
|
||||||
|
InsertGuiPair(menu_update_available, "&New version is available");
|
||||||
|
|
||||||
InsertGuiPair(cant_init_calculations, "Moduelt for uregninger kunne ikke s<>ttes i gang");
|
InsertGuiPair(cant_init_calculations, "Moduelt for uregninger kunne ikke s<>ttes i gang");
|
||||||
InsertGuiPair(message_box_error_caption,"TTCalc");
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
||||||
InsertGuiPair(cant_create_thread, "Den anden tr<74>d for udregning kunne ikke laves");
|
InsertGuiPair(cant_create_thread, "Den anden tr<74>d for udregning kunne ikke laves");
|
||||||
@@ -873,18 +1066,19 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(cant_create_main_window, "Applikationens hovedvindue kunne ikke laves");
|
InsertGuiPair(cant_create_main_window, "Applikationens hovedvindue kunne ikke laves");
|
||||||
InsertGuiPair(cant_init_common_controls,"De f<>lles kontrol indstillinger kunne ikke s<>ttes i gang (InitCommonControlsEx)");
|
InsertGuiPair(cant_init_common_controls,"De f<>lles kontrol indstillinger kunne ikke s<>ttes i gang (InitCommonControlsEx)");
|
||||||
InsertGuiPair(about_text,
|
InsertGuiPair(about_text,
|
||||||
"Matematisk lommeregner TTCalc %d.%d.%d%s%s\r\n"
|
"Matematisk lommeregner TTCalc %d.%d.%d%s%s\r\n\r\n"
|
||||||
"Forfatter: Tomasz Sowa\r\n"
|
"Forfatter: Tomasz Sowa\r\n"
|
||||||
"Kontakt: t.sowa@ttmath.org\r\n"
|
"Kontakt: t.sowa@ttmath.org\r\n"
|
||||||
"Licens: BSD (open source)\r\n"
|
"Licens: BSD (open source)\r\n"
|
||||||
"Projekt side: http://ttcalc.sourceforge.net\r\n"
|
"Projekt side: http://ttcalc.sourceforge.net\r\n"
|
||||||
"Bignum biblotek: TTMath %d.%d.%d%s\r\n"
|
"Bignum biblotek: TTMath %d.%d.%d%s\r\n"
|
||||||
|
"Bignum type: binary floating point numbers\r\n"
|
||||||
"Programmerings sprog: C++\r\n"
|
"Programmerings sprog: C++\r\n"
|
||||||
"Kompilator: %s\r\n"
|
"Kompilator: %s\r\n"
|
||||||
"%s" // for upx
|
"%s" // for upx
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"TTCalc bruger TTMath bignum bibloteket"
|
"TTCalc bruger TTMath bignum bibloteket"
|
||||||
" som kan findes ved http://sourceforge.net/projects/ttmath\r\n"
|
" som kan findes ved http://www.ttmath.org\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#ifdef TTCALC_PORTABLE
|
#ifdef TTCALC_PORTABLE
|
||||||
"Dette er den transportable version af programmet TTCalc. I denne version "
|
"Dette er den transportable version af programmet TTCalc. I denne version "
|
||||||
@@ -892,9 +1086,14 @@ void Languages::InitGuiMessagesTab()
|
|||||||
"mantissen og 32 bits for exponenten) det er omkring +/-6.9e+646457021.\r\n"
|
"mantissen og 32 bits for exponenten) det er omkring +/-6.9e+646457021.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#endif
|
#endif
|
||||||
"Hvis du har sp<73>rgsm<73>l, gode r<>d eller interessante id<69>r vedr<64>rende"
|
"Translations:\r\n"
|
||||||
" dette program eller hvis du vil tilslutte dig dette projekt som"
|
"English Author\r\n" // one tabulator between language and the name of the author
|
||||||
" en udvikler eller en programm<6D>r er du velkommen til at kontakte forfatteren."
|
"Polish Author\r\n"
|
||||||
|
"Spanish Alejandro S. Valdezate <alesanval@gmail.com>\r\n"
|
||||||
|
"Danish Rune Bisgaard Vammen <runebisgaard@gmail.com>\r\n"
|
||||||
|
"Chinese Juis <zsyfly@gmail.com>\r\n"
|
||||||
|
"Russian Vladimir Gladilovich <vdgladilovich@gmail.com>\r\n"
|
||||||
|
"Swedish Lars 'Bafvert' Gafvert <lars.gafvert@gmail.com>\r\n"
|
||||||
);
|
);
|
||||||
InsertGuiPair(about_text_portable_version, " transportabel version");
|
InsertGuiPair(about_text_portable_version, " transportabel version");
|
||||||
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
||||||
@@ -903,7 +1102,37 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(unknown_error, "Der er sket en ukendt fejl");
|
InsertGuiPair(unknown_error, "Der er sket en ukendt fejl");
|
||||||
InsertGuiPair(cant_find_help, "Der kunne ikke findes nogen hj<68>lp filer");
|
InsertGuiPair(cant_find_help, "Der kunne ikke findes nogen hj<68>lp filer");
|
||||||
InsertGuiPair(cant_open_project_page, "Projekt siden kunne ikke <20>bnes");
|
InsertGuiPair(cant_open_project_page, "Projekt siden kunne ikke <20>bnes");
|
||||||
|
InsertGuiPair(update_title, "Check for a new version");
|
||||||
|
InsertGuiPair(update_button_next, "Next");
|
||||||
|
InsertGuiPair(update_button_finish, "Finish");
|
||||||
|
InsertGuiPair(update_button_cancel, "Cancel");
|
||||||
|
InsertGuiPair(update_check_at_startup, "Always check for the update on startup");
|
||||||
|
InsertGuiPair(update_check_for_info, "Press Next to check for the update...");
|
||||||
|
InsertGuiPair(update_is_new_version, "Version %d.%d.%d is available, press Next to download...");
|
||||||
|
InsertGuiPair(update_no_new_version, "There is not a new version available.");
|
||||||
|
InsertGuiPair(update_download_from, "Downloading from...");
|
||||||
|
#ifndef TTCALC_PORTABLE
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new setup program has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "Press Finish to close TTCalc and run the installer.");
|
||||||
|
#else
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new version of TTCalc has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "");
|
||||||
|
#endif
|
||||||
|
InsertGuiPair(update_download_error, "There was a problem with downloading, please try again later.");
|
||||||
|
|
||||||
|
InsertGuiPair(pad_title, "Pad");
|
||||||
|
InsertGuiPair(pad_menu_file, "&File");
|
||||||
|
InsertGuiPair(pad_menu_edit, "&Edit");
|
||||||
|
InsertGuiPair(pad_menu_file_new, "&New"); // temporarily not used
|
||||||
|
InsertGuiPair(pad_menu_file_open, "&Open...");
|
||||||
|
InsertGuiPair(pad_menu_file_saveas, "Save &as...");
|
||||||
|
InsertGuiPair(pad_menu_file_close, "&Close");
|
||||||
|
InsertGuiPair(pad_menu_edit_undo, "&Undo \tCtrl+Z");
|
||||||
|
InsertGuiPair(pad_menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(pad_menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(pad_menu_edit_paste, "&Paste \tCtrl+V");
|
||||||
|
InsertGuiPair(pad_menu_edit_del, "&Del \tDel");
|
||||||
|
InsertGuiPair(pad_menu_edit_select_all, "Select &all \tCtrl+A");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -971,12 +1200,20 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(display_always_scientific,"һֱ");
|
InsertGuiPair(display_always_scientific,"һֱ");
|
||||||
InsertGuiPair(display_not_always_scientific,"<EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:");
|
InsertGuiPair(display_not_always_scientific,"<EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:");
|
||||||
InsertGuiPair(display_group_scientific, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(display_group_scientific, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(display_decimal_point, "С<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(display_deg_rad_grad, "Trigonometric functions");
|
||||||
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
|
||||||
InsertGuiPair(convert_type, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(convert_type, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(convert_input, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(convert_input, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(convert_output, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(convert_output, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(convert_dynamic_output, "<EFBFBD>Զ<EFBFBD>");
|
InsertGuiPair(convert_dynamic_output, "<EFBFBD>Զ<EFBFBD>");
|
||||||
|
InsertGuiPair(display_grouping, "Grouping");
|
||||||
|
InsertGuiPair(display_grouping_none, "None");
|
||||||
|
InsertGuiPair(display_grouping_space, "Space");
|
||||||
|
InsertGuiPair(display_input_decimal_point, "Input decimal point");
|
||||||
|
InsertGuiPair(display_input_decimal_point_item1, " . or ,");
|
||||||
|
InsertGuiPair(display_output_decimal_point, "Output decimal point");
|
||||||
|
InsertGuiPair(display_param_sep, "Parameters separated by");
|
||||||
|
InsertGuiPair(display_param_sep_item2, " ; or .");
|
||||||
|
InsertGuiPair(display_param_sep_item3, " ; or ,");
|
||||||
|
|
||||||
InsertGuiPair(menu_view, "&<26>鿴");
|
InsertGuiPair(menu_view, "&<26>鿴");
|
||||||
InsertGuiPair(menu_edit, "&<26>༭");
|
InsertGuiPair(menu_edit, "&<26>༭");
|
||||||
@@ -996,11 +1233,21 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
||||||
InsertGuiPair(menu_view_close_program, "&<26>ر<EFBFBD>");
|
InsertGuiPair(menu_view_close_program, "&<26>ر<EFBFBD>");
|
||||||
InsertGuiPair(menu_edit_undo, "&ȡ<><C8A1>");
|
InsertGuiPair(menu_edit_undo, "&ȡ<><C8A1>");
|
||||||
|
InsertGuiPair(menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(menu_edit_paste, "&Paste");
|
||||||
|
InsertGuiPair(menu_edit_del, "&Delete \tDel");
|
||||||
InsertGuiPair(menu_edit_paste_formula, "&ճ<><D5B3>");
|
InsertGuiPair(menu_edit_paste_formula, "&ճ<><D5B3>");
|
||||||
InsertGuiPair(menu_edit_copy_result, "&<26><><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD>");
|
InsertGuiPair(menu_edit_copy_result, "&<26><><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD>");
|
||||||
|
InsertGuiPair(menu_edit_copy_both, "Copy &both \tCtrl+B");
|
||||||
|
InsertGuiPair(menu_edit_select_all, "Select &all \tEsc");
|
||||||
|
InsertGuiPair(menu_edit_bracket, "Bracke&t \tCtrl+0");
|
||||||
InsertGuiPair(menu_help_help, "&<26><><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_help_help, "&<26><><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(menu_help_project_page, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ");
|
InsertGuiPair(menu_help_project_page, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ");
|
||||||
|
InsertGuiPair(menu_help_check_update, "&Check update...");
|
||||||
InsertGuiPair(menu_help_about, "&<26><><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_help_about, "&<26><><EFBFBD><EFBFBD>");
|
||||||
|
InsertGuiPair(menu_update_available, "&New version is available");
|
||||||
|
|
||||||
InsertGuiPair(cant_init_calculations, "<EFBFBD><EFBFBD><EFBFBD>ܳ<EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_init_calculations, "<EFBFBD><EFBFBD><EFBFBD>ܳ<EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(message_box_error_caption,"TTCalc");
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
||||||
InsertGuiPair(cant_create_thread, "<EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_create_thread, "<EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
@@ -1008,18 +1255,19 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(cant_create_main_window, "<EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_create_main_window, "<EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(cant_init_common_controls,"<EFBFBD><EFBFBD><EFBFBD>ܳ<EFBFBD>ʼ<EFBFBD><EFBFBD>ͨ<EFBFBD>ÿؼ<EFBFBD>(InitCommonControlsEx)");
|
InsertGuiPair(cant_init_common_controls,"<EFBFBD><EFBFBD><EFBFBD>ܳ<EFBFBD>ʼ<EFBFBD><EFBFBD>ͨ<EFBFBD>ÿؼ<EFBFBD>(InitCommonControlsEx)");
|
||||||
InsertGuiPair(about_text,
|
InsertGuiPair(about_text,
|
||||||
"Mathematical calculator TTCalc %d.%d.%d%s%s\r\n"
|
"Mathematical calculator TTCalc %d.%d.%d%s%s\r\n\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Tomasz Sowa\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Tomasz Sowa\r\n"
|
||||||
"<EFBFBD><EFBFBD>ϵ: t.sowa@ttmath.org\r\n"
|
"<EFBFBD><EFBFBD>ϵ: t.sowa@ttmath.org\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: BSD (<28><>Դ<EFBFBD><D4B4>Ŀ)\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: BSD (<28><>Դ<EFBFBD><D4B4>Ŀ)\r\n"
|
||||||
"<EFBFBD><EFBFBD>ҳ: http://ttcalc.sourceforge.net\r\n"
|
"<EFBFBD><EFBFBD>ҳ: http://ttcalc.sourceforge.net\r\n"
|
||||||
"Bignum library: TTMath %d.%d.%d%s\r\n"
|
"Bignum library: TTMath %d.%d.%d%s\r\n"
|
||||||
|
"Bignum type: binary floating point numbers\r\n"
|
||||||
"Programming language: C++\r\n"
|
"Programming language: C++\r\n"
|
||||||
"Compiler: %s\r\n"
|
"Compiler: %s\r\n"
|
||||||
"%s" // for upx
|
"%s" // for upx
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"TTCalc uses the TTMath bignum library"
|
"TTCalc uses the TTMath bignum library"
|
||||||
" which can be found at http://sourceforge.net/projects/ttmath\r\n"
|
" which can be found at http://www.ttmath.org\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#ifdef TTCALC_PORTABLE
|
#ifdef TTCALC_PORTABLE
|
||||||
"This is the portable version of the program TTCalc. In this version "
|
"This is the portable version of the program TTCalc. In this version "
|
||||||
@@ -1027,7 +1275,14 @@ void Languages::InitGuiMessagesTab()
|
|||||||
"mantissa and 32 bits for the exponent) it's about +/-6.9e+646457021.\r\n"
|
"mantissa and 32 bits for the exponent) it's about +/-6.9e+646457021.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#endif
|
#endif
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>κδ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⡢<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD>뷨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뿪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҽ<EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD>ӭ<EFBFBD><EFBFBD><EFBFBD>ǣ<EFBFBD>"
|
"Translations:\r\n"
|
||||||
|
"English Author\r\n" // one tabulator between language and the name of the author
|
||||||
|
"Polish Author\r\n"
|
||||||
|
"Spanish Alejandro S. Valdezate <alesanval@gmail.com>\r\n"
|
||||||
|
"Danish Rune Bisgaard Vammen <runebisgaard@gmail.com>\r\n"
|
||||||
|
"Chinese Juis <zsyfly@gmail.com>\r\n"
|
||||||
|
"Russian Vladimir Gladilovich <vdgladilovich@gmail.com>\r\n"
|
||||||
|
"Swedish Lars 'Bafvert' Gafvert <lars.gafvert@gmail.com>\r\n"
|
||||||
);
|
);
|
||||||
InsertGuiPair(about_text_portable_version, " portable version");
|
InsertGuiPair(about_text_portable_version, " portable version");
|
||||||
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
||||||
@@ -1036,6 +1291,37 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(unknown_error, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ֪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(unknown_error, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ֪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(cant_find_help, "û<EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>");
|
InsertGuiPair(cant_find_help, "û<EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>");
|
||||||
InsertGuiPair(cant_open_project_page, "<EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ");
|
InsertGuiPair(cant_open_project_page, "<EFBFBD><EFBFBD><EFBFBD>ܴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ");
|
||||||
|
InsertGuiPair(update_title, "Check for a new version");
|
||||||
|
InsertGuiPair(update_button_next, "Next");
|
||||||
|
InsertGuiPair(update_button_finish, "Finish");
|
||||||
|
InsertGuiPair(update_button_cancel, "Cancel");
|
||||||
|
InsertGuiPair(update_check_at_startup, "Always check for the update on startup");
|
||||||
|
InsertGuiPair(update_check_for_info, "Press Next to check for the update...");
|
||||||
|
InsertGuiPair(update_is_new_version, "Version %d.%d.%d is available, press Next to download...");
|
||||||
|
InsertGuiPair(update_no_new_version, "There is not a new version available.");
|
||||||
|
InsertGuiPair(update_download_from, "Downloading from...");
|
||||||
|
#ifndef TTCALC_PORTABLE
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new setup program has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "Press Finish to close TTCalc and run the installer.");
|
||||||
|
#else
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new version of TTCalc has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "");
|
||||||
|
#endif
|
||||||
|
InsertGuiPair(update_download_error, "There was a problem with downloading, please try again later.");
|
||||||
|
|
||||||
|
InsertGuiPair(pad_title, "Pad");
|
||||||
|
InsertGuiPair(pad_menu_file, "&File");
|
||||||
|
InsertGuiPair(pad_menu_edit, "&Edit");
|
||||||
|
InsertGuiPair(pad_menu_file_new, "&New"); // temporarily not used
|
||||||
|
InsertGuiPair(pad_menu_file_open, "&Open...");
|
||||||
|
InsertGuiPair(pad_menu_file_saveas, "Save &as...");
|
||||||
|
InsertGuiPair(pad_menu_file_close, "&Close");
|
||||||
|
InsertGuiPair(pad_menu_edit_undo, "&Undo \tCtrl+Z");
|
||||||
|
InsertGuiPair(pad_menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(pad_menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(pad_menu_edit_paste, "&Paste \tCtrl+V");
|
||||||
|
InsertGuiPair(pad_menu_edit_del, "&Del \tDel");
|
||||||
|
InsertGuiPair(pad_menu_edit_select_all, "Select &all \tCtrl+A");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1104,12 +1390,20 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(display_always_scientific,"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(display_always_scientific,"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(display_not_always_scientific,"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(display_not_always_scientific,"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(display_group_scientific, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>");
|
InsertGuiPair(display_group_scientific, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(display_decimal_point, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>");
|
InsertGuiPair(display_deg_rad_grad, "Trigonometric functions");
|
||||||
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
|
||||||
InsertGuiPair(convert_type, "<EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(convert_type, "<EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(convert_input, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(convert_input, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(convert_output, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(convert_output, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(convert_dynamic_output, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(convert_dynamic_output, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
|
InsertGuiPair(display_grouping, "Grouping");
|
||||||
|
InsertGuiPair(display_grouping_none, "None");
|
||||||
|
InsertGuiPair(display_grouping_space, "Space");
|
||||||
|
InsertGuiPair(display_input_decimal_point, "Input decimal point");
|
||||||
|
InsertGuiPair(display_input_decimal_point_item1, " . or ,");
|
||||||
|
InsertGuiPair(display_output_decimal_point, "Output decimal point");
|
||||||
|
InsertGuiPair(display_param_sep, "Parameters separated by");
|
||||||
|
InsertGuiPair(display_param_sep_item2, " ; or .");
|
||||||
|
InsertGuiPair(display_param_sep_item3, " ; or ,");
|
||||||
|
|
||||||
InsertGuiPair(menu_view, "&<26><><EFBFBD>");
|
InsertGuiPair(menu_view, "&<26><><EFBFBD>");
|
||||||
InsertGuiPair(menu_edit, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_edit, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
@@ -1129,11 +1423,21 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
InsertGuiPair(menu_view_lang_swedish, "&Swedish");
|
||||||
InsertGuiPair(menu_view_close_program, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_view_close_program, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(menu_edit_undo, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_edit_undo, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
|
InsertGuiPair(menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(menu_edit_paste, "&Paste");
|
||||||
|
InsertGuiPair(menu_edit_del, "&Delete \tDel");
|
||||||
InsertGuiPair(menu_edit_paste_formula, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_edit_paste_formula, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(menu_edit_copy_result, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_edit_copy_result, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
|
InsertGuiPair(menu_edit_copy_both, "Copy &both \tCtrl+B");
|
||||||
|
InsertGuiPair(menu_edit_select_all, "Select &all \tEsc");
|
||||||
|
InsertGuiPair(menu_edit_bracket, "Bracke&t \tCtrl+0");
|
||||||
InsertGuiPair(menu_help_help, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_help_help, "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(menu_help_project_page, "&<26><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_help_project_page, "&<26><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
|
InsertGuiPair(menu_help_check_update, "&Check update...");
|
||||||
InsertGuiPair(menu_help_about, "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(menu_help_about, "&<26> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
|
InsertGuiPair(menu_update_available, "&New version is available");
|
||||||
|
|
||||||
InsertGuiPair(cant_init_calculations, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_init_calculations, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(message_box_error_caption,"TTCalc");
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
||||||
InsertGuiPair(cant_create_thread, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_create_thread, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
@@ -1141,18 +1445,19 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(cant_create_main_window, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_create_main_window, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(cant_init_common_controls,"<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (InitCommonControlsEx)");
|
InsertGuiPair(cant_init_common_controls,"<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (InitCommonControlsEx)");
|
||||||
InsertGuiPair(about_text,
|
InsertGuiPair(about_text,
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> TTCalc %d.%d.%d%s%s\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> TTCalc %d.%d.%d%s%s\r\n\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Tomasz Sowa\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Tomasz Sowa\r\n"
|
||||||
"e-mail: t.sowa@ttmath.org\r\n"
|
"e-mail: t.sowa@ttmath.org\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: BSD (open source)\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: BSD (open source)\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: http://ttcalc.sourceforge.net\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: http://ttcalc.sourceforge.net\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Bignum: TTMath %d.%d.%d%s\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Bignum: TTMath %d.%d.%d%s\r\n"
|
||||||
|
"Bignum type: binary floating point numbers\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: C++\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: C++\r\n"
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s\r\n"
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s\r\n"
|
||||||
"%s" // for upx
|
"%s" // for upx
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"TTCalc <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> TTMath,"
|
"TTCalc <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> TTMath,"
|
||||||
" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>: http://sourceforge.net/projects/ttmath\r\n"
|
" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>: http://www.ttmath.org\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#ifdef TTCALC_PORTABLE
|
#ifdef TTCALC_PORTABLE
|
||||||
"<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "
|
"<EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "
|
||||||
@@ -1160,9 +1465,14 @@ void Languages::InitGuiMessagesTab()
|
|||||||
" 32 <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>), <20><> <20><><EFBFBD><EFBFBD> +/-6.9e+646457021.\r\n"
|
" 32 <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>), <20><> <20><><EFBFBD><EFBFBD> +/-6.9e+646457021.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#endif
|
#endif
|
||||||
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>-<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>"
|
"Translations:\r\n"
|
||||||
" <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
"English Author\r\n" // one tabulator between language and the name of the author
|
||||||
" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>a, <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
|
"Polish Author\r\n"
|
||||||
|
"Spanish Alejandro S. Valdezate <alesanval@gmail.com>\r\n"
|
||||||
|
"Danish Rune Bisgaard Vammen <runebisgaard@gmail.com>\r\n"
|
||||||
|
"Chinese Juis <zsyfly@gmail.com>\r\n"
|
||||||
|
"Russian Vladimir Gladilovich <vdgladilovich@gmail.com>\r\n"
|
||||||
|
"Swedish Lars 'Bafvert' Gafvert <lars.gafvert@gmail.com>\r\n"
|
||||||
);
|
);
|
||||||
InsertGuiPair(about_text_portable_version, " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(about_text_portable_version, " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(about_text_exe_packer, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> EXE: UPX 3.03\r\n");
|
InsertGuiPair(about_text_exe_packer, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> EXE: UPX 3.03\r\n");
|
||||||
@@ -1171,6 +1481,37 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(unknown_error, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(unknown_error, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(cant_find_help, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_find_help, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
InsertGuiPair(cant_open_project_page, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
InsertGuiPair(cant_open_project_page, "<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||||
|
InsertGuiPair(update_title, "Check for a new version");
|
||||||
|
InsertGuiPair(update_button_next, "Next");
|
||||||
|
InsertGuiPair(update_button_finish, "Finish");
|
||||||
|
InsertGuiPair(update_button_cancel, "Cancel");
|
||||||
|
InsertGuiPair(update_check_at_startup, "Always check for the update on startup");
|
||||||
|
InsertGuiPair(update_check_for_info, "Press Next to check for the update...");
|
||||||
|
InsertGuiPair(update_is_new_version, "Version %d.%d.%d is available, press Next to download...");
|
||||||
|
InsertGuiPair(update_no_new_version, "There is not a new version available.");
|
||||||
|
InsertGuiPair(update_download_from, "Downloading from...");
|
||||||
|
#ifndef TTCALC_PORTABLE
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new setup program has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "Press Finish to close TTCalc and run the installer.");
|
||||||
|
#else
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new version of TTCalc has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "");
|
||||||
|
#endif
|
||||||
|
InsertGuiPair(update_download_error, "There was a problem with downloading, please try again later.");
|
||||||
|
|
||||||
|
InsertGuiPair(pad_title, "Pad");
|
||||||
|
InsertGuiPair(pad_menu_file, "&File");
|
||||||
|
InsertGuiPair(pad_menu_edit, "&Edit");
|
||||||
|
InsertGuiPair(pad_menu_file_new, "&New"); // temporarily not used
|
||||||
|
InsertGuiPair(pad_menu_file_open, "&Open...");
|
||||||
|
InsertGuiPair(pad_menu_file_saveas, "Save &as...");
|
||||||
|
InsertGuiPair(pad_menu_file_close, "&Close");
|
||||||
|
InsertGuiPair(pad_menu_edit_undo, "&Undo \tCtrl+Z");
|
||||||
|
InsertGuiPair(pad_menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(pad_menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(pad_menu_edit_paste, "&Paste \tCtrl+V");
|
||||||
|
InsertGuiPair(pad_menu_edit_del, "&Del \tDel");
|
||||||
|
InsertGuiPair(pad_menu_edit_select_all, "Select &all \tCtrl+A");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1240,12 +1581,20 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(display_always_scientific,"Alltid");
|
InsertGuiPair(display_always_scientific,"Alltid");
|
||||||
InsertGuiPair(display_not_always_scientific,"N<EFBFBD>r exponenten <20>r st<73>rre <20>n:");
|
InsertGuiPair(display_not_always_scientific,"N<EFBFBD>r exponenten <20>r st<73>rre <20>n:");
|
||||||
InsertGuiPair(display_group_scientific, "Visa resultatet som vetenskapligt v<>rde");
|
InsertGuiPair(display_group_scientific, "Visa resultatet som vetenskapligt v<>rde");
|
||||||
InsertGuiPair(display_decimal_point, "Decimalpunkt");
|
InsertGuiPair(display_deg_rad_grad, "Trigonometric functions");
|
||||||
InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos");
|
|
||||||
InsertGuiPair(convert_type, "Type");
|
InsertGuiPair(convert_type, "Type");
|
||||||
InsertGuiPair(convert_input, "Input");
|
InsertGuiPair(convert_input, "Input");
|
||||||
InsertGuiPair(convert_output, "Output");
|
InsertGuiPair(convert_output, "Output");
|
||||||
InsertGuiPair(convert_dynamic_output, "Auto prefix");
|
InsertGuiPair(convert_dynamic_output, "Auto prefix");
|
||||||
|
InsertGuiPair(display_grouping, "Grouping");
|
||||||
|
InsertGuiPair(display_grouping_none, "None");
|
||||||
|
InsertGuiPair(display_grouping_space, "Space");
|
||||||
|
InsertGuiPair(display_input_decimal_point, "Input decimal point");
|
||||||
|
InsertGuiPair(display_input_decimal_point_item1, " . or ,");
|
||||||
|
InsertGuiPair(display_output_decimal_point, "Output decimal point");
|
||||||
|
InsertGuiPair(display_param_sep, "Parameters separated by");
|
||||||
|
InsertGuiPair(display_param_sep_item2, " ; or .");
|
||||||
|
InsertGuiPair(display_param_sep_item3, " ; or ,");
|
||||||
|
|
||||||
InsertGuiPair(menu_view, "&Visa");
|
InsertGuiPair(menu_view, "&Visa");
|
||||||
InsertGuiPair(menu_edit, "&Redigera");
|
InsertGuiPair(menu_edit, "&Redigera");
|
||||||
@@ -1265,11 +1614,21 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(menu_view_lang_swedish, "S&venska");
|
InsertGuiPair(menu_view_lang_swedish, "S&venska");
|
||||||
InsertGuiPair(menu_view_close_program, "&Avsluta");
|
InsertGuiPair(menu_view_close_program, "&Avsluta");
|
||||||
InsertGuiPair(menu_edit_undo, "&<26>ngra");
|
InsertGuiPair(menu_edit_undo, "&<26>ngra");
|
||||||
|
InsertGuiPair(menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(menu_edit_paste, "&Paste");
|
||||||
|
InsertGuiPair(menu_edit_del, "&Delete \tDel");
|
||||||
InsertGuiPair(menu_edit_paste_formula, "&Klistra in");
|
InsertGuiPair(menu_edit_paste_formula, "&Klistra in");
|
||||||
InsertGuiPair(menu_edit_copy_result, "&Kopiera result");
|
InsertGuiPair(menu_edit_copy_result, "&Kopiera result");
|
||||||
|
InsertGuiPair(menu_edit_copy_both, "Copy &both \tCtrl+B");
|
||||||
|
InsertGuiPair(menu_edit_select_all, "Select &all \tEsc");
|
||||||
|
InsertGuiPair(menu_edit_bracket, "Bracke&t \tCtrl+0");
|
||||||
InsertGuiPair(menu_help_help, "&Hj<48>lp");
|
InsertGuiPair(menu_help_help, "&Hj<48>lp");
|
||||||
InsertGuiPair(menu_help_project_page, "&Projektsida");
|
InsertGuiPair(menu_help_project_page, "&Projektsida");
|
||||||
|
InsertGuiPair(menu_help_check_update, "&Check update...");
|
||||||
InsertGuiPair(menu_help_about, "&Om");
|
InsertGuiPair(menu_help_about, "&Om");
|
||||||
|
InsertGuiPair(menu_update_available, "&New version is available");
|
||||||
|
|
||||||
InsertGuiPair(cant_init_calculations, "Ber<EFBFBD>kningen kunde inte initieras!");
|
InsertGuiPair(cant_init_calculations, "Ber<EFBFBD>kningen kunde inte initieras!");
|
||||||
InsertGuiPair(message_box_error_caption,"TTCalc");
|
InsertGuiPair(message_box_error_caption,"TTCalc");
|
||||||
InsertGuiPair(cant_create_thread, "Den andra tr<74>den f<>r utr<74>kning kunde inte skapas");
|
InsertGuiPair(cant_create_thread, "Den andra tr<74>den f<>r utr<74>kning kunde inte skapas");
|
||||||
@@ -1277,18 +1636,19 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(cant_create_main_window, "Applikationens huvudf<64>nster kunde inte skapas");
|
InsertGuiPair(cant_create_main_window, "Applikationens huvudf<64>nster kunde inte skapas");
|
||||||
InsertGuiPair(cant_init_common_controls,"Inst<EFBFBD>llningarna kunde inte initieras (InitCommonControlsEx)");
|
InsertGuiPair(cant_init_common_controls,"Inst<EFBFBD>llningarna kunde inte initieras (InitCommonControlsEx)");
|
||||||
InsertGuiPair(about_text,
|
InsertGuiPair(about_text,
|
||||||
"Matematisk kalkylator TTCalc %d.%d.%d%s%s\r\n"
|
"Matematisk kalkylator TTCalc %d.%d.%d%s%s\r\n\r\n"
|
||||||
"Upphovsman: Tomasz Sowa\r\n"
|
"Upphovsman: Tomasz Sowa\r\n"
|
||||||
"Kontakt: t.sowa@ttmath.org\r\n"
|
"Kontakt: t.sowa@ttmath.org\r\n"
|
||||||
"Licens: BSD (open source)\r\n"
|
"Licens: BSD (open source)\r\n"
|
||||||
"Projektsida: http://ttcalc.sourceforge.net\r\n"
|
"Projektsida: http://ttcalc.sourceforge.net\r\n"
|
||||||
"Bignumbiblotek: TTMath %d.%d.%d%s\r\n"
|
"Bignumbiblotek: TTMath %d.%d.%d%s\r\n"
|
||||||
|
"Bignum type: binary floating point numbers\r\n"
|
||||||
"Programmeringsspr<EFBFBD>k: C++\r\n"
|
"Programmeringsspr<EFBFBD>k: C++\r\n"
|
||||||
"Kompilator: %s\r\n"
|
"Kompilator: %s\r\n"
|
||||||
"%s" // for upx
|
"%s" // for upx
|
||||||
"\r\n"
|
"\r\n"
|
||||||
"TTCalc anv<6E>nder sig av TTMath bignum bibloteket"
|
"TTCalc anv<6E>nder sig av TTMath bignum bibloteket"
|
||||||
" som kan hittas h<>r: http://sourceforge.net/projects/ttmath\r\n"
|
" som kan hittas h<>r: http://www.ttmath.org\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#ifdef TTCALC_PORTABLE
|
#ifdef TTCALC_PORTABLE
|
||||||
"Detta <20>r den portabla versionen av TTCalc. I denna version "
|
"Detta <20>r den portabla versionen av TTCalc. I denna version "
|
||||||
@@ -1296,9 +1656,14 @@ void Languages::InitGuiMessagesTab()
|
|||||||
"mantissan och 32 bitar f<>r exponenten) det <20>r omkring +/-6.9e+646457021.\r\n"
|
"mantissan och 32 bitar f<>r exponenten) det <20>r omkring +/-6.9e+646457021.\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
#endif
|
#endif
|
||||||
"Har du fr<66>gor, goda r<>d eller interessanta id<69>er betr<74>ffande"
|
"Translations:\r\n"
|
||||||
" detta program eller vill du rentav bidra med din kompetens som"
|
"English Author\r\n" // one tabulator between language and the name of the author
|
||||||
" utvecklare eller programmerare <20>r du v<>lkommen att kontakta upphovsmannen."
|
"Polish Author\r\n"
|
||||||
|
"Spanish Alejandro S. Valdezate <alesanval@gmail.com>\r\n"
|
||||||
|
"Danish Rune Bisgaard Vammen <runebisgaard@gmail.com>\r\n"
|
||||||
|
"Chinese Juis <zsyfly@gmail.com>\r\n"
|
||||||
|
"Russian Vladimir Gladilovich <vdgladilovich@gmail.com>\r\n"
|
||||||
|
"Swedish Lars 'Bafvert' Gafvert <lars.gafvert@gmail.com>\r\n"
|
||||||
);
|
);
|
||||||
InsertGuiPair(about_text_portable_version, " transportabel version");
|
InsertGuiPair(about_text_portable_version, " transportabel version");
|
||||||
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n");
|
||||||
@@ -1307,6 +1672,37 @@ void Languages::InitGuiMessagesTab()
|
|||||||
InsertGuiPair(unknown_error, "Det har intr<74>ffat ett ok<6F>nt fel");
|
InsertGuiPair(unknown_error, "Det har intr<74>ffat ett ok<6F>nt fel");
|
||||||
InsertGuiPair(cant_find_help, "Kunde inte hitta n<>gra hj<68>lpfiler");
|
InsertGuiPair(cant_find_help, "Kunde inte hitta n<>gra hj<68>lpfiler");
|
||||||
InsertGuiPair(cant_open_project_page, "Projektsidan kunde inte <20>ppnas");
|
InsertGuiPair(cant_open_project_page, "Projektsidan kunde inte <20>ppnas");
|
||||||
|
InsertGuiPair(update_title, "Check for a new version");
|
||||||
|
InsertGuiPair(update_button_next, "Next");
|
||||||
|
InsertGuiPair(update_button_finish, "Finish");
|
||||||
|
InsertGuiPair(update_button_cancel, "Cancel");
|
||||||
|
InsertGuiPair(update_check_at_startup, "Always check for the update on startup");
|
||||||
|
InsertGuiPair(update_check_for_info, "Press Next to check for the update...");
|
||||||
|
InsertGuiPair(update_is_new_version, "Version %d.%d.%d is available, press Next to download...");
|
||||||
|
InsertGuiPair(update_no_new_version, "There is not a new version available.");
|
||||||
|
InsertGuiPair(update_download_from, "Downloading from...");
|
||||||
|
#ifndef TTCALC_PORTABLE
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new setup program has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "Press Finish to close TTCalc and run the installer.");
|
||||||
|
#else
|
||||||
|
InsertGuiPair(update_downloaded_info1, "A new version of TTCalc has been downloaded.");
|
||||||
|
InsertGuiPair(update_downloaded_info2, "");
|
||||||
|
#endif
|
||||||
|
InsertGuiPair(update_download_error, "There was a problem with downloading, please try again later.");
|
||||||
|
|
||||||
|
InsertGuiPair(pad_title, "Pad");
|
||||||
|
InsertGuiPair(pad_menu_file, "&File");
|
||||||
|
InsertGuiPair(pad_menu_edit, "&Edit");
|
||||||
|
InsertGuiPair(pad_menu_file_new, "&New"); // temporarily not used
|
||||||
|
InsertGuiPair(pad_menu_file_open, "&Open...");
|
||||||
|
InsertGuiPair(pad_menu_file_saveas, "Save &as...");
|
||||||
|
InsertGuiPair(pad_menu_file_close, "&Close");
|
||||||
|
InsertGuiPair(pad_menu_edit_undo, "&Undo \tCtrl+Z");
|
||||||
|
InsertGuiPair(pad_menu_edit_cut, "Cu&t \tCtrl+X");
|
||||||
|
InsertGuiPair(pad_menu_edit_copy, "&Copy \tCtrl+C");
|
||||||
|
InsertGuiPair(pad_menu_edit_paste, "&Paste \tCtrl+V");
|
||||||
|
InsertGuiPair(pad_menu_edit_del, "&Del \tDel");
|
||||||
|
InsertGuiPair(pad_menu_edit_select_all, "Select &all \tCtrl+A");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -101,8 +101,16 @@ public:
|
|||||||
display_rounding,
|
display_rounding,
|
||||||
display_always_scientific,
|
display_always_scientific,
|
||||||
display_not_always_scientific,
|
display_not_always_scientific,
|
||||||
display_decimal_point,
|
|
||||||
display_deg_rad_grad,
|
display_deg_rad_grad,
|
||||||
|
display_grouping,
|
||||||
|
display_grouping_none,
|
||||||
|
display_grouping_space,
|
||||||
|
display_input_decimal_point,
|
||||||
|
display_input_decimal_point_item1,
|
||||||
|
display_output_decimal_point,
|
||||||
|
display_param_sep,
|
||||||
|
display_param_sep_item2,
|
||||||
|
display_param_sep_item3,
|
||||||
convert_type,
|
convert_type,
|
||||||
convert_input,
|
convert_input,
|
||||||
convert_output,
|
convert_output,
|
||||||
@@ -125,11 +133,20 @@ public:
|
|||||||
menu_view_lang_swedish,
|
menu_view_lang_swedish,
|
||||||
menu_view_close_program,
|
menu_view_close_program,
|
||||||
menu_edit_undo,
|
menu_edit_undo,
|
||||||
|
menu_edit_cut,
|
||||||
|
menu_edit_copy,
|
||||||
|
menu_edit_paste,
|
||||||
|
menu_edit_del,
|
||||||
menu_edit_paste_formula,
|
menu_edit_paste_formula,
|
||||||
menu_edit_copy_result,
|
menu_edit_copy_result,
|
||||||
|
menu_edit_copy_both,
|
||||||
|
menu_edit_select_all,
|
||||||
|
menu_edit_bracket,
|
||||||
menu_help_help,
|
menu_help_help,
|
||||||
menu_help_project_page,
|
menu_help_project_page,
|
||||||
|
menu_help_check_update,
|
||||||
menu_help_about,
|
menu_help_about,
|
||||||
|
menu_update_available,
|
||||||
cant_init_calculations,
|
cant_init_calculations,
|
||||||
message_box_error_caption,
|
message_box_error_caption,
|
||||||
cant_create_thread,
|
cant_create_thread,
|
||||||
@@ -138,12 +155,37 @@ public:
|
|||||||
cant_init_common_controls,
|
cant_init_common_controls,
|
||||||
cant_find_help,
|
cant_find_help,
|
||||||
cant_open_project_page,
|
cant_open_project_page,
|
||||||
|
update_title,
|
||||||
|
update_button_next,
|
||||||
|
update_button_finish,
|
||||||
|
update_button_cancel,
|
||||||
|
update_check_at_startup,
|
||||||
|
update_check_for_info,
|
||||||
|
update_is_new_version,
|
||||||
|
update_no_new_version,
|
||||||
|
update_download_from,
|
||||||
|
update_downloaded_info1,
|
||||||
|
update_downloaded_info2,
|
||||||
|
update_download_error,
|
||||||
about_text,
|
about_text,
|
||||||
about_text_portable_version,
|
about_text_portable_version,
|
||||||
about_text_exe_packer,
|
about_text_exe_packer,
|
||||||
about_box_title,
|
about_box_title,
|
||||||
about_box_button_close,
|
about_box_button_close,
|
||||||
display_group_scientific,
|
display_group_scientific,
|
||||||
|
pad_title,
|
||||||
|
pad_menu_file,
|
||||||
|
pad_menu_edit,
|
||||||
|
pad_menu_file_new,
|
||||||
|
pad_menu_file_open,
|
||||||
|
pad_menu_file_saveas,
|
||||||
|
pad_menu_file_close,
|
||||||
|
pad_menu_edit_undo,
|
||||||
|
pad_menu_edit_cut,
|
||||||
|
pad_menu_edit_copy,
|
||||||
|
pad_menu_edit_paste,
|
||||||
|
pad_menu_edit_del,
|
||||||
|
pad_menu_edit_select_all,
|
||||||
unknown_error
|
unknown_error
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -39,6 +39,7 @@
|
|||||||
#include "compileconfig.h"
|
#include "compileconfig.h"
|
||||||
#include "winmain.h"
|
#include "winmain.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
|
#include "pad.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -417,10 +418,18 @@ HMENU menu = GetMenu(hWnd);
|
|||||||
SetMenuLanguageItem(menu, IDM_LANGUAGE_SWEDISH, Languages::menu_view_lang_swedish);
|
SetMenuLanguageItem(menu, IDM_LANGUAGE_SWEDISH, Languages::menu_view_lang_swedish);
|
||||||
SetMenuLanguageItem(menu, IDM_CLOSE_PROGRAM, Languages::menu_view_close_program);
|
SetMenuLanguageItem(menu, IDM_CLOSE_PROGRAM, Languages::menu_view_close_program);
|
||||||
SetMenuLanguageItem(menu, IDM_EDIT_UNDO, Languages::menu_edit_undo);
|
SetMenuLanguageItem(menu, IDM_EDIT_UNDO, Languages::menu_edit_undo);
|
||||||
|
SetMenuLanguageItem(menu, IDM_EDIT_CUT, Languages::menu_edit_cut);
|
||||||
|
SetMenuLanguageItem(menu, IDM_EDIT_COPY, Languages::menu_edit_copy);
|
||||||
|
SetMenuLanguageItem(menu, IDM_EDIT_PASTE, Languages::menu_edit_paste);
|
||||||
|
SetMenuLanguageItem(menu, IDM_EDIT_DEL, Languages::menu_edit_del);
|
||||||
SetMenuLanguageItem(menu, IDM_EDIT_PASTE_FORMULA, Languages::menu_edit_paste_formula);
|
SetMenuLanguageItem(menu, IDM_EDIT_PASTE_FORMULA, Languages::menu_edit_paste_formula);
|
||||||
SetMenuLanguageItem(menu, IDM_EDIT_COPY_RESULT, Languages::menu_edit_copy_result);
|
SetMenuLanguageItem(menu, IDM_EDIT_COPY_RESULT, Languages::menu_edit_copy_result);
|
||||||
|
SetMenuLanguageItem(menu, IDM_EDIT_COPY_BOTH, Languages::menu_edit_copy_both);
|
||||||
|
SetMenuLanguageItem(menu, IDM_EDIT_SELECT_ALL, Languages::menu_edit_select_all);
|
||||||
|
SetMenuLanguageItem(menu, IDM_EDIT_BRACKET, Languages::menu_edit_bracket);
|
||||||
SetMenuLanguageItem(menu, IDM_HELP_HELP, Languages::menu_help_help);
|
SetMenuLanguageItem(menu, IDM_HELP_HELP, Languages::menu_help_help);
|
||||||
SetMenuLanguageItem(menu, IDM_HELP_PROJECT_PAGE, Languages::menu_help_project_page);
|
SetMenuLanguageItem(menu, IDM_HELP_PROJECT_PAGE, Languages::menu_help_project_page);
|
||||||
|
SetMenuLanguageItem(menu, IDM_HELP_CHECK_UPDATE, Languages::menu_help_check_update);
|
||||||
SetMenuLanguageItem(menu, IDM_HELP_ABOUT, Languages::menu_help_about);
|
SetMenuLanguageItem(menu, IDM_HELP_ABOUT, Languages::menu_help_about);
|
||||||
|
|
||||||
DrawMenuBar(hWnd);
|
DrawMenuBar(hWnd);
|
||||||
@@ -822,7 +831,6 @@ void WmInitMenuPopUpEdit(HWND hWnd, HMENU menu)
|
|||||||
bool edit = false; // an edit control has the focus
|
bool edit = false; // an edit control has the focus
|
||||||
bool edit_sel = false; // there is something selected on the edit
|
bool edit_sel = false; // there is something selected on the edit
|
||||||
bool edit_readonly = false; // the edit is read only
|
bool edit_readonly = false; // the edit is read only
|
||||||
bool can_undo = false;
|
|
||||||
|
|
||||||
HWND focus = GetFocus();
|
HWND focus = GetFocus();
|
||||||
edit = IsEditControl(focus);
|
edit = IsEditControl(focus);
|
||||||
@@ -1220,6 +1228,7 @@ BOOL WmCommand_LanguageEnglish(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
SetMenuLanguage(hWnd);
|
SetMenuLanguage(hWnd);
|
||||||
SetOutputEditLanguage(hWnd);
|
SetOutputEditLanguage(hWnd);
|
||||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1232,6 +1241,7 @@ BOOL WmCommand_LanguagePolish(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||||||
SetMenuLanguage(hWnd);
|
SetMenuLanguage(hWnd);
|
||||||
SetOutputEditLanguage(hWnd);
|
SetOutputEditLanguage(hWnd);
|
||||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1244,6 +1254,7 @@ BOOL WmCommand_LanguageSpanish(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
SetMenuLanguage(hWnd);
|
SetMenuLanguage(hWnd);
|
||||||
SetOutputEditLanguage(hWnd);
|
SetOutputEditLanguage(hWnd);
|
||||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1255,6 +1266,7 @@ BOOL WmCommand_LanguageDanish(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||||||
SetMenuLanguage(hWnd);
|
SetMenuLanguage(hWnd);
|
||||||
SetOutputEditLanguage(hWnd);
|
SetOutputEditLanguage(hWnd);
|
||||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1266,6 +1278,7 @@ BOOL WmCommand_LanguageChinese(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
SetMenuLanguage(hWnd);
|
SetMenuLanguage(hWnd);
|
||||||
SetOutputEditLanguage(hWnd);
|
SetOutputEditLanguage(hWnd);
|
||||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1277,6 +1290,7 @@ BOOL WmCommand_LanguageRussian(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
SetMenuLanguage(hWnd);
|
SetMenuLanguage(hWnd);
|
||||||
SetOutputEditLanguage(hWnd);
|
SetOutputEditLanguage(hWnd);
|
||||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1288,6 +1302,7 @@ BOOL WmCommand_LanguageSwedish(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
SetMenuLanguage(hWnd);
|
SetMenuLanguage(hWnd);
|
||||||
SetOutputEditLanguage(hWnd);
|
SetOutputEditLanguage(hWnd);
|
||||||
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
TabWindowFunctions::SetLanguage( GetDlgItem(hWnd, IDC_TAB) );
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
60
src/pad.cpp
60
src/pad.cpp
@@ -43,6 +43,7 @@
|
|||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
#include "messages.h"
|
#include "messages.h"
|
||||||
#include "bigtypes.h"
|
#include "bigtypes.h"
|
||||||
|
#include "pad.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Pad
|
namespace Pad
|
||||||
@@ -330,6 +331,47 @@ return CallWindowProc(old_edit_proc, hwnd, msg, wParam, lParam);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
inline void SetMenuLanguageItem(HMENU menu, DWORD menu_id, Languages::GuiMsg msg)
|
||||||
|
{
|
||||||
|
Languages * pLang = GetPrgRes()->GetLanguages();
|
||||||
|
|
||||||
|
ModifyMenu(menu, menu_id, MF_BYCOMMAND|MF_STRING, menu_id, pLang->GuiMessage(msg) );
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetPadMenuLanguage(HWND hWnd)
|
||||||
|
{
|
||||||
|
HMENU menu = GetMenu(hWnd);
|
||||||
|
|
||||||
|
if( !menu )
|
||||||
|
return;
|
||||||
|
|
||||||
|
MENUITEMINFO mi;
|
||||||
|
mi.cbSize = sizeof(mi);
|
||||||
|
mi.fMask = MIIM_TYPE;
|
||||||
|
mi.fType = MFT_STRING;
|
||||||
|
|
||||||
|
// on popup menus we're using indexes because they don't want to work correctly
|
||||||
|
// with the identifiers
|
||||||
|
mi.dwTypeData = const_cast<char*>( GetPrgRes()->GetLanguages()->GuiMessage(Languages::pad_menu_file) );
|
||||||
|
SetMenuItemInfo(menu, MENUPAD_FILE_INDEX, true, &mi);
|
||||||
|
|
||||||
|
mi.dwTypeData = const_cast<char*>( GetPrgRes()->GetLanguages()->GuiMessage(Languages::pad_menu_edit) );
|
||||||
|
SetMenuItemInfo(menu, MENUPAD_EDIT_INDEX, true, &mi);
|
||||||
|
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_FILE_OPEN, Languages::pad_menu_file_open);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_FILE_SAVE, Languages::pad_menu_file_saveas);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_FILE_CLOSE, Languages::pad_menu_file_close);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_EDIT_UNDO, Languages::pad_menu_edit_undo);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_EDIT_CUT, Languages::pad_menu_edit_cut);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_EDIT_COPY, Languages::pad_menu_edit_copy);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_EDIT_PASTE, Languages::pad_menu_edit_paste);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_EDIT_DEL, Languages::pad_menu_edit_del);
|
||||||
|
SetMenuLanguageItem(menu, MENUPAD_EDIT_SELECTALL, Languages::pad_menu_edit_select_all);
|
||||||
|
|
||||||
|
DrawMenuBar(hWnd);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
LRESULT PadCreate(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
LRESULT PadCreate(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
edit = CreateWindow("edit", "",
|
edit = CreateWindow("edit", "",
|
||||||
@@ -350,6 +392,8 @@ LRESULT PadCreate(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||||||
if( font != 0 )
|
if( font != 0 )
|
||||||
SendMessage(edit, WM_SETFONT, (WPARAM)font, 0);
|
SendMessage(edit, WM_SETFONT, (WPARAM)font, 0);
|
||||||
|
|
||||||
|
SetPadLanguage();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -713,6 +757,7 @@ return 0;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void CreatePadCommandTable(Messages<LRESULT> & messages)
|
void CreatePadCommandTable(Messages<LRESULT> & messages)
|
||||||
{
|
{
|
||||||
messages.Associate(MENUPAD_FILE_NEW, PadNew);
|
messages.Associate(MENUPAD_FILE_NEW, PadNew);
|
||||||
@@ -818,13 +863,15 @@ ATOM a = RegisterPadClass(ttcalc_pad_class_name);
|
|||||||
bool pad_maximized_from_file = GetPrgRes()->GetPadMaximized();
|
bool pad_maximized_from_file = GetPrgRes()->GetPadMaximized();
|
||||||
// CreateWindow() would change maximizing
|
// CreateWindow() would change maximizing
|
||||||
|
|
||||||
|
Languages * pl = GetPrgRes()->GetLanguages();
|
||||||
|
|
||||||
font = CreateFont(0, 0, 0, 0, FW_NORMAL, false, false, false,
|
font = CreateFont(0, 0, 0, 0, FW_NORMAL, false, false, false,
|
||||||
ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
|
ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,
|
||||||
DEFAULT_QUALITY, DEFAULT_PITCH, "Ms Shell Dlg");
|
DEFAULT_QUALITY, DEFAULT_PITCH, "Ms Shell Dlg");
|
||||||
|
|
||||||
|
|
||||||
HWND pad = CreateWindowEx(WS_EX_CLIENTEDGE, ttcalc_pad_class_name,
|
HWND pad = CreateWindowEx(WS_EX_CLIENTEDGE, ttcalc_pad_class_name,
|
||||||
"Pad",
|
pl->GuiMessage(Languages::pad_title),
|
||||||
WS_OVERLAPPEDWINDOW | WS_POPUPWINDOW ,
|
WS_OVERLAPPEDWINDOW | WS_POPUPWINDOW ,
|
||||||
GetPrgRes()->GetPadXPos(), GetPrgRes()->GetPadYPos(),
|
GetPrgRes()->GetPadXPos(), GetPrgRes()->GetPadYPos(),
|
||||||
GetPrgRes()->GetPadXSize(), GetPrgRes()->GetPadYSize(),
|
GetPrgRes()->GetPadXSize(), GetPrgRes()->GetPadYSize(),
|
||||||
@@ -846,3 +893,14 @@ using namespace Pad;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void SetPadLanguage()
|
||||||
|
{
|
||||||
|
using namespace Pad;
|
||||||
|
|
||||||
|
HWND pad = GetPrgRes()->GetPadWindow();
|
||||||
|
Languages * pl = GetPrgRes()->GetLanguages();
|
||||||
|
|
||||||
|
SetPadMenuLanguage(pad);
|
||||||
|
SetWindowText(pad, pl->GuiMessage(Languages::pad_title));
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -42,6 +42,7 @@
|
|||||||
|
|
||||||
bool CreatePadWindow();
|
bool CreatePadWindow();
|
||||||
void DestroyPadWindow();
|
void DestroyPadWindow();
|
||||||
|
void SetPadLanguage();
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -131,7 +131,7 @@ ttmath::ErrorCode ParserManager::Parse()
|
|||||||
parser1.SetDegRadGrad(angle_deg_rad_grad);
|
parser1.SetDegRadGrad(angle_deg_rad_grad);
|
||||||
parser1.SetComma(input_comma1, input_comma2);
|
parser1.SetComma(input_comma1, input_comma2);
|
||||||
parser1.SetGroup(grouping);
|
parser1.SetGroup(grouping);
|
||||||
parser1.SetParamSeparator(param_sep);
|
parser1.SetParamSep(param_sep);
|
||||||
code = parser1.Parse(buffer);
|
code = parser1.Parse(buffer);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -630,9 +630,10 @@ ProgramResources::ProgramResources()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
decimal_point = 0;
|
decimal_point = 0; // output decimal point
|
||||||
angle_deg_rad_grad = 1; // rad is default
|
angle_deg_rad_grad = 1; // rad is default
|
||||||
grouping = 0;
|
grouping = 0;
|
||||||
|
|
||||||
input_decimal_point = 2; // dot or comma
|
input_decimal_point = 2; // dot or comma
|
||||||
param_sep = 0;
|
param_sep = 0;
|
||||||
|
|
||||||
|
@@ -168,26 +168,26 @@
|
|||||||
// display tab
|
// display tab
|
||||||
#define IDC_COMBO_DISPLAY_INPUT 1156
|
#define IDC_COMBO_DISPLAY_INPUT 1156
|
||||||
#define IDC_COMBO_DISPLAY_OUTPUT 1157
|
#define IDC_COMBO_DISPLAY_OUTPUT 1157
|
||||||
#define IDC_COMBO_DISPLAY_ROUNDING 1159
|
#define IDC_COMBO_DISPLAY_ROUNDING 1158
|
||||||
#define IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC 1160
|
#define IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC 1159
|
||||||
#define IDC_RADIO_DISPLAY_NOT_ALWAYS_SCIENTIFIC 1161
|
#define IDC_RADIO_DISPLAY_NOT_ALWAYS_SCIENTIFIC 1160
|
||||||
#define IDC_LABEL_DISPLAY_INPUT 1162
|
#define IDC_LABEL_DISPLAY_INPUT 1161
|
||||||
#define IDC_LABEL_DISPLAY_OUTPUT 1163
|
#define IDC_LABEL_DISPLAY_OUTPUT 1162
|
||||||
#define IDC_LABEL_DISPLAY_ROUNDING 1164
|
#define IDC_LABEL_DISPLAY_ROUNDING 1163
|
||||||
#define IDC_UPDOWN_DISPLAY_WHEN_SCIENTIFIC 1165
|
#define IDC_UPDOWN_DISPLAY_WHEN_SCIENTIFIC 1164
|
||||||
#define IDC_EDIT_DISPLAY_WHEN_SCIENTIFIC 1166
|
#define IDC_EDIT_DISPLAY_WHEN_SCIENTIFIC 1165
|
||||||
#define IDC_LABEL_GROUP_SCIENTIFIC 1168
|
#define IDC_LABEL_GROUP_SCIENTIFIC 1166
|
||||||
#define IDC_LABEL_DECIMAL_POINT 1169
|
#define IDC_LABEL_OUTPUT_DECIMAL_POINT 1167
|
||||||
#define IDC_COMBO_DECIMAL_POINT 1170
|
#define IDC_COMBO_OUTPUT_DECIMAL_POINT 1168
|
||||||
#define IDC_CHECK_REMOVE_ZEROES 1171
|
#define IDC_CHECK_REMOVE_ZEROES 1169
|
||||||
#define IDC_LABEL_DISPLAY_DEG_RAD_GRAD 1172
|
#define IDC_LABEL_DISPLAY_DEG_RAD_GRAD 1170
|
||||||
#define IDC_COMBO_DEG_RAD_GRAD 1173
|
#define IDC_COMBO_DEG_RAD_GRAD 1171
|
||||||
#define IDC_COMBO_DISPLAY_GROUPING 1174
|
#define IDC_COMBO_DISPLAY_GROUPING 1172
|
||||||
#define IDC_LABEL_GROUPING 1175
|
#define IDC_LABEL_DISPLAY_GROUPING 1173
|
||||||
#define IDC_COMBO_INPUT_DECIMAL_POINT 1176
|
#define IDC_COMBO_INPUT_DECIMAL_POINT 1174
|
||||||
#define IDC_LABEL_INPUT_DECIMAL_POINT 1177
|
#define IDC_LABEL_INPUT_DECIMAL_POINT 1175
|
||||||
#define IDC_LABEL_PARAM_SEPARATE 1178
|
#define IDC_LABEL_PARAM_SEPARATE 1176
|
||||||
#define IDC_COMBO_PARAM_SEPARATE 1179
|
#define IDC_COMBO_PARAM_SEPARATE 1177
|
||||||
|
|
||||||
// convert tab
|
// convert tab
|
||||||
#define IDC_LIST_UNIT_TYPE 1200
|
#define IDC_LIST_UNIT_TYPE 1200
|
||||||
@@ -240,6 +240,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// pad menu
|
// pad menu
|
||||||
|
#define MENUPAD_FILE_INDEX 0
|
||||||
#define MENUPAD_EDIT_INDEX 1
|
#define MENUPAD_EDIT_INDEX 1
|
||||||
#define MENUPAD_FILE_NEW 40500
|
#define MENUPAD_FILE_NEW 40500
|
||||||
#define MENUPAD_FILE_OPEN 40501
|
#define MENUPAD_FILE_OPEN 40501
|
||||||
@@ -263,6 +264,6 @@
|
|||||||
#define IDC_PROGRESS 1302
|
#define IDC_PROGRESS 1302
|
||||||
#define IDC_BUTTON_NEXT 1303
|
#define IDC_BUTTON_NEXT 1303
|
||||||
#define IDC_BUTTON_CANCEL 1304
|
#define IDC_BUTTON_CANCEL 1304
|
||||||
|
#define IDC_CHECK_UPDATE_STURTUP 1305
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
127
src/resource.rc
127
src/resource.rc
@@ -15,52 +15,52 @@ LANGUAGE LANG_NEUTRAL, 0
|
|||||||
200 MENU
|
200 MENU
|
||||||
FIXED IMPURE LOADONCALL DISCARDABLE
|
FIXED IMPURE LOADONCALL DISCARDABLE
|
||||||
BEGIN
|
BEGIN
|
||||||
POPUP "&View"
|
POPUP "View"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "&New window", IDM_NEW_WINDOW
|
MENUITEM "New window", IDM_NEW_WINDOW
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "No&rmal", IDM_NORMAL_VIEW
|
MENUITEM "Normal", IDM_NORMAL_VIEW
|
||||||
MENUITEM "&Compact", IDM_COMPACT_VIEW
|
MENUITEM "Compact", IDM_COMPACT_VIEW
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&Pad", IDM_PAD
|
MENUITEM "Pad", IDM_PAD
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&Always on top", IDM_ALWAYS_ON_TOP
|
MENUITEM "Always on top", IDM_ALWAYS_ON_TOP
|
||||||
POPUP "&Language"
|
POPUP "Language"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "&English", IDM_LANGUAGE_ENGLISH
|
MENUITEM "English", IDM_LANGUAGE_ENGLISH
|
||||||
MENUITEM "&Polish", IDM_LANGUAGE_POLISH
|
MENUITEM "Polish", IDM_LANGUAGE_POLISH
|
||||||
MENUITEM "&Spanish", IDM_LANGUAGE_SPANISH
|
MENUITEM "Spanish", IDM_LANGUAGE_SPANISH
|
||||||
MENUITEM "&Danish", IDM_LANGUAGE_DANISH
|
MENUITEM "Danish", IDM_LANGUAGE_DANISH
|
||||||
MENUITEM "&Chinese", IDM_LANGUAGE_CHINESE
|
MENUITEM "Chinese", IDM_LANGUAGE_CHINESE
|
||||||
MENUITEM "&Russian", IDM_LANGUAGE_RUSSIAN
|
MENUITEM "Russian", IDM_LANGUAGE_RUSSIAN
|
||||||
MENUITEM "&Swedish", IDM_LANGUAGE_SWEDISH
|
MENUITEM "Swedish", IDM_LANGUAGE_SWEDISH
|
||||||
END
|
END
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&Close", IDM_CLOSE_PROGRAM
|
MENUITEM "Close", IDM_CLOSE_PROGRAM
|
||||||
END
|
END
|
||||||
POPUP "&Edit"
|
POPUP "Edit"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "&Undo \tCtrl+Z", IDM_EDIT_UNDO
|
MENUITEM "Undo", IDM_EDIT_UNDO
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&Cut \tCtrl+X", IDM_EDIT_CUT
|
MENUITEM "Cut", IDM_EDIT_CUT
|
||||||
MENUITEM "&Copy \TCtrl+C", IDM_EDIT_COPY
|
MENUITEM "Copy", IDM_EDIT_COPY
|
||||||
MENUITEM "&Paste", IDM_EDIT_PASTE
|
MENUITEM "Paste", IDM_EDIT_PASTE
|
||||||
MENUITEM "&Delete \tDel", IDM_EDIT_DEL
|
MENUITEM "Delete", IDM_EDIT_DEL
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&Copy result \tCtrl+R", IDM_EDIT_COPY_RESULT
|
MENUITEM "Copy result", IDM_EDIT_COPY_RESULT
|
||||||
MENUITEM "&Copy both\tCtrl+B", IDM_EDIT_COPY_BOTH
|
MENUITEM "Copy both", IDM_EDIT_COPY_BOTH
|
||||||
MENUITEM "&Paste formula\tCtrl+V", IDM_EDIT_PASTE_FORMULA
|
MENUITEM "Paste formula", IDM_EDIT_PASTE_FORMULA
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&Select all \tEsc", IDM_EDIT_SELECT_ALL
|
MENUITEM "Select all", IDM_EDIT_SELECT_ALL
|
||||||
MENUITEM "&Bracket \tCtrl+0", IDM_EDIT_BRACKET
|
MENUITEM "Bracket", IDM_EDIT_BRACKET
|
||||||
END
|
END
|
||||||
POPUP "&Help"
|
POPUP "Help"
|
||||||
BEGIN
|
BEGIN
|
||||||
MENUITEM "&Help", IDM_HELP_HELP
|
MENUITEM "Help", IDM_HELP_HELP
|
||||||
MENUITEM "&Project page", IDM_HELP_PROJECT_PAGE
|
MENUITEM "Project page", IDM_HELP_PROJECT_PAGE
|
||||||
MENUITEM "&Check update...", IDM_HELP_CHECK_UPDATE
|
MENUITEM "Check update...", IDM_HELP_CHECK_UPDATE
|
||||||
MENUITEM SEPARATOR
|
MENUITEM SEPARATOR
|
||||||
MENUITEM "&About", IDM_HELP_ABOUT
|
MENUITEM "About", IDM_HELP_ABOUT
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
@@ -253,27 +253,35 @@ BEGIN
|
|||||||
SS_LEFTNOWORDWRAP | WS_GROUP,8,18,43,8
|
SS_LEFTNOWORDWRAP | WS_GROUP,8,18,43,8
|
||||||
CONTROL "Rounding",IDC_LABEL_DISPLAY_ROUNDING,"Static",
|
CONTROL "Rounding",IDC_LABEL_DISPLAY_ROUNDING,"Static",
|
||||||
SS_LEFTNOWORDWRAP | WS_GROUP,8,32,43,8
|
SS_LEFTNOWORDWRAP | WS_GROUP,8,32,43,8
|
||||||
CONTROL "Grouping",IDC_LABEL_GROUPING,"Static",SS_LEFTNOWORDWRAP |
|
CONTROL "Grouping",IDC_LABEL_DISPLAY_GROUPING,"Static",SS_LEFTNOWORDWRAP |
|
||||||
WS_GROUP,8,46,43,8
|
WS_GROUP,8,46,43,8
|
||||||
COMBOBOX IDC_COMBO_DISPLAY_INPUT,61,2,49,200,CBS_DROPDOWNLIST |
|
CONTROL "Input decimal point",IDC_LABEL_INPUT_DECIMAL_POINT,
|
||||||
|
"Static",SS_LEFTNOWORDWRAP | WS_GROUP,143,4,87,8
|
||||||
|
CONTROL "Output decimal point",IDC_LABEL_OUTPUT_DECIMAL_POINT,"Static",
|
||||||
|
SS_LEFTNOWORDWRAP | WS_GROUP,143,18,87,8
|
||||||
|
CONTROL "Parameters separated by",IDC_LABEL_PARAM_SEPARATE,
|
||||||
|
"Static",SS_LEFTNOWORDWRAP | WS_GROUP,143,32,87,8
|
||||||
|
CONTROL "trigonometric functions",IDC_LABEL_DISPLAY_DEG_RAD_GRAD,
|
||||||
|
"Static",SS_LEFTNOWORDWRAP | WS_GROUP,143,46,87,8
|
||||||
|
COMBOBOX IDC_COMBO_DISPLAY_INPUT,61,2,59,200,CBS_DROPDOWNLIST |
|
||||||
WS_GROUP | WS_TABSTOP
|
WS_GROUP | WS_TABSTOP
|
||||||
COMBOBOX IDC_COMBO_DISPLAY_OUTPUT,61,16,49,200,CBS_DROPDOWNLIST |
|
COMBOBOX IDC_COMBO_DISPLAY_OUTPUT,61,16,59,200,CBS_DROPDOWNLIST |
|
||||||
WS_TABSTOP
|
WS_TABSTOP
|
||||||
COMBOBOX IDC_COMBO_DISPLAY_ROUNDING,61,30,49,200,CBS_DROPDOWNLIST |
|
COMBOBOX IDC_COMBO_DISPLAY_ROUNDING,61,30,59,200,CBS_DROPDOWNLIST |
|
||||||
WS_TABSTOP
|
WS_TABSTOP
|
||||||
COMBOBOX IDC_COMBO_DISPLAY_GROUPING,61,44,49,112,CBS_DROPDOWNLIST |
|
COMBOBOX IDC_COMBO_DISPLAY_GROUPING,61,44,59,112,CBS_DROPDOWNLIST |
|
||||||
|
WS_VSCROLL | WS_TABSTOP
|
||||||
|
COMBOBOX IDC_COMBO_INPUT_DECIMAL_POINT,234,2,49,56,
|
||||||
|
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||||
|
COMBOBOX IDC_COMBO_OUTPUT_DECIMAL_POINT,234,16,49,62,CBS_DROPDOWNLIST |
|
||||||
|
WS_TABSTOP
|
||||||
|
COMBOBOX IDC_COMBO_PARAM_SEPARATE,234,30,49,54,CBS_DROPDOWNLIST |
|
||||||
WS_VSCROLL | WS_TABSTOP
|
WS_VSCROLL | WS_TABSTOP
|
||||||
COMBOBOX IDC_COMBO_DEG_RAD_GRAD,234,44,49,53,CBS_DROPDOWNLIST |
|
COMBOBOX IDC_COMBO_DEG_RAD_GRAD,234,44,49,53,CBS_DROPDOWNLIST |
|
||||||
WS_TABSTOP
|
WS_TABSTOP
|
||||||
CONTROL "sin/cos asin/acos",IDC_LABEL_DISPLAY_DEG_RAD_GRAD,
|
|
||||||
"Static",SS_LEFTNOWORDWRAP | WS_GROUP,143,46,87,8
|
|
||||||
COMBOBOX IDC_COMBO_DECIMAL_POINT,234,16,49,62,CBS_DROPDOWNLIST |
|
|
||||||
WS_TABSTOP
|
|
||||||
CONTROL "Output decimal point",IDC_LABEL_DECIMAL_POINT,"Static",
|
|
||||||
SS_LEFTNOWORDWRAP | WS_GROUP,143,18,87,8
|
|
||||||
CONTROL "remove trailing zeroes",IDC_CHECK_REMOVE_ZEROES,"Button",
|
CONTROL "remove trailing zeroes",IDC_CHECK_REMOVE_ZEROES,"Button",
|
||||||
BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_LEFT | WS_TABSTOP,142,
|
BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_LEFT | WS_TABSTOP,142,
|
||||||
60,139,10
|
60,140,10
|
||||||
CONTROL "Always",IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC,"Button",
|
CONTROL "Always",IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC,"Button",
|
||||||
BS_AUTORADIOBUTTON | BS_LEFT | WS_GROUP | WS_TABSTOP,14,
|
BS_AUTORADIOBUTTON | BS_LEFT | WS_GROUP | WS_TABSTOP,14,
|
||||||
87,54,10
|
87,54,10
|
||||||
@@ -287,14 +295,6 @@ BEGIN
|
|||||||
11,14
|
11,14
|
||||||
GROUPBOX "Print scientific value",IDC_LABEL_GROUP_SCIENTIFIC,8,75,
|
GROUPBOX "Print scientific value",IDC_LABEL_GROUP_SCIENTIFIC,8,75,
|
||||||
275,27
|
275,27
|
||||||
COMBOBOX IDC_COMBO_INPUT_DECIMAL_POINT,234,2,49,56,
|
|
||||||
CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
||||||
CONTROL "Input decimal point",IDC_LABEL_INPUT_DECIMAL_POINT,
|
|
||||||
"Static",SS_LEFTNOWORDWRAP | WS_GROUP,143,4,87,8
|
|
||||||
COMBOBOX IDC_COMBO_PARAM_SEPARATE,234,30,49,54,CBS_DROPDOWNLIST |
|
|
||||||
WS_VSCROLL | WS_TABSTOP
|
|
||||||
CONTROL "Parameters separated by",IDC_LABEL_PARAM_SEPARATE,
|
|
||||||
"Static",SS_LEFTNOWORDWRAP | WS_GROUP,143,32,87,8
|
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
||||||
@@ -333,27 +333,27 @@ END
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TTCALC_PORTABLE
|
#ifndef TTCALC_PORTABLE
|
||||||
200 DIALOG DISCARDABLE 0, 0, 349, 202
|
200 DIALOG DISCARDABLE 0, 0, 349, 256
|
||||||
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
||||||
WS_SYSMENU
|
WS_SYSMENU
|
||||||
CAPTION "About"
|
CAPTION "About"
|
||||||
FONT 8, "MS Sans Serif"
|
FONT 8, "MS Sans Serif"
|
||||||
BEGIN
|
BEGIN
|
||||||
CONTROL 1201,0,"Static",SS_BITMAP,3,3,101,197
|
CONTROL IDB_BITMAP_ABOUT,0,"Static",SS_BITMAP | SS_REALSIZEIMAGE,3,3,115,250
|
||||||
EDITTEXT 1200,112,3,231,158,ES_MULTILINE | ES_READONLY | NOT
|
EDITTEXT IDC_ABOUT_TEXT,128,11,215,212,ES_MULTILINE | ES_READONLY | NOT
|
||||||
WS_BORDER | NOT WS_TABSTOP
|
WS_BORDER | NOT WS_TABSTOP
|
||||||
DEFPUSHBUTTON "Close",IDOK,175,172,86,14
|
DEFPUSHBUTTON "Close",IDOK,191,231,86,14
|
||||||
END
|
END
|
||||||
#else
|
#else
|
||||||
200 DIALOG DISCARDABLE 0, 0, 268, 239
|
200 DIALOG DISCARDABLE 0, 0, 268, 301
|
||||||
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
||||||
WS_SYSMENU
|
WS_SYSMENU
|
||||||
CAPTION "About"
|
CAPTION "About"
|
||||||
FONT 8, "MS Sans Serif"
|
FONT 8, "MS Sans Serif"
|
||||||
BEGIN
|
BEGIN
|
||||||
EDITTEXT 1200,16,18,234,183,ES_MULTILINE | ES_READONLY | NOT
|
EDITTEXT IDC_ABOUT_TEXT,16,18,234,245,ES_MULTILINE | ES_READONLY |
|
||||||
WS_BORDER | NOT WS_TABSTOP
|
NOT WS_BORDER | NOT WS_TABSTOP
|
||||||
DEFPUSHBUTTON "Close",IDOK,90,213,86,14
|
DEFPUSHBUTTON "Close",IDOK,90,274,86,14
|
||||||
END
|
END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -368,12 +368,11 @@ BEGIN
|
|||||||
DEFPUSHBUTTON "Next",IDC_BUTTON_NEXT,226,65,60,14
|
DEFPUSHBUTTON "Next",IDC_BUTTON_NEXT,226,65,60,14
|
||||||
PUSHBUTTON "Cancel",IDC_BUTTON_CANCEL,290,65,60,14
|
PUSHBUTTON "Cancel",IDC_BUTTON_CANCEL,290,65,60,14
|
||||||
CTEXT "url",IDC_UPDATE_INFO2,7,26,343,8
|
CTEXT "url",IDC_UPDATE_INFO2,7,26,343,8
|
||||||
|
CONTROL "Always check for the update on sturtup",
|
||||||
|
IDC_CHECK_UPDATE_STURTUP,"Button",BS_AUTOCHECKBOX |
|
||||||
|
WS_TABSTOP,7,67,206,10
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef TTCALC_PORTABLE
|
#ifndef TTCALC_PORTABLE
|
||||||
1201 BITMAP "..\\res\\abacus_01.bmp"
|
IDB_BITMAP_ABOUT BITMAP "..\\res\\aboutbox.bmp"
|
||||||
#endif
|
#endif
|
||||||
|
80
src/tabs.cpp
80
src/tabs.cpp
@@ -417,18 +417,20 @@ void SetLanguageTabDisplay(HWND hWnd)
|
|||||||
char buffer[50];
|
char buffer[50];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
Languages * pl = GetPrgRes()->GetLanguages();
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_RESETCONTENT, 0, 0);
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_RESETCONTENT, 0, 0);
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_ADDSTRING, 0, (LPARAM)GetPrgRes()->GetLanguages()->GuiMessage(Languages::combo_rounding_none) );
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_ADDSTRING, 0, (LPARAM)pl->GuiMessage(Languages::combo_rounding_none) );
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_ADDSTRING, 0, (LPARAM)GetPrgRes()->GetLanguages()->GuiMessage(Languages::combo_rounding_integer) );
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_ADDSTRING, 0, (LPARAM)pl->GuiMessage(Languages::combo_rounding_integer) );
|
||||||
|
|
||||||
const int max_r = 9;
|
const int max_r = 9;
|
||||||
for(i=1 ; i<=max_r ; ++i)
|
for(i=1 ; i<=max_r ; ++i)
|
||||||
{
|
{
|
||||||
sprintf(buffer,"%s %d %s",
|
sprintf(buffer,"%s %d %s",
|
||||||
GetPrgRes()->GetLanguages()->GuiMessage(Languages::combo_rounding_to_number),
|
pl->GuiMessage(Languages::combo_rounding_to_number),
|
||||||
i,
|
i,
|
||||||
GetPrgRes()->GetLanguages()->GuiMessage(Languages::combo_rounding_after_comma) );
|
pl->GuiMessage(Languages::combo_rounding_after_comma) );
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_ADDSTRING, 0, (LPARAM)buffer);
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_ADDSTRING, 0, (LPARAM)buffer);
|
||||||
}
|
}
|
||||||
@@ -440,20 +442,42 @@ int i;
|
|||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_SETCURSEL, r+1, 0);
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_ROUNDING, CB_SETCURSEL, r+1, 0);
|
||||||
|
|
||||||
|
|
||||||
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_INPUT, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_input));
|
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_INPUT, pl->GuiMessage(Languages::display_input));
|
||||||
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_OUTPUT, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_output));
|
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_OUTPUT, pl->GuiMessage(Languages::display_output));
|
||||||
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_ROUNDING, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_rounding));
|
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_ROUNDING, pl->GuiMessage(Languages::display_rounding));
|
||||||
|
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_GROUPING, pl->GuiMessage(Languages::display_grouping));
|
||||||
|
SetDlgItemText(hWnd, IDC_LABEL_INPUT_DECIMAL_POINT, pl->GuiMessage(Languages::display_input_decimal_point));
|
||||||
|
SetDlgItemText(hWnd, IDC_LABEL_OUTPUT_DECIMAL_POINT, pl->GuiMessage(Languages::display_output_decimal_point));
|
||||||
|
SetDlgItemText(hWnd, IDC_LABEL_PARAM_SEPARATE, pl->GuiMessage(Languages::display_param_sep));
|
||||||
|
|
||||||
SetDlgItemText(hWnd, IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_always_scientific));
|
SetDlgItemText(hWnd, IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC, pl->GuiMessage(Languages::display_always_scientific));
|
||||||
SetDlgItemText(hWnd, IDC_RADIO_DISPLAY_NOT_ALWAYS_SCIENTIFIC, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_not_always_scientific));
|
SetDlgItemText(hWnd, IDC_RADIO_DISPLAY_NOT_ALWAYS_SCIENTIFIC, pl->GuiMessage(Languages::display_not_always_scientific));
|
||||||
|
|
||||||
SetDlgItemText(hWnd, IDC_LABEL_GROUP_SCIENTIFIC, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_group_scientific));
|
SetDlgItemText(hWnd, IDC_LABEL_GROUP_SCIENTIFIC, pl->GuiMessage(Languages::display_group_scientific));
|
||||||
|
SetDlgItemText(hWnd, IDC_CHECK_REMOVE_ZEROES, pl->GuiMessage(Languages::check_remove_zeroes));
|
||||||
|
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_DEG_RAD_GRAD, pl->GuiMessage(Languages::display_deg_rad_grad));
|
||||||
|
|
||||||
SetDlgItemText(hWnd, IDC_LABEL_DECIMAL_POINT, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_decimal_point));
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_RESETCONTENT, 0, 0);
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)pl->GuiMessage(Languages::display_grouping_none));
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)pl->GuiMessage(Languages::display_grouping_space));
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" `");
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" '");
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" .");
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" ,");
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_SETCURSEL, GetPrgRes()->GetGrouping(), 0);
|
||||||
|
|
||||||
SetDlgItemText(hWnd, IDC_CHECK_REMOVE_ZEROES, GetPrgRes()->GetLanguages()->GuiMessage(Languages::check_remove_zeroes));
|
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_RESETCONTENT, 0, 0);
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)pl->GuiMessage(Languages::display_input_decimal_point_item1));
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" .");
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" ,");
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_SETCURSEL, GetPrgRes()->GetInputDecimalPoint(), 0);
|
||||||
|
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_RESETCONTENT, 0, 0);
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_ADDSTRING, 0, (LPARAM)" ;");
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_ADDSTRING, 0, (LPARAM)pl->GuiMessage(Languages::display_param_sep_item2));
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_ADDSTRING, 0, (LPARAM)pl->GuiMessage(Languages::display_param_sep_item3));
|
||||||
|
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_SETCURSEL, GetPrgRes()->GetParamSep(), 0);
|
||||||
|
|
||||||
SetDlgItemText(hWnd, IDC_LABEL_DISPLAY_DEG_RAD_GRAD, GetPrgRes()->GetLanguages()->GuiMessage(Languages::display_deg_rad_grad));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -795,7 +819,7 @@ BOOL WmTabCommand_DisplayDecimalPointChanged(HWND hWnd, UINT message, WPARAM wPa
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
GetPrgRes()->GetThreadController()->StopCalculating();
|
GetPrgRes()->GetThreadController()->StopCalculating();
|
||||||
GetPrgRes()->SetDecimalPoint( (int)SendDlgItemMessage(hWnd, IDC_COMBO_DECIMAL_POINT, CB_GETCURSEL, 0, 0) );
|
GetPrgRes()->SetDecimalPoint( (int)SendDlgItemMessage(hWnd, IDC_COMBO_OUTPUT_DECIMAL_POINT, CB_GETCURSEL, 0, 0) );
|
||||||
GetPrgRes()->GetThreadController()->StartCalculating();
|
GetPrgRes()->GetThreadController()->StartCalculating();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@@ -1298,7 +1322,7 @@ void CreateTabCommandMessagesTable(Messages<BOOL> & cmessages)
|
|||||||
cmessages.Associate(IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC, WmTabCommand_SetDisplayAlwaysScientific);
|
cmessages.Associate(IDC_RADIO_DISPLAY_ALWAYS_SCIENTIFIC, WmTabCommand_SetDisplayAlwaysScientific);
|
||||||
cmessages.Associate(IDC_RADIO_DISPLAY_NOT_ALWAYS_SCIENTIFIC, WmTabCommand_SetDisplayNotAlwaysScientific);
|
cmessages.Associate(IDC_RADIO_DISPLAY_NOT_ALWAYS_SCIENTIFIC, WmTabCommand_SetDisplayNotAlwaysScientific);
|
||||||
cmessages.Associate(IDC_EDIT_DISPLAY_WHEN_SCIENTIFIC, WmTabCommand_SetDisplayWhenScientific);
|
cmessages.Associate(IDC_EDIT_DISPLAY_WHEN_SCIENTIFIC, WmTabCommand_SetDisplayWhenScientific);
|
||||||
cmessages.Associate(IDC_COMBO_DECIMAL_POINT, WmTabCommand_DisplayDecimalPointChanged);
|
cmessages.Associate(IDC_COMBO_OUTPUT_DECIMAL_POINT, WmTabCommand_DisplayDecimalPointChanged);
|
||||||
cmessages.Associate(IDC_COMBO_DEG_RAD_GRAD, WmTabCommand_DisplayDegRadGradChanged);
|
cmessages.Associate(IDC_COMBO_DEG_RAD_GRAD, WmTabCommand_DisplayDegRadGradChanged);
|
||||||
cmessages.Associate(IDC_COMBO_DISPLAY_GROUPING, WmTabCommand_DisplayGrouping);
|
cmessages.Associate(IDC_COMBO_DISPLAY_GROUPING, WmTabCommand_DisplayGrouping);
|
||||||
cmessages.Associate(IDC_COMBO_INPUT_DECIMAL_POINT, WmTabCommand_DisplayInputDecimalPoint);
|
cmessages.Associate(IDC_COMBO_INPUT_DECIMAL_POINT, WmTabCommand_DisplayInputDecimalPoint);
|
||||||
@@ -1557,38 +1581,18 @@ char buffer[20];
|
|||||||
sprintf(buffer,"%d", GetPrgRes()->GetDisplayWhenScientific());
|
sprintf(buffer,"%d", GetPrgRes()->GetDisplayWhenScientific());
|
||||||
SetDlgItemText(hWnd, IDC_EDIT_DISPLAY_WHEN_SCIENTIFIC, buffer);
|
SetDlgItemText(hWnd, IDC_EDIT_DISPLAY_WHEN_SCIENTIFIC, buffer);
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" .");
|
SendDlgItemMessage(hWnd, IDC_COMBO_OUTPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" .");
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" ,");
|
SendDlgItemMessage(hWnd, IDC_COMBO_OUTPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" ,");
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DECIMAL_POINT, CB_SETCURSEL, GetPrgRes()->GetDecimalPoint(), 0);
|
SendDlgItemMessage(hWnd, IDC_COMBO_OUTPUT_DECIMAL_POINT, CB_SETCURSEL, GetPrgRes()->GetDecimalPoint(), 0);
|
||||||
|
|
||||||
if( GetPrgRes()->GetRemovingZeroes() )
|
if( GetPrgRes()->GetRemovingZeroes() )
|
||||||
CheckDlgButton(hWnd, IDC_CHECK_REMOVE_ZEROES, BST_CHECKED);
|
CheckDlgButton(hWnd, IDC_CHECK_REMOVE_ZEROES, BST_CHECKED);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_ADDSTRING, 0, (LPARAM)"deg");
|
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_ADDSTRING, 0, (LPARAM)"deg");
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_ADDSTRING, 0, (LPARAM)"rad");
|
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_ADDSTRING, 0, (LPARAM)"rad");
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_ADDSTRING, 0, (LPARAM)"grad");
|
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_ADDSTRING, 0, (LPARAM)"grad");
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_SETCURSEL, GetPrgRes()->GetDegRadGrad(), 0);
|
SendDlgItemMessage(hWnd, IDC_COMBO_DEG_RAD_GRAD, CB_SETCURSEL, GetPrgRes()->GetDegRadGrad(), 0);
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)"none");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)"space");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" `");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" '");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" .");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_ADDSTRING, 0, (LPARAM)" ,");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_DISPLAY_GROUPING, CB_SETCURSEL, GetPrgRes()->GetGrouping(), 0);
|
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" . or ,");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" .");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_ADDSTRING, 0, (LPARAM)" ,");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_INPUT_DECIMAL_POINT, CB_SETCURSEL, GetPrgRes()->GetInputDecimalPoint(), 0);
|
|
||||||
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_ADDSTRING, 0, (LPARAM)" ;");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_ADDSTRING, 0, (LPARAM)" ; or .");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_ADDSTRING, 0, (LPARAM)" ; or ,");
|
|
||||||
SendDlgItemMessage(hWnd, IDC_COMBO_PARAM_SEPARATE, CB_SETCURSEL, GetPrgRes()->GetParamSep(), 0);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -43,6 +43,7 @@
|
|||||||
#include "programresources.h"
|
#include "programresources.h"
|
||||||
#include "messages.h"
|
#include "messages.h"
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
#include "languages.h"
|
||||||
#include "winmain.h"
|
#include "winmain.h"
|
||||||
|
|
||||||
|
|
||||||
@@ -281,6 +282,7 @@ void CheckUpdate(HWND hwnd)
|
|||||||
char buffer[200];
|
char buffer[200];
|
||||||
|
|
||||||
level = -1; // nothing to do when Next is pressed
|
level = -1; // nothing to do when Next is pressed
|
||||||
|
Languages * pl = GetPrgRes()->GetLanguages();
|
||||||
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_NEXT), false);
|
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_NEXT), false);
|
||||||
EnableWindow(GetDlgItem(hwnd, IDC_UPDATE_INFO1), false);
|
EnableWindow(GetDlgItem(hwnd, IDC_UPDATE_INFO1), false);
|
||||||
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_SHOW);
|
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_SHOW);
|
||||||
@@ -289,14 +291,14 @@ char buffer[200];
|
|||||||
if( CheckUpdateFromIni(hwnd) )
|
if( CheckUpdateFromIni(hwnd) )
|
||||||
{
|
{
|
||||||
level = 1;
|
level = 1;
|
||||||
sprintf(buffer, "Version %d.%d.%d is available, press Next to download...", major, minor, revision);
|
sprintf(buffer, pl->GuiMessage(Languages::update_is_new_version), major, minor, revision);
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, buffer);
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, buffer);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
level = 100;
|
level = 100;
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, "There is not a new version available.");
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, pl->GuiMessage(Languages::update_no_new_version));
|
||||||
SetDlgItemText(hwnd, IDC_BUTTON_NEXT, "Finish");
|
SetDlgItemText(hwnd, IDC_BUTTON_NEXT, pl->GuiMessage(Languages::update_button_finish));
|
||||||
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_HIDE);
|
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_HIDE);
|
||||||
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_CANCEL), false);
|
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_CANCEL), false);
|
||||||
}
|
}
|
||||||
@@ -366,10 +368,11 @@ DownloadProgram down;
|
|||||||
|
|
||||||
level = -1; // nothing to do when Next is pressed
|
level = -1; // nothing to do when Next is pressed
|
||||||
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_NEXT), false);
|
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_NEXT), false);
|
||||||
|
Languages * pl = GetPrgRes()->GetLanguages();
|
||||||
|
|
||||||
if( SaveDialog(hwnd) )
|
if( SaveDialog(hwnd) )
|
||||||
{
|
{
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, "Downloading from:");
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, pl->GuiMessage(Languages::update_download_from));
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, url.c_str());
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, url.c_str());
|
||||||
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_SHOW);
|
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_SHOW);
|
||||||
|
|
||||||
@@ -378,14 +381,13 @@ DownloadProgram down;
|
|||||||
|
|
||||||
if( down.DownloadUrl( url.c_str()) )
|
if( down.DownloadUrl( url.c_str()) )
|
||||||
{
|
{
|
||||||
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, pl->GuiMessage(Languages::update_downloaded_info1));
|
||||||
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, pl->GuiMessage(Languages::update_downloaded_info2));
|
||||||
|
|
||||||
#ifndef TTCALC_PORTABLE
|
#ifndef TTCALC_PORTABLE
|
||||||
level = 2;
|
level = 2;
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, "A new setup program has been downloaded.");
|
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, "Press Finish to close TTCalc and run the installer.");
|
|
||||||
#else
|
#else
|
||||||
level = 100;
|
level = 100;
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, "A new version of TTCalc has been downloaded");
|
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, "");
|
|
||||||
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_CANCEL), false);
|
EnableWindow(GetDlgItem(hwnd, IDC_BUTTON_CANCEL), false);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -393,12 +395,12 @@ DownloadProgram down;
|
|||||||
{
|
{
|
||||||
level = 100;
|
level = 100;
|
||||||
DeleteFile(local_file_name.c_str());
|
DeleteFile(local_file_name.c_str());
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, "There was a problem with downloading, please try again later");
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, pl->GuiMessage(Languages::update_download_error));
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, "");
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_HIDE);
|
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_HIDE);
|
||||||
SetDlgItemText(hwnd, IDC_BUTTON_NEXT, "Finish");
|
SetDlgItemText(hwnd, IDC_BUTTON_NEXT, pl->GuiMessage(Languages::update_button_finish));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -421,10 +423,14 @@ return false;
|
|||||||
|
|
||||||
BOOL UpdateInit(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
BOOL UpdateInit(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, "Press Next to check for the update...");
|
Languages * pl = GetPrgRes()->GetLanguages();
|
||||||
|
|
||||||
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO1, pl->GuiMessage(Languages::update_check_for_info));
|
||||||
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, "");
|
SetDlgItemText(hwnd, IDC_UPDATE_INFO2, "");
|
||||||
SetDlgItemText(hwnd, IDC_BUTTON_NEXT, "Next");
|
SetDlgItemText(hwnd, IDC_BUTTON_NEXT, pl->GuiMessage(Languages::update_button_next));
|
||||||
SetDlgItemText(hwnd, IDC_BUTTON_CANCEL, "Cancel");
|
SetDlgItemText(hwnd, IDC_BUTTON_CANCEL, pl->GuiMessage(Languages::update_button_cancel));
|
||||||
|
SetWindowText(hwnd, pl->GuiMessage(Languages::update_title));
|
||||||
|
SetDlgItemText(hwnd, IDC_CHECK_UPDATE_STURTUP, pl->GuiMessage(Languages::update_check_at_startup));
|
||||||
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_HIDE);
|
ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS), SW_HIDE);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user