When compiling pythonscad from sourcecode

0 views
Skip to first unread message

Matthieu Hendriks

unread,
Feb 24, 2026, 5:23:57 AM (yesterday) Feb 24
to PythonSCAD
I get the following warnings, I really don't need al those languages (English and Dutch is more than enough) is there a way to solve these warnings?

Compiling language files
Compiling language files (CWD = /home/matthieu/pythonscad)...
msgfmt -c -v -o ./locale/cs/LC_MESSAGES/pythonscad.mo ./locale/cs.po
234 translated messages, 126 fuzzy translations, 343 untranslated messages.
msgfmt -c -v -o ./locale/de/LC_MESSAGES/pythonscad.mo ./locale/de.po
449 translated messages, 77 fuzzy translations, 177 untranslated messages.
msgfmt -c -v -o ./locale/es/LC_MESSAGES/pythonscad.mo ./locale/es.po
264 translated messages, 41 fuzzy translations, 398 untranslated messages.
msgfmt -c -v -o ./locale/fr/LC_MESSAGES/pythonscad.mo ./locale/fr.po
366 translated messages, 122 fuzzy translations, 215 untranslated messages.
msgfmt -c -v -o ./locale/hy/LC_MESSAGES/pythonscad.mo ./locale/hy.po
368 translated messages, 117 fuzzy translations, 218 untranslated messages.
msgfmt -c -v -o ./locale/it/LC_MESSAGES/pythonscad.mo ./locale/it.po
494 translated messages, 60 fuzzy translations, 149 untranslated messages.
msgfmt -c -v -o ./locale/ka/LC_MESSAGES/pythonscad.mo ./locale/ka.po
459 translated messages, 66 fuzzy translations, 178 untranslated messages.
msgfmt -c -v -o ./locale/pl/LC_MESSAGES/pythonscad.mo ./locale/pl.po
392 translated messages, 127 fuzzy translations, 184 untranslated messages.
msgfmt -c -v -o ./locale/pt_BR/LC_MESSAGES/pythonscad.mo ./locale/pt_BR.po
404 translated messages, 78 fuzzy translations, 221 untranslated messages.
msgfmt -c -v -o ./locale/ru/LC_MESSAGES/pythonscad.mo ./locale/ru.po
458 translated messages, 66 fuzzy translations, 179 untranslated messages.
msgfmt -c -v -o ./locale/tr/LC_MESSAGES/pythonscad.mo ./locale/tr.po
442 translated messages, 76 fuzzy translations, 185 untranslated messages.
msgfmt -c -v -o ./locale/uk/LC_MESSAGES/pythonscad.mo ./locale/uk.po
272 translated messages, 120 fuzzy translations, 311 untranslated messages.
msgfmt -c -v -o ./locale/zh_CN/LC_MESSAGES/pythonscad.mo ./locale/zh_CN.po
420 translated messages, 83 fuzzy translations, 200 untranslated messages.
msgfmt -c -v -o ./locale/zh_TW/LC_MESSAGES/pythonscad.mo ./locale/zh_TW.po
391 translated messages, 116 fuzzy translations, 196 untranslated messages.
/usr/bin/itstool:239: SyntaxWarning: invalid escape sequence '\s'
if re.sub('\s+', ' ', text).strip() != '':
/usr/bin/itstool:337: SyntaxWarning: invalid escape sequence '\s'
message = re.sub('\s+', ' ', message).strip()
/usr/bin/itstool:475: SyntaxWarning: invalid escape sequence '\s'
return re.sub('\s+', ' ', self.locnote).strip()
/usr/bin/itstool:477: SyntaxWarning: invalid escape sequence '\s'
return '(itstool) link: ' + re.sub('\s+', ' ', self.locnoteref).strip()
/usr/bin/itstool:891: SyntaxWarning: invalid escape sequence '\<'
regex = re.compile('(.*) \<(.*)\>, (.*)')
/usr/bin/itstool:926: SyntaxWarning: invalid escape sequence '\s'
if re.sub('\s+', '', prevtext) == '':
/usr/bin/itstool:1452: SyntaxWarning: invalid escape sequence '\.'
_locale_pattern = re.compile('([a-zA-Z0-9-]+)(_[A-Za-z0-9]+)?(@[A-Za-z0-9]+)?(\.[A-Za-z0-9]+)?')
Reply all
Reply to author
Forward
0 new messages