Skip to content

Commit

Permalink
chore: 更新依赖项统一本地化的语言 ID
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Sep 7, 2024
1 parent 16aa87a commit 3898d25
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 35 deletions.
22 changes: 11 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ go 1.22.0
require (
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/issue9/assert/v4 v4.3.0
github.com/issue9/cache v0.17.1
github.com/issue9/cache v0.17.2
github.com/issue9/events v0.9.0
github.com/issue9/logs/v7 v7.6.2
github.com/issue9/logs/v7 v7.6.3
github.com/issue9/mux/v9 v9.1.0
github.com/issue9/rands/v3 v3.0.1
github.com/issue9/web v0.96.5
github.com/issue9/web v0.96.6
github.com/shirou/gopsutil/v4 v4.24.8
golang.org/x/text v0.17.0
golang.org/x/text v0.18.0
)

require (
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/issue9/config v0.7.1 // indirect
github.com/issue9/config v0.7.2 // indirect
github.com/issue9/conv v1.3.5 // indirect
github.com/issue9/errwrap v0.3.2 // indirect
github.com/issue9/localeutil v0.27.1 // indirect
github.com/issue9/localeutil v0.27.2 // indirect
github.com/issue9/query/v3 v3.1.3 // indirect
github.com/issue9/scheduled v0.21.1 // indirect
github.com/issue9/sliceutil v0.16.1 // indirect
github.com/issue9/source v0.11.4 // indirect
github.com/issue9/term/v3 v3.3.0 // indirect
github.com/issue9/source v0.11.5 // indirect
github.com/issue9/term/v3 v3.3.1 // indirect
github.com/issue9/unique/v2 v2.1.0 // indirect
github.com/jellydator/ttlcache/v3 v3.3.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
Expand All @@ -36,9 +36,9 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
44 changes: 22 additions & 22 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/issue9/assert/v4 v4.3.0 h1:W3XDKmttsfzihYGxJ9rJoL2ViJgWERB9IxfHcxjv65U=
github.com/issue9/assert/v4 v4.3.0/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=
github.com/issue9/cache v0.17.1 h1:45hGSy97xCu8r/0cEHLYhrfJJm/Snj5n+ZCpwQqpahw=
github.com/issue9/cache v0.17.1/go.mod h1:BTIMcuEJsvznR3O+4mpuITDDQ7OmblblvUcfCR2/RGQ=
github.com/issue9/config v0.7.1 h1:3JILFsoURtYUKE1gy9V6YgdZo3gUNaqKsvBJ7Kv7sSU=
github.com/issue9/config v0.7.1/go.mod h1:ClHFYQpKZH3INM5S6N4F4Urjy29ib4K1kF13Iahd/WE=
github.com/issue9/cache v0.17.2 h1:LXauNzKKPlHgjRAMerNRmhbY0RA0YMf3GjExwAS7rdM=
github.com/issue9/cache v0.17.2/go.mod h1:1mmzvaHSL+gSqLVieLy1/o0QQmx8rdNQGBHANUup7KQ=
github.com/issue9/config v0.7.2 h1:lqYAkO+RyzCvGPZd3y3V/X6XlT6yhXtbmPWv0o2duBE=
github.com/issue9/config v0.7.2/go.mod h1:LTIhGObilEQVX5kTbggyW3g4wjqKaVwIc7wEE93gYtI=
github.com/issue9/conv v1.3.5 h1:UWeA+Zqp5vjNDLrmhLhaXPjS1hL8gh4quX6Shk5njKQ=
github.com/issue9/conv v1.3.5/go.mod h1:lkZYMyrmxy+HK//N4eLmwUl9mCwj0zgeTjnxgl/w7hM=
github.com/issue9/errwrap v0.3.2 h1:7KEme9Pfe75M+sIMcPCn/DV90wjnOcRbO4DXVAHj3Fw=
github.com/issue9/errwrap v0.3.2/go.mod h1:KcCLuUGiffjooLCUjL89r1cyO8/HT/VRcQrneO53N3A=
github.com/issue9/events v0.9.0 h1:P1uoLkEeZ1EcV9kTGzhJStglkJ1rNGzFYNhacWg4WS8=
github.com/issue9/events v0.9.0/go.mod h1:7rdiy2zeMKDsgejo0JxYsIXj5fVCVUxX/l/ABmOqfiE=
github.com/issue9/localeutil v0.27.1 h1:4xXFre80erqVXFgWX3YpdVnHBUOWS6W1vJjWtOvczXQ=
github.com/issue9/localeutil v0.27.1/go.mod h1:huwbPnXEl1jU2SBIm/FLNWfL7ZJKBjP7J34+A/OE4yQ=
github.com/issue9/logs/v7 v7.6.2 h1:Hhz7xIw5VHF8wdJoAFQbOeRNeFCUz4EnSZKupLTu5bs=
github.com/issue9/logs/v7 v7.6.2/go.mod h1:ICJvZuHnRJ8L+KP0NWKIPr/8LzK6DYhxSymp4RVnzbc=
github.com/issue9/localeutil v0.27.2 h1:RkFLlDS/0W/YEIUUPyokdtegTp+DFMZ7/iR1V9OHUQg=
github.com/issue9/localeutil v0.27.2/go.mod h1:IEm/2ehzJQ1M4XSnrWOhGeV+uF624oga53IgNBZ/jg0=
github.com/issue9/logs/v7 v7.6.3 h1:U1h/54VSPabetWx15P7XoteriDxZ5qTpL/SgK9xBvzk=
github.com/issue9/logs/v7 v7.6.3/go.mod h1:a92b3vx7RqH3nMHvzOR7EKRwOWlOT1f4+Gg9wjcKIeo=
github.com/issue9/mux/v9 v9.1.0 h1:KFvCugh4eQf/2QiLVJOa2AzOEdGpG5xe7+JiqZCYluE=
github.com/issue9/mux/v9 v9.1.0/go.mod h1:lhKQh+boCGOP5yCEAQx7tb24nUsxT57ygU0gqD6/Vgg=
github.com/issue9/query/v3 v3.1.3 h1:Y6ETEYXxaKqhpM4lXPKCffhJ72VuKQbrAwgwHlacu0Y=
Expand All @@ -35,14 +35,14 @@ github.com/issue9/scheduled v0.21.1 h1:3nwy95nubBorKoXmJHb7ySsQy2MYQ627hiYqy+q1v
github.com/issue9/scheduled v0.21.1/go.mod h1:5NDYPb9bCWdeMWq71D8GtuWy9Ty8oe0r674BWIZBoe8=
github.com/issue9/sliceutil v0.16.1 h1:NVZ2feN014oUmMpZvZUrKkKMGhAfzT8WNzJF81krebM=
github.com/issue9/sliceutil v0.16.1/go.mod h1:ldun6sT4/bOJxuMtOXhtc6P7GCwE7L+avV86HNks7qk=
github.com/issue9/source v0.11.4 h1:lqo9oRCbaUPdhJ+DkWnOyfY8O39AceY7lLZc6hRd4hM=
github.com/issue9/source v0.11.4/go.mod h1:i1/rsLc6K9DCf6xg9uQCEnSn9pzoN8a080oNLLpufw0=
github.com/issue9/term/v3 v3.3.0 h1:Sxb0LVI5kSmBXA4FktbxGd5EsmySJ/+zybBATaTcI2I=
github.com/issue9/term/v3 v3.3.0/go.mod h1:Rgs2wbK7uLH4N3eI4Wl339/8iqE0uy827XLI43M9Fjw=
github.com/issue9/source v0.11.5 h1:eJm9PnJoitJWlbxHI6WqpScBq81X+V9KYZUvBonkl8U=
github.com/issue9/source v0.11.5/go.mod h1:TWal3FzPSmTb8DsJepADSNjxz6Sv5+zOoE0yxl3ZL/w=
github.com/issue9/term/v3 v3.3.1 h1:y1Wb1r4LZExDsPHEm1xcI281MXJhRA4J92mT0q0mgsc=
github.com/issue9/term/v3 v3.3.1/go.mod h1:EA+xIZV76zi6EivlS/do4zz8baiu21DW134ef+Zvi8U=
github.com/issue9/unique/v2 v2.1.0 h1:lE9hstenrbBgDM/Iulv7d75qAYpgoDV8rSRoLmEBHOk=
github.com/issue9/unique/v2 v2.1.0/go.mod h1:qZoDKnfu+7Q0yxhifVseRKD2Wea9Tc9zdXwALnFc54A=
github.com/issue9/web v0.96.5 h1:5OD9J6wsoPOJ7pkBQoiBsQ/qCiVFsla0hWfFMn6yBY4=
github.com/issue9/web v0.96.5/go.mod h1:UQQx1haRprZGAd6PCmUbn7IVSXbwxJ/UlGfc0c5qCFY=
github.com/issue9/web v0.96.6 h1:mGpSh7BOxsidUq3DgtgIh1HPEdHwAOJLX49hMycjVNQ=
github.com/issue9/web v0.96.6/go.mod h1:XG3VYdXhJ1QM1tLURZiaY6TxQ4J/DSbccoc6IUV0x2g=
github.com/jellydator/ttlcache/v3 v3.3.0 h1:BdoC9cE81qXfrxeb9eoJi9dWrdhSuwXMAnHTbnBm4Wc=
github.com/jellydator/ttlcache/v3 v3.3.0/go.mod h1:bj2/e0l4jRnQdrnSTaGTsh4GSXvMjQcy41i7th0GVGw=
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
Expand All @@ -69,21 +69,21 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0=
golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg=
golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc=
golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224=
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 h1:LLhsEBxRTBLuKlQxFBYUOU8xyFgXv6cOTp2HASDlsDk=
golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY=
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down
2 changes: 1 addition & 1 deletion locales/zh-CN.yaml → locales/cmn-Hans.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id: zh-CN
id: cmn-Hans
messages:
- key: can not get the ip
message:
Expand Down
2 changes: 1 addition & 1 deletion webuse.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: MIT

//go:generate web locale -l=und -m -f=yaml ./
//go:generate web update-locale -src=./locales/und.yaml -dest=./locales/zh-CN.yaml
//go:generate web update-locale -src=./locales/und.yaml -dest=./locales/cmn-Hans.yaml

// Package webuse 适用 [web] 的中间件、插件和一些常用的路由函数
//
Expand Down

0 comments on commit 3898d25

Please sign in to comment.