[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-1/scripts
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2004-02-29 18:53:51
Message-ID: 20040229185351.7F72A9959 () office ! kde ! org
[Download RAW message or body]
CVS commit by trueg:
Added --noi18ntag which does the same for the translations as the --noadmintag does \
for the admin dir.
M +14 -4 cvsExtract.sh 1.26
--- kdeextragear-1/scripts/cvsExtract.sh #1.25:1.26
@@ -48,4 +48,5 @@
CVSBASEDIR="`pwd`"
USETAGFORADMIN="yes"
+USETAGFORI18N="yes"
CVS_CHECKOUT_OPTIONS="-P"
TAG_OR_BRANCH=""
@@ -114,5 +115,7 @@
The tag will only be used for the application files
and not for the admin and the module data.
- --plainconfigure Use the configure.in.in from the application without
+ --noi18ntag This makes only sense in combination with --usetag.
+ The tag will not be used for the translation files.
+ --plainconfigure Use the configure.in.in from the application without
any changes like merging in the modules \
configure.in.in.
--package Create tarballs (.tar.gz and .tar.bz2)
@@ -186,4 +189,7 @@
USETAGFORADMIN="no"
;;
+ --noi18ntag)
+ USETAGFORI18N="no"
+ ;;
--plainconfigure)
PLAINCONFIGURE="yes"
@@ -364,5 +370,5 @@
case "$1" in
CVS)
- cvs co ${CVS_CHECKOUT_OPTIONS} ${P_TAG_OR_BRANCH} -d \
${APPNAME} ${KDEI18N}/${lang}/docs/${MODULENAME_I18N}/${APPNAME} 2>/dev/null && \
gotI18NDocs="yes" + cvs co ${CVS_CHECKOUT_OPTIONS} \
${P_TAG_OR_BRANCH_I18N} -d ${APPNAME} \
${KDEI18N}/${lang}/docs/${MODULENAME_I18N}/${APPNAME} 2>/dev/null && \
gotI18NDocs="yes" ;;
LOCAL)
@@ -420,5 +426,5 @@
# get translation
for tfile in $translationFiles ; do
- cvs co ${CVS_CHECKOUT_OPTIONS} ${P_TAG_OR_BRANCH} -d ${lang} \
${KDEI18N}/${lang}/messages/${MODULENAME_I18N}/${tfile} 2>/dev/null && \
gotTranslations="yes" + cvs co ${CVS_CHECKOUT_OPTIONS} \
${P_TAG_OR_BRANCH_I18N} -d ${lang} \
${KDEI18N}/${lang}/messages/${MODULENAME_I18N}/${tfile} 2>/dev/null && \
gotTranslations="yes" done
;;
@@ -500,5 +506,5 @@
# tag is set on the file, checkout the file again for this tag
rm -rf all_languages/subdirs
- cvs -z4 -q -d "$CVSROOT" co ${CVS_CHECKOUT_OPTIONS} \
${P_TAG_OR_BRANCH} -d all_languages kde-i18n/subdirs > /dev/null 2>&1 + \
cvs -z4 -q -d "$CVSROOT" co ${CVS_CHECKOUT_OPTIONS} ${P_TAG_OR_BRANCH_I18N} -d \
all_languages kde-i18n/subdirs > /dev/null 2>&1 fi
;;
@@ -561,4 +567,8 @@
fi
+if [ "$USETAGFORI18N" = "yes" ]; then
+ P_TAG_OR_BRANCH_I18N="${P_TAG_OR_BRANCH}"
+fi
+
# get the full path
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic