mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
fix path (still doesn't seem to work)
This commit is contained in:
parent
b3e197dd59
commit
84b121ee4c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def load_strings(lang=''):
|
||||||
wd = os.path.dirname(sys.argv[0])
|
wd = os.path.dirname(sys.argv[0])
|
||||||
values = 'values'
|
values = 'values'
|
||||||
if not '' == lang: values += '-' + lang
|
if not '' == lang: values += '-' + lang
|
||||||
path = wd + '/../XWords4/res/' + values + '/strings.xml'
|
path = wd + '/../app/src/main/res/' + values + '/strings.xml'
|
||||||
file = open( path, 'r')
|
file = open( path, 'r')
|
||||||
for match in pat.finditer( file.read() ):
|
for match in pat.finditer( file.read() ):
|
||||||
index = len(nodes)
|
index = len(nodes)
|
||||||
|
|
Loading…
Reference in a new issue