summaryrefslogtreecommitdiff
path: root/mkvlib
diff options
context:
space:
mode:
Diffstat (limited to 'mkvlib')
-rw-r--r--mkvlib/ass.go4
-rw-r--r--mkvlib/mkv.go14
-rw-r--r--mkvlib/shared.go2
3 files changed, 10 insertions, 10 deletions
diff --git a/mkvlib/ass.go b/mkvlib/ass.go
index 6d8e346..4a53a41 100644
--- a/mkvlib/ass.go
+++ b/mkvlib/ass.go
@@ -164,7 +164,7 @@ func (self *assProcessor) parse() bool {
_b = *s.InlineStyle.SSABold
_i = *s.InlineStyle.SSAItalic
} else {
- printLog(self.lcb, `Not Found style in the ass file:"%s" [%s].`, k, v[2])
+ printLog(self.lcb, `Not found style in the ass file:"%s" [%s].`, k, v[2])
ec++
}
break
@@ -208,7 +208,7 @@ func (self *assProcessor) parse() bool {
}
}
if len(self.m) == 0 {
- printLog(self.lcb, `Not Found item in the ass file(s): "%d"`, len(self.files))
+ printLog(self.lcb, `Not found item in the ass file(s): "%d"`, len(self.files))
}
return ec == 0
}
diff --git a/mkvlib/mkv.go b/mkvlib/mkv.go
index 6e52625..01034fa 100644
--- a/mkvlib/mkv.go
+++ b/mkvlib/mkv.go
@@ -67,7 +67,7 @@ func (self *mkvProcessor) DumpMKV(file, output string, subset bool, lcb logCallb
ec := 0
obj := self.GetMKVInfo(file)
if obj == nil {
- printLog(lcb, `Failed to get the mkv file info: "%s".`, file)
+ printLog(lcb, `Failed to get the file info: "%s".`, file)
return false
}
attachments := make([]string, 0)
@@ -124,7 +124,7 @@ func (self *mkvProcessor) DumpMKV(file, output string, subset bool, lcb logCallb
ec++
}
} else {
- printLog(lcb, `This mkv file is not has the subtitles & attachments: "%s"`, file)
+ printLog(lcb, `This file is not has the subtitles & attachments: "%s"`, file)
}
return ec == 0
}
@@ -132,7 +132,7 @@ func (self *mkvProcessor) DumpMKV(file, output string, subset bool, lcb logCallb
func (self *mkvProcessor) CheckSubset(file string, lcb logCallback) (bool, bool) {
obj := self.GetMKVInfo(file)
if obj == nil {
- printLog(lcb, `Failed to get the mkv file info: "%s".`, file)
+ printLog(lcb, `Failed to get the file info: "%s".`, file)
return false, true
}
ass := false
@@ -210,7 +210,7 @@ func (self *mkvProcessor) DumpMKVs(dir, output string, subset bool, lcb logCallb
p = path.Join(output, d, f)
if !self.DumpMKV(item, p, subset, lcb) {
ok = false
- printLog(lcb, `Failed to dump the mkv file "%s".`, item)
+ printLog(lcb, `Failed to dump the file: "%s".`, item)
} else {
_ok++
printLog(lcb, "Dump (%d/%d) done.", _ok, l)
@@ -226,7 +226,7 @@ func (self *mkvProcessor) QueryFolder(dir string, lcb logCallback) []string {
for i, file := range files {
a, b := self.CheckSubset(file, lcb)
if b {
- printLog(lcb, `Failed to check subset for mkv file "%s".`, file)
+ printLog(lcb, `Failed to check subset for file: "%s".`, file)
} else if !a {
lines = append(lines, file)
}
@@ -292,7 +292,7 @@ func (self *mkvProcessor) CreateMKVs(vDir, sDir, fDir, tDir, oDir, slang, stitle
}
if ec > 0 {
ok = false
- printLog(lcb, `Failed to create the mkv/mks file: "%s".`, item)
+ printLog(lcb, `Failed to create the file: "%s".`, item)
} else {
_ok++
printLog(lcb, "Create (%d/%d) done.", _ok, l)
@@ -330,7 +330,7 @@ func (self *mkvProcessor) MakeMKVs(dir, data, output, slang, stitle string, lcb
tracks := append(subs, asses...)
if !self.CreateMKV(item, tracks, attachments, fn, slang, stitle, true) {
ok = false
- printLog(lcb, `Faild to make the mkv file: "%s".`, item)
+ printLog(lcb, `Failed to make the file: "%s".`, item)
} else {
_ok++
printLog(lcb, "Make (%d/%d) done.", _ok, l)
diff --git a/mkvlib/shared.go b/mkvlib/shared.go
index da394d3..edf6d05 100644
--- a/mkvlib/shared.go
+++ b/mkvlib/shared.go
@@ -11,7 +11,7 @@ import (
)
const libName = "mkvlib"
-const libVer = "v2.1.3"
+const libVer = "v2.1.4"
const LibFName = libName + " " + libVer