Skip to content

Commit 6a87b73

Browse files
committed
Update pot file
1 parent df2d632 commit 6a87b73

File tree

3 files changed

+275
-142
lines changed

3 files changed

+275
-142
lines changed

Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ lint:
55
./node_modules/.bin/eslint --cache --max-warnings=0 src/
66

77
test: lint
8-
# https://github.com/ximion/appstream/issues/398#issuecomment-1129454985
9-
# flatpak run org.freedesktop.appstream.cli validate --override=release-time-missing=info --no-net data/re.sonny.Workbench.metainfo.xml
8+
# https://github.com/ximion/appstream/issues/398#issuecomment-1129454985
9+
# flatpak run org.freedesktop.appstream.cli validate --override=release-time-missing=info --no-net data/re.sonny.Workbench.metainfo.xml
1010
desktop-file-validate --no-hints data/re.sonny.Workbench.desktop
11-
# https://discourse.gnome.org/t/gtk-builder-tool-requires-and-libraries/9222
12-
# gtk-builder-tool validate src/*.ui
11+
# https://discourse.gnome.org/t/gtk-builder-tool-requires-and-libraries/9222
12+
# gtk-builder-tool validate src/*.ui
1313
flatpak-builder --show-manifest re.sonny.Workbench.json > /dev/null
1414
find po/ -type f -name "*po" -print0 | xargs -0 -n1 msgfmt -o /dev/null --check
15+
16+
pot:
17+
# https://github.com/mesonbuild/meson/blob/cc8e67ce59c3b0274bc9f10cb287d5254aa74166/mesonbuild/modules/i18n.py#L97
18+
@find data src -path src/lib -prune -o -type f \( -iname \*.blp -o -iname \*.js -o -iname \*.xml -o -iname \*.desktop \) -print0 | xargs -0 xgettext --from-code=UTF-8 --no-wrap --add-comments --sort-by-file --package-name=re.sonny.Workbench --copyright-holder="Sonny Piers" --keyword="_" --keyword="C_" --output po/re.sonny.Workbench.pot 2>/dev/null
19+
@echo "Pot file updated"

po/POTFILES

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)