[SCM] live-manual branch, debian-next, updated. debian/3.0_a11-1-65-g6790029
Daniel Baumann
daniel at debian.org
Sun Jun 3 10:32:49 UTC 2012
The following commit has been merged in the debian-next branch:
commit 679002962fd7e62989025d1b2bedc9c11ad8eeb0
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Jun 3 12:28:33 2012 +0200
Automatically translating date formats when setting them during processing sisu files.
diff --git a/manual/bin/update-version.sh b/manual/bin/update-version.sh
index 262ac5c..f40cbe9 100755
--- a/manual/bin/update-version.sh
+++ b/manual/bin/update-version.sh
@@ -2,11 +2,16 @@
set -e
-DATE="$(LC_ALL=C date +%Y-%m-%d)"
VERSION="$(cat ../VERSION)"
+
+DAY="$(LC_ALL=C date +%d)"
+MONTH="$(LC_ALL=C date +%m)"
YEAR="$(LC_ALL=C date +%Y)"
echo "Updating version information..."
-sed -i -e "s|^ :published:.*$| :published: ${DATE}|" \
+sed -i -e "s|^ :published:.*$| :published: ${YEAR}-${MONTH}-${DAY}|" \
-e "s|(C) 2006-.*|(C) 2006-${YEAR} Debian Live Project|" \
en/live-manual.ssm
+
+sed -i -e "s|:published: .*.${YEAR}|:published: ${DAY}.${MONTH}.${YEAR}|" \
+po/de/live-manual.ssm.po
diff --git a/manual/po/de/live-manual.ssm.po b/manual/po/de/live-manual.ssm.po
index 8a974ce..2bd1502 100644
--- a/manual/po/de/live-manual.ssm.po
+++ b/manual/po/de/live-manual.ssm.po
@@ -50,7 +50,7 @@ msgid ""
" :published: 2012-06-03\n"
msgstr ""
"@date:\n"
-" :published: 03.06..2012\n"
+" :published: 03.06.2012\n"
#. type: Plain text
#: en/live-manual.ssm:15
--
live-manual
More information about the debian-live-changes
mailing list