summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/file.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/file.go b/source/file.go
index c309bbd03..5877004ca 100644
--- a/source/file.go
+++ b/source/file.go
@@ -54,12 +54,13 @@ func (f *File) Bytes() []byte {
return helpers.ReaderToBytes(f.Contents)
}
-// BaseFileName Filename without extension.
+// BaseFileName is a filename without extension.
func (f *File) BaseFileName() string {
return f.baseName
}
-// Filename with no extension, not even the optional language extension part.
+// TranslationBaseName is a filename with no extension,
+// not even the optional language extension part.
func (f *File) TranslationBaseName() string {
return f.translationBaseName
}