We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aebe1bd commit 48a9a71Copy full SHA for 48a9a71
1 file changed
LocalizedCSV/LocalizedCSV/FindLocalizeStringKit.swift
@@ -42,6 +42,9 @@ class FindLocalizeStringKit {
42
let files = FileKit.findAllFiles(path: path)
43
/* 遍历所有的文件 */
44
for file in files {
45
+ if let _ = file.range(of: "SOADefineFunction.h") {
46
+ print("\(file)")
47
+ }
48
/* 开始查找之前 回调正在查找的文件路径 */
49
if let completionLog = self.completionLog {
50
completionLog(file)
@@ -95,10 +98,7 @@ class FindLocalizeStringKit {
95
98
/* 查找多语言的中间的文本 */
96
99
let filter = filterBrackets(string: subString)
97
100
var parseString = filter.result
- /* 如果查找的字符串不存在@"则直接返回 */
- guard let _ = parseString.range(of: "@\"") else {
- return localizeString
101
- }
+
102
/* 多语言的 Key */
103
var key:String?
104
/* 多语言的值 */
0 commit comments