From 9a6ad3e08e283873ae0d103c3194cac5d97ff97f Mon Sep 17 00:00:00 2001 From: Yihao Wang Date: Wed, 17 Jan 2024 13:12:21 +1300 Subject: [PATCH] Fix typo in i18n usage examples Kubernetes-commit: e9c30951051b66bb5050d0d5bf622d4ef7a4481c --- pkg/util/i18n/translations/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/i18n/translations/README.md b/pkg/util/i18n/translations/README.md index 6318ffe6..a9718046 100644 --- a/pkg/util/i18n/translations/README.md +++ b/pkg/util/i18n/translations/README.md @@ -72,7 +72,7 @@ import pkg/i18n translated := i18n.T("Your message in english here") // Get a translated plural string -translated := i18n.T("You had % items", items) +translated := i18n.T("You had %d items", items) // Translated error return i18n.Error("Something bad happened")