Closed yoichiro closed 6 years ago
@Fleker Could you review this pull request?
Thanks for making these adjustments.
I modified some lines at f6f53c0:
setLocale
instead of the locale
property in the example code: herei18n
JavaScript library: hereimport
from require
to load the i18n module: herei18n.Replacements
instead of the raw type definition {[key: string]: string;}
: here@Fleker @atulep Could you review them again?
The pull request #1 has diffs to support i18n written by JavaScript. But, the original code set was re-written by TypeScript. It seems that the merging #1 was not enough to migrate JavaScript to TypeScript, therefore, some compile errors occur.
By this pull request, I would like to fix the compile errors. Also, it is necessary to copy the
locales
directory to thedist
directory where compiled files are put, thus, I would like to add thecp
command to the build command.