echoapi-converter 0.0.56 → 0.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -630,7 +630,7 @@ const resources = {
630
630
  ja: {
631
631
  translation: ja,
632
632
  },
633
- 'zh-hant': {
633
+ tw: {
634
634
  translation: tw,
635
635
  },
636
636
  id: {
@@ -643,6 +643,9 @@ const resources = {
643
643
  */
644
644
  const I18nInit = (lng) => __awaiter(void 0, void 0, void 0, function* () {
645
645
  // language= lng;
646
+ if (lng === 'zh-hant') {
647
+ lng = 'tw';
648
+ }
646
649
  if (!i18nInstance) {
647
650
  i18nInstance = i18next__default["default"].createInstance();
648
651
  yield i18nInstance.init({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoapi-converter",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "echoapi to swagger",
5
5
  "main": "dist/index.js",
6
6
  "files": [