Revision 1194866

Go back to digest for 14th November 2010

Other in KDE Base

John Layt committed changes in /trunk/KDE/kdelibs/kdecore:

Improve the new installed languages api after discussion with dfaure

Change name from allLanguagesInstalledList() to a more natural
installedLanguages(). Oh the indignity of having one's English corrected by
a Frenchman :-)

Move the en_US entry.desktop file from kdebase/kcontrol/locale/default to a
more logical and obvious kdelibs/kdecore/localization. This means the revised
unit test will also always work. Move the all_languages.desktop there as well.

The kdebase delete will follow shortly.

And while I'm there, fix the problem steveire found with KLocale constructor
being too fussy about the case of the country code and lack of documentation
for it.

File Changes

Added 2 files
  • /trunk/KDE/kdelibs/kdecore/localization
  •   /all_languages.desktop
  •   /entry.desktop
Deleted 1 files
  • /trunk/KDE/kdelibs/kdecore/all_languages.desktop
Modified 6 files
  • /trunk/KDE/kdelibs/kdecore
  •   /CMakeLists.txt
  •   /localization/klocale.cpp
  •   /localization/klocale.h
  •   /localization/klocale_kde.cpp
  •   /localization/klocale_p.h
  •   /tests/klocaletest.cpp
9 files changed in total