Skip to content

Commit 2e29238

Browse files
committed
Adapt compilation env.
1 parent 9fca689 commit 2e29238

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Foundation
22

3-
func XCTLocFunc(_ key: String, tableName: String? = nil, bundle: Bundle = Bundle.main, value: String = "", comment: String) -> String {
4-
return NSLocalizedString(key, tableName: tableName, bundle: bundle, value: value, comment: comment)
3+
func XCTLocFunc(forKey key: String, table tableName: String?) -> String {
4+
return NSLocalizedString(key, tableName: tableName, comment: "")
55
}

Tests/Fixtures/Generated/Strings/flat-swift4/compilation-configuration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ common:
44
- 4
55
- 4.2
66
file_specific:
7-
localizable-localizeFunction.swift:
7+
localizable-lookupFunction.swift:
88
files:
99
- Strings-LocalizeFunction.swift

Tests/Fixtures/Generated/Strings/flat-swift5/compilation-configuration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ common:
33
swift_versions:
44
- 5
55
file_specific:
6-
localizable-localizeFunction.swift:
6+
localizable-lookupFunction.swift:
77
files:
88
- Strings-LocalizeFunction.swift

Tests/Fixtures/Generated/Strings/structured-swift4/compilation-configuration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ common:
44
- 4
55
- 4.2
66
file_specific:
7-
localizable-localizeFunction.swift:
7+
localizable-lookupFunction.swift:
88
files:
99
- Strings-LocalizeFunction.swift

Tests/Fixtures/Generated/Strings/structured-swift5/compilation-configuration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ common:
33
swift_versions:
44
- 5
55
file_specific:
6-
localizable-localizeFunction.swift:
6+
localizable-lookupFunction.swift:
77
files:
88
- Strings-LocalizeFunction.swift

0 commit comments

Comments
 (0)