From 7c6508d75732c7b2b41bc9f46ce9e9a3c7fefff4 Mon Sep 17 00:00:00 2001 From: Nick Snyder Date: Wed, 31 Jan 2024 11:42:29 -0800 Subject: [PATCH] Fix readme links --- .github/README.zh-Hans.md | 4 ++-- README.md | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/README.zh-Hans.md b/.github/README.zh-Hans.md index bec8b142..a7f2c4bc 100644 --- a/.github/README.zh-Hans.md +++ b/.github/README.zh-Hans.md @@ -18,7 +18,7 @@ go-i18n 是一个帮助您将 Go 程序翻译成多种语言的 Go [包](#packag ## i18n 包 -[![GoDoc](https://pkg.go.dev/github.com/nicksnyder/go-i18n?status.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/i18n) +[![Go Reference](https://pkg.go.dev/badge/github.com/nicksnyder/go-i18n/v2/i18n.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/i18n) i18n 包支持根据一组语言环境首选项来查找消息。 @@ -77,7 +77,7 @@ localizer.Localize(&i18n.LocalizeConfig{ ## goi18n 命令 -[![GoDoc](https://pkg.go.dev/github.com/nicksnyder/go-i18n?status.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/goi18n) +[![Go Reference](https://pkg.go.dev/badge/github.com/nicksnyder/go-i18n/v2/goi18n.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/goi18n) goi18n 命令管理 i18n 包所使用的消息文件。 diff --git a/README.md b/README.md index eba36968..c6e09f95 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ go-i18n is a Go [package](#package-i18n) and a [command](#command-goi18n) that h ## Package i18n -[![GoDoc](https://pkg.go.dev/github.com/nicksnyder/go-i18n?status.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/i18n) + +[![Go Reference](https://pkg.go.dev/badge/github.com/nicksnyder/go-i18n/v2/i18n.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/i18n) The i18n package provides support for looking up messages according to a set of locale preferences. @@ -74,7 +75,8 @@ localizer.Localize(&i18n.LocalizeConfig{ ``` ## Command goi18n -[![GoDoc](https://pkg.go.dev/github.com/nicksnyder/go-i18n?status.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/goi18n) + +[![Go Reference](https://pkg.go.dev/badge/github.com/nicksnyder/go-i18n/v2/goi18n.svg)](https://pkg.go.dev/github.com/nicksnyder/go-i18n/v2/goi18n) The goi18n command manages message files used by the i18n package.