Skip to content

Commit d00a951

Browse files
committed
Enhance an option description
1 parent ff9f710 commit d00a951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LocMapper CLI/Commands/UpdateXcodeStringsFromCode.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ struct UpdateXcodeStringsFromCode : ParsableCommand {
8787
var rootFolder: String
8888

8989
@Argument(help: #"""
90-
When using genstrings in UIKit/AppKit mode, will pass “MY_TABLE MyTable” (two arguments) to convert `NSLocalizedString("MyString", tableName: MY_TABLE, comment: "This comment!")` into `NSLocalizedString("MyString", tableName: "MyTable", comment: "This comment!")` for instance.
91-
When using genstrings in SwiftUI mode, will do the same but the replacement will not be quoted (e.g. with “MyText Text”, `MyText("loc-key")` will be replaced by `Text("loc-key")`).
90+
When using genstrings in UIKit/AppKit mode, passing e.g. “MY_TABLE MyTable” (two arguments) will convert `NSLocalizedString("MyString", tableName: MY_TABLE, comment: "This comment!")` into `NSLocalizedString("MyString", tableName: "MyTable", comment: "This comment!")`.
91+
When using genstrings in SwiftUI mode, the same is done, but the replacement will not be quoted (e.g. with “MyText Text”, `MyText("loc-key")` will be replaced by `Text("loc-key")`).
9292
"""#)
9393
var tableDefinesToValuesMapping = [String]()
9494

0 commit comments

Comments
 (0)