From 0a1048a445616b9c1347e2ed2fd15ed0f45e09df Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 20 Jun 2009 11:45:34 +0000 Subject: We won't get translated labels for Nepomuk literals in KDE 4.3.0... At least assure that camelcase labels like "fileLocation:" are replaced by "File location:" (thanks to Sebastian TrĂ¼g for the code) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/KDE/kdebase/apps/; revision=984190 --- src/panels/information/informationpanel.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/panels/information/informationpanel.h') diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index 46f080507..76af6a66a 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -194,6 +194,13 @@ private: void updatePhononWidget(); + /** + * Temporary helper method for KDE 4.3 as we currently don't get + * translated labels for Nepmok literals: Replaces camelcase labels + * like "fileLocation" by "File Location:". + */ + QString tunedLabel(const QString& label) const; + void init(); private: -- cgit v1.3