From b74d4e2414d3b59fc87122d4ab5c7f2e97f58b69 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 22 2012 15:13:56 +0000 Subject: Update Functions/Locale/locale_updateMessageMetadata.sh --- diff --git a/Scripts/Bash/Functions/Locale/locale_updateMessageMetadata.sh b/Scripts/Bash/Functions/Locale/locale_updateMessageMetadata.sh index adf93ba..d5ae411 100755 --- a/Scripts/Bash/Functions/Locale/locale_updateMessageMetadata.sh +++ b/Scripts/Bash/Functions/Locale/locale_updateMessageMetadata.sh @@ -52,9 +52,9 @@ function locale_updateMessageMetadata { SRC[4]="\"PO-Revision-Date:" # Define replacement lines for pattern line. - DST[0]="\"Project-Id-Version: ${CLI_NAME}.sh\\\n\"" - DST[1]="\"Report-Msgid-Bugs-To: The CentOS Locales SIG <=MAIL_L10N=>\\\n\"" - DST[2]="\"Last-Translator: The CentOS Locales SIG <=MAIL_L10N=>\\\n\"" + DST[0]="\"Project-Id-Version: ${CLI_NAME}-${CLI_VERSION}\\\n\"" + DST[1]="\"Report-Msgid-Bugs-To: Translation SIG\\\n\"" + DST[2]="\"Last-Translator: Translation SIG <${MAILINGLIST_L10N}>\\\n\"" DST[3]="\"Language-Team: ${LANGNAME}\\\n\"" DST[4]="\"PO-Revision-Date: $(date "+%F %H:%M%z")\\\n\"" @@ -75,7 +75,7 @@ function locale_updateMessageMetadata { fi # Replace package information using gettext domain information. - sed -i -r "s/PACKAGE/${TEXTDOMAIN}/g" ${FILE} + sed -i -r "s/PACKAGE/${CLI_NAME}-${CLI_VERSION}/g" ${FILE} # Expand translation markers inside file. cli_expandTMarkers ${FILE}