Skip to content

Commit

Permalink
Updating manpage year handling for 2013.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Jan 2, 2013
1 parent ba471dc commit 370fd59
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 15 deletions.
10 changes: 7 additions & 3 deletions manpages/bin/update-version.sh
@@ -1,7 +1,7 @@
#!/bin/sh

## live-boot(7) - System Boot Scripts
## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
Expand Down Expand Up @@ -35,7 +35,9 @@ 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 .*.2013-.*$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \
-e "s|^msgstr .*.2013\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \
"${_FILE}"
done
fi
done
Expand All @@ -45,6 +47,8 @@ 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 .*.2013-.*$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \
-e "s|^msgstr .*-2013\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \
"${_FILE}"
done
fi
2 changes: 1 addition & 1 deletion manpages/de/live-boot.de.7
Expand Up @@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BOOT 7 2013\-01\-02 3.0~b11\-1 "Debian Live Project"
.TH LIVE\-BOOT 7 02.01.2013 3.0~b11\-1 "Debian Live Project"

.SH NAME
\fBlive\-boot\fP \- System Boot Scripts
Expand Down
2 changes: 1 addition & 1 deletion manpages/de/persistence.conf.de.5
Expand Up @@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BOOT conf 2013\-01\-02 3.0~b11\-1 "Debian Live Project"
.TH LIVE\-BOOT conf 02.01.2013 3.0~b11\-1 "Debian Live Project"

.SH NAME
\fBpersistence.conf\fP \- Configuration file for persistence media in live\-boot
Expand Down
2 changes: 1 addition & 1 deletion manpages/es/live-boot.es.7
Expand Up @@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BOOT 7 2013\-01\-02 3.0~b11\-1 "Proyecto Debian Live"
.TH LIVE\-BOOT 7 02.01.2013 3.0~b11\-1 "Proyecto Debian Live"

.SH NOMBRE
\fBlive\-boot\fP \- Scripts de Arranque del Sistema
Expand Down
2 changes: 1 addition & 1 deletion manpages/es/persistence.conf.es.5
Expand Up @@ -3,7 +3,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH LIVE\-BOOT conf 2013\-01\-02 3.0~b11\-1 "Proyecto Debian Live"
.TH LIVE\-BOOT conf 02.01.2013 3.0~b11\-1 "Proyecto Debian Live"

.SH NOMBRE
\fBpersistence.conf\fP \- Fichero para configurar medios de almacenamiento con
Expand Down
4 changes: 2 additions & 2 deletions manpages/po/de/live-boot.7.po
@@ -1,5 +1,5 @@
# German translations for live-boot package
# Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
# Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
# This file is distributed under the same license as the live-boot package.
#
msgid ""
Expand All @@ -25,7 +25,7 @@ msgstr ""
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
msgid "2013-01-02"
msgstr ""
msgstr "02.01.2013"

#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
Expand Down
4 changes: 2 additions & 2 deletions manpages/po/de/persistence.conf.5.po
@@ -1,5 +1,5 @@
# German translations for live-boot package
# Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
# Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
# This file is distributed under the same license as the live-boot package.
#
msgid ""
Expand All @@ -25,7 +25,7 @@ msgstr ""
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
msgid "2013-01-02"
msgstr ""
msgstr "02.01.2013"

#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
Expand Down
4 changes: 2 additions & 2 deletions manpages/po/es/live-boot.7.po
@@ -1,5 +1,5 @@
# Spanish translations for live-boot package
# Copyright (C) 2012 Carlos Zuferri «chals» <chals@altorricon.com>
# Copyright (C) 2012-2013 Carlos Zuferri «chals» <chals@altorricon.com>
# This file is distributed under the same license as the live-boot package.
#
msgid ""
Expand All @@ -25,7 +25,7 @@ msgstr "LIVE-BOOT"
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
msgid "2013-01-02"
msgstr ""
msgstr "02.01.2013"

#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
Expand Down
4 changes: 2 additions & 2 deletions manpages/po/es/persistence.conf.5.po
@@ -1,5 +1,5 @@
# Spanish translations for live-boot package
# Copyright (C) 2012 Carlos Zuferri «chals» <chals@altorricon.com>
# Copyright (C) 2012-2013 Carlos Zuferri «chals» <chals@altorricon.com>
# This file is distributed under the same license as the live-boot package.
#
msgid ""
Expand All @@ -24,7 +24,7 @@ msgstr "LIVE-BOOT"
#: en/live-boot.7:1 en/persistence.conf.5:1
#, no-wrap
msgid "2013-01-02"
msgstr ""
msgstr "02.01.2013"

#. type: TH
#: en/live-boot.7:1 en/persistence.conf.5:1
Expand Down

0 comments on commit 370fd59

Please sign in to comment.