From 5710db55d73d724e6df49bbc5e596a5e7ea41da8 Mon Sep 17 00:00:00 2001 From: Yi-Ting Tu Date: Wed, 11 Dec 2024 18:14:18 -0500 Subject: [PATCH] Fix errors due to refactoring --- CONTRIBUTING.md | 8 +------- locales/completeness.json | 15 --------------- src/simulator/index.html | 2 +- src/simulator/js/app.js | 2 +- 4 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 locales/completeness.json diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d696cd6..78e8a330 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,11 +16,8 @@ For direct contributions, see the following guidelines. **Method 2: Via GitHub** (preferred if you use GitHub) 1. Fork this repo and clone locally. If you have forked previously, sync to get the latest changes. - 2. Run `npm install` (you don't need to run build). - 3. Run `npm run add-to-gallery` and follow the instructions there. - 4. Commit your changes, push to your fork, and create a pull request. ## Contributing translations @@ -65,12 +62,9 @@ See Tools -> Others -> Import Modules for more information about modules. See [t **Method 2: Via GitHub** (preferred if you use GitHub) 1. Fork this repo and clone locally. If you have forked previously, sync to get the latest changes. - 2. Run `npm install` (you don't need to run build). - 3. Run `npm run add-to-modules` and follow the instructions there. - -5. Commit your changes, push to your fork, and create a pull request. +4. Commit your changes, push to your fork, and create a pull request. ## More contributions diff --git a/locales/completeness.json b/locales/completeness.json deleted file mode 100644 index 4c74a210..00000000 --- a/locales/completeness.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "de": 54, - "en": 100, - "es": 82, - "fr": 37, - "ja": 57, - "ko": 63, - "nl": 31, - "pl": 74, - "pt-BR": 100, - "ru": 36, - "si": 78, - "zh-CN": 100, - "zh-TW": 100 -} \ No newline at end of file diff --git a/src/simulator/index.html b/src/simulator/index.html index f7213c9e..e1d01cf2 100644 --- a/src/simulator/index.html +++ b/src/simulator/index.html @@ -806,7 +806,7 @@
  • -
  • +
  • diff --git a/src/simulator/js/app.js b/src/simulator/js/app.js index 3f765092..0b486d39 100644 --- a/src/simulator/js/app.js +++ b/src/simulator/js/app.js @@ -1198,7 +1198,7 @@ function initUIText() { setText('tool_TextLabel_mobile_label', i18next.t('main:tools.TextLabel.title')); setText('tool_LineArrow_mobile_label', i18next.t('main:tools.LineArrow.title')); setText('tool_Drawing_mobile_label', i18next.t('main:tools.Drawing.title')); - setText('import_modules', '' + i18next.t('main:tools.modules.import') + ''); + setText('import_modules_mobile', '' + i18next.t('main:tools.modules.import') + ''); setText('view_mobile_text', i18next.t('main:view.title')); setText('mode_rays_mobile_label', i18next.t('main:view.rays.title')); setText('mode_extended_mobile_label', i18next.t('main:view.extended.title'));