extract the messages of each generator into an own pot: this way it's easier to translate a single backend (or provide the translation for a custom one), but as drawback some strings are repeated in more than one pot
svn path=/trunk/playground/graphics/okular/; revision=641620remotes/origin/KDE/4.0
parent
49c2a80585
commit
88006a575b
11 changed files with 22 additions and 2 deletions
@ -1,4 +1,4 @@ |
||||
#!/bin/sh |
||||
$EXTRACTRC *.rc */*.rc >> rc.cpp || exit 11 |
||||
$EXTRACTRC $(find . -name "*.ui") >> rc.cpp || exit 12 |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular.pot |
||||
$EXTRACTRC $(find conf/ -name "*.ui") $(find core/ -name "*.ui") $(find ui/ -name "*.ui") $(ls . | grep -E '\.ui') >> rc.cpp || exit 12 |
||||
$XGETTEXT $(find conf/ -name "*.cpp" -o -name "*.h") $(find core/ -name "*.cpp" -o -name "*.h") $(find ui/ -name "*.cpp" -o -name "*.h") $(find shell/ -name "*.cpp" -o -name "*.h") $(ls . | grep -E '\.cpp$') $(ls . | grep -E '\.h$') -o $podir/okular.pot |
||||
|
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_chm.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_djvu.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_dvi.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_fictionbook.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_ghostview.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_kimgio.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_ooo.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_poppler.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_tiff.pot |
||||
@ -0,0 +1,2 @@ |
||||
#!/bin/sh |
||||
$XGETTEXT $(find . -name "*.cpp" -o -name "*.h") -o $podir/okular_xps.pot |
||||
Loading…
Reference in new issue