Skip to content

Commit

Permalink
Update Localize.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
NikKovIos authored May 28, 2018
1 parent 5fdbace commit 8f841bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Localize.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ let relativeSourceFolder = ""
let patterns = [
"NSLocalized(Format)?String\\(\\s*@?\"([\\w\\.]+)\"", // Swift and Objc Native
"Localizations\\.((?:[A-Z]{1}[a-z]*[A-z]*)*(?:\\.[A-Z]{1}[a-z]*[A-z]*)*)", // Laurine Calls
"L10n.tr\\(key: \"(\\w+)\""// SwiftGen generation
"L10n.tr\\(key: \"(\\w+)\"", // SwiftGen generation
"\"(.*)\".localized" // "exampleKey".localized
]

/*
Expand Down

0 comments on commit 8f841bb

Please sign in to comment.