Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 only #176

Merged
merged 8 commits into from
May 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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