fde49a
Update `Functions/Locale/locale_updateMessageMetadata.sh' file.
@@ -52,7 +52,7 @@ function locale_updateMessageMetadata {
|
|
52
52
|
SRC[4]="\"PO-Revision-Date:"
|
53
53
|
|
54
54
|
# Define replacement lines for pattern line.
|
55
|
-
DST[0]="\"Project-Id-Version: ${
|
55
|
+
DST[0]="\"Project-Id-Version: ${CLI_NAME}-${CLI_VERSION}\\\n\""
|
56
56
|
DST[1]="\"Report-Msgid-Bugs-To: Documentation SIG <${MAILINGLIST_DOCS}>\\\n\""
|
57
57
|
DST[2]="\"Last-Translator: Documentation SIG\\\n\""
|
58
58
|
DST[3]="\"Language-Team: ${LANGNAME}\\\n\""
|
@@ -75,7 +75,7 @@ function locale_updateMessageMetadata {
|
|
75
75
|
fi
|
76
76
|
|
77
77
|
# Replace package information using gettext domain information.
|
78
|
-
sed -i -r "s/PACKAGE/${
|
78
|
+
sed -i -r "s/PACKAGE/${CLI_NAME}-${CLI_VERSION}/g" ${FILE}
|
79
79
|
|
80
80
|
# Remove absolute path to the working copy so it doesn't appear on
|
81
81
|
# comments related to locations. Remember that people can download
|