1
1
package locale
2
2
3
3
import (
4
+ "github.com/nicksnyder/go-i18n/v2/i18n"
4
5
xi18n "github.com/snivilised/extendio/i18n"
5
6
)
6
7
@@ -12,8 +13,8 @@ type ShrinkCmdSamplingFactorInvalidTemplData struct {
12
13
Acceptable string
13
14
}
14
15
15
- func (td ShrinkCmdSamplingFactorInvalidTemplData ) Message () * xi18n .Message {
16
- return & xi18n .Message {
16
+ func (td ShrinkCmdSamplingFactorInvalidTemplData ) Message () * i18n .Message {
17
+ return & i18n .Message {
17
18
ID : "shrink-cmd-sampling-factor-invalid.error" ,
18
19
Description : "shrink command sampling factor failed validation" ,
19
20
Other : "invalid sampling factor value: {{.Value}}, acceptable: {{.Acceptable}}" ,
@@ -49,8 +50,8 @@ type ShrinkCmdInterlaceInvalidTemplData struct {
49
50
Acceptable string
50
51
}
51
52
52
- func (td ShrinkCmdInterlaceInvalidTemplData ) Message () * xi18n .Message {
53
- return & xi18n .Message {
53
+ func (td ShrinkCmdInterlaceInvalidTemplData ) Message () * i18n .Message {
54
+ return & i18n .Message {
54
55
ID : "shrink-cmd-interlace-invalid.error" ,
55
56
Description : "shrink command interlace failed validation" ,
56
57
Other : "invalid interlace value: {{.Value}}, acceptable: {{.Acceptable}}" ,
@@ -85,8 +86,8 @@ type ShrinkCmdOutputPathDoesNotExistTemplData struct {
85
86
Path string
86
87
}
87
88
88
- func (td ShrinkCmdOutputPathDoesNotExistTemplData ) Message () * xi18n .Message {
89
- return & xi18n .Message {
89
+ func (td ShrinkCmdOutputPathDoesNotExistTemplData ) Message () * i18n .Message {
90
+ return & i18n .Message {
90
91
ID : "shrink-cmd-output-path-does-not-exist.error" ,
91
92
Description : "shrink command mirror path does not exist validation" ,
92
93
Other : "output path: {{.Path}}, does not exist" ,
0 commit comments