Skip to content

Commit

Permalink
Translations: Updated translation's string placement with positions f…
Browse files Browse the repository at this point in the history
…rom refactored code. Added missing details to translation metadata, clearing warnings created by missing metadata.
  • Loading branch information
Cuperino committed Nov 15, 2022
1 parent 05ae497 commit 02c2b16
Show file tree
Hide file tree
Showing 16 changed files with 3,666 additions and 3,665 deletions.
488 changes: 244 additions & 244 deletions po/cs.po

Large diffs are not rendered by default.

486 changes: 243 additions & 243 deletions po/de.po

Large diffs are not rendered by default.

490 changes: 245 additions & 245 deletions po/es.po

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion po/extractmessages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
BASEDIR="../src" # root of translatable sources
PROJECT="qprompt" # project name
BUGADDR="https://github.com/Cuperino/QPrompt/issues/new/choose" # MSGID-Bugs
AUTHOR="Javier O. Cordero Perez"
WDIR=`pwd` # working dir


Expand All @@ -23,7 +24,7 @@ cd ${BASEDIR}
find . -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.qml' -o -name '*.html' | sort > ${WDIR}/infiles.list
echo "rc.cpp" >> ${WDIR}/infiles.list
cd ${WDIR}
xgettext --from-code=UTF-8 -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \
xgettext --from-code=UTF-8 --package-name="${PROJECT}" --package-version="$( git log -1 --format=%h )" --copyright-holder="${AUTHOR}" -C -kde -ci18n -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 -ktr2i18n:1 \
-kI18N_NOOP:1 -kI18N_NOOP2:1c,2 -kaliasLocale -kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \
--msgid-bugs-address="${BUGADDR}" \
--files-from=infiles.list -D ${BASEDIR} -D ${WDIR} -o ${PROJECT}.pot || { echo "error while calling xgettext. aborting."; exit 1; }
Expand Down
Loading

0 comments on commit 02c2b16

Please sign in to comment.