Skip to content

Commit

Permalink
hardknott: fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
athoik committed Jan 19, 2022
1 parent 1741cfa commit 73cf918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
description = 'Watch live stream TV from Greece',
package_dir = {pkg: 'plugin'},
packages = [pkg],
package_data = {pkg: ['icons/*.png', 'plugin.png', 'stream.xml', 'create.sh', 'update.sh', 'xml/*.xml']},
package_data = {pkg: ['icons/*.png', 'plugin.png', 'stream.xml', 'create.sh', 'update.sh', 'xml/*.xml', 'locale/*/LC_MESSAGES/*.mo']},
cmdclass = setup_translate.cmdclass,
)
3 changes: 1 addition & 2 deletions setup_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def run(self):
if lang.endswith('.po'):
src = os.path.join(s, lang)
lang = lang[:-3]
destdir = os.path.join('build', 'lib', 'Extensions',
'GreekStreamTV', 'locale', lang, 'LC_MESSAGES')
destdir = os.path.join('plugin', 'locale', lang, 'LC_MESSAGES')
if not os.path.exists(destdir):
os.makedirs(destdir)
for lang_domain in lang_domains:
Expand Down

0 comments on commit 73cf918

Please sign in to comment.