summaryrefslogtreecommitdiffstats
path: root/langs/i18n/translationProvider.go
diff options
context:
space:
mode:
Diffstat (limited to 'langs/i18n/translationProvider.go')
-rw-r--r--langs/i18n/translationProvider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/langs/i18n/translationProvider.go b/langs/i18n/translationProvider.go
index fbeea71d4..d9d334567 100644
--- a/langs/i18n/translationProvider.go
+++ b/langs/i18n/translationProvider.go
@@ -138,6 +138,6 @@ func errWithFileContext(inerr error, r source.File) error {
}
defer f.Close()
- return herrors.NewFileError(inerr, realFilename).UpdateContent(f, nil)
+ return herrors.NewFileErrorFromName(inerr, realFilename).UpdateContent(f, nil)
}