Fix #707 -- Setup automated spell-checking for translations (#896)

This will:
  * set up potypo
  * add wordlists, edgecases and phrases
  * fix english typos across the codebase
  * fix german typos and translation
This commit is contained in:
Jakob Schnell
2018-05-27 11:59:10 +02:00
committed by Raphael Michel
parent 4d249553bf
commit 1689925508
19 changed files with 415 additions and 19 deletions
+35
View File
@@ -14,3 +14,38 @@ known_standard_library = typing,enum,mimetypes
multi_line_output = 5
not_skip = __init__.py
skip = make_testdata.py,wsgi.py,bootstrap,celery_app.py,settings.py
[potypo]
default_language = en_US
locales_dir = pretix/locale
no_fail =
ar
cs
da
es
fr
it
nl
nl_BE
pt_BR
wl_dir = pretix/locale
edgecase_words =
add-ons
add-on's
same-origin"-requests
MT940
MT940-Format
pre-selected
pretix.eu
pretix.eu-Blog
pretix.eu-Server
Prüf-Ergebnisse
translate.pretix.eu
4th
214th
phrases =
ticketing powered by
powered by
Stripe Connect
chunkers = enchant.tokenize.HTMLChunker
filters = PythonFormatFilter,enchant.tokenize.URLFilter,HTMLFilter