Re: Why compiling.
On Tue, 2012-07-10 at 22:43 +0200, Ralf Mardorf wrote:
> On Tue, 2012-07-10 at 23:28 +0300, Andrei POPESCU wrote:
> > On Ma, 10 iul 12, 21:33:51, Ralf Mardorf wrote:
> > >
> > > I compile software myself for at least three reasons.
> > > 1. In the past I often was a tester for e.g. Qtractor and I plan to do
> > > it in the future again. It also is needed, if you wish to do
> > > translations. Until now I never finished a translation.
> >
> > Do you mean for Qtractor or in general? As far as I know you don't need
> > to compile the software if it uses gettext, you just copy the .mo files
> > where needed.
>
> Qt Linguist can't show text for code that isn't already programmed. So
> when doing a translation you need to compile, each time new text was
> added by the coder. IIRC for Qt Linguist we need to generate some
> file(s) during compiling, I guess it's not possible to get the file(s)
> without compiling.
> I suspect compiling is needed for Qt based software.
PS:
I never finished a translation, hopefully I'll finish a translation this
or next year :S.
##########
You need to tell that there is a new translation:
$
cat /mnt/archlinux/usr/src/qtractor/qtractor-0.5.3.15-de_translation-1.patch
Index: Makefile.in
===================================================================
--- Makefile.in (revision 3006)
+++ Makefile.in (working copy)
@@ -263,10 +263,12 @@
src/qtractor.qrc
translations_sources = \
- src/translations/qtractor_cs.ts
+ src/translations/qtractor_cs.ts \
+ src/translations/qtractor_de.ts
translations_targets = \
- src/translations/qtractor_cs.qm
+ src/translations/qtractor_cs.qm \
+ src/translations/qtractor_de.qm
export datarootdir = @datarootdir@
Index: src/src.pro
===================================================================
--- src/src.pro (revision 3006)
+++ src/src.pro (working copy)
@@ -272,7 +272,8 @@
qtractor.qrc
TRANSLATIONS += \
- translations/qtractor_cs.ts
+ translations/qtractor_cs.ts \
+ translations/qtractor_de.ts
unix {
Index: TRANSLATORS
===================================================================
--- TRANSLATORS (revision 3006)
+++ TRANSLATORS (working copy)
@@ -1,2 +1,5 @@
Czech (cs)
Pavel Fric <pavelfric@seznam.cz>
+
+German (de)
+ Ralf Mardorf <ralf.mardorf@alice-dsl.net>
##########
The files are *.ts files
$ ls /mnt/archlinux/usr/src/qtractor_*
/mnt/archlinux/usr/src/qtractor_de.ts.bak-00001 /mnt/archlinux/usr/src/qtractor_de.ts.bak-empty
/mnt/archlinux/usr/src/qtractor_de.ts.bak-00002
Reply to: