Skip to content

Commit

Permalink
ignoring strings from a given list
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrasca committed Jun 30, 2017
1 parent ef30277 commit 91c72d1
Show file tree
Hide file tree
Showing 17 changed files with 2,018 additions and 2,556 deletions.
32 changes: 32 additions & 0 deletions doc/not_to_be_translated.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
^:ref:`[a-z]*`.$
^accession, acc$
^planting, plant$
^geography, geo$
^location, loc$
^code, name$
^contact, person, org, source$
^collection, col, coll$
^locale$
^tag, tags$
^vernacular, common, vern$
^epithet ([a-z]*).*$
^species, sp$
^genus, gen$
^family, fam$
^Mako$
^SQLite$
^MySQL$
^PostgreSQL$
^Desktop 1.[01]$
^Documentation 1.[01]$
^ghini.desktop$
^ghini.desktop-docs.i18n$
^ghini-1.[01]-dev$
^Web 1.2$
^ghini.web$
^master$
^https://coveralls.io/builds/3741152/source?filename=bauble%2Fplugins%2Fplants%2Ftest.py#L273$
^GTK_RESPONSE_[A-Z]*, -[0-9]$
^http://initd.org/psycopg/docs/install.html$
^https://pypi.python.org/pypi/lxml/3.4.4$
^http://code.google.com/p/gdata-python-client/downloads/list$
6 changes: 3 additions & 3 deletions doc/runme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ echo "done copying/updating files from documentation"
echo '--------------------------------------------------------------------------'
echo
echo '=========================================================================='
echo "update the centralised doc.pot (two steps, first all pot, then merge them)"
echo "update the centralised doc.pot (prepare all pot, merge them, filter)"
echo '--------------------------------------------------------------------------'
echo "update the centralised doc.pot --- step one"
echo '--------------------------------------------------------------------------'
make gettext
echo "update the centralised doc.pot --- step two"
echo "update the centralised doc.pot --- step two and three"
echo '--------------------------------------------------------------------------'
msgcat -o _build/locale-merged/doc.pot _build/locale/*.pot
msgcat _build/locale/*.pot | msggrep --msgid --file not_to_be_translated.txt --invert-match -o _build/locale-merged/doc.pot
echo "done updating centralised doc.pot"
echo '--------------------------------------------------------------------------'
echo
Expand Down

0 comments on commit 91c72d1

Please sign in to comment.