Skip to content

Commit

Permalink
Fix for incorrectly specified arguments order. Version 2.53
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Krasnocka committed Sep 4, 2023
1 parent c17cc5b commit 84d556c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Binary file not shown.
8 changes: 7 additions & 1 deletion LocsUtil/LocsGenerator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class LocsGenerator: NSObject {
var xlsxReader: XlsxReader
let langRowIndex = 0 // Language definitions - row index in XSLSX document
let keyColumnId = "A" // Key definitions - column index in XSLSX document
let version = "2.52"
let version = "2.53"

override init() {
// csvReader = CsvReader()
Expand Down Expand Up @@ -222,6 +222,12 @@ class LocsGenerator: NSObject {
output = output.replacingOccurrences(of: String(format: "%%%d$s", i), with: String(format: "%%%d$@", i))
}

for i in 1..<10 {
output = output.replacingOccurrences(of: String(format: "%%%ds", i), with: String(format: "%%%d$@", i))
}
for i in 1..<10 {
output = output.replacingOccurrences(of: String(format: "%%%dd", i), with: String(format: "%%%d$d", i))
}
return output
}

Expand Down
Binary file modified bin/locsutil
Binary file not shown.

0 comments on commit 84d556c

Please sign in to comment.