bigBear713 / nb-trans

an angular(2+) component about i18n.
https://bigbear713.github.io/nb-trans/
MIT License
49 stars 6 forks source link

Rename the name of some enums, constants #13

Closed bigBear713 closed 1 year ago

bigBear713 commented 1 year ago

version: 15.0.0 I think the names of NbTransLangEnum, NB_TRANS_MAX_RETRY_TOKEN and NbTransSentenceItemEnum are not good, so I will rename them in the v15.0.0. The "Enum" is redundant in NbTransLangEnum and NbTransSentenceItemEnum, so I will remove it; NB_TRANS_MAX_RETRY_TOKEN does not meet rules, the "_TOKEN" will be removed

bigBear713 commented 1 year ago

They have been renamed now. NB_TRANS_MAX_RETRY_TOKEN has been rename as NB_TRANS_MAX_RETRY; NbTransLangEnum has been rename as NbTransLang; NbTransSentenceItemEnum has been rename as NbTransSentenceItem;