From 787557590a9c6139cededb4785607fa2524e3bd4 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Sun, 18 Oct 2009 12:40:29 +0000 Subject: [PATCH] added: translations for ttmath::err_percent_from git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@218 e52654a7-88a9-db11-a3e9-0013d4bc506e --- CHANGELOG | 7 +++++-- src/Makefileportable | 2 +- src/languages.cpp | 8 +++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 4744fe9..1a8d766 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,10 +1,13 @@ -Version 0.9.0 prerelease (2009.09.17): +Version 0.9.0 prerelease (2009.10.18): * added: Pad window - a multiline edit window - * added: Checking for update + * added: Checking for update dialog box * changed: precision: Medium - 512 mantissa, 64 exponent Big - 1024 mantissa, 128 exponent + Changes from TTMath 0.9.0 prerelease relating to TTCalc: + * added: operator percentage + e.g. 1000-50%=1000-(1000*0,5)=500 Version 0.8.7 prerelease (2009.09.16): * added: new language: Swedish diff --git a/src/Makefileportable b/src/Makefileportable index f876c0c..8d03f7b 100644 --- a/src/Makefileportable +++ b/src/Makefileportable @@ -8,7 +8,7 @@ all: ttcalc include Makefile.dep ttcalc: $(o) - $(CC) -o $(name) $(CFLAGS) $(o) -lcomctl32 + $(CC) -o $(name) $(CFLAGS) $(o) -lcomctl32 -lwininet $(compressor) -7 $(name) resource.o: resource.rc diff --git a/src/languages.cpp b/src/languages.cpp index 31e1fd8..9d7f4c0 100644 --- a/src/languages.cpp +++ b/src/languages.cpp @@ -109,7 +109,7 @@ void Languages::InitErrorMessagesTab() 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"); + InsertErrorPair(ttmath::err_percent_from,"Incorrectly used percentage operator"); @@ -143,6 +143,7 @@ void Languages::InitErrorMessagesTab() 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_percent_from,"Nieprawid³owo u¿yty operator procentu"); /* @@ -175,6 +176,7 @@ void Languages::InitErrorMessagesTab() 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_percent_from,"Incorrectly used percentage operator"); /* @@ -206,6 +208,7 @@ void Languages::InitErrorMessagesTab() 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_percent_from,"Incorrectly used percentage operator"); /* @@ -237,6 +240,7 @@ void Languages::InitErrorMessagesTab() InsertErrorPair(ttmath::err_functions_loop,"º¯ÊýÑ­»·"); InsertErrorPair(ttmath::err_must_be_only_one_value,"±äÁ¿»òº¯Êý±ØÐëÓзµ»ØÖµ"); InsertErrorPair(ttmath::err_still_calculating,"ÕýÔÚ¼ÆËã..."); + InsertErrorPair(ttmath::err_percent_from,"Incorrectly used percentage operator"); /* @@ -268,6 +272,7 @@ void Languages::InitErrorMessagesTab() InsertErrorPair(ttmath::err_functions_loop,"Ôóíêöèè ðåêóððåíòíû"); InsertErrorPair(ttmath::err_must_be_only_one_value,"Ïåðåìåííûå èëè ôóíêöèè äîëæíû âîçâðàùàòü òîëüêî îäíî çíà÷åíèå"); InsertErrorPair(ttmath::err_still_calculating,"Ïîäñ÷èòûâàåì..."); + InsertErrorPair(ttmath::err_percent_from,"Incorrectly used percentage operator"); /* @@ -299,6 +304,7 @@ void Languages::InitErrorMessagesTab() InsertErrorPair(ttmath::err_functions_loop,"Det är en upprepning mellan funktioner"); InsertErrorPair(ttmath::err_must_be_only_one_value,"Variabler eller funktioner skall kunna avge ett värde"); InsertErrorPair(ttmath::err_still_calculating,"Räknar bävrar..."); + InsertErrorPair(ttmath::err_percent_from,"Incorrectly used percentage operator"); }