Skip to content

Commit

Permalink
Fix dashtodock.pot generation
Browse files Browse the repository at this point in the history
Some strings are not generated due to redundant option "-k"
(leftover from commit 51db80a)

In result most translations lack:
msgid "Show Details"
msgid "Launch using Integrated Graphics Card"
msgid "Launch using Discrete Graphics Card"
msgid "Failed to launch “%s”"
  • Loading branch information
xalt7x authored and 3v1n0 committed Oct 9, 2023
1 parent 70e34ab commit b93e8bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ mergepo: potfile

./po/dashtodock.pot: $(TOLOCALIZE) Settings.ui
mkdir -p po
xgettext -k --keyword=__ --keyword=N__ --add-comments='Translators:' -o po/dashtodock.pot --package-name "Dash to Dock" --from-code=utf-8 $(TOLOCALIZE)
xgettext --keyword=__ --keyword=N__ --add-comments='Translators:' -o po/dashtodock.pot --package-name "Dash to Dock" --from-code=utf-8 $(TOLOCALIZE)
intltool-extract --type=gettext/glade Settings.ui
xgettext -k --keyword=_ --keyword=N_ --join-existing -o po/dashtodock.pot Settings.ui.h
xgettext --keyword=_ --keyword=N_ --join-existing -o po/dashtodock.pot Settings.ui.h

./po/%.mo: ./po/%.po
msgfmt -c $< -o $@
Expand Down

0 comments on commit b93e8bd

Please sign in to comment.