diff options
Diffstat (limited to 'internal/cmd/import.go')
-rw-r--r-- | internal/cmd/import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmd/import.go b/internal/cmd/import.go index 0bfe6c20..3c0f3b04 100644 --- a/internal/cmd/import.go +++ b/internal/cmd/import.go @@ -95,7 +95,7 @@ func runImportLocale(c *cli.Context) error { if idx > -1 && line[len(line)-1] == '"' { // We still want the "=" sign line = append(line[:idx+1], line[idx+2:len(line)-1]...) - line = bytes.Replace(line, escapedQuotes, regularQuotes, -1) + line = bytes.ReplaceAll(line, escapedQuotes, regularQuotes) } _, _ = tw.Write(line) _, _ = tw.WriteString("\n") |