[SCM] live-tools branch, debian, updated. debian/3.0.4-1
Daniel Baumann
daniel at debian.org
Wed Jul 25 13:34:09 UTC 2012
The following commit has been merged in the debian branch:
commit dcfc7c99b6691ab0e0d41660bb553533dff3ff63
Author: Daniel Baumann <daniel at debian.org>
Date: Sat Jul 21 00:39:27 2012 +0200
Using dynamic year in automatic manpage date translation rather than a hardcoded one.
diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh
index ef4b1e0..51d2ffa 100755
--- a/manpages/bin/update-version.sh
+++ b/manpages/bin/update-version.sh
@@ -35,7 +35,7 @@ do
then
for _FILE in po/${_LANGUAGE}/*.po
do
- sed -i -e "s|^msgstr .*.2012\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" "${_FILE}"
+ sed -i -e "s|^msgstr .*.${YEAR}\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" "${_FILE}"
done
fi
done
@@ -45,6 +45,6 @@ if ls po/pt_BR/*.po > /dev/null 2>&1
then
for _FILE in po/pt_BR/*.po
do
- sed -i -e "s|^msgstr .*-2012\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" "${_FILE}"
+ sed -i -e "s|^msgstr .*-${YEAR}\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" "${_FILE}"
done
fi
--
live-tools
More information about the debian-live-changes
mailing list