diff options
Diffstat (limited to 'po')
-rw-r--r-- | po/CMakeLists.txt | 38 | ||||
-rw-r--r-- | po/ca/rosegarden.po (renamed from po/ca.po) | 0 | ||||
-rw-r--r-- | po/cs/rosegarden.po (renamed from po/cs.po) | 0 | ||||
-rw-r--r-- | po/cy/rosegarden.po (renamed from po/cy.po) | 0 | ||||
-rw-r--r-- | po/de/rosegarden.po (renamed from po/de.po) | 0 | ||||
-rw-r--r-- | po/en/rosegarden.po (renamed from po/en.po) | 0 | ||||
-rw-r--r-- | po/en_GB/rosegarden.po (renamed from po/en_GB.po) | 0 | ||||
-rw-r--r-- | po/es/rosegarden.po (renamed from po/es.po) | 0 | ||||
-rw-r--r-- | po/et/rosegarden.po (renamed from po/et.po) | 0 | ||||
-rw-r--r-- | po/eu/rosegarden.po (renamed from po/eu.po) | 0 | ||||
-rw-r--r-- | po/fi/rosegarden.po (renamed from po/fi.po) | 0 | ||||
-rw-r--r-- | po/fr/rosegarden.po (renamed from po/fr.po) | 0 | ||||
-rw-r--r-- | po/it/rosegarden.po (renamed from po/it.po) | 0 | ||||
-rw-r--r-- | po/ja/rosegarden.po (renamed from po/ja.po) | 0 | ||||
-rwxr-xr-x | po/messages.sh | 101 | ||||
-rw-r--r-- | po/nl/rosegarden.po (renamed from po/nl.po) | 0 | ||||
-rw-r--r-- | po/pl/rosegarden.po (renamed from po/pl.po) | 0 | ||||
-rw-r--r-- | po/ru/rosegarden.po (renamed from po/ru.po) | 0 | ||||
-rw-r--r-- | po/sv/rosegarden.po (renamed from po/sv.po) | 0 | ||||
-rwxr-xr-x | po/xgettext | bin | 203776 -> 0 bytes | |||
-rw-r--r-- | po/zh_CN/rosegarden.po (renamed from po/zh_CN.po) | 0 |
21 files changed, 15 insertions, 124 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index a653d59..c752e63 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1,25 +1,17 @@ +################################################# +# +# (C) 2011 Timothy Pearson +# kb9vqf (AT) pearsoncomputing.net +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# -# Automatic discovery of sources -FILE(GLOB PO_FILES *.po) +file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} rosegarden.po ) -# DISABLED: explicit set of source files -# SET(PO_FILES -# ca.po -# cs.po -# cy.po -# de.po -# en_GB.po -# en.po -# es.po -# et.po -# fi.po -# fr.po -# it.po -# ja.po -# nl.po -# ru.po -# sv.po -# zh_CN.po -# ) - -ADD_TRANSLATIONS(rosegarden ${PO_FILES}) +foreach( _po ${po_files} ) + get_filename_component( _lang ${_po} PATH ) + tde_create_translation( FILES ${_po} LANG ${_lang} ) +endforeach( ) diff --git a/po/ca.po b/po/ca/rosegarden.po index ff5da9d..ff5da9d 100644 --- a/po/ca.po +++ b/po/ca/rosegarden.po diff --git a/po/cs.po b/po/cs/rosegarden.po index e38ddae..e38ddae 100644 --- a/po/cs.po +++ b/po/cs/rosegarden.po diff --git a/po/cy.po b/po/cy/rosegarden.po index 0ab44b3..0ab44b3 100644 --- a/po/cy.po +++ b/po/cy/rosegarden.po diff --git a/po/de.po b/po/de/rosegarden.po index 911e4f6..911e4f6 100644 --- a/po/de.po +++ b/po/de/rosegarden.po diff --git a/po/en.po b/po/en/rosegarden.po index 8c5523a..8c5523a 100644 --- a/po/en.po +++ b/po/en/rosegarden.po diff --git a/po/en_GB.po b/po/en_GB/rosegarden.po index 925a031..925a031 100644 --- a/po/en_GB.po +++ b/po/en_GB/rosegarden.po diff --git a/po/es.po b/po/es/rosegarden.po index 810c8b0..810c8b0 100644 --- a/po/es.po +++ b/po/es/rosegarden.po diff --git a/po/et.po b/po/et/rosegarden.po index 60ef0df..60ef0df 100644 --- a/po/et.po +++ b/po/et/rosegarden.po diff --git a/po/eu.po b/po/eu/rosegarden.po index be24229..be24229 100644 --- a/po/eu.po +++ b/po/eu/rosegarden.po diff --git a/po/fi.po b/po/fi/rosegarden.po index 0118aa6..0118aa6 100644 --- a/po/fi.po +++ b/po/fi/rosegarden.po diff --git a/po/fr.po b/po/fr/rosegarden.po index 9d78f45..9d78f45 100644 --- a/po/fr.po +++ b/po/fr/rosegarden.po diff --git a/po/it.po b/po/it/rosegarden.po index 864e20f..864e20f 100644 --- a/po/it.po +++ b/po/it/rosegarden.po diff --git a/po/ja.po b/po/ja/rosegarden.po index 295e740..295e740 100644 --- a/po/ja.po +++ b/po/ja/rosegarden.po diff --git a/po/messages.sh b/po/messages.sh deleted file mode 100755 index 51bbd88..0000000 --- a/po/messages.sh +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/bash - -# Based on KDE messages.sh by Thomas Nagy -# Inspired by Makefile.common from coolo -# This script is used to update the .po files. - -# To update the translations, you will need a specific gettext -# patched for kde and a lot of patience, tenacity, luck, time .. - -# I guess one should only update the .po files when all .cpp files -# are generated (after a make or scons) - -if [ -z "$KDE_GETTEXT_BIN" ]; then - if [ -f ./xgettext ] && ./xgettext --help 2>&1 | grep -q extract; then - KDE_GETTEXT_BIN=. - elif [ -d /opt/gettext-kde/bin ]; then - KDE_GETTEXT_BIN=/opt/gettext-kde/bin - fi -fi -if [ ! -d "$KDE_GETTEXT_BIN" ]; then - echo 1>&2 - echo "WARNING: Environment variable KDE_GETTEXT_BIN must be set" 1>&2 - echo "such that the KDE patched version of gettext is found in " 1>&2 - echo "KDE_GETTEXT_BIN/." 1>&2 - echo 1>&2 - echo "Falling back to default gettext, but plural translations " 1>&2 - echo "will probably be wrong." 1>&2 - echo 1>&2 - echo "See ftp://ftp.kde.org/devel/gettext-kde/ for the patched gettext." 1>&2 - echo 1>&2 -else - KDE_GETTEXT_PATH=${KDE_GETTEXT_BIN}/ -fi - -SRCDIR=../src # srcdir is the directory containing the source code -TIPSDIR=../docs/en # tipsdir is the directory containing the tips -DATADIR=../data # datadir is the directory containing fonts/mappings & styles - -KDEDIR=`kde-config --prefix` -EXTRACTRC=extractrc # from tdesdk-scripts (on Debian Sarge) -KDEPOT=$KDEDIR/include/kde.pot -if [ ! -f "$KDEPOT" ] && [ -f /usr/include/kde/kde.pot ]; then - KDEPOT=/usr/include/kde/kde.pot -fi -XGETTEXT="${KDE_GETTEXT_PATH}xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x $KDEPOT " - -## check that kde.pot is available -if ! test -e $KDEPOT; then - echo "$KDEPOT does not exist, there is something wrong with your installation!" - XGETTEXT="${KDE_GETTEXT_PATH}xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale " -fi - -> rc.cpp - -## extract the strings -echo "extracting the strings" - -# process the .ui and .rc files -$EXTRACTRC `find $SRCDIR -iname *.rc` >> rc.cpp -$EXTRACTRC `find $SRCDIR -iname *.ui` >> rc.cpp -echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > $SRCDIR/_translatorinfo.cpp - -# process the tips - $SRCDIR is supposed to be where the tips are living -pushd $TIPSDIR; preparetips >tips.cpp; popd - -# process the fonts mapping attributes -FONTSDIR=$DATADIR/fonts/mappings -pushd $FONTSDIR -cat *.xml | perl -e 'while (<STDIN>) { if(/(encoding name|origin|copyright|mapped-by|type)\s*=\s*\"(.*)\"/) { print "i18n(\"$2\")\;\n";} }' > fonts.cpp -popd - -# process the note head style names -STYLEDIR=$DATADIR/styles -pushd $STYLEDIR -ls *.xml | perl -e 'while (<STDIN>) { if(/(.*)\.xml/) { print "i18n(\"$1\")\;\n";} }' > styles.cpp -popd - -# extract the strings -$XGETTEXT `find $SRCDIR \( -name "*.cpp" -o -name "*.h" \)` rc.cpp $TIPSDIR/tips.cpp $FONTSDIR/fonts.cpp $STYLEDIR/styles.cpp -o tmp.pot - -# remove the intermediate files -rm -f $TIPSDIR/tips.cpp -rm -f $FONTSDIR/fonts.cpp -rm -f $STYLEDIR/styles.cpp -rm -f rc.cpp -rm -f $SRCDIR/_translatorinfo.cpp - -## now merge the .po files .. -echo "merging the .po files" - -for i in `ls *.po`; do - echo $i - msgmerge $i tmp.pot -o $i || exit 1 -done - -# replacing the old template by the new one -rm -f rosegarden.pot -mv tmp.pot rosegarden.pot - -## finished -echo "Done" diff --git a/po/nl.po b/po/nl/rosegarden.po index a9f16e7..a9f16e7 100644 --- a/po/nl.po +++ b/po/nl/rosegarden.po diff --git a/po/pl.po b/po/pl/rosegarden.po index 552713c..552713c 100644 --- a/po/pl.po +++ b/po/pl/rosegarden.po diff --git a/po/ru.po b/po/ru/rosegarden.po index 66b0e6b..66b0e6b 100644 --- a/po/ru.po +++ b/po/ru/rosegarden.po diff --git a/po/sv.po b/po/sv/rosegarden.po index 9bf64d6..9bf64d6 100644 --- a/po/sv.po +++ b/po/sv/rosegarden.po diff --git a/po/xgettext b/po/xgettext Binary files differdeleted file mode 100755 index 1308a2e..0000000 --- a/po/xgettext +++ /dev/null diff --git a/po/zh_CN.po b/po/zh_CN/rosegarden.po index f0fbb67..f0fbb67 100644 --- a/po/zh_CN.po +++ b/po/zh_CN/rosegarden.po |