TranslateWithData translates the key to the language with data
(lang i18n.Language, key string, data any)
| 225 | |
| 226 | // TranslateWithData translates the key to the language with data |
| 227 | func TranslateWithData(lang i18n.Language, key string, data any) string { |
| 228 | return translator.TrWithData(lang, key, data) |
| 229 | } |
| 230 | |
| 231 | // TranslateFn presents a generator of translated string. |
| 232 | // We use it to delegate the translation work outside the plugin. |
nothing calls this directly
no test coverage detected