mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Fix typo in i18n usage examples
This commit is contained in:
parent
f84b2f0254
commit
e9c3095105
@ -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
Block a user