makedist-announcement: snapshots title text updates

This commit is contained in:
Silvan Calarco 2012-08-01 13:00:03 +02:00
parent 0ee7992ed0
commit 9d4bb69737
2 changed files with 21 additions and 20 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
#
# makedist-announcement.sh - a makedist component which produces announcements
# Copyright (c) 2012 by Silvan Calarco
#
VERSION=0.1
archs=(i586 arm x86_64)
@ -298,18 +301,20 @@ if [ ! -e $outputfile -o "$REBUILDANNOUNCEMENT" = "1" ]; then
echo $"Generating announcement for"" $distribution $distversion ${MEDIA_NAME[i]}"" ($outputlang)"
[ -e "$mediumdir/$outputlang/preview/preview-$version.jpg" ] && \
IMG_ADD="<img align=\"right\" src=\"http://$siteaddress/$webmediumdir/$outputlang/preview/preview-$version.jpg\">" ||
if [ -e "$mediumdir/$outputlang/preview/preview-$version.jpg" ]; then
IMG_ADD="<img align=\"right\" src=\"http://$siteaddress/$webmediumdir/$outputlang/preview/preview-$version.jpg\">"
else
IMG_ADD=""
fi
if [ "$distversion" != "devel" ]; then
echo "<h2>"$"$distribution $distversion ${MEDIA_NAME[i]} $version release announcement""</h2>" > $outputfile
echo "<h2>"$"$distribution ${MEDIA_NAME[i]} $version ($distversion) release announcement""</h2>" > $outputfile
echo "<div align=right><i><a href="http://$siteaddress">$sitedomain</a> - $announcementdate</i></div>" >> $outputfile
echo "<br><p>"$"The $distribution maintainer is happy to announce the immediate availability of the <b>$distversion $version</b> release of the $distribution <b>${MEDIA_NAME[i]}</b> distribution." >> $outputfile
echo "<br><p>"$"The $distribution maintainer announces the availability of the <b>$distversion $version</b> release of the $distribution <b>${MEDIA_NAME[i]}</b> distribution." >> $outputfile
else
echo "<h2>"$"$distribution $distversion ${MEDIA_NAME[i]} $version nightly snapshot announcement""</h2>" > $outputfile
echo "<h2>"$"$distribution ${MEDIA_NAME[i]} $version ($distversion) new snapshot is available""</h2>" > $outputfile
echo "<div align=right><i><a href="http://$siteaddress">$sitedomain</a> - $announcementdate</i></div>" >> $outputfile
echo "<br><p>"$"The $distribution automatic build system announces the immediate availability of the <b>$version</b> snapshot release of the $distribution <b>${MEDIA_NAME[i]}</b> distribution." >> $outputfile
echo "<br><p>"$"The $distribution automatic build system announces the availability of the <b>$version</b> snapshot release of the $distribution <b>${MEDIA_NAME[i]}</b> distribution." >> $outputfile
fi
[ -e $mediumdir/info/release-notes.$outputlang.html.inc ] && {

View File

@ -26,18 +26,18 @@ msgstr "Generazione dell'annuncio per"
#: /usr/share/makedist/makedist-announcement.sh:300
#: /usr/share/makedist/makedist-announcement.sh:495
msgid ""
"$distribution $distversion ${MEDIA_NAME[i]} $version release announcement"
"$distribution ${MEDIA_NAME[i]} $version ($distversion) release announcement"
msgstr ""
"Annuncio di rilascio di $distribution $distversion ${MEDIA_NAME[i]} $version"
"Annuncio di rilascio di $distribution ${MEDIA_NAME[i]} $version ($distversion)"
#: /usr/sbin/makedist-announcement:203
#: /usr/share/makedist/makedist-announcement.sh:302
msgid ""
"The $distribution maintainer is happy to announce the immediate availability "
"The $distribution maintainer announces the availability "
"of the <b>$distversion $version</b> release of the $distribution <b>"
"${MEDIA_NAME[i]}</b> distribution."
msgstr ""
"Il manutentore di $distribution &egrave; lieto di annunciare l'immediata "
"Il manutentore di $distribution &egrave; annuncia la "
"disponibilit&agrave; della versione <b>$distversion $version</b> della "
"distribuzione $distribution <b>${MEDIA_NAME[i]}</b>."
@ -348,26 +348,22 @@ msgid "Generating catalog file $catalogfile"
msgstr "Generazione del file di catalogo $catalogfile"
#: /usr/share/makedist/makedist-announcement.sh:304
msgid ""
"$distribution $distversion ${MEDIA_NAME[i]} $version nightly snapshot "
"announcement"
msgstr ""
"Annuncio di disponibilità della snapshot notturna $distribution $distversion "
"${MEDIA_NAME[i]} $version"
msgid "$distribution ${MEDIA_NAME[i]} $version ($distversion) new snapshot is available"
msgstr "Disponibile la nuova snapshot di $distribution ${MEDIA_NAME[i]} $version ($distversion)"
#: /usr/share/makedist/makedist-announcement.sh:306
msgid ""
"The $distribution automatic build system announces the immediate "
"The $distribution automatic build system announces the "
"availability of the <b>$version</b> snapshot release of the $distribution <b>"
"${MEDIA_NAME[i]}</b> distribution."
msgstr ""
"Il sistema di build automatico di $distribution annuncia l'immediata "
"Il sistema di build automatico di $distribution annuncia la "
"disponibilità della versione snapshot <b>$version</b> della distribuzione "
"$distribution <b>${MEDIA_NAME[i]}</b>."
#: /usr/share/makedist/makedist-announcement.sh:326
msgid "Arch"
msgstr ""
msgstr " Arch"
#: /usr/share/makedist/makedist-announcement.sh:364
msgid "Updates default channels"