mirror of
https://github.com/codex-team/editor.js
synced 2024-06-27 18:01:14 +02:00
12 lines
265 B
TypeScript
12 lines
265 B
TypeScript
|
/**
|
||
|
* Describes Editor`s I18n API
|
||
|
*/
|
||
|
export interface I18n {
|
||
|
/**
|
||
|
* Perform translation with automatically added namespace like `tools.${toolName}` or `blockTunes.${tuneName}`
|
||
|
*
|
||
|
* @param dictKey - what to translate
|
||
|
*/
|
||
|
t(dictKey: string): string;
|
||
|
}
|