aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-09-19 21:02:17 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-09-19 21:02:17 +0000
commit49091873f44b3b5ccf7b9096ef7fbec0173aa15e (patch)
tree16ac7846f8e15ae1fab8e82d7ba568e596f3c31a /tools
parentf9539add8df3156e3ad9dcc6cbe907fd41c88db5 (diff)
downloaddoc-49091873f44b3b5ccf7b9096ef7fbec0173aa15e.tar.gz
doc-49091873f44b3b5ccf7b9096ef7fbec0173aa15e.zip
tools/translate.sh: Fix a typo and trim whitespace
Diffstat (limited to 'tools')
-rwxr-xr-xtools/translate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/translate.sh b/tools/translate.sh
index 632c370255..c5a4ab895e 100755
--- a/tools/translate.sh
+++ b/tools/translate.sh
@@ -38,7 +38,7 @@ fixup_lists()
#########################################################
# Fix includes. In a few cases we want to include the #
# master (aka English) version of the includes #
-# S1: file to fix #
+# $1: file to fix #
# $2: language #
#########################################################
fixup_includes()
@@ -102,7 +102,7 @@ for pofile in $(find "$COMPONENT/content/$LANGUAGE/" -name "*.po" ); do
--localized "$adoc_lang" \
--localized-charset "UTF-8" \
--keep "$KEEP"
-
+
fixup_lists "${adoc_lang}"
fixup_includes "${adoc_lang}" "${LANGUAGE}"
done