Skip to content

Commit

Permalink
makemessages needs somewhere to dump non-wafer strings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanor committed Jun 5, 2021
1 parent 1a1a19f commit 626582c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ nosetests.xml
.mr.developer.cfg
.project
.pydevproject
/locale/
/virtualenv/
/ve/

Expand Down
6 changes: 6 additions & 0 deletions utils/update_i18n_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
base=$(dirname $0)
cd $base/..

# Create a root-level locale directory, that we'll ignore.
# This is used for anything outside wafer (e.g. docs)
# makemessages searches all files under the current directory, and we want to
# prefix our filenames with wafer/
mkdir -p locale

for cand in wafer/locale/*; do
if [ ! -d $cand ]; then
continue
Expand Down

0 comments on commit 626582c

Please sign in to comment.