Skip to content

Commit

Permalink
Fix the genstrings.py regex conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
rokoroku committed Nov 23, 2015
1 parent 4e8a8db commit 9c03843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def fetch_files_recursive(directory, extension):
localizedStringNil = re.compile('NSLocalizedString\("([^"]*)",\s*nil\s*\)', re.DOTALL)
localized = re.compile('Localized\("([^"]*)"[^\n\r]*\)', re.DOTALL)
localizedSwift2 = re.compile('"([^"]*)".localized\(\)', re.DOTALL)
localizedSwift2WithFormat = re.compile('"([^"]*)".localizedWithFormat\(.*\)', re.DOTALL)
localizedSwift2WithFormat = re.compile('"([^"]*)".localizedWithFormat\([^\n\r]*\)', re.DOTALL)

# get string list
uid = 0
Expand Down

0 comments on commit 9c03843

Please sign in to comment.