Fix typo in i18n usage examples
Kubernetes-commit: e9c30951051b66bb5050d0d5bf622d4ef7a4481c
This commit is contained in:
parent
4c8c153513
commit
9a6ad3e08e
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue