Permalink
Browse files

Fix german translation...

  • Loading branch information...
peterix committed Dec 9, 2018
1 parent df94182 commit fc800fd9cc058f14ff3623a320ceac76f623c7fd
Showing with 8 additions and 0 deletions.
  1. +1 −0 de.po
  2. +7 −0 release.sh
1 de.po
@@ -10,6 +10,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.7\n"
"X-Qt-Contexts: true\n"

#: src/application/dialogs/AboutDialog.ui:20
msgctxt "AboutDialog|"
@@ -20,6 +20,13 @@ rm -f $OUTPUT/*
echo "Creating .qm files..."
for po_file in $(ls *.po)
do
echo "Considering ${po_file}"
if cat "${po_file}" | grep '\"X-Qt-Contexts: true\\n\"' > /dev/null ; then
echo "Translation ${po_file} is OK"
else
echo "Translation ${po_file} is bad (missing X-Qt-Contexts)"
exit 1
fi
# gets everything up to the first dot
lang=$(echo $po_file | grep -oP "^[^\.]*")
echo " Converting $po_file to $lang.ts"

0 comments on commit fc800fd

Please sign in to comment.