[PATCH] kcolordialog

Jaroslaw Staniek js at iidea.pl
Sun Apr 24 01:12:37 BST 2005


> If you put the first letter in uppercase translations are going to fail. IIRC 
> translations are generated from strings inside rgb.txt, so if you grab the 
> rgb.txt name, change the first letter to uppercase and then do the i18n(), 
> the name is not translated anymore, you should better do the uppercasing 
> after the i18n, no?

Right, I've done it now...

         if (!colorName.isEmpty())
            colorName[0] = colorName[0].upper();



-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska / Kexi Team
  http://www.openoffice.com.pl  |  http://www.kexi-project.org
  KDElibs/Windows: http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32




More information about the kde-core-devel mailing list