update module to own version
This commit is contained in:
6
mo.go
6
mo.go
@@ -17,7 +17,7 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/leonelquinteros/gotext/plurals"
|
||||
"git.deineagentur.com/DeineAgenturUG/gotext/plurals"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -41,7 +41,7 @@ Example:
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/leonelquinteros/gotext"
|
||||
"git.deineagentur.com/DeineAgenturUG/gotext"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -502,7 +502,7 @@ func (mo *Mo) GetNCE(str, plural string, n int, ctx string, vars ...interface{})
|
||||
if _, ok := mo.contexts[ctx][str]; ok {
|
||||
if fmt, ok := mo.contexts[ctx][str].GetNE(mo.pluralForm(n)); ok {
|
||||
return Printf(fmt, vars...), true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user