Skip to content

Commit

Permalink
Add --no-location option to xgettext to get rid of the location comme…
Browse files Browse the repository at this point in the history
…nts in .po files
  • Loading branch information
tale-fau committed Sep 29, 2023
1 parent 7a2e8a4 commit 731b39c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 651 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test: node_modules/jest/bin/jest.js node_modules/puppeteer

update_trad:
# Extraction des phrases traductibles...
@xgettext --from-code=utf-8 --output=./locale/application.pot *.php templates/*.php templates/components/*.php
@xgettext --from-code=utf-8 --no-location --output=./locale/application.pot *.php templates/*.php templates/components/*.php

# Mise a jour des fichiers .po...
@for lang in $$(find locale -mindepth 1 -maxdepth 1 -type d); do \
Expand Down
Loading

0 comments on commit 731b39c

Please sign in to comment.