pck-update: action 0: better notification message

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-05-04 22:49:58 +02:00
parent af8cfaceb0
commit ae734fb182
3 changed files with 11 additions and 4 deletions

View File

@ -12,6 +12,13 @@ Changes in version 1.10.1
/lib64. /lib64.
(As usual: bug reported by Silvan Calarco.) (As usual: bug reported by Silvan Calarco.)
+ update
* pck-update - Davide Madrisan:
Action 0: better notification message.
* po/it/pck-update.po - Davide Madrisan:
Updated.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Changes in version 1.10.0 Changes in version 1.10.0

View File

@ -577,7 +577,7 @@ function specfile.newrelease() {
$"release number: unsupported format"": \"$pck_newrel\"" $"release number: unsupported format"": \"$pck_newrel\""
[ "$pck_newrel" '>' "$SPEC_RELEASE" ] || [ "$pck_newrel" '>' "$SPEC_RELEASE" ] ||
notify.error $"\ notify.error $"\
new release number \"$pck_newrel\" <= current release \"$SPEC_RELEASE\"" new release \`$pck_newrel' must be greater than current one \`$SPEC_RELEASE'"
echo "$pck_newrel" echo "$pck_newrel"
else else
local sr_relnum="${SPEC_RELEASE%%[^0-9\.]*}" local sr_relnum="${SPEC_RELEASE%%[^0-9\.]*}"
@ -1201,7 +1201,7 @@ $"Repository""\
: ${NOTE}(#$ftp_server_download_num) ${got_SPEC_FILENAME_URL}${NORM}" : ${NOTE}(#$ftp_server_download_num) ${got_SPEC_FILENAME_URL}${NORM}"
for j in `seq 1 1 ${#got_SPEC_FILENAME[*]}`; do for j in `seq 1 1 ${#got_SPEC_FILENAME[*]}`; do
notify.note \ notify.note \
$"Package: - ""${NOTE}${got_SPEC_FILENAME[$(($j-1))]}${NORM}" $"Package"": ${NOTE}${got_SPEC_FILENAME[$(($j-1))]}${NORM}"
done done
else else
notify.warning $"\ notify.warning $"\

View File

@ -342,8 +342,8 @@ msgstr "trovati diversi pacchetti candidati"
msgid "Repository" msgid "Repository"
msgstr "Archivio" msgstr "Archivio"
msgid "Package: - " msgid "Package"
msgstr "Pacchetto: " msgstr "Pacchetto"
msgid "cannot find a matching SRPM package in the given repositories" msgid "cannot find a matching SRPM package in the given repositories"
msgstr "impossibile trovare il pacchetto SRPM nei repository indicati" msgstr "impossibile trovare il pacchetto SRPM nei repository indicati"