Status & Roadmap
Authors & License
Funding Ultimate++
Search on this site
Search in forums

SourceForge.net Logo
Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » Code that needs to be internationalized
Code that needs to be internationalized [message #4123] Sun, 23 July 2006 19:44
rbmatt is currently offline  rbmatt
Messages: 90
Registered: July 2006
Location: Tennesse, USA

I found some code that produces error messages in Czech. These should have the t_("English version") syntax.

10: CtrlLayoutCancel(r, "Chyba při práci s databází"); => CtrlLayoutCancel(r, t_("Error with database"));
63: SqlError(msg ? msg : "Při provádění operace do¨lo k chybě", => not quite sure here
77:if(!ShowError(session, msg ? msg : "Při provádění operace do¨lo k chybě.\nOperace je stornována."))

Searching in all files for "Chyba" (error) results in:
C:\upp\uppsrc\Core\Util.cpp(737): MessageBox(GetActiveWindow(), *this, "Chyba", MB_OK);
C:\upp\uppsrc\Geom\Ctrl\pathCtrl.cpp(1235): PromptOK("Chyba pi zsu do schry.");
C:\upp\uppsrc\Geom\Ctrl\pathCtrl.cpp(1251): PromptOK("Chyba pi zsu do schry.");
C:\upp\uppsrc\Geom\Ctrl\pathCtrl.cpp(1264): PromptOK("Chyba pi zsu do schry.");
C:\upp\uppsrc\Geom\Ctrl\pathCtrl.cpp(2145): PromptOK("Chyba pi zsu do souboru .");
C:\upp\uppsrc\Geom\Ctrl\pathCtrl.cpp(2176): PromptOK("Chyba pi importu souboru : \1" + e + "\1.");
C:\upp\uppsrc\ide\IconDes\DlgImage.cpp(1130): Exclamation(NFormat("Chyba p?i z??pisu do souboru .", recent_export));
C:\upp\uppsrc\SqlCtrl\SqlDlg.cpp(10): //CtrlLayoutCancel(r, "Chyba pi pr s datab"); //
C:\upp\uppsrc\TCore\datafile.cpp(1091): throw ObjectExc("Chyba pi nouboru '" + filename + "'.");
C:\upp\uppsrc\TCore\datafile.cpp(1096): throw ObjectExc("Chyba pi zsu do souboru '" + filename + "'.");
C:\upp\uppsrc\TCore\help.cpp(153): out = NFormat("Chyba: ", e);
C:\upp\uppsrc\TCore\help.cpp(172): out = NFormat("Chyba: \n\nVytvoen textu:\n%s", e, out);
C:\upp\uppsrc\TCtrlLib\Help\DlgHelp.cpp(834): if(!PromptOKCancel(NFormat("Chyba v souboru :\n\nPokraat?", fsel, e)))
C:\upp\uppsrc\TCtrlLib\Help\DlgHelpEdit.cpp(1134): Exclamation(NFormat("Chyba v souboru : %s", ~fsel, e));
C:\upp\uppsrc\Web\smtp.cpp(65): throw Exc("Chyba pi zsu dat do socketu: komunika kanbyl uzaven.");
C:\upp\uppsrc\Web\smtp.cpp(68): throw Exc(str << "Chyba pi zsu dat do socketu, kd chyby: " << err);
C:\upp\uppsrc\Web\smtp.cpp(108): throw Exc("Chyba pi nat ze socketu: komunika kanbyl uzaven.");
C:\upp\uppsrc\Web\smtp.cpp(111): throw Exc(str << "Chyba pi nat ze socketu, kd chyby: " << err);
C:\upp\uppsrc\Web\TServ\tserv.cpp(737): puts("Chyba: " + e);

Then "pi" gives, in addition:
"C:\upp\uppsrc\Geom\Ctrl\pathCtrl.cpp(2264): "nu se pi vykreslov y zad jeta y "
C:\upp\uppsrc\Geom\Ctrl\pathCtrl.hpp(6): "kter se pou jako odkaz na styl y. Kromu se pi \r\n"
C:\upp\uppsrc\Oracle\Oci7.cpp(748): SetError("Nelze spustit knihovnu OCI7 pro pipojen datab Oracle.",
C:\upp\uppsrc\TCore\CalcBasic.hpp(695): "v pdhybn zsu la ohl pi vyhodnocenhybu; \r\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(775): "[ [/A@0+84 po mc][/A@0+84 po let]]\r\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(978): "s chybou ]]\r\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(1225): "bit la se pi posuvu kopje do ni bit, nejniity \r\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(1310): "ze vech el, kterze zat pinnebo odenceloeln \r\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(1335): "[ [A@0+84 Eulerova konstanta ure zad exponenci a_pirozen \r\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(1336): "logaritmu. Je piblinovna 2.718281828.]]\r\n")
C:\upp\uppsrc\TCore\CalcBasic.hpp(1425): "elnodnoty s pipojenm podstatnm jmm. V eti podstatn \r\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(1731): "[ [A@0+84 Funkce stanovosinus hlu, tedy poddy pilehlr\n"
C:\upp\uppsrc\TCore\CalcBasic.hpp(1754): "[ [A@0+84 Tangens hlu je poddy protilehl_pilehldvy \r\n"
C:\upp\uppsrc\TCore\datafile.cpp(536): << ">: nesouhlas ID pi zsu do datov souboru";
C:\upp\uppsrc\TCore\datafile.cpp(607): << ">: nesouhlas ID pi maz objektu";

If I knew Czech, I would be glad to fix it... but I have no clue what most of this says.
Previous Topic: Translation Problems (German)
Next Topic: some non-english characters don't display
Goto Forum:

Current Time: Sun May 31 23:12:03 CEST 2020

Total time taken to generate the page: 0.01185 seconds