14 lines
300 B
Go
14 lines
300 B
Go
package po2json
|
|
|
|
import "testing"
|
|
|
|
func TestAll(t *testing.T) {
|
|
locales := []string{"en_UK", "eu_ES"}
|
|
const domain = "base"
|
|
const localedir = "locales"
|
|
|
|
t.Log(getPOPath(locales[0], domain, localedir))
|
|
t.Log(getPOPath(locales[1], domain, localedir))
|
|
|
|
t.Log(PO2JSON(locales, domain, localedir))
|
|
} |