From 5f28f7fe6a5459f8d962e9c19729a8c614c4ef9e Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Aug 15 2011 16:21:35 +0000 Subject: Update `locale_updateMessageMetadata.sh': - Update value of `PO-Revision-Date:' field too, based on the current revision date. --- diff --git a/Scripts/Functions/Locale/locale_updateMessageMetadata.sh b/Scripts/Functions/Locale/locale_updateMessageMetadata.sh index ab1eb56..c00f4ea 100755 --- a/Scripts/Functions/Locale/locale_updateMessageMetadata.sh +++ b/Scripts/Functions/Locale/locale_updateMessageMetadata.sh @@ -49,12 +49,14 @@ function locale_updateMessageMetadata { SRC[1]="\"Report-Msgid-Bugs-To:" SRC[2]="\"Last-Translator:" SRC[3]="\"Language-Team:" + SRC[4]="\"PO-Revision-Date:" # Define replacement lines for pattern line. DST[0]="\"Project-Id-Version: ${CLI_PROGRAM} (${CURRENTLOCALE})\\\n\"" DST[1]="\"Report-Msgid-Bugs-To: The CentOS L10n SIG <=MAIL_L10N=>\\\n\"" DST[2]="\"Last-Translator: The CentOS L10n SIG <=MAIL_L10N=>\\\n\"" DST[3]="\"Language-Team: ${LANGNAME}\\\n\"" + DST[4]="\"PO-Revision-Date: $(date "+%F %H:%M%z")\\\n\"" # Change pattern lines with their replacement lines. while [[ $COUNT -lt ${#SRC[*]} ]];do