Skip to content

Commit

Permalink
v2 only (#176)
Browse files Browse the repository at this point in the history
fixes #172
  • Loading branch information
nicksnyder authored May 19, 2019
1 parent 3c6ee90 commit be3966f
Show file tree
Hide file tree
Showing 121 changed files with 932 additions and 7,687 deletions.
10 changes: 1 addition & 9 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,5 @@ coverage:
default:
threshold: 50%
project:
default: false
v1:
threshold: 0.1%
paths:
- i18n
- goi18n
v2:
default:
threshold: 0.1%
paths:
- v2
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ output/
*.test
*.swp

v2/example/example
v2/goi18n/goi18n
example/example
goi18n/goi18n

dist/
File renamed without changes.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ language: go

matrix:
include:
- go: 1.2.x
env: PKG='./i18n/... ./goi18n/...'
- go: 1.9.x
env: PKG='./...'
- go: 1.12.x
Expand Down
4 changes: 2 additions & 2 deletions dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

1. Go to http://cldr.unicode.org/index/downloads to find the latest version.
1. Download the latest version of cldr-common (e.g. http://unicode.org/Public/cldr/33/cldr-common-33.0.zip)
1. Unzip and copy `common/supplemental/plurals.xml` to `v2/i18n/internal/plural/codegen/plurals.xml`
1. Run `generate.sh` in `v2/i18n/internal/plural/codegen/`
1. Unzip and copy `common/supplemental/plurals.xml` to `i18n/internal/plural/codegen/plurals.xml`
1. Run `generate.sh` in `i18n/internal/plural/codegen/`
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 7 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
module github.com/nicksnyder/go-i18n
module github.com/nicksnyder/go-i18n/v2

require (
github.com/pelletier/go-toml v1.2.0
github.com/BurntSushi/toml v0.3.0
golang.org/x/crypto v0.0.0-20190506204251-e1dfcc566284 // indirect
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c // indirect
golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b // indirect
golang.org/x/text v0.3.2
golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c // indirect
gopkg.in/yaml.v2 v2.2.1
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
229 changes: 0 additions & 229 deletions goi18n/constants_command.go

This file was deleted.

42 changes: 0 additions & 42 deletions goi18n/constants_command_test.go

This file was deleted.

Loading

1 comment on commit be3966f

@Jibec
Copy link

@Jibec Jibec commented on be3966f Jun 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello, is there a motivation in removing example of json and yaml files?

Please sign in to comment.