Skip to content

Commit

Permalink
fix typo in POEntry.toString
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Feb 28, 2024
1 parent 68d8992 commit cd22ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion I18n/PO/ToString.lean
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def toString (e : POEntry) : String := Id.run do
let msgId := "\"" ++ ("\\n\"\n\"".intercalate <| e.msgId.split (· == '\n')) ++ "\""
let msgStr := "\"" ++ ("\\n\"\n\"".intercalate <| e.msgStr.split (· == '\n')) ++ "\""
out := out.append <| "\nmsgid " ++ msgId
out := out.append <| "\nmsgstr \"" ++ msgStr
out := out.append <| "\nmsgstr " ++ msgStr
return out.trim

instance : ToString POEntry := ⟨POEntry.toString⟩
Expand Down

0 comments on commit cd22ffc

Please sign in to comment.