Skip to content

Commit d058f4d

Browse files
minuscorpsebastianvarela
authored andcommitted
Bump version
- Fixes a bug where trailing character was being deleted from the translation source.
1 parent 6831115 commit d058f4d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

POEditorParser.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "POEditorParser"
4-
s.version = "0.3.6"
4+
s.version = "0.3.7"
55
s.summary = "`POEditorParser` generates a swift file with an input strings file from POEditor."
66

77
s.description = <<-DESC

Sources/POEditorParser/Lib/LiteralsParser.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public class StringTranslationParser: TranslationParser {
278278
s.scanLocation += 2
279279
var finalValue: NSString?
280280
if let value = value {
281-
finalValue = value.substring(to: value.length - 1).unescaped as NSString
281+
finalValue = value.substring(to: value.length).unescaped as NSString
282282
}
283283

284284
translations.append(Translation(rawKey: key! as String, rawValue: finalValue as String? ?? ""))

bin/poe

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)