Skip to content

Commit

Permalink
one more try
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Sep 16, 2018
1 parent d239839 commit 07126ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setupbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def finalize_options(self):
def run(self):
paths = glob('notebook/i18n/??_??')
for p in paths:
LANG = p.split('/')[-1]
LANG = p[-5:]
for component in ['notebook', 'nbui']:
run(['pybabel', 'compile',
'-D', component,
Expand Down Expand Up @@ -551,7 +551,7 @@ def build_main(self, name):
run(['node', 'tools/build-main.js', name])

def build_jstranslation(self, trd):
lang = trd.split('/')[2]
lang = trd[-5:]
run(['po2json', '-p', '-F',
'-f', 'jed1.x',
'-d', 'nbjs',
Expand Down

0 comments on commit 07126ca

Please sign in to comment.