Skip to content
Permalink
Browse files

Get xgettext to accept UTF-8

  • Loading branch information
blueset committed Aug 18, 2019
1 parent f13baf9 commit c0fd40ea4d5df8c874d889234ebff271f0f0aa5b
@@ -120,3 +120,6 @@ fabric.properties

# doit
.doit.db

# Readme translations
readme_translations/locale
@@ -17,7 +17,7 @@ def task_gettext():
pot = "./{package}/locale/{package}.pot".format(package=PACKAGE)
sources = glob.glob("./{package}/**/*.py".format(package=PACKAGE), recursive=True)
sources = [i for i in sources if "__version__.py" not in i]
command = "xgettext --add-comments=TRANSLATORS -o " + pot + " " + " ".join(sources)
command = "xgettext --add-comments=TRANSLATORS --from-code=UTF-8 -o " + pot + " " + " ".join(sources)
sources.append(README_BASE)
return {
"actions": [
@@ -1,3 +1,3 @@
# coding: utf-8

__version__ = "2.0.0a23.dev8"
__version__ = "2.0.0a23.dev10"
@@ -1,4 +1,4 @@
# coding=utf8
# coding=utf-8
TRANSLATE = 'Chinese'


@@ -57,7 +57,7 @@ Dependencies
- pillow

Install and Enable
----------
------------------

1. Install all binary dependencies stated above
2. Install
Binary file not shown.
Binary file not shown.

0 comments on commit c0fd40e

Please sign in to comment.
You can’t perform that action at this time.