open-block-explorer
open-block-explorer copied to clipboard
Incorporate localization (i18n)
Description
In order to keep reaching more people we need to incorporate more languages into our sites. For that, it is suggested to import and use the i18n library and change every hard-coded text for the corresponding variable, along with the first traduction to English.
Note: in the case of the fuel.ts file the following code may help to solve the dialog's texts translation:
const $t:(s:string) => string = GreymassFuelService.globals['$t'];
console.log($t('some.path'));