diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-28 22:14:00 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-28 22:14:00 -0500 |
commit | 080749068be90f242a86018e44fcccd1c4706f2d (patch) | |
tree | e792488f9c527d48c1a76cde784b655c736896a8 /tdecore | |
parent | 41d5228071533bcfb16d9c4d26b6c2f3e81d2dff (diff) | |
download | tdelibs-080749068be90f242a86018e44fcccd1c4706f2d.tar.gz tdelibs-080749068be90f242a86018e44fcccd1c4706f2d.zip |
Fix accidental i18n breakage
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/kkeyserver_x11.cpp | 2 | ||||
-rw-r--r-- | tdecore/tests/klocaletest.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/kkeyserver_x11.cpp b/tdecore/kkeyserver_x11.cpp index 283c87ce6..e07613607 100644 --- a/tdecore/kkeyserver_x11.cpp +++ b/tdecore/kkeyserver_x11.cpp @@ -530,7 +530,7 @@ TQString Sym::toString( bool bUserSpace ) const s = XKeysymToString( m_sym ); #endif capitalizeKeyname( s ); - return bUserSpace ? i18n(TQACCEL_OBJECT_NAME_STRING, s.latin1()) : s; + return bUserSpace ? i18n("TQAccel", s.latin1()) : s; } TQString Sym::toStringInternal() const { return toString( false ); } diff --git a/tdecore/tests/klocaletest.cpp b/tdecore/tests/klocaletest.cpp index 36f301d6c..2b02c22a4 100644 --- a/tdecore/tests/klocaletest.cpp +++ b/tdecore/tests/klocaletest.cpp @@ -182,11 +182,11 @@ int main( int argc, char ** argv ) kdDebug() << "setLanguage C\n"; TDEGlobal::locale()->setLanguage(TQString::fromLatin1("C")); - kdDebug() << "C: " << i18n("yes") << " " << i18n(TQACCEL_OBJECT_NAME_STRING, "Space") << endl; + kdDebug() << "C: " << i18n("yes") << " " << i18n("TQAccel", "Space") << endl; kdDebug() << "setLanguage de\n"; TDEGlobal::locale()->setLanguage(TQString::fromLatin1("de")); - kdDebug() << "de: " << i18n("yes") << " " << i18n(TQACCEL_OBJECT_NAME_STRING, "Space") << endl; + kdDebug() << "de: " << i18n("yes") << " " << i18n("TQAccel", "Space") << endl; Test m; |