/* * This file is a part of TTCalc - a mathematical calculator * and is distributed under the (new) BSD licence. * Author: Tomasz Sowa */ /* * Copyright (c) 2006-2009, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name Tomasz Sowa nor the names of contributors to this * project may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. */ #include "compileconfig.h" #include "languages.h" const char * Languages::ErrorMessage(Country country, ttmath::ErrorCode code) { const char * unk_err = "unknown error"; if( error_messages_tab.empty() ) InitErrorMessagesTab(); unsigned int cid = static_cast( country ); if( cid >= error_messages_tab.size() ) return unk_err; std::map::const_iterator i; i = error_messages_tab[cid].find( code ); if( i == error_messages_tab[cid].end() ) return unk_err; return i->second.c_str(); } const char * Languages::ErrorMessage(ttmath::ErrorCode code) { return ErrorMessage(current_country, code); } void Languages::InsertErrorPair(ttmath::ErrorCode code, const char * message) { if( error_messages_tab.empty() ) return; error_messages_tab.back().insert( std::make_pair(code, message) ); } void Languages::InitErrorMessagesTab() { error_messages_tab.push_back( std::map() ); /* english messages relating to ttmath library */ InsertErrorPair(ttmath::err_ok,"ok"); InsertErrorPair(ttmath::err_nothing_has_read,""); InsertErrorPair(ttmath::err_unknown_character,"An unknown character"); InsertErrorPair(ttmath::err_unexpected_final_bracket,"An unexpected final bracket"); InsertErrorPair(ttmath::err_stack_not_clear,"An unknown character has left"); InsertErrorPair(ttmath::err_unknown_variable,"An unknown variable"); InsertErrorPair(ttmath::err_division_by_zero,"Division by zero"); InsertErrorPair(ttmath::err_interrupt,"The calculating has been broken"); InsertErrorPair(ttmath::err_overflow,"Overflow"); InsertErrorPair(ttmath::err_unknown_function,"An unknown function"); InsertErrorPair(ttmath::err_unknown_operator,"An unknown operator"); InsertErrorPair(ttmath::err_unexpected_semicolon_operator,"An unexpected semicolon operator"); InsertErrorPair(ttmath::err_improper_amount_of_arguments,"Improper amount of arguments"); InsertErrorPair(ttmath::err_improper_argument,"Improper argument"); InsertErrorPair(ttmath::err_unexpected_end,"Unexpected end"); InsertErrorPair(ttmath::err_internal_error,"An internal error"); InsertErrorPair(ttmath::err_incorrect_name,"Incorrect name of a variable or function"); InsertErrorPair(ttmath::err_incorrect_value,"Incorrect value of a variable or function"); InsertErrorPair(ttmath::err_variable_exists,"This variable already exists"); InsertErrorPair(ttmath::err_variable_loop,"There's a recurrence between variables"); InsertErrorPair(ttmath::err_functions_loop,"There's a recurrence between functions"); 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_too_big_factorial,"A too big argument for the factorial() function"); /* polish messages relating to ttmath library */ error_messages_tab.push_back( std::map() ); InsertErrorPair(ttmath::err_ok,"ok"); InsertErrorPair(ttmath::err_nothing_has_read,""); InsertErrorPair(ttmath::err_unknown_character,"Nieznany znak"); InsertErrorPair(ttmath::err_unexpected_final_bracket,"Nieoczekiwany nawias zamykaj№cy"); InsertErrorPair(ttmath::err_stack_not_clear,"Pozostaі nieznany znak"); InsertErrorPair(ttmath::err_unknown_variable,"Nieznana zmienna"); InsertErrorPair(ttmath::err_division_by_zero,"Dzielenie przez zero"); InsertErrorPair(ttmath::err_interrupt,"Obliczenia zostaіy przerwane"); InsertErrorPair(ttmath::err_overflow,"Przekroczony zakres"); InsertErrorPair(ttmath::err_unknown_function,"Nieznana funkcja"); InsertErrorPair(ttmath::err_unknown_operator,"Nieznany operator"); InsertErrorPair(ttmath::err_unexpected_semicolon_operator,"Nieoczekiwany operator 'њrednik'"); InsertErrorPair(ttmath::err_improper_amount_of_arguments,"Niewіaњciwa liczba argumentуw"); InsertErrorPair(ttmath::err_improper_argument,"Niewіaњciwy argument"); InsertErrorPair(ttmath::err_unexpected_end,"Nieoczekiwany koniec"); InsertErrorPair(ttmath::err_internal_error,"Bі№d wewnкtrzny programu!"); InsertErrorPair(ttmath::err_incorrect_name,"Nieprawidіowa nazwa zmiennej lub funkcji"); InsertErrorPair(ttmath::err_incorrect_value,"Nieprawidіowa wartoњж zmiennej lub funkcji"); InsertErrorPair(ttmath::err_variable_exists,"Ta zmienna juz istnieje"); InsertErrorPair(ttmath::err_variable_loop,"Pomiкdzy zmiennymi zachodzi wywoіanie rekurencyjne"); InsertErrorPair(ttmath::err_functions_loop,"Pomiкdzy funkcjami zachodzi wywoіanie rekurencyjne"); InsertErrorPair(ttmath::err_must_be_only_one_value,"Zmienne albo funkcje mog№ posiadaж (zwracaж) tylko jedn№ wartoњж"); InsertErrorPair(ttmath::err_still_calculating,"Obliczanie..."); InsertErrorPair(ttmath::err_too_big_factorial,"Zbyt duїy argument dla funkcji factorial()"); /* spanish messages relating to ttmath library */ error_messages_tab.push_back( std::map() ); InsertErrorPair(ttmath::err_ok,"ok"); InsertErrorPair(ttmath::err_nothing_has_read,""); InsertErrorPair(ttmath::err_unknown_character,"Un caracter desconocido"); InsertErrorPair(ttmath::err_unexpected_final_bracket,"corchete final inesperado"); InsertErrorPair(ttmath::err_stack_not_clear,"caracter desconocido a la izquierda"); InsertErrorPair(ttmath::err_unknown_variable,"Variable desconocida"); InsertErrorPair(ttmath::err_division_by_zero,"Division por cero"); InsertErrorPair(ttmath::err_interrupt,"El calculo se ha colapsado"); InsertErrorPair(ttmath::err_overflow,"Overflow"); InsertErrorPair(ttmath::err_unknown_function,"Funcion desconocida"); InsertErrorPair(ttmath::err_unknown_operator,"Operador desconocida"); InsertErrorPair(ttmath::err_unexpected_semicolon_operator,"punto y coma inesperado"); InsertErrorPair(ttmath::err_improper_amount_of_arguments,"numero de argumentos incorrecto"); InsertErrorPair(ttmath::err_improper_argument,"argumento incorrecto"); InsertErrorPair(ttmath::err_unexpected_end,"Fin inexperado"); InsertErrorPair(ttmath::err_internal_error,"Error interno"); InsertErrorPair(ttmath::err_incorrect_name,"nombre incorrecto de variable o funcion"); InsertErrorPair(ttmath::err_incorrect_value,"valor incorrecto de variable o funcion"); InsertErrorPair(ttmath::err_variable_exists,"Variable ya existe"); InsertErrorPair(ttmath::err_variable_loop,"Recurrencia entre variables"); InsertErrorPair(ttmath::err_functions_loop,"Recurrencia entre funciones"); InsertErrorPair(ttmath::err_must_be_only_one_value,"Variables o funciones solo pueden retornar un valor"); InsertErrorPair(ttmath::err_still_calculating,"Calculando ..."); InsertErrorPair(ttmath::err_too_big_factorial,"Argumento muy grande para la funcion factorial()"); /* danish messages relating to ttmath library */ error_messages_tab.push_back( std::map() ); InsertErrorPair(ttmath::err_ok,"ok"); InsertErrorPair(ttmath::err_nothing_has_read,""); InsertErrorPair(ttmath::err_unknown_character,"Et ukendt tegn"); InsertErrorPair(ttmath::err_unexpected_final_bracket,"En uforventet endelig klasse"); InsertErrorPair(ttmath::err_stack_not_clear,"Et ukendt tegn er vжk"); InsertErrorPair(ttmath::err_unknown_variable,"En ukendt variabel"); InsertErrorPair(ttmath::err_division_by_zero,"Division med nul"); InsertErrorPair(ttmath::err_interrupt,"Beregningen er blevet afbrydt"); InsertErrorPair(ttmath::err_overflow,"Overflow fejl"); InsertErrorPair(ttmath::err_unknown_function,"En ukendt funktion"); InsertErrorPair(ttmath::err_unknown_operator,"En ukendt operator"); InsertErrorPair(ttmath::err_unexpected_semicolon_operator,"En ukendt semikolon operator"); InsertErrorPair(ttmath::err_improper_amount_of_arguments,"Ukorrekt mжngde af argumenter"); InsertErrorPair(ttmath::err_improper_argument,"Uжgte argumentation"); InsertErrorPair(ttmath::err_unexpected_end,"Uforventet slutning"); InsertErrorPair(ttmath::err_internal_error,"En intern fejl"); InsertErrorPair(ttmath::err_incorrect_name,"Ukorrekt navn for en variabel eller function"); InsertErrorPair(ttmath::err_incorrect_value,"Ukorrekt vжrdi for en variabel eller funktion"); InsertErrorPair(ttmath::err_variable_exists,"Denne variabel eksisterer allerede"); InsertErrorPair(ttmath::err_variable_loop,"Det er en gentagelse mellem variabler"); InsertErrorPair(ttmath::err_functions_loop,"Der er en gentagelse mellem funktioner"); InsertErrorPair(ttmath::err_must_be_only_one_value,"Variabler eller funktioner skal kun returnere йn vжrdi"); InsertErrorPair(ttmath::err_still_calculating,"Regner..."); InsertErrorPair(ttmath::err_too_big_factorial,"Et for stort argument for factorial() funktionen"); /* chinese messages relating to ttmath library */ error_messages_tab.push_back( std::map() ); InsertErrorPair(ttmath::err_ok,"И·¶Ё"); InsertErrorPair(ttmath::err_nothing_has_read,""); InsertErrorPair(ttmath::err_unknown_character,"ОґЦЄЧЦ·ы"); InsertErrorPair(ttmath::err_unexpected_final_bracket,"ТвНв¶аУаµДАЁ»Ў"); InsertErrorPair(ttmath::err_stack_not_clear,"ОґЦЄЧЦ·ыГ»УРЗеїХ"); InsertErrorPair(ttmath::err_unknown_variable,"ОґЦЄ±дБї"); InsertErrorPair(ttmath::err_division_by_zero,"іэКэІ»ДЬОЄБг"); InsertErrorPair(ttmath::err_interrupt,"јЖЛг±»ЦР¶П"); InsertErrorPair(ttmath::err_overflow,"КэѕЭТзіц"); InsertErrorPair(ttmath::err_unknown_function,"ОґЦЄєЇКэ"); InsertErrorPair(ttmath::err_unknown_operator,"ОґЦЄФЛЛг·ы"); InsertErrorPair(ttmath::err_unexpected_semicolon_operator,"ТвНвµД·ЦєЕФЛЛг·ы"); InsertErrorPair(ttmath::err_improper_amount_of_arguments,"ґнОуІОКэКэБї"); InsertErrorPair(ttmath::err_improper_argument,"ґнОуІОКэ"); InsertErrorPair(ttmath::err_unexpected_end,"ТвНвД©¶Л"); InsertErrorPair(ttmath::err_internal_error,"ДЪІїґнОу"); InsertErrorPair(ttmath::err_incorrect_name,"ґнОуµД±дБїГы»тєЇКэГы"); InsertErrorPair(ttmath::err_incorrect_value,"ґнОуµД±дБїЦµ»тєЇКэЦµ"); InsertErrorPair(ttmath::err_variable_exists,"Хвёц±дБїТСѕ­ґжФЪ"); InsertErrorPair(ttmath::err_variable_loop,"±дБїС­»·"); InsertErrorPair(ttmath::err_functions_loop,"єЇКэС­»·"); InsertErrorPair(ttmath::err_must_be_only_one_value,"±дБї»тєЇКэ±ШРлУР·µ»ШЦµ"); InsertErrorPair(ttmath::err_still_calculating,"ХэФЪјЖЛг..."); InsertErrorPair(ttmath::err_too_big_factorial,"ЅЧіЛєЇКэµДІОКэМ«ґу"); /* russian messages relating to ttmath library */ error_messages_tab.push_back( std::map() ); InsertErrorPair(ttmath::err_ok,"ok"); InsertErrorPair(ttmath::err_nothing_has_read,""); InsertErrorPair(ttmath::err_unknown_character,"Неизвестный символ"); InsertErrorPair(ttmath::err_unexpected_final_bracket,"Неожиданная закрывающая скобка"); InsertErrorPair(ttmath::err_stack_not_clear,"Остался неизвестный символ"); InsertErrorPair(ttmath::err_unknown_variable,"Неизвестная переменная"); InsertErrorPair(ttmath::err_division_by_zero,"Делить на ноль нельзя"); InsertErrorPair(ttmath::err_interrupt,"Подсчет прерван"); InsertErrorPair(ttmath::err_overflow,"Переполнение"); InsertErrorPair(ttmath::err_unknown_function,"Неизвестная функция"); InsertErrorPair(ttmath::err_unknown_operator,"Неизвестный оператор"); InsertErrorPair(ttmath::err_unexpected_semicolon_operator,"Неожиданный оператор с ;"); InsertErrorPair(ttmath::err_improper_amount_of_arguments,"Недопустимое количество аргументов"); InsertErrorPair(ttmath::err_improper_argument,"Недопустимый аргумент"); InsertErrorPair(ttmath::err_unexpected_end,"Неожиданный конец"); InsertErrorPair(ttmath::err_internal_error,"Внутренняя ошибка"); InsertErrorPair(ttmath::err_incorrect_name,"Неправильное имя переменной или функции"); InsertErrorPair(ttmath::err_incorrect_value,"Неправильное значение переменной или функции"); InsertErrorPair(ttmath::err_variable_exists,"Такая переменная уже задана"); InsertErrorPair(ttmath::err_variable_loop,"Переменные рекуррентны"); InsertErrorPair(ttmath::err_functions_loop,"Функции рекуррентны"); InsertErrorPair(ttmath::err_must_be_only_one_value,"Переменные или функции должны возвращать только одно значение"); InsertErrorPair(ttmath::err_still_calculating,"Подсчитываем..."); InsertErrorPair(ttmath::err_too_big_factorial,"Слишком большой аргумент для функции factorial()"); } // for gui messages const char * Languages::GuiMessage(Country country, GuiMsg code) { const char * unk_msg = "unknown"; if( gui_messages_tab.empty() ) InitGuiMessagesTab(); unsigned int cid = static_cast( country ); if( cid >= gui_messages_tab.size() ) return unk_msg; std::map::const_iterator i; i = gui_messages_tab[cid].find( code ); if( i == gui_messages_tab[cid].end() ) return unk_msg; return i->second.c_str(); } const char * Languages::GuiMessage(GuiMsg code) { return GuiMessage(current_country, code); } void Languages::InsertGuiPair(GuiMsg code, const char * message) { if( gui_messages_tab.empty() ) return; gui_messages_tab.back().insert( std::make_pair(code, message) ); } void Languages::InitGuiMessagesTab() { /* english gui messages */ gui_messages_tab.push_back( std::map() ); InsertGuiPair(button_ok,"Ok"); InsertGuiPair(button_cancel,"Cancel"); InsertGuiPair(message_box_caption,"TTCalc"); InsertGuiPair(dialog_box_add_variable_caption,"Add a new variable"); InsertGuiPair(dialog_box_edit_variable_caption,"Edit a variable"); InsertGuiPair(dialog_box_add_variable_incorrect_name,"An incorrect name of the variable"); InsertGuiPair(dialog_box_add_variable_incorrect_value,"An incorrect value of the variable"); InsertGuiPair(dialog_box_add_variable_variable_exists,"This variable already exists"); InsertGuiPair(dialog_box_edit_variable_unknown_variable,"There isn't this variable in my table. There's probably an internal error!"); InsertGuiPair(dialog_box_delete_variable_confirm,"Do you want to delete these variables?"); InsertGuiPair(dialog_box_variable_not_all_deleted,"There are some variables which I was not able to delete. Probably an internal error!"); InsertGuiPair(dialog_box_add_function_caption,"Add a new function"); InsertGuiPair(dialog_box_edit_function_caption,"Edit a function"); InsertGuiPair(dialog_box_add_function_function_exists,"This function already exists"); InsertGuiPair(dialog_box_edit_function_unknown_function,"There isn't this function in my table. There's probably an internal error!"); InsertGuiPair(dialog_box_delete_function_confirm,"Do you want to delete these functions?"); InsertGuiPair(dialog_box_function_not_all_deleted,"There are some functions which I was not able to delete. Probably an internal error!"); InsertGuiPair(dialog_box_add_function_incorrect_name,"An incorrect name of the function"); InsertGuiPair(list_variables_header_1,"Name"); InsertGuiPair(list_variables_header_2,"Value"); InsertGuiPair(list_functions_header_1,"Name"); InsertGuiPair(list_functions_header_2,"Param."); InsertGuiPair(list_functions_header_3,"Value"); InsertGuiPair(button_add,"Add"); InsertGuiPair(button_edit,"Edit"); InsertGuiPair(button_delete,"Delete"); InsertGuiPair(button_clear,"C"); InsertGuiPair(tab_standard,"Standard"); InsertGuiPair(tab_variables,"Variables"); InsertGuiPair(tab_functions,"Functions"); InsertGuiPair(tab_precision,"Precision"); InsertGuiPair(tab_display,"Display"); InsertGuiPair(tab_convert,"Convert"); InsertGuiPair(radio_precision_1,"Small - 96 bits for the mantissa, 32 bits for the exponent"); InsertGuiPair(radio_precision_2,"Medium - 288 bits for the mantissa, 64 bits for the exponent"); InsertGuiPair(radio_precision_3,"Big - 864 bits for the mantissa, 128 bits for the exponent"); InsertGuiPair(precision_1_info,"(+/-)6.9 e+646457021, 26 valid digits (decimal)"); InsertGuiPair(precision_2_info,"(+/-)3.4e+2776511644261678652, 85 valid digits"); InsertGuiPair(precision_3_info,"(+/-)6.7e+51217599719369681875006054625051616609, 258 digits"); InsertGuiPair(overflow_during_printing,"Overflow during printing"); InsertGuiPair(combo_rounding_none,"None"); InsertGuiPair(combo_rounding_integer,"to integer"); InsertGuiPair(combo_rounding_to_number,"to"); InsertGuiPair(combo_rounding_after_comma,"digit(s)"); InsertGuiPair(check_remove_zeroes,"Remove last trailing zeroes"); InsertGuiPair(display_input, "Input"); InsertGuiPair(display_output, "Output"); InsertGuiPair(display_rounding, "Rounding"); InsertGuiPair(display_always_scientific,"Always"); InsertGuiPair(display_not_always_scientific,"When the exponent is greater than:"); InsertGuiPair(display_group_scientific, "Print the result as the scientific value"); InsertGuiPair(display_decimal_point, "Decimal point"); InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos"); InsertGuiPair(convert_type, "Type"); InsertGuiPair(convert_input, "Input"); InsertGuiPair(convert_output, "Output"); InsertGuiPair(convert_dynamic_output, "Auto prefix"); InsertGuiPair(menu_view, "&View"); InsertGuiPair(menu_edit, "&Edit"); InsertGuiPair(menu_help, "&Help"); InsertGuiPair(menu_language, "&Language"); InsertGuiPair(menu_view_new_window, "&New window"); InsertGuiPair(menu_view_normal_view, "No&rmal view"); InsertGuiPair(menu_view_compact_view, "C&ompact view"); InsertGuiPair(menu_view_always_on_top, "&Always on top"); InsertGuiPair(menu_view_lang_english, "&English"); InsertGuiPair(menu_view_lang_polish, "&Polish"); InsertGuiPair(menu_view_lang_spanish, "&Spanish"); InsertGuiPair(menu_view_lang_danish, "&Danish"); InsertGuiPair(menu_view_lang_chinese, "&Chinese"); InsertGuiPair(menu_view_lang_russian, "&Russian"); InsertGuiPair(menu_view_close_program, "&Close"); InsertGuiPair(menu_edit_undo, "&Undo"); InsertGuiPair(menu_edit_paste, "&Paste"); InsertGuiPair(menu_edit_copy_result, "&Copy the result"); InsertGuiPair(menu_help_help, "&Help"); InsertGuiPair(menu_help_project_page, "&Project page"); InsertGuiPair(menu_help_about, "&About"); InsertGuiPair(cant_init_calculations, "I could not initialize the module for calculations"); InsertGuiPair(message_box_error_caption,"TTCalc"); InsertGuiPair(cant_create_thread, "I could not create the second thread for calculating"); 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(about_text, "Mathematical calculator TTCalc %d.%d.%d%s%s\r\n" "Author: Tomasz Sowa\r\n" "Contact: t.sowa@ttmath.org\r\n" "Licence: BSD (open source)\r\n" "Project page: http://ttcalc.sourceforge.net\r\n" "Bignum library: TTMath %d.%d.%d%s\r\n" "Programming language: C++\r\n" "Compiler: %s\r\n" "%s" // for upx "\r\n" "TTCalc uses the TTMath bignum library" " which can be found at http://sourceforge.net/projects/ttmath\r\n" "\r\n" #ifdef TTCALC_PORTABLE "This is the portable version of the program TTCalc. In this version " "you can calculate only with one kind of precision (96 bits for the " "mantissa and 32 bits for the exponent) it's about +/-6.9e+646457021.\r\n" "\r\n" #endif "If you have any questions, advices or interesting ideas about" " this program or if you want to join to this project as" " a developer or a programmer feel free to contant with the author." ); InsertGuiPair(about_text_portable_version, " portable version"); InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n"); InsertGuiPair(about_box_title, "About"); InsertGuiPair(about_box_button_close, "Close"); InsertGuiPair(unknown_error, "An unknown error has occurred"); InsertGuiPair(cant_find_help, "I can't find any help files"); InsertGuiPair(cant_open_project_page, "I can't open the project webpage"); /* polish gui messages */ gui_messages_tab.push_back( std::map() ); InsertGuiPair(button_ok,"Ok"); InsertGuiPair(button_cancel,"Anuluj"); InsertGuiPair(message_box_caption,"TTCalc"); InsertGuiPair(dialog_box_add_variable_caption,"Dodaj now№ zmienn№"); InsertGuiPair(dialog_box_edit_variable_caption,"Zmieс wartoњж zmiennej"); InsertGuiPair(dialog_box_add_variable_incorrect_name,"Nie prawidіowa nazwa zmiennej"); InsertGuiPair(dialog_box_add_variable_incorrect_value,"Nie prawidіowa wartoњж zmiennej"); InsertGuiPair(dialog_box_add_variable_variable_exists,"Podana zmienna juї istnieje"); InsertGuiPair(dialog_box_edit_variable_unknown_variable,"Podanej zmiennej nie ma w tablicy. Prawdopodobnie bі№d wewnкtrzny programu."); InsertGuiPair(dialog_box_delete_variable_confirm,"Czy napewno usun№ж zaznaczone zmienne?"); InsertGuiPair(dialog_box_variable_not_all_deleted,"Zostaіo kilka zmiennych ktуrych nie moїna byіo skasowaж. Prawdopodobnie bі№d wewnкtrzny programu."); InsertGuiPair(dialog_box_add_function_caption,"Dodaj now№ funkcjк"); InsertGuiPair(dialog_box_edit_function_caption,"Zmieс wartoњж funkcji"); InsertGuiPair(dialog_box_add_function_function_exists,"Podana funkcja juї istnieje"); InsertGuiPair(dialog_box_edit_function_unknown_function,"Podanej funkcji nie ma w tablicy. Prawdopodobnie bі№d wewnкtrzny programu."); InsertGuiPair(dialog_box_delete_function_confirm,"Czy napewno usun№ж zaznaczone funkcje?"); InsertGuiPair(dialog_box_function_not_all_deleted,"Zostaіo kilka funkcji ktуrych nie moїna byіo skasowaж. Prawdopodobnie bі№d wewnкtrzny programu."); InsertGuiPair(dialog_box_add_function_incorrect_name,"Nieprawidіowa nazwa funkcji"); InsertGuiPair(list_variables_header_1,"Nazwa"); InsertGuiPair(list_variables_header_2,"Wartoњж"); InsertGuiPair(list_functions_header_1,"Nazwa"); InsertGuiPair(list_functions_header_2,"Parametry"); InsertGuiPair(list_functions_header_3,"Wartoњж"); InsertGuiPair(button_add,"Dodaj"); InsertGuiPair(button_edit,"Edytuj"); InsertGuiPair(button_delete,"Usuс"); InsertGuiPair(button_clear,"C"); InsertGuiPair(tab_standard,"Standard"); InsertGuiPair(tab_variables,"Zmienne"); InsertGuiPair(tab_functions,"Funkcje"); InsertGuiPair(tab_precision,"Precyzja"); InsertGuiPair(tab_display,"Wyњwietlanie"); InsertGuiPair(tab_convert,"Konwersja"); InsertGuiPair(radio_precision_1,"Maіa - 96 bitowa mantysa, 32 bitowy wykіadnik"); InsertGuiPair(radio_precision_2,"Њrednia - 288 bitowa mantysa, 64 bitowy wykіadnik"); InsertGuiPair(radio_precision_3,"Duїa - 864 bitowa mantysa, 128 bitowy wykіadnik"); InsertGuiPair(precision_1_info,"(+/-)6.9e+646457021, 26 cyfr znacz№cych (w rozwiniкciu dziesiкtnym)"); InsertGuiPair(precision_2_info,"(+/-)3.4e+2776511644261678652, 85 cyfr znacz№cych"); InsertGuiPair(precision_3_info,"(+/-)6.7e+51217599719369681875006054625051616609, 258 cyfr"); InsertGuiPair(overflow_during_printing,"Przepeіnienie podczas wypisywania"); InsertGuiPair(combo_rounding_none,"bez zmian"); InsertGuiPair(combo_rounding_integer,"do caіkowitej"); InsertGuiPair(combo_rounding_to_number,"do"); InsertGuiPair(combo_rounding_after_comma,"cyfr(y)"); InsertGuiPair(check_remove_zeroes,"Skasuj nieznacz№ce zera"); InsertGuiPair(display_input,"Wejњcie"); InsertGuiPair(display_output,"Wyjњcie"); InsertGuiPair(display_rounding,"Zaokr№glenie"); InsertGuiPair(display_always_scientific,"Zawsze"); InsertGuiPair(display_not_always_scientific,"Jeњli eksponent jest wiкkszy niї:"); InsertGuiPair(display_group_scientific, "Wyњwietl wynik w postaci naukowej"); InsertGuiPair(display_decimal_point, "Przecinek dziesiкtny"); InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos"); InsertGuiPair(convert_type, "Typ"); InsertGuiPair(convert_input, "Wejњcie"); InsertGuiPair(convert_output, "Wyjњcie"); InsertGuiPair(convert_dynamic_output, "Automatyczny prefiks"); InsertGuiPair(menu_view, "&Widok"); InsertGuiPair(menu_edit, "&Edycja"); InsertGuiPair(menu_help, "&Pomoc"); InsertGuiPair(menu_language, "&Jкzyk"); InsertGuiPair(menu_view_new_window, "&Nowe okno"); InsertGuiPair(menu_view_normal_view, "Widok no&rmalny"); InsertGuiPair(menu_view_compact_view, "Widok &kompaktowy"); InsertGuiPair(menu_view_always_on_top, "Zawsze na &wierzchu"); InsertGuiPair(menu_view_lang_english, "&Angielski"); InsertGuiPair(menu_view_lang_polish, "&Polski"); InsertGuiPair(menu_view_lang_spanish, "&Hiszpaсski"); InsertGuiPair(menu_view_lang_danish, "&Duсski"); InsertGuiPair(menu_view_lang_chinese, "&Chiсski"); InsertGuiPair(menu_view_lang_russian, "&Russian"); InsertGuiPair(menu_view_close_program, "&Zamknij"); InsertGuiPair(menu_edit_undo, "&Cofnij"); InsertGuiPair(menu_edit_paste, "&Wklej"); InsertGuiPair(menu_edit_copy_result, "&Kopiuj wynik"); InsertGuiPair(menu_help_help, "&Pomoc"); InsertGuiPair(menu_help_project_page, "&Strona projektu"); InsertGuiPair(menu_help_about, "&O programie"); InsertGuiPair(cant_init_calculations, "Nie udaіo siк zainicjalizowaж moduіu obsіugi obliczeс"); InsertGuiPair(message_box_error_caption,"TTCalc"); InsertGuiPair(cant_create_thread, "Nie udaіo siк utworzyж drugiego w№tku do obliczeс"); InsertGuiPair(cant_create_main_window, "Nie udaіo siк utworzyж gіуwnego okna aplikacji"); InsertGuiPair(cant_init_common_controls,"Nie udaіo siк zainicjalizowaж obsіugi Common Controls (InitCommonControlsEx)"); InsertGuiPair(about_text, "Kalkulator matematyczny TTCalc %d.%d.%d%s%s\r\n" "Autor: Tomasz Sowa\r\n" "Kontakt: t.sowa@ttmath.org\r\n" "Licencja: BSD (open source)\r\n" "Strona projektu: http://ttcalc.sourceforge.net\r\n" "Biblioteka duїych liczb: TTMath %d.%d.%d%s\r\n" "Jкzyk programowania: C++\r\n" "Kompilator: %s\r\n" "%s" // for upx "\r\n" "Ten program uїywa biblioteki duїych liczb TTMath" " ktуra jest dostкpna na http://sourceforge.net/projects/ttmath\r\n" "\r\n" #ifdef TTCALC_PORTABLE "To jest wersja portable programu TTCalc. W tej wersji moїesz dokonywaж " "obliczeс jedynie z jednym rodzajem precyzji (96 bitowa mantysa " "oraz 32 bitowy wykіadnik) to jest okoіo +/-6.9e+646457021.\r\n" "\r\n" #endif "Jeїeli masz jakieњ pytania, rady, ciekawe pomysіy dotycz№ce" " tego programu lub chciaіbyњ doі№czyж jako projektant/programista" " poprostu skontaktuj siк z autorem." ); InsertGuiPair(about_text_portable_version, " wersja portable"); InsertGuiPair(about_text_exe_packer, "Paker exe: UPX 3.03\r\n"); InsertGuiPair(about_box_title, "O programie"); InsertGuiPair(about_box_button_close, "Zamknij"); InsertGuiPair(unknown_error, "Nieznany kod bікdu"); InsertGuiPair(cant_find_help, "Nie mogк znaleїж їadnych plikуw pomocy"); InsertGuiPair(cant_open_project_page, "Nie mogк otworzyж strony projektu"); /* spanish gui messages */ gui_messages_tab.push_back( std::map() ); InsertGuiPair(button_ok,"Ok"); InsertGuiPair(button_cancel,"Cancelar"); InsertGuiPair(message_box_caption,"TTCalc"); InsertGuiPair(dialog_box_add_variable_caption,"Aсadir nueva variable"); InsertGuiPair(dialog_box_edit_variable_caption,"Editar variable"); InsertGuiPair(dialog_box_add_variable_incorrect_name,"Nombre incorrecto de variable"); InsertGuiPair(dialog_box_add_variable_incorrect_value,"Valor incorrecto de variable"); InsertGuiPair(dialog_box_add_variable_variable_exists,"Esta variable ya existe"); InsertGuiPair(dialog_box_edit_variable_unknown_variable,"No hay variable en mi tabla!. Seguramente haya un error interno!"); InsertGuiPair(dialog_box_delete_variable_confirm,"Quiere borrar las variables internas?"); InsertGuiPair(dialog_box_variable_not_all_deleted,"Hay algunas variables que no se pueden borrar. Probablemente hay un error interno!"); InsertGuiPair(dialog_box_add_function_caption,"Aсadir funcion"); InsertGuiPair(dialog_box_edit_function_caption,"Editar funcion"); InsertGuiPair(dialog_box_add_function_function_exists,"Esta funcion ya existe"); InsertGuiPair(dialog_box_edit_function_unknown_function,"No existe esta funcion en mi tabla. Problablemente error interno!"); InsertGuiPair(dialog_box_delete_function_confirm,"Quiere borrar estas funciones?"); InsertGuiPair(dialog_box_function_not_all_deleted,"Hay algunas funciones que no se pueden borrar. Probablmenete error interno!"); InsertGuiPair(dialog_box_add_function_incorrect_name,"Nombre incorrecto de la funcion"); InsertGuiPair(list_variables_header_1,"Nombre"); InsertGuiPair(list_variables_header_2,"Valor"); InsertGuiPair(list_functions_header_1,"Nombre"); InsertGuiPair(list_functions_header_2,"Param."); InsertGuiPair(list_functions_header_3,"Valor"); InsertGuiPair(button_add,"Aсadir"); InsertGuiPair(button_edit,"Editar"); InsertGuiPair(button_delete,"Borrar"); InsertGuiPair(button_clear,"C"); InsertGuiPair(tab_standard,"Standard"); InsertGuiPair(tab_variables,"Variables"); InsertGuiPair(tab_functions,"Funciones"); InsertGuiPair(tab_precision,"Precision"); InsertGuiPair(tab_display,"Pantalla"); InsertGuiPair(tab_convert,"Convertir"); InsertGuiPair(radio_precision_1,"Pequeсo - 96 bits para la mantissa, 32 bits para el exponente"); InsertGuiPair(radio_precision_2,"Mediano - 288 bits para la mantissa, 64 bits para el exponente"); InsertGuiPair(radio_precision_3,"Grande - 864 bits para la mantissa, 128 bits para el exponente"); InsertGuiPair(precision_1_info,"(+/-)6.9 e+646457021, 26 digitos validos (decimal)"); InsertGuiPair(precision_2_info,"(+/-)3.4e+2776511644261678652, 85 digitos validos"); InsertGuiPair(precision_3_info,"(+/-)6.7e+51217599719369681875006054625051616609, 258 digitos"); InsertGuiPair(overflow_during_printing,"Sobredimensiуn durante impresiуn"); InsertGuiPair(combo_rounding_none,"Ninguno"); InsertGuiPair(combo_rounding_integer,"a entero"); //InsertGuiPair(combo_rounding_to_number,"a numero"); // this text was too long (the combobox is shorter now) -- I'm not sure whether this is correct now... (I don't know spanish at all) InsertGuiPair(combo_rounding_to_number,"a"); InsertGuiPair(combo_rounding_after_comma,"digito(s)"); InsertGuiPair(check_remove_zeroes,"Eliminar ceros no-significativos"); InsertGuiPair(display_input, "Entrada"); InsertGuiPair(display_output, "Salida"); InsertGuiPair(display_rounding, "Redondeo"); InsertGuiPair(display_always_scientific,"Siempre"); InsertGuiPair(display_not_always_scientific,"Cuando el exponente es mas grande que:"); InsertGuiPair(display_group_scientific, "Imprimir el resultado como valor cientifico"); InsertGuiPair(display_decimal_point, "Decimal point"); InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos"); InsertGuiPair(convert_type, "Tipo"); InsertGuiPair(convert_input, "Entrada"); InsertGuiPair(convert_output, "Salida"); InsertGuiPair(convert_dynamic_output, "Auto prefijo"); InsertGuiPair(menu_view, "&Ver"); InsertGuiPair(menu_edit, "&Editar"); InsertGuiPair(menu_help, "&Ayuda"); InsertGuiPair(menu_language, "&Idioma"); InsertGuiPair(menu_view_new_window, "&Nueva ventana"); InsertGuiPair(menu_view_normal_view, "Vista No&rmal"); InsertGuiPair(menu_view_compact_view, "Vista C&ompacta"); InsertGuiPair(menu_view_always_on_top, "&Siempre arriba"); InsertGuiPair(menu_view_lang_english, "&Ingles"); InsertGuiPair(menu_view_lang_polish, "&Polaco"); InsertGuiPair(menu_view_lang_spanish, "&Espaсol"); InsertGuiPair(menu_view_lang_danish, "&Danйs"); // 'Danйs' is a correct translation for 'Danish'? InsertGuiPair(menu_view_lang_chinese, "&Chino"); // 'Chino' is a correct translation for 'Chinese'? InsertGuiPair(menu_view_lang_russian, "&Russian"); InsertGuiPair(menu_view_close_program, "&Close"); InsertGuiPair(menu_edit_undo, "&Deshacer"); InsertGuiPair(menu_edit_paste, "&Pegar"); InsertGuiPair(menu_edit_copy_result, "&Copiar resultado"); InsertGuiPair(menu_help_help, "&Ayuda"); InsertGuiPair(menu_help_project_page, "&Pagina del proyecto"); InsertGuiPair(menu_help_about, "&Acerca de"); InsertGuiPair(cant_init_calculations, "No se puede inicializar el modulo de calculo"); InsertGuiPair(message_box_error_caption,"TTCalc"); InsertGuiPair(cant_create_thread, "No se puede crear la segunda hebra para calcular"); 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(about_text, "Calculadora matematica TTCalc %d.%d.%d%s%s\r\n" "Autor: Tomasz Sowa\r\n" "Contacto: t.sowa@ttmath.org\r\n" "Licencia: BSD (open source)\r\n" "Pagina del proyecto: http://ttcalc.sourceforge.net\r\n" "Biblioteca Bignum: TTMath %d.%d.%d%s\r\n" "Lenguaje de programacion: C++\r\n" "Compilador: %s\r\n" "%s" // for upx "\r\n" "TTCalc usa la biblioteca TTMath bignum" " la cual puede ser encontrada en http://sourceforge.net/projects/ttmath\r\n" "\r\n" #ifdef TTCALC_PORTABLE "Esta es la version portatil del programa TTCalc. En esta version " "se puede calcular con una precision tal que (96 bits para la " "mantisa y 32 bits para el exponente) que es aproximadamente +/-6.9e+646457021.\r\n" "\r\n" #endif "Si tienes preguntas, consejos o ideas interesantes sobre" " este programa o si quieres unirte a este proyecto como" " desarrollador o programador, no dudes en contactar con el autor." ); InsertGuiPair(about_text_portable_version, " version portatil"); InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n"); InsertGuiPair(about_box_title, "Acerca de"); InsertGuiPair(about_box_button_close, "Cerrar"); InsertGuiPair(unknown_error, "Ocurrio un error desconocido"); InsertGuiPair(cant_find_help, "No se encuentran los ficheros de ayuda"); InsertGuiPair(cant_open_project_page, "No se puede abrir la pagina dle proyecto"); /* danish gui messages */ gui_messages_tab.push_back( std::map() ); InsertGuiPair(button_ok,"Ok"); InsertGuiPair(button_cancel,"Anuller"); InsertGuiPair(message_box_caption,"TTCalc"); InsertGuiPair(dialog_box_add_variable_caption,"Tilfшj en ny variabel"); InsertGuiPair(dialog_box_edit_variable_caption,"Rediger en variabel"); InsertGuiPair(dialog_box_add_variable_incorrect_name,"Et ukorrekt navn for variablen"); InsertGuiPair(dialog_box_add_variable_incorrect_value,"En ukorrekt vжrdi for variablen"); InsertGuiPair(dialog_box_add_variable_variable_exists,"Denne variabel eksisterer allerede"); InsertGuiPair(dialog_box_edit_variable_unknown_variable,"Der er ikke denne variabel i min tabel. Der er sandsynligvis en intern fejl!"); InsertGuiPair(dialog_box_delete_variable_confirm,"Vil du slette disse variabler?"); InsertGuiPair(dialog_box_variable_not_all_deleted,"Der er nogle variabler det ikke var mugligt at slette. Sandsynligvis en intern fejl!"); InsertGuiPair(dialog_box_add_function_caption,"Tilfшj en ny funktion"); InsertGuiPair(dialog_box_edit_function_caption,"Rediger en funktion"); InsertGuiPair(dialog_box_add_function_function_exists,"Denne funktion eksisterer allerede"); InsertGuiPair(dialog_box_edit_function_unknown_function,"Der er ikke denne funktion i min tabel. Der er sandsynligvis en intern fejl!"); InsertGuiPair(dialog_box_delete_function_confirm,"Vil du slette disse funktioner?"); InsertGuiPair(dialog_box_function_not_all_deleted,"Der er nogle funktioner det ikke var mugligt at slette. Sandsynligvis en intern fejl!"); InsertGuiPair(dialog_box_add_function_incorrect_name,"Et ukorrekt navn for funktionen"); InsertGuiPair(list_variables_header_1,"Navn"); InsertGuiPair(list_variables_header_2,"Vжrdi"); InsertGuiPair(list_functions_header_1,"Navn"); InsertGuiPair(list_functions_header_2,"Param."); InsertGuiPair(list_functions_header_3,"Vжrdi"); InsertGuiPair(button_add,"Tilfшj"); InsertGuiPair(button_edit,"Rediger"); InsertGuiPair(button_delete,"Slet"); InsertGuiPair(button_clear,"C"); InsertGuiPair(tab_standard,"Standard"); InsertGuiPair(tab_variables,"Variabler"); InsertGuiPair(tab_functions,"Funktioner"); InsertGuiPair(tab_precision,"Prжcision"); InsertGuiPair(tab_display,"Visning"); InsertGuiPair(tab_convert,"Konverter"); InsertGuiPair(radio_precision_1,"Lille - 96 bits for mantissen, 32 bits for exponenten"); InsertGuiPair(radio_precision_2,"Mellem - 288 bits for mantissen, 64 bits for exponenten"); InsertGuiPair(radio_precision_3,"Stor - 864 bits for mantissen, 128 bits for exponenten"); InsertGuiPair(precision_1_info,"(+/-)6.9 e+646457021, 26 gyldige cifre (decimaler)"); InsertGuiPair(precision_2_info,"(+/-)3.4e+2776511644261678652, 85 gyldige cifre"); InsertGuiPair(precision_3_info,"(+/-)6.7e+51217599719369681875006054625051616609, 258 cifre"); InsertGuiPair(overflow_during_printing,"Overflow under printning"); InsertGuiPair(combo_rounding_none,"Ingen"); InsertGuiPair(combo_rounding_integer,"til heltal"); InsertGuiPair(combo_rounding_to_number,"til"); InsertGuiPair(combo_rounding_after_comma,"ciffer(cifre)"); InsertGuiPair(check_remove_zeroes,"Fjern sidste overflшdige nuller"); InsertGuiPair(display_input, "Input"); InsertGuiPair(display_output, "Output"); InsertGuiPair(display_rounding, "Afrunding"); InsertGuiPair(display_always_scientific,"Altid"); InsertGuiPair(display_not_always_scientific,"Nеr exponenten er stшrre end:"); InsertGuiPair(display_group_scientific, "Print resultatet som den videnskablige vжrdi"); InsertGuiPair(display_decimal_point, "Decimal punkt"); InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos"); InsertGuiPair(convert_type, "Type"); InsertGuiPair(convert_input, "Input"); InsertGuiPair(convert_output, "Udput"); InsertGuiPair(convert_dynamic_output, "Auto prжfix"); InsertGuiPair(menu_view, "&Vis"); InsertGuiPair(menu_edit, "&Rediger"); InsertGuiPair(menu_help, "&Hjжlp"); InsertGuiPair(menu_language, "&Sprog"); InsertGuiPair(menu_view_new_window, "&Nyt vindue"); InsertGuiPair(menu_view_normal_view, "No&rmal visning"); InsertGuiPair(menu_view_compact_view, "K&ompakt visning"); InsertGuiPair(menu_view_always_on_top, "&Altid шverst"); InsertGuiPair(menu_view_lang_english, "&Engelsk"); InsertGuiPair(menu_view_lang_polish, "&Polsk"); InsertGuiPair(menu_view_lang_spanish, "&Spansk"); InsertGuiPair(menu_view_lang_danish, "&Dansk"); InsertGuiPair(menu_view_lang_chinese, "&Kinesisk"); // 'Kinesisk' is a correct translation for 'Chinese'? InsertGuiPair(menu_view_lang_russian, "&Russian"); InsertGuiPair(menu_view_close_program, "&Afslut"); InsertGuiPair(menu_edit_undo, "&Fortryd"); InsertGuiPair(menu_edit_paste, "&Sжt ind"); InsertGuiPair(menu_edit_copy_result, "&Kopier resultatet"); InsertGuiPair(menu_help_help, "&Hjжlp"); InsertGuiPair(menu_help_project_page, "&Projekt side"); InsertGuiPair(menu_help_about, "&Om"); InsertGuiPair(cant_init_calculations, "Moduelt for uregninger kunne ikke sжttes i gang"); InsertGuiPair(message_box_error_caption,"TTCalc"); InsertGuiPair(cant_create_thread, "Den anden trеd for udregning 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(about_text, "Matematisk lommeregner TTCalc %d.%d.%d%s%s\r\n" "Forfatter: Tomasz Sowa\r\n" "Kontakt: t.sowa@ttmath.org\r\n" "Licens: BSD (open source)\r\n" "Projekt side: http://ttcalc.sourceforge.net\r\n" "Bignum biblotek: TTMath %d.%d.%d%s\r\n" "Programmerings sprog: C++\r\n" "Kompilator: %s\r\n" "%s" // for upx "\r\n" "TTCalc bruger TTMath bignum bibloteket" " som kan findes ved http://sourceforge.net/projects/ttmath\r\n" "\r\n" #ifdef TTCALC_PORTABLE "Dette er den transportable version af programmet TTCalc. I denne version " "kan du kun udregne med йn slags prжcision (96 bits for " "mantissen og 32 bits for exponenten) det er omkring +/-6.9e+646457021.\r\n" "\r\n" #endif "Hvis du har spшrgsmеl, gode rеd eller interessante idйr vedrшrende" " dette program eller hvis du vil tilslutte dig dette projekt som" " en udvikler eller en programmшr er du velkommen til at kontakte forfatteren." ); InsertGuiPair(about_text_portable_version, " transportabel version"); InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n"); InsertGuiPair(about_box_title, "Om"); InsertGuiPair(about_box_button_close, "Luk"); InsertGuiPair(unknown_error, "Der er sket en ukendt fejl"); InsertGuiPair(cant_find_help, "Der kunne ikke findes nogen hjжlp filer"); InsertGuiPair(cant_open_project_page, "Projekt siden kunne ikke еbnes"); /* chinese gui messages */ gui_messages_tab.push_back( std::map() ); InsertGuiPair(button_ok,"И·¶Ё"); InsertGuiPair(button_cancel,"ИЎПы"); InsertGuiPair(message_box_caption,"TTCalc"); InsertGuiPair(dialog_box_add_variable_caption,"МнјУРВ±дБї"); InsertGuiPair(dialog_box_edit_variable_caption,"±ај­±дБї"); InsertGuiPair(dialog_box_add_variable_incorrect_name,"ґнОуµД±дБїГы"); InsertGuiPair(dialog_box_add_variable_incorrect_value,"ґнОуµД±дБїЦµ"); InsertGuiPair(dialog_box_add_variable_variable_exists,"Хвёц±дБїТСѕ­ґжФЪ"); InsertGuiPair(dialog_box_edit_variable_unknown_variable,"±нёсЦРГ»УРґЛ±дБїЎЈїЙДЬКЗДЪІїґнОуЈЎ"); InsertGuiPair(dialog_box_delete_variable_confirm,"ДгИ·¶ЁТЄЙѕіэХвР©±дБїВрЈї"); InsertGuiPair(dialog_box_variable_not_all_deleted,"Т»Р©±дБїІ»ДЬЙѕіэЎЈїЙДЬКЗДЪІїґнОуЈЎ"); InsertGuiPair(dialog_box_add_function_caption,"МнјУРВєЇКэ"); InsertGuiPair(dialog_box_edit_function_caption,"±ај­єЇКэ"); InsertGuiPair(dialog_box_add_function_function_exists,"ХвёцєЇКэТСѕ­ґжФЪ"); InsertGuiPair(dialog_box_edit_function_unknown_function,"±нёсЦРГ»УРґЛєЇКэЎЈїЙДЬКЗДЪІїґнОуЈЎ"); InsertGuiPair(dialog_box_delete_function_confirm,"ДгИ·¶ЁТЄЙѕіэХвР©єЇКэВрЈї"); InsertGuiPair(dialog_box_function_not_all_deleted,"Т»Р©єЇКэІ»ДЬЙѕіэЎЈїЙДЬКЗДЪІїґнОуЈЎ"); InsertGuiPair(dialog_box_add_function_incorrect_name,"ґнОуµДєЇКэГы"); InsertGuiPair(list_variables_header_1,"ГыіЖ"); InsertGuiPair(list_variables_header_2,"Цµ"); InsertGuiPair(list_functions_header_1,"ГыіЖ"); InsertGuiPair(list_functions_header_2,"±аєЕ"); InsertGuiPair(list_functions_header_3,"Цµ"); InsertGuiPair(button_add,"МнјУ"); InsertGuiPair(button_edit,"±ај­"); InsertGuiPair(button_delete,"Йѕіэ"); InsertGuiPair(button_clear,"C"); InsertGuiPair(tab_standard,"±кЧј"); InsertGuiPair(tab_variables,"±дБї"); InsertGuiPair(tab_functions,"єЇКэ"); InsertGuiPair(tab_precision,"ѕ«¶И"); InsertGuiPair(tab_display,"ПФКѕ"); InsertGuiPair(tab_convert,"ЧЄ»»"); InsertGuiPair(radio_precision_1,"РЎ - 96 bits ОІКэ, 32 bits ЦёКэ"); InsertGuiPair(radio_precision_2,"ЦР - 288 bits ОІКэ, 64 bits ЦёКэ"); InsertGuiPair(radio_precision_3,"ґу - 864 bits ОІКэ, 128 bits for ЦёКэ"); InsertGuiPair(precision_1_info,"(+/-)6.9 e+646457021, 26О»УРР§КэЧЦ(К®ЅшЦЖ)"); InsertGuiPair(precision_2_info,"(+/-)3.4e+2776511644261678652, 85О»УРР§КэЧЦ"); InsertGuiPair(precision_3_info,"(+/-)6.7e+51217599719369681875006054625051616609, 258О»УРР§КэЧЦ"); InsertGuiPair(overflow_during_printing,"КдіцК±КэѕЭТзіц"); InsertGuiPair(combo_rounding_none,"ОЮ"); InsertGuiPair(combo_rounding_integer,"ХыКэ"); InsertGuiPair(combo_rounding_to_number,"ЧЄ»»"); InsertGuiPair(combo_rounding_after_comma,"О»Кэ"); InsertGuiPair(check_remove_zeroes,"ИҐµфОІЛжБг"); InsertGuiPair(display_input, "КдИл"); InsertGuiPair(display_output, "Кдіц"); InsertGuiPair(display_rounding, "ЛДЙбОеИл"); InsertGuiPair(display_always_scientific,"Т»Ц±"); InsertGuiPair(display_not_always_scientific,"µ±ЦёКэґуУЪ:"); InsertGuiPair(display_group_scientific, "°ґїЖС§јЖКэ·ЁКдіцЅб№ы"); InsertGuiPair(display_decimal_point, "РЎКэµг"); InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos"); InsertGuiPair(convert_type, "АаРН"); InsertGuiPair(convert_input, "КдИл"); InsertGuiPair(convert_output, "Кдіц"); InsertGuiPair(convert_dynamic_output, "ЧФ¶Ї"); InsertGuiPair(menu_view, "&Ійїґ"); InsertGuiPair(menu_edit, "&±ај­"); InsertGuiPair(menu_help, "&°пЦъ"); InsertGuiPair(menu_language, "&УпСФ"); InsertGuiPair(menu_view_new_window, "&РВґ°їЪ"); InsertGuiPair(menu_view_normal_view, "&ЖХНЁКУНј"); InsertGuiPair(menu_view_compact_view, "&ГФДгКУНј"); InsertGuiPair(menu_view_always_on_top, "&ЧЬФЪЧоЗ°"); InsertGuiPair(menu_view_lang_english, "&УўУп"); InsertGuiPair(menu_view_lang_polish, "&ІЁАјУп"); InsertGuiPair(menu_view_lang_spanish, "&Оч°аСАУп"); InsertGuiPair(menu_view_lang_danish, "&µ¤ВуУп"); InsertGuiPair(menu_view_lang_chinese, "&јтМеЦРОД"); InsertGuiPair(menu_view_lang_russian, "&Russian"); InsertGuiPair(menu_view_close_program, "&№Ш±Х"); InsertGuiPair(menu_edit_undo, "&ИЎПы"); InsertGuiPair(menu_edit_paste, "&ХіМщ"); InsertGuiPair(menu_edit_copy_result, "&ёґЦЖЅб№ы"); InsertGuiPair(menu_help_help, "&°пЦъ"); InsertGuiPair(menu_help_project_page, "&ИнјюЦчТі"); InsertGuiPair(menu_help_about, "&№ШУЪ"); InsertGuiPair(cant_init_calculations, "І»ДЬіхКј»ЇјЖЛгЖчДЈРН"); InsertGuiPair(message_box_error_caption,"TTCalc"); InsertGuiPair(cant_create_thread, "І»ДЬґґЅЁБЅёцПЯіМАґФЛЛг"); InsertGuiPair(cant_create_main_window, "І»ДЬґґЅЁУ¦УГіМРтЦчґ°їЪ"); InsertGuiPair(cant_init_common_controls,"І»ДЬіхКј»ЇНЁУГїШјю(InitCommonControlsEx)"); InsertGuiPair(about_text, "Mathematical calculator TTCalc %d.%d.%d%s%s\r\n" "їЄ·ўИЛ: Tomasz Sowa\r\n" "БЄПµ: t.sowa@ttmath.org\r\n" "РнїЙ: BSD (їЄФґПоДї)\r\n" "ЦчТі: http://ttcalc.sourceforge.net\r\n" "Bignum library: TTMath %d.%d.%d%s\r\n" "Programming language: C++\r\n" "Compiler: %s\r\n" "%s" // for upx "\r\n" "TTCalc uses the TTMath bignum library" " which can be found at http://sourceforge.net/projects/ttmath\r\n" "\r\n" #ifdef TTCALC_PORTABLE "This is the portable version of the program TTCalc. In this version " "you can calculate only with one kind of precision (96 bits for the " "mantissa and 32 bits for the exponent) it's about +/-6.9e+646457021.\r\n" "\r\n" #endif "Из№ыДгУРИОєОґЛИнјюµДОКМвЎўЅЁТйєНУРИ¤µДПл·ЁЈ¬»тХЯДгПл°пЦъТ»ЖрјУИлїЄ·ўИнјюµД»°Ј¬ОТЅ«ЛжК±ИИЗйµД»¶У­ДгГЗЈЎ" ); InsertGuiPair(about_text_portable_version, " portable version"); InsertGuiPair(about_text_exe_packer, "EXE Packer: UPX 3.03\r\n"); InsertGuiPair(about_box_title, "№ШУЪ"); InsertGuiPair(about_box_button_close, "№Ш±Х"); InsertGuiPair(unknown_error, "·ўЙъОґЦЄґнОу"); InsertGuiPair(cant_find_help, "Г»УРХТµЅ°пЦъОДјю"); InsertGuiPair(cant_open_project_page, "І»ДЬґтїЄИнјюЦчТі"); /* russian gui messages */ gui_messages_tab.push_back( std::map() ); InsertGuiPair(button_ok,"Ok"); InsertGuiPair(button_cancel,"Отмена"); InsertGuiPair(message_box_caption,"TTCalc"); InsertGuiPair(dialog_box_add_variable_caption,"Добавить новую переменную"); InsertGuiPair(dialog_box_edit_variable_caption,"Редактировать переменную"); InsertGuiPair(dialog_box_add_variable_incorrect_name,"Неправильное имя переменной"); InsertGuiPair(dialog_box_add_variable_incorrect_value,"Неправильное значение переменной"); InsertGuiPair(dialog_box_add_variable_variable_exists,"Такая переменная уже задана"); InsertGuiPair(dialog_box_edit_variable_unknown_variable,"Такой переменной нет в таблице. Вероятно, внутренняя ошибка!"); InsertGuiPair(dialog_box_delete_variable_confirm,"Удалить эти переменные?"); InsertGuiPair(dialog_box_variable_not_all_deleted,"Некоторые переменные не получилось удалить. Вероятно, внутренняя ошибка!"); InsertGuiPair(dialog_box_add_function_caption,"Добавить новую функцию"); InsertGuiPair(dialog_box_edit_function_caption,"Редактировать новую функцию"); InsertGuiPair(dialog_box_add_function_function_exists,"Такая функция уже задана"); InsertGuiPair(dialog_box_edit_function_unknown_function,"Такой функции нет в таблице. Вероятно, внутренняя ошибка!"); InsertGuiPair(dialog_box_delete_function_confirm,"Удалить эти функции?"); InsertGuiPair(dialog_box_function_not_all_deleted,"Некоторые функции не получилось удалить. Вероятно, внутренняя ошибка!"); InsertGuiPair(dialog_box_add_function_incorrect_name,"Неправильное имя функции"); InsertGuiPair(list_variables_header_1,"Имя"); InsertGuiPair(list_variables_header_2,"Значение"); InsertGuiPair(list_functions_header_1,"Имя"); InsertGuiPair(list_functions_header_2,"Параметры"); InsertGuiPair(list_functions_header_3,"Значение"); InsertGuiPair(button_add,"Добавить"); InsertGuiPair(button_edit,"Правка"); InsertGuiPair(button_delete,"Удалить"); InsertGuiPair(button_clear,"C"); InsertGuiPair(tab_standard,"Стандарт"); InsertGuiPair(tab_variables,"Переменные"); InsertGuiPair(tab_functions,"Функции"); InsertGuiPair(tab_precision,"Точность"); InsertGuiPair(tab_display,"Опции"); InsertGuiPair(tab_convert,"Конвертация"); InsertGuiPair(radio_precision_1,"Малая - 96 бит на мантиссу, 32 бита на показатель степени"); InsertGuiPair(radio_precision_2,"Средняя - 288 бит на мантиссу, 64 бита на показатель степени"); InsertGuiPair(radio_precision_3,"Большая - 864 бит на мантиссу, 128 бита на показатель степени"); InsertGuiPair(precision_1_info,"(+/-)6.9 e+646457021, 26 значащих цифр (десятичных)"); InsertGuiPair(precision_2_info,"(+/-)3.4e+2776511644261678652, 85 значащих цифр"); InsertGuiPair(precision_3_info,"(+/-)6.7e+51217599719369681875006054625051616609, 258 цифр"); InsertGuiPair(overflow_during_printing,"Переполнение при выводе"); InsertGuiPair(combo_rounding_none,"нет"); InsertGuiPair(combo_rounding_integer,"до целого"); InsertGuiPair(combo_rounding_to_number,"до"); InsertGuiPair(combo_rounding_after_comma,"знака"); InsertGuiPair(check_remove_zeroes,"Удалять конц. нулевые байты"); InsertGuiPair(display_input, "Ввод"); InsertGuiPair(display_output, "Вывод"); InsertGuiPair(display_rounding, "Округление"); InsertGuiPair(display_always_scientific,"Всегда"); InsertGuiPair(display_not_always_scientific,"Когда показатель степени больше"); InsertGuiPair(display_group_scientific, "Выводить результат в экспоненциальном виде"); InsertGuiPair(display_decimal_point, "Десятичный знак"); InsertGuiPair(display_deg_rad_grad, "sin/cos asin/acos"); InsertGuiPair(convert_type, "Тип"); InsertGuiPair(convert_input, "Ввод"); InsertGuiPair(convert_output, "Вывод"); InsertGuiPair(convert_dynamic_output, "Автопрефикс"); InsertGuiPair(menu_view, "&Вид"); InsertGuiPair(menu_edit, "&Правка"); InsertGuiPair(menu_help, "П&омощь"); InsertGuiPair(menu_language, "&Язык"); InsertGuiPair(menu_view_new_window, "&Новое окно"); InsertGuiPair(menu_view_normal_view, "&Обычный вид"); InsertGuiPair(menu_view_compact_view, "&Компактный вид"); InsertGuiPair(menu_view_always_on_top, "&Всегда поверх других окон"); InsertGuiPair(menu_view_lang_english, "&Английский"); InsertGuiPair(menu_view_lang_polish, "&Польский"); InsertGuiPair(menu_view_lang_spanish, "&Испанский"); InsertGuiPair(menu_view_lang_danish, "&Датский"); InsertGuiPair(menu_view_lang_chinese, "&Китайский"); InsertGuiPair(menu_view_lang_russian, "&Русский"); InsertGuiPair(menu_view_close_program, "&Закрыть"); InsertGuiPair(menu_edit_undo, "&Отменить действие"); InsertGuiPair(menu_edit_paste, "&Вставить"); InsertGuiPair(menu_edit_copy_result, "&Копировать результат"); InsertGuiPair(menu_help_help, "&Помощь"); InsertGuiPair(menu_help_project_page, "&Сайт проекта"); InsertGuiPair(menu_help_about, "&О программе"); InsertGuiPair(cant_init_calculations, "Не могу инициализировать модуль для расчетов"); InsertGuiPair(message_box_error_caption,"TTCalc"); InsertGuiPair(cant_create_thread, "Не могу создать второй поток для расчетов"); InsertGuiPair(cant_create_main_window, "Не могу открыть главное окно программы"); InsertGuiPair(cant_init_common_controls,"Не могу инициализировать управление (InitCommonControlsEx)"); InsertGuiPair(about_text, "Математический калькулятор TTCalc %d.%d.%d%s%s\r\n" "Автор: Tomasz Sowa\r\n" "e-mail: t.sowa@ttmath.org\r\n" "Лицензия: BSD (open source)\r\n" "Сайт проекта: http://ttcalc.sourceforge.net\r\n" "Библиотека Bignum: TTMath %d.%d.%d%s\r\n" "Язык программирования: C++\r\n" "Компилятор: %s\r\n" "%s" // for upx "\r\n" "TTCalc использует библиотеку сверхбольших чисел TTMath," " которая находится здесь: http://sourceforge.net/projects/ttmath\r\n" "\r\n" #ifdef TTCALC_PORTABLE "Это переносная версия программы. В этой версии можно считать " "только с одной (малой) точностью (96 бит на мантиссу," " 32 бита на показатель степени), то есть +/-6.9e+646457021.\r\n" "\r\n" #endif "Если у Вас есть какие-либо вопросы, пожелания или интересные идеи для" " этой программы, или Вы хотите присоединиться к проекту в качестве" " разработчика или программистa, не стесняйтесь написать автору." ); InsertGuiPair(about_text_portable_version, " переносная версия"); InsertGuiPair(about_text_exe_packer, "упаковщик EXE: UPX 3.03\r\n"); InsertGuiPair(about_box_title, "О программе"); InsertGuiPair(about_box_button_close, "Закрыть"); InsertGuiPair(unknown_error, "Неизвестная ошибка"); InsertGuiPair(cant_find_help, "Не удается найти файлы помощи"); InsertGuiPair(cant_open_project_page, "Не удается открыть сайт проекта"); }