]> git.lyx.org Git - features.git/commitdiff
* src/frontends/qt4/qt_helpers.C:
authorMichael Schmitt <michael.schmitt@teststep.org>
Tue, 7 Nov 2006 18:09:55 +0000 (18:09 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Tue, 7 Nov 2006 18:09:55 +0000 (18:09 +0000)
* src/frontends/qt4/qt_helpers.h:
* src/frontends/qt4/ui/Makefile.am:
* Status.15x:
* development/scons/qt4.py: fix localization for qt4 strings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15786 a592a061-630c-0410-9148-cb99ea01b6c8

Status.15x
development/scons/qt4.py
src/frontends/qt4/qt_helpers.C
src/frontends/qt4/qt_helpers.h
src/frontends/qt4/ui/Makefile.am

index d76ce6e8dfa3314ad3bf1e92bad259dcf40ee5d2..1ea8141a6b54d0ea3c7ac47721239b3e00fdabd3 100644 (file)
@@ -127,8 +127,6 @@ MENUS
 
 * Some English menu items don't have a '&' character. (box, date, paste...)
 
-* All label and button texts in the Qt4 dialogs are not translated.
-
 * Special handling of [[...]] in text messages is disabled in messages.C
 
 
@@ -295,3 +293,7 @@ CREDITS:
 
   WONTFIX: This happens with qt >= 4.2 only, it does not happen with 4.1.4/4.1.5!
   (or maybe try to add an updateGeonetry() call somewhere as well; JSpitzm).
+
+* All label and button texts in the Qt4 dialogs are not translated.
+
+  FIXED (MGerz 2006-11-07)
index 05136f4971316909b0398eafbf79669c9fdd185a..99bda3ce6b8a762572eba39eb0834e908202a24d 100644 (file)
@@ -262,7 +262,7 @@ def generate(env):
        #env['QT4_UIC4COM'] = [
        #       CLVar('$QT4_UIC $QT4_UICDECLFLAGS -o ${TARGETS[0]} $SOURCE'),
        #       ]
-       env['QT4_UIC4COM'] = '$QT4_UIC -o $TARGET $SOURCE'
+       env['QT4_UIC4COM'] = '$QT4_UIC -tr lyx::qt_ -o $TARGET $SOURCE'
        uic4builder = Builder(
                action='$QT4_UIC4COM',
                src_suffix='$QT4_UISUFFIX',
index 56c20699b682ea5b305ded172c81aa27fd6d45e9..b1dfd2c62de119f05111aa3bfce381e7e0fd1415 100644 (file)
@@ -155,7 +155,7 @@ void qstring_to_ucs4(QString const & qstr, vector<char_type> & ucs4)
 }
 
 
-QString const qt_(char const * str)
+QString const qt_(char const * str, const char *)
 {
        return toqstr(_(str));
 }
index 57c68f285a6e56878098849602afd226c523aba4..29a3fbfaee527761b4f8190de6f8dbf993d69e8f 100644 (file)
@@ -104,7 +104,7 @@ void qstring_to_ucs4(QString const & qstr, std::vector<char_type> & ucs4);
  *
  * Use this in qt4/ instead of qt_()
  */
-QString const qt_(char const * str);
+QString const qt_(char const * str, const char * comment);
 
 
 /**
index fd99ac0e679fb5d32a1141808344af10ee452ffb..1dc55f0dc0fb41a26bf2459fe2a18ad2aecddafc 100644 (file)
@@ -8,7 +8,7 @@ EXTRA_DIST = $(UIFILES)
 BUILT_SOURCES = $(UIFILES:.ui=.h)
 
 # Use _() for localization instead of tr() or trUtf8()
-UICFLAGS=-tr qt_
+UIC4FLAGS=-tr lyx::qt_
 
 %.h: %.ui
        $(UIC4) $(UIC4FLAGS) $< -o $@