Skip to content

Commit

Permalink
Fix errors due to refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Dec 11, 2024
1 parent c16d6f9 commit 5710db5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 24 deletions.
8 changes: 1 addition & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
15 changes: 0 additions & 15 deletions locales/completeness.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/simulator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@
<label id="tool_Drawing_mobile_label" class="btn btn-primary dropdown-item" for="tool_Drawing_mobile"></label>
</li>
<li><hr class="dropdown-divider"></li>
<li id="module_start_mobile"><button class="dropdown-item" type="button" id="import_modules" data-bs-toggle="modal" data-bs-target="#moduleModal"></button></li>
<li id="module_start_mobile"><button class="dropdown-item" type="button" id="import_modules_mobile" data-bs-toggle="modal" data-bs-target="#moduleModal"></button></li>
</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/simulator/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', '<i>' + i18next.t('main:tools.modules.import') + '</i>');
setText('import_modules_mobile', '<i>' + i18next.t('main:tools.modules.import') + '</i>');
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'));
Expand Down

0 comments on commit 5710db5

Please sign in to comment.