Skip to content
Browse files

Accept empty value strings

Sometimes it may be needed to have an empty String in the localization
files, e.g. if different languages have different grammatical terms and
the localization has parts of them which will later be concatenated.
  • Loading branch information...
1 parent 683ffe6 commit bebfd8b09e73b33a1d556803011cac5bf0f05d94 @gamma committed Aug 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 localizeUtils.py
View
2 localizeUtils.py
@@ -26,7 +26,7 @@
from copy import copy
import os
-re_translation = compile(r'^"(.+)" = "(.*)";$')
+re_translation = compile(r'^"(.+)" = "(.*?)";$')
re_comment_single = compile(r'^/\*.*\*/$')
re_comment_start = compile(r'^/\*.*$')
re_comment_end = compile(r'^.*\*/$')

0 comments on commit bebfd8b

Please sign in to comment.
Something went wrong with that request. Please try again.