You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

generate_test.go 238 B

3 years ago
1234567891011121314
  1. package i18n
  2. import "testing"
  3. func TestGenerateI18nStrings(t *testing.T) {
  4. dataEn := parseToData()
  5. writeI18nFile("en", dataEn)
  6. dataZh := readI18nFile("zh")
  7. println(dataZh)
  8. applyData(dataEn, dataZh)
  9. writeI18nFile("zh", dataEn)
  10. }

基于Casbin的开源AI领域知识库平台

Contributors (1)