[prev in list] [next in list] [prev in thread] [next in thread] 

List:       licq-cvs
Subject:    [Licq-cvs] r4465 - trunk/qt-gui/po
From:       erijo () users ! sourceforge ! net
Date:       2006-06-30 14:37:31
Message-ID: 20060630143731.4248.qmail () mail ! thejon ! org
[Download RAW message or body]

Author: erijo
Date: 2006-06-30 23:37:31 +0900 (Fri, 30 Jun 2006)
New Revision: 4465

Modified:
   trunk/qt-gui/po/Makefile.am
   trunk/qt-gui/po/README.LOCALE
Log:
Updated the Makefile a bit to make it possible to do make <lang>.qm


Modified: trunk/qt-gui/po/Makefile.am
===================================================================
--- trunk/qt-gui/po/Makefile.am	2006-06-30 13:43:16 UTC (rev 4464)
+++ trunk/qt-gui/po/Makefile.am	2006-06-30 14:37:31 UTC (rev 4465)
@@ -1,12 +1,11 @@
 localedir = $(prefix)/share/licq/qt-gui/locale
 
-$(top_builddir)/po/%.qm: $(top_srcdir)/po/%.ts
+%.qm: $(top_srcdir)/po/%.ts
 	$(QT_LRELEASE) $< -qm $@
 
-# The magic below transforms:
-# $(top_srcdir)/po/*.ts => $(top_builddir)/po/*.qm
-# forcing all ts-files in the po dir to be compiled into qm-files.
-all-local: $(patsubst %.ts, $(top_builddir)/po/%.qm, $(notdir $(wildcard $(top_srcdir)/po/*.ts)))
+# The row below transforms $(top_srcdir)/po/*.ts into *.qm
+# forcing all .ts files in the po dir to be compiled into .qm files.
+all-local: $(addsuffix .qm, $(basename $(notdir $(wildcard $(top_srcdir)/po/*.ts))))
 
 clean-local:
 	-rm -f $(top_builddir)/po/*.qm

Modified: trunk/qt-gui/po/README.LOCALE
===================================================================
--- trunk/qt-gui/po/README.LOCALE	2006-06-30 13:43:16 UTC (rev 4464)
+++ trunk/qt-gui/po/README.LOCALE	2006-06-30 14:37:31 UTC (rev 4465)
@@ -42,11 +42,14 @@
 Once the .ts file has been created and translated, it must be converted into
 a Qt .qm file. This is done using the program lrelease (it comes with your
 Qt-3.x installation), which can be invoked by using "lrelease <lang>.ts"
-assuming <lang>.ts exists.
+or "make <lang>.qm" assuming <lang>.ts exists.
 
-You can convert all .ts files in the po directory by simply doing
-"cd po && make".
+You can convert all .ts files in the po directory by simply doing "make".
 
+To get statistics about finished, unfinished and untranslated messages run
+"make <lang>.qm QT_LRELEASE='lrelease -verbose'" or just 
+"make QT_LRELEASE='lrelease -verbose'"
+
 Once you have the .qm file, simply copy it to
 <licq prefix>/share/licq/qt-gui/locale/<lang>.qm or do "cd po && make install"
 to install all translations.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic