po2json/po2json_test.go

14 lines
300 B
Go
Raw Permalink Normal View History

2022-10-16 16:34:39 +02:00
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))
}