diff options
| author | Peter Penz <[email protected]> | 2009-06-20 11:45:34 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-06-20 11:45:34 +0000 |
| commit | 0a1048a445616b9c1347e2ed2fd15ed0f45e09df (patch) | |
| tree | eac5b6a658263ad979b0ec006d55b41593bd4338 /src/panels/information/informationpanel.h | |
| parent | 35a0eca331f475e2751614f782c2710fc93cfebd (diff) | |
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)
svn path=/trunk/KDE/kdebase/apps/; revision=984190
Diffstat (limited to 'src/panels/information/informationpanel.h')
| -rw-r--r-- | src/panels/information/informationpanel.h | 7 |
1 files changed, 7 insertions, 0 deletions
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: |
