From d4626cc76127b7022c8555ea11afbb289714c851 Mon Sep 17 00:00:00 2001 From: davipt Date: Fri, 28 Jun 2002 13:36:05 +0000 Subject: Fix bug #9 except that we need something else to translate keyboard names. --- (limited to 'inputmethods') diff --git a/inputmethods/dvorak/dvorakimpl.cpp b/inputmethods/dvorak/dvorakimpl.cpp index 5b83b8f..d58b6b9 100644 --- a/inputmethods/dvorak/dvorakimpl.cpp +++ b/inputmethods/dvorak/dvorakimpl.cpp @@ -100,8 +100,8 @@ QPixmap *KeyboardImpl::icon() QString KeyboardImpl::name() { - return qApp->translate( "InputMethods", "Dvorak" ); -// return qApp->translate( "InputMethods", "Opti" ); + // return qApp->translate( "InputMethods", "Dvorak" ); + return "Dvorak"; } void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) diff --git a/inputmethods/handwriting/handwritingimpl.cpp b/inputmethods/handwriting/handwritingimpl.cpp index c39e1aa..0ea140c 100644 --- a/inputmethods/handwriting/handwritingimpl.cpp +++ b/inputmethods/handwriting/handwritingimpl.cpp @@ -83,7 +83,8 @@ QPixmap *HandwritingImpl::icon() QString HandwritingImpl::name() { - return qApp->translate( "InputMethods", "Handwriting" ); + // return qApp->translate( "InputMethods", "Handwriting" ); + return "Handwriting"; } void HandwritingImpl::onKeyPress( QObject *receiver, const char *slot ) diff --git a/inputmethods/jumpx/keyboardimpl.cpp b/inputmethods/jumpx/keyboardimpl.cpp index 92abb09..004f0b0 100644 --- a/inputmethods/jumpx/keyboardimpl.cpp +++ b/inputmethods/jumpx/keyboardimpl.cpp @@ -67,7 +67,8 @@ QPixmap *KeyboardImpl::icon() QString KeyboardImpl::name() { - return qApp->translate( "InputMethods", "JumpX" ); + // return qApp->translate( "InputMethods", "JumpX" ); + return "JumpX"; } void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) diff --git a/inputmethods/keyboard/keyboardimpl.cpp b/inputmethods/keyboard/keyboardimpl.cpp index ea61272..56e6870 100644 --- a/inputmethods/keyboard/keyboardimpl.cpp +++ b/inputmethods/keyboard/keyboardimpl.cpp @@ -100,8 +100,8 @@ QPixmap *KeyboardImpl::icon() QString KeyboardImpl::name() { - return qApp->translate( "InputMethods", "Keyboard" ); -// return qApp->translate( "InputMethods", "Opti" ); + // return qApp->translate( "InputMethods", "Keyboard" ); + return "Keyboard"; } void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) diff --git a/inputmethods/kjumpx/keyboardimpl.cpp b/inputmethods/kjumpx/keyboardimpl.cpp index 5d8e0d3..dbae2b4 100644 --- a/inputmethods/kjumpx/keyboardimpl.cpp +++ b/inputmethods/kjumpx/keyboardimpl.cpp @@ -67,7 +67,8 @@ QPixmap *KeyboardImpl::icon() QString KeyboardImpl::name() { - return qApp->translate( "InputMethods", "KJumpX" ); + // return qApp->translate( "InputMethods", "KJumpX" ); + return "KJumpX"; } void KeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) diff --git a/inputmethods/pickboard/pickboardimpl.cpp b/inputmethods/pickboard/pickboardimpl.cpp index a4e8f02..617acff 100644 --- a/inputmethods/pickboard/pickboardimpl.cpp +++ b/inputmethods/pickboard/pickboardimpl.cpp @@ -70,7 +70,8 @@ QPixmap *PickboardImpl::icon() QString PickboardImpl::name() { - return qApp->translate( "InputMethods", "Pickboard" ); + // return qApp->translate( "InputMethods", "Pickboard" ); + return "Pickboard"; } void PickboardImpl::onKeyPress( QObject *receiver, const char *slot ) diff --git a/inputmethods/unikeyboard/unikeyboardimpl.cpp b/inputmethods/unikeyboard/unikeyboardimpl.cpp index fe601e0..aa05b31 100644 --- a/inputmethods/unikeyboard/unikeyboardimpl.cpp +++ b/inputmethods/unikeyboard/unikeyboardimpl.cpp @@ -75,7 +75,8 @@ QPixmap *UniKeyboardImpl::icon() QString UniKeyboardImpl::name() { - return qApp->translate( "InputMethods", "Unicode" ); + // return qApp->translate( "InputMethods", "Unicode" ); + return "Unicode"; } void UniKeyboardImpl::onKeyPress( QObject *receiver, const char *slot ) -- cgit v0.9.0.2