mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
Extracting also strings containig dash from languages-file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33333 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
64ddb9f47d
commit
30fe0f9a2a
@ -183,7 +183,7 @@ def languages_l10n(input_files, output, base):
|
||||
'''Generate pot file from lib/language'''
|
||||
output = open(output, 'w')
|
||||
# assuming only one language file
|
||||
reg = re.compile('[\w-]+\s+[\w"]+\s+"([\w \-\(\),]+)"\s+(true|false)\s+[\w-]+\s+\w+\s+"[^"]*"')
|
||||
reg = re.compile('[\w-]+\s+[\w"]+\s+"([\w \-\(\),]+)"\s+(true|false)\s+[\w-]+\s+[\w\-]+\s+"[^"]*"')
|
||||
input = open(input_files[0])
|
||||
for lineno, line in enumerate(input.readlines()):
|
||||
if line[0] == '#':
|
||||
|
Loading…
Reference in New Issue
Block a user