Compare commits

...
68 Commits
Author SHA1 Message Date
Stefan Dej fe04944c79 chore: push version number to v2.3.0-beta1 (#1060) 2022-09-04 20:49:52 +02:00
Stefan Dej 6fefc98da6 fix: remove scrollbar on init load of status panel (#1059) 2022-09-04 20:11:44 +02:00
Stefan Dej 0570568322 fix: fix dep loading issue after update vite (#1058) 2022-09-04 19:37:02 +02:00
dependabot[bot] 9a5b230ffa build(deps-dev): bump vite from 2.8.6 to 2.9.13 (#1051)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 22:29:27 +02:00
th33xitus da569fc9f7 fix: use correct unit for pressure advance (#1053) 2022-09-03 22:23:32 +02:00
Stefan Dej 719b5c4b01 fix: combine small entries in history pie chart (#1056) 2022-09-03 22:21:31 +02:00
Stefan Dej 28e1ec384d feat: export only selected jobs from print history (#1055) 2022-09-03 21:41:21 +02:00
th33xitus 6387431ce8 feat: show nozzle size in estimated extrusion info (#1048) 2022-08-28 15:55:04 +02:00
th33xitus fd79316799 feat: add Turkish localization (#1049) 2022-08-28 15:54:33 +02:00
Stefan Dej 05672b55c1 fix: fix progress above 100% with filament based calculation (#1042) 2022-08-23 23:37:21 +02:00
Stefan Dej cbb70759f5 feat: add multiselect to timelapse file manager (#1039) 2022-08-23 23:36:56 +02:00
Stefan Dej 99075fb259 feat: add button to edit crowsnest.conf in webcam settings (#1037) 2022-08-23 23:36:41 +02:00
Stefan Dej 14f6799489 fix: fix type issue in releaseName parsing (#1043) 2022-08-23 23:35:52 +02:00
Stefan Dej 24d5668a65 feat: add exclude objects in G-Code Viewer (#1028) 2022-08-20 20:51:03 +02:00
srbjessenandth33xitus 2b5ea0f66e locale(da): update Danish localization (#1026)
Co-authored-by: th33xitus <th33xitus@googlemail.com>
2022-08-17 23:05:04 +02:00
chai-md e75f0bcee8 locale(ja): update Japanese localization (#1030) 2022-08-17 23:04:43 +02:00
Stefan Dej 8e562c7bba chore: fix issues with auto analyze workflow (#1031) 2022-08-16 23:32:13 +02:00
Stefan Dej 5f2f7ddc9f chore: add github_token to auto-analyze.yml (#1029) 2022-08-15 22:55:49 +02:00
Stefan Dej 349372fd64 feat: add warnings if gcodes/config root dirs don't exists (#1018) 2022-08-15 18:15:24 +02:00
Stefan Dej 157e099964 fix: add missing locale to factory restart options (#1023)
Signed-off-by: Stefan Dej <meteyou@gmail.com>

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-08-12 23:36:17 +02:00
th33xitus fe9995882a refactor: remove input validation from MoveToInput (#1022) 2022-08-12 19:47:47 +02:00
th33xitus d8377ac6e5 fix: global form validation error misalignment (#1020) 2022-08-12 10:22:57 +02:00
th33xitus b16c1cfdd2 fix: webcam name input alignment (#1019) 2022-08-12 10:22:21 +02:00
Stefan Dej 8c1f09d909 fix: distro output for armbian in SystemPanel (#1021) 2022-08-12 10:21:21 +02:00
Stefan Dejandth33xitus 1f71d2dbbc feat: add temperatures to gcode files list (#1017)
Co-authored-by: th33xitus <th33xitus@googlemail.com>
2022-08-12 10:21:05 +02:00
Stefan Dejandth33xitus f55b58a2a9 feat: add option to switch print progress calculation (#1013)
Co-authored-by: th33xitus <domwil1091+github@gmail.com>
2022-08-09 19:38:04 +02:00
Stefan Dej 8d7e4c1ea4 locale(de): update German localization (#1015) 2022-08-08 22:58:52 +02:00
th33xitus 4357b8c9d6 refactor: move firmware retraction settings to Extruder panel (#1003) 2022-08-07 22:53:46 +02:00
Stefan Dejandth33xitus 46f0879677 feat: add defaultLocale in config.json (#1010)
Co-authored-by: th33xitus <domwil1091+github@gmail.com>
2022-08-07 22:53:29 +02:00
Stefan Dejandth33xitus 1d117ed82f refactor: change remoteMode to instancesDB in config.json (#997)
Co-authored-by: th33xitus <domwil1091+github@gmail.com>
2022-08-06 21:58:56 +02:00
th33xitus 2eb34007e1 feat: show current bed mesh profile name in toolhead panel (#1000)
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-08-06 21:30:23 +02:00
th33xitus 4c9aab5a2d fix(Heightmap): improve input validation for rename profile dialog (#1002)
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-08-06 21:13:28 +02:00
Stefan Dejandth33xitus 98439b916b chore: add auto-analyze.yml action (#1009)
Co-authored-by: th33xitus <domwil1091+github@gmail.com>
2022-08-06 21:12:07 +02:00
th33xitus 24932c088f fix: divider in temperature presets is transparent (#1004) 2022-08-06 21:06:08 +02:00
Stefan Dej 69f30ed460 chore: switch to new stale workflow (#1007) 2022-08-06 19:33:12 +02:00
Stefan Dejandth33xitus 1709001c8b chore: add LGTM action (#1008)
Co-authored-by: th33xitus <domwil1091+github@gmail.com>
2022-08-06 19:21:57 +02:00
Stefan Dej f277193082 chore: change workflow action to dessant/label-actions (#1005) 2022-08-05 23:57:49 +02:00
ssendev 8af3f92a60 fix: hide TemperaturePanel if no sensors would be shown (#982) 2022-08-05 17:40:08 +02:00
Stefan Dej 79bc61780c fix: reset webcam store on printer switch (#996) 2022-08-02 20:28:43 +02:00
Stefan Dej 2b626474b4 fix: fix output with number groupings & add slicer in csv header (#967) 2022-08-02 08:32:56 +02:00
CodingJustForRun 09ab1077a1 locale(hu): update Hungarian localization (#986) 2022-08-01 23:40:44 +02:00
th33xitus c2ddac3e2f refactor: reverse order of negative offset values in inline z-offset value layout (#987) 2022-08-01 23:38:33 +02:00
th33xitus 9474ae614d feat: download button for crowsnest.log and sonar.log (#991) 2022-08-01 23:38:05 +02:00
th33xitus fa2f07fc22 feat: improve load/unload filament button logic in Extruder panel (#989) 2022-08-01 23:37:39 +02:00
th33xitus afb041a5fa fix(timelapse): renaming a .zip file caused extension to become .mp4 (#992) 2022-08-01 23:37:04 +02:00
Stefan Dej f27a7770a9 feat: rotate webcam in Mjpegstreamer-adaptive mode (#923) 2022-08-01 21:29:10 +02:00
dependabot[bot] 5ce78fae4a build(deps): bump terser from 5.12.1 to 5.14.2 (#981)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 08:46:27 +02:00
th33xitus 6f68709f21 feat: allow for more decimal places in move-to-input (#976) 2022-07-26 18:20:42 +02:00
Stefan Dej 8ab59b642a chore: update codemirror to v6 (#975)
* chore: update to codemirror 6
* fix: gcodeviewer version number

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-07-18 11:13:13 +02:00
Stefan Dej 2d7a5b5845 Revert "chore: update codemirror to v6" (#974) 2022-07-18 11:11:46 +02:00
Stefan Dej a4e268e543 fix: remove js scrollbars in body & editor (#962) 2022-07-18 00:49:00 +02:00
Stefan Dej f4ed91e515 chore: update codemirror to v6 (#795) 2022-07-18 00:48:34 +02:00
Stefan Dej 15b12a68e5 chore: add workflow to answer on issues with specified labels (#969) 2022-07-15 20:15:37 +02:00
ZISQO 7f57f8b9aa locale(ko-kr): update Korean localization (#926) 2022-07-15 00:36:43 +02:00
Stefan Dej 1f9d8e86be feat: init interface before display panels (#961) 2022-07-15 00:24:39 +02:00
Stefan Dej 7536bce10d chore: update develop branch with master bugfixes (#965) 2022-07-14 22:56:17 +02:00
Samuel-0-0andStefan Dej 4bd2d28f4b locale(zh): update Chinese localization (#938)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-07-10 22:08:25 +02:00
Stefan Dej c514b3f130 fix: match mcu temp sensor of additional mcus (#957)
Signed-off-by: Stefan Dej meteyou@gmail.com
2022-07-10 22:07:19 +02:00
Stefan Dej 46aa7cc7c6 fix: add fallback for gcode files without thumbnail (#959)
Signed-off-by: Stefan Dej meteyou@gmail.com
2022-07-10 22:06:49 +02:00
th33xitusandStefan Dej d1c1b077d8 refactor: refactor code in Gcodefiles.vue (#910)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-07-10 21:56:43 +02:00
Eike Ahmelsandth33xitus ea8e8e8caa fix(editor): partial improvement of config syntax highlighting (#612)
Co-authored-by: th33xitus <th33xitus@googlemail.com>
2022-07-10 18:08:33 +02:00
th33xitusandStefan Dej 3beeacb4ee chore: update CONTRIBUTING.md (#902)
* wip

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: add DCO

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* chore: update CONTRIBUTING.md

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: update link

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: update link

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: update link

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* docs: spellcheck

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* chore: prefer using `fix` / `fixes` in PR body

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-07-09 10:33:49 +02:00
th33xitus 7da894d55e feat: allow collapsing of config file panel (#943) 2022-07-09 01:30:19 +02:00
pataar d48d05bebe ci: test docker building during PR (#952)
* ci: test docker building during PR

* format
2022-07-08 14:25:08 +02:00
Markus Küffner 5f3d80dd5b build(docker): set platform for build target (#951) 2022-07-08 14:17:07 +02:00
Markus Küffner e5d4e6243a chore(docker): Add linux/arm/v7 architecture to Docker builds (#949) 2022-07-08 12:33:37 +02:00
Stefan Dej 1e0645be6e fix: create folders with spaces in the name (#942) 2022-07-03 09:03:31 +02:00
BastelKlug eb1d3c1475 feat(editor): add .css language support (#936) 2022-06-29 08:48:40 +02:00
107 changed files with 5491 additions and 3549 deletions

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@ VUE_APP_PORT=7125
# reconnect interval in ms
VUE_APP_RECONNECT_INTERVAL=5000
# remote mode
VUE_APP_REMOTE_MODE=false
# where should mainsail read the instances from (moonraker, browser or json)
VUE_APP_INSTANCES_DB="moonraker"
# defaults for multi language tests
VUE_APP_I18N_LOCALE=en
@@ -0,0 +1,36 @@
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
+23
View File
@@ -0,0 +1,23 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions
not on Github:
issues:
comment: |
Ahoi!
It looks like this ticket is a request for help (or similar).
Many helpful people will not see your message here and you are
unlikely to get a useful response.
We use github to handle bugreports, feature requests and
planning new releases.
Please use our Discord-Server for help: [discord.gg/mainsail](https://discord.gg/mainsail)
This ticket will be automatically closed.
Fair wind and a following sea!
~ Your friendly MainsailGithubBot
*PS: I'm just an automated script, not a real sailor.*
close: true
+38
View File
@@ -0,0 +1,38 @@
name: 'Auto analyze if package.json was edited'
on:
pull_request:
branches:
- develop
permissions:
pull-requests: write
jobs:
auto-analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Check package.json was changed
id: changed-file-package-json
uses: tj-actions/changed-files@v23
with:
sha: ${{ github.event.pull_request.head.sha }}
- name: Install node
uses: actions/setup-node@v3
if: contains(steps.changed-file-package-json.outputs.modified_files, 'package.json')
with:
node-version: '16'
cache: 'npm'
- uses: preactjs/compressed-size-action@v2
if: contains(steps.changed-file-package-json.outputs.modified_files, 'package.json')
with:
strip-hash: "\\b\\w{8}\\."
pattern: './dist/**/*.{js,css,html,json,woff2,svg,png}'
exclude: '{./dist/manifest.json,./dist/build.zip,**/*.map,**/node_modules/**}'
-19
View File
@@ -1,19 +0,0 @@
name: No Response
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
- cron: '5 * * * *'
jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
daysUntilClose: 7
responseRequiredLabel: ❔ User Input
+19
View File
@@ -0,0 +1,19 @@
name: 'Label Actions'
on:
issues:
types: [labeled, unlabeled]
pull_request:
types: [labeled, unlabeled]
permissions:
contents: read
issues: write
pull-requests: write
discussions: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v2
+18
View File
@@ -0,0 +1,18 @@
name: Send LGTM reaction
on:
issue_comment:
types: [created]
pull_request_review:
types: [submitted]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1.0.0
- uses: micnncim/action-lgtm-reaction@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }}
with:
trigger: '["^(?i)lgtm!*$"]'
source: 'giphy'
+5 -3
View File
@@ -5,6 +5,9 @@ on:
branches: ['master', 'develop']
tags:
- '*'
pull_request:
branches:
- '*'
env:
REGISTRY: ghcr.io
@@ -37,7 +40,6 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
type=edge,branch=develop
type=ref,event=tag
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
@@ -47,7 +49,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm64
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+56
View File
@@ -0,0 +1,56 @@
name: 'Close stale issues and PRs'
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
- cron: '*/5 * * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
days-before-stale: 14
days-before-close: 7
exempt-all-milestones: true
close-issue-reason: not_planned
only-labels: '❔ User Input'
labels-to-remove-when-unstale: '❔ User Input,💤 Stale'
stale-issue-label: '💤 Stale'
stale-pr-label: '💤 Stale'
stale-issue-message: |
Ahoi!
It looks like there hasn't been any recent updates on
this issue. If you created this issue and no longer
consider it to get merged, then please login to github
and close it. Otherwise, if there is no further activity
on this issue, it will be automatically closedwithin the
next 7 days.
Fair wind and a following sea!
~ Your friendly MainsailGithubBot
*PS: I'm just an automated script, not a real sailor.*
stale-pr-message: |
Ahoi!
It looks like there hasn't been any recent updates on
this pull request. If you created this pull request and
no longer consider it to get merged, then please login
to github and close it. Otherwise, if there is no further
activity on this pull request, it will be automatically
closed within the next 7 days.
Fair wind and a following sea!
~ Your friendly MainsailGithubBot
*PS: I'm just an automated script, not a real sailor.*
+69 -25
View File
@@ -1,43 +1,87 @@
# Mainsail Contributing Guide
# Contributing to Mainsail
Hi! I'm really excited that you are interested in contributing to Mainsail. Before submitting your contribution, please make sure to take a moment and read through the following guidelines:
If you are reading this document right now, you are probably considering contributing to Mainsail and making it better
than it is today. Thank you for taking that initiative! Before submitting your contribution, please take a moment and
make sure to read through our contribution guidelines:
- [Code of Conduct](https://github.com/meteyou/mainsail/.github/CODE_OF_CONDUCT.md)
- [Issue Reporting Guidelines](#issue-reporting-guidelines)
- [Pull Request Guidelines](#pull-request-guidelines)
- [Code of Conduct](https://github.com/mainsail-crew/mainsail/blob/develop/.github/CODE_OF_CONDUCT.md)
- [Question or Problem?](#question)
- [Issues and Bugs](#issue)
- [Feature Requests](#feature)
- [Submission Guidelines](#submit)
- [Submit an Issue](#submit-issue)
- [Submit a Pull Request](#submit-pr)
- [Financial Contributions](#financial)
- [Credits](https://docs.mainsail.xyz/credits)
## Issue Reporting Guidelines
## <a name="question"></a> Got a Question or Problem?
- Use [https://github.com/meteyou/mainsail/issues](https://github.com/meteyou/mainsail/issues) to create new issues.
Please do not open issues for general support questions. We want to keep GitHub issues for bug reports and feature
requests. Instead, please visit us on [Discord](https://discord.gg/mainsail) to ask support-related questions.
## Pull Request Guidelines
Our Discord server is a much better place to ask general support questions. We take a right to close issues that are
requests for generic support and redirect people to Discord.
- The `master` branch is just a snapshot of the latest stable release. All development should be done in dedicated branches. **Do not submit PRs against the `master` branch.**
## <a name="issue"></a> Found a Bug?
- Checkout a topic branch from the relevant branch, e.g. `develop`, and merge back against that branch.
If you find a bug in the source code or think that Mainsail is behaving odd in specific situations, you can help us fix
that issue by [submitting an issue](https://github.com/mainsail-crew/mainsail/issues/new?assignees=&labels=%E2%9A%A1+Type%3A+Bug&template=bug_report.yml).
If you have already fixed that issue, you can [submit a Pull Request](#submit-pr) with that fix.
- It's OK to have multiple small commits as you work on the PR - GitHub will automatically squash it before merging.
## <a name="feature"></a> Missing a Feature?
- If adding a new feature:
You can request a new feature by [submitting a feature request](https://github.com/mainsail-crew/mainsail/issues/new?assignees=&labels=%F0%9F%92%A1+Type%3A+FR&template=feature_request.yml).
If you would like to implement a new feature, please consider the scope of the change. For changes requiring a lot of
work, it's best to outline a proposal first so it can be discussed. This allows us to prevent wasted time and effort and
discuss how to bring your proposed feature into the project.
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
## <a name="submit"></a> Submission Guidelines
- If fixing bug:
- If you are resolving a special issue, add `(fix #xxxx[,#xxxx])` (#xxxx is the issue id) in your PR title for a better release log, e.g. `update entities encoding/decoding (fix #3899)`.
- Provide a detailed description of the bug in the PR. Live demo preferred.
- Add appropriate test coverage if applicable.
### <a name="submit-issue"></a> Submitting an Issue
## Committing Changes
Before you submit an issue, please search the issue tracker if your problem may already exist. If a ticket already
covers your case, please refrain from opening a new ticket and instead contribute to the existing ticket. If you submit
an issue, please provide the required information and reproduction steps. We need those to be able to try and reproduce
the bug ourselves. Without proper instructions on how to reproduce the issue you are encountering, we might be unable to
fix a possible bug.
Commit messages should follow the [commit message convention](https://www.conventionalcommits.org/en/v1.0.0/) so that changelogs can be automatically generated.
### <a name="submit-pr"></a> Submitting a Pull Request (PR)
## Financial Contribution
Before you work on a PR and submit it, please pay attention to the following guidelines:
As a pure community-driven project without major corporate backing, we also welcome financial contributions via Patreon and OpenCollective.
1. Search the [pull requests](https://github.com/mainsail-crew/mainsail/pulls) for an open or closed PR related to your submission.
- You don't want to duplicate existing efforts or work on something unlikely to be merged into the project.
2. Do not submit PRs against the `master` branch. PRs need to be submitted against the `develop` branch.
3. Follow our [Code Standards](https://docs.mainsail.xyz/development/code-standards)
4. If there is an issue describing the problem you're fixing or a discussion of a feature you are implementing, make sure to link it in the PRs body.
- [Become a supporter on Patreon](https://patreon.com/meteyou)
- [One-time donation via Ko-Fi](https://ko-fi.com/mainsail)
- You can also add `fix #<id>` or `fixes #<id>` in the PR body where `<id>` is the issue id.
- Example PR title, body and sign-off:
## Credits
```
fix: incorrect handling of click event
Thank you to all the people who have already contributed to Mainsail!
This PR will fix #123.
Fixes correct handling of click event when button [X] is clicked.
Signed-off-by: James Smith <james.smith@myvalidemail.com>
```
5. If there is no issue describing the problem, create an issue first or provide a sufficient description of the bug/feature.
- Screenshots of your changes are welcome if you worked on UI-related code.
6. The title of the PR should follow the [commit message convention](https://www.conventionalcommits.org/en/v1.0.0/).
- If the PR consists of multiple commits, it's good practice to follow the convention, although that is not necessarily required.
- Upon merging, we will squash all commits of the PR into a single commit for a clean history and release changelogs.
7. Please sign off each commit and your PR. It must contain your real name and a current email address (see example in item 4).
- The sign-off should follow this pattern: `Signed-off-by: My Name <myemail@example.org>`
- The sign-off certifies that you agree with the [developer certificate of origin](https://github.com/mainsail-crew/mainsail/.github/DEVELOPER_CERTIFICATE_OF_ORIGIN.md).
- If you provide a translation, a sign-off is not necessarily required.
8. When opening a pull request, keep `Allow edits and access to secrets by maintainers` **enabled**.
## <a name="financial"></a> Financial Contribution
As a community-driven project without primary corporate backing, we always welcome financial contributions. A list of
options we offer to support us financially can be seen below.
- [Become a supporter on Patreon](https://patreon.com/meteyou) (monthly recurring)
- [Donation via Ko-Fi](https://ko-fi.com/mainsail) (one time / monthly recurring)
+1 -1
View File
@@ -1,7 +1,7 @@
#
# Builder stage, builds the application in node
#
FROM node:16-alpine as builder
FROM --platform=$BUILDPLATFORM node:16-alpine as builder
RUN apk add zip
+1 -1
View File
@@ -21,7 +21,7 @@
<script type="module" src="/src/main.ts"></script>
</head>
<body>
<body style="background-color: #121212">
<noscript>
<strong>
We're sorry but Mainsail doesn't work properly without JavaScript enabled. Please enable it to continue.
+1095 -1211
View File
File diff suppressed because it is too large. Load diff
+14 -14
View File
@@ -1,6 +1,6 @@
{
"name": "mainsail",
"version": "2.2.1",
"version": "2.3.0-beta1",
"private": true,
"decription": "a klipper web interface",
"author": {
@@ -22,20 +22,20 @@
"changelog": "git cliff v0.0.4..$(git describe --tags $(git rev-list --tags --max-count=1)) --output CHANGELOG.md"
},
"dependencies": {
"@codemirror/basic-setup": "^0.19.0",
"@codemirror/highlight": "^0.19.6",
"@codemirror/lang-javascript": "^0.19.3",
"@codemirror/lang-json": "^0.19.1",
"@codemirror/language": "^0.19.7",
"@codemirror/legacy-modes": "^0.19.0",
"@codemirror/search": "^0.19.4",
"@codemirror/state": "^0.19.6",
"@codemirror/stream-parser": "^0.19.2",
"@codemirror/view": "^0.19.28",
"@sindarius/gcodeviewer": "^3.1.0",
"@codemirror/commands": "^6.0.1",
"@codemirror/lang-css": "^6.0.0",
"@codemirror/lang-json": "^6.0.0",
"@codemirror/language": "^6.2.0",
"@codemirror/legacy-modes": "^6.1.0",
"@codemirror/search": "^6.0.0",
"@codemirror/state": "^6.1.0",
"@codemirror/view": "^6.0.3",
"@lezer/highlight": "^1.0.0",
"@sindarius/gcodeviewer": "^3.1.3",
"@types/node": "^16.11.22",
"@types/overlayscrollbars": "^1.12.1",
"axios": "^0.26.0",
"codemirror": "^6.0.1",
"core-js": "^3.16.0",
"echarts": "^5.2.2",
"echarts-gl": "^2.0.8",
@@ -83,11 +83,11 @@
"sass": "~1.32",
"typescript": "^4.5.5",
"unplugin-vue-components": "^0.18.0",
"vite": "^2.7.13",
"vite": "^2.9.15",
"vite-plugin-checker": "^0.4.2",
"vite-plugin-package-version": "^1.0.2",
"vite-plugin-pwa": "^0.11.13",
"vite-plugin-vue2": "^1.9.3",
"vite-plugin-vue2": "^2.0.1",
"vue-debounce-decorator": "^1.0.1",
"vue-i18n-extract": "^2.0.7",
"vue-router": "^3.5.2",
+5 -1
View File
@@ -1,3 +1,7 @@
{
"defaultLocale": "en",
"hostname": null,
"port": null,
"instancesDB": "moonraker",
"instances": []
}
+13 -16
View File
@@ -21,30 +21,27 @@
/*noinspection CssUnresolvedCustomProperty*/
color: var(--v-btn-text-primary);
}
.main-content-scrollbar {
height: calc(var(--app-height) - 48px);
}
</style>
<template>
<v-app dark :style="cssVars">
<the-sidebar></the-sidebar>
<the-topbar></the-topbar>
<v-main id="content" :style="mainStyle">
<overlay-scrollbars class="main-content-scrollbar">
<template v-if="socketIsConnected && guiIsReady">
<the-sidebar></the-sidebar>
<the-topbar></the-topbar>
<v-main id="content" :style="mainStyle">
<v-container id="page-container" fluid class="container px-3 px-sm-6 py-sm-6 mx-auto">
<router-view></router-view>
</v-container>
</overlay-scrollbars>
</v-main>
<the-select-printer-dialog v-if="remoteMode"></the-select-printer-dialog>
</v-main>
<the-update-dialog></the-update-dialog>
<the-editor></the-editor>
<the-timelapse-rendering-snackbar></the-timelapse-rendering-snackbar>
<the-fullscreen-upload></the-fullscreen-upload>
<the-upload-snackbar></the-upload-snackbar>
</template>
<the-select-printer-dialog v-else-if="instancesDB !== 'moonraker'"></the-select-printer-dialog>
<the-connecting-dialog v-else></the-connecting-dialog>
<the-update-dialog></the-update-dialog>
<the-editor></the-editor>
<the-timelapse-rendering-snackbar></the-timelapse-rendering-snackbar>
<the-fullscreen-upload></the-fullscreen-upload>
<the-upload-snackbar></the-upload-snackbar>
</v-app>
</template>
+20 -1
View File
@@ -1,5 +1,6 @@
html {
overflow: hidden;
overflow: auto;
scrollbar-color: #6b6b6b #272727;
}
body {
@@ -58,3 +59,21 @@ body {
.settings-tabs .v-window {
overflow-y: auto !important;
}
.editor-dialog .cm-editor {
height: calc(100vh - 48px);
}
::-webkit-scrollbar {
background-color: #272727;
width: 14px;
height: 14px;
}
::-webkit-scrollbar-thumb {
background-color: #6b6b6b;
border-radius: 7px;
border: 4px solid #272727;
min-width: 100px;
min-height: 100px;
}
+14 -16
View File
@@ -7,20 +7,11 @@
<v-toolbar-title>
<span class="subheading">
<v-icon left>{{ mdiConnection }}</v-icon>
<template v-if="connectingFailed">
{{ $t('ConnectionDialog.Failed', { host: formatHostname }) }}
</template>
<template v-else-if="isConnecting">
{{ $t('ConnectionDialog.Connecting', { host: formatHostname }) }}
</template>
<template v-else>{{ formatHostname }}</template>
{{ titleText }}
</span>
</v-toolbar-title>
</v-toolbar>
<v-card-text v-if="isConnecting" class="pt-5">
<v-progress-linear color="white" indeterminate></v-progress-linear>
</v-card-text>
<v-card-text v-if="!isConnecting && connectingFailed" class="pt-5">
<v-card-text v-if="connectingFailed" class="pt-5">
<connection-status :moonraker="false"></connection-status>
<p class="text-center mt-3">{{ $t('ConnectionDialog.CannotConnectTo', { host: formatHostname }) }}</p>
<template v-if="counter > 2">
@@ -36,6 +27,9 @@
<v-btn class="primary--text" @click="reconnect">{{ $t('ConnectionDialog.TryAgain') }}</v-btn>
</div>
</v-card-text>
<v-card-text v-else class="pt-5">
<v-progress-linear color="white" indeterminate></v-progress-linear>
</v-card-text>
</v-card>
</v-dialog>
</template>
@@ -73,10 +67,6 @@ export default class TheConnectingDialog extends Mixins(BaseMixin) {
return parseInt(this.port) !== 80 && this.port !== '' ? this.hostname + ':' + this.port : this.hostname
}
get isConnected() {
return this.$store.state.socket.isConnected
}
get isConnecting() {
return this.$store.state.socket.isConnecting
}
@@ -86,7 +76,15 @@ export default class TheConnectingDialog extends Mixins(BaseMixin) {
}
get showDialog() {
return !this.isConnected
return true
}
get titleText() {
if (this.connectingFailed) return this.$t('ConnectionDialog.Failed', { host: this.formatHostname })
if (this.isConnecting) return this.$t('ConnectionDialog.Connecting', { host: this.formatHostname })
if (!this.guiIsReady) return this.$t('ConnectionDialog.Initializing')
return this.formatHostname
}
reconnect() {
+6 -10
View File
@@ -1,5 +1,3 @@
<style scoped></style>
<template>
<div>
<v-dialog
@@ -49,14 +47,12 @@
</v-btn>
</template>
<v-card-text class="pa-0">
<overlay-scrollbars style="height: calc(var(--app-height) - 48px)" :options="scrollbarOptions">
<codemirror-async
v-if="show"
ref="editor"
v-model="sourcecode"
:name="filename"
:file-extension="fileExtension"></codemirror-async>
</overlay-scrollbars>
<codemirror-async
v-if="show"
ref="editor"
v-model="sourcecode"
:name="filename"
:file-extension="fileExtension"></codemirror-async>
</v-card-text>
</panel>
</v-dialog>
+38 -28
View File
@@ -32,12 +32,12 @@
</template>
</template>
</template>
<template v-if="isConnecting">
<template v-if="isConnecting || (isConnected && !guiIsReady)">
<v-card-text>
<v-progress-linear color="primary" indeterminate></v-progress-linear>
</v-card-text>
</template>
<template v-else-if="!isConnecting && connectingFailed">
<template v-else-if="connectingFailed">
<v-card-text>
<p>
{{
@@ -54,7 +54,7 @@
</div>
</v-card-text>
</template>
<template v-else-if="!isConnecting && dialogAddPrinter.bool">
<template v-else-if="dialogAddPrinter.bool">
<v-form v-model="addPrinterValid" @submit.prevent="addPrinter">
<v-card-text>
<v-row>
@@ -92,7 +92,7 @@
</v-card-actions>
</v-form>
</template>
<template v-else-if="!isConnecting && dialogEditPrinter.bool">
<template v-else-if="dialogEditPrinter.bool">
<v-form v-model="editPrinterValid" @submit.prevent="updatePrinter">
<v-card-text>
<v-row>
@@ -173,29 +173,38 @@
</v-row>
</v-col>
</v-row>
<v-row v-if="showCorsInfo">
<v-col>
<p v-if="printers.length === 0" class="text-center">
{{ $t('SelectPrinterDialog.Hello') }}
</p>
<p class="text-center">
{{ $t('SelectPrinterDialog.RememberToAdd', { cors: currentUrl }) }}
</p>
<p class="text-center mb-0">
{{ $t('SelectPrinterDialog.YouCanFindMore') }}
<br />
<a href="https://docs.mainsail.xyz/remotemode" target="_blank">
https://docs.mainsail.xyz/remotemode
</a>
.
</p>
</v-col>
</v-row>
<v-row v-if="canAddPrinters">
<template v-if="instancesDB === 'browser'">
<v-row v-if="showCorsInfo">
<v-col>
<p v-if="printers.length === 0" class="text-center">
{{ $t('SelectPrinterDialog.Hello') }}
</p>
<p class="text-center">
{{ $t('SelectPrinterDialog.RememberToAdd', { cors: currentUrl }) }}
</p>
<p class="text-center mb-0">
{{ $t('SelectPrinterDialog.YouCanFindMore') }}
<br />
<a href="https://docs.mainsail.xyz/remotemode" target="_blank">
https://docs.mainsail.xyz/remotemode
</a>
.
</p>
</v-col>
</v-row>
<v-row>
<v-col class="text-center mt-0">
<v-btn text color="primary" @click="createPrinter">
{{ $t('SelectPrinterDialog.AddPrinter') }}
</v-btn>
</v-col>
</v-row>
</template>
<v-row v-else-if="instancesDB === 'json' && printers.length === 0">
<v-col class="text-center mt-0">
<v-btn text color="primary" @click="createPrinter">
{{ $t('SelectPrinterDialog.AddPrinter') }}
</v-btn>
<p class="text-center">
{{ $t('SelectPrinterDialog.AddPrintersToJson') }}
</p>
</v-col>
</v-row>
</v-card-text>
@@ -254,7 +263,7 @@ export default class TheSelectPrinterDialog extends Mixins(BaseMixin) {
}
get canAddPrinters() {
return this.$store.state.configInstances.length === 0
return this.instancesDB !== 'json'
}
get protocol() {
@@ -290,7 +299,7 @@ export default class TheSelectPrinterDialog extends Mixins(BaseMixin) {
}
get showDialog() {
return !this.isConnected
return !this.isConnected || (this.isConnected && !this.guiIsReady)
}
get currentUrl() {
@@ -316,6 +325,7 @@ export default class TheSelectPrinterDialog extends Mixins(BaseMixin) {
if (this.dialogAddPrinter.bool) return this.$t('SelectPrinterDialog.AddPrinter')
else if (this.dialogEditPrinter.bool) return this.$t('SelectPrinterDialog.EditPrinter')
else if (this.isConnecting) return this.$t('SelectPrinterDialog.Connecting', { host: this.formatHostname })
else if (this.isConnected && !this.guiIsReady) return this.$t('ConnectionDialog.Initializing')
else if (this.connectingFailed)
return this.$t('SelectPrinterDialog.ConnectionFailed', { host: this.formatHostname })
else return this.$t('SelectPrinterDialog.SelectPrinter')
+34 -29
View File
@@ -1,27 +1,3 @@
<style>
.topbar .v-toolbar__content {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
</style>
<style scoped>
.button-min-width-auto {
min-width: auto !important;
}
.topbar .v-btn {
height: 100% !important;
max-height: none;
}
.topbar .v-btn.v-btn--icon {
width: var(--topbar-icon-btn-width) !important;
}
@media (min-width: 768px) {
header.topbar {
z-index: 8 !important;
}
}
</style>
<template>
<div>
<v-app-bar app elevate-on-scroll :height="topbarHeight" class="topbar pa-0" clipped-left>
@@ -67,11 +43,7 @@
<span class="d-none d-md-inline">{{ $t('App.TopBar.SAVE_CONFIG') }}</span>
</v-btn>
<v-btn
v-if="
klippyIsConnected &&
['standby', 'complete', 'cancelled'].includes(printer_state) &&
!boolHideUploadAndPrintButton
"
v-if="boolShowUploadAndPrint"
tile
:icon="$vuetify.breakpoint.smAndDown"
:text="$vuetify.breakpoint.mdAndUp"
@@ -248,6 +220,15 @@ export default class TheTopbar extends Mixins(BaseMixin) {
return this.$store.state.gui.uiSettings.logo
}
get boolShowUploadAndPrint() {
return (
this.klippyIsConnected &&
this.existGcodesRootDirectory &&
['standby', 'complete', 'cancelled'].includes(this.printer_state) &&
!this.boolHideUploadAndPrintButton
)
}
btnEmergencyStop() {
const confirmOnEmergencyStop = this.$store.state.gui.uiSettings.confirmOnEmergencyStop
if (confirmOnEmergencyStop) {
@@ -344,3 +325,27 @@ export default class TheTopbar extends Mixins(BaseMixin) {
}
}
</script>
<style>
.topbar .v-toolbar__content {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
</style>
<style scoped>
.button-min-width-auto {
min-width: auto !important;
}
.topbar .v-btn {
height: 100% !important;
max-height: none;
}
.topbar .v-btn.v-btn--icon {
width: var(--topbar-icon-btn-width) !important;
}
@media (min-width: 768px) {
header.topbar {
z-index: 8 !important;
}
}
</style>
@@ -13,7 +13,7 @@ import Component from 'vue-class-component'
import { Mixins, Watch } from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
import type { ECharts } from 'echarts/core'
import { ECBasicOption } from 'echarts/types/dist/shared'
import { ECBasicOption } from 'echarts/types/dist/shared.d'
import { ServerHistoryStateAllPrintStatusEntry } from '@/store/server/history/types'
@Component({
+1 -1
View File
@@ -16,7 +16,7 @@ import BaseMixin from '../mixins/base'
import { PrinterTempHistoryStateSerie, PrinterTempHistoryStateSourceEntry } from '@/store/printer/tempHistory/types'
import type { ECharts } from 'echarts/core'
import type { ECBasicOption } from 'echarts/types/dist/shared'
import type { ECBasicOption } from 'echarts/types/dist/shared.d'
import { mdiClock } from '@mdi/js'
interface echartsTooltipObj {
+108 -51
View File
@@ -1,46 +1,3 @@
<!-- Because the viewer lives outside of the components DOM it can't be scoped -->
<style>
.viewer {
width: 100%;
height: calc(var(--app-height) - 240px);
border: 1px solid #3f3f3f;
}
.withScrubber .viewer {
height: calc(var(--app-height) - 300px);
}
@media (min-width: 600px) and (max-width: 959px) {
.viewer {
height: calc(var(--app-height) - 295px);
}
.withScrubber .viewer {
height: calc(var(--app-height) - 360px);
}
}
@media (max-width: 599px) {
.viewer {
height: calc(var(--app-height) - 340px);
}
.withScrubber .viewer {
height: calc(var(--app-height) - 340px);
}
}
</style>
<style scoped>
.scrubber {
position: relative;
left: 0;
right: 0;
bottom: 5px;
z-index: 19 !important;
}
</style>
<template>
<div>
<panel :title="panelTitle" :icon="mdiVideo3d" card-class="gcode-viewer-panel" :margin-bottom="false">
@@ -167,7 +124,7 @@
:label="$t('GCodeViewer.ShowTravelMoves')"></v-checkbox>
</v-list-item>
<v-list-item
v-if="loadedFile === sdCardFilePath && printing_objects.length > 1"
v-if="loadedFile === sdCardFilePath && printing_objects.length"
class="minHeight36">
<v-checkbox
v-model="showObjectSelection"
@@ -264,6 +221,30 @@
</v-btn>
</template>
</v-snackbar>
<v-dialog v-model="excludeObject.bool" max-width="400">
<v-card>
<v-toolbar flat dense>
<v-toolbar-title>
<span class="subheading">
<v-icon left>{{ mdiSelectionRemove }}</v-icon>
{{ $t('Panels.StatusPanel.ExcludeObject.ExcludeObjectHeadline') }}
</span>
</v-toolbar-title>
</v-toolbar>
<v-card-text class="mt-3">
{{ $t('Panels.StatusPanel.ExcludeObject.ExcludeObjectText', { name: excludeObject.name }) }}
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn text @click="excludeObject.bool = false">
{{ $t('Panels.StatusPanel.ExcludeObject.Cancel') }}
</v-btn>
<v-btn color="primary" text @click="cancelObject">
{{ $t('Panels.StatusPanel.ExcludeObject.ExcludeObject') }}
</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</div>
</template>
@@ -286,6 +267,7 @@ import {
mdiPause,
mdiFastForward,
mdiBroom,
mdiSelectionRemove,
} from '@mdi/js'
import { Debounce } from 'vue-debounce-decorator'
@@ -321,6 +303,7 @@ export default class Viewer extends Mixins(BaseMixin) {
mdiPause = mdiPause
mdiFastForward = mdiFastForward
mdiBroom = mdiBroom
mdiSelectionRemove = mdiSelectionRemove
formatFilesize = formatFilesize
@@ -354,6 +337,11 @@ export default class Viewer extends Mixins(BaseMixin) {
},
}
private excludeObject = {
bool: false,
name: '',
}
@Prop({ type: String, default: '', required: false }) declare filename: string
@Ref('fileInput') declare fileInput: HTMLInputElement
@Ref('viewerCanvasContainer') declare viewerCanvasContainer: HTMLElement
@@ -429,10 +417,20 @@ export default class Viewer extends Mixins(BaseMixin) {
return this.$store.state.printer.exclude_object?.objects ?? []
}
@Watch('printing_objects')
printing_objectsChanged() {
this.refreshPrintingObjects()
}
get excluded_objects() {
return this.$store.state.printer.exclude_object?.excluded_objects ?? []
}
@Watch('excluded_objects')
excluded_objectsChanged() {
this.refreshPrintingObjects()
}
get nozzle_diameter() {
return this.$store.state.printer.configfile?.settings?.extruder?.nozzle_diameter ?? 0.4
}
@@ -493,6 +491,7 @@ export default class Viewer extends Mixins(BaseMixin) {
viewer.gcodeProcessor.voxelHeight = this.voxelHeight
viewer.gcodeProcessor.useSpecularColor(this.specularLighting)
viewer.gcodeProcessor.setLiveTracking(false)
viewer.buildObjects.objectCallback = this.objectCallback
this.loadToolColors(this.extruderColors)
@@ -539,9 +538,16 @@ export default class Viewer extends Mixins(BaseMixin) {
this.loading = false
viewer.setCursorVisiblity(this.showCursor)
if (this.loadedFile === this.sdCardFilePath && this.printing_objects.length) {
let objects: any = []
this.refreshPrintingObjects()
this.scrubFileSize = viewer.fileSize
viewer.gcodeProcessor.updateFilePosition(viewer.fileSize)
}
refreshPrintingObjects() {
let objects: any = []
if (this.loadedFile === this.sdCardFilePath && this.printing_objects.length) {
this.printing_objects.forEach((object: any) => {
const xValues = object.polygon.map((point: number[]) => point[0])
const yValues = object.polygon.map((point: number[]) => point[1])
@@ -553,13 +559,10 @@ export default class Viewer extends Mixins(BaseMixin) {
y: [Math.min(...yValues), Math.max(...yValues)],
})
})
viewer.buildObjects.loadObjectBoundaries(objects)
viewer.buildObjects.showObjectSelection(this.showObjectSelection)
}
this.scrubFileSize = viewer.fileSize
viewer.gcodeProcessor.updateFilePosition(viewer.fileSize)
viewer.buildObjects.loadObjectBoundaries(objects)
viewer.buildObjects.showObjectSelection(this.showObjectSelection)
}
async fileSelected(e: any) {
@@ -1066,5 +1069,59 @@ export default class Viewer extends Mixins(BaseMixin) {
this.scrubPosition = this.scrubFileSize
viewer.gcodeProcessor.updateFilePosition(this.scrubPosition)
}
objectCallback(metadata: any) {
if (metadata?.cancelled === false) {
this.excludeObject.name = metadata.name ?? 'UNKNOWN'
this.excludeObject.bool = true
}
}
cancelObject() {
this.$socket.emit('printer.gcode.script', { script: 'EXCLUDE_OBJECT NAME=' + this.excludeObject.name })
this.excludeObject.bool = false
}
}
</script>
<!-- Because the viewer lives outside of the components DOM it can't be scoped -->
<style>
.viewer {
width: 100%;
height: calc(var(--app-height) - 240px);
border: 1px solid #3f3f3f;
}
.withScrubber .viewer {
height: calc(var(--app-height) - 300px);
}
@media (min-width: 600px) and (max-width: 959px) {
.viewer {
height: calc(var(--app-height) - 295px);
}
.withScrubber .viewer {
height: calc(var(--app-height) - 360px);
}
}
@media (max-width: 599px) {
.viewer {
height: calc(var(--app-height) - 340px);
}
.withScrubber .viewer {
height: calc(var(--app-height) - 340px);
}
}
</style>
<style scoped>
.scrubber {
position: relative;
left: 0;
right: 0;
bottom: 5px;
}
</style>
+6 -8
View File
@@ -1,8 +1,3 @@
<style>
.vue-codemirror .cm-editor {
}
</style>
<template>
<div class="vue-codemirror">
<div ref="codemirror" v-observe-visibility="visibilityChanged"></div>
@@ -14,14 +9,16 @@
import { Component, Mixins, Prop, Watch } from 'vue-property-decorator'
import BaseMixin from '../mixins/base'
import { basicSetup, EditorState } from '@codemirror/basic-setup'
import { basicSetup } from 'codemirror'
import { EditorView, keymap } from '@codemirror/view'
import { EditorState } from '@codemirror/state'
import { mainsailTheme } from '@/plugins/codemirrorTheme'
import { StreamLanguage } from '@codemirror/stream-parser'
import { StreamLanguage } from '@codemirror/language'
import { klipper_config } from '@/plugins/StreamParserKlipperConfig'
import { gcode } from '@/plugins/StreamParserGcode'
import { EditorView, keymap } from '@codemirror/view'
import { indentWithTab } from '@codemirror/commands'
import { json } from '@codemirror/lang-json'
import { css } from '@codemirror/lang-css'
@Component
export default class Codemirror extends Mixins(BaseMixin) {
@@ -98,6 +95,7 @@ export default class Codemirror extends Mixins(BaseMixin) {
if (['cfg', 'conf'].includes(this.fileExtension)) extensions.push(StreamLanguage.define(klipper_config))
else if (['gcode'].includes(this.fileExtension)) extensions.push(StreamLanguage.define(gcode))
else if (['json'].includes(this.fileExtension)) extensions.push(json())
else if (['css'].includes(this.fileExtension)) extensions.push(css())
return extensions
}
+30 -15
View File
@@ -1,15 +1,3 @@
<style scoped>
.btnMacroMenu {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.macroWithParameters {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
</style>
<template>
<v-item-group class="d-inline-block">
<v-btn
@@ -17,13 +5,20 @@
:color="color"
:class="paramArray.length ? 'macroWithParameters' : ''"
:loading="loadings.includes('macro_' + macro.name)"
:disabled="disabled"
@click="doSendMacro(macro.name)">
{{ macro.name.replace(/_/g, ' ') }}
{{ alias ? alias : macro.name.replace(/_/g, ' ') }}
</v-btn>
<template v-if="paramArray.length">
<v-menu offset-y :close-on-content-click="false">
<template #activator="{ on, attrs }">
<v-btn small :color="color" v-bind="attrs" class="minwidth-0 px-1 btnMacroMenu" v-on="on">
<v-btn
:disabled="disabled"
:color="color"
v-bind="attrs"
class="minwidth-0 px-1 btnMacroMenu"
small
v-on="on">
<v-icon>{{ mdiMenuDown }}</v-icon>
</v-btn>
</template>
@@ -88,7 +83,15 @@ export default class MacroButton extends Mixins(BaseMixin) {
@Prop({ required: true })
declare readonly macro: GuiMacrosStateMacrogroupMacro
@Prop({ default: 'primary' }) declare readonly color: string
@Prop({ default: 'primary' })
declare readonly color: string
@Prop({ default: null })
declare readonly alias: string
@Prop({ default: false })
declare readonly disabled: boolean
get klipperMacro() {
return this.$store.getters['printer/getMacro'](this.macro.name)
@@ -149,3 +152,15 @@ export default class MacroButton extends Mixins(BaseMixin) {
}
}
</script>
<style scoped>
.btnMacroMenu {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.macroWithParameters {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
</style>
+127 -115
View File
@@ -1,73 +1,12 @@
<style scoped>
._fan-slider-subheader {
height: auto;
}
._lock-button {
margin-left: -6px;
}
._rpm {
padding-top: 0.2rem !important;
margin: 0 !important;
}
._error-msg {
color: #ff5252;
font-size: 12px;
padding: 4px 16px 2px 0;
}
.fade-enter-active {
animation: slide-in 0.15s reverse;
opacity: 1;
}
.fade-leave-active {
animation: slide-in 0.15s;
opacity: 1;
}
@keyframes slide-in {
100% {
transform: translateY(-5px);
}
}
._slider-input {
font-size: 0.875rem;
max-width: 5.4rem;
margin-left: 12px;
}
._slider-input >>> .v-input__slot {
min-height: 1rem !important;
}
._slider-input >>> .v-text-field__slot input {
padding: 4px 0 4px;
}
</style>
<template>
<v-container class="px-0 py-2">
<v-row>
<v-col :class="pwm ? 'pb-1' : 'pb-3'">
<v-subheader class="_fan-slider-subheader">
<v-icon
v-if="type !== 'output_pin'"
small
:class="'mr-2 ' + (value >= off_below && value > 0 ? 'icon-rotate' : '')">
{{ mdiFan }}
</v-icon>
<v-icon v-if="type !== 'output_pin'" small :class="fanClasses">{{ mdiFan }}</v-icon>
<span>{{ convertName(name) }}</span>
<v-spacer></v-spacer>
<small
v-if="rpm || rpm === 0"
:class="`mr-3 ${controllable && pwm ? '_rpm' : ''}
${rpm === 0 && value > 0 ? 'red--text' : ''}`">
{{ Math.round(rpm) }} RPM
</small>
<small v-if="rpm !== null" :class="rpmClasses">{{ Math.round(rpm ?? 0) }} RPM</small>
<span v-if="!controllable" class="font-weight-bold">
{{ Math.round(parseFloat(value) * 100) }} %
</span>
@@ -78,7 +17,7 @@
<v-text-field
v-if="controllable && pwm"
v-model="inputValue"
:error="errors().length > 0"
:error="errors.length > 0"
suffix="%"
type="number"
hide-spin-buttons
@@ -88,13 +27,13 @@
class="_slider-input pt-1"
@blur="inputValue = Math.round(parseFloat(sliderValue) * 100)"
@focus="$event.target.select()"
@keydown="checkInvalidChars"></v-text-field>
@keydown="checkInvalidChars" />
</form>
</v-subheader>
<transition name="fade">
<transition v-if="controllable && pwm" name="fade">
<!-- display errors -->
<div v-show="errors().length > 0 && controllable && pwm" class="_error-msg d-flex justify-end">
{{ errors()[0] }}
<div v-show="errors.length > 0" class="_error-msg d-flex justify-end">
{{ errors[0] ?? '' }}
</div>
</transition>
<v-card-text v-if="controllable && pwm" class="py-0 pb-2 d-flex align-center">
@@ -166,19 +105,39 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
private invalidChars: string[] = ['e', 'E', '+']
private min = 0
private value = 0
private inputValue = 0
private sliderValue = 0
@Prop({ type: Number, required: true }) declare target: number
@Prop({ type: Number, default: 1 }) declare max: number
@Prop({ type: String, default: '' }) declare name: string
@Prop({ type: String, default: '' }) declare type: string
@Prop({ type: Boolean, default: false }) declare controllable: boolean
@Prop({ type: Boolean, default: false }) declare pwm: boolean
@Prop({ type: [Number, Boolean], default: false }) declare rpm: number | boolean
@Prop({ type: Number, default: 1 }) declare multi: number
@Prop({ type: Number, default: 0 }) declare off_below: number
@Prop({ type: Number, required: true })
declare target: number
@Prop({ type: Number, default: 1 })
declare max: number
@Prop({ type: String, default: '' })
declare name: string
@Prop({ type: String, default: '' })
declare type: string
@Prop({ type: Boolean, default: false })
declare controllable: boolean
@Prop({ type: Boolean, default: false })
declare pwm: boolean
@Prop({ type: [Number, Boolean], default: false })
declare rpm: number | boolean
@Prop({ type: Number, default: 1 })
declare multi: number
@Prop({ type: Number, default: 0 })
declare off_below: number
get value(): number {
return Math.round((this.target / this.max) * 100) / 100
}
@Watch('lockSliders', { immediate: true })
lockSlidersChanged(): void {
@@ -215,19 +174,19 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
} else if (this.sliderValue > this.value && this.sliderValue < this.off_below) {
this.sliderValue = this.off_below
}
this.value = this.sliderValue
this.sendCmd()
this.sendCmd(this.sliderValue)
}
sendCmd(): void {
if (this.target === this.value) return
sendCmd(newVal: number): void {
if (this.value === newVal) return
let gcode = ''
if (this.value < this.min) this.value = 0
const l_value = this.value * this.multi
if (this.type === 'fan') gcode = `M106 S${l_value.toFixed(0)}`
if (this.type === 'fan_generic') gcode = `SET_FAN_SPEED FAN=${this.name} SPEED=${l_value}`
if (this.type === 'output_pin') gcode = `SET_PIN PIN=${this.name} VALUE=${l_value.toFixed(2)}`
if (newVal < this.min) newVal = 0
newVal = newVal * this.multi
if (this.type === 'fan') gcode = `M106 S${newVal.toFixed(0)}`
if (this.type === 'fan_generic') gcode = `SET_FAN_SPEED FAN=${this.name} SPEED=${newVal}`
if (this.type === 'output_pin') gcode = `SET_PIN PIN=${this.name} VALUE=${newVal.toFixed(2)}`
if (gcode !== '') {
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
@@ -238,31 +197,26 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
}
switchOutputPin(): void {
this.value = this.value ? 0 : 1
const gcode = `SET_PIN PIN=${this.name} VALUE=${(this.value * this.multi).toFixed(2)}`
const newVal = this.value ? 0 : 1
const gcode = `SET_PIN PIN=${this.name} VALUE=${(newVal * this.multi).toFixed(2)}`
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
}
decrement(): void {
this.value = this.value > 0 ? Math.round((this.value - 0.01) * 100) / 100 : 0
if (this.value < this.off_below) this.value = 0
this.sendCmd()
let newVal = this.value > 0 ? Math.round((this.value - 0.01) * 100) / 100 : 0
if (this.value < this.off_below) newVal = 0
this.sendCmd(newVal)
}
increment(): void {
this.value = this.value < 1.0 ? Math.round((this.value + 0.01) * 100) / 100 : 1.0
if (this.value < this.off_below) this.value = this.off_below
this.sendCmd()
let newVal = this.value < 1.0 ? Math.round((this.value + 0.01) * 100) / 100 : 1.0
if (this.value < this.off_below) newVal = this.off_below
this.sendCmd(newVal)
}
mounted(): void {
this.value = this.target
}
@Watch('target')
targetChanged(newVal: number): void {
this.value = newVal
mounted() {
this.sliderValue = this.value
}
@Watch('value')
@@ -282,7 +236,7 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
if (this.invalidChars.includes(event.key)) event.preventDefault()
}
errors() {
get errors() {
const errors = []
const input = this.inputValue / 100
if (this.inputValue.toString() === '') {
@@ -293,24 +247,82 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
// "Must be grater or equal than {min}!"
errors.push(this.$t('App.NumberInput.GreaterOrEqualError', { min: this.min * 100 }))
}
if (input > this.max || input < this.min) {
// "Must be between {min} and {max}!"
errors.push(this.$t('App.NumberInput.MustBeBetweenError', { min: this.min * 100, max: this.max * 100 }))
}
return errors
}
get fanClasses() {
const output = ['mr-2']
if (this.value >= this.off_below && this.value > 0) output.push('icon-rotate')
return output
}
get rpmClasses() {
const output = []
if (!this.controllable) output.push(['mr-3', 'mt-1'])
else output.push(['mt-2'])
if (this.rpm === 0 && this.value > 0) output.push('red--text')
return output
}
submitInput(): void {
if (this.errors().length > 0) return
if (this.errors.length > 0) return
const input = this.inputValue / 100
if (this.value === 0 && input < this.off_below) {
this.value = this.off_below
} else if (this.value >= this.off_below && input < this.off_below) {
this.value = 0
} else this.value = input
let newVal = this.inputValue / 100
if (this.value === 0 && newVal < this.off_below) {
newVal = this.off_below
} else if (this.value >= this.off_below && newVal < this.off_below) {
newVal = 0
}
this.sendCmd()
this.sendCmd(newVal)
}
}
</script>
<style scoped>
._fan-slider-subheader {
height: auto;
}
._lock-button {
margin-left: -6px;
}
._error-msg {
color: #ff5252;
font-size: 12px;
padding: 4px 16px 2px 0;
}
.fade-enter-active {
animation: slide-in 0.15s reverse;
opacity: 1;
}
.fade-leave-active {
animation: slide-in 0.15s;
opacity: 1;
}
@keyframes slide-in {
100% {
transform: translateY(-5px);
}
}
._slider-input {
font-size: 0.875rem;
max-width: 5.4rem;
margin-left: 12px;
}
._slider-input >>> .v-input__slot {
min-height: 1rem !important;
}
._slider-input >>> .v-text-field__slot input {
padding: 4px 0 4px;
}
</style>
+5 -54
View File
@@ -5,8 +5,8 @@
:label="`[ ${label} ]`"
:suffix="suffix"
:disabled="disabled"
:step="step"
:readonly="readonly"
:error="!validate"
hide-details="auto"
type="number"
hide-spin-buttons
@@ -14,30 +14,18 @@
reverse
dense
@blur="onBlur"
@focus="!readonly ? $event.target.select() : {}">
<template v-if="errorMsg.length" #append>
<v-tooltip top>
<template #activator="{ on, attrs }">
<v-icon color="error" v-bind="attrs" v-on="on">{{ mdiAlert }}</v-icon>
</template>
<span>{{ errorMsg.join(', ') }}</span>
</v-tooltip>
</template>
</v-text-field>
@focus="!readonly ? $event.target.select() : {}"></v-text-field>
</form>
</template>
<script lang="ts">
import { Component, Mixins, Prop, VModel } from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
import { mdiAlert } from '@mdi/js'
@Component({
components: {},
})
export default class MoveToInput extends Mixins(BaseMixin) {
mdiAlert = mdiAlert
@VModel({ type: String })
declare position: string
@@ -50,11 +38,8 @@ export default class MoveToInput extends Mixins(BaseMixin) {
@Prop({ type: String, required: false })
declare readonly suffix: string
@Prop({ type: Number, required: true })
declare readonly positionMax: number
@Prop({ type: Number, required: true })
declare readonly positionMin: number
@Prop({ type: Number, required: false, default: 1 })
declare readonly step: number
@Prop({ type: Boolean, required: false })
declare readonly disabled: boolean
@@ -63,47 +48,13 @@ export default class MoveToInput extends Mixins(BaseMixin) {
declare readonly readonly: boolean
onBlur() {
if (!this.validate && this.position !== this.currentPos) {
if (this.position !== this.currentPos) {
this.position = this.currentPos
this.$emit('validate', { axis: this.suffix.toLowerCase(), valid: true })
}
}
submit(): void {
this.$emit('submit')
}
get validate(): boolean {
const isValid =
this.position !== '' &&
parseFloat(this.position) <= this.positionMax &&
parseFloat(this.position) >= this.positionMin
this.$emit('validate', { axis: this.suffix.toLowerCase(), valid: isValid })
return isValid
}
get errorMsg() {
const errors = []
if (this.position === '') errors.push(this.$t('Panels.ToolheadControlPanel.Invalid'))
if (parseFloat(this.position) > this.positionMax || parseFloat(this.position) < this.positionMin)
errors.push(this.$t('Panels.ToolheadControlPanel.OutOfRange'))
return errors
}
}
</script>
<style>
label {
font-size: 14px !important;
color: rgba(255, 255, 255, 0.5) !important;
}
.v-input.error--text .v-input__slot {
padding-left: 3px !important;
}
.v-input.error--text .v-input__append-inner {
margin-right: 5px !important;
}
</style>
+12 -2
View File
@@ -11,14 +11,18 @@ export default class BaseMixin extends Vue {
return this.$store.getters['socket/getHostUrl']
}
get remoteMode() {
return this.$store.state.remoteMode
get instancesDB() {
return this.$store.state.instancesDB ?? 'moonraker'
}
get socketIsConnected(): boolean {
return this.$store.state.socket.isConnected ?? false
}
get guiIsReady() {
return this.$store.state.socket.initializationList.length === 0
}
get klippyIsConnected(): boolean {
return this.$store.state.server.klippy_connected ?? false
}
@@ -77,4 +81,10 @@ export default class BaseMixin extends Vue {
get moonrakerComponents() {
return this.$store.state.server?.components ?? []
}
get existGcodesRootDirectory() {
const roots = this.$store.state.server.registered_directories
return roots.findIndex((root: string) => root === 'gcodes') >= 0
}
}
+4
View File
@@ -43,6 +43,10 @@ export default class ControlMixin extends Vue {
return this.$store.getters['printer/existsScrewsTilt']
}
get existsFirmwareRetraction(): boolean {
return this.$store.getters['printer/existsFirmwareRetraction']
}
get colorQuadGantryLevel() {
const status = this.$store.state.printer.quad_gantry_level?.applied ?? true
+3 -3
View File
@@ -20,8 +20,8 @@ export default class DashboardMixin extends BaseMixin {
return this.$store.getters['printer/getAvailableHeaters'].length
}
get printerAvailableSensorsCount() {
return this.$store.getters['printer/getAvailableSensors'].length
get printerTemperatureSensorsCount() {
return this.$store.getters['printer/getTemperatureSensors'].length
}
get macroMode() {
@@ -93,7 +93,7 @@ export default class DashboardMixin extends BaseMixin {
}
// remove temperature panel, if heaters & sensors < 1
if (this.printerAvailableHeatersCount + this.printerAvailableSensorsCount < 1) {
if (this.printerAvailableHeatersCount + this.printerTemperatureSensorsCount < 1) {
allPanels = allPanels.filter((name) => name !== 'temperature')
}
+120 -107
View File
@@ -1,48 +1,3 @@
<style lang="scss" scoped>
._btn-group {
border-radius: 4px;
display: inline-flex;
flex-wrap: nowrap;
max-width: 100%;
min-width: 100%;
width: 100%;
.v-btn {
border-radius: 0;
border-color: rgba(255, 255, 255, 0.12);
border-style: solid;
border-width: thin;
box-shadow: none;
height: 28px;
opacity: 0.8;
min-width: auto !important;
}
.v-btn:first-child {
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
}
.v-btn:last-child {
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
}
.v-btn:not(:first-child) {
border-left-width: 0;
}
}
._btn-qs {
font-size: 0.8rem !important;
max-height: 24px;
}
._btn-extruder-cmd {
min-width: 135px !important;
}
</style>
<template>
<panel
v-if="klipperReadyForGui && extruders.length"
@@ -52,31 +7,23 @@
card-class="extruder-control-panel">
<!-- PANEL-HEADER 3-DOT-MENU -->
<template #buttons>
<v-menu v-if="filamentChangeMacros" left :offset-y="true" :close-on-content-click="false" class="pa-0">
<v-menu v-if="showFilamentMacros" :offset-y="true" :close-on-content-click="false" left>
<template #activator="{ on, attrs }">
<v-btn icon tile v-bind="attrs" v-on="on">
<v-icon>{{ mdiDotsVertical }}</v-icon>
</v-btn>
</template>
<v-list dense>
<v-list-item>
<!-- FILAMENT UNLOAD -->
<v-tooltip top :disabled="extrudePossible" color="secondary">
<!-- FILAMENT UNLOAD -->
<v-list-item v-if="unloadFilamentMacro">
<v-tooltip top :disabled="canExecuteUnloadMacro" color="secondary">
<template #activator="{ on }">
<div style="width: 100%" v-on="on">
<v-btn
:loading="loadings.includes('btnUnloadFilament')"
:disabled="!extrudePossible || isPrinting"
small
style="width: 100%"
@click="sendUnloadFilament()">
<span class="d-flex align-center">
<v-icon left small style="transform: rotate(270deg)" class="mr-1">
{{ mdiLocationExit }}
</v-icon>
{{ $t('Panels.ExtruderControlPanel.UnloadFilament') }}
</span>
</v-btn>
<div v-on="on">
<macro-button
:macro="unloadFilamentMacro"
:alias="$t('Panels.ExtruderControlPanel.UnloadFilament').toString()"
:disabled="!canExecuteUnloadMacro || isPrinting"
color="#272727" />
</div>
</template>
<span>
@@ -85,24 +32,16 @@
</span>
</v-tooltip>
</v-list-item>
<v-list-item>
<!-- FILAMENT LOAD -->
<v-tooltip top :disabled="extrudePossible" color="secondary">
<!-- FILAMENT LOAD -->
<v-list-item v-if="loadFilamentMacro">
<v-tooltip top :disabled="canExecuteLoadMacro" color="secondary">
<template #activator="{ on }">
<div style="width: 100%" v-on="on">
<v-btn
:loading="loadings.includes('btnLoadFilament')"
:disabled="!extrudePossible || isPrinting"
small
style="width: 100%"
@click="sendLoadFilament()">
<span class="d-flex align-center">
<v-icon left small style="transform: rotate(90deg)" class="mr-1">
{{ mdiLocationEnter }}
</v-icon>
{{ $t('Panels.ExtruderControlPanel.LoadFilament') }}
</span>
</v-btn>
<div v-on="on">
<macro-button
:macro="loadFilamentMacro"
:alias="$t('Panels.ExtruderControlPanel.LoadFilament').toString()"
:disabled="!canExecuteLoadMacro || isPrinting"
color="#272727" />
</div>
</template>
<span>
@@ -150,6 +89,11 @@
<v-divider></v-divider>
<pressure-advance-settings></pressure-advance-settings>
</template>
<!-- FIRMWARE RETRACTION SETTINGS -->
<template v-if="existsFirmwareRetraction">
<v-divider></v-divider>
<firmware-retraction-settings></firmware-retraction-settings>
</template>
<v-divider class="pb-1"></v-divider>
<!-- EXTRUDER INPUTS AND QUICKSELECTS -->
<v-container>
@@ -344,8 +288,14 @@
v-if="filamentDiameter && nozzleDiameter"
style="font-size: 0.8em"
class="text--disabled text-caption font-weight-light d-flex justify-center">
{{ $t('Panels.ExtruderControlPanel.EstimatedExtrusion') }} ~ {{ extrudedLength }} mm @
{{ volumetricFlow }} mm³/s
<span>
{{ $t('Panels.ExtruderControlPanel.EstimatedExtrusion') }} ~ {{ extrudedLength }} mm @
{{ volumetricFlow }} mm³/s -
<v-icon x-small style="opacity: 0.4; margin-top: -2px">
{{ mdiDiameterVariant }}
</v-icon>
{{ nozzleDiameter }} mm
</span>
</div>
</v-container>
</template>
@@ -359,17 +309,22 @@ import {
mdiArrowUpBold,
mdiPrinter3dNozzle,
mdiPrinter3dNozzleOutline,
mdiLocationEnter,
mdiLocationExit,
mdiDotsVertical,
mdiDiameterVariant,
} from '@mdi/js'
import { Component, Mixins, Watch } from 'vue-property-decorator'
import { PrinterStateExtruder, PrinterStateExtruderStepper, PrinterStateToolchangeMacro } from '@/store/printer/types'
import {
PrinterStateExtruder,
PrinterStateExtruderStepper,
PrinterStateMacro,
PrinterStateToolchangeMacro,
} from '@/store/printer/types'
import BaseMixin from '../mixins/base'
import ControlMixin from '../mixins/control'
import NumberInput from '@/components/inputs/NumberInput.vue'
import Panel from '@/components/ui/Panel.vue'
import PressureAdvanceSettings from '@/components/panels/MachineSettings/PressureAdvanceSettings.vue'
import PressureAdvanceSettings from '@/components/panels/ExtruderSettings/PressureAdvanceSettings.vue'
import FirmwareRetractionSettings from '@/components/panels/ExtruderSettings/FirmwareRetractionSettings.vue'
import Responsive from '@/components/ui/Responsive.vue'
import ToolSlider from '@/components/inputs/ToolSlider.vue'
@@ -377,6 +332,7 @@ import ToolSlider from '@/components/inputs/ToolSlider.vue'
components: {
Panel,
PressureAdvanceSettings,
FirmwareRetractionSettings,
NumberInput,
Responsive,
ToolSlider,
@@ -387,25 +343,49 @@ export default class ExtruderControlPanel extends Mixins(BaseMixin, ControlMixin
mdiArrowDownBold = mdiArrowDownBold
mdiPrinter3dNozzle = mdiPrinter3dNozzle
mdiPrinter3dNozzleOutline = mdiPrinter3dNozzleOutline
mdiLocationEnter = mdiLocationEnter
mdiLocationExit = mdiLocationExit
mdiDotsVertical = mdiDotsVertical
mdiDiameterVariant = mdiDiameterVariant
private heatWaitGcodes = ['printer.extruder.can_extrude', 'TEMPERATURE_WAIT', 'M109']
get isPrinting(): boolean {
return ['printing'].includes(this.printer_state)
}
get macros() {
return this.$store.getters['printer/getMacros']
}
get toolchangeMacros(): PrinterStateToolchangeMacro[] {
return this.$store.getters['printer/getToolchangeMacros']
}
get filamentChangeMacros(): boolean {
let macros: string[] = []
this.$store.getters['printer/getMacros'].forEach((m: any) => {
if (m.name.toUpperCase().startsWith('LOAD_FILAMENT')) macros.push(m.name)
if (m.name.toUpperCase().startsWith('UNLOAD_FILAMENT')) macros.push(m.name)
})
return macros.length === 2
get loadFilamentMacro() {
return this.macros.find((macro: PrinterStateMacro) => macro.name === 'LOAD_FILAMENT')
}
get unloadFilamentMacro() {
return this.macros.find((macro: PrinterStateMacro) => macro.name === 'UNLOAD_FILAMENT')
}
/**
* test if the load and unload macro include specific keywords. if true, we allow
* execution of that macro even if at the current time extrudePossible === false
*/
get canExecuteLoadMacro(): boolean {
if (this.extrudePossible) return true
return this.heatWaitGcodes.some((gcode) => this.loadFilamentMacro.prop.gcode.includes(gcode))
}
get canExecuteUnloadMacro(): boolean {
if (this.extrudePossible) return true
return this.heatWaitGcodes.some((gcode) => this.unloadFilamentMacro.prop.gcode.includes(gcode))
}
get showFilamentMacros(): boolean {
return this.loadFilamentMacro !== undefined || this.unloadFilamentMacro !== undefined
}
get extruders(): PrinterStateExtruder[] {
@@ -519,17 +499,50 @@ export default class ExtruderControlPanel extends Mixins(BaseMixin, ControlMixin
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode }, { loading: 'btnDetract' })
}
sendUnloadFilament(): void {
const gcode = 'UNLOAD_FILAMENT'
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode }, { loading: 'btnUnloadFilament' })
}
sendLoadFilament(): void {
const gcode = 'LOAD_FILAMENT'
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode }, { loading: 'btnLoadFilament' })
}
}
</script>
<style lang="scss" scoped>
._btn-group {
border-radius: 4px;
display: inline-flex;
flex-wrap: nowrap;
max-width: 100%;
min-width: 100%;
width: 100%;
.v-btn {
border-radius: 0;
border-color: rgba(255, 255, 255, 0.12);
border-style: solid;
border-width: thin;
box-shadow: none;
height: 28px;
opacity: 0.8;
min-width: auto !important;
}
.v-btn:first-child {
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
}
.v-btn:last-child {
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
}
.v-btn:not(:first-child) {
border-left-width: 0;
}
}
._btn-qs {
font-size: 0.8rem !important;
max-height: 24px;
}
._btn-extruder-cmd {
min-width: 135px !important;
}
</style>
@@ -0,0 +1,152 @@
<template>
<v-container>
<responsive
:breakpoints="{
small: (el) => el.width <= 350,
}">
<template #default="{ el }">
<v-row>
<v-col :class="{ 'col-12': el.is.small }">
<number-input
:label="
$t('Panels.ExtruderControlPanel.FirmwareRetractionSettings.RetractLength').toString()
"
param="RETRACT_LENGTH"
:target="retractLength"
:default-value="defaultRetractLength"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="10"
:step="0.01"
:min="0"
:max="null"
:dec="2"
unit="mm"
@submit="sendCmd"></number-input>
</v-col>
<v-col :class="{ 'col-12': el.is.small }">
<number-input
:label="
$t('Panels.ExtruderControlPanel.FirmwareRetractionSettings.RetractSpeed').toString()
"
param="RETRACT_SPEED"
:target="retractSpeed"
:default-value="defaultRetractSpeed"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="5"
:step="1"
:min="1"
:max="null"
:dec="0"
unit="mm/s"
@submit="sendCmd"></number-input>
</v-col>
</v-row>
<v-row>
<v-col :class="{ 'col-12': el.is.small }">
<number-input
:label="
$t(
'Panels.ExtruderControlPanel.FirmwareRetractionSettings.UnretractExtraLength'
).toString()
"
param="UNRETRACT_EXTRA_LENGTH"
:target="unretractExtraLength"
:default-value="defaultUnretractExtraLength"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="10"
:step="0.01"
:min="0"
:max="null"
:dec="2"
unit="mm"
@submit="sendCmd"></number-input>
</v-col>
<v-col :class="{ 'col-12': el.is.small }">
<number-input
:label="
$t('Panels.ExtruderControlPanel.FirmwareRetractionSettings.UnretractSpeed').toString()
"
param="UNRETRACT_SPEED"
:target="unretractSpeed"
:default-value="defaultUnretractSpeed"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="5"
:step="1"
:min="1"
:max="null"
:dec="0"
unit="mm/s"
@submit="sendCmd"></number-input>
</v-col>
</v-row>
</template>
</responsive>
</v-container>
</template>
<script lang="ts">
import { Component, Mixins } from 'vue-property-decorator'
import { Debounce } from 'vue-debounce-decorator'
import BaseMixin from '@/components/mixins/base'
import Panel from '@/components/ui/Panel.vue'
import NumberInput from '@/components/inputs/NumberInput.vue'
import Responsive from '@/components/ui/Responsive.vue'
@Component({
components: { Panel, NumberInput, Responsive },
})
export default class FirmwareRetractionSettings extends Mixins(BaseMixin) {
get retractLength(): number {
return Math.floor((this.$store.state.printer?.firmware_retraction?.retract_length ?? 0) * 100) / 100
}
get retractSpeed(): number {
return Math.trunc(this.$store.state.printer?.firmware_retraction?.retract_speed ?? 20)
}
get unretractExtraLength(): number {
return Math.floor((this.$store.state.printer?.firmware_retraction?.unretract_extra_length ?? 0) * 100) / 100
}
get unretractSpeed(): number {
return Math.trunc(this.$store.state.printer?.firmware_retraction?.unretract_speed ?? 10)
}
get defaultRetractLength(): number {
return (
Math.floor(
(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_length ?? 0) * 100
) / 100
)
}
get defaultRetractSpeed(): number {
return Math.trunc(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_speed ?? 20)
}
get defaultUnretractExtraLength(): number {
return (
Math.floor(
(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_extra_length ?? 0) *
100
) / 100
)
}
get defaultUnretractSpeed(): number {
return Math.trunc(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_speed ?? 0)
}
@Debounce(500)
sendCmd(params: { name: string; value: number }): void {
const gcode = `SET_RETRACTION ${params.name}=${params.value}`
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
}
}
</script>
@@ -14,7 +14,7 @@
</v-btn>
<v-select
v-model="selectedExtruder"
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.Extruder').toString()"
:label="$t('Panels.ExtruderControlPanel.PressureAdvanceSettings.Extruder').toString()"
:items="allExtruders"
:value="activeExtruder"
hide-details
@@ -24,7 +24,7 @@
</v-col>
<v-col :class="{ 'col-12': el.is.small }">
<number-input
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.Advance').toString()"
:label="$t('Panels.ExtruderControlPanel.PressureAdvanceSettings.Advance').toString()"
param="ADVANCE"
:target="pressureAdvance"
:default-value="defaultPressureAdvance"
@@ -35,12 +35,12 @@
:max="null"
:step="0.001"
:dec="3"
unit="mm/s"
unit="s"
@submit="sendCmd"></number-input>
</v-col>
<v-col :class="{ 'col-12': el.is.small }">
<number-input
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.SmoothTime').toString()"
:label="$t('Panels.ExtruderControlPanel.PressureAdvanceSettings.SmoothTime').toString()"
param="SMOOTH_TIME"
:target="smoothTime"
:default-value="defaultSmoothTime"
+95 -163
View File
@@ -230,50 +230,36 @@
<template v-if="item.isDirectory">
<v-icon>{{ mdiFolder }}</v-icon>
</template>
<template v-else>
<template v-if="item.small_thumbnail && item.big_thumbnail">
<v-tooltip
v-if="!item.isDirectory && item.small_thumbnail && item.big_thumbnail"
top
content-class="tooltip__content-opacity1">
<template #activator="{ on, attrs }">
<vue-load-image>
<img
slot="image"
:src="item.small_thumbnail"
width="32"
height="32"
:alt="item.filename"
v-bind="attrs"
v-on="on" />
<template v-else-if="item.small_thumbnail">
<v-tooltip
top
content-class="tooltip__content-opacity1"
:disabled="!item.big_thumbnail">
<template #activator="{ on, attrs }">
<vue-load-image>
<img
slot="image"
:src="item.small_thumbnail"
width="32"
height="32"
:alt="item.filename"
v-bind="attrs"
v-on="on" />
<div slot="preloader">
<v-progress-circular
slot="preloader"
indeterminate
color="primary"></v-progress-circular>
<v-icon slot="error">{{ mdiFile }}</v-icon>
</vue-load-image>
</template>
<span><img :src="item.big_thumbnail" width="250" :alt="item.filename" /></span>
</v-tooltip>
</template>
<template v-else-if="item.small_thumbnail">
<vue-load-image>
<img
slot="image"
:src="item.small_thumbnail"
width="32"
height="32"
:alt="item.filename" />
<v-progress-circular
slot="preloader"
indeterminate
color="primary"></v-progress-circular>
<v-icon slot="error">{{ mdiFile }}</v-icon>
</vue-load-image>
</template>
<template v-else>
<v-icon>{{ mdiFile }}</v-icon>
</template>
</div>
<div slot="error">
<v-icon>{{ mdiFile }}</v-icon>
</div>
</vue-load-image>
</template>
<span><img :src="item.big_thumbnail" width="250" :alt="item.filename" /></span>
</v-tooltip>
</template>
<template v-else>
<v-icon>{{ mdiFile }}</v-icon>
</template>
</td>
<td class=" ">{{ item.filename }}</td>
@@ -330,14 +316,9 @@
{{ $t('Files.AddToQueue') }}
</v-list-item>
<v-list-item
v-if="
'first_layer_extr_temp' in contextMenu.item &&
contextMenu.item.first_layer_extr_temp > 0 &&
'first_layer_bed_temp' in contextMenu.item &&
contextMenu.item.first_layer_bed_temp > 0
"
v-if="contextMenu.item.preheat_gcode !== null"
:disabled="['error', 'printing', 'paused'].includes(printer_state)"
@click="preheat">
@click="doSend(contextMenu.item.preheat_gcode)">
<v-icon class="mr-1">{{ mdiFire }}</v-icon>
{{ $t('Files.Preheat') }}
</v-list-item>
@@ -379,7 +360,7 @@
</v-menu>
<v-dialog v-model="dialogCreateDirectory.show" :max-width="400">
<panel
:title="$t('Files.NewDirectory')"
:title="$t('Files.NewDirectory').toString()"
card-class="gcode-files-new-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -392,7 +373,6 @@
ref="inputFieldCreateDirectory"
v-model="dialogCreateDirectory.name"
:label="$t('Files.Name')"
:rules="input_rules"
required
@keypress.enter="createDirectoryAction"></v-text-field>
</v-card-text>
@@ -404,7 +384,10 @@
</panel>
</v-dialog>
<v-dialog v-model="dialogRenameFile.show" :max-width="400">
<panel :title="$t('Files.RenameFile')" card-class="gcode-files-rename-file-dialog" :margin-bottom="false">
<panel
:title="$t('Files.RenameFile').toString()"
card-class="gcode-files-rename-file-dialog"
:margin-bottom="false">
<template #buttons>
<v-btn icon tile @click="dialogRenameFile.show = false">
<v-icon>{{ mdiCloseThick }}</v-icon>
@@ -414,7 +397,7 @@
<v-text-field
ref="inputFieldRenameFile"
v-model="dialogRenameFile.newName"
:label="$t('Files.Name')"
:label="$t('Files.Name').toString()"
required
@keyup.enter="renameFileAction"></v-text-field>
</v-card-text>
@@ -427,7 +410,7 @@
</v-dialog>
<v-dialog v-model="dialogRenameDirectory.show" max-width="400">
<panel
:title="$t('Files.RenameDirectory')"
:title="$t('Files.RenameDirectory').toString()"
card-class="gcode-files-rename-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -452,7 +435,7 @@
</v-dialog>
<v-dialog v-model="dialogDeleteDirectory.show" max-width="400">
<panel
:title="$t('Files.DeleteDirectory')"
:title="$t('Files.DeleteDirectory').toString()"
card-class="gcode-files-delete-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -473,7 +456,10 @@
</panel>
</v-dialog>
<v-dialog v-model="deleteSelectedDialog" max-width="400">
<panel :title="$t('Files.Delete')" card-class="gcode-files-delete-selected-dialog" :margin-bottom="false">
<panel
:title="$t('Files.Delete').toString()"
card-class="gcode-files-delete-selected-dialog"
:margin-bottom="false">
<template #buttons>
<v-btn icon tile @click="deleteSelectedDialog = false">
<v-icon>{{ mdiCloseThick }}</v-icon>
@@ -525,6 +511,16 @@ import {
mdiFileDocumentEditOutline,
} from '@mdi/js'
import StartPrintDialog from '@/components/dialogs/StartPrintDialog.vue'
import ControlMixin from '@/components/mixins/control'
interface contextMenu {
shown: boolean
isDirectory: boolean
touchTimer?: number | null
x: number
y: number
item: FileStateGcodefile
}
interface draggingFile {
item: FileStateGcodefile
@@ -548,13 +544,13 @@ interface tableColumnSetting {
sortable?: boolean
class?: string
pos?: number
outputType?: 'string' | 'date' | 'length' | 'weight' | 'filesize' | 'time'
outputType?: 'string' | 'date' | 'length' | 'weight' | 'filesize' | 'temp' | 'time'
}
@Component({
components: { StartPrintDialog, Panel, SettingsRow, draggable },
})
export default class GcodefilesPanel extends Mixins(BaseMixin) {
export default class GcodefilesPanel extends Mixins(BaseMixin, ControlMixin) {
mdiFile = mdiFile
mdiFileDocumentMultipleOutline = mdiFileDocumentMultipleOutline
mdiMagnify = mdiMagnify
@@ -591,29 +587,13 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
}
private search = ''
private draggingFile: draggingFile = {
item: {
isDirectory: false,
filename: '',
permissions: '',
modified: new Date(),
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
count_printed: 0,
last_filament_used: null,
last_start_time: null,
last_end_time: null,
last_print_duration: null,
last_status: null,
last_total_duration: null,
},
}
private dialogCreateDirectory = {
show: false,
name: '',
}
private contextMenu = {
private contextMenu: contextMenu = {
shown: false,
isDirectory: false,
touchTimer: undefined,
@@ -624,16 +604,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
filename: '',
permissions: '',
modified: new Date(),
},
}
private dialogPrintFile: dialogPrintFile = {
show: false,
item: {
isDirectory: false,
filename: '',
permissions: '',
modified: new Date(),
preheat_gcode: null,
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
@@ -647,73 +618,35 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
},
}
private draggingFile: draggingFile = {
item: { ...this.contextMenu.item },
}
private dialogPrintFile: dialogPrintFile = {
show: false,
item: { ...this.contextMenu.item },
}
private dialogRenameFile: dialogRenameObject = {
show: false,
newName: '',
item: {
isDirectory: false,
filename: '',
permissions: '',
modified: new Date(),
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
count_printed: 0,
last_filament_used: null,
last_start_time: null,
last_end_time: null,
last_print_duration: null,
last_status: null,
last_total_duration: null,
},
item: { ...this.contextMenu.item },
}
private dialogRenameDirectory: dialogRenameObject = {
show: false,
newName: '',
item: {
isDirectory: false,
filename: '',
permissions: '',
modified: new Date(),
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
count_printed: 0,
last_filament_used: null,
last_start_time: null,
last_end_time: null,
last_print_duration: null,
last_status: null,
last_total_duration: null,
},
item: { ...this.contextMenu.item },
}
private dialogDeleteDirectory: dialogRenameObject = {
show: false,
newName: '',
item: {
isDirectory: false,
filename: '',
permissions: '',
modified: new Date(),
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
count_printed: 0,
last_filament_used: null,
last_start_time: null,
last_end_time: null,
last_print_duration: null,
last_status: null,
last_total_duration: null,
},
item: { ...this.contextMenu.item },
}
private deleteSelectedDialog = false
private input_rules = [(value: string) => value.indexOf(' ') === -1 || 'Name contains spaces!']
get currentPath() {
const path = this.$store.state.gui.view.gcodefiles.currentPath
if (path === 'gcodes') return ''
@@ -783,6 +716,27 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
class: 'text-no-wrap',
outputType: 'length',
},
{
text: this.$t('Files.ExtruderTemp').toString(),
value: 'first_layer_extr_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.BedTemp').toString(),
value: 'first_layer_bed_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.ChamberTemp').toString(),
value: 'chamber_temp',
visible: true,
class: 'text-no-wrap',
outputType: 'temp',
},
{
text: this.$t('Files.FilamentName').toString(),
value: 'filament_name',
@@ -996,7 +950,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
e.preventDefault()
e.target.parentElement.style.backgroundColor = 'transparent'
let dest = ''
let dest: string
if (row.filename === '..') {
dest =
this.currentPath.substring(0, this.currentPath.lastIndexOf('/') + 1) + this.draggingFile.item.filename
@@ -1051,7 +1005,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
}
createDirectoryAction() {
if (this.dialogCreateDirectory.name.length && this.dialogCreateDirectory.name.indexOf(' ') === -1) {
if (this.dialogCreateDirectory.name.length) {
this.dialogCreateDirectory.show = false
this.$socket.emit(
'server.files.post_directory',
@@ -1105,7 +1059,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
}
clickRowGoBack() {
this.currentPath = this.currentPath.substr(0, this.currentPath.lastIndexOf('/'))
this.currentPath = this.currentPath.slice(0, this.currentPath.lastIndexOf('/'))
}
addToQueue(item: FileStateGcodefile | FileStateFile) {
@@ -1119,7 +1073,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
this.$store.dispatch('gui/setGcodefilesMetadata', { name: name, value: value })
}
showContextMenu(e: any, item: FileStateGcodefile | FileStateFile) {
showContextMenu(e: any, item: FileStateGcodefile) {
if (!this.contextMenu.shown) {
e?.preventDefault()
this.contextMenu.shown = true
@@ -1132,29 +1086,6 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
}
}
preheat() {
const file: any = this.contextMenu.item
if (
'first_layer_extr_temp' in file &&
'first_layer_bed_temp' in file &&
!['error', 'printing', 'paused'].includes(this.printer_state)
) {
let gcode = ''
if (file.first_layer_extr_temp > 0) {
gcode = 'M104 S' + file.first_layer_extr_temp
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
}
if (file.first_layer_bed_temp > 0) {
gcode = 'M140 S' + file.first_layer_bed_temp
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
}
}
}
editFile(item: FileStateGcodefile) {
this.$store.dispatch('editor/openFile', {
root: 'gcodes',
@@ -1255,6 +1186,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
permissions: '',
modified: new Date(),
count_printed: 0,
preheat_gcode: null,
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
+16 -6
View File
@@ -948,14 +948,24 @@ export default class HistoryListPanel extends Mixins(BaseMixin) {
row.push('filename')
row.push('status')
this.tableFields.forEach((col) => {
row.push(col.value)
})
if (this.headers.find((header) => header.value === 'slicer')?.visible) {
row.push('slicer')
}
content.push(row)
if (this.jobs.length) {
this.jobs.forEach((job: ServerHistoryStateJob) => {
let jobs = [...this.jobs]
if (this.selectedJobs.length) {
jobs = [...this.selectedJobs]
}
if (jobs.length) {
jobs.forEach((job: ServerHistoryStateJob) => {
const row: string[] = []
let filename = job.filename
@@ -1006,12 +1016,12 @@ export default class HistoryListPanel extends Mixins(BaseMixin) {
return this.formatDate(value)
case 'time':
return value.toFixed()
return value?.toFixed() ?? ''
default:
switch (typeof value) {
case 'number':
return value.toLocaleString()
return value?.toLocaleString(undefined, { useGrouping: false }) ?? 0
case 'string':
if (escapeChar !== null && value.includes(escapeChar)) value = '"' + value + '"'
@@ -1034,12 +1044,12 @@ export default class HistoryListPanel extends Mixins(BaseMixin) {
return this.formatPrintTime(value)
case 'temp':
return value.toFixed() + ' °C'
return value?.toFixed() + ' °C'
case 'length':
if (value > 1000) return (value / 1000).toFixed(2) + ' m'
return value.toFixed(2) + ' mm'
return value?.toFixed(2) + ' mm'
default:
return value
@@ -3,16 +3,17 @@
<template>
<div>
<panel
:title="$t('Machine.ConfigFilesPanel.ConfigFiles')"
:title="$t('Machine.ConfigFilesPanel.ConfigFiles').toString()"
card-class="machine-configfiles-panel"
:icon="mdiInformation">
:icon="mdiInformation"
:collapsible="true">
<v-card-text>
<v-row>
<v-col class="col-12 col-lg pr-lg-0">
<v-select
v-model="root"
class="machine-configfiles-panel__root-select"
:items="registeredDirectories"
:items="registeredDirectoriesSelectItems"
:label="$t('Machine.ConfigFilesPanel.Root')"
outlined
hide-details
@@ -70,7 +71,7 @@
{{ absolutePath }}
</span>
<v-spacer></v-spacer>
<template v-if="disk_usage !== null">
<template v-if="disk_usage !== null && !showMissingConfigRootWarning">
<v-tooltip top>
<template #activator="{ on, attrs }">
<span v-bind="attrs" v-on="on">
@@ -83,7 +84,8 @@
<br />
{{ $t('Machine.ConfigFilesPanel.Free') }}: {{ formatFilesize(disk_usage.free) }}
<br />
{{ $t('Machine.ConfigFilesPanel.Total') }}: {{ formatFilesize(disk_usage.total) }}
{{ $t('Machine.ConfigFilesPanel.Total') }}:
{{ formatFilesize(disk_usage.total) }}
</span>
</v-tooltip>
</template>
@@ -92,6 +94,7 @@
</v-card-text>
<v-divider></v-divider>
<v-data-table
v-if="!showMissingConfigRootWarning"
v-model="selectedFiles"
:items="files"
class="files-table"
@@ -163,6 +166,22 @@
</tr>
</template>
</v-data-table>
<v-card-text v-else>
<v-row>
<v-col class="col-12 col-lg pr-lg-0">
<v-alert
dense
text
type="warning"
elevation="2"
class="mx-auto mt-6"
max-width="500"
:icon="mdiLockOutline">
{{ $t('Machine.ConfigFilesPanel.ConfigRootDirectoryDoesntExists') }}
</v-alert>
</v-col>
</v-row>
</v-card-text>
</panel>
<v-menu v-model="contextMenu.shown" :position-x="contextMenu.x" :position-y="contextMenu.y" absolute offset-y>
<v-list>
@@ -244,7 +263,7 @@
</v-dialog>
<v-dialog v-model="dialogCreateFile.show" max-width="400">
<panel
:title="$t('Machine.ConfigFilesPanel.CreateFile')"
:title="$t('Machine.ConfigFilesPanel.CreateFile').toString()"
card-class="maschine-configfiles-create-file-dialog"
:margin-bottom="false">
<template #buttons>
@@ -273,7 +292,7 @@
</v-dialog>
<v-dialog v-model="dialogRenameFile.show" max-width="400">
<panel
:title="$t('Machine.ConfigFilesPanel.RenameFile')"
:title="$t('Machine.ConfigFilesPanel.RenameFile').toString()"
card-class="maschine-configfiles-rename-file-dialog"
:margin-bottom="false">
<template #buttons>
@@ -302,7 +321,7 @@
</v-dialog>
<v-dialog v-model="dialogCreateDirectory.show" max-width="400">
<panel
:title="$t('Machine.ConfigFilesPanel.CreateDirectory')"
:title="$t('Machine.ConfigFilesPanel.CreateDirectory').toString()"
card-class="maschine-configfiles-create-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -331,7 +350,7 @@
</v-dialog>
<v-dialog v-model="dialogRenameDirectory.show" max-width="400">
<panel
:title="$t('Machine.ConfigFilesPanel.RenameDirectory')"
:title="$t('Machine.ConfigFilesPanel.RenameDirectory').toString()"
card-class="maschine-configfiles-rename-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -360,7 +379,7 @@
</v-dialog>
<v-dialog v-model="dialogDeleteDirectory.show" max-width="400">
<panel
:title="$t('Machine.ConfigFilesPanel.DeleteDirectory')"
:title="$t('Machine.ConfigFilesPanel.DeleteDirectory').toString()"
card-class="maschine-configfiles-delete-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -390,7 +409,7 @@
</v-dialog>
<v-dialog v-model="deleteSelectedDialog" max-width="400">
<panel
:title="$t('Machine.ConfigFilesPanel.Delete')"
:title="$t('Machine.ConfigFilesPanel.Delete').toString()"
card-class="gcode-files-delete-selected-dialog"
:margin-bottom="false">
<template #buttons>
@@ -456,6 +475,7 @@ import {
mdiRenameBox,
mdiDelete,
mdiCloseThick,
mdiLockOutline,
} from '@mdi/js'
interface contextMenu {
@@ -521,6 +541,7 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
mdiRenameBox = mdiRenameBox
mdiDelete = mdiDelete
mdiCloseThick = mdiCloseThick
mdiLockOutline = mdiLockOutline
sortFiles = sortFiles
formatFilesize = formatFilesize
@@ -707,7 +728,7 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
let files = [...(this.directory?.childrens ?? [])]
if (!this.showHiddenFiles) {
files = files.filter((file) => file.filename.substr(0, 1) !== '.')
files = files.filter((file) => file.filename.slice(0, 1) !== '.')
}
if (this.hideBackupFiles) {
@@ -780,9 +801,26 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
}
get registeredDirectories() {
return this.$store.state.server.registered_directories
.filter((dir: string) => !hiddenRootDirectories.includes(dir))
.sort()
return this.$store.state.server.registered_directories ?? []
}
get existConfigRoot() {
return this.registeredDirectories.findIndex((root: string) => root === 'config') !== -1
}
get showMissingConfigRootWarning() {
return (
this.absolutePath.startsWith('/config') &&
!this.absolutePath.startsWith('/config_example') &&
!this.existConfigRoot
)
}
get registeredDirectoriesSelectItems() {
const items = this.registeredDirectories.filter((dir: string) => !hiddenRootDirectories.includes(dir)).sort()
if (!this.existConfigRoot) items.push('config')
return items
}
get root() {
@@ -853,7 +891,7 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
}
clickRowGoBack() {
this.currentPath = this.currentPath.substr(0, this.currentPath.lastIndexOf('/'))
this.currentPath = this.currentPath.slice(0, this.currentPath.lastIndexOf('/'))
}
showContextMenu(e: any, item: FileStateFile) {
@@ -1,6 +1,6 @@
<template>
<panel
:title="$t('Machine.LogfilesPanel.Logfiles')"
:title="$t('Machine.LogfilesPanel.Logfiles').toString()"
:icon="mdiFileDocumentEdit"
card-class="machine-logfiles-panel"
:collapsible="true">
@@ -28,6 +28,30 @@
Moonraker
</v-btn>
</v-col>
<v-col
v-if="existsCrowsnestLog"
:class="'col-12 pt-0 ' + (klipperState !== 'ready' ? 'col-md-6 mt-md-3 ' : 'col-md-12') + ''">
<v-btn
:href="apiUrl + '/server/files/logs/crowsnest.log'"
block
class="primary--text"
@click="downloadLog">
<v-icon class="mr-2">{{ mdiDownload }}</v-icon>
Crowsnest
</v-btn>
</v-col>
<v-col
v-if="existsSonarLog"
:class="'col-12 pt-0 ' + (klipperState !== 'ready' ? 'col-md-6 mt-md-3 ' : 'col-md-12') + ''">
<v-btn
:href="apiUrl + '/server/files/logs/sonar.log'"
block
class="primary--text"
@click="downloadLog">
<v-icon class="mr-2">{{ mdiDownload }}</v-icon>
Sonar
</v-btn>
</v-col>
</v-row>
</v-container>
</v-card-text>
@@ -38,6 +62,7 @@
import { Component, Mixins } from 'vue-property-decorator'
import BaseMixin from '../../mixins/base'
import Panel from '@/components/ui/Panel.vue'
import { FileStateFile } from '@/store/files/types'
import { mdiDownload, mdiFileDocumentEdit } from '@mdi/js'
@Component({
components: { Panel },
@@ -46,6 +71,20 @@ export default class LogfilesPanel extends Mixins(BaseMixin) {
mdiFileDocumentEdit = mdiFileDocumentEdit
mdiDownload = mdiDownload
get logfiles() {
return this.$store.getters['files/getDirectory']('logs')?.childrens ?? []
}
get existsCrowsnestLog(): boolean {
return this.logfiles.findIndex((log: FileStateFile) => log.filename === 'crowsnest.log') !== -1
}
get existsSonarLog(): boolean {
const sonarLog = this.logfiles.find((log: FileStateFile) => log.filename === 'sonar.log')
return sonarLog?.size > 0
}
downloadLog(event: any) {
event.preventDefault()
let href = ''
@@ -27,16 +27,10 @@
<div v-if="hostStats.os">
{{ $t('Machine.SystemPanel.Values.Os', { os: hostStats.os }) }}
</div>
<div
v-if="
hostStats.release_info &&
'name' in hostStats.release_info &&
hostStats.release_info.name !== '0.'
"
class="text-no-wrap">
<div v-if="releaseName" class="text-no-wrap">
{{
$t('Machine.SystemPanel.Values.Distro', {
name: hostStats.release_info.name,
name: releaseName,
version_id: hostStats.release_info.version_id,
})
}}
@@ -225,6 +219,15 @@ export default class SystemPanelHost extends Mixins(BaseMixin) {
return this.$store.state.server?.system_info ?? {}
}
get releaseName() {
let name = this.hostStats.release_info?.name ?? ''
if (name.startsWith('#')) return this.hostStats.release_info?.id ?? null
if (name.startsWith('0.')) return null
return name
}
get directory() {
return this.$store.getters['files/getDirectory']('gcodes')
}
@@ -1,136 +0,0 @@
<template>
<v-container>
<v-row>
<v-col class="col-12 col-md-6">
<number-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractLength').toString()"
param="RETRACT_LENGTH"
:target="retractLength"
:default-value="defaultRetractLength"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="10"
:step="0.01"
:min="0"
:max="null"
:dec="2"
unit="mm"
@submit="sendCmd"></number-input>
</v-col>
<v-col class="col-12 col-md-6">
<number-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractSpeed').toString()"
param="RETRACT_SPEED"
:target="retractSpeed"
:default-value="defaultRetractSpeed"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="5"
:step="1"
:min="1"
:max="null"
:dec="0"
unit="mm/s"
@submit="sendCmd"></number-input>
</v-col>
</v-row>
<v-row>
<v-col class="col-12 col-md-6">
<number-input
:label="
$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractExtraLength').toString()
"
param="UNRETRACT_EXTRA_LENGTH"
:target="unretractExtraLength"
:default-value="defaultUnretractExtraLength"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="10"
:step="0.01"
:min="0"
:max="null"
:dec="2"
unit="mm"
@submit="sendCmd"></number-input>
</v-col>
<v-col class="col-12 col-md-6">
<number-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractSpeed').toString()"
param="UNRETRACT_SPEED"
:target="unretractSpeed"
:default-value="defaultUnretractSpeed"
:output-error-msg="true"
:has-spinner="true"
:spinner-factor="5"
:step="1"
:min="1"
:max="null"
:dec="0"
unit="mm/s"
@submit="sendCmd"></number-input>
</v-col>
</v-row>
</v-container>
</template>
<script lang="ts">
import { Component, Mixins } from 'vue-property-decorator'
import { Debounce } from 'vue-debounce-decorator'
import BaseMixin from '@/components/mixins/base'
import Panel from '@/components/ui/Panel.vue'
import NumberInput from '@/components/inputs/NumberInput.vue'
@Component({
components: { Panel, NumberInput },
})
export default class FirmwareRetractionSettings extends Mixins(BaseMixin) {
get retractLength(): number {
return Math.floor((this.$store.state.printer?.firmware_retraction?.retract_length ?? 0) * 100) / 100
}
get retractSpeed(): number {
return Math.trunc(this.$store.state.printer?.firmware_retraction?.retract_speed ?? 20)
}
get unretractExtraLength(): number {
return Math.floor((this.$store.state.printer?.firmware_retraction?.unretract_extra_length ?? 0) * 100) / 100
}
get unretractSpeed(): number {
return Math.trunc(this.$store.state.printer?.firmware_retraction?.unretract_speed ?? 10)
}
get defaultRetractLength(): number {
return (
Math.floor(
(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_length ?? 0) * 100
) / 100
)
}
get defaultRetractSpeed(): number {
return Math.trunc(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_speed ?? 20)
}
get defaultUnretractExtraLength(): number {
return (
Math.floor(
(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_extra_length ?? 0) *
100
) / 100
)
}
get defaultUnretractSpeed(): number {
return Math.trunc(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_speed ?? 0)
}
@Debounce(500)
sendCmd(params: { name: string; value: number }): void {
const gcode = `SET_RETRACTION ${params.name}=${params.value}`
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
}
}
</script>
@@ -6,21 +6,7 @@
:collapsible="true"
card-class="machine-settings-panel">
<div>
<template v-if="existsFirmwareRetraction">
<sub-panel
:title="$t('Panels.MachineSettingsPanel.MotionSettings.Motion').toString()"
sub-panel-class="motion-settings-subpanel"
class="py-3">
<motion-settings class="pb-0"></motion-settings>
</sub-panel>
<sub-panel
:title="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.FirmwareRetraction').toString()"
sub-panel-class="firmware-retraction-settings-subpanel"
class="pb-3">
<firmware-retraction-settings class="pb-0"></firmware-retraction-settings>
</sub-panel>
</template>
<motion-settings v-else></motion-settings>
<motion-settings></motion-settings>
</div>
</panel>
</template>
@@ -31,8 +17,6 @@ import BaseMixin from '@/components/mixins/base'
import Panel from '@/components/ui/Panel.vue'
import SubPanel from '@/components/ui/SubPanel.vue'
import MotionSettings from '@/components/panels/MachineSettings/MotionSettings.vue'
import PressureAdvanceSettings from '@/components/panels/MachineSettings/PressureAdvanceSettings.vue'
import FirmwareRetractionSettings from '@/components/panels/MachineSettings/FirmwareRetractionSettings.vue'
import { mdiEngine } from '@mdi/js'
@Component({
@@ -40,18 +24,9 @@ import { mdiEngine } from '@mdi/js'
Panel,
SubPanel,
MotionSettings,
PressureAdvanceSettings,
FirmwareRetractionSettings,
},
})
export default class MachineSettingsPanel extends Mixins(BaseMixin) {
/**
* Icons
*/
mdiEngine = mdiEngine
get existsFirmwareRetraction() {
return this.$store.state.printer.configfile?.settings?.firmware_retraction ?? false
}
}
</script>
+22 -75
View File
@@ -19,37 +19,29 @@
@contextmenu="showContextMenu($event, item)"
@click="showDialog(item)">
<td class="pr-0 text-center" style="width: 32px">
<template v-if="item.small_thumbnail && item.big_thumbnail">
<v-tooltip top content-class="tooltip__content-opacity1">
<template v-if="item.small_thumbnail">
<v-tooltip top content-class="tooltip__content-opacity1" :disabled="!item.big_thumbnail">
<template #activator="{ on, attrs }">
<vue-load-image class="d-flex">
<img
slot="image"
:src="item.small_thumbnail"
:alt="item.filename"
width="32"
height="32"
v-bind="attrs"
v-on="on" />
<v-progress-circular
slot="preloader"
indeterminate
color="primary"></v-progress-circular>
<v-icon slot="error">{{ mdiFile }}</v-icon>
<div slot="preloader">
<v-progress-circular indeterminate color="primary"></v-progress-circular>
</div>
<div slot="error">
<v-icon>{{ mdiFile }}</v-icon>
</div>
</vue-load-image>
</template>
<span><img :src="item.big_thumbnail" width="250" /></span>
<span><img :src="item.big_thumbnail" :alt="item.filename" width="250" /></span>
</v-tooltip>
</template>
<template v-else-if="item.small_thumbnail">
<vue-load-image>
<img slot="image" :src="item.small_thumbnail" width="32" height="32" />
<v-progress-circular
slot="preloader"
indeterminate
color="primary"></v-progress-circular>
<v-icon slot="error">{{ mdiFile }}</v-icon>
</vue-load-image>
</template>
<template v-else>
<v-icon>{{ mdiFile }}</v-icon>
</template>
@@ -92,14 +84,9 @@
{{ $t('Files.AddToQueue') }}
</v-list-item>
<v-list-item
v-if="
'first_layer_extr_temp' in contextMenu.item &&
contextMenu.item.first_layer_extr_temp > 0 &&
'first_layer_bed_temp' in contextMenu.item &&
contextMenu.item.first_layer_bed_temp > 0
"
v-if="contextMenu.item.preheat_gcode !== null"
:disabled="['error', 'printing', 'paused'].includes(printer_state)"
@click="preheat(contextMenu.item)">
@click="doSend(contextMenu.item.preheat_gcode)">
<v-icon class="mr-1">{{ mdiFire }}</v-icon>
{{ $t('Files.Preheat') }}
</v-list-item>
@@ -127,7 +114,7 @@
</v-menu>
<v-dialog v-model="dialogRenameFile.show" :max-width="400">
<panel
:title="$t('Files.RenameFile')"
:title="$t('Files.RenameFile').toString()"
card-class="dashboard-files-rename-file-dialog"
:margin-bottom="false">
<template #buttons>
@@ -157,7 +144,8 @@
import Component from 'vue-class-component'
import { Mixins } from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
import { FileStateFile, FileStateGcodefile } from '@/store/files/types'
import ControlMixin from '@/components/mixins/control'
import { FileStateGcodefile } from '@/store/files/types'
import StartPrintDialog from '@/components/dialogs/StartPrintDialog.vue'
import {
mdiFile,
@@ -183,7 +171,7 @@ interface dialogRenameObject {
StartPrintDialog,
},
})
export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
export default class StatusPanelGcodefiles extends Mixins(BaseMixin, ControlMixin) {
mdiFile = mdiFile
mdiPlay = mdiPlay
mdiPlaylistPlus = mdiPlaylistPlus
@@ -225,32 +213,13 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
touchTimer: undefined,
x: 0,
y: 0,
item: {
filename: '',
permissions: '',
modified: new Date(),
},
item: { ...this.dialogFile },
}
private dialogRenameFile: dialogRenameObject = {
show: false,
newName: '',
item: {
isDirectory: false,
filename: '',
permissions: '',
modified: new Date(),
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
count_printed: 0,
last_filament_used: null,
last_start_time: null,
last_end_time: null,
last_print_duration: null,
last_status: null,
last_total_duration: null,
},
item: { ...this.dialogFile },
}
get gcodeFiles() {
@@ -278,7 +247,7 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
return `width: ${this.contentTdWidth}px;`
}
showContextMenu(e: any, item: FileStateFile) {
showContextMenu(e: any, item: FileStateGcodefile) {
if (!this.contextMenu.shown) {
e?.preventDefault()
this.contextMenu.shown = true
@@ -348,10 +317,6 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
return '--'
}
getJobStatus(item: FileStateGcodefile) {
return item.last_status
}
getStatusIcon(status: string) {
return this.$store.getters['server/history/getPrintStatusIcon'](status)
}
@@ -378,26 +343,6 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
this.$store.dispatch('server/jobQueue/addToQueue', [item.filename])
}
preheat(item: FileStateGcodefile) {
if (
'first_layer_extr_temp' in item &&
'first_layer_bed_temp' in item &&
!['error', 'printing', 'paused'].includes(this.printer_state)
) {
if (item.first_layer_extr_temp && item.first_layer_extr_temp > 0) {
const gcode = 'M104 S' + item.first_layer_extr_temp
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
}
if (item.first_layer_bed_temp && item.first_layer_bed_temp > 0) {
const gcode = 'M140 S' + item.first_layer_bed_temp
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
}
}
}
view3D(item: FileStateGcodefile) {
this.$router.push({ path: '/viewer', query: { filename: 'gcodes/' + item.filename } })
}
@@ -457,7 +402,9 @@ export default class StatusPanelGcodefiles extends Mixins(BaseMixin) {
}
mounted() {
this.calcContentTdWidth()
setTimeout(() => {
this.calcContentTdWidth()
}, 200)
}
calcContentTdWidth() {
+3 -1
View File
@@ -254,7 +254,9 @@ export default class StatusPanelJobqueue extends Mixins(BaseMixin) {
}
mounted() {
this.calcContentTdWidth()
setTimeout(() => {
this.calcContentTdWidth()
}, 200)
}
calcContentTdWidth() {
+9 -1
View File
@@ -31,7 +31,7 @@
</div>
</v-list-item>
</v-list>
<v-divider></v-divider>
<v-divider class="_fix_transparency"></v-divider>
<v-list dense class="py-0">
<v-list-item link @click="cooldown()">
<div class="d-flex align-center _preset-title">
@@ -420,4 +420,12 @@ export default class TemperaturePanel extends Mixins(BaseMixin, ControlMixin) {
.temperature-panel-table .target {
width: 140px;
}
/*
workaround for fixing a transparency issue
which is assumingly a vuetify bug
*/
._fix_transparency {
background-color: #1e1e1e;
}
</style>
@@ -15,7 +15,7 @@
<template>
<div>
<panel
:title="$t('Timelapse.TimelapseFiles')"
:title="$t('Timelapse.TimelapseFiles').toString()"
:icon="mdiFileDocumentMultipleOutline"
card-class="timelapse-files-panel">
<v-card-text>
@@ -32,6 +32,14 @@
dense
style="max-width: 300px"></v-text-field>
<v-spacer></v-spacer>
<v-btn
v-if="selectedFiles.length"
:title="$t('Timelapse.Delete')"
color="error"
class="px-2 minwidth-0 ml-3"
@click="deleteSelectedDialog = true">
<v-icon>{{ mdiDelete }}</v-icon>
</v-btn>
<v-btn
v-if="directoryPermissions.includes('w')"
:title="$t('Timelapse.CreateNewDirectory')"
@@ -78,6 +86,7 @@
</v-card-text>
<v-divider class="mb-3"></v-divider>
<v-data-table
v-model="selectedFiles"
:items="displayFiles"
class="files-table"
:headers="headers"
@@ -90,10 +99,11 @@
itemsPerPageAllText: $t('Timelapse.AllFiles'),
itemsPerPageOptions: [10, 25, 50, 100, -1],
}"
item-key="name"
item-key="filename"
:search="search"
:custom-filter="advancedSearch"
mobile-breakpoint="0">
mobile-breakpoint="0"
show-select>
<template slot="items">
<td v-for="header in headers" :key="header.value">{{ header.text }}</td>
</template>
@@ -111,19 +121,26 @@
</tr>
</template>
<template #item="{ index, item }">
<template #item="{ index, item, isSelected, select }">
<tr
:key="`${index} ${item.filename}`"
v-longpress:600="(e) => showContextMenu(e, item)"
class="file-list-cursor user-select-none"
@contextmenu="showContextMenu($event, item)"
@click="clickRow(item)">
<td class="pr-0 text-center" style="width: 32px">
<td class="file-list__select-td pr-0">
<v-simple-checkbox
v-ripple
:value="isSelected"
class="pa-0 mr-0"
@click.stop="select(!isSelected)"></v-simple-checkbox>
</td>
<td class="px-0 text-center" style="width: 32px">
<template v-if="item.isDirectory">
<v-icon>{{ mdiFolder }}</v-icon>
<v-icon width="32">{{ mdiFolder }}</v-icon>
</template>
<template v-else-if="item.filename.endsWith('zip')">
<v-icon>{{ mdiFolderZipOutline }}</v-icon>
<v-icon width="32">{{ mdiFolderZipOutline }}</v-icon>
</template>
<template v-else-if="getThumbnail(item)">
<v-tooltip
@@ -139,11 +156,15 @@
width="32"
v-bind="attrs"
v-on="on" />
<v-progress-circular
slot="preloader"
indeterminate
color="primary"></v-progress-circular>
<v-icon slot="error">{{ mdiFile }}</v-icon>
<div slot="preloader">
<v-progress-circular
slot="preloader"
indeterminate
color="primary"></v-progress-circular>
</div>
<div slot="error">
<v-icon>{{ mdiFile }}</v-icon>
</div>
</vue-load-image>
</template>
<span><img :src="getThumbnail(item)" :alt="item.filename" width="250" /></span>
@@ -169,38 +190,40 @@
<v-menu v-model="contextMenu.shown" :position-x="contextMenu.x" :position-y="contextMenu.y" absolute offset-y>
<v-list>
<v-list-item v-if="!contextMenu.item.isDirectory" @click="downloadFile(contextMenu.item.filename)">
<v-icon left>{{ mdiCloudDownload }}</v-icon>
<v-icon class="mr-1">{{ mdiCloudDownload }}</v-icon>
{{ $t('Timelapse.Download') }}
</v-list-item>
<v-list-item
v-if="contextMenu.item.isDirectory && contextMenu.item.permissions.includes('w')"
@click="renameDirectory(contextMenu.item)">
<v-icon left>{{ mdiRenameBox }}</v-icon>
<v-icon class="mr-1">{{ mdiRenameBox }}</v-icon>
{{ $t('Timelapse.Rename') }}
</v-list-item>
<v-list-item
v-if="!contextMenu.item.isDirectory && contextMenu.item.permissions.includes('w')"
@click="renameFile(contextMenu.item)">
<v-icon left>{{ mdiRenameBox }}</v-icon>
<v-icon class="mr-1">{{ mdiRenameBox }}</v-icon>
{{ $t('Timelapse.Rename') }}
</v-list-item>
<v-list-item
v-if="!contextMenu.item.isDirectory && contextMenu.item.permissions.includes('w')"
class="red--text"
@click="removeFile">
<v-icon left>{{ mdiDelete }}</v-icon>
<v-icon class="mr-1" color="error">{{ mdiDelete }}</v-icon>
{{ $t('Timelapse.Delete') }}
</v-list-item>
<v-list-item
v-if="contextMenu.item.isDirectory && contextMenu.item.permissions.includes('w')"
class="red--text"
@click="deleteDirectory(contextMenu.item)">
<v-icon left>{{ mdiDelete }}</v-icon>
<v-icon class="mr-1" color="error">{{ mdiDelete }}</v-icon>
{{ $t('Timelapse.Delete') }}
</v-list-item>
</v-list>
</v-menu>
<v-dialog v-model="dialogRenameFile.show" max-width="400">
<panel
:title="$t('Timelapse.RenameFile')"
:title="$t('Timelapse.RenameFile').toString()"
card-class="gcode-files-rename-file-dialog"
:margin-bottom="false">
<template #buttons>
@@ -225,7 +248,7 @@
</v-dialog>
<v-dialog v-model="dialogCreateDirectory.show" max-width="400">
<panel
:title="$t('Timelapse.NewDirectory')"
:title="$t('Timelapse.NewDirectory').toString()"
card-class="gcode-files-new-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -253,7 +276,7 @@
</v-dialog>
<v-dialog v-model="dialogRenameDirectory.show" max-width="400">
<panel
:title="$t('Timelapse.RenameDirectory')"
:title="$t('Timelapse.RenameDirectory').toString()"
card-class="gcode-files-rename-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -280,7 +303,7 @@
</v-dialog>
<v-dialog v-model="dialogDeleteDirectory.show" max-width="400">
<panel
:title="$t('Timelapse.DeleteDirectory')"
:title="$t('Timelapse.DeleteDirectory').toString()"
card-class="gcode-files-delete-directory-dialog"
:margin-bottom="false">
<template #buttons>
@@ -304,7 +327,7 @@
</v-dialog>
<v-dialog v-model="boolVideoDialog" :max-width="700">
<panel
:title="$t('Timelapse.Video')"
:title="$t('Timelapse.Video').toString()"
:icon="mdiFileVideo"
card-class="timelapse-video-dialog"
:margin-bottom="false">
@@ -337,13 +360,33 @@
</v-card-text>
</panel>
</v-dialog>
<v-dialog v-model="deleteSelectedDialog" max-width="400">
<panel
:title="$t('Timelapse.Delete').toString()"
card-class="timelapse-delete-selected-dialog"
:margin-bottom="false">
<template #buttons>
<v-btn icon tile @click="deleteSelectedDialog = false">
<v-icon>{{ mdiCloseThick }}</v-icon>
</v-btn>
</template>
<v-card-text>
<p class="mb-0">{{ $t('Timelapse.DeleteSelectedQuestion', { count: selectedFiles.length }) }}</p>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn color="" text @click="deleteSelectedDialog = false">{{ $t('Timelapse.Cancel') }}</v-btn>
<v-btn color="error" text @click="deleteSelectedFiles">{{ $t('Timelapse.Delete') }}</v-btn>
</v-card-actions>
</panel>
</v-dialog>
</div>
</template>
<script lang="ts">
import { Component, Mixins } from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
import { formatFilesize, formatDate, sortFiles } from '@/plugins/helpers'
import { FileStateFile } from '@/store/files/types'
import { FileStateFile, FileStateGcodefile } from '@/store/files/types'
import Panel from '@/components/ui/Panel.vue'
import {
mdiFolderPlus,
@@ -451,11 +494,13 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
},
}
private deleteSelectedDialog = false
private input_rules = [(value: string) => value.indexOf(' ') === -1 || 'Name contains spaces!']
get headers() {
return [
{ text: '', value: '', align: 'left', configable: false, visible: true, filterable: false },
{ text: '', value: '', align: 'left', configable: false, visible: true, sortable: false },
{ text: this.$t('Timelapse.Name'), value: 'filename', align: 'left', configable: false, visible: true },
{ text: this.$t('Timelapse.Filesize'), value: 'size', align: 'right', configable: true, visible: true },
{
@@ -530,6 +575,14 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.timelapse.currentPath', value: newVal })
}
get selectedFiles() {
return this.$store.state.gui.view.timelapse.selectedFiles ?? []
}
set selectedFiles(newVal) {
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.timelapse.selectedFiles', value: newVal })
}
createDirectory() {
this.dialogCreateDirectory.name = ''
this.dialogCreateDirectory.show = true
@@ -590,7 +643,7 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
}
clickRowGoBack() {
this.currentPath = this.currentPath.substr(0, this.currentPath.lastIndexOf('/'))
this.currentPath = this.currentPath.slice(0, this.currentPath.lastIndexOf('/'))
}
showContextMenu(e: any, item: FileStateFile) {
@@ -608,7 +661,7 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
existsFramesZip(item: FileStateFile) {
const posLastPoint = item.filename.lastIndexOf('.')
const zipFilename = item.filename.substr(0, posLastPoint) + '.zip'
const zipFilename = item.filename.slice(0, posLastPoint) + '.zip'
return this.files.findIndex((file) => file.filename === zipFilename) !== -1
}
@@ -622,7 +675,7 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
renameFile(item: FileStateFile) {
const posLastPoint = item.filename.lastIndexOf('.')
this.dialogRenameFile.newName = item.filename.substr(0, posLastPoint)
this.dialogRenameFile.newName = item.filename.slice(0, posLastPoint)
this.dialogRenameFile.item = item
this.dialogRenameFile.show = true
@@ -634,23 +687,35 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
renameFileAction() {
const posLastPoint = this.dialogRenameFile.item.filename.lastIndexOf('.')
const oldNameWithoutExtension = this.dialogRenameFile.item.filename.substr(0, posLastPoint)
const oldNameWithoutExtension = this.dialogRenameFile.item.filename.slice(0, posLastPoint)
const fileExtension = this.dialogRenameFile.item.filename.split('.').pop()
this.dialogRenameFile.show = false
/**
* rename the file regardless of its file-extension
*/
this.$socket.emit(
'server.files.move',
{
source: this.currentPath + '/' + this.dialogRenameFile.item.filename,
dest: this.currentPath + '/' + this.dialogRenameFile.newName + '.mp4',
source: `${this.currentPath}/${this.dialogRenameFile.item.filename}`,
dest: `${this.currentPath}/${this.dialogRenameFile.newName}.${fileExtension}`,
},
{ action: 'files/getMove' }
)
const fileJpg = this.files.find((file) => file.filename === oldNameWithoutExtension + '.jpg')
if (fileExtension !== 'mp4') return
/**
* mp4 and jpg always require to have the same name as the
* jpg is used as a mp4-thumbnail in the timelapse file-browser
*/
const fileJpg = this.files.find((file) => file.filename === `${oldNameWithoutExtension}.jpg`)
if (fileJpg) {
this.$socket.emit('server.files.move', {
source: this.currentPath + '/' + oldNameWithoutExtension + '.jpg',
dest: this.currentPath + '/' + this.dialogRenameFile.newName + '.jpg',
source: `${this.currentPath}/${oldNameWithoutExtension}.jpg`,
dest: `${this.currentPath}/${this.dialogRenameFile.newName}.jpg`,
})
}
}
@@ -679,6 +744,22 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
removeFile() {
const filename = this.contextMenu.item.filename.slice(0, this.contextMenu.item.filename.lastIndexOf('.'))
const fileExtension = this.contextMenu.item.filename.split('.').pop()
/**
* delete the file regardless of its file-extension
*/
this.$socket.emit(
'server.files.delete_file',
{ path: this.currentPath + '/' + this.contextMenu.item.filename },
{ action: 'files/getDeleteFile' }
)
if (fileExtension !== 'mp4') return
/**
* if file-extension is mp4, also delete its corresponding thumbnail jpg
*/
const previewFilename = filename + '.jpg'
const previewExists = this.files.findIndex((file) => file.filename === previewFilename) !== -1
@@ -688,11 +769,6 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
{ path: this.currentPath + '/' + previewFilename },
{ action: 'files/getDeleteFile' }
)
this.$socket.emit(
'server.files.delete_file',
{ path: this.currentPath + '/' + this.contextMenu.item.filename },
{ action: 'files/getDeleteFile' }
)
}
deleteDirectory(item: FileStateFile) {
@@ -708,5 +784,44 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
{ action: 'files/getDeleteDir' }
)
}
deleteSelectedFiles() {
this.selectedFiles.forEach((item: FileStateGcodefile) => {
if (item.isDirectory) {
this.$socket.emit(
'server.files.delete_directory',
{ path: this.currentPath + '/' + item.filename, force: true },
{ action: 'files/getDeleteDir' }
)
} else {
const filename = item.filename.slice(0, item.filename.lastIndexOf('.'))
const fileExtension = item.filename.split('.').pop()
this.$socket.emit(
'server.files.delete_file',
{ path: this.currentPath + '/' + item.filename },
{ action: 'files/getDeleteFile' }
)
if (fileExtension !== 'mp4') return
/**
* if file-extension is mp4, also delete its corresponding thumbnail jpg
*/
const previewFilename = filename + '.jpg'
const previewExists = this.files.findIndex((file) => file.filename === previewFilename) !== -1
if (previewExists)
this.$socket.emit(
'server.files.delete_file',
{ path: this.currentPath + '/' + previewFilename },
{ action: 'files/getDeleteFile' }
)
}
})
this.selectedFiles = []
this.deleteSelectedDialog = false
}
}
</script>
@@ -1,56 +1,72 @@
<template>
<responsive
:breakpoints="{
small: (el) => el.width <= 320,
xsmall: (el) => el.width <= 320,
small: (el) => el.width > 320 && el.width <= 460,
medium: (el) => el.width > 460 && el.width <= 560,
large: (el) => el.width > 560,
}">
<template #default="{ el }">
<v-container class="py-0">
<v-row>
<v-col class="v-subheader text--secondary pr-0">
<v-icon small class="mr-2">
<v-row class="flex-nowrap pb-1">
<v-col
:class="{
'col-5': el.is.small,
'col-4': el.is.xsmall || el.is.medium,
'col-3': el.is.large,
}"
class="v-subheader text--secondary mr-2">
<v-icon small class="mr-1">
{{ mdiCrosshairsGps }}
</v-icon>
<span>{{ $t('Panels.ToolheadControlPanel.Position') }}: {{ displayPositionAbsolute }}</span>
<span v-if="!el.is.xsmall" class="text-no-wrap">
{{ $t('Panels.ToolheadControlPanel.Position') }}:&nbsp;
</span>
<span class="text-no-wrap">{{ displayPositionAbsolute }}</span>
</v-col>
<v-col
v-if="currentProfileName"
class="v-subheader text--secondary pl-2 justify-end text-no-wrap text-truncate">
<v-icon small class="mr-1">
{{ mdiGrid }}
</v-icon>
<span class="text-no-wrap text-truncate">
{{ currentProfileName }}
</span>
</v-col>
</v-row>
<v-row dense>
<v-col :class="el.is.small ? 'col-12' : 'col-4'">
<v-col :class="el.is.xsmall ? 'col-12' : 'col-4'">
<move-to-input
v-model="input.x.pos"
:label="livePositions.x"
:suffix="'X'"
:position-max="stepperXmax"
:position-min="stepperXmin"
:step="0.01"
:current-pos="gcodePositions.x"
:readonly="['printing'].includes(printer_state)"
:disabled="!xAxisHomed"
@validate="validate"
@submit="sendCmd"></move-to-input>
</v-col>
<v-col :class="el.is.small ? 'col-12' : 'col-4'">
<v-col :class="el.is.xsmall ? 'col-12' : 'col-4'">
<move-to-input
v-model="input.y.pos"
:label="livePositions.y"
:suffix="'Y'"
:position-max="stepperYmax"
:position-min="stepperYmin"
:step="0.01"
:current-pos="gcodePositions.y"
:readonly="['printing'].includes(printer_state)"
:disabled="!yAxisHomed"
@validate="validate"
@submit="sendCmd"></move-to-input>
</v-col>
<v-col :class="el.is.small ? 'col-12' : 'col-4'">
<v-col :class="el.is.xsmall ? 'col-12' : 'col-4'">
<move-to-input
v-model="input.z.pos"
:label="livePositions.z"
:suffix="'Z'"
:position-max="stepperZmax"
:position-min="stepperZmin"
:step="0.001"
:current-pos="gcodePositions.z"
:readonly="['printing'].includes(printer_state)"
:disabled="!zAxisHomed"
@validate="validate"
@submit="sendCmd"></move-to-input>
</v-col>
</v-row>
@@ -65,13 +81,14 @@ import BaseMixin from '@/components/mixins/base'
import ControlMixin from '@/components/mixins/control'
import MoveToInput from '@/components/inputs/MoveToInput.vue'
import Responsive from '@/components/ui/Responsive.vue'
import { mdiCrosshairsGps } from '@mdi/js'
import { mdiCrosshairsGps, mdiGrid } from '@mdi/js'
@Component({
components: { MoveToInput, Responsive },
})
export default class MoveToControl extends Mixins(BaseMixin, ControlMixin) {
mdiCrosshairsGps = mdiCrosshairsGps
mdiGrid = mdiGrid
input: { [index: string]: any } = {
x: { pos: '', valid: true },
@@ -79,10 +96,6 @@ export default class MoveToControl extends Mixins(BaseMixin, ControlMixin) {
z: { pos: '', valid: true },
}
validate(event: { axis: string; valid: boolean }): void {
this.input[event.axis].valid = event.valid
}
@Watch('gcodePositions.x', { immediate: true })
updatePositionX(newVal: string): void {
this.input.x.pos = newVal
@@ -98,33 +111,6 @@ export default class MoveToControl extends Mixins(BaseMixin, ControlMixin) {
this.input.z.pos = newVal
}
/**
* Axis limits
*/
get stepperXmin(): number {
return this.$store.state.printer.configfile?.settings?.stepper_x?.position_min ?? Number.NEGATIVE_INFINITY
}
get stepperXmax(): number {
return this.$store.state.printer.configfile?.settings?.stepper_x?.position_max ?? Number.POSITIVE_INFINITY
}
get stepperYmin(): number {
return this.$store.state.printer.configfile?.settings?.stepper_y?.position_min ?? Number.NEGATIVE_INFINITY
}
get stepperYmax(): number {
return this.$store.state.printer.configfile?.settings?.stepper_y?.position_max ?? Number.POSITIVE_INFINITY
}
get stepperZmin(): number {
return this.$store.state.printer.configfile?.settings?.stepper_z?.position_min ?? Number.NEGATIVE_INFINITY
}
get stepperZmax(): number {
return this.$store.state.printer.configfile?.settings?.stepper_z?.position_max ?? Number.POSITIVE_INFINITY
}
/**
* Axes positions and positioning mode (G90 / G91)
*/
@@ -156,6 +142,17 @@ export default class MoveToControl extends Mixins(BaseMixin, ControlMixin) {
}
}
/**
* Get currently loaded bed mesh profile name
*/
get bed_mesh() {
return this.$store.state.printer.bed_mesh ?? null
}
get currentProfileName() {
return this.bed_mesh?.profile_name ?? ''
}
sendCmd(): void {
const xPos = this.input.x.pos !== this.gcodePositions.x ? ` X${this.input.x.pos}` : ''
const yPos = this.input.y.pos !== this.gcodePositions.y ? ` Y${this.input.y.pos}` : ''
@@ -1,49 +1,3 @@
<style lang="scss" scoped>
.v-btn-toggle {
width: 100%;
}
._btn-group {
border-radius: 4px;
display: inline-flex;
flex-wrap: nowrap;
max-width: 100%;
min-width: 100%;
width: 100%;
.v-btn {
border-radius: 0;
border-color: rgba(255, 255, 255, 0.12);
border-style: solid;
border-width: thin;
box-shadow: none;
height: 28px;
opacity: 0.8;
min-width: auto !important;
}
.v-btn:first-child {
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
}
.v-btn:last-child {
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
}
.v-btn:not(:first-child) {
border-left-width: 0;
}
}
._btn-qs {
font-size: 0.8rem !important;
font-weight: 400;
max-height: 28px;
}
</style>
<template>
<responsive
:breakpoints="{
@@ -125,7 +79,7 @@
small
class="_btn-qs flex-grow-1 px-1"
@click="sendBabyStepUp(offset)">
<v-icon v-if="index === 0 && !el.is.xsmall" left small class="mr-1 ml-1">
<v-icon v-if="index === 0 && !el.is.xsmall" left small class="mr-1 ml-n1">
{{ mdiArrowExpandUp }}
</v-icon>
<span>&plus;{{ offset }}</span>
@@ -134,14 +88,31 @@
</div>
</v-col>
<v-col :class="!el.is.medium ? 'order-0 col-6' : 'col-12'">
<v-item-group class="_btn-group">
<v-item-group v-if="!el.is.medium" class="_btn-group">
<v-btn
v-for="(offset, index) in offsetsZ.slice().reverse()"
:key="`offsetsDown-${index}`"
small
class="_btn-qs flex-grow-1 px-1"
@click="sendBabyStepDown(offset)">
<span>&minus;{{ offset }}</span>
<v-icon
v-if="index === offsetsZ.length - 1 && !el.is.xsmall"
left
small
class="mr-n1 ml-1">
{{ mdiArrowCollapseDown }}
</v-icon>
</v-btn>
</v-item-group>
<v-item-group v-else class="_btn-group">
<v-btn
v-for="(offset, index) in offsetsZ"
:key="`offsetsDown-${index}`"
small
class="_btn-qs flex-grow-1 px-1"
@click="sendBabyStepDown(offset)">
<v-icon v-if="index === 0 && !el.is.xsmall" left small class="mr-1 ml-1">
<v-icon v-if="index === 0 && !el.is.xsmall" left small class="mr-1 ml-n1">
{{ mdiArrowCollapseDown }}
</v-icon>
<span>&minus;{{ offset }}</span>
@@ -295,3 +266,49 @@ export default class ZoffsetControl extends Mixins(BaseMixin) {
}
}
</script>
<style lang="scss" scoped>
.v-btn-toggle {
width: 100%;
}
._btn-group {
border-radius: 4px;
display: inline-flex;
flex-wrap: nowrap;
max-width: 100%;
min-width: 100%;
width: 100%;
.v-btn {
border-radius: 0;
border-color: rgba(255, 255, 255, 0.12);
border-style: solid;
border-width: thin;
box-shadow: none;
height: 28px;
opacity: 0.8;
min-width: auto !important;
}
.v-btn:first-child {
border-top-left-radius: inherit;
border-bottom-left-radius: inherit;
}
.v-btn:last-child {
border-top-right-radius: inherit;
border-bottom-right-radius: inherit;
}
.v-btn:not(:first-child) {
border-left-width: 0;
}
}
._btn-qs {
font-size: 0.8rem !important;
font-weight: 400;
max-height: 28px;
}
</style>
+61 -28
View File
@@ -2,11 +2,11 @@
<div>
<v-card flat>
<v-card-text>
<settings-row :title="$t('Settings.GeneralTab.PrinterName')">
<settings-row :title="$t('Settings.GeneralTab.PrinterName').toString()">
<v-text-field v-model="printerName" hide-details outlined dense></v-text-field>
</settings-row>
<v-divider class="my-2"></v-divider>
<settings-row :title="$t('Settings.GeneralTab.Language')">
<settings-row :title="$t('Settings.GeneralTab.Language').toString()">
<v-select
v-model="currentLanguage"
:items="availableLanguages"
@@ -17,8 +17,20 @@
</settings-row>
<v-divider class="my-2"></v-divider>
<settings-row
:title="$t('Settings.GeneralTab.CalcEstimateTime')"
:sub-title="$t('Settings.GeneralTab.CalcEstimateTimeDescription')">
:title="$t('Settings.GeneralTab.CalcPrintProgress').toString()"
:sub-title="$t('Settings.GeneralTab.CalcPrintProgressDescription').toString()">
<v-select
v-model="calcPrintProgress"
:items="calcPrintProgressItems"
hide-details
dense
outlined
attach></v-select>
</settings-row>
<v-divider class="my-2"></v-divider>
<settings-row
:title="$t('Settings.GeneralTab.CalcEstimateTime').toString()"
:sub-title="$t('Settings.GeneralTab.CalcEstimateTimeDescription').toString()">
<v-select
v-model="calcEstimateTime"
:items="calcEstimateItems"
@@ -30,8 +42,8 @@
</settings-row>
<v-divider class="my-2"></v-divider>
<settings-row
:title="$t('Settings.GeneralTab.CalcEtaTime')"
:sub-title="$t('Settings.GeneralTab.CalcEtaTimeDescription')">
:title="$t('Settings.GeneralTab.CalcEtaTime').toString()"
:sub-title="$t('Settings.GeneralTab.CalcEtaTimeDescription').toString()">
<v-select
v-model="calcEtaTime"
:items="calcEtaTimeItems"
@@ -42,7 +54,7 @@
attach></v-select>
</settings-row>
<v-divider class="my-2"></v-divider>
<settings-row :title="$t('Settings.GeneralTab.MoonrakerDb')" :dynamic-slot-width="true">
<settings-row :title="$t('Settings.GeneralTab.MoonrakerDb').toString()" :dynamic-slot-width="true">
<input
ref="uploadBackupFile"
type="file"
@@ -57,7 +69,7 @@
</v-btn>
</settings-row>
<v-divider class="my-2"></v-divider>
<settings-row :title="$t('Settings.GeneralTab.FactoryReset')" :dynamic-slot-width="true">
<settings-row :title="$t('Settings.GeneralTab.FactoryReset').toString()" :dynamic-slot-width="true">
<v-btn color="error" small @click="resetMainsail">
{{ $t('Settings.GeneralTab.FactoryReset') }}
</v-btn>
@@ -66,7 +78,7 @@
</v-card>
<v-dialog v-model="dialogBackupMainsail" persistent :width="360">
<panel
:title="$t('Settings.GeneralTab.Backup')"
:title="$t('Settings.GeneralTab.Backup').toString()"
card-class="mainsail-backup-dialog"
:margin-bottom="false"
:icon="mdiHelpCircle">
@@ -117,7 +129,7 @@
</v-dialog>
<v-dialog v-model="dialogResetMainsail" persistent :width="360">
<panel
:title="$t('Settings.GeneralTab.FactoryReset')"
:title="$t('Settings.GeneralTab.FactoryReset').toString()"
card-class="factory-reset-dialog"
:margin-bottom="false"
:icon="mdiHelpCircle">
@@ -183,7 +195,7 @@
</v-dialog>
<v-dialog v-model="dialogRestoreMainsail" persistent :width="360">
<panel
:title="$t('Settings.GeneralTab.Restore')"
:title="$t('Settings.GeneralTab.Restore').toString()"
card-class="factory-reset-dialog"
:margin-bottom="false"
:icon="mdiHelpCircle">
@@ -259,59 +271,63 @@ export default class SettingsGeneralTab extends Mixins(BaseMixin) {
return [
{
name: 'general',
label: this.$t('Settings.GeneralTab.General') + '',
label: this.$t('Settings.GeneralTab.General').toString(),
},
{
name: 'console',
label: this.$t('Settings.ConsoleTab.Console') + '',
label: this.$t('Settings.ConsoleTab.Console').toString(),
},
{
name: 'control',
label: this.$t('Settings.ControlTab.Control') + '',
label: this.$t('Settings.ControlTab.Control').toString(),
},
{
name: 'dashboard',
label: this.$t('Settings.DashboardTab.Dashboard') + '',
label: this.$t('Settings.DashboardTab.Dashboard').toString(),
},
{
name: 'editor',
label: this.$t('Settings.EditorTab.Editor') + '',
label: this.$t('Settings.EditorTab.Editor').toString(),
},
{
name: 'gcodeviewer',
label: this.$t('Settings.GCodeViewerTab.GCodeViewer') + '',
name: 'gcodeViewer',
label: this.$t('Settings.GCodeViewerTab.GCodeViewer').toString(),
},
{
name: 'gcodehistory',
label: this.$t('Settings.GeneralTab.DbConsoleHistory') + '',
label: this.$t('Settings.GeneralTab.DbConsoleHistory').toString(),
},
{
name: 'macros',
label: this.$t('Settings.MacrosTab.Macros') + '',
label: this.$t('Settings.MacrosTab.Macros').toString(),
},
{
name: 'notifications',
label: this.$t('App.Notifications.Notifications').toString(),
},
{
name: 'presets',
label: this.$t('Settings.PresetsTab.PreheatPresets') + '',
label: this.$t('Settings.PresetsTab.PreheatPresets').toString(),
},
{
name: 'remoteprinters',
label: this.$t('Settings.RemotePrintersTab.RemotePrinters') + '',
label: this.$t('Settings.RemotePrintersTab.RemotePrinters').toString(),
},
{
name: 'timelapse',
label: this.$t('Settings.TimelapseTab.Timelapse') + '',
label: this.$t('Settings.TimelapseTab.Timelapse').toString(),
},
{
name: 'uiSettings',
label: this.$t('Settings.UiSettingsTab.UiSettings') + '',
label: this.$t('Settings.UiSettingsTab.UiSettings').toString(),
},
{
name: 'view',
label: this.$t('Settings.GeneralTab.DbView') + '',
label: this.$t('Settings.GeneralTab.DbView').toString(),
},
{
name: 'webcams',
label: this.$t('Settings.WebcamsTab.Webcams') + '',
label: this.$t('Settings.WebcamsTab.Webcams').toString(),
},
]
}
@@ -348,6 +364,23 @@ export default class SettingsGeneralTab extends Mixins(BaseMixin) {
return languages
}
get calcPrintProgressItems() {
return [
{ value: 'file-relative', text: this.$t('Settings.GeneralTab.CalcPrintProgressItems.FileRelative') },
{ value: 'file-absolute', text: this.$t('Settings.GeneralTab.CalcPrintProgressItems.FileAbsolute') },
{ value: 'slicer', text: this.$t('Settings.GeneralTab.CalcPrintProgressItems.Slicer') },
{ value: 'filament', text: this.$t('Settings.GeneralTab.CalcPrintProgressItems.Filament') },
]
}
get calcPrintProgress() {
return this.$store.state.gui.general.calcPrintProgress ?? 'file-relative'
}
set calcPrintProgress(newVal) {
this.$store.dispatch('gui/saveSetting', { name: 'general.calcPrintProgress', value: newVal })
}
get calcEstimateItems() {
return [
{ value: 'file', text: this.$t('Settings.GeneralTab.EstimateValues.File') },
@@ -452,7 +485,7 @@ export default class SettingsGeneralTab extends Mixins(BaseMixin) {
}
async backupDb() {
this.$store.dispatch('socket/addLoading', 'backupDbButton')
await this.$store.dispatch('socket/addLoading', 'backupDbButton')
await this.refreshNamespaces()
if (this.availableNamespaces.includes('mainsail')) await this.refreshMainsailKeys()
else this.mainsailKeys = []
@@ -469,7 +502,7 @@ export default class SettingsGeneralTab extends Mixins(BaseMixin) {
}
async restoreDb() {
this.$store.dispatch('socket/addLoading', 'restoreUploadButton')
await this.$store.dispatch('socket/addLoading', 'restoreUploadButton')
this.$refs?.uploadBackupFile?.click()
}
@@ -3,6 +3,9 @@
<v-card v-if="!form.bool" flat>
<v-card-text>
<h3 class="text-h5 mb-3">{{ $t('Settings.RemotePrintersTab.RemotePrinters') }}</h3>
<v-alert v-if="!canAddPrinters" :icon="mdiAlertOutline" type="warning" text>
{{ $t('Settings.RemotePrintersTab.UseConfigJson') }}
</v-alert>
<div v-for="(printer, index) in printers" :key="printer.id">
<v-divider v-if="index" class="my-2"></v-divider>
<settings-row
@@ -82,7 +85,7 @@ import { Component, Mixins } from 'vue-property-decorator'
import BaseMixin from '../mixins/base'
import SettingsRow from '@/components/settings/SettingsRow.vue'
import { GuiRemoteprintersStatePrinter } from '@/store/gui/remoteprinters/types'
import { mdiCancel, mdiCheckboxMarkedCircle, mdiDelete, mdiPencil } from '@mdi/js'
import { mdiCancel, mdiCheckboxMarkedCircle, mdiDelete, mdiPencil, mdiAlertOutline } from '@mdi/js'
interface printerForm {
bool: boolean
@@ -100,6 +103,7 @@ export default class SettingsRemotePrintersTab extends Mixins(BaseMixin) {
mdiCancel = mdiCancel
mdiPencil = mdiPencil
mdiDelete = mdiDelete
mdiAlertOutline = mdiAlertOutline
private form: printerForm = {
bool: false,
@@ -114,7 +118,7 @@ export default class SettingsRemotePrintersTab extends Mixins(BaseMixin) {
}
get canAddPrinters() {
return this.$store.state.configInstances.length === 0
return this.$store.state.instancesDB !== 'json'
}
get protocol() {
+78 -30
View File
@@ -1,30 +1,3 @@
<style lang="scss" scoped>
._transition i::before {
transition: transform 500ms;
}
._rotate-180:before {
transform: rotate(180deg);
}
.v-item-group {
button:hover::before,
button:focus::before {
opacity: 0 !important;
}
._menu-button {
height: 40px;
width: 62px;
border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
._menu-button:hover {
border-color: rgba(255, 255, 255, 1) !important;
}
._menu-button:focus {
border: 2px solid var(--color-primary) !important;
}
}
</style>
<template>
<div>
<v-card v-if="!form.bool" flat>
@@ -51,7 +24,11 @@
</settings-row>
</div>
</v-card-text>
<v-card-actions class="d-flex justify-end">
<v-card-actions>
<v-btn v-if="existCrowsnestConf" text color="primary" @click="openCrowsnestConf">
{{ $t('Settings.WebcamsTab.EditCrowsnestConf') }}
</v-btn>
<v-spacer></v-spacer>
<v-btn text color="primary" @click="createWebcam">{{ $t('Settings.WebcamsTab.AddWebcam') }}</v-btn>
</v-card-actions>
</v-card>
@@ -66,7 +43,7 @@
<v-row>
<v-col class="col-12 col-sm-6">
<v-row>
<v-col class="d-flex align-center">
<v-col class="d-flex">
<v-item-group>
<v-menu :offset-y="true" title="Icon">
<template #activator="{ on, attrs }">
@@ -154,7 +131,7 @@
</v-col>
</v-row>
<v-row v-if="form.service === 'mjpegstreamer-adaptive'">
<v-col class="py-2">
<v-col class="py-2 col-6">
<v-text-field
v-model="form.targetFps"
outlined
@@ -162,6 +139,15 @@
hide-details
:label="$t('Settings.WebcamsTab.TargetFPS')"></v-text-field>
</v-col>
<v-col class="py-2 col-6">
<v-select
v-model="form.rotate"
:items="rotateItems"
outlined
dense
hide-details
:label="$t('Settings.WebcamsTab.Rotate')"></v-select>
</v-col>
</v-row>
<v-row>
<v-col class="py-1">
@@ -231,6 +217,7 @@ import Uv4lMjpeg from '@/components/webcams/Uv4lMjpeg.vue'
import Ipstreamer from '@/components/webcams/Ipstreamer.vue'
import { mdiMenuDown, mdiDelete, mdiPencil, mdiWebcam } from '@mdi/js'
import WebcamMixin from '@/components/mixins/webcam'
import { FileStateFile } from '@/store/files/types'
interface webcamForm {
bool: boolean
@@ -242,6 +229,7 @@ interface webcamForm {
targetFps: number
urlStream: string
urlSnapshot: string
rotate: number
flipX: boolean
flipY: boolean
}
@@ -272,6 +260,7 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
targetFps: 15,
urlStream: '',
urlSnapshot: '',
rotate: 0,
flipX: false,
flipY: false,
}
@@ -281,6 +270,13 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
unique: (value: string) => !this.existsWebcamName(value) || this.$t('Settings.WebcamsTab.NameAlreadyExists'),
}
private rotateItems = [
{ value: 0, text: '0°' },
{ value: 90, text: '90°' },
{ value: 180, text: '180°' },
{ value: 270, text: '270°' },
]
declare $refs: {
webcamForm: any
}
@@ -322,6 +318,18 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
return ''
}
get configfiles() {
return this.$store.getters['files/getDirectory']('config')?.childrens ?? []
}
get crowsnestConf(): FileStateFile | null {
return this.configfiles.find((file: FileStateFile) => file.filename === 'crowsnest.conf')
}
get existCrowsnestConf(): boolean {
return this.configfiles.findIndex((file: FileStateFile) => file.filename === 'crowsnest.conf') !== -1
}
getSubtitle(webcam: GuiWebcamStateWebcam) {
return 'URL: ' + (webcam.service === 'mjpegstreamer-adaptive' ? webcam.urlSnapshot : webcam.urlStream)
}
@@ -348,6 +356,7 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
this.form.targetFps = webcam.targetFps
this.form.urlStream = webcam.urlStream
this.form.urlSnapshot = webcam.urlSnapshot
this.form.rotate = webcam.rotate ?? 0
this.form.flipX = webcam.flipX
this.form.flipY = webcam.flipY
@@ -368,6 +377,7 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
targetFps: this.form.targetFps,
urlStream: this.form.urlStream,
urlSnapshot: this.form.urlSnapshot,
rotate: this.form.rotate,
flipX: this.form.flipX,
flipY: this.form.flipY,
}
@@ -392,6 +402,7 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
this.form.targetFps = 15
this.form.urlStream = '/webcam/?action=stream'
this.form.urlSnapshot = '/webcam/?action=snapshot'
this.form.rotate = 0
this.form.flipX = false
this.form.flipY = false
}
@@ -399,5 +410,42 @@ export default class SettingsWebcamsTab extends Mixins(BaseMixin, WebcamMixin) {
setFormIcon(icon: string) {
this.form.icon = icon
}
openCrowsnestConf() {
this.$store.dispatch('editor/openFile', {
root: 'config',
path: '/',
filename: this.crowsnestConf?.filename,
size: this.crowsnestConf?.size,
permissions: this.crowsnestConf?.permissions,
})
}
}
</script>
<style lang="scss" scoped>
._transition i::before {
transition: transform 500ms;
}
._rotate-180:before {
transform: rotate(180deg);
}
.v-item-group {
button:hover::before,
button:focus::before {
opacity: 0 !important;
}
._menu-button {
height: 40px;
width: 62px;
border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
._menu-button:hover {
border-color: rgba(255, 255, 255, 1) !important;
}
._menu-button:focus {
border: 2px solid var(--color-primary) !important;
}
}
</style>
+4 -1
View File
@@ -38,7 +38,10 @@ export default class PrinterSelector extends Mixins(BaseMixin) {
mdiChevronDown = mdiChevronDown
get displayMenuPoint() {
return (this.remoteMode && this.countPrinters > 1) || (!this.remoteMode && this.countPrinters)
return (
(this.instancesDB !== 'moonraker' && this.countPrinters > 1) ||
(this.instancesDB === 'moonraker' && this.countPrinters)
)
}
get printers() {
@@ -34,7 +34,7 @@
<script lang="ts">
import Component from 'vue-class-component'
import { Mixins, Prop } from 'vue-property-decorator'
import { Mixins, Prop, Watch } from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
@Component
@@ -70,8 +70,9 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
}
let transforms = ''
if ('flipX' in this.camSettings && this.camSettings.flipX) transforms += ' scaleX(-1)'
if ('flipX' in this.camSettings && this.camSettings.flipY) transforms += ' scaleY(-1)'
if (this.camSettings.flipX ?? false) transforms += ' scaleX(-1)'
if (this.camSettings.flipY ?? false) transforms += ' scaleY(-1)'
if ((this.camSettings.rotate ?? 0) === 180) transforms += ' rotate(180deg)'
if (transforms.trimStart().length) output.transform = transforms.trimStart()
if (this.aspectRatio) output.aspectRatio = this.aspectRatio
@@ -83,6 +84,10 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
return this.currentFPS < 10 ? '0' + this.currentFPS.toString() : this.currentFPS
}
get rotate() {
return [90, 270].includes(this.camSettings.rotate ?? 0)
}
refreshFrame() {
if (this.isVisible) {
this.refresh = new Date().getTime()
@@ -105,12 +110,31 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
const frame: any = await this.loadImage(url.toString())
canvas.width = canvas.clientWidth
canvas.height = canvas.clientWidth * (frame.height / frame.width)
if (this.aspectRatio === null) {
this.aspectRatio = frame.width / frame.height
if (this.rotate) {
if (this.aspectRatio === null) this.aspectRatio = frame.height / frame.width
canvas.height = canvas.clientWidth / (frame.height / frame.width)
} else {
if (this.aspectRatio === null) this.aspectRatio = frame.width / frame.height
canvas.height = canvas.clientWidth * (frame.width / frame.height)
}
await ctx?.drawImage(frame, 0, 0, frame.width, frame.height, 0, 0, canvas.width, canvas.height)
if (this.rotate) {
const scale = canvas.height / frame.width
const x = canvas.width / 2
const y = canvas.height / 2
ctx.translate(x, y)
ctx.rotate((this.camSettings.rotate * Math.PI) / 180)
await ctx?.drawImage(
frame,
(-frame.width / 2) * scale,
(-frame.height / 2) * scale,
frame.width * scale,
frame.height * scale
)
ctx.rotate(-((this.camSettings.rotate * Math.PI) / 180))
ctx.translate(-x, -y)
} else await ctx?.drawImage(frame, 0, 0, frame.width, frame.height, 0, 0, canvas.width, canvas.height)
this.isLoaded = true
}
@@ -190,5 +214,10 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin) {
clearTimeout(this.timer)
this.timer = undefined
}
@Watch('camSettings', { immediate: true, deep: true })
camSettingsChanged() {
this.aspectRatio = null
}
}
</script>
+127 -48
View File
@@ -1,10 +1,28 @@
{
"App": {
"Notifications": {
"DependencyDescription": "Den nuværende version af {name} understøtter ikke alle funktioner i Mainsail. Opdatér {name} til minimum version: {neededVersion}.",
"DependencyName": "Afhængighed: {name}",
"DismissAll": "Fjern alle",
"KlipperWarnings": {
"DeprecatedOption": "Funktionen \"{option}\" i sektion \"{section}\" er forældet.",
"DeprecatedValue": "Værdien \"{value}\" i muligheden \"{option}\" i sektion \"{section}\" er forældet."
}
"DeprecatedOptionHeadline": "Forældet Klipper mulighed",
"DeprecatedValue": "Værdien \"{value}\" i muligheden \"{option}\" i sektion \"{section}\" er forældet.",
"DeprecatedValueHeadline": "Forældet Klipper værdi",
"KlipperWarning": "Klipper advarsel"
},
"MoonrakerWarnings": {
"MoonrakerComponent": "Moonraker: {component}",
"MoonrakerFailedComponentDescription": "Der blev fundet en fejl under indlæsning af Moonraker komponenten '{component}'. Tjek logfilen og løs problemet.",
"MoonrakerWarning": "Moonraker advarsel",
"UnparsedConfigOption": "Upareret mulighed '{option}: {value}' fundet i sektionen: [{section}]. Denne mulighed er måske ikke længere tilgængelig, eller der kan være et problem under indlæsning af et modul. Dette vil resultere i en opstartsfejl.",
"UnparsedConfigSection": "Upareret konfigurationssektion [{section}] fundet. Dette kan være på grund af en fejl under indlæsning af en komponent. Dette vil resultere i en opstartsfejl."
},
"Never": "aldrig",
"NextReboot": "næste genstart",
"NoNotification": "Ingen tilgængelig notifikationer",
"Notifications": "Notifikationer",
"Remind": "Påmind mig om:"
},
"NumberInput": {
"GreaterOrEqualError": "Skal være større eller lig med {min}!",
@@ -94,6 +112,7 @@
"CheckMoonrakerLog": "Hvis denne besked vises flere gange, kig da i logfilen her:",
"Connecting": "Forbinder med {host}",
"Failed": "Forbindelse fejlede",
"Initializing": "Initialiserer",
"TryAgain": "Prøv igen"
},
"Console": {
@@ -104,14 +123,21 @@
"SendCode": "Send kode...",
"SetupConsole": "Terminalindstillinger"
},
"Dialogs": {
"StartPrint": {
"Cancel": "Annuller",
"DoYouWantToStartFilename": "Vil du begynde at printe: {filename}?",
"Headline": "Start print",
"Print": "print",
"Timelapse": "Timelapse"
}
},
"Editor": {
"Cancel": "Annuller",
"ConfigReference": "Konfigurationsreference",
"DontSave": "Gem ikke",
"Downloading": "Downloader",
"FailedSave": "{filename} blev IKKE gemt!",
"FileReadOnly": "Skrivebeskyttet",
"Minimap": "Vis minikort",
"SaveClose": "Gem & luk",
"SaveRestart": "Gem & genstart",
"SuccessfullySaved": "{filename} blev gemt.",
@@ -129,17 +155,20 @@
"Files": {
"AddToQueue": "Tilføj til kø",
"AllFiles": "Alle",
"BedTemp": "Bed temperatur",
"Cancel": "Annuller",
"ChamberTemp": "Indelukke temperatur",
"Create": "Opret",
"CreateNewDirectory": "Ny mappe",
"CurrentPath": "Du er her",
"Delete": "Slet",
"DeleteDirectory": "Slet mappe",
"DeleteDirectoryQuestion": "Vil du slette mappen \"{name}\" og alt dens indhold?",
"DeleteSelectedQuestion": "Vil du slette alle {count} valgte filer?",
"Download": "Download",
"Downloading": "Downloader",
"EditFile": "Rediger Fil",
"Empty": "Tom",
"ExtruderTemp": "Hotend temperatur",
"Filament": "Filament",
"FilamentName": "Filament navn",
"FilamentType": "Filament type",
@@ -151,7 +180,12 @@
"FreeDisk": "Ledig plads",
"GCodeFiles": "G-Code Filer",
"HiddenFiles": "Skjulte filer",
"LastEndTime": "Sidste slut tid",
"LastFilamentUsed": "Sidste filament forbrug",
"LastModified": "Sidst ændret",
"LastPrintDuration": "Sidste printtid",
"LastStartTime": "Sidste start tid",
"LastTotalDuration": "Sidste totale tid",
"LayerHeight": "Laghøjde",
"Name": "Navn",
"NewDirectory": "Ny mappe",
@@ -174,11 +208,14 @@
"SuccessfullyRenamed": "{filename} omdøbt.",
"SuccessfullyUploaded": "Upload af {filename} udført!",
"Total": "Total",
"Uploading": "Uploader",
"UploadNewGcode": "Upload ny G-Code",
"Used": "Brugt",
"View3D": "Vis i 3D"
},
"FullscreenUpload": {
"CannotUploadFile": "Kan ikke uploade filen!",
"DropFilesToUploadFiles": "Drop filer her for at uploade"
},
"GCodeViewer": {
"ClearLoadedFile": "Fjern",
"ColorMode": "Farvevisning",
@@ -223,6 +260,9 @@
"ErrorKlipperNotReady": "Klipper er ikke klar. Kan ikke vise højdekort.",
"Flat": "Fladt",
"Heightmap": "Højdekort",
"InvalidNameAlreadyExists": "Profilnavnet bruges allerede, vælg venligst et andet profilnavn.",
"InvalidNameEmpty": "Feltet må ikke være tomt!",
"InvalidNameReserved": "Profilnavnet 'default' er reserveret af systemet, vælg venligst et andet profilnavn",
"Later": "Senere",
"Mesh": "Mesh",
"Name": "Navn",
@@ -244,12 +284,16 @@
"Wireframe": "Wireframe"
},
"History": {
"AddNote": "Tilføj note",
"AllJobs": "Alle job",
"AvgPrinttime": "Gns. printtid",
"Cancel": "Annuller",
"ChamberTemp": "Indelukke temperatur",
"CreateNote": "Gem note",
"Delete": "Slet",
"DeleteSelectedQuestion": "Er du sikker på du vil slette alle {count} valgte jobs?",
"Details": "Detaljer",
"EditNote": "Redigér note",
"Empty": "Tom",
"EndTime": "Sluttid",
"EstimatedFilament": "Estimeret filament",
@@ -270,12 +314,14 @@
"LastModified": "Sidst ændret",
"LayerHeight": "Laghøjde",
"LongestPrinttime": "Længste print",
"Note": "Note",
"ObjectHeight": "Objekt Højde",
"PrintDuration": "Print varighed",
"PrintHistory": "Print historik",
"PrintTime": "Print Tid",
"PrinttimeAvg": "Printtid gns.",
"Reprint": "Print igen",
"Save": "Gem",
"Search": "Søg",
"SelectedFilamentUsed": "Filament brugt på valgte",
"SelectedJobs": "Valgte jobs",
@@ -309,6 +355,7 @@
"JobQueue": "Jobkø",
"Jobs": "Jobs",
"Pause": "Pause",
"RemoveFromQueue": "Fjern fra køen",
"Start": "Start"
},
"Machine": {
@@ -323,6 +370,7 @@
"Delete": "Slet",
"DeleteDirectory": "Slet mappe",
"DeleteDirectoryQuestion": "Vil du slette mappen \"{name}\" og alt dens indhold?",
"DeleteSelectedQuestion": "Vil du slette alle {count} valgte filer?",
"Download": "Download",
"EditFile": "Rediger fil",
"Empty": "Tom",
@@ -357,14 +405,14 @@
"Logfiles": "Logfiler"
},
"SystemPanel": {
"Constants": "Constants",
"Constants": "Konstanter",
"Cpu": "CPU",
"HostDetails": "Host details",
"LastStats": "Last stats",
"Load": "Load",
"Memory": "MEM",
"NoMoreInfos": "No more Infos",
"SystemLoad": "System Loads",
"HostDetails": "Værtsdetaljer",
"LastStats": "Sidste detaljer",
"Load": "Belastning",
"Memory": "RAM",
"NoMoreInfos": "Ikke mere info",
"SystemLoad": "Systembelastninger",
"Values": {
"Awake": "Vågen/Aktiv: {awake}",
"Bandwidth": "Båndbredde: {bandwidth}/s",
@@ -406,15 +454,31 @@
}
},
"Panels": {
"DependenciesPanel": {
"Dependency": "Afhængighed | Afhængigheder",
"DependencyDescription": "Din nuværende version af {name} understøtter ikke alle funktioner i Mainsail. Opdater {name} til mindst version {neededVersion}."
},
"ExtruderControlPanel": {
"Allowed": "Tilladt",
"EstimatedExtrusion": "Estimeret ekstrudering",
"Extrude": "Extrude",
"ExtruderTempTooLow": "Hotend temp. <",
"Headline": "Extruder Kontrolpanel",
"Retract": "Retract"
"ExtrusionFactor": "Ekstruderingsfaktor",
"ExtrusionFeedrate": "Ekstruderingsfødehastighed",
"FilamentLength": "Filamentlængde",
"FirmwareRetractionSettings": {
"RetractLength": "Retract længde",
"RetractSpeed": "Retract hastighed",
"UnretractExtraLength": "Unretract ekstra længde",
"UnretractSpeed": "Unretract hastighed"
},
"Headline": "Ekstruder Kontrolpanel",
"LoadFilament": "Fød filament",
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Ekstruder",
"SmoothTime": "Smooth Time"
},
"Requested": "Anmodet",
"Retract": "Retract",
"TooLargeExtrusion": "Ekstruderingen er for lang!",
"UnloadFilament": "Fjern filament"
},
"FarmPrinterPanel": {
"ReconnectToPrinter": "Genopret forbindelse",
@@ -429,26 +493,12 @@
"Restart": "Genstart"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Firmware Retraction",
"RetractLength": "Retract længde",
"RetractSpeed": "Retract hastighed",
"UnretractExtraLength": "Unretract ekstra længde",
"UnretractSpeed": "Unretract hastighed"
},
"Headline": "Printer indstillinger",
"MotionSettings": {
"Acceleration": "Acceleration",
"MaxAccelToDecel": "Maks. accel. til decel.",
"Motion": "Bevægelse",
"SquareCornerVelocity": "Hastighed for 90° hjørne",
"Velocity": "Hastighed (Feedrate)"
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Extruder",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
}
},
"MacrosPanel": {
@@ -486,6 +536,8 @@
"CancelPrint": "Afbryd print",
"ClearPrintStats": "Slet printstatistik",
"Difference": "Opvarmning",
"EmptyGcodes": "Ingen G-kode tilgængelig.",
"EmptyJobqueue": "Der er ingen jobs i kø.",
"Estimate": "Estimeret",
"ETA": "ETA",
"ExcludeObject": {
@@ -497,25 +549,29 @@
},
"Filament": "Filament",
"File": "Fil",
"Files": "Filer",
"Flow": "Flow",
"Headline": "Status",
"Jobqueue": "Jobkø: ({count})",
"JobqueueMoreFiles": "Ikke flere jobs | Et job til | {count} jobs tilbage",
"Layer": "Lag",
"Max": "maks",
"ObjectHeight": "Objekt Højde",
"PausePrint": "Pause print",
"Print": "Reel printtid",
"PrintTime": "Print Tid",
"ReprintJob": "Print job igen",
"Requested": "Anmodet",
"ResumePrint": "Genoptag print",
"Slicer": "Slicer",
"Speed": "Hastighed",
"Status": "Status",
"Total": "Total",
"Unknown": "Ukendt"
},
"TemperaturePanel": {
"AutoscaleChart": "Autoskalér diagram",
"Avg": "Gns",
"Color": "Farve",
"Cooldown": "Nedkøling",
"Current": "Nuværende",
"Dataset": {
@@ -543,15 +599,13 @@
"Absolute": "absolut",
"ALL": "Alle",
"Headline": "Kontrolpanel",
"InvertX": "Invertér X",
"InvertY": "Invertér Y",
"InvertZ": "Invertér Z",
"Invalid": "Ugyldig",
"OutOfRange": "Uden for grænse!",
"PleaseConfigureSteps": "Konfigurer steps",
"Position": "Position",
"QGL": "QGL",
"Relative": "relativ",
"SettingsInterfaceControl": "Indstillinger > Interface > Control",
"SetupControls": "Kontrolindstillinger",
"SpeedFactor": "Hastighed",
"ZTilt": "Z Tilt"
},
@@ -559,11 +613,11 @@
"All": "Alle",
"FPS": "FPS",
"Headline": "Webcam",
"UnknownWebcamService": "Ukendt Webcam service",
"UrlNotAvailable": "URL ikke tilgængelig"
"NoWebcam": "Intet webcam tilgængeligt. Tilføj et under \"Interfaceindstillinger\" -> \"Webcams\".",
"UnknownWebcamService": "Ukendt Webcam service"
},
"ZoffsetPanel": {
"CurrentOffset": "Nuværende offset",
"Clear": "Nulstil",
"Headline": "Z-Offset",
"Later": "Senere",
"Ok": "OK",
@@ -597,6 +651,7 @@
},
"SelectPrinterDialog": {
"AddPrinter": "Tilføj Printer",
"AddPrintersToJson": "Tilføj venligst Printere til config.json.",
"CannotConnectTo": "Kan ikke forbinde med {host}.",
"ChangePrinter": "Skift Printer",
"Connecting": "Forbinder med {host}",
@@ -628,6 +683,7 @@
"EntryStyle": "Indtastnings-Design",
"EntryStyleCompact": "Kompakt",
"EntryStyleDefault": "Standard",
"Filters": "Filtre",
"Height": "Højde",
"HideTemperatures": "Skjul temperaturer",
"HideTimelapse": "Skjul Timelapse",
@@ -641,21 +697,29 @@
"Circle": "Cirkel",
"Control": "Kontrol",
"Cross": "Kryds",
"EnableXYHoming": "Aktivér kombineret X & Y homing",
"EstimatedExtrusionInfo": "Vis estimerede ekstruderingsinformationer",
"EstimatedExtrusionInfoDescription": "Vis/Skjul information om estimerede ekstruderinger baseret på eksrtuderingsmængde og hastighed",
"InvertXMovement": "Invertér X",
"InvertYMovement": "Invertér Y",
"InvertZMovement": "Invertér Z",
"IsDefault": "Standard",
"MaximumValues": "Maksimumværdier",
"MaximumValuesVisibility": "Vis maksimumværdier",
"MinimumValues": "Minimumsværdier",
"MotorsOff": "Slukkede motorer{isDefault}",
"MoveDistancesEInMm": "Distance E i mm",
"MoveDistancesInMm": "Distance i mm",
"MoveDistancesXYInMm": "Distance XY i mm",
"MoveDistancesZInMm": "Distance Z i mm",
"QuadGantryLevel": "Firarms nivellering {isDefault}",
"SpeedEInMms": "Hastighed E i mm/s",
"SpeedXY": "Hastighed XY",
"SpeedZ": "Hastighed Z",
"Style": "Stil",
"ValueGreaterThan": "Værdi større end"
"ValueGreaterThan": "Værdi større end {value}",
"ZOffsetIncrements": "Z-offset trin (i mm)",
"ZTiltAdjust": "Z-Tilt justering{isDefault}"
},
"DashboardTab": {
"Dashboard": "Kontrolpanel",
@@ -679,11 +743,12 @@
},
"GCodeViewerTab": {
"BackgroundColor": "Baggrundsfarve",
"ExtruderColor": "Extruder farve",
"ExtruderColor": "Ekstruder farve",
"GCodeViewer": "G-Code viser",
"GridColor": "Grid farve",
"MaxFeed": "Maksimum hastighed",
"MinFeed": "Minimum hastighed",
"ProgressColor": "Fremgangsfarve",
"ShowAxes": "Vis akser"
},
"GeneralTab": {
@@ -693,6 +758,14 @@
"CalcEstimateTimeDescription": "Hvis flere er valgt vil et gennemsnit blive brugt",
"CalcEtaTime": "Beregn sluttidspunkt for print",
"CalcEtaTimeDescription": "Hvis flere er valgt vil et gennemsnit blive brugt",
"CalcPrintProgress": "Fremgangsberegning",
"CalcPrintProgressDescription": "Metode til beregning af fremgang.",
"CalcPrintProgressItems": {
"Filament": "Filament",
"FileAbsolute": "Filposition (absolut)",
"FileRelative": "Filposition (relativ)",
"Slicer": "Slicer (M73)"
},
"CannotReadJson": "Kan ikke læse backup-fil",
"DbConsoleHistory": "Terminal Historik",
"DbHistoryJobs": "Jobhistorik",
@@ -759,9 +832,13 @@
"CustomGCode": "Brugerdefineret G-Code",
"EditCooldown": "Rediger nedkøling",
"EditHeadline": "Rediger forudindstilling",
"ErrorInvalidValue": "Ugyldig værdi",
"ErrorNameNotUnique": "Navnet er allerede i brug",
"ErrorNameRequired": "Navn skal udfyldes",
"Name": "Navn",
"PreheatPresets": "Forudindstillinger",
"PresetInfo": "Du skal indstille mindst én temperatur eller g-kode.",
"PresetNamePlaceholder": "Navn (skal udfyldes)",
"StoreButton": "Gem forudindstilling",
"UpdateButton": "Opdater forudindstilling",
"UpdateCooldown": "Opdater nedkøling"
@@ -772,7 +849,8 @@
"Hostname": "Værtsnavn",
"Port": "Port",
"RemotePrinters": "Printere",
"UpdatePrinter": "Opdater printer"
"UpdatePrinter": "Opdater printer",
"UseConfigJson": "InstanceDB = JSON fundet. Brug venligst config.json til at ændre på printerlisten."
},
"TimelapseTab": {
"Autorender": "Autorendering",
@@ -784,12 +862,12 @@
"duplicatelastframe": "Kopier sidste frame",
"duplicatelastframeDescription": "Kopierer sidste frame i videoen",
"Enabled": "Aktiveret",
"EnabledDescription": "Hvis inaktiv, bliver G-Code makroer ignoreret og AutoRendering bliver sprunget over.",
"EnabledDescription": "Hvis inaktiv, bliver G-Kode makroer ignoreret og AutoRendering bliver sprunget over.",
"Extraoutputparams": "Ekstra output parametre",
"ExtraoutputparamsDescription": "Definerer ekstra output parametre til FFMPEG. Bemærk: Udfyldning af dette felt vil deaktivere rotationsindstillinger",
"FwRetract": "Firmware Retract",
"FwRetractDescription": "Brug firmware retraction i timelapse makroen",
"GcodeVerbose": "Beskrevet G-Code",
"GcodeVerbose": "Beskrevet G-Kode",
"GcodeVerboseDescription": "Hvis aktiv, vil G-Code skrive informationer i terminalen",
"General": "Generelt",
"HyperlapseCycle": "Hyperlapse cyklus tid",
@@ -837,9 +915,9 @@
"VariableFps": "Variabel FPS",
"VariableFpsDescription": "Hvis aktiv, vil framrate blive beregnet ud fra ønsket længde.",
"VariableFpsMax": "Variabel FPS maks",
"VariableFpsMaxDescription": "",
"VariableFpsMaxDescription": "Største værdi for variabel FPS",
"VariableFpsMin": "Variabel FPS min",
"VariableFpsMinDescription": ""
"VariableFpsMinDescription": "Mindste værdi for variabel FPS"
},
"UiSettingsTab": {
"BoolBigThumbnail": "Stor forhåndsvisning",
@@ -888,6 +966,7 @@
"Name": "Navn",
"NameAlreadyExists": "Navnet bruges allerede",
"Required": "Krævet",
"Rotate": "Rotér",
"SaveWebcam": "Gem Webcam",
"Service": "Service",
"TargetFPS": "Ønsket FPS",
+42 -38
View File
@@ -21,6 +21,7 @@
"Never": "nie",
"NextReboot": "nächsten Reboot",
"NoNotification": "Keine Benachrichtigung vorhanden",
"Notifications": "Benachrichtigungen",
"Remind": "Errinnere:"
},
"NumberInput": {
@@ -111,6 +112,7 @@
"CheckMoonrakerLog": "Wenn diese Meldung wiederholt erscheint, schaue bitte in die Logdatei unter:",
"Connecting": "Verbinde zu {host}",
"Failed": "Verbindung fehlgeschlagen",
"Initializing": "Initialisieren",
"TryAgain": "Erneut versuchen"
},
"Console": {
@@ -131,17 +133,11 @@
}
},
"Editor": {
"Cancel": "Abbrechen",
"ConfigReference": "Konfig-Referenz",
"DontSave": "Nicht speichern",
"Downloading": "Herunterladen",
"FailedSave": "{filename} konnte nicht hochgeladen werden!",
"FileReadOnly": "schreibgeschützt",
"KlipperRestartMethod": "Klipper Neustartmethode",
"KlipperRestartMethodDescription": "Wählen der Neustartmethode die bei 'Speichern & Neustarten' verwendet wird, wenn Klipper-Konfigurationsdateien bearbeitet werden.",
"Minimap": "Minimap anzeigen",
"MoonrakerRestartInstance": "Moonraker Neustartinstanz",
"MoonrakerRestartInstanceDescription": "Wählen der Moonraker-Instanz die bei 'Speichern & Neustarten' neu gestartet wird, wenn Moonraker-Konfigurationsdateien bearbeitet werden.",
"SaveClose": "Speichern & schließen",
"SaveRestart": "Speichern & Neustart",
"SuccessfullySaved": "{filename} erfolgreich gespeichert.",
@@ -159,7 +155,9 @@
"Files": {
"AddToQueue": "Zur Auftragswarteschlange hinzufügen",
"AllFiles": "Alle",
"BedTemp": "Bett Temp.",
"Cancel": "Abbrechen",
"ChamberTemp": "Kammer Temp.",
"Create": "Erstellen",
"CreateNewDirectory": "Ordner erstellen",
"CurrentPath": "Aktueller Pfad",
@@ -168,9 +166,9 @@
"DeleteDirectoryQuestion": "Willst du wirklich das Verzeichnis \"{name}\" mit seinem gesamten Inhalt löschen?",
"DeleteSelectedQuestion": "Sollen wirklich {count} ausgewählte Dateien gelöscht werden?",
"Download": "Herunterladen",
"Downloading": "Herunterladen",
"EditFile": "Datei bearbeiten",
"Empty": "Leer",
"ExtruderTemp": "Extruder Temp.",
"Filament": "Filament",
"FilamentName": "Filament Name",
"FilamentType": "Filament Typ",
@@ -181,6 +179,7 @@
"Free": "Frei",
"FreeDisk": "Freier Speicherplatz",
"GCodeFiles": "G-Code Dateien",
"GcodesRootDirectoryDoesntExists": "Keinen G-Code Ordner gefunden. Bitte überprüfe die Option \"path\" im Abschnitt [virtual_sdcard] in der Klipper Konfiguration.",
"HiddenFiles": "Versteckte Dateien",
"LastEndTime": "Letzte Endzeit",
"LastFilamentUsed": "Letzter Filamentverbrauch",
@@ -210,7 +209,6 @@
"SuccessfullyRenamed": "{filename} erfolgreich umbenannt.",
"SuccessfullyUploaded": "Hochladen von {filename} erfolgreich!",
"Total": "Gesamt",
"Uploading": "Hochladen",
"UploadNewGcode": "G-Code hochladen",
"Used": "Belegt",
"View3D": "3D Betrachtung"
@@ -263,6 +261,9 @@
"ErrorKlipperNotReady": "Klipper nicht bereit. Heightmap deaktiviert.",
"Flat": "Flach",
"Heightmap": "Heightmap",
"InvalidNameAlreadyExists": "Das Profil existiert bereits, bitte wähle einen anderen Profilnamen.",
"InvalidNameEmpty": "Feld darf nicht leer sein!",
"InvalidNameReserved": "Das Profil 'default' ist reserviert, bitte wähle einen anderen Profilnamen.",
"Later": "später",
"Mesh": "Mesh",
"Name": "Name",
@@ -288,6 +289,7 @@
"AllJobs": "Alle",
"AvgPrinttime": "Druckzeit - Ø",
"Cancel": "abbrechen",
"ChamberTemp": "Kammer Temp.",
"CreateNote": "Notiz anlegen",
"Delete": "Löschen",
"DeleteSelectedQuestion": "Sollen wirklich {count} ausgewählte Jobs gelöscht werden?",
@@ -337,6 +339,7 @@
"in_progress": "In Arbeit",
"klippy_disconnect": "Klippy getrennt",
"klippy_shutdown": "Klippy heruntergefahren",
"Others": "Sonstige",
"server_exit": "Server-Exit"
},
"TitleExportHistory": "Historie exportieren",
@@ -362,6 +365,7 @@
"AllFiles": "Alle",
"Cancel": "Abbruch",
"ConfigFiles": "Konfigurationsdateien",
"ConfigRootDirectoryDoesntExists": "Keinen Konfigurations-Ordner gefunden. Bitte überprüfe die Option \"config_path\" im Abschnitt [file_manager] in der Moonraker Konfiguration.",
"Create": "Erstellen",
"CreateDirectory": "Verzeichnis erstellen",
"CreateFile": "Datei erstellen",
@@ -455,14 +459,25 @@
"Panels": {
"ExtruderControlPanel": {
"Allowed": "Erlaubt",
"EstimatedExtrusion": "Geschätzte Extrusion:",
"EstimatedExtrusion": "Extrusion:",
"Extrude": "Extrudieren",
"ExtruderTempTooLow": "Extruder Temp. <",
"ExtrusionFactor": "Extrusionsfaktor",
"ExtrusionFeedrate": "Extrusionsgeschwindigkeit",
"FilamentLength": "Filamentlänge",
"FirmwareRetractionSettings": {
"RetractLength": "Rückzugslänge",
"RetractSpeed": "Rückzuggeschwindigkeit",
"UnretractExtraLength": "Zusätzliche Ausfahrlänge",
"UnretractSpeed": "Ausfahrgeschwindigkeit"
},
"Headline": "Extruder",
"LoadFilament": "Filament laden",
"PressureAdvanceSettings": {
"Advance": "Pressure Advance",
"Extruder": "Extruder",
"SmoothTime": "Smooth Time"
},
"Requested": "Angefordert",
"Retract": "Rückzug",
"TooLargeExtrusion": "Extrusion zu groß!",
@@ -481,26 +496,12 @@
"Restart": "Neustart"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Firmware Rückzug",
"RetractLength": "Rückzugslänge",
"RetractSpeed": "Rückzuggeschwindigkeit",
"UnretractExtraLength": "Zusätzliche Ausfahrlänge",
"UnretractSpeed": "Ausfahrgeschwindigkeit"
},
"Headline": "Maschine",
"MotionSettings": {
"Acceleration": "Beschleunigung",
"MaxAccelToDecel": "Max. Beschl. zu Verz.",
"Motion": "Bewegung",
"SquareCornerVelocity": "Eck-Geschwindigkeit",
"Velocity": "Geschwindigkeit"
},
"PressureAdvanceSettings": {
"Advance": "Pressure Advance",
"Extruder": "Extruder",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
}
},
"MacrosPanel": {
@@ -538,6 +539,8 @@
"CancelPrint": "Druck abbrechen",
"ClearPrintStats": "Druckstatistiken löschen",
"Difference": "Unterschied",
"EmptyGcodes": "Kein G-Code verfügbar.",
"EmptyJobqueue": "Aktuell keine Datei in der Warteschlange.",
"Estimate": "Schätzung",
"ETA": "ETA",
"ExcludeObject": {
@@ -550,18 +553,16 @@
"Filament": "Filament",
"File": "Datei",
"Files": "Dateien",
"EmptyGcodes": "Kein G-Code verfügbar.",
"EmptyJobqueue": "Aktuell keine Datei in der Warteschlange.",
"Flow": "Fluss",
"Headline": "Status",
"Jobqueue": "Warteschlange ({count})",
"JobqueueMoreFiles": "keine weiteren Aufträge | einen weiteren Auftrag | {count} weitere Aufträge",
"PrintTime": "Druckzeit",
"Layer": "Schicht",
"Max": "max",
"ObjectHeight": "Objekthöhe",
"PausePrint": "Druck pausieren",
"Print": "Druck",
"PrintTime": "Druckzeit",
"ReprintJob": "Auftrag erneut drucken",
"Requested": "Angefordert",
"ResumePrint": "Druck fortführen",
@@ -574,7 +575,6 @@
"TemperaturePanel": {
"AutoscaleChart": "Autoskalierung",
"Avg": "Ø",
"Color": "Farbe",
"Cooldown": "Abkühlen",
"Current": "Aktuell",
"Dataset": {
@@ -603,20 +603,13 @@
"ALL": "ALLE",
"Headline": "Werkzeugkopf",
"Invalid": "Ungültig",
"InvertX": "X invertieren",
"InvertY": "Y invertieren",
"InvertZ": "Z invertieren",
"OutOfRange": "Außerhalb der Maschinengrenze!",
"PleaseConfigureSteps": "Bitte Schritte konfigurieren",
"Position": "Position",
"QGL": "QGL",
"Relative": "relativ",
"SettingsInterfaceControl": "Einstellungen > Interface > Steuerung",
"SetupControls": "Setup-Steuerelemente",
"SpeedFactor": "Geschwindigkeitsfaktor",
"XOffset": "X-Versatz",
"YOffset": "Y-Versatz",
"ZOffset": "Z-Versatz",
"ZTilt": "Z Tilt"
},
"WebcamPanel": {
@@ -624,12 +617,10 @@
"FPS": "FPS",
"Headline": "Webcam",
"NoWebcam": "Keine Webcam verfügbar. Füge eine Webcam unter \"Interface Einstellungen\" -> \"Webcams\".",
"UnknownWebcamService": "Unbekannter Webcam Dienst",
"UrlNotAvailable": "URL nicht verfügbar"
"UnknownWebcamService": "Unbekannter Webcam Dienst"
},
"ZoffsetPanel": {
"Clear": "Löschen",
"CurrentOffset": "Aktueller Versatz",
"Headline": "Z-Versatz",
"Later": "Später",
"Ok": "OK",
@@ -663,6 +654,7 @@
},
"SelectPrinterDialog": {
"AddPrinter": "Drucker hinzufügen",
"AddPrintersToJson": "Bitte füge einen Drucker in der config.json hinzu.",
"CannotConnectTo": "Kann keine Verbindung zu {host} herstellen.",
"ChangePrinter": "Drucker ändern",
"Connecting": "Verbinde zu {host}",
@@ -769,6 +761,14 @@
"CalcEstimateTimeDescription": "Bei Mehrfachauswahl wird ein Durchschnitt berechnet",
"CalcEtaTime": "ETA Berechnung",
"CalcEtaTimeDescription": "Bei Mehrfachauswahl wird ein Durchschnitt berechnet",
"CalcPrintProgress": "Berechnung des Druckfortschritts",
"CalcPrintProgressDescription": "Methode zur Berechnung des Druckfortschritts.",
"CalcPrintProgressItems": {
"Filament": "Filament",
"FileAbsolute": "Dateiposition (absolut)",
"FileRelative": "Dateiposition (relativ)",
"Slicer": "Slicer (M73)"
},
"CannotReadJson": "Sicherungsdatei kann nicht gelesen/analysiert werden.",
"DbConsoleHistory": "Verlauf der Konsole",
"DbHistoryJobs": "Historie Druckvorgänge",
@@ -852,7 +852,8 @@
"Hostname": "Hostname",
"Port": "Port",
"RemotePrinters": "Remote Drucker",
"UpdatePrinter": "Drucker aktualisieren"
"UpdatePrinter": "Drucker aktualisieren",
"UseConfigJson": "InstanceDB = JSON erkannt. Bitte bearbeite die config.json um die Druckerliste zu modifizieren."
},
"TimelapseTab": {
"Autorender": "Autorender",
@@ -951,6 +952,7 @@
"WebcamsTab": {
"AddWebcam": "Webcam hinzufügen",
"CreateWebcam": "Erstelle Webcam",
"EditCrowsnestConf": "crowsnest.conf bearbeiten",
"EditWebcam": "Webcam bearbeiten",
"FlipHorizontally": "Webcam waagerecht spiegeln",
"FlipVertically": "Webcam vertikal spiegeln",
@@ -968,6 +970,7 @@
"Name": "Name",
"NameAlreadyExists": "Name existiert bereits",
"Required": "benötigt",
"Rotate": "Drehen",
"SaveWebcam": "Webcam speichern",
"Service": "Dienst",
"TargetFPS": "Ziel FPS",
@@ -988,6 +991,7 @@
"Delete": "Löschen",
"DeleteDirectory": "Verzeichnis löschen",
"DeleteDirectoryQuestion": "Willst du wirklich das Verzeichnis \"{name}\" mit seinem gesamten Inhalt löschen?",
"DeleteSelectedQuestion": "Sollen wirklich {count} ausgewählte Dateien gelöscht werden?",
"Download": "Download",
"DuplicateLastframe": "Letztes Bild duplizieren",
"Empty": "Keine fertigen Zeitraffer gefunden.",
+45 -22
View File
@@ -21,6 +21,7 @@
"Never": "never",
"NextReboot": "next reboot",
"NoNotification": "No Notification available",
"Notifications": "Notifications",
"Remind": "Remind:"
},
"NumberInput": {
@@ -111,6 +112,7 @@
"CheckMoonrakerLog": "If this message appears repeatedly, please have a look in the log file located at:",
"Connecting": "Connecting to {host}",
"Failed": "Connection failed",
"Initializing": "Initializing",
"TryAgain": "try again"
},
"Console": {
@@ -134,7 +136,6 @@
"ConfigReference": "Config Reference",
"DontSave": "Don't save",
"Downloading": "Downloading",
"Uploading": "Uploading",
"FailedSave": "{filename} could not be uploaded!",
"FileReadOnly": "read-only",
"SaveClose": "Save & close",
@@ -142,7 +143,8 @@
"SuccessfullySaved": "{filename} successfully saved.",
"UnsavedChanges": "Unsaved Changes",
"UnsavedChangesMessage": "Do you want to save your changes made to {filename}?",
"UnsavedChangesSubMessage": "Your changes will be lost if you don't save them. You can disable this message in the editor settings."
"UnsavedChangesSubMessage": "Your changes will be lost if you don't save them. You can disable this message in the editor settings.",
"Uploading": "Uploading"
},
"EmergencyStopDialog": {
"AreYouSure": "Are you sure?",
@@ -153,7 +155,9 @@
"Files": {
"AddToQueue": "Add to Queue",
"AllFiles": "All",
"BedTemp": "Bed Temp.",
"Cancel": "Cancel",
"ChamberTemp": "Chamber Temp.",
"Create": "Create",
"CreateNewDirectory": "Create new Directory",
"CurrentPath": "Current path",
@@ -164,6 +168,7 @@
"Download": "Download",
"EditFile": "Edit File",
"Empty": "Empty",
"ExtruderTemp": "Extruder Temp.",
"Filament": "Filament",
"FilamentName": "Filament Name",
"FilamentType": "Filament Type",
@@ -174,6 +179,7 @@
"Free": "Free",
"FreeDisk": "Free disk",
"GCodeFiles": "G-Code Files",
"GcodesRootDirectoryDoesntExists": "No G-Code directory found. Please check option \"path\" in the [virtual_sdcard] section of the Klipper configuration.",
"HiddenFiles": "Hidden files",
"LastEndTime": "Last End Time",
"LastFilamentUsed": "Last Filament Used",
@@ -255,6 +261,9 @@
"ErrorKlipperNotReady": "Klipper not ready. Heightmap disabled.",
"Flat": "Flat",
"Heightmap": "Heightmap",
"InvalidNameAlreadyExists": "Profile name already exists, please choose another profile name.",
"InvalidNameEmpty": "Input must not be empty!",
"InvalidNameReserved": "Profile 'default' is reserved, please choose another profile name.",
"Later": "Later",
"Mesh": "Mesh",
"Name": "Name",
@@ -280,6 +289,7 @@
"AllJobs": "All",
"AvgPrinttime": "Print Time - Ø",
"Cancel": "Cancel",
"ChamberTemp": "Chamber Temp.",
"CreateNote": "Create Note",
"Delete": "Delete",
"DeleteSelectedQuestion": "Do you really want to delete {count} selected jobs?",
@@ -329,6 +339,7 @@
"in_progress": "In progress",
"klippy_disconnect": "Klippy disconnect",
"klippy_shutdown": "Klippy shutdown",
"Others": "Others",
"server_exit": "Server exit"
},
"TitleExportHistory": "Export History",
@@ -354,6 +365,7 @@
"AllFiles": "All",
"Cancel": "Cancel",
"ConfigFiles": "Config Files",
"ConfigRootDirectoryDoesntExists": "No configuration directory found. Please check option \"config_path\" in the [file_manager] section of the Moonraker configuration.",
"Create": "Create",
"CreateDirectory": "Create Directory",
"CreateFile": "Create File",
@@ -447,14 +459,25 @@
"Panels": {
"ExtruderControlPanel": {
"Allowed": "Allowed",
"EstimatedExtrusion": "Estimated Extrusion:",
"EstimatedExtrusion": "Extrusion:",
"Extrude": "Extrude",
"ExtruderTempTooLow": "Extruder temp. <",
"ExtrusionFactor": "Extrusion factor",
"ExtrusionFeedrate": "Extrusion Feedrate",
"FilamentLength": "Filament Length",
"FirmwareRetractionSettings": {
"RetractLength": "Retract Length",
"RetractSpeed": "Retract Speed",
"UnretractExtraLength": "Unretract Extra Length",
"UnretractSpeed": "Unretract Speed"
},
"Headline": "Extruder",
"LoadFilament": "Load Filament",
"PressureAdvanceSettings": {
"Advance": "Pressure Advance",
"Extruder": "Extruder",
"SmoothTime": "Smooth Time"
},
"Requested": "Requested",
"Retract": "Retract",
"TooLargeExtrusion": "Extrusion too large!",
@@ -473,25 +496,12 @@
"Restart": "Restart"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Firmware Retraction",
"RetractLength": "Retract Length",
"RetractSpeed": "Retract Speed",
"UnretractExtraLength": "Unretract Extra Length",
"UnretractSpeed": "Unretract Speed"
},
"Headline": "Machine",
"MotionSettings": {
"Acceleration": "Acceleration",
"MaxAccelToDecel": "Max Accel. to Decel.",
"Motion": "Motion",
"SquareCornerVelocity": "Square Corner Velocity",
"Velocity": "Velocity"
},
"PressureAdvanceSettings": {
"Advance": "Pressure Advance",
"Extruder": "Extruder",
"SmoothTime": "Smooth Time"
}
},
"MacrosPanel": {
@@ -529,6 +539,8 @@
"CancelPrint": "Cancel print",
"ClearPrintStats": "Clear print stats",
"Difference": "Difference",
"EmptyGcodes": "No G-Code available.",
"EmptyJobqueue": "There is currently no file in the job queue.",
"Estimate": "Estimate",
"ETA": "ETA",
"ExcludeObject": {
@@ -541,18 +553,16 @@
"Filament": "Filament",
"File": "File",
"Files": "Files",
"EmptyGcodes": "No G-Code available.",
"EmptyJobqueue": "There is currently no file in the job queue.",
"Jobqueue": "Job Queue ({count})",
"JobqueueMoreFiles": "no more jobs | one more job | {count} more jobs",
"PrintTime": "Print Time",
"Flow": "Flow",
"Headline": "Status",
"Jobqueue": "Job Queue ({count})",
"JobqueueMoreFiles": "no more jobs | one more job | {count} more jobs",
"Layer": "Layer",
"Max": "max",
"ObjectHeight": "Object Height",
"PausePrint": "Pause print",
"Print": "Print",
"PrintTime": "Print Time",
"ReprintJob": "Reprint job",
"Requested": "Requested",
"ResumePrint": "Resume print",
@@ -644,6 +654,7 @@
},
"SelectPrinterDialog": {
"AddPrinter": "Add Printer",
"AddPrintersToJson": "Please add the Printers to the config.json.",
"CannotConnectTo": "Cannot connect to {host}.",
"ChangePrinter": "Change Printer",
"Connecting": "Connecting to {host}",
@@ -750,6 +761,14 @@
"CalcEstimateTimeDescription": "If multiple are selected, an average will be calculated",
"CalcEtaTime": "ETA calculation",
"CalcEtaTimeDescription": "If multiple are selected, an average will be calculated",
"CalcPrintProgress": "Print progress calculation",
"CalcPrintProgressDescription": "Method for calculating the print progress.",
"CalcPrintProgressItems": {
"Filament": "Filament",
"FileAbsolute": "File position (absolute)",
"FileRelative": "File position (relative)",
"Slicer": "Slicer (M73)"
},
"CannotReadJson": "Cannot read/parse backup file.",
"DbConsoleHistory": "Console History",
"DbHistoryJobs": "History Jobs",
@@ -833,7 +852,8 @@
"Hostname": "Hostname",
"Port": "Port",
"RemotePrinters": "Printers",
"UpdatePrinter": "Update Printer"
"UpdatePrinter": "Update Printer",
"UseConfigJson": "InstanceDB = JSON detected. Please use the config.json to modify the printers list."
},
"TimelapseTab": {
"Autorender": "Autorender",
@@ -932,6 +952,7 @@
"WebcamsTab": {
"AddWebcam": "add webcam",
"CreateWebcam": "Create Webcam",
"EditCrowsnestConf": "Edit crowsnest.conf",
"EditWebcam": "Edit Webcam",
"FlipHorizontally": "Flip webcam horizontally",
"FlipVertically": "Flip webcam vertically",
@@ -949,6 +970,7 @@
"Name": "Name",
"NameAlreadyExists": "Name already exists",
"Required": "required",
"Rotate": "Rotate",
"SaveWebcam": "Save Webcam",
"Service": "Service",
"TargetFPS": "Target FPS",
@@ -969,6 +991,7 @@
"Delete": "Delete",
"DeleteDirectory": "Delete Directory",
"DeleteDirectoryQuestion": "Do you really want to delete the \"{name}\" directory with all its contents?",
"DeleteSelectedQuestion": "Do you really want to delete {count} selected files?",
"Download": "Download",
"DuplicateLastframe": "Duplicate last frame",
"Empty": "No finished timelapse found.",
+127 -129
View File
@@ -1,27 +1,27 @@
{
"App": {
"Notifications": {
"DependencyDescription": "La versión actual de {name} no es compatible con todas las funciones de Mainsail. Actualice {name} a al menos {neededVersion}.",
"DependencyName": "Dependencia: {name}",
"DismissAll": "Descartar todo",
"KlipperWarnings": {
"DeprecatedOption": "La opción '{option}' en la sección '{section}' está discontinuada y será removida en la próxima versión.",
"DeprecatedValue": "El valor '{value}' en la opción '{option}' en la sección '{section}' está discontinuado y será removido en la próxima versión.",
"DeprecatedOptionHeadline": "Opción de Klipper en desuso",
"DeprecatedValue": "El valor '{value}' en la opción '{option}' en la sección '{section}' está discontinuado y será removido en la próxima versión.",
"DeprecatedValueHeadline": "Valor de Klipper en desuso",
"KlipperWarning": "Advertencia de Klipper"
},
"DismissAll": "Descartar todo",
"DependencyDescription": "La versión actual de {name} no es compatible con todas las funciones de Mainsail. Actualice {name} a al menos {neededVersion}.",
"DependencyName": "Dependencia: {name}",
"Never": "nunca",
"NextReboot": "próximo reinicio",
"NoNotification": "No hay notificación disponible",
"Remind": "Recordar:",
"MoonrakerWarnings": {
"MoonrakerComponent": "Moonraker: {component}",
"MoonrakerFailedComponentDescription": "Se detectó un error al cargar el componente moonraker '{componente}'. Verifique el archivo de registro y solucione el problema.",
"MoonrakerWarning": "Advertencia de Moonraker",
"UnparsedConfigOption": "Opción de configuración no analizada '{option}: {value}' detectada en la sección [{section}]. Esta puede ser una opción que ya no está disponible o puede ser el resultado de un módulo que no se pudo cargar. En el futuro, esto dará un error de inicio.",
"UnparsedConfigSection": "Sección de configuración no analizada [{section}] detectada. Esto puede ser por un componente que no se pudo cargar. En el futuro, esto dará un error de inicio."
}
},
"Never": "nunca",
"NextReboot": "próximo reinicio",
"NoNotification": "No hay notificación disponible",
"Remind": "Recordar:"
},
"NumberInput": {
"GreaterOrEqualError": "¡Debe ser mayor o igual a {min}!",
@@ -121,6 +121,15 @@
"SendCode": "Enviar código...",
"SetupConsole": "Configurar consola"
},
"Dialogs": {
"StartPrint": {
"Cancel": "Cancelar",
"DoYouWantToStartFilename": "¿Desea iniciar {filename}?",
"Headline": "Iniciar trabajo",
"Print": "imprimir",
"Timelapse": "Lapso de tiempo"
}
},
"Editor": {
"Cancel": "Cancelar",
"ConfigReference": "Configuración de referencia",
@@ -153,6 +162,7 @@
"Delete": "Borrar",
"DeleteDirectory": "Borrar directorio",
"DeleteDirectoryQuestion": "¿Realmente quiere borrar la carpeta \"{name}\" con todo su contenido?",
"DeleteSelectedQuestion": "¿Realmente desea eliminar {count} archivos seleccionados?",
"Download": "Descargar",
"Downloading": "Descargando",
"EditFile": "Editar archivo",
@@ -168,7 +178,12 @@
"FreeDisk": "Espacio libre en disco",
"GCodeFiles": "Archivos G-Code",
"HiddenFiles": "Archivos ocultos",
"LastEndTime": "Ultima hora de finalización",
"LastFilamentUsed": "Ultimo filamento usado",
"LastModified": "Ultima modificación",
"LastPrintDuration": "Duración de la ultima impresión",
"LastStartTime": "Ultima hora de inicio",
"LastTotalDuration": "Ultima duración total",
"LayerHeight": "Altura de capa",
"Name": "Nombre",
"NewDirectory": "Nuevo directorio",
@@ -194,13 +209,11 @@
"Uploading": "Cargando",
"UploadNewGcode": "Cargar nuevo G-Code",
"Used": "Usado",
"View3D": "Vista 3D",
"DeleteSelectedQuestion": "¿Realmente desea eliminar {count} archivos seleccionados?",
"LastEndTime": "Ultima hora de finalización",
"LastFilamentUsed": "Ultimo filamento usado",
"LastPrintDuration": "Duración de la ultima impresión",
"LastStartTime": "Ultima hora de inicio",
"LastTotalDuration": "Ultima duración total"
"View3D": "Vista 3D"
},
"FullscreenUpload": {
"CannotUploadFile": "No se pudo cargar el erchivo!",
"DropFilesToUploadFiles": "Borrar archivos para subir"
},
"GCodeViewer": {
"ClearLoadedFile": "Borrar",
@@ -267,12 +280,15 @@
"Wireframe": "Estructura de hilos"
},
"History": {
"AddNote": "Agregar Nota",
"AllJobs": "Todos",
"AvgPrinttime": "Tiempo promedio de imp.",
"Cancel": "Cancelar",
"CreateNote": "Crear Nota",
"Delete": "Eliminar",
"DeleteSelectedQuestion": "¿Está seguro de que desea eliminar los {count} trabajos seleccionados?",
"Details": "Detalles",
"EditNote": "Editar Nota",
"Empty": "Vacío",
"EndTime": "Hora de finalización",
"EstimatedFilament": "Filamento estimado",
@@ -293,12 +309,14 @@
"LastModified": "Última modificación",
"LayerHeight": "Altura de capa",
"LongestPrinttime": "Impresión más larga",
"Note": "Nota",
"ObjectHeight": "Altura del objeto",
"PrintDuration": "Duración de la impresión",
"PrintHistory": "Historial de impresiones",
"PrintTime": "Tiempo de impresión",
"PrinttimeAvg": "Tiempo promedio de imp.",
"Reprint": "Reimprimir",
"Save": "guardar",
"Search": "Buscar",
"SelectedFilamentUsed": "Elija el filamento usado",
"SelectedJobs": "Tareas elegidas",
@@ -308,19 +326,6 @@
"StartTime": "Hora de inicio",
"Statistics": "Estadísticas",
"Status": "Estado",
"TitleExportHistory": "Exportar historial",
"TitleRefreshHistory": "Actualizar historial",
"TitleSettings": "Configuración",
"TotalDuration": "Duración total",
"TotalFilamentUsed": "Filamento utilizado en total",
"TotalJobs": "Trabajos totales",
"TotalPrinttime": "Tiempo total de impresión",
"TotalTime": "Tiempo total",
"AddNote": "Agregar Nota",
"CreateNote": "Crear Nota",
"EditNote": "Editar Nota",
"Note": "Nota",
"Save": "guardar",
"StatusValues": {
"cancelled": "Cancelado",
"completed": "Completado",
@@ -329,7 +334,15 @@
"klippy_disconnect": "Klippy desconectado",
"klippy_shutdown": "Klippy apagado",
"server_exit": "salida del servidor"
}
},
"TitleExportHistory": "Exportar historial",
"TitleRefreshHistory": "Actualizar historial",
"TitleSettings": "Configuración",
"TotalDuration": "Duración total",
"TotalFilamentUsed": "Filamento utilizado en total",
"TotalJobs": "Trabajos totales",
"TotalPrinttime": "Tiempo total de impresión",
"TotalTime": "Tiempo total"
},
"JobQueue": {
"AllJobs": "Todas las tareas",
@@ -337,8 +350,8 @@
"JobQueue": "Cola de tareas",
"Jobs": "Tareas",
"Pause": "Pausar",
"Start": "Iniciar",
"RemoveFromQueue": "Remover de la cola"
"RemoveFromQueue": "Remover de la cola",
"Start": "Iniciar"
},
"Machine": {
"ConfigFilesPanel": {
@@ -352,6 +365,7 @@
"Delete": "Eliminar",
"DeleteDirectory": "Eliminar carpeta",
"DeleteDirectoryQuestion": "¿Realmente quiere eliminar \"{name}\" con todo su contenido?",
"DeleteSelectedQuestion": "¿Eliminar {count} elementos seleccionados?",
"Download": "Descargar",
"EditFile": "Editar archivo",
"Empty": "Vacío",
@@ -367,14 +381,13 @@
"Rename": "Renombrar",
"RenameDirectory": "Renombrar directorio",
"RenameFile": "Renombrar archivo",
"Root": "Raiz",
"SetupCurrentList": "Configurar lista actual",
"ShowFile": "Mostrar archivo",
"Total": "Total",
"UploadFile": "Cargar archivo",
"Uploading": "Cargando",
"Used": "Usado",
"Root": "Raiz",
"DeleteSelectedQuestion": "¿Eliminar {count} elementos seleccionados?"
"Used": "Usado"
},
"EndstopPanel": {
"Endstop": "Fin de carrera",
@@ -388,13 +401,13 @@
},
"SystemPanel": {
"Constants": "Constantes",
"Cpu": "Cpu",
"HostDetails": "Detalles del host",
"LastStats": "Últimas estadísticas",
"Load": "Carga",
"Memory": "Mem.",
"SystemLoad": "Cargas del sistema",
"Cpu": "Cpu",
"NoMoreInfos": "No hay mas Info",
"SystemLoad": "Cargas del sistema",
"Values": {
"Awake": "Despierto: {awake}",
"Bandwidth": "Ancho de banda: {bandwidth}/s",
@@ -436,18 +449,46 @@
}
},
"Panels": {
"ControlPanel": {
"ALL": "Todos",
"AlternateControls": "Alternar controles",
"Headline": "Controles",
"InvertX": "Invertir X",
"InvertY": "Invertir Y",
"InvertZ": "Invertir Z",
"PleaseConfigureSteps": "Por favor configure los pasos",
"QGL": "QGL",
"SettingsInterfaceControl": "Ajustes > Interfaz > Control",
"SetupControls": "Controles de configuración",
"X": "X",
"Y": "Y",
"Z": "Z",
"ZTilt": "Z Tilt"
},
"ExtruderControlPanel": {
"Extrude": "Extruir",
"ExtrusionFactor": "Factor de extrusión",
"Retract": "Retraer",
"Allowed": "Permitida",
"EstimatedExtrusion": "Extrusion estimada",
"Extrude": "Extruir",
"ExtruderTempTooLow": "Temp del extrusor. <",
"LoadFilament": "Cargar filamento",
"Requested": "Solicitada",
"ExtrusionFactor": "Factor de extrusión",
"ExtrusionFeedrate": "Velocidad de avance de extrusión",
"Headline": "Extrusor",
"FilamentLength": "Largo del filamento",
"FirmwareRetractionSettings": {
"RetractLength": "Distancia de retracción",
"RetractSpeed": "Velocidad de retracción",
"UnretractExtraLength": "Distancia adicional post-retracción",
"UnretractSpeed": "Velocidad de post-retracción"
},
"Headline": "Extrusor",
"Retract": "Retraer",
"LoadFilament": "Cargar filamento",
"PressureAdvanceSettings": {
"Advance": "Avance",
"Extruder": "Extrusor",
"PressureAdvance": "Avance de presión",
"SmoothTime": "Tiempo de suavizado"
},
"Requested": "Solicitada",
"TooLargeExtrusion": "¡Extrusión muy grande!",
"UnloadFilament": "Descargar Filamento"
},
@@ -464,26 +505,12 @@
"Restart": "Reiniciar"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Retracción por firmware",
"RetractLength": "Distancia de retracción",
"RetractSpeed": "Velocidad de retracción",
"UnretractExtraLength": "Distancia adicional post-retracción",
"UnretractSpeed": "Velocidad de post-retracción"
},
"Headline": "Configuración de impresora",
"MotionSettings": {
"Acceleration": "Aceleración",
"MaxAccelToDecel": "Max. Acel. a Decel.",
"Motion": "Movimiento",
"SquareCornerVelocity": "Velocidad esquinas rectas",
"Velocity": "Velocidad"
},
"PressureAdvanceSettings": {
"Advance": "Avance",
"Extruder": "Extrusor",
"PressureAdvance": "Avance de presión",
"SmoothTime": "Tiempo de suavizado"
}
},
"MacrosPanel": {
@@ -521,6 +548,8 @@
"CancelPrint": "Cancelar impresión",
"ClearPrintStats": "Limpiar estadísticas de impresión",
"Difference": "Diferencia",
"EmptyGcodes": "No hay código G disponible.",
"EmptyJobqueue": "No hay ningún archivo en la cola de trabajos.",
"Estimate": "Estimación",
"ETA": "ETA",
"ExcludeObject": {
@@ -532,27 +561,25 @@
},
"Filament": "Filamento",
"File": "Archivo",
"Files": "Archivos",
"Flow": "Flujo",
"Headline": "Estado",
"Jobqueue": "Cola de trabajo ({count})",
"JobqueueMoreFiles": "no mas trabajos | un trabajo mas | {count} trabajos mas",
"Layer": "Capa",
"Max": "max",
"ObjectHeight": "Altura del objeto",
"PausePrint": "Pausar impresión",
"Print": "Imprimir",
"PrintTime": "Tiempo de impresion",
"ReprintJob": "Reimprimir trabajo",
"Requested": "Solicitada",
"ResumePrint": "Reanudar impresión",
"Slicer": "Laminador",
"Speed": "Velocidad",
"Status": "Estado",
"Total": "Total",
"Unknown": "Desconocido",
"EmptyGcodes": "No hay código G disponible.",
"Files": "Archivos",
"EmptyJobqueue": "No hay ningún archivo en la cola de trabajos.",
"Jobqueue": "Cola de trabajo ({count})",
"JobqueueMoreFiles": "no mas trabajos | un trabajo mas | {count} trabajos mas",
"PrintTime": "Tiempo de impresion",
"Status": "Estado"
"Unknown": "Desconocido"
},
"TemperaturePanel": {
"AutoscaleChart": "Autoescalar gráfico",
@@ -584,9 +611,13 @@
"ToolheadControlPanel": {
"Absolute": "absoluta",
"ALL": "TODO",
"Headline": "Toolhead",
"Invalid": "Invalido",
"InvertX": "Invertir X",
"InvertY": "Invertir Y",
"InvertZ": "Invertir Z",
"MotorsOff": "Motores Apagados",
"OutOfRange": "Fuera de rango!",
"PleaseConfigureSteps": "Por favor configure los pasos",
"Position": "Posición",
"QGL": "QGL",
@@ -594,24 +625,21 @@
"SettingsInterfaceControl": "Configuración > Interfaz > Control",
"SetupControls": "Configurar controles",
"SpeedFactor": "Factor de velocidad",
"ZTilt": "Z Tilt",
"Invalid": "Invalido",
"MotorsOff": "Motores Apagados",
"OutOfRange": "Fuera de rango!",
"XOffset": "X-Offset",
"YOffset": "Y-Offset",
"ZOffset": "Z-Offset",
"Headline": "Toolhead"
"ZTilt": "Z Tilt"
},
"WebcamPanel": {
"All": "Todos",
"FPS": "FPS",
"Headline": "Cámara web",
"NoWebcam": "No hay cámara web disponible. Agregue una cámara web en \"Configuración\" -> \"Cámaras web\".",
"UnknownWebcamService": "Servicio de cámara web desconocido",
"UrlNotAvailable": "URL no disponible",
"NoWebcam": "No hay cámara web disponible. Agregue una cámara web en \"Configuración\" -> \"Cámaras web\"."
"UrlNotAvailable": "URL no disponible"
},
"ZoffsetPanel": {
"Clear": "Limpiar",
"CurrentOffset": "Offset actual",
"Headline": "Z-Offset",
"Later": "Más tarde",
@@ -622,24 +650,7 @@
"SaveInfoDescriptionPrint": "El nuevo Z-Offset fue calculado y registrado. Después de imprimir, haga click en \"SAVE CONFIG\" en la barra superior para guardarlo en printer.cfg y reiniciar Klipper.",
"SaveInfoHeadline": "Información",
"ToEndstop": "al fin de carrera",
"ToProbe": "a la sonda",
"Clear": "Limpiar"
},
"ControlPanel": {
"ALL": "Todos",
"AlternateControls": "Alternar controles",
"Headline": "Controles",
"InvertX": "Invertir X",
"InvertY": "Invertir Y",
"InvertZ": "Invertir Z",
"X": "X",
"Y": "Y",
"Z": "Z",
"PleaseConfigureSteps": "Por favor configure los pasos",
"QGL": "QGL",
"SettingsInterfaceControl": "Ajustes > Interfaz > Control",
"SetupControls": "Controles de configuración",
"ZTilt": "Z Tilt"
"ToProbe": "a la sonda"
}
},
"PowerDeviceChangeDialog": {
@@ -670,15 +681,15 @@
"EditPrinter": "Editar impresora",
"Hello": "¡Hola y bienvenido al modo remoto de Mainsail!",
"HostnameInvalid": "Nombre de host o IP inválida",
"HostnameIp": "Nombre del host/IP",
"HostnameRequired": "El nombre del host es obligatorio",
"Port": "Puerto",
"PortRequired": "El puerto es obligatorio",
"RememberToAdd": "Por favor recuerde agregar {cors} en moonraker.conf dentro de 'cors_domains'.",
"SelectPrinter": "Elegir impresora",
"TryAgain": "Intentar nuevamente",
"UpdatePrinter": "Actualizar impresora",
"YouCanFindMore": "Puede encontrar más detalles en",
"Port": "Puerto",
"HostnameIp": "Nombre del host/IP"
"YouCanFindMore": "Puede encontrar más detalles en"
},
"Settings": {
"Cancel": "Cancelar",
@@ -694,41 +705,41 @@
"EntryStyle": "Estilo",
"EntryStyleCompact": "Compacto",
"EntryStyleDefault": "Predeterminado",
"Filters": "Filtros",
"Height": "Altura",
"HideTemperatures": "Ocultar temperaturas",
"HideTimelapse": "Ocultar Timelapse",
"Name": "Nombre",
"Regex": "Regex",
"StoreButton": "Guardar filtro",
"UpdateButton": "Actualizar filtro",
"Filters": "Filtros"
"UpdateButton": "Actualizar filtro"
},
"ControlTab": {
"Bars": "Barras",
"Circle": "Círculo",
"Control": "Control",
"Cross": "Cruz",
"EnableXYHoming": "Habilitar homing X Y combinado ",
"EstimatedExtrusionInfo": "Mostrar info de extrusion estimada",
"EstimatedExtrusionInfoDescription": "Mostrar / Ocultar informacion de extrusion estimada basado en la candidad de extrusion y el avance",
"InvertXMovement": "Invertir movimiento X",
"InvertYMovement": "Invertir movimiento Y",
"InvertZMovement": "Invertir movimiento Z",
"IsDefault": " (default)",
"MaximumValues": "Valores máximos: {maximum}",
"MaximumValuesVisibility": "Máximo valor de {maximum} se recomienda para mejor visibilidad",
"MinimumValues": "Valores mínimos: {minimum}",
"MotorsOff": "Motores apagados{isDefault}",
"MoveDistancesEInMm": "Distancia recorrido E en mm",
"MoveDistancesInMm": "Distancia recorrido en mm",
"MoveDistancesXYInMm": "Distancia recorrido XY en mm",
"MoveDistancesZInMm": "Distancia recorrido Z en mm",
"QuadGantryLevel": "Quad Gantry Level{isDefault}",
"SpeedEInMms": "Velocidad E en mm/s",
"SpeedXY": "Velocidad XY",
"SpeedZ": "Velocidad Z",
"Style": "Estilo",
"ValueGreaterThan": "El valor debe ser mayor a {value}",
"EnableXYHoming": "Habilitar homing X Y combinado ",
"EstimatedExtrusionInfoDescription": "Mostrar / Ocultar informacion de extrusion estimada basado en la candidad de extrusion y el avance",
"EstimatedExtrusionInfo": "Mostrar info de extrusion estimada",
"IsDefault": " (default)",
"MotorsOff": "Motores apagados{isDefault}",
"QuadGantryLevel": "Quad Gantry Level{isDefault}",
"ZOffsetIncrements": "Incrementos de Z-Offset (en mm)",
"ZTiltAdjust": "Ajuste de Z-Tilt{isDefault}"
},
@@ -745,12 +756,12 @@
"ConfirmUnsavedChanges": "Preguntar si guardar o descartar cambios",
"ConfirmUnsavedChangesDescription": "Si está activa, el editor requerirá una confirmación para guardar o descartar los cambio realizados. Si está desactivada, los cambios serán descartados.",
"Editor": "Editor",
"UseEscToClose": "Use ESC para cerrar",
"UseEscToCloseDescription": "Permite que la tecla ESC cierre el editor",
"KlipperRestartMethod": "Metodo de reinicio de klipper",
"KlipperRestartMethodDescription": "Elija metodo de reinicio que sera usado cuando editamos configuracion de klipper y presionamos \"Guardar y Reiniciar\"",
"MoonrakerRestartInstance": "Instancia de Moonraker a reinicar",
"MoonrakerRestartInstanceDescription": "Elija que instacia de moonrker se reiniciara cuando editando configuracionde monnraker presionemos \"Guardar y reiniciar\" ",
"MoonrakerRestartInstance": "Instancia de Moonraker a reinicar"
"UseEscToClose": "Use ESC para cerrar",
"UseEscToCloseDescription": "Permite que la tecla ESC cierre el editor"
},
"GCodeViewerTab": {
"BackgroundColor": "Color de fondo",
@@ -775,6 +786,11 @@
"DbTimelapseSettings": "Configuración de Timelapse",
"DbView": "Configuraciones de vista",
"DbWebcams": "Cámaras web",
"EstimateValues": {
"Filament": "Filamento",
"File": "Archivo",
"Slicer": "Slicer"
},
"FactoryDialog": "Elija las secciones que quiere reiniciar:",
"FactoryReset": "Restablecimiento de fábrica",
"General": "General",
@@ -783,12 +799,7 @@
"PrinterName": "Nombre de la impresora",
"Reset": "Reiniciar",
"Restore": "Restaurar",
"RestoreDialog": "Elija las secciones que quiere restaurar:",
"EstimateValues": {
"Filament": "Filamento",
"File": "Archivo",
"Slicer": "Slicer"
}
"RestoreDialog": "Elija las secciones que quiere restaurar:"
},
"InterfaceSettings": "Configuración de la interfaz",
"MacrosTab": {
@@ -834,16 +845,16 @@
"CustomGCode": "G-Code personalizado",
"EditCooldown": "Editar enfriamiento",
"EditHeadline": "Editar config. preestablecida",
"ErrorInvalidValue": "Valor invalido",
"ErrorNameNotUnique": "Nombre ya existente",
"ErrorNameRequired": "nombre requerido",
"Name": "Nombre",
"PreheatPresets": "Precalentamiento",
"PresetInfo": "Debe configurar como mínimo una temperatura objetivo o un G-code personalizado.",
"PresetNamePlaceholder": "Nombre preestablecido (requerido)",
"StoreButton": "Guardar config. preestablecida",
"UpdateButton": "Actualizar config. preestablecida",
"UpdateCooldown": "Actualizar enfriamiento",
"ErrorInvalidValue": "Valor invalido",
"ErrorNameNotUnique": "Nombre ya existente",
"PresetNamePlaceholder": "Nombre preestablecido (requerido)",
"ErrorNameRequired": "nombre requerido"
"UpdateCooldown": "Actualizar enfriamiento"
},
"RemotePrintersTab": {
"AddPrinter": "Agregar impresora",
@@ -1027,18 +1038,5 @@
"Variable": "Variable",
"Video": "Video"
},
"title": "Español",
"FullscreenUpload": {
"CannotUploadFile": "No se pudo cargar el erchivo!",
"DropFilesToUploadFiles": "Borrar archivos para subir"
},
"Dialogs": {
"StartPrint": {
"Cancel": "Cancelar",
"DoYouWantToStartFilename": "¿Desea iniciar {filename}?",
"Headline": "Iniciar trabajo",
"Print": "imprimir",
"Timelapse": "Lapso de tiempo"
}
}
"title": "Español"
}
+136 -138
View File
@@ -2,27 +2,32 @@
"_last_update": "26.05.2022",
"App": {
"Notifications": {
"KlipperWarnings": {
"DeprecatedOption": "L'option '{option}' dans la section '{section}' est obsolète.",
"DeprecatedValue": "La valeur '{value}' dans l'option '{option}' dans la section '{section}' est obsolète.",
"DeprecatedOptionHeadline": "Option de Klipper obsolète",
"DeprecatedValueHeadline": "Valeur d'une option Klipper obsolète",
"KlipperWarning": "Avertissement Klipper"
},
"DependencyDescription": "La version actuelle de {name} ne supporte pas toutes les fonctionalités de Mainsail. Mettez {name} a jour vers la version {neededVersion}.",
"DependencyName": "Dépendance: {name}",
"DismissAll": "Annuler tout",
"Never": "jamais",
"NextReboot": "prochain redémarrage",
"NoNotification": "Pas de notification(s) disponible(s)",
"Remind": "Rappel:",
"KlipperWarnings": {
"DeprecatedOption": "L'option '{option}' dans la section '{section}' est obsolète.",
"DeprecatedOptionHeadline": "Option de Klipper obsolète",
"DeprecatedValue": "La valeur '{value}' dans l'option '{option}' dans la section '{section}' est obsolète.",
"DeprecatedValueHeadline": "Valeur d'une option Klipper obsolète",
"KlipperWarning": "Avertissement Klipper"
},
"MoonrakerWarnings": {
"MoonrakerComponent": "Moonraker: {component}",
"MoonrakerFailedComponentDescription": "Une erreur a été détectée lors du chargement de '{component}'. Contrôlez le fichier log et corrigez le problème.",
"MoonrakerWarning": "Avertissement Moonraker",
"UnparsedConfigOption": "L' option '{option}: {value}' de la section [{section}] n'a pas été analysée. Cela peut provenir du fait que cette option n'est plus disponible ou que le chargement d'un module a créé une erreur. Dans le futur, ceci créera une erreur de démarrage.",
"UnparsedConfigSection": "L'a section [{section}] n'a pas été analysée. Cela peut provenir du fait que cette option n'est plus disponible ou que le chargement d'un module a créé une erreur. Dans le futur, ceci créera une erreur de démarrage."
}
},
"Never": "jamais",
"NextReboot": "prochain redémarrage",
"NoNotification": "Pas de notification(s) disponible(s)",
"Remind": "Rappel:"
},
"NumberInput": {
"GreaterOrEqualError": "Doit être plus grand ou égal à {min} !",
"MustBeBetweenError": "Doit être compris entre {min} et {max} !",
"NoEmptyAllowedError": "Une valeur est nécessaire !"
},
"Printers": "Imprimantes",
"ThrottledStates": {
@@ -100,11 +105,6 @@
"RecoveringDone": "Restauration {software} effectuée !",
"Updating": "Mise à jour {software}...",
"UpdatingDone": "Mise à jour {software} effectuée !"
},
"NumberInput": {
"GreaterOrEqualError": "Doit être plus grand ou égal à {min} !",
"MustBeBetweenError": "Doit être compris entre {min} et {max} !",
"NoEmptyAllowedError": "Une valeur est nécessaire !"
}
},
"ConnectionDialog": {
@@ -122,6 +122,15 @@
"SendCode": "Envoyer la commande",
"SetupConsole": "Configuration console"
},
"Dialogs": {
"StartPrint": {
"Cancel": "Annuler",
"DoYouWantToStartFilename": "Désirez-vous imprimer {filename} ?",
"Headline": "Démarrage Impression",
"Print": "Impression",
"Timelapse": "Accéléré"
}
},
"Editor": {
"Cancel": "Annuler",
"ConfigReference": "Référence de configuration",
@@ -154,6 +163,7 @@
"Delete": "Effacer",
"DeleteDirectory": "Effacer le dossier",
"DeleteDirectoryQuestion": "Voulez vous vraiment effacer le dossier \"{name}\" et tout son contenu ?",
"DeleteSelectedQuestion": "Désirez-vous supprimer {count} fichiers ?",
"Download": "Téléchargement",
"Downloading": "Téléchargement en cours",
"EditFile": "Editer Fichier",
@@ -169,7 +179,12 @@
"FreeDisk": "Disque libre",
"GCodeFiles": "Fichiers G-Code",
"HiddenFiles": "Fichiers cachés",
"LastEndTime": "Dernière heure de fin d'impression",
"LastFilamentUsed": "Dernier filament utilisé",
"LastModified": "Dernière modification",
"LastPrintDuration": "Dernière durée d'impression",
"LastStartTime": "Dernière heure de départ d'impression",
"LastTotalDuration": "Dernière durée totale",
"LayerHeight": "Hauteur de couche",
"Name": "Nom",
"NewDirectory": "Nouveau dossier",
@@ -195,13 +210,11 @@
"Uploading": "Chargement",
"UploadNewGcode": "Charger nouveau G-Code",
"Used": "Utilisé",
"View3D": "Vue 3D",
"DeleteSelectedQuestion": "Désirez-vous supprimer {count} fichiers ?",
"LastEndTime": "Dernière heure de fin d'impression",
"LastFilamentUsed": "Dernier filament utilisé",
"LastPrintDuration": "Dernière durée d'impression",
"LastStartTime": "Dernière heure de départ d'impression",
"LastTotalDuration": "Dernière durée totale"
"View3D": "Vue 3D"
},
"FullscreenUpload": {
"CannotUploadFile": "Impossible de télécharger le fichier !",
"DropFilesToUploadFiles": "Déposez les fichiers à télécharger"
},
"GCodeViewer": {
"ClearLoadedFile": "Effacer",
@@ -247,31 +260,36 @@
"ErrorKlipperNotReady": "Klipper pas prêt, maillage désactivé",
"Flat": "Plat",
"Heightmap": "Maillage de hauteur",
"Later": "Plus tard",
"Mesh": "Calculé",
"Name": "Nom",
"NoBedMeshHasBeenLoadedYet": "Aucun maillage chargé",
"NoProfile": "Aucun maillage disponible",
"Ok": "OK",
"Probed": "Mesuré",
"Profiles": "Profils",
"Remove": "supprimer",
"RemoveSaveDescription": "Le maillage a été enregistré comme supprimé. Cliquez sur SAVE_CONFIG pour le retirer du fichier printer.cfg et redémarrez Klipper.",
"Rename": "renommer",
"RenameBedMeshProfile": "Renommer maillage",
"SAVE_CONFIG": "SAVE_CONFIG",
"ScaleGradient": "Facteur d'échelle",
"ScaleZMax": "Maximum axe Z",
"TitleCalibrate": "Calibrer nouveau maillage",
"TitleClear": "Effacer maillage",
"TitleHomeAll": "Réf. tous",
"Wireframe": "Maillage",
"Later": "Plus tard",
"Ok": "OK",
"RemoveSaveDescription": "Le maillage a été enregistré comme supprimé. Cliquez sur SAVE_CONFIG pour le retirer du fichier printer.cfg et redémarrez Klipper.",
"SAVE_CONFIG": "SAVE_CONFIG",
"ScaleGradient": "Facteur d'échelle",
"ScaleZMax": "Maximum axe Z"
"Wireframe": "Maillage"
},
"History": {
"AddNote": "Ajouter une note",
"AllJobs": "Tous",
"AvgPrinttime": "Temps moyen",
"Cancel": "Annuler",
"CreateNote": "Créer une note",
"Delete": "Effacer",
"DeleteSelectedQuestion": "Vulez-vous vraiment effacer {count} travaux ?",
"Details": "Details",
"EditNote": "Editer note",
"Empty": "vide",
"EndTime": "Heure de fin d'impression",
"EstimatedFilament": "Estimation longueur de filament",
@@ -292,13 +310,16 @@
"LastModified": "Dernière modification",
"LayerHeight": "Hauteur de couche",
"LongestPrinttime": "Plus longue impression",
"Note": "Note",
"ObjectHeight": "Hauteur de l'objet",
"PrintDuration": "Durée d'impression réelle",
"PrintHistory": "Historique",
"PrintTime": "Durée d'impression",
"PrinttimeAvg": "Temps moyen d'impression",
"Reprint": "Ré-impression",
"Save": "sauvegarder",
"Search": "Recherche",
"SelectedFilamentUsed": "Filament sélectionné utilisé",
"Slicer": "Trancheur",
"SlicerVersion": "Version trancheur",
"StartTime": "Heure de début d'impression",
@@ -311,14 +332,6 @@
"TotalJobs": "Nombre travaux",
"TotalPrinttime": "Total temps d'impression",
"TotalTime": "Durée totale",
"AddNote": "Ajouter une note",
"Cancel": "Annuler",
"CreateNote": "Créer une note",
"DeleteSelectedQuestion": "Vulez-vous vraiment effacer {count} travaux ?",
"EditNote": "Editer note",
"Note": "Note",
"Save": "sauvegarder",
"SelectedFilamentUsed": "Filament sélectionné utilisé",
"SelectedJobs": "Travaux sélectionnés",
"SelectedPrinttime": "Temps d'impression sélectionnés",
"StatusValues": {
@@ -338,8 +351,8 @@
"JobQueue": "Queue des travaux",
"Jobs": "Travaux",
"Pause": "Pause",
"Start": "Impression",
"RemoveFromQueue": "Enlever de la queue des travaux"
"RemoveFromQueue": "Enlever de la queue des travaux",
"Start": "Impression"
},
"Machine": {
"ConfigFilesPanel": {
@@ -353,6 +366,7 @@
"Delete": "Effacer",
"DeleteDirectory": "Effacer dossier",
"DeleteDirectoryQuestion": "Voulez-vous vraiment effacer le dossier \"{name}\" et tout son contenu ?",
"DeleteSelectedQuestion": "Effacer {count} éléments sélectionnés",
"Download": "Téléchargement",
"EditFile": "Editer fichier",
"Empty": "vide",
@@ -368,14 +382,13 @@
"Rename": "Renommer",
"RenameDirectory": "Renommer le dossier",
"RenameFile": "Renommer le fichier",
"Root": "Racine",
"SetupCurrentList": "Ajuster la liste",
"ShowFile": "Afficher le fichier",
"Total": "Total",
"UploadFile": "Chargement d'un fichier",
"Uploading": "Téléchargement",
"Used": "Utilisé",
"DeleteSelectedQuestion": "Effacer {count} éléments sélectionnés",
"Root": "Racine"
"Used": "Utilisé"
},
"EndstopPanel": {
"Endstop": "Fin de course",
@@ -389,13 +402,13 @@
},
"SystemPanel": {
"Constants": "Constantes",
"Cpu": "CPU",
"HostDetails": "Détails hôte",
"LastStats": "Dern. Stats.",
"Load": "Charge",
"Memory": "Mémoire",
"SystemLoad": "Charge Système",
"Cpu": "CPU",
"NoMoreInfos": "Pas d'infos supplémentaires",
"SystemLoad": "Charge Système",
"Values": {
"Awake": "Eveillé: {awake}",
"Bandwidth": "Bande passante: {bandwidth}/s",
@@ -437,17 +450,45 @@
}
},
"Panels": {
"ControlPanel": {
"ALL": "Tous",
"AlternateControls": "Contrôles alternatifs",
"Headline": "Contrôles",
"InvertX": "Inversion X",
"InvertY": "Inversion Y",
"InvertZ": "Inversion Z",
"PleaseConfigureSteps": "Configurez les pas",
"QGL": "QGL",
"SettingsInterfaceControl": "Paramètres > Interface > Contrôles",
"SetupControls": "Configuration des contrôles",
"X": "X",
"Y": "Y",
"Z": "Z",
"ZTilt": "Z Tilt"
},
"ExtruderControlPanel": {
"Extrude": "Extrusion",
"ExtrusionFactor": "Facteur d'extrusion",
"ExtrusionFeedrate": "Vitesse d'extrusion",
"Headline": "Contrôles d'Extrudeur",
"Retract": "Rétractation",
"Allowed": "Permis",
"EstimatedExtrusion": "Estimation d'extrusion:",
"Extrude": "Extrusion",
"ExtruderTempTooLow": "Température d'extrusion trop basse",
"ExtrusionFactor": "Facteur d'extrusion",
"ExtrusionFeedrate": "Vitesse d'extrusion",
"FilamentLength": "Longueur de filament",
"FirmwareRetractionSettings": {
"RetractLength": "Distance de rétractation",
"RetractSpeed": "Vitesse de rétractation",
"UnretractExtraLength": "Distance d'extrusion supplémentaire",
"UnretractSpeed": "Vitesse d'extrusion"
},
"Headline": "Contrôles d'Extrudeur",
"LoadFilament": "Chargement du filament",
"PressureAdvanceSettings": {
"Advance": "avance",
"Extruder": "extrudeur",
"PressureAdvance": "pression en avance",
"SmoothTime": "Temps de lissage"
},
"Retract": "Rétractation",
"Requested": "Demandé",
"TooLargeExtrusion": "Extrusion trop grande !",
"UnloadFilament": "Déchargement du filament"
@@ -465,26 +506,12 @@
"Restart": "Redémarrage"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Rétractation firmware",
"RetractLength": "Distance de rétractation",
"RetractSpeed": "Vitesse de rétractation",
"UnretractExtraLength": "Distance d'extrusion supplémentaire",
"UnretractSpeed": "Vitesse d'extrusion"
},
"Headline": "Réglages machine",
"MotionSettings": {
"Acceleration": "Accélération",
"MaxAccelToDecel": "Décélération maximum",
"Motion": "Déplacements",
"SquareCornerVelocity": "Vitesse des angles droits",
"Velocity": "Vitesse"
},
"PressureAdvanceSettings": {
"Advance": "avance",
"Extruder": "extrudeur",
"PressureAdvance": "pression en avance",
"SmoothTime": "Temps de lissage"
}
},
"MacrosPanel": {
@@ -522,6 +549,8 @@
"CancelPrint": "Annuler l'impression",
"ClearPrintStats": "Effacer les statistiques d'impression",
"Difference": "Différence",
"EmptyGcodes": "Pas de G-Codes disponibles",
"EmptyJobqueue": "Pas de fichier dans la queue d'impression",
"Estimate": "Estimation",
"ETA": "TEA",
"ExcludeObject": {
@@ -533,27 +562,25 @@
},
"Filament": "Filament",
"File": "Fichier",
"Files": "Fichiers",
"Flow": "Débit",
"Headline": "Status",
"Jobqueue": "Queue d'impression ({count})",
"JobqueueMoreFiles": "plus de travaux | un travail | {count} travaux",
"Layer": "Couche",
"Max": "max",
"ObjectHeight": "hauteur objet",
"PausePrint": "Pause impression",
"Print": "Impression",
"PrintTime": "Durée d'impression",
"ReprintJob": "Ré-impression",
"Requested": "Requis",
"ResumePrint": "Reprise impression",
"Slicer": "Trancheur",
"Speed": "Vitesse",
"Status": "Status",
"Total": "Total",
"Unknown": "Inconnu",
"EmptyGcodes": "Pas de G-Codes disponibles",
"EmptyJobqueue": "Pas de fichier dans la queue d'impression",
"Files": "Fichiers",
"Jobqueue": "Queue d'impression ({count})",
"JobqueueMoreFiles": "plus de travaux | un travail | {count} travaux",
"PrintTime": "Durée d'impression",
"Status": "Status"
"Unknown": "Inconnu"
},
"TemperaturePanel": {
"AutoscaleChart": "Echelle automatique",
@@ -585,9 +612,13 @@
"ToolheadControlPanel": {
"Absolute": "absolue",
"ALL": "Tous",
"Headline": "Tête d'impression",
"Invalid": "Invalide",
"InvertX": "Inversion X",
"InvertY": "Inversion Y",
"InvertZ": "Inversion Z",
"MotorsOff": "Arrêt des moteurs",
"OutOfRange": "Hors limites !",
"PleaseConfigureSteps": "Configurez Pas",
"Position": "Position",
"QGL": "QGL",
@@ -595,24 +626,21 @@
"SettingsInterfaceControl": "Réglages > Interface > Contrôle",
"SetupControls": "Réglages",
"SpeedFactor": "Facteur de vitesse",
"ZTilt": "Z Tilt",
"Headline": "Tête d'impression",
"Invalid": "Invalide",
"MotorsOff": "Arrêt des moteurs",
"OutOfRange": "Hors limites !",
"XOffset": "Offset-X",
"YOffset": "Offset-Y",
"ZOffset": "Offset-Z"
"ZOffset": "Offset-Z",
"ZTilt": "Z Tilt"
},
"WebcamPanel": {
"All": "Tous",
"FPS": "IPS",
"Headline": "Caméra",
"NoWebcam": "Pas de caméra disponible. Ajoutez une caméra dans \"Réglages interface\" > \"Caméras\"",
"UnknownWebcamService": "Service Caméra inconnu",
"UrlNotAvailable": "URL non disponible",
"NoWebcam": "Pas de caméra disponible. Ajoutez une caméra dans \"Réglages interface\" > \"Caméras\""
"UrlNotAvailable": "URL non disponible"
},
"ZoffsetPanel": {
"Clear": "Effacer",
"CurrentOffset": "Offset actuel",
"Headline": "Offset Z",
"Later": "Plus tard",
@@ -623,24 +651,7 @@
"SaveInfoDescriptionPrint": "Le nouvel offset Z a été calculé et enregistré. Après l'impression cliquez sur \"SAVE CONFIG\" dans la barre du haut afin de sauvegarder les valeurs dans \"printer.cfg\" et redémarrez Klipper.",
"SaveInfoHeadline": "Information",
"ToEndstop": "jusqu'au fin de course",
"ToProbe": "jusqu'à la sonde",
"Clear": "Effacer"
},
"ControlPanel": {
"ALL": "Tous",
"AlternateControls": "Contrôles alternatifs",
"Headline": "Contrôles",
"InvertX": "Inversion X",
"InvertY": "Inversion Y",
"InvertZ": "Inversion Z",
"PleaseConfigureSteps": "Configurez les pas",
"QGL": "QGL",
"SettingsInterfaceControl": "Paramètres > Interface > Contrôles",
"X": "X",
"Y": "Y",
"Z": "Z",
"ZTilt": "Z Tilt",
"SetupControls": "Configuration des contrôles"
"ToProbe": "jusqu'à la sonde"
}
},
"PowerDeviceChangeDialog": {
@@ -671,15 +682,15 @@
"EditPrinter": "Edition imprimante",
"Hello": "Bonjour et bienvenue dans le mode distance de Mainsail",
"HostnameInvalid": "Nom d'hôte/IP invalide",
"HostnameIp": "Nom d'hôte/IP",
"HostnameRequired": "Nom d'hôte/IP requis",
"Port": "Port",
"PortRequired": "Port requis",
"RememberToAdd": "Merci d'ajouter {cors} dans moonraker.conf rubrique 'cors_domains'.",
"SelectPrinter": "Choisir imprimante",
"TryAgain": "re-essayer",
"UpdatePrinter": "Mise à jour imprimante",
"YouCanFindMore": "Vous pouvez trouver plus de détails ici:",
"HostnameIp": "Nom d'hôte/IP",
"Port": "Port"
"YouCanFindMore": "Vous pouvez trouver plus de détails ici:"
},
"Settings": {
"Cancel": "Annuler",
@@ -709,27 +720,27 @@
"Circle": "Cercle",
"Control": "Contrôle",
"Cross": "Croix",
"EnableXYHoming": "Activer les m.a.z. simultanées des axes X & Y",
"EstimatedExtrusionInfo": "Afficher les estimations d'extrusion",
"EstimatedExtrusionInfoDescription": "Afficher / Cacher les estimations d'extrusions basées sur la quantité et le débit.",
"InvertXMovement": "Inversion X",
"InvertYMovement": "Inversion Y",
"InvertZMovement": "Inversion Z",
"IsDefault": " (default)",
"MaximumValues": "Valeurs maximum: {maximum}",
"MaximumValuesVisibility": "Le maximum de {maximum} valeurs est recommandé pour la meilleure visibilité",
"MinimumValues": "Valeurs minimum: {minimum}",
"MotorsOff": "Arrêt moteur {isDefault}",
"MoveDistancesEInMm": "Déplacement E en mm",
"MoveDistancesInMm": "Déplacement en mm",
"MoveDistancesXYInMm": "Déplacement X & Y en mm",
"MoveDistancesZInMm": "Déplacement Z en mm",
"QuadGantryLevel": "Quad Gantry Level{isDefault}",
"SpeedEInMms": "Vitesse E en mm/s",
"SpeedXY": "Vitesse X & Y",
"SpeedZ": "Vitesse Z",
"Style": "Style",
"ValueGreaterThan": "La valeur doit être supérieure à {value}",
"EnableXYHoming": "Activer les m.a.z. simultanées des axes X & Y",
"EstimatedExtrusionInfo": "Afficher les estimations d'extrusion",
"EstimatedExtrusionInfoDescription": "Afficher / Cacher les estimations d'extrusions basées sur la quantité et le débit.",
"IsDefault": " (default)",
"MotorsOff": "Arrêt moteur {isDefault}",
"QuadGantryLevel": "Quad Gantry Level{isDefault}",
"ZOffsetIncrements": "Increments Offset-Z (in mm)",
"ZTiltAdjust": "Adjustement Z-Tilt{isDefault}"
},
@@ -746,12 +757,12 @@
"ConfirmUnsavedChanges": "Confirmation pour sauvegarder ou annuler des changements",
"ConfirmUnsavedChangesDescription": "Si actif, l'éditeur requiert une confirmation de sauvegarde ou d'annulation des changements effectués. Si inactif, les changements sont annulés sans confirmation.",
"Editor": "Editeur",
"UseEscToClose": "Utiliser la touche \"esc\" pour fermer l'éditeur",
"UseEscToCloseDescription": "Autoriser la touche \"esc\" de fermer l'éditeur.",
"KlipperRestartMethod": "Méthode de redémarrage de Klipper",
"KlipperRestartMethodDescription": "Choisissez la méthode utilisée pour redémarrer Klipper lors d'un appui sur 'Save & Restart' après édition des fichiers de configuration.",
"MoonrakerRestartInstance": "Redémarrage Moonraker",
"MoonrakerRestartInstanceDescription": "Choisissez quel service Moonraker doit redémarrer lors d'un appui sur 'Save & Restart' après édition des fichiers de configuration."
"MoonrakerRestartInstanceDescription": "Choisissez quel service Moonraker doit redémarrer lors d'un appui sur 'Save & Restart' après édition des fichiers de configuration.",
"UseEscToClose": "Utiliser la touche \"esc\" pour fermer l'éditeur",
"UseEscToCloseDescription": "Autoriser la touche \"esc\" de fermer l'éditeur."
},
"GCodeViewerTab": {
"BackgroundColor": "Couleur de l'arrière-plan",
@@ -776,6 +787,11 @@
"DbTimelapseSettings": "Accéléré",
"DbView": "Réglages de visualisation",
"DbWebcams": "Caméras",
"EstimateValues": {
"Filament": "Filament",
"File": "Fichier",
"Slicer": "Trancheur"
},
"FactoryDialog": "Choisissez les sections à réinitialiser",
"FactoryReset": "Réglages d'usine",
"General": "Général",
@@ -784,12 +800,7 @@
"PrinterName": "Nom de l'imprimante",
"Reset": "réinitalisation",
"Restore": "Restauration",
"RestoreDialog": "Choisissez les sections que vous désirez restaurer:",
"EstimateValues": {
"Filament": "Filament",
"File": "Fichier",
"Slicer": "Trancheur"
}
"RestoreDialog": "Choisissez les sections que vous désirez restaurer:"
},
"InterfaceSettings": "Réglages interface",
"MacrosTab": {
@@ -835,16 +846,16 @@
"CustomGCode": "G-Code utilisateur",
"EditCooldown": "Editer refroidissement",
"EditHeadline": "Editer préréglage",
"Name": "Nom",
"PreheatPresets": "Préréglages °C",
"PresetInfo": "Vous devez définir une température cible ou un G-Code utilisateur",
"StoreButton": "Ajouter préréglage",
"UpdateButton": "Mise à jour préréglage",
"UpdateCooldown": "Mise à jour refroidissement",
"ErrorInvalidValue": "Valeur invalide",
"ErrorNameNotUnique": "Nom existe déjà",
"ErrorNameRequired": "Nom nécessaire",
"PresetNamePlaceholder": "Name par défaut (required)"
"Name": "Nom",
"PreheatPresets": "Préréglages °C",
"PresetInfo": "Vous devez définir une température cible ou un G-Code utilisateur",
"PresetNamePlaceholder": "Name par défaut (required)",
"StoreButton": "Ajouter préréglage",
"UpdateButton": "Mise à jour préréglage",
"UpdateCooldown": "Mise à jour refroidissement"
},
"RemotePrintersTab": {
"AddPrinter": "Ajouter imprimante",
@@ -1028,18 +1039,5 @@
"Variable": "Variable",
"Video": "Vidéo"
},
"title": "Français",
"Dialogs": {
"StartPrint": {
"Cancel": "Annuler",
"DoYouWantToStartFilename": "Désirez-vous imprimer {filename} ?",
"Headline": "Démarrage Impression",
"Print": "Impression",
"Timelapse": "Accéléré"
}
},
"FullscreenUpload": {
"CannotUploadFile": "Impossible de télécharger le fichier !",
"DropFilesToUploadFiles": "Déposez les fichiers à télécharger"
}
"title": "Français"
}
+161 -50
View File
@@ -1,10 +1,32 @@
{
"App": {
"Notifications": {
"DependencyDescription": "Ez a verzió {name} nem támogat minden Mainsail funkciót. Frissítsd az újra {neededVersion} a jelenlegit {name}.",
"DependencyName": "Függőség: {name}",
"DismissAll": "Mind elvetése",
"KlipperWarnings": {
"DeprecatedOption": "'{section}' / '{option}' opcióját leírtuk, és a következő verzióban már nem lesz benne.",
"DeprecatedValue": "'{section}' / '{option}' / Value '{value}' opcióját leírtuk, és a következő verzióban már nem lesz benne."
}
"DeprecatedOptionHeadline": "Elavult Klipper Opció",
"DeprecatedValue": "'{section}' / '{option}' / Value '{value}' opcióját leírtuk, és a következő verzióban már nem lesz benne.",
"DeprecatedValueHeadline": "Elavult Klipper Érték",
"KlipperWarning": "Klipper figyelmeztetés"
},
"MoonrakerWarnings": {
"MoonrakerComponent": "Moonraker: {component}",
"MoonrakerFailedComponentDescription": "Hiba a betöltés során, Moonraker '{component}'. Kérlek ellenőrizd a logokat, és javítsd a hibát.",
"MoonrakerWarning": "Moonraker figyelmeztetés",
"UnparsedConfigOption": "A [{section}] szekcióban helytelen konfig opciót '{option}: {value}' detektáltam. Ez lehet egy már nem elérhető opció, vagy egy hibásan betöltődő modul is okozhatja. A jövőben ez egy indítási hibaként fog jelentkezni.",
"UnparsedConfigSection": "Helytelen konfig szekciót [{section}] detektáltam. Ezt egy egy hibásan betöltődő komponens okozhatja. A jövőben ez egy indítási hibaként fog jelentkezni."
},
"Never": "Soha",
"NextReboot": "Következő reboot",
"NoNotification": "Értesítés nem elérhető",
"Remind": "Emlékeztető:"
},
"NumberInput": {
"GreaterOrEqualError": "Nagyobbnak vagy egyenlőnek kell lennie mint {min}!",
"MustBeBetweenError": "A {min} és {max} között kell lennie!",
"NoEmptyAllowedError": "Nem lehet üres a bemenet!"
},
"Printers": "Nyomtatók",
"ThrottledStates": {
@@ -35,7 +57,7 @@
"TopBar": {
"CannotUploadTheFile": "A fájl nem feltölthető!",
"EmergencyStop": "Vészstop",
"SAVE_CONFIG": "BÁLLÍTÁS MENTÉSE",
"SAVE_CONFIG": "BÁLLÍTÁS_MENTÉSE",
"Uploading": "Feltöltés",
"UploadOfFileSuccessful": " {file} feltöltése sikeres!",
"UploadPrint": "Feltöltés és nyomtatás"
@@ -89,7 +111,8 @@
"CheckMoonrakerLog": "Ha ez az üzenet többször is megjelenik, nézd meg a naplófájlt, itt:",
"Connecting": "Csatlakozás ehhez: {host}",
"Failed": "Kapcsolódás sikeretelen ",
"TryAgain": "próbáld újra"
"Initializing": "Inicializálás",
"TryAgain": "Próbáld újra"
},
"Console": {
"CommandList": "Parancslista",
@@ -99,14 +122,21 @@
"SendCode": "Kód küldése...",
"SetupConsole": "Konzol beállítás"
},
"Dialogs": {
"StartPrint": {
"Cancel": "Mégsem",
"DoYouWantToStartFilename": "{filename} kezdése?",
"Headline": "Feladat kezdése",
"Print": "nyomtat",
"Timelapse": "Idővonal"
}
},
"Editor": {
"Cancel": "Mégsem",
"ConfigReference": "Konfigurációs refencia",
"DontSave": "Ne mentsd",
"Downloading": "Letöltés",
"FailedSave": "Nem tölthető fel: {filename}!",
"FileReadOnly": "csak olvasható",
"Minimap": "Mutasd a kistérképet",
"SaveClose": "Ment és bezár",
"SaveRestart": "Ment és újraindít",
"SuccessfullySaved": "Sikeresen mentve: {filename}",
@@ -130,9 +160,9 @@
"CurrentPath": "Jelenlegi útvonal",
"Delete": "Törlés",
"DeleteDirectory": "Mappa törlése",
"DeleteDirectoryQuestion": "Tényleg szeretnéd törölni a(z) \"{name}\" mappát és minden tartalmát?",
"DeleteDirectoryQuestion": "Tényleg szeretnéd törölni a következő mappát és minden tartalmát? \"{name}\" ",
"DeleteSelectedQuestion": "Tényleg szeretnél törölni {count} darab fájlt?",
"Download": "Letöltés",
"Downloading": "Letöltés...",
"EditFile": "Fájl szerkesztése",
"Empty": "Üres",
"Filament": "Filament",
@@ -146,7 +176,12 @@
"FreeDisk": "Szabad terület",
"GCodeFiles": "G-Code Fájlok",
"HiddenFiles": "Rejtett fájlok",
"LastEndTime": "Legutóbbi Elégzési Idő",
"LastFilamentUsed": "Legutóbb Használt Filament",
"LastModified": "Legutóbb módosítva",
"LastPrintDuration": "Legutóbbi Nyomtatási Idő",
"LastStartTime": "Legutóbbi Start Ideje",
"LastTotalDuration": "Legutóbbi Teljes Nyomtatási Idő",
"LayerHeight": "Rétegmagasság",
"Name": "Név",
"NewDirectory": "Új mappa",
@@ -169,11 +204,14 @@
"SuccessfullyRenamed": "Sikeresen átnevezve: {filename}",
"SuccessfullyUploaded": "Sikeres feltöltés: {filename}",
"Total": "Összesen",
"Uploading": "Feltöltés",
"UploadNewGcode": "Új Gcode feltöltése",
"Used": "Felhasznált",
"View3D": "3D nézet"
},
"FullscreenUpload": {
"CannotUploadFile": "Nem tudom feltölteni a fájlt!",
"DropFilesToUploadFiles": "Húzd át a fájlokat feltöltéshez"
},
"GCodeViewer": {
"ClearLoadedFile": "Kitakarít",
"ColorMode": "Színes Mód",
@@ -218,25 +256,36 @@
"ErrorKlipperNotReady": "A Klipper nem áll készen. Magasságtérkép letiltva.",
"Flat": "Lapos",
"Heightmap": "Magasságtérkép",
"Later": "Később",
"Mesh": "Síkrács",
"Name": "Név",
"NoBedMeshHasBeenLoadedYet": "Még nincs betöltve a síkrács.",
"NoProfile": "Nincs elérhető profil",
"Ok": "OK",
"Probed": "Bemért",
"Profiles": "Profilok",
"Remove": "eltávolítás",
"RemoveSaveDescription": "A bed_mesh profil töröltként került megjegyzésre.Klikkelj a BÁLLÍTÁS_MENTÉS-ÉRE, hogy eltávolítsd a printer.cfg-ből és újraindítsd a Klippert.",
"Rename": "átnevez",
"RenameBedMeshProfile": "Síkrács profil átnevezése",
"SAVE_CONFIG": "BÁLLÍTÁS_MENTÉSE",
"ScaleGradient": "Gradiens skálázása",
"ScaleZMax": "Z-max. skálázása",
"TitleCalibrate": "Új síkrács kalibrálása",
"TitleClear": "Síkrács kinullázása",
"TitleHomeAll": "Kezdőpontba áll",
"Wireframe": "Drótháló"
},
"History": {
"AllJobs": "Minden",
"AvgPrinttime": "Átlag nyomtatási idő",
"AddNote": "Megjegyzés hozzáadása",
"AllJobs": "Mind",
"AvgPrinttime": "Átlag nyomtatási idő - Ø",
"Cancel": "Mégsem",
"CreateNote": "Megjegyzés létrehozása",
"Delete": "Törlés",
"DeleteSelectedQuestion": "Tényleg törölni akarsz {count} kiválasztott munkát?",
"Details": "Részletek",
"EditNote": "Megjegyzés módosítása",
"Empty": "üres",
"EndTime": "Befejezés",
"EstimatedFilament": "Becsült filament",
@@ -257,18 +306,33 @@
"LastModified": "Utolsó módosított",
"LayerHeight": "Rétegmagasság",
"LongestPrinttime": "Leghosszabb nyomtatási idő",
"Note": "Megjegyzés",
"ObjectHeight": "Tárgy magassága",
"PrintDuration": "Nyomtatás ideje",
"PrintHistory": "Nyomtatási előzmények",
"PrintTime": "Nyomtatási idő",
"PrinttimeAvg": "Nyomtatási átlag",
"Reprint": "Újranyomtat",
"Save": "ment",
"Search": "keresés",
"SelectedFilamentUsed": "Kiválasztott Filament Felhasználásra",
"SelectedJobs": "Kiválasztott Munkák",
"SelectedPrinttime": "Kiválasztott Nyomtatási Idő",
"Slicer": "Slicer",
"SlicerVersion": "Slicer verzió",
"StartTime": "Kezdés",
"Statistics": "Statisztikák",
"Status": "Státusz",
"StatusValues": {
"cancelled": "Megszakított",
"completed": "Elkészült",
"error": "Hiba",
"in_progress": "Folyamatban",
"klippy_disconnect": "Klippy lecsatlakotatás",
"klippy_shutdown": "Klippy leállítás",
"server_exit": "Szerverből kilépés"
},
"TitleExportHistory": "Export Előzmények",
"TitleRefreshHistory": "Előzmények frissítése",
"TitleSettings": "Beállítások",
"TotalDuration": "Teljes idő",
@@ -283,6 +347,7 @@
"JobQueue": "Feladatlista",
"Jobs": "Feladatok",
"Pause": "Szünet",
"RemoveFromQueue": "Eltávolítás a Listáról",
"Start": "Start"
},
"Machine": {
@@ -297,6 +362,7 @@
"Delete": "Törlés",
"DeleteDirectory": "Mappa törlése",
"DeleteDirectoryQuestion": "Tényleg szeretnéd törölni a(z) \"{name}\" mappát és minden tartalmát?",
"DeleteSelectedQuestion": "Töröljem a kiválasztott {count} elemeket?",
"Download": "Letöltés",
"EditFile": "Fájl szerkesztése",
"Empty": "Üres",
@@ -312,6 +378,7 @@
"Rename": "Átnevezés",
"RenameDirectory": "Mappa átnevezése",
"RenameFile": "Fájl átnevezése",
"Root": "Root",
"SetupCurrentList": "Jelenlegi lista beállítása",
"ShowFile": "Fájl megjelenítése",
"Total": "Összesen",
@@ -331,11 +398,28 @@
},
"SystemPanel": {
"Constants": "Állandók",
"Cpu": "CPU",
"HostDetails": "Gazdagép részletei",
"LastStats": "Utolsó statisztikák",
"Load": "Betöltés",
"Memory": "Mem",
"SystemLoad": "Rendszerterhelések"
"Memory": "MEM",
"NoMoreInfos": "Nincs több Info",
"SystemLoad": "Rendszerterhelések",
"Values": {
"Awake": "Ébredés: {awake}",
"Bandwidth": "Sávszélesség: {bandwidth}/s",
"Distro": "Distro: {name} {version_id}",
"Frequency": "Frek: {frequency}",
"Load": "Terh: {load}",
"Memory": "Mem: {memory}",
"Os": "OS: {os}",
"Received": "Kapott: {received}",
"Temp": "Hőm: {temp}°C",
"TempMax": "max: {temp}°C",
"TempMin": "min: {temp}°C",
"Transmitted": "Elküldött: {transmitted}",
"Version": "Verzió: {version}"
}
},
"UpdatePanel": {
"CheckForUpdates": "Frissítések keresése",
@@ -362,14 +446,31 @@
}
},
"Panels": {
"DependenciesPanel": {
"Dependency": "Függőség | Függőségek",
"DependencyDescription": "A jelenlegi verzió {name} nem támogatja a Mainsail minden funkcióját. Frissítsd a {name} verziót legalább erre: {neededVersion}."
},
"ExtruderControlPanel": {
"Allowed": "Megengedett",
"EstimatedExtrusion": "Becsült Extrudálás:",
"Extrude": "Extrudálás",
"ExtruderTempTooLow": "Extruder hőm. <",
"ExtrusionFactor": "Extrudálási szorzó",
"Retract": "Visszahúzás"
"ExtrusionFeedrate": "Extruder Előtolása",
"FilamentLength": "Filament Hossz",
"FirmwareRetractionSettings": {
"RetractLength": "Visszahúzás hossza",
"RetractSpeed": "Visszahúzás sebessége",
"UnretractExtraLength": "Eresztés Extra Hossza",
"UnretractSpeed": "Eresztés Sebessége"
},
"Headline": "Extruder",
"LoadFilament": "Filament Behúzása",
"PressureAdvanceSettings": {
"Advance": "Fejlett mód",
"Extruder": "Extruder",
"SmoothTime": "Simítás ideje"
},
"Requested": "Kért",
"Retract": "Visszahúzás",
"TooLargeExtrusion": "A visszahúzás túl nagy!",
"UnloadFilament": "Filament kihúzása"
},
"FarmPrinterPanel": {
"ReconnectToPrinter": "Újracsatlakozás",
@@ -384,26 +485,12 @@
"Restart": "Újraindítás"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Firmware Visszahúzás",
"RetractLength": "Visszahúzás hossza",
"RetractSpeed": "Visszahúzás sebessége",
"UnretractExtraLength": "Eresztés Extra Hossza",
"UnretractSpeed": "Eresztés Sebessége"
},
"Headline": "Gép beállításai",
"MotionSettings": {
"Acceleration": "Gyorsulás",
"MaxAccelToDecel": "Lassulás Max Gyorsulása",
"Motion": "Mozgás",
"SquareCornerVelocity": "Sebesség a sarkokban",
"Velocity": "Gyorsaság"
},
"PressureAdvanceSettings": {
"Advance": "Fejlett mód",
"Extruder": "Extruder",
"PressureAdvance": "Nyomás fejlett mód",
"SmoothTime": "Simítás ideje"
}
},
"MacrosPanel": {
@@ -431,12 +518,6 @@
"Empty": "Üres"
}
},
"MoonrakerStatePanel": {
"DownloadLog": "Letöltési log",
"FollowingPluginHasAnError": "A következő bővítmény hibás:",
"MoonrakerErrorInfo": "A Moonrakerben hiba lépett fel. Kérlek, ellenőrizd a naplókat, frissítsd a konfigurációt és indítsd újra a Moonrakert.",
"MoonrakerWarnings": "Moonraker figyelmeztetések"
},
"PowerControlPanel": {
"Error": "Hiba",
"Off": "KI",
@@ -447,6 +528,8 @@
"CancelPrint": "Nyomtatás megszakítása",
"ClearPrintStats": "Nyomt. statisztikák törlése",
"Difference": "Különbség",
"EmptyGcodes": "Nincs elérhető G-Code.",
"EmptyJobqueue": "Jelenleg nincs munka a várólistán.",
"Estimate": "Becslés",
"ETA": "Becs.Idő",
"ExcludeObject": {
@@ -458,25 +541,29 @@
},
"Filament": "Filament",
"File": "Fájl",
"Files": "Fájlok",
"Flow": "Anyagáramlás",
"Headline": "Állapot",
"Jobqueue": "Várólista ({count})",
"JobqueueMoreFiles": "Nincs több munka | Még egy munka | {count} munka hátra",
"Layer": "Réteg",
"Max": "max",
"ObjectHeight": "Tárgy magassága",
"PausePrint": "Nyomtatás szüneteltetése",
"Print": "Nyomtatás",
"PrintTime": "Nyomtatási Idő",
"ReprintJob": "Munka újranyomtatása",
"Requested": "Kért",
"ResumePrint": "Nyomtatás folytatása",
"Slicer": "Slicer",
"Speed": "Sebesség",
"Status": "Státusz",
"Total": "Összesen",
"Unknown": "Ismeretlen"
},
"TemperaturePanel": {
"AutoscaleChart": "Grafikon automatikus méretezése",
"Avg": "Átl.",
"Color": "Szín",
"Cooldown": "Lehűtés",
"Current": "Jelenlegi",
"Dataset": {
@@ -503,17 +590,16 @@
"ToolheadControlPanel": {
"Absolute": "abszolút",
"ALL": "MIND",
"InvertX": "X invertálása",
"InvertY": "Y invertálása",
"InvertZ": "Z invertálása",
"Headline": "Fúvókafej",
"Invalid": "Érvénytelen",
"OutOfRange": "Hatértéken túl!",
"PleaseConfigureSteps": "Kérlek állítsd be a step értékét",
"Position": "Pozíció",
"QGL": "QGL",
"Relative": "relatív",
"SettingsInterfaceControl": "Beállítások > Kezelőfelület > Vezérlés",
"SetupControls": "Beállítás vezérlései",
"SpeedFactor": "Sebességállítás",
"ZTilt": "Z dőlésszög"
"ZTilt": "Z-dőlésszög"
},
"WebcamPanel": {
"All": "Mind",
@@ -528,9 +614,9 @@
"Later": "Később",
"Ok": "OK",
"Save": "Mentés",
"SaveConfig": "BÁLLÍTÁS MENTÉSE",
"SaveInfoDescription": "Új Z-eltolás kiszámítva és regisztrálva. Kattints a \"BÁLLÍTÁS MENTÉSE\" gombra az új Z-eltolás eltárolásához a printer.cfg-be és indítsd újra a Klippert.",
"SaveInfoDescriptionPrint": "Új Z-eltolás kiszámítva és regisztrálva. Nyomtatás után kattints a \"BÁLLÍTÁS MENTÉSE\"-re a felső sávban, a printer.cfg-be eltárolásához és a Klipper újraindításához.",
"SaveConfig": "BÁLLÍTÁS_MENTÉSE",
"SaveInfoDescription": "Új Z-eltolás kiszámítva és regisztrálva. Kattints a \"BÁLLÍTÁS_MENTÉSE\" gombra az új Z-eltolás eltárolásához a printer.cfg-be és indítsd újra a Klippert.",
"SaveInfoDescriptionPrint": "Új Z-eltolás kiszámítva és regisztrálva. Nyomtatás után kattints a \"BÁLLÍTÁS_MENTÉSE\"-re a felső sávban, a printer.cfg-be eltárolásához és a Klipper újraindításához.",
"SaveInfoHeadline": "Információ",
"ToEndstop": "a végállásig",
"ToProbe": "szondáig"
@@ -564,7 +650,9 @@
"EditPrinter": "Nyomtató beállítása",
"Hello": "Szia, üdvözlünk a távoli hozzáférésű Mainsailben",
"HostnameInvalid": "Gazdanév/IP érvénytelen",
"HostnameIp": "Gazdanév/IP",
"HostnameRequired": "Gazdanév szükséges",
"Port": "Port",
"PortRequired": "Port szükséges",
"RememberToAdd": "Add hozzá a moonraker.conf-ban a 'cors_domains'-en belül ezt: {cors}",
"SelectPrinter": "Nyomtató választása",
@@ -586,6 +674,7 @@
"EntryStyle": "Alapstílus",
"EntryStyleCompact": "kompakt",
"EntryStyleDefault": "alapstílus",
"Filters": "Filterek",
"Height": "Magasság",
"HideTemperatures": "Hőmérsékletek elrejtése",
"HideTimelapse": "Idővonal elrejtése",
@@ -598,22 +687,30 @@
"Bars": "Sávok",
"Circle": "Kör",
"Control": "Vezérlés",
"Cross": "kereszt",
"Cross": "Kereszt",
"EnableXYHoming": "Kombinált X és Y tengely alapállapot engedélyezése",
"EstimatedExtrusionInfo": "Mutatsd a becsült extrudálási időt",
"EstimatedExtrusionInfoDescription": "Mutasd / rejdtsd el az extrudálás mennyisége és előtolása alapján becsült extrudálási infókat",
"InvertXMovement": "X-mozgás invertálása",
"InvertYMovement": "Y-mozgás invertálása",
"InvertZMovement": "Z-mozgás invertálása",
"IsDefault": " (alapértelmezett)",
"MaximumValues": "Maximum értékek: {maximum}",
"MaximumValuesVisibility": "A legjobb láthatósághoz ajánlott Maximum érték: {maximum}",
"MinimumValues": "Minimum értékek: {minimum}",
"MotorsOff": "Motorok KI {isDefault}",
"MoveDistancesEInMm": "E-mozgás táv. mm-ben",
"MoveDistancesInMm": "Mozgás táv. mm-ben",
"MoveDistancesXYInMm": "XY mozgás táv. mm-ben",
"MoveDistancesZInMm": "Z mozdítás mm-ben",
"QuadGantryLevel": "4 tengelyes szintezés {isDefault}",
"SpeedEInMms": "E sebessége mm/s-ban",
"SpeedXY": "XY sebessége",
"SpeedZ": "Z sebessége",
"Style": "Stílus",
"ValueGreaterThan": "Az értéknek nagyobbnak kell lennie mint: {value}"
"ValueGreaterThan": "Az értéknek nagyobbnak kell lennie mint {value}",
"ZOffsetIncrements": "Z-Eltolás mérései (in mm)",
"ZTiltAdjust": "Z-dőlésszög Beállítása{isDefault}"
},
"DashboardTab": {
"Dashboard": "Irányítópult",
@@ -628,6 +725,10 @@
"ConfirmUnsavedChanges": "Az új változások mentésének vagy elvetésének kijelzése",
"ConfirmUnsavedChangesDescription": "Ha engedélyezed, az új változások mentéséhez vagy elvetéséhez megerősítés szükséges. Ha kikapcsolod a változásokat némán eldobja.",
"Editor": "Szerkesztő",
"KlipperRestartMethod": "Klipper újraindítási mód",
"KlipperRestartMethodDescription": "Válaszd ki milyen újraindítási módot használjunk a 'Ment és Újraindít' esetén, amikor a klipper konfig fájlait szerkeszted.",
"MoonrakerRestartInstance": "Moonraker példány Újraindítása",
"MoonrakerRestartInstanceDescription": "Válaszd ki melyik Moonraker szolgáltatást indítsuk újra a 'Ment és Újraindít' esetén, amikor a Moonraker konfig fájlait szerkeszted.",
"UseEscToClose": "Kilépéshez nyomd meg az ESC gombot",
"UseEscToCloseDescription": "Az ESC gomb megnyomása bezárja a szerkesztőt"
},
@@ -638,7 +739,8 @@
"GridColor": "Rács Színe",
"MaxFeed": "Max Behúzási Ráta",
"MinFeed": "Min Behúzási Ráta",
"ShowAxes": "Koordinátatengelyek mutatása"
"ProgressColor": "Haladás színei",
"ShowAxes": "Tengelyek mutatása"
},
"GeneralTab": {
"Backup": "Bizt. mentés",
@@ -654,6 +756,11 @@
"DbTimelapseSettings": "Idővonal beállítások",
"DbView": "Beállítások mutatása",
"DbWebcams": "Webkamerák",
"EstimateValues": {
"Filament": "Filament",
"File": "Fájl",
"Slicer": "Slicer"
},
"FactoryDialog": "Kérlek válaszd ki a visszaállítandó részeket:",
"FactoryReset": "Gyári visszaállítás",
"General": "Általános",
@@ -708,9 +815,13 @@
"CustomGCode": "Egyedi G-kód",
"EditCooldown": "Visszahűtés szerkesztése",
"EditHeadline": "Előzetes értékek szerkesztése",
"ErrorInvalidValue": "Helytelen érték",
"ErrorNameNotUnique": "A név már létezik",
"ErrorNameRequired": "A név kötelező",
"Name": "Név",
"PreheatPresets": "Előzetes érték",
"PresetInfo": "Választanod kell min hőmérsékletet, vagy egyedi Gcode-ot.",
"PresetNamePlaceholder": "Eredeti név(kötelező)",
"StoreButton": "Előzetes értékek tárolása",
"UpdateButton": "Előzetes értékek frissítése",
"UpdateCooldown": "Visszahűtés frissítése"
+12 -14
View File
@@ -365,6 +365,18 @@
"ExtruderControlPanel": {
"Extrude": "Estrudi",
"ExtrusionFactor": "Fattore di estrusione",
"FirmwareRetractionSettings": {
"RetractLength": "Lunghezza Retrazione",
"RetractSpeed": "Velocità Retrazione",
"UnretractExtraLength": "Lunghezza Extra Ri-estrusione",
"UnretractSpeed": "Velocità Ri-estrusione"
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Estrusore",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
},
"Retract": "Retrazione"
},
"FarmPrinterPanel": {
@@ -380,27 +392,13 @@
"Restart": "Riavvia"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Retrazione Firmware",
"RetractLength": "Lunghezza Retrazione",
"RetractSpeed": "Velocità Retrazione",
"UnretractExtraLength": "Lunghezza Extra Ri-estrusione",
"UnretractSpeed": "Velocità Ri-estrusione"
},
"Headline": "Impostazioni Macchina",
"MotionSettings": {
"Acceleration": "Accelerazione",
"Deceleration": "Decelerazione",
"MaxAccelToDecel": "Max Accel. a Decel.",
"Motion": "Movimento",
"SquareCornerVelocity": "Velocità Angolo Retto",
"Velocity": "Velocità"
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Estrusore",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
}
},
"MacrosPanel": {
+47 -59
View File
@@ -21,6 +21,7 @@
"Never": "何もしない",
"NextReboot": "次回再起動時",
"NoNotification": "非通知を有効",
"Notifications": "通知",
"Remind": "注意喚起:"
},
"NumberInput": {
@@ -58,9 +59,9 @@
"CannotUploadTheFile": "アップロードできませんでした!",
"EmergencyStop": "緊急停止",
"SAVE_CONFIG": "設定保存",
"UploadPrint": "アップロード & 印刷",
"Uploading": "アップロード中",
"UploadOfFileSuccessful": "{file}のアップロードが完了しました!",
"Uploading": "アップロード中"
"UploadPrint": "アップロード & 印刷"
},
"TopCornerMenu": {
"Cancel": "取り消し",
@@ -111,6 +112,7 @@
"CheckMoonrakerLog": "このメッセージが繰り返し表示される場合は、以下のログファイルを参照してください。:",
"Connecting": "{host}に接続中",
"Failed": "接続に失敗しました",
"Initializing": "初期化中",
"TryAgain": "再試行してください"
},
"Console": {
@@ -131,13 +133,11 @@
}
},
"Editor": {
"Cancel": "取り消し",
"ConfigReference": "設定の参考",
"DontSave": "保存しない",
"Downloading": "ダウンロード中",
"FailedSave": "{filename}をアップロードできませんでした!",
"FileReadOnly": "読み取り専用",
"Minimap": "ミニマップの表示",
"SaveClose": "保存してクローズ",
"SaveRestart": "保存して再始動",
"SuccessfullySaved": "{filename}が保存されました",
@@ -147,15 +147,17 @@
"Uploading": "アップロード中"
},
"EmergencyStopDialog": {
"EmergencyStop": "緊急停止",
"AreYouSure": "よろしいですか?",
"EmergencyStop": "緊急停止",
"No": "いいえ",
"Yes": "はい"
},
"Files": {
"AddToQueue": "ジョブキューに追加",
"AllFiles": "すべてのファイル",
"BedTemp": "ベッド温度",
"Cancel": "取り消し",
"ChamberTemp": "チャンバー温度",
"Create": "作成",
"CreateNewDirectory": "新規ディレクトリの作成",
"CurrentPath": "現在のパス",
@@ -164,9 +166,9 @@
"DeleteDirectoryQuestion": "ディレクトリ\"{name}\"と中に含まれるすべてのファイルが削除されます。よろしいですか?",
"DeleteSelectedQuestion": "選択された {count}個のファイルを削除します。よろしいですか?",
"Download": "ダウンロード",
"Downloading": "ダウンロード中",
"EditFile": "ファイル編集",
"Empty": "空",
"ExtruderTemp": "エクストルーダー温度",
"Filament": "フィラメント",
"FilamentName": "フィラメント名",
"FilamentType": "材質",
@@ -177,6 +179,7 @@
"Free": "空き",
"FreeDisk": "空きディスク",
"GCodeFiles": "Gコードファイル",
"GcodesRootDirectoryDoesntExists": "Gコードディレクトリが見つかりませんでした。Klipperの設定[virtual_sdcard]セクションの\"path\"オプションを確認してください。",
"HiddenFiles": "隠し属性ファイル",
"LastEndTime": "直近の終了時刻",
"LastFilamentUsed": "直近の使用量",
@@ -206,7 +209,6 @@
"SuccessfullyRenamed": "{filename}の名前が変更されました。",
"SuccessfullyUploaded": "{filename}がアップロードされました!",
"Total": "総計",
"Uploading": "アップロード中",
"UploadNewGcode": "新しいGコードファイルをアップロード",
"Used": "使用済み",
"View3D": "3Dビュー"
@@ -230,9 +232,9 @@
"ReloadRequired": "リロードが必要",
"Rendering": "レンダリング",
"RenderQuality": "レンダークオリティー",
"ShowObjectSelection": "オブジェクト選択表示",
"ShowToolhead": "ツールヘッド表示",
"ShowTravelMoves": "トラベル表示",
"ShowObjectSelection": "オブジェクト選択表示",
"SpecularLighting": "スペキュラーラインティング",
"Title": "Gコードビュアー",
"Tracking": "トラッキング",
@@ -259,6 +261,9 @@
"ErrorKlipperNotReady": "Klipperは準備できていません。高低マップは無効になりました。",
"Flat": "平面",
"Heightmap": "高低マップ",
"InvalidNameAlreadyExists": "プロファイル名は既に存在しています。違う名前をつけてください。",
"InvalidNameEmpty": "名前の入力は空であってはなりません!",
"InvalidNameReserved": "プロファイル名 'default' は予約されています。違う名前をつけてください。",
"Later": "あとで",
"Mesh": "メッシュ",
"Name": "名前",
@@ -284,6 +289,7 @@
"AllJobs": "全ジョブ",
"AvgPrinttime": "平均印刷時間",
"Cancel": "取り消し",
"ChamberTemp": "チャンバー温度",
"CreateNote": "メモ作成",
"Delete": "削除",
"DeleteSelectedQuestion": "選択された {count}個のジョブを削除します。よろしいですか?",
@@ -358,6 +364,7 @@
"AllFiles": "すべてのファイル",
"Cancel": "取り消し",
"ConfigFiles": "設定ファイル",
"ConfigRootDirectoryDoesntExists": "設定ディレクトリが見つかりませんでした。Moonrakerの設定[file_manager]セクションの\"config_path\"オプションを確認してください。",
"Create": "作成",
"CreateDirectory": "ディレクトリ作成",
"CreateFile": "ファイル作成",
@@ -391,7 +398,7 @@
},
"EndstopPanel": {
"Endstop": "エンドストップ",
"EndstopInfo": "Press the sync-button on the right-bottom to load the current endstop status.",
"EndstopInfo": "右下の同期ボタンを押すと現在のエンドストップの状態を読み込みます。",
"Endstops": "エンドストップ",
"open": "オープン",
"TRIGGERED": "トリガー"
@@ -449,22 +456,6 @@
}
},
"Panels": {
"ControlPanel": {
"ALL": "すべて",
"AlternateControls": "代替コントロール",
"Headline": "コントロール",
"InvertX": "X軸反転",
"InvertY": "Y軸反転",
"InvertZ": "Z軸反転",
"PleaseConfigureSteps": "ステップを設定してください",
"QGL": "QGL",
"SettingsInterfaceControl": "設定 > インターフェース > コントロール",
"SetupControls": "コントロール設定",
"X": "X",
"Y": "Y",
"Z": "Z",
"ZTilt": "Z軸チルト"
},
"ExtruderControlPanel": {
"Allowed": "許可",
"EstimatedExtrusion": "推定押し出し量:",
@@ -473,8 +464,19 @@
"ExtrusionFactor": "押し出し係数",
"ExtrusionFeedrate": "押し出し速度",
"FilamentLength": "フィラメント長",
"FirmwareRetractionSettings": {
"RetractLength": "引き込み長",
"RetractSpeed": "引き込み速度",
"UnretractExtraLength": "追加の戻り長",
"UnretractSpeed": "戻り速度"
},
"Headline": "エクストルーダー",
"LoadFilament": "フィラメントのロード",
"PressureAdvanceSettings": {
"Advance": "Pressure Advance",
"Extruder": "エクストルーダー",
"SmoothTime": "スムーズ時間"
},
"Requested": "要求",
"Retract": "引き込み",
"TooLargeExtrusion": "押し出しが量が大きすぎます!",
@@ -493,26 +495,12 @@
"Restart": "再始動"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "ファームウェア引き込み",
"RetractLength": "引き込み長",
"RetractSpeed": "引き込み速度",
"UnretractExtraLength": "追加の戻り長",
"UnretractSpeed": "戻り速度"
},
"Headline": "機器設定",
"MotionSettings": {
"Acceleration": "最大加速度",
"MaxAccelToDecel": "最大加速から減速",
"Motion": "運動特性",
"SquareCornerVelocity": "コーナー速度(SCV)",
"Velocity": "最高速度"
},
"PressureAdvanceSettings": {
"Advance": "Pressure Advance",
"Extruder": "エクストルーダー",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "スムーズ時間"
}
},
"MacrosPanel": {
@@ -550,6 +538,8 @@
"CancelPrint": "印刷取り消し",
"ClearPrintStats": "印刷状態の表示クリア",
"Difference": "差分",
"EmptyGcodes": "Gコードがありません。",
"EmptyJobqueue": "現在、ジョブキューにファイルがありません。",
"Estimate": "推定",
"ETA": "推定完了時刻",
"ExcludeObject": {
@@ -562,18 +552,16 @@
"Filament": "フィラメント",
"File": "ファイル",
"Files": "ファイル",
"EmptyGcodes": "Gコードがありません。",
"EmptyJobqueue": "現在、ジョブキューにファイルがありません。",
"Jobqueue": "ジョブキュー ({count})",
"JobqueueMoreFiles": "ジョブなし | あとひとつのジョブ | あと {count}個のジョブ",
"PrintTime": "印刷時間",
"Flow": "フロー",
"Headline": "状態",
"Jobqueue": "ジョブキュー ({count})",
"JobqueueMoreFiles": "ジョブなし | あとひとつのジョブ | あと {count}個のジョブ",
"Layer": "層",
"Max": "最大",
"ObjectHeight": "印刷物の高さ",
"PausePrint": "印刷一時停止",
"Print": "印刷",
"PrintTime": "印刷時間",
"ReprintJob": "再印刷ジョブ",
"Requested": "要求",
"ResumePrint": "印刷再開",
@@ -586,7 +574,6 @@
"TemperaturePanel": {
"AutoscaleChart": "グラフの自動調整",
"Avg": "平均",
"Color": "色",
"Cooldown": "クールダウン",
"Current": "温度",
"Dataset": {
@@ -615,21 +602,13 @@
"ALL": "すべて",
"Headline": "ツールヘッド",
"Invalid": "無効",
"InvertX": "X反転",
"InvertY": "Y反転",
"InvertZ": "Z反転",
"MotorsOff": "モーターオフ",
"OutOfRange": "範囲外です!",
"PleaseConfigureSteps": "ステップを設定をしてください",
"Position": "位置",
"QGL": "QGL",
"Relative": "相対",
"SettingsInterfaceControl": "設定 > インターフェース > コントロール",
"SetupControls": "コントロール設定",
"SpeedFactor": "速度係数",
"XOffset": "X軸オフセット",
"YOffset": "Y軸オフセット",
"ZOffset": "Z軸オフセット",
"ZTilt": "Z軸チルト"
},
"WebcamPanel": {
@@ -637,12 +616,10 @@
"FPS": "FPS",
"Headline": "カメラ",
"NoWebcam": "カメラがありません。\"インターフェース設定\" -> \"カメラ\"からカメラを追加してください。",
"UnknownWebcamService": "不明なカメラサービス",
"UrlNotAvailable": "URLがありません"
"UnknownWebcamService": "不明なカメラサービス"
},
"ZoffsetPanel": {
"Clear": "初期化",
"CurrentOffset": "現在のオフセット",
"Headline": "Z軸オフセット",
"Later": "あとで",
"Ok": "OK",
@@ -676,6 +653,7 @@
},
"SelectPrinterDialog": {
"AddPrinter": "プリンター追加",
"AddPrintersToJson": "config.jsonにプリンターを追加してください。",
"CannotConnectTo": "{host}に接続できません",
"ChangePrinter": "プリンター変更",
"Connecting": "{host}に接続中",
@@ -687,15 +665,15 @@
"HostnameRequired": "ホスト名が必要です",
"Port": "ポート",
"PortRequired": "ポート番号が必要です",
"RememberToAdd": "Please remember to add {cors} in moonraker.conf within 'cors_domains'.",
"RememberToAdd": "moonraker.confの'cors_domains'に{cors}を忘れずに追加してください。",
"SelectPrinter": "プリンター選択",
"TryAgain": "再試行",
"UpdatePrinter": "プリンター更新",
"YouCanFindMore": "You can find more details at"
},
"Settings": {
"Close": "クローズ",
"Cancel": "取り消し",
"Close": "クローズ",
"ConsoleTab": {
"AddFilter": "フィルター追加",
"Console": "コンソール",
@@ -782,6 +760,14 @@
"CalcEstimateTimeDescription": "複数選択した場合は、平均時間を算出します。",
"CalcEtaTime": "推定完了時刻の計算",
"CalcEtaTimeDescription": "複数選択した場合は、平均時間を算出します。",
"CalcPrintProgress": "印刷進捗の計算",
"CalcPrintProgressDescription": "印刷進捗の計算法",
"CalcPrintProgressItems": {
"Filament": "フィラメント",
"FileAbsolute": "ファイル位置(絶対)",
"FileRelative": "ファイル位置(相対)",
"Slicer": "スライサー(M73)"
},
"CannotReadJson": "バックアップファイルの読み込み/解析ができません。",
"DbConsoleHistory": "コンソール履歴",
"DbHistoryJobs": "ジョブ履歴",
@@ -865,7 +851,8 @@
"Hostname": "ホスト名",
"Port": "ポート",
"RemotePrinters": "プリンター",
"UpdatePrinter": "プリンター更新"
"UpdatePrinter": "プリンター更新",
"UseConfigJson": "InstanceDB = JSONが検出されました。プリンターリストはconfig.jsonで変更してください。"
},
"TimelapseTab": {
"Autorender": "自動レンダリング",
@@ -981,6 +968,7 @@
"Name": "名前",
"NameAlreadyExists": "その名前は既に存在しています",
"Required": "必須",
"Rotate": "回転",
"SaveWebcam": "カメラ保存",
"Service": "サービス",
"TargetFPS": "目標FPS",
+53 -55
View File
@@ -29,7 +29,7 @@
"MustBeBetweenError": "최소치 {min}과 최대치 {max} 사이 값으로 설정해 주세요!",
"NoEmptyAllowedError": "공백을 사용할 수 없습니다!"
},
"Printers": "프린터",
"Printers": "원격 프린터",
"ThrottledStates": {
"DescriptionCurrentlyThrottled": "RPi 코어가 성능 제한중입니다.",
"DescriptionFrequencyCapped": "RPi 코어 클럭은 1.2Ghz로 제한됩니다",
@@ -164,7 +164,7 @@
"DeleteSelectedQuestion": "선택된 {count}개의 파일을 삭제하시겠습니까?",
"Download": "다운로드",
"Downloading": "다운로드 중..",
"EditFile": "파일 에디터",
"EditFile": "파일 내용 수정",
"Empty": "비어있음",
"Filament": "필라멘트",
"FilamentName": "필라 이름",
@@ -206,7 +206,7 @@
"SuccessfullyUploaded": "{filename} 업로드 완료",
"Total": "전체 용량",
"Uploading": "업로드 중..",
"UploadNewGcode": "새로운 G-Code 업로드",
"UploadNewGcode": "G-Code 파일 업로드",
"Used": "사용량",
"View3D": "3D Gcode 뷰어"
},
@@ -273,7 +273,7 @@
"SAVE_CONFIG": "설정 저장",
"ScaleGradient": "배율 조정",
"ScaleZMax": "Z축 높이 확대/축소 배율",
"TitleCalibrate": "새로운 베드 메시 교정",
"TitleCalibrate": "베드 메시 교정 시작",
"TitleClear": "베드 메시 초기화",
"TitleHomeAll": "전체 축 호밍",
"Wireframe": "와이어프레임"
@@ -304,7 +304,7 @@
"HistoryFilamentUsage": "필라 소비",
"HistoryPrinttimeAVG": "평균 출력 소요 시간",
"JobDetails": "작업 상세 내역",
"Jobs": "작업",
"Jobs": "작업 목록",
"LastModified": "최종 수정",
"LayerHeight": "레이어 높이",
"LongestPrinttime": "최장 출력 시간",
@@ -358,7 +358,7 @@
"Cancel": "취소",
"ConfigFiles": "설정 파일",
"Create": "생성",
"CreateDirectory": "새로운 디렉토리 생성",
"CreateDirectory": "신규 디렉토리 생성",
"CreateFile": "신규 파일 생성",
"CurrentPath": "현재 경로",
"Delete": "삭제",
@@ -366,7 +366,7 @@
"DeleteDirectoryQuestion": "\"{name}\" 디렉토리와 하위 모든 내용을 삭제하시겠습니까?",
"DeleteSelectedQuestion": "{count}개의 선택된 요소를 삭제하시겠습니까?",
"Download": "다운로드",
"EditFile": "파일 에디터",
"EditFile": "파일 내용 수정",
"Empty": "비어있음",
"Files": "파일",
"Filesize": "파일 크기",
@@ -451,13 +451,24 @@
"ExtruderControlPanel": {
"Allowed": "허용 됨",
"EstimatedExtrusion": "예상 압출량 :",
"Extrude": "익스트루더 제어",
"Extrude": "필라 압출",
"ExtruderTempTooLow": "핫 엔드 온도가 낮습니다",
"ExtrusionFactor": "압출 속도 비율",
"ExtrusionFeedrate": "압출 속도",
"FilamentLength": "필라멘트 길이",
"FirmwareRetractionSettings": {
"RetractLength": "필라 퇴출 길이",
"RetractSpeed": "필라 퇴출 속도",
"UnretractExtraLength": "필라 압출 추가 길이",
"UnretractSpeed": "필라 압출 속도"
},
"Headline": "압출 제어",
"LoadFilament": "필라멘트 압출",
"PressureAdvanceSettings": {
"Advance": "모서리 압출 제어 [Pressure Advance]",
"Extruder": "필라멘트 압출 제어",
"SmoothTime": "반응 시간 [Smooth time]"
},
"Requested": "요청됨",
"Retract": "필라 퇴출",
"TooLargeExtrusion": "압출 길이를 초과합니다!",
@@ -476,25 +487,12 @@
"Restart": "재시작"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "필라 퇴출 (펌웨어)",
"RetractLength": "필라 퇴출 길이",
"RetractSpeed": "필라 퇴출 속도",
"UnretractExtraLength": "필라 압출 추가 길이",
"UnretractSpeed": "필라 압출 속도"
},
"Headline": "프린터 속도 설정",
"MotionSettings": {
"Acceleration": "가속도",
"MaxAccelToDecel": "감속을 위한 최대 가속",
"Motion": "툴 헤드 이송 속도",
"SquareCornerVelocity": "모서리 통과 속도-SCV",
"SquareCornerVelocity": "모서리 통과 속도 [SCV]",
"Velocity": "출력 속도"
},
"PressureAdvanceSettings": {
"Advance": "모서리 압출 제어 - Pressure Advance",
"Extruder": "압출 제어",
"SmoothTime": "반응 시간 - Smooth time"
}
},
"MacrosPanel": {
@@ -539,34 +537,34 @@
"ExcludeObject": {
"Cancel": "취소",
"Excluded": "본 출력에서 제외됨",
"ExcludeObject": "출력 제외 대상",
"ExcludeObjectHeadline": "출력 제외 대상",
"ExcludeObject": "출력에서 제외",
"ExcludeObjectHeadline": "출력 제외 대상 선택",
"ExcludeObjectText": "\"{name}\"을(를) 제외 하시겠습니까??"
},
"Filament": "필라 예측 소비량",
"Filament": "사용 길이",
"File": "파일",
"Files": "파일",
"Flow": "유량",
"Headline": "출력 상태",
"Jobqueue": "작업 대기열({count})",
"JobqueueMoreFiles": "더 이상 작업 없음 | 1개 이상의 작업 | {count}개 이상의 작업",
"Layer": "적층 레이어",
"Layer": "레이어",
"Max": "최대",
"ObjectHeight": "출력 높이",
"PausePrint": "일시정지",
"PrintTime": "출력 시간",
"PausePrint": "일시 정지",
"Print": "출력",
"ReprintJob": "재출력",
"PrintTime": "소요 시간",
"ReprintJob": "다시 출력",
"Requested": "요청됨",
"ResumePrint": "작업 재개",
"Slicer": "예상시간(슬라이서)",
"Speed": "출력 속도",
"Status": "출력 상태",
"Total": "출력 시간",
"Total": "전체",
"Unknown": "알 수 없음"
},
"TemperaturePanel": {
"AutoscaleChart": "자동 스케일 차트",
"AutoscaleChart": "오토 스케일링 그래프",
"Avg": "평균",
"Cooldown": "작동 정지",
"Current": "현재 온도",
@@ -583,9 +581,9 @@
"Presets": "프리셋",
"SetupTemperatures": "온도 설정",
"ShowChart": "차트 보기",
"ShowNameInChart": "{name}의 차트 보기",
"ShowNameInList": "{name}의 목록 보기",
"State": "사용량",
"ShowNameInChart": "{name}를 그래프에 표시",
"ShowNameInList": "목록에서 {name} 보기",
"State": "전력 사용량",
"Target": "설정 온도",
"TemperaturesInChart": "온도 [°C]",
"TempTooHigh": "{name}의 온도가 너무 높습니다! (최대: {max})",
@@ -619,8 +617,8 @@
"Ok": "네",
"Save": "저장",
"SaveConfig": "설정 저장",
"SaveInfoDescription": "새로운 Z-옵셋을 계측 후 등록했습니다 저장하려면 우측 상단에서 \"설정 저장\"을 눌러 printer.cfg에 저장하고 클리퍼를 재시작 해주세요",
"SaveInfoDescriptionPrint": "새로운 Z-옵셋을 계측 후 등록했습니다 우측 상단에서 \"설정 저장\"을 눌러 printer.cfg에 저장하고 클리퍼를 재시작 해주세요 ",
"SaveInfoDescription": "새 Z-옵셋을 측정 후 등록했습니다 저장하려면 우측 상단에서 \"설정 저장\"을 눌러 printer.cfg에 저장하고 클리퍼를 재시작 해주세요",
"SaveInfoDescriptionPrint": "새 Z-옵셋을 측정 후 등록했습니다 우측 상단에서 \"설정 저장\"을 눌러 printer.cfg에 저장하고 클리퍼를 재시작 해주세요 ",
"SaveInfoHeadline": "정보",
"ToEndstop": "Z 엔드스탑 높이 값으로 저장",
"ToProbe": "프로브 높이 값으로 저장"
@@ -641,7 +639,7 @@
"Heightmap": "하이트 맵",
"History": "작업 내역",
"Machine": "머신 설정",
"Printers": "프린터 전환",
"Printers": "원격 프린터",
"Timelapse": "타임랩스",
"Webcam": "웹캠"
},
@@ -703,14 +701,14 @@
"MaximumValuesVisibility": "가시성을 극대화하기 위해 {maximum}의 값을 최대 값으로 사용해 주세요",
"MinimumValues": "최소 값: {minimum}",
"MotorsOff": "모터 전원 끄기 {isDefault}",
"MoveDistancesEInMm": "압출 속도 단위 설정(mm)",
"MoveDistancesInMm": "이동 단위 설정(mm)",
"MoveDistancesXYInMm": " X & Y축 이동 단위 설정(mm)",
"MoveDistancesZInMm": "Z축 이동 단위 설정(mm)",
"MoveDistancesEInMm": "압출 속도 단위(mm)",
"MoveDistancesInMm": "이동 단위(mm)",
"MoveDistancesXYInMm": " X & Y축 이동 단위(mm)",
"MoveDistancesZInMm": "Z축 이동 단위(mm)",
"QuadGantryLevel": "쿼드 갠트리 레벨 {isDefault}",
"SpeedEInMms": "압출 거리 단위 설정(mm)",
"SpeedXY": "X & Y축 이동 속도 설정",
"SpeedZ": "Z축 이동 속도 설정",
"SpeedEInMms": "압출 거리 단위(mm)",
"SpeedXY": "X & Y축 이동 속도",
"SpeedZ": "Z축 이동 속도",
"Style": "화면 표시 스타일",
"ValueGreaterThan": "{value} 값보다 커야 합니다",
"ZOffsetIncrements": "Z-옵셋 이동 단위(mm)",
@@ -724,17 +722,17 @@
"Tablet": "태블릿",
"Widescreen": "와이드스크린"
},
"Edit": "파일 에디터",
"Edit": "옵션 수정",
"EditorTab": {
"ConfirmUnsavedChanges": "저장 알림 표시",
"ConfirmUnsavedChangesDescription": "활성화된 경우 파일 에디터는 변경 사항을 저장하거나 취소하기 위해 확인 창을 표시하며 비활성화시 확인 창이 표시되지 않고 수정 내용은 취소됩니다",
"Editor": "파일 에디터",
"ConfirmUnsavedChangesDescription": "활성화된 경우 파일 편집기는 변경 사항을 저장하거나 취소하기 위해 확인 창을 표시하며 비활성화시 확인 창이 표시되지 않고 수정 내용은 취소됩니다",
"Editor": "파일 편집기",
"KlipperRestartMethod": "클리퍼 재시작 방법",
"KlipperRestartMethodDescription": "printer.cfg 파일을 수정 후, '저장 및 다시 시작'을 클릭할 때 사용할 다시 시작 방법을 선택합니다",
"MoonrakerRestartInstance": "문래커 재시작 방법",
"MoonrakerRestartInstanceDescription": "moonraker.conf 파일을 수정할 때 '저장 및 다시 시작'을 클릭할 때 사용할 문래커 서비스를 선택합니다",
"UseEscToClose": "ESC키를 눌러 종료",
"UseEscToCloseDescription": "ESC 키를 눌렀을 때 파일 에디터를 종료하며 만약 비활성화 했을 경우 ESC 키를 누르는 즉시 기존 입력 값은 모두 취소됩니다"
"UseEscToCloseDescription": "ESC 키를 눌렀을 때 파일 편집기를 종료하며 만약 비활성화 했을 경우 ESC 키를 누르는 즉시 기존 입력 값은 모두 취소됩니다"
},
"GCodeViewerTab": {
"BackgroundColor": "배경 색",
@@ -789,7 +787,7 @@
"DeleteMacroFromGroup": "그룹에 속한 매크로 삭제",
"EditGroup": "그룹 수정",
"Error": "Error",
"Expert": "사용자 정의 그룹화",
"Expert": "사용자 정의",
"General": "일반",
"Group": "그룹",
"GroupMacros": "그룹 매크로",
@@ -814,7 +812,7 @@
},
"PresetsTab": {
"AddPreset": "프리셋 추가",
"Cooldown": "작동 정지",
"Cooldown": "가열 중단",
"CreateHeadline": "프리셋 추가",
"CustomGCode": "사용자 정의 G-Code 명령",
"EditCooldown": "프리셋 수정",
@@ -833,8 +831,8 @@
"RemotePrintersTab": {
"AddPrinter": "원격 관리 프린터 추가",
"EditPrinter": "등록된 원격 프린터 정보 수정",
"Hostname": "호스트 이름 (공유기의 공인 IP 주소를 입력해 주세요)",
"Port": "포트(공유기의 외부 포트를 입력해 주세요)",
"Hostname": "호스트 이름 [공인 IP 주소 입력]",
"Port": "접속 포트 [외부 접속 포트 입력]",
"RemotePrinters": "원격 프린터",
"UpdatePrinter": "적용"
},
@@ -917,7 +915,7 @@
"DisplayCANCEL_PRINT": "출력 취소 표시",
"DisplayCANCEL_PRINTDescription": "상태 창에서 출력 정지 아이콘을 표시하며 비활성화 시킬 경우, 일시 정지 후 출력 정지 아이콘이 표시됩니다",
"GcodeThumbnails": "G-Code 썸네일",
"GcodeThumbnailsDescription": "Gcode 썸네일을 클릭하면 파일 에디터기로 곧바로 전환합니다",
"GcodeThumbnailsDescription": "Gcode 썸네일을 클릭하면 파일 편집기로 곧바로 전환합니다",
"Guide": "추가 설명",
"LockSliders": "터치스크린 장치의 슬라이더 기능 잠금",
"LockSlidersDelay": "슬라이더 잠금 지연",
@@ -936,8 +934,8 @@
"AddWebcam": "웹캠 추가",
"CreateWebcam": "웹캠 장치 정보 입력",
"EditWebcam": "웹캠 장치 정보 수정",
"FlipHorizontally": "웹캠 화면 수평 반전",
"FlipVertically": "웹캠 화면 수직 반전",
"FlipHorizontally": "화면 수평 반전",
"FlipVertically": "화면 수직 반전",
"IconBed": "베드",
"IconCam": "캠",
"IconDoor": "도어",
+12 -14
View File
@@ -473,8 +473,20 @@
"ExtrusionFactor": "Extrusie factor",
"ExtrusionFeedrate": "Extrusion Feedrate",
"FilamentLength": "Filamentlengte",
"FirmwareRetractionSettings": {
"RetractLength": "Retractie lengte",
"RetractSpeed": "Retractie snelheid",
"UnretractExtraLength": "Extra lengte uitvoer",
"UnretractSpeed": "Uitvoer snelheid"
},
"Headline": "Extruder",
"LoadFilament": "Filament laden",
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Extruder",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
},
"Requested": "Aangevraagd",
"Retract": "Retract",
"TooLargeExtrusion": "Extrusie te lang!",
@@ -494,27 +506,13 @@
"Restart": "Herstart"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Firmware Retracties",
"RetractLength": "Retractie lengte",
"RetractSpeed": "Retractie snelheid",
"UnretractExtraLength": "Extra lengte uitvoer",
"UnretractSpeed": "Uitvoer snelheid"
},
"Headline": "Machine instellingen",
"MotionSettings": {
"Acceleration": "Acceleratie",
"Deceleration": "Vertraging",
"MaxAccelToDecel": "Max Accel. naar Decel.",
"Motion": "Beweging",
"SquareCornerVelocity": "Hoeksnelheid (SCV)",
"Velocity": "Snelheid"
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Extruder",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
}
},
"MacrosPanel": {
+17 -19
View File
@@ -473,8 +473,20 @@
"ExtrusionFactor": "Parametr hotendu",
"ExtrusionFeedrate": "Prędkość wysuwania",
"FilamentLength": "Długość filamentu",
"FirmwareRetractionSettings": {
"RetractLength": "Długość retrakcji",
"RetractSpeed": "Prędkość retrakcji",
"UnretractExtraLength": "Dodatkowa długość wycofywania",
"UnretractSpeed": "Prędkość wycofywania"
},
"Headline": "Hotend",
"LoadFilament": "Załadowywanie filamentu",
"PressureAdvanceSettings": {
"Advance": "Wzrost nacisku",
"Extruder": "Ekstruder",
"PressureAdvance": "Ustawienia nacisku",
"SmoothTime": "Czas wygładzania"
},
"Requested": "Wymagane",
"Retract": "Retrakcja",
"TooLargeExtrusion": "Długość wysunięcia zbyt duża!",
@@ -493,26 +505,12 @@
"Restart": "Ponowne uruchomienie"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Retrakcja oprogramowania",
"RetractLength": "Długość retrakcji",
"RetractSpeed": "Prędkość retrakcji",
"UnretractExtraLength": "Dodatkowa długość wycofywania",
"UnretractSpeed": "Prędkość wycofywania"
},
"Headline": "Ustawienia drukarki",
"MotionSettings": {
"Acceleration": "Przyspieszenie",
"MaxAccelToDecel": "Maks. przysp. do startu zmniejszania prędkości.",
"Motion": "Ruch",
"SquareCornerVelocity": "Prędkość na rogu kwadratu",
"Velocity": "Prędkość"
},
"PressureAdvanceSettings": {
"Advance": "Wzrost nacisku",
"Extruder": "Ekstruder",
"PressureAdvance": "Ustawienia nacisku",
"SmoothTime": "Czas wygładzania"
}
},
"MacrosPanel": {
@@ -550,6 +548,8 @@
"CancelPrint": "Anuluj wydruk",
"ClearPrintStats": "Wyczyść statystyki drukarki",
"Difference": "Różnica",
"EmptyGcodes": "Brak dostępnego G-Code.",
"EmptyJobqueue": "Aktualnie nie ma żadnego pliku w kolejce wydruków.",
"Estimate": "Szacowana",
"ETA": "ETA",
"ExcludeObject": {
@@ -562,18 +562,16 @@
"Filament": "Filament",
"File": "Plik",
"Files": "Pliki",
"EmptyGcodes": "Brak dostępnego G-Code.",
"EmptyJobqueue": "Aktualnie nie ma żadnego pliku w kolejce wydruków.",
"Jobqueue": "W kolejce ({count})",
"JobqueueMoreFiles": "brak więcej wydruków | jeszcze jeden wydruk | {count} więcej wydruków",
"PrintTime": "Czas wydruku",
"Flow": "Przepływ",
"Headline": "Status",
"Jobqueue": "W kolejce ({count})",
"JobqueueMoreFiles": "brak więcej wydruków | jeszcze jeden wydruk | {count} więcej wydruków",
"Layer": "Warstwa",
"Max": "Maks.",
"ObjectHeight": "Wysokość obiektu",
"PausePrint": "Pauza wydruku",
"Print": "Drukuj",
"PrintTime": "Czas wydruku",
"ReprintJob": "Ponownie wydrukuj",
"Requested": "Wymagane",
"ResumePrint": "Wznowienie wydruku",
+141 -143
View File
@@ -1,27 +1,32 @@
{
"App": {
"Notifications": {
"DependencyDescription": "Текущая версия {name} не поддерживает все возможности Mainsail. Обновите {name} по крайней мере до {neededVersion}.",
"DependencyName": "Зависимость: {name}",
"DismissAll": "Отказаться от всех",
"KlipperWarnings": {
"DeprecatedOption": "Опция '{option}' в разделе '{section}' устарела и будет удалена в будущем выпуске.",
"DeprecatedOptionHeadline": "Устаревшая опция клиппера",
"DeprecatedValue": "Значение '{value}' в опции '{option}' в секции '{section}' устарело и будет удалено в будущем релизе.",
"KlipperWarning": "Предупреждение о клиппере",
"DeprecatedValueHeadline": "Устаревшее значение клиппера",
"DeprecatedOptionHeadline": "Устаревшая опция клиппера"
"KlipperWarning": "Предупреждение о клиппере"
},
"Remind": "Напомнить:",
"NextReboot": "следующая перезагрузка",
"Never": "никогда",
"DismissAll": "Отказаться от всех",
"NoNotification": "Уведомление отсутствует",
"DependencyName": "Зависимость: {name}",
"DependencyDescription": "Текущая версия {name} не поддерживает все возможности Mainsail. Обновите {name} по крайней мере до {neededVersion}.",
"MoonrakerWarnings": {
"MoonrakerComponent": "Moonraker: {component}",
"MoonrakerFailedComponentDescription": "Обнаружена ошибка при загрузке компонента moonraker '{component}'. Пожалуйста, проверьте лог-файл и устраните проблему.",
"MoonrakerWarning": "Предупреждение Moonraker",
"UnparsedConfigOption": "Обнаружена неразобранная опция конфигурации '{option}: {value}' обнаружена в секции [{section}]. Это может быть опция, которая больше недоступна, или результат неудачной загрузки модуля. В будущем это приведет к ошибке при запуске.",
"UnparsedConfigSection": "Обнаружен неразобранный раздел конфигурации [{section}]. Это может быть результатом неудачной загрузки компонента. В будущем это приведет к ошибке при запуске.",
"MoonrakerFailedComponentDescription": "Обнаружена ошибка при загрузке компонента moonraker '{component}'. Пожалуйста, проверьте лог-файл и устраните проблему."
}
"UnparsedConfigSection": "Обнаружен неразобранный раздел конфигурации [{section}]. Это может быть результатом неудачной загрузки компонента. В будущем это приведет к ошибке при запуске."
},
"Never": "никогда",
"NextReboot": "следующая перезагрузка",
"NoNotification": "Уведомление отсутствует",
"Remind": "Напомнить:"
},
"NumberInput": {
"GreaterOrEqualError": "Должно быть больше или равно {min}!",
"MustBeBetweenError": "Должно быть между {min} и {max}!",
"NoEmptyAllowedError": "Вход не должен быть пустым!"
},
"Printers": "Принтер",
"ThrottledStates": {
@@ -99,11 +104,6 @@
"RecoveringDone": "Восстановление проделанной работы",
"Updating": "Обновление",
"UpdatingDone": "Обновление выполнено"
},
"NumberInput": {
"GreaterOrEqualError": "Должно быть больше или равно {min}!",
"MustBeBetweenError": "Должно быть между {min} и {max}!",
"NoEmptyAllowedError": "Вход не должен быть пустым!"
}
},
"ConnectionDialog": {
@@ -121,6 +121,15 @@
"SendCode": "Отправьте код...",
"SetupConsole": "Мебельная консоль"
},
"Dialogs": {
"StartPrint": {
"Cancel": "Cancel",
"DoYouWantToStartFilename": "Вы хотите начать {имя файла}?",
"Headline": "Начать работу",
"Print": "вывести",
"Timelapse": "Таймлапс"
}
},
"Editor": {
"Cancel": "Отмена",
"ConfigReference": "Справочник по конфигурации",
@@ -153,6 +162,7 @@
"Delete": "Удалить",
"DeleteDirectory": "Удалить каталог",
"DeleteDirectoryQuestion": "Вы действительно хотите удалить каталог \"{name}\" со всем его содержимым?",
"DeleteSelectedQuestion": "Вы действительно хотите удалить {count} выбранных файлов?",
"Download": "Скачать",
"Downloading": "Загрузка",
"EditFile": "Редактировать файл",
@@ -168,7 +178,12 @@
"FreeDisk": "Свободное место: ",
"GCodeFiles": "файлы G-кода",
"HiddenFiles": "Скрытые файлы",
"LastEndTime": "Последнее время окончания",
"LastFilamentUsed": "Последний использованный материал",
"LastModified": "Последнее изменение",
"LastPrintDuration": "Продолжительность последней печати",
"LastStartTime": "Время последнего запуска",
"LastTotalDuration": "Последняя общая продолжительность",
"LayerHeight": "Высота слоя",
"Name": "Имя",
"NewDirectory": "Новый каталог",
@@ -194,13 +209,11 @@
"Uploading": "Загрузить",
"UploadNewGcode": "Загрузить новый Gcode",
"Used": "Использует: ",
"View3D": "3D просмотр",
"DeleteSelectedQuestion": "Вы действительно хотите удалить {count} выбранных файлов?",
"LastEndTime": "Последнее время окончания",
"LastFilamentUsed": "Последний использованный материал",
"LastPrintDuration": "Продолжительность последней печати",
"LastStartTime": "Время последнего запуска",
"LastTotalDuration": "Последняя общая продолжительность"
"View3D": "3D просмотр"
},
"FullscreenUpload": {
"CannotUploadFile": "Невозможно загрузить файл!",
"DropFilesToUploadFiles": "Сбрасывайте файлы для загрузки"
},
"GCodeViewer": {
"ClearLoadedFile": "Удалить",
@@ -246,31 +259,36 @@
"ErrorKlipperNotReady": "Клиппер не готов. Карта высот отключена.",
"Flat": "Плоский",
"Heightmap": "Профиль высоты",
"Later": "Позже",
"Mesh": "Веб-сайт",
"Name": "Имя",
"NoBedMeshHasBeenLoadedYet": "Профиль подъема кровати еще не загружен.",
"NoProfile": "Профиль отсутствует",
"Ok": "ХОРОШО",
"Probed": "Протестированный",
"Profiles": "Профили",
"Remove": "удалить",
"RemoveSaveDescription": "Профиль bed_mesh был зарегистрирован как удаленный. Нажмите на SAVE_CONFIG, чтобы удалить его из файла printer.cfg, и перезапустите Klipper.",
"Rename": "переименовать",
"RenameBedMeshProfile": "Переименовать профиль высоты кровати",
"SAVE_CONFIG": "СОХРАНИТЬ_КОНФИГ",
"ScaleGradient": "Градиент шкалы",
"ScaleZMax": "Масштаб z-макс.",
"TitleCalibrate": " новая постельная сетка",
"TitleClear": "Ясная сетка",
"TitleHomeAll": "Дома все",
"Wireframe": "Каркас",
"Later": "Позже",
"Ok": "ХОРОШО",
"RemoveSaveDescription": "Профиль bed_mesh был зарегистрирован как удаленный. Нажмите на SAVE_CONFIG, чтобы удалить его из файла printer.cfg, и перезапустите Klipper.",
"SAVE_CONFIG": "СОХРАНИТЬ_КОНФИГ",
"ScaleGradient": "Градиент шкалы",
"ScaleZMax": "Масштаб z-макс."
"Wireframe": "Каркас"
},
"History": {
"AddNote": "Добавить заметку",
"AllJobs": "весь",
"AvgPrinttime": "Среднее время печати",
"Cancel": "Отмена",
"CreateNote": "Создать заметку",
"Delete": "Удалить",
"DeleteSelectedQuestion": "Вы действительно хотите удалить {count} выбранных заданий?",
"Details": "Подробности",
"EditNote": "Примечание редакции",
"Empty": "пустой",
"EndTime": "Время окончания",
"EstimatedFilament": "Расчетная нить",
@@ -291,13 +309,16 @@
"LastModified": "Последнее изменение",
"LayerHeight": "Высота слоя",
"LongestPrinttime": "Самое длительное время печати",
"Note": "Примечание",
"ObjectHeight": "Высота объекта",
"PrintDuration": "Продолжительность печати",
"PrintHistory": "История печати",
"PrintTime": "Время печати",
"PrinttimeAvg": "время печати",
"Reprint": "Перепечатка",
"Save": "сохранить",
"Search": "Поиск",
"SelectedFilamentUsed": "Выбранный используемый материал",
"Slicer": "Slicer",
"SlicerVersion": "Slicer Версия",
"StartTime": "Время начала",
@@ -310,17 +331,8 @@
"TotalJobs": "Всего отпечатков",
"TotalPrinttime": "Общее время печати",
"TotalTime": "Общее время",
"AddNote": "Добавить заметку",
"Cancel": "Отмена",
"CreateNote": "Создать заметку",
"DeleteSelectedQuestion": "Вы действительно хотите удалить {count} выбранных заданий?",
"EditNote": "Примечание редакции",
"Note": "Примечание",
"Save": "сохранить",
"SelectedFilamentUsed": "Выбранный используемый материал",
"SelectedJobs": "Избранные вакансии",
"SelectedPrinttime": "Выбранное время печати",
"TitleExportHistory": "История экспорта",
"StatusValues": {
"cancelled": "Отменено",
"completed": "Завершено",
@@ -329,7 +341,8 @@
"klippy_disconnect": "Клипповое разъединение",
"klippy_shutdown": "Клиппи отключение",
"server_exit": "Выход сервера"
}
},
"TitleExportHistory": "История экспорта"
},
"JobQueue": {
"AllJobs": "Все заказы",
@@ -337,8 +350,8 @@
"JobQueue": "Очередь на работу",
"Jobs": "Заказы",
"Pause": "Pause",
"Start": "Начало",
"RemoveFromQueue": "Удалить из очереди"
"RemoveFromQueue": "Удалить из очереди",
"Start": "Начало"
},
"Machine": {
"ConfigFilesPanel": {
@@ -352,6 +365,7 @@
"Delete": "Удалить",
"DeleteDirectory": "Удалить каталог",
"DeleteDirectoryQuestion": "Вы действительно хотите удалить каталог \"{name}\" со всем его содержимым?",
"DeleteSelectedQuestion": "Удалить {count} выбранных элементов?",
"Download": "Скачать",
"EditFile": "Редактировать файл",
"Empty": "Пустой",
@@ -367,14 +381,13 @@
"Rename": "Переименовать",
"RenameDirectory": "Переименовать каталог",
"RenameFile": "Переименовать файл",
"Root": "Корень",
"SetupCurrentList": "Настройка текущего списка",
"ShowFile": "Показать файл",
"Total": "Всего",
"UploadFile": "Загрузить файл",
"Uploading": "Загрузка",
"Used": "Используется",
"DeleteSelectedQuestion": "Удалить {count} выбранных элементов?",
"Root": "Корень"
"Used": "Используется"
},
"EndstopPanel": {
"Endstop": "Концевой упор",
@@ -388,13 +401,13 @@
},
"SystemPanel": {
"Constants": "Константы",
"Cpu": "CPU",
"HostDetails": "Информация о хозяине",
"LastStats": "Последняя статистика",
"Load": "Нагрузка",
"Memory": "Память",
"SystemLoad": "Нагрузки на систему",
"Cpu": "CPU",
"NoMoreInfos": "Больше никакой информации",
"SystemLoad": "Нагрузки на систему",
"Values": {
"Awake": "Проснуться: {awake}",
"Bandwidth": "Пропускная способность: {bandwidth}/s",
@@ -436,17 +449,45 @@
}
},
"Panels": {
"ControlPanel": {
"ALL": "ВСЕ",
"AlternateControls": "Альтернативные средства управления",
"Headline": "Управление",
"InvertX": "Инвертировать X",
"InvertY": "Инвертировать Y",
"InvertZ": "Инвертировать Z",
"PleaseConfigureSteps": "Пожалуйста, настройте шаги",
"QGL": "QGL",
"SettingsInterfaceControl": "Настройки > Интерфейс > Управление",
"SetupControls": "Элементы управления настройками",
"X": "X",
"Y": "Y",
"Z": "Z",
"ZTilt": "Z Наклон"
},
"ExtruderControlPanel": {
"Extrude": "Экструдировать",
"ExtrusionFactor": "Коэффициент экструзии",
"Retract": "Въехать",
"Allowed": "Разрешено",
"EstimatedExtrusion": "Предполагаемая экструзия:",
"Extrude": "Экструдировать",
"ExtruderTempTooLow": "Температура экструдера. <",
"ExtrusionFactor": "Коэффициент экструзии",
"ExtrusionFeedrate": "Скорость подачи экструзии",
"FilamentLength": "Длина нити",
"FirmwareRetractionSettings": {
"RetractLength": "Длина втягивания",
"RetractSpeed": "Скорость втягивания",
"UnretractExtraLength": "Дополнительная длина удлинителя",
"UnretractSpeed": "Скорость выдвижения"
},
"Headline": "Экструдер",
"Retract": "Въехать",
"LoadFilament": "Нагрузочная нить",
"PressureAdvanceSettings": {
"Advance": "Аванс",
"Extruder": "Экструдер",
"PressureAdvance": "Опережение давления",
"SmoothTime": "Плавное время"
},
"Requested": "Запрошено",
"TooLargeExtrusion": "Экструзия слишком велика!",
"UnloadFilament": "Выгрузить нить"
@@ -465,27 +506,13 @@
"Restart": "Перезапустить"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Отступление от прошивки",
"RetractLength": "Длина втягивания",
"RetractSpeed": "Скорость втягивания",
"UnretractExtraLength": "Дополнительная длина удлинителя",
"UnretractSpeed": "Скорость выдвижения"
},
"Headline": "Настройки машины",
"MotionSettings": {
"Acceleration": "Ускорение",
"Deceleration": "Замедление",
"MaxAccelToDecel": "Макс. ускорение - замедление.",
"Motion": "Движение",
"SquareCornerVelocity": "Угловая скорость",
"Velocity": "Скорость"
},
"PressureAdvanceSettings": {
"Advance": "Аванс",
"Extruder": "Экструдер",
"PressureAdvance": "Опережение давления",
"SmoothTime": "Плавное время"
}
},
"MacrosPanel": {
@@ -543,6 +570,8 @@
"CancelPrint": "Отменить давление",
"ClearPrintStats": "Удаление статистики печати",
"Difference": "Разница",
"EmptyGcodes": "G-код отсутствует.",
"EmptyJobqueue": "There is currently no file in the job queue.",
"Estimate": "Оцените",
"ETA": "ETA",
"ExcludeObject": {
@@ -554,27 +583,25 @@
},
"Filament": "Филамент",
"File": "Файл",
"Files": "Файлы",
"Flow": "Поток",
"Headline": "Статус",
"Jobqueue": "Jobqueue ({count})",
"JobqueueMoreFiles": "нет больше рабочих мест | одно рабочее место | {count} больше рабочих мест",
"Layer": "Слой",
"Max": "макс.",
"ObjectHeight": "Высота объекта",
"PausePrint": "Давление прерывания",
"Print": "Печать",
"PrintTime": "Время печати",
"ReprintJob": "Повторять давление",
"Requested": "Запрошено",
"ResumePrint": "Возобновить печать",
"Slicer": "Slicer",
"Speed": "Скорость",
"Status": "Статус",
"Total": "Всего",
"Unknown": "Неизвестный",
"EmptyGcodes": "G-код отсутствует.",
"EmptyJobqueue": "There is currently no file in the job queue.",
"Files": "Файлы",
"Jobqueue": "Jobqueue ({count})",
"JobqueueMoreFiles": "нет больше рабочих мест | одно рабочее место | {count} больше рабочих мест",
"PrintTime": "Время печати",
"Status": "Статус"
"Unknown": "Неизвестный"
},
"TemperaturePanel": {
"AutoscaleChart": "Автомасштабируемая диаграмма",
@@ -614,11 +641,15 @@
"Absolute": "Абсолютно",
"ALL": "ALL",
"Controls": "Контроль",
"Headline": "Головка инструмента",
"Home": "Home",
"Invalid": "Неверный",
"InvertX": "X инвертировать",
"InvertY": "Y инвертировать",
"InvertZ": "Z инвертировать",
"Macros": "Макрос",
"MotorsOff": "Двигатели выключены",
"OutOfRange": "Вне зоны доступа!",
"PleaseConfigureSteps": "Пожалуйста, настройте расстояние вращения",
"Position": "Позиция",
"QGL": "QGL",
@@ -626,25 +657,22 @@
"SettingsInterfaceControl": "Настройки > интерфейс > управление",
"SetupControls": "Установить контроль",
"SpeedFactor": "Коэффициент скорости",
"ZTilt": "Z Наклон",
"Headline": "Головка инструмента",
"Invalid": "Неверный",
"MotorsOff": "Двигатели выключены",
"OutOfRange": "Вне зоны доступа!",
"XOffset": "X-смещение",
"YOffset": "Y-смещение",
"ZOffset": "Z-смещение"
"ZOffset": "Z-смещение",
"ZTilt": "Z Наклон"
},
"WebcamPanel": {
"All": "Все",
"FPS": "FPS",
"Headline": "Веб-камера",
"NoWebcam": "Нет доступной веб-камеры. Добавьте веб-камеру в разделе \"Настройки интерфейса\" -> \"Веб-камеры\".",
"UnknownWebcamService": "Неизвестная веб-камера",
"UrlNotAvailable": "URL недоступен",
"Webcam": "Веб-камера",
"NoWebcam": "Нет доступной веб-камеры. Добавьте веб-камеру в разделе \"Настройки интерфейса\" -> \"Веб-камеры\"."
"Webcam": "Веб-камера"
},
"ZoffsetPanel": {
"Clear": "Очистить",
"CurrentOffset": "Текущее смещение",
"Headline": "Z-смещение",
"Later": "Позже",
@@ -655,24 +683,7 @@
"SaveInfoDescriptionPrint": "Новое смещение по Z было рассчитано и зарегистрировано. После печати нажмите на \"SAVE CONFIG\" в верхней панели, чтобы сохранить его в файле printer.cfg, и перезапустите Klipper.",
"SaveInfoHeadline": "Информация",
"ToEndstop": "до конечной остановки",
"ToProbe": "к зонду",
"Clear": "Очистить"
},
"ControlPanel": {
"ALL": "ВСЕ",
"AlternateControls": "Альтернативные средства управления",
"Headline": "Управление",
"InvertX": "Инвертировать X",
"InvertY": "Инвертировать Y",
"InvertZ": "Инвертировать Z",
"PleaseConfigureSteps": "Пожалуйста, настройте шаги",
"QGL": "QGL",
"SettingsInterfaceControl": "Настройки > Интерфейс > Управление",
"SetupControls": "Элементы управления настройками",
"X": "X",
"Y": "Y",
"Z": "Z",
"ZTilt": "Z Наклон"
"ToProbe": "к зонду"
}
},
"PowerDeviceChangeDialog": {
@@ -703,15 +714,15 @@
"EditPrinter": "Редактировать принтер",
"Hello": "Здравствуйте и добро пожаловать в удаленный режим работы \"Грот\"!",
"HostnameInvalid": "неверное имя хоста/IP",
"HostnameIp": "Имя хоста/IP",
"HostnameRequired": "Имя хоста обязательно",
"Port": "Порт",
"PortRequired": "Порт необходим",
"RememberToAdd": "Пожалуйста, не забудьте добавить {cors} в moonraker.conf в 'cors_domains'.",
"SelectPrinter": "Выберите принтер",
"TryAgain": "повторите попытку",
"UpdatePrinter": "Обновление принтера",
"YouCanFindMore": "Более подробную информацию вы можете найти на сайте",
"HostnameIp": "Имя хоста/IP",
"Port": "Порт"
"YouCanFindMore": "Более подробную информацию вы можете найти на сайте"
},
"Settings": {
"Cancel": "Отмена",
@@ -727,43 +738,43 @@
"EntryStyle": "Стиль записей",
"EntryStyleCompact": "компактный",
"EntryStyleDefault": "стандарт",
"Filters": "Фильтры",
"Height": "Высота",
"HideTemperatures": "Скрыть температуры",
"HideTimelapse": "Скрыть таймлапс",
"Name": "Имя",
"Regex": "Regex",
"StoreButton": "Фильтр магазина",
"UpdateButton": "Обновление фильтра",
"Filters": "Фильтры"
"UpdateButton": "Обновление фильтра"
},
"ControlTab": {
"Bars": "Бар",
"Circle": "Круг",
"Control": "Контроль",
"Cross": "Крест",
"EnableXYHoming": "Включение комбинированного наведения по осям X и Y",
"EstimatedExtrusionInfo": "Показать примерную информацию об экструзии",
"EstimatedExtrusionInfoDescription": "Показать / скрыть информацию о предполагаемых экструзиях на основе количества экструзии и скорости подачи",
"InvertXMovement": "Инвертировать движение X",
"InvertYMovement": "Инвертирование движения Y",
"InvertZMovement": "Инвертировать движение Z",
"IsDefault": " (по умолчанию)",
"MaximumValues": "Максимальные значения: {maximum}",
"MaximumValuesVisibility": "Для лучшей видимости рекомендуется максимальное из {maximum} значений",
"MinimumValues": "Минимальные значения: {minimum}",
"MotorsOff": "Двигатели выключены {isDefault}",
"MoveDistancesEInMm": "Расстояния перемещения E в мм",
"MoveDistancesInMm": "Расстояние перемещения в мм",
"MoveDistancesXYInMm": "Расстояния перемещения XY в мм",
"MoveDistancesZInMm": "Расстояние перемещения Z в мм",
"QuadGantryLevel": "Quad Gantry Level{isDefault}",
"SpeedEInMms": "Скорость E в мм/с",
"SpeedXY": "Скорость XY",
"SpeedZ": "Скорость Z",
"Style": "Стиль",
"ValueGreaterThan": "Значение должно быть больше, чем {value}",
"EnableXYHoming": "Включение комбинированного наведения по осям X и Y",
"EstimatedExtrusionInfo": "Показать примерную информацию об экструзии",
"EstimatedExtrusionInfoDescription": "Показать / скрыть информацию о предполагаемых экструзиях на основе количества экструзии и скорости подачи",
"IsDefault": " (по умолчанию)",
"QuadGantryLevel": "Quad Gantry Level{isDefault}",
"ZOffsetIncrements": "Приращения Z-смещения (в мм)",
"ZTiltAdjust": "Z-Tilt Adjust{isDefault}",
"MotorsOff": "Двигатели выключены {isDefault}"
"ZTiltAdjust": "Z-Tilt Adjust{isDefault}"
},
"DashboardTab": {
"Dashboard": "Приборная панель",
@@ -778,12 +789,12 @@
"ConfirmUnsavedChanges": "Предложение сохранить или отменить несохраненные изменения",
"ConfirmUnsavedChangesDescription": "Если включено, то для сохранения/отмены несохраненных изменений требуется подтверждение. Если отключено, изменения отбрасываются в фоновом режиме.",
"Editor": "Редактор",
"UseEscToClose": "Нажмите ESC, чтобы закрыть редактор",
"UseEscToCloseDescription": "Позволяет закрыть редактор с помощью ESC.",
"KlipperRestartMethod": "Метод перезапуска клиппера",
"KlipperRestartMethodDescription": "Выберите, какой метод перезапуска будет использоваться при 'Save & Restart' при редактировании файлов конфигурации Klipper.",
"MoonrakerRestartInstance": "Инстанция перезапуска Moonraker",
"MoonrakerRestartInstanceDescription": "Выберите, какая служба Moonraker будет перезапускаться при 'Save & Restart' при редактировании файлов конфигурации Moonraker."
"MoonrakerRestartInstanceDescription": "Выберите, какая служба Moonraker будет перезапускаться при 'Save & Restart' при редактировании файлов конфигурации Moonraker.",
"UseEscToClose": "Нажмите ESC, чтобы закрыть редактор",
"UseEscToCloseDescription": "Позволяет закрыть редактор с помощью ESC."
},
"GCodeViewerTab": {
"BackgroundColor": "Цвет фона",
@@ -792,8 +803,8 @@
"GridColor": "Цвет сетки",
"MaxFeed": "Максимальная подача",
"MinFeed": "Мин. подача",
"ShowAxes": "Показать оси",
"ProgressColor": "Цвет прогресса"
"ProgressColor": "Цвет прогресса",
"ShowAxes": "Показать оси"
},
"GeneralTab": {
"Backup": "Резервная копия",
@@ -809,6 +820,11 @@
"DbTimelapseSettings": "Настройки временного интервала",
"DbView": "Просмотр настроек",
"DbWebcams": "Веб-камеры",
"EstimateValues": {
"Filament": "Филамент",
"File": "Файл",
"Slicer": "Ломтерезка"
},
"FactoryDialog": "Пожалуйста, выберите все разделы, которые вы хотите сбросить:",
"FactoryReset": "Заводской сброс",
"General": "Общий",
@@ -817,12 +833,7 @@
"PrinterName": "Имя принтера",
"Reset": "сброс",
"Restore": "Восстановить",
"RestoreDialog": "Пожалуйста, выберите все разделы, которые вы хотите восстановить:",
"EstimateValues": {
"Filament": "Филамент",
"File": "Файл",
"Slicer": "Ломтерезка"
}
"RestoreDialog": "Пожалуйста, выберите все разделы, которые вы хотите восстановить:"
},
"InterfaceSettings": "Настройки интерфейса",
"MacrosTab": {
@@ -868,16 +879,16 @@
"CustomGCode": "Пользовательский G-код",
"EditCooldown": "Редактировать Время охлаждения",
"EditHeadline": "Редактировать предустановку",
"Name": "Имя",
"PreheatPresets": "Предустановки предварительного нагрева",
"PresetInfo": "Вы должны задать минимальную целевую температуру или пользовательский gcode.",
"StoreButton": "Сохранить предустановку",
"UpdateButton": "Обновление предустановки",
"UpdateCooldown": "Обновить время ожидания",
"ErrorInvalidValue": "Недопустимое значение",
"ErrorNameNotUnique": "Имя уже существует",
"ErrorNameRequired": "Требуемое имя",
"PresetNamePlaceholder": "Имя предустановки (обязательно)"
"Name": "Имя",
"PreheatPresets": "Предустановки предварительного нагрева",
"PresetInfo": "Вы должны задать минимальную целевую температуру или пользовательский gcode.",
"PresetNamePlaceholder": "Имя предустановки (обязательно)",
"StoreButton": "Сохранить предустановку",
"UpdateButton": "Обновление предустановки",
"UpdateCooldown": "Обновить время ожидания"
},
"RemotePrintersTab": {
"AddPrinter": "Добавить принтер",
@@ -1061,18 +1072,5 @@
"Variable": "Переменная",
"Video": "Видео"
},
"title": "Pусский",
"FullscreenUpload": {
"CannotUploadFile": "Невозможно загрузить файл!",
"DropFilesToUploadFiles": "Сбрасывайте файлы для загрузки"
},
"Dialogs": {
"StartPrint": {
"Headline": "Начать работу",
"Cancel": "Cancel",
"DoYouWantToStartFilename": "Вы хотите начать {имя файла}?",
"Print": "вывести",
"Timelapse": "Таймлапс"
}
}
"title": "Pусский"
}
+14 -14
View File
@@ -449,6 +449,20 @@
"Z": "Z",
"ZTilt": "Z Lutning"
},
"ExtuderControlPanel": {
"FirmwareRetractionSettings": {
"RetractLength": "Längd för Retract",
"RetractSpeed": "Hastighet för Retract",
"UnretractExtraLength": "Unretract extra längd",
"UnretractSpeed": "Unretract hastighet"
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Extruder",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Utjämningstid"
}
},
"FarmPrinterPanel": {
"ReconnectToPrinter": "Återanslut",
"SwitchToPrinter": "Byt till skrivare",
@@ -462,26 +476,12 @@
"Restart": "Starta om"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Firmware Retraction",
"RetractLength": "Längd för Retract",
"RetractSpeed": "Hastighet för Retract",
"UnretractExtraLength": "Unretract extra längd",
"UnretractSpeed": "Unretract hastighet"
},
"Headline": "Maskininställningar",
"MotionSettings": {
"Acceleration": "Acceleration",
"MaxAccelToDecel": "Max Accel. till Decel.",
"Motion": "Rörelse",
"SquareCornerVelocity": "Skarpa hörn Velocitet",
"Velocity": "Velocitet"
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Extruder",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Utjämningstid"
}
},
"MacrosPanel": {
+1035
View File
File diff suppressed because it is too large. Load diff
+12 -14
View File
@@ -317,6 +317,18 @@
"ExtruderControlPanel": {
"Extrude": "擠出",
"ExtrusionFactor": "擠出係數",
"FirmwareRetractionSettings": {
"RetractLength": "回抽長度",
"RetractSpeed": "回抽速度",
"UnretractExtraLength": "退料長度",
"UnretractSpeed": "退料速度"
},
"PressureAdvanceSettings": {
"Advance": "推進",
"Extruder": "擠出機",
"PressureAdvance": "壓力推進控制",
"SmoothTime": "平滑時間"
},
"Retract": "回抽"
},
"FarmPrinterPanel": {
@@ -332,26 +344,12 @@
"Restart": "重新啟動"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "韌體回抽",
"RetractLength": "回抽長度",
"RetractSpeed": "回抽速度",
"UnretractExtraLength": "退料長度",
"UnretractSpeed": "退料速度"
},
"Headline": "機器設定",
"MotionSettings": {
"Acceleration": "加速度",
"MaxAccelToDecel": "最大加速,到减速.",
"Motion": "運動",
"SquareCornerVelocity": "直角拐角速度",
"Velocity": "速度"
},
"PressureAdvanceSettings": {
"Advance": "推進",
"Extruder": "擠出機",
"PressureAdvance": "壓力推進控制",
"SmoothTime": "平滑時間"
}
},
"MacrosPanel": {
+29 -33
View File
@@ -21,7 +21,7 @@
"Never": "永不",
"NextReboot": "下次重启",
"NoNotification": "没有通知",
"Remind": "提醒:"
"Remind": "提醒:"
},
"NumberInput": {
"GreaterOrEqualError": "必须大于或等于{min}!",
@@ -48,7 +48,7 @@
"TitleUnderVoltageDetected": "检测到电压过低"
},
"Titles": {
"Complete": "完成 - {filename}",
"Complete": "已完成 - {filename}",
"Error": "错误",
"Pause": "暂停打印",
"Printing": "已打印 {percent}% - {filename}",
@@ -142,7 +142,7 @@
"UnsavedChanges": "修改未被保存",
"UnsavedChangesMessage": "是否将修改保存至{filename}?",
"UnsavedChangesSubMessage": "不保存你的修改将会丢失。你可以在编辑设置里关闭此提示。",
"Uploading": "上传中"
"Uploading": "正在上传"
},
"EmergencyStopDialog": {
"AreYouSure": "是否确定?",
@@ -162,7 +162,6 @@
"DeleteDirectoryQuestion": "你确定要删除\"{name}\"和里面的所有内容吗?",
"DeleteSelectedQuestion": "你是否要删除选中的{count}个文件?",
"Download": "下载",
"Downloading": "下载中",
"EditFile": "编辑文件",
"Empty": "空",
"Filament": "耗材",
@@ -170,7 +169,7 @@
"FilamentType": "耗材规格",
"FilamentUsage": "耗材用量",
"FilamentWeight": "耗材重量",
"Files": "文件",
"Files": "每页显示文件数",
"Filesize": "文件大小",
"Free": "未使用",
"FreeDisk": "剩余磁盘空间",
@@ -204,7 +203,6 @@
"SuccessfullyRenamed": "成功修改名称{filename}。",
"SuccessfullyUploaded": "成功上传{filename}!",
"Total": "合计",
"Uploading": "上传中",
"UploadNewGcode": "上传新的G-Code",
"Used": "已使用",
"View3D": "3D预览"
@@ -442,7 +440,7 @@
"Update": "更新",
"UpdateAll": "更新全部组件",
"UpdateManager": "更新管理",
"Upgrade": "升级",
"Upgrade": "更新",
"UpToDate": "已经更新到最新"
}
},
@@ -452,11 +450,22 @@
"EstimatedExtrusion": "预计挤出量:",
"Extrude": "挤出",
"ExtruderTempTooLow": "挤出温度 <",
"ExtrusionFactor": "挤出因子",
"ExtrusionFactor": "挤出倍数",
"ExtrusionFeedrate": "进给速度",
"FilamentLength": "耗材长度",
"FirmwareRetractionSettings": {
"RetractLength": "回抽长度",
"RetractSpeed": "回抽速度",
"UnretractExtraLength": "回料长度",
"UnretractSpeed": "回料速度"
},
"Headline": "挤出机",
"LoadFilament": "装载耗材",
"PressureAdvanceSettings": {
"Advance": "压力提前",
"Extruder": "挤出机",
"SmoothTime": "平滑时间"
},
"Requested": "需要",
"Retract": "回抽",
"TooLargeExtrusion": "挤出过大!",
@@ -472,28 +481,15 @@
"KlipperCheck": "请检查Klipper服务是否运行并且已经设置UDS(Unix Domain Socket)。",
"KlippyState": "Klippy状态",
"MoonrakerCannotConnect": "Moonraker无法连接到Klipper !",
"Restart": "重启"
"Restart": "重启Klipper"
},
"MachineSettingsPanel": {
"FirmwareRetractionSettings": {
"FirmwareRetraction": "固件回抽",
"RetractLength": "回抽长度",
"RetractSpeed": "回抽速度",
"UnretractExtraLength": "回料长度",
"UnretractSpeed": "回料速度"
},
"Headline": "机器设置",
"MotionSettings": {
"Acceleration": "加速度",
"MaxAccelToDecel": "加速到减速最大值",
"Motion": "运动",
"SquareCornerVelocity": "直角拐弯速度",
"Velocity": "速度"
},
"PressureAdvanceSettings": {
"Advance": "压力提前",
"Extruder": "挤出机",
"SmoothTime": "平滑时间"
}
},
"MacrosPanel": {
@@ -531,6 +527,8 @@
"CancelPrint": "取消打印",
"ClearPrintStats": "清除打印统计数据",
"Difference": "不同",
"EmptyGcodes": "没有G-Code文件",
"EmptyJobqueue": "当前任务队列中没有文件。",
"Estimate": "估算时间",
"ETA": "预估完成",
"ExcludeObject": {
@@ -543,18 +541,16 @@
"Filament": "耗材用量",
"File": "文件",
"Files": "文件",
"EmptyGcodes": "没有G-Code文件",
"EmptyJobqueue": "当前任务队列中没有文件。",
"Jobqueue": "任务队列({count})",
"JobqueueMoreFiles": "没有任务 | 一个任务 | {count}个任务",
"PrintTime": "打印时间",
"Flow": "流量",
"Headline": "状态",
"Jobqueue": "任务队列({count})",
"JobqueueMoreFiles": "没有任务 | 一个任务 | {count}个任务",
"Layer": "层",
"Max": "最高",
"ObjectHeight": "物体高度",
"PausePrint": "暂停打印",
"Print": "打印",
"PrintTime": "打印耗时",
"ReprintJob": "再次打印",
"Requested": "请求",
"ResumePrint": "恢复打印",
@@ -601,7 +597,7 @@
"QGL": "四轴调平(QGL)",
"Relative": "相对坐标",
"SettingsInterfaceControl": "设置 > 界面 > 控制",
"SpeedFactor": "速度因子",
"SpeedFactor": "速度倍数",
"ZTilt": "Z轴倾斜"
},
"WebcamPanel": {
@@ -621,8 +617,8 @@
"SaveInfoDescription": "已经计算生成新的Z轴偏移。点击\"保存配置\"后会自动保存到printer.cfg中并重启Klipper。",
"SaveInfoDescriptionPrint": "已经计算生成新的Z轴偏移。打印完成后点击\"保存配置\"后会自动保存到printer.cfg中并重启Klipper。",
"SaveInfoHeadline": "信息",
"ToEndstop": "到限位",
"ToProbe": "到Probe传感器"
"ToEndstop": "距离限位",
"ToProbe": "距离Probe传感器"
}
},
"PowerDeviceChangeDialog": {
@@ -635,8 +631,8 @@
"Router": {
"Console": "控制台",
"Dashboard": "控制面板",
"G-Code Files": "G-Code文件",
"G-Code Viewer": "G-Code预览",
"G-Code Files": "G-Code 文件",
"G-Code Viewer": "G-Code 预览",
"Heightmap": "高度图",
"History": "历史记录",
"Machine": "机器",
@@ -738,7 +734,7 @@
"GCodeViewerTab": {
"BackgroundColor": "背景颜色",
"ExtruderColor": "喷嘴颜色",
"GCodeViewer": "G-Code预览",
"GCodeViewer": "G-Code 预览",
"GridColor": "网格颜色",
"MaxFeed": "最大挤出速度",
"MinFeed": "最小挤出速度",
+24 -25
View File
@@ -74,32 +74,31 @@ import 'vue-resize/dist/vue-resize.css'
import VueResize from 'vue-resize'
Vue.use(VueResize)
//load config.json and init vue
fetch('/config.json')
.then((res) => res.json())
.then(async (file) => {
await store.dispatch('importConfigJson', file)
const initLoad = async () => {
//load config.json
await fetch('/config.json')
.then((res) => res.json())
.then(async (file) => {
window.console.debug('Loaded config.json')
const url = store.getters['socket/getWebsocketUrl']
Vue.use(WebSocketPlugin, {
url: url,
store: store,
await store.dispatch('importConfigJson', file)
if ('defaultLocale' in file) i18n.locale = file.defaultLocale
})
.catch((_) => {
window.console.error('config.json not found or cannot be decoded!')
})
if (!store?.state?.remoteMode) Vue.$socket.connect()
const url = store.getters['socket/getWebsocketUrl']
Vue.use(WebSocketPlugin, { url, store })
if (store?.state?.instancesDB === 'moonraker') Vue.$socket.connect()
}
new Vue({
vuetify,
router,
store,
i18n,
render: (h) => h(App),
}).$mount('#app')
})
.catch((error) => {
const p = document.createElement('p')
const content = document.createTextNode('config.json not found or cannot be decoded!')
p.appendChild(content)
document.getElementById('app')?.append(p)
window.console.error('Error:', error)
})
initLoad()
new Vue({
vuetify,
router,
store,
i18n,
render: (h) => h(App),
}).$mount('#app')
+1 -1
View File
@@ -133,7 +133,7 @@ export default class PageDashboard extends Mixins(DashboardMixin) {
}
// remove temperature panel, if heaters & sensors < 1
if (this.printerAvailableHeatersCount + this.printerAvailableSensorsCount < 1) {
if (this.printerAvailableHeatersCount + this.printerTemperatureSensorsCount < 1) {
output = output.filter((name) => name !== 'temperature-panel')
}
+9 -1
View File
@@ -1,5 +1,5 @@
<template>
<v-row>
<v-row v-if="existGcodesRootDirectory">
<v-col :class="showJobQueue ? 'col-12 col-md-8 pt-0 pt-md-3 order-1 order-md-0' : 'col-12'">
<gcodefiles-panel></gcodefiles-panel>
</v-col>
@@ -7,17 +7,25 @@
<jobqueue-panel></jobqueue-panel>
</v-col>
</v-row>
<v-row v-else>
<v-alert dense text type="warning" elevation="2" class="mx-auto mt-6" max-width="500" :icon="mdiLockOutline">
{{ $t('Files.GcodesRootDirectoryDoesntExists') }}
</v-alert>
</v-row>
</template>
<script lang="ts">
import { Component, Mixins } from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
import GcodefilesPanel from '@/components/panels/GcodefilesPanel.vue'
import JobqueuePanel from '@/components/panels/JobqueuePanel.vue'
import { mdiLockOutline } from '@mdi/js'
@Component({
components: { JobqueuePanel, GcodefilesPanel },
})
export default class PageFiles extends Mixins(BaseMixin) {
mdiLockOutline = mdiLockOutline
get queued_jobs() {
return this.$store.state.server.jobQueue.queued_jobs ?? []
}
+61 -47
View File
@@ -1,47 +1,3 @@
<style scoped>
.rename-profile {
text-transform: none;
}
.currentMeshName {
cursor: pointer;
color: var(--v-primary-base);
}
.currentMeshName .v-icon {
opacity: 0;
}
.currentMeshName:hover .v-icon {
opacity: 1;
}
.rowProfile {
}
.rowProfile .colActions {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
}
.rowProfile .colName,
.rowProfile .colVariance {
line-height: 48px;
}
.rowProfile .colName span.current {
font-weight: bold;
color: var(--v-primary-base);
}
.rowProfile .colActions .v-btn {
height: 48px;
width: 48px;
}
</style>
<template>
<div>
<v-row v-if="klipperReadyForGui">
@@ -307,8 +263,8 @@
</v-row>
<v-row v-else>
<v-alert
border="left"
colored-border
dense
text
type="warning"
elevation="2"
class="mx-auto mt-6"
@@ -334,12 +290,16 @@
v-model="newName"
:label="$t('Heightmap.Name')"
required
:rules="renameInputRules"
@update:error="isInvalidName = !isInvalidName"
@keyup.enter="renameProfile"></v-text-field>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn text @click="renameDialog = false">{{ $t('Heightmap.Abort') }}</v-btn>
<v-btn color="primary" text @click="renameProfile">{{ $t('Heightmap.Rename') }}</v-btn>
<v-btn :disabled="isInvalidName" color="primary" text @click="renameProfile">
{{ $t('Heightmap.Rename') }}
</v-btn>
</v-card-actions>
</panel>
</v-dialog>
@@ -511,6 +471,12 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
}
private newName = ''
private oldName = ''
private isInvalidName = true
private renameInputRules = [
(value: string) => !!value || this.$t('Heightmap.InvalidNameEmpty'),
(value: string) => value !== 'default' || this.$t('Heightmap.InvalidNameReserved'),
(value: string) => !this.existsProfileName(value) || this.$t('Heightmap.InvalidNameAlreadyExists'),
]
private heightmapScale = 0.5
private probedOpacity = 1
@@ -1078,6 +1044,10 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
}, 200)
}
existsProfileName(name: string) {
return this.profiles.findIndex((profile: { name: string }) => profile.name === name) >= 0
}
renameProfile(): void {
this.renameDialog = false
const gcodeNew = 'BED_MESH_PROFILE SAVE="' + this.newName + '"'
@@ -1169,3 +1139,47 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
}
}
</script>
<style scoped>
.rename-profile {
text-transform: none;
}
.currentMeshName {
cursor: pointer;
color: var(--v-primary-base);
}
.currentMeshName .v-icon {
opacity: 0;
}
.currentMeshName:hover .v-icon {
opacity: 1;
}
.rowProfile {
}
.rowProfile .colActions {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
}
.rowProfile .colName,
.rowProfile .colVariance {
line-height: 48px;
}
.rowProfile .colName span.current {
font-weight: bold;
color: var(--v-primary-base);
}
.rowProfile .colActions .v-btn {
height: 48px;
width: 48px;
}
</style>
+21 -11
View File
@@ -1,4 +1,4 @@
import { StringStream } from '@codemirror/stream-parser'
import { StringStream } from '@codemirror/language'
export const gcode = {
token: function (stream: StringStream, state: StreamParserGcodeState, zeroPos = 0): string | null {
@@ -8,41 +8,51 @@ export const gcode = {
/* Klipper macro attributes */
if (stream.pos > zeroPos && state.klipperMacro) {
if (stream.match(/^\s*[A-Z_]+/)) return 'propertyName'
else if (stream.match(/^\s*[A-Za-z0-9_]+/)) return 'number'
else if (stream.match(/^{.*}/)) return 'variable'
stream.eatSpace()
if (stream.match(/^(".+"|true|false)/i)) {
return 'string'
} else if (stream.match(/^\d+/)) return 'number'
else if (stream.match(/^[A-Za-z\d_]+/)) return 'propertyName'
else if (zeroPos === 0 && stream.match(/^{[^%]+}/)) return 'variable'
}
/* comments */
if ([';', '#'].includes(ch ?? '')) {
if ([';'].includes(ch ?? '')) {
stream.skipToEnd()
return 'comment'
}
const isZero = stream.pos == zeroPos
/* Mxxx Gxxx commands */
if (stream.pos == zeroPos && stream.match(/[GMgm][\d]+/)) {
if (isZero && stream.match(/_?[GMgm][\d.]+/)) {
return 'namespace'
}
if (stream.string.substr(zeroPos).toLowerCase().startsWith('m117')) {
stream.skipToEnd()
return 'string'
}
/* G0/1 movements */
if (stream.pos > zeroPos && stream.match(/[XYZIJxyzij]-?([\d]*\.[\d]+|[\d]+)?/)) {
if (stream.pos > zeroPos && stream.match(/[EPXYZIJ]-?([\d]*\.[\d]+|[\d]+)?/i)) {
return 'className'
}
/* G0/1 speeds */
if (stream.pos > zeroPos && stream.match(/[Ff]-?([\d]*\.[\d]+|[\d]+)/)) {
if (stream.pos > zeroPos && stream.match(/[Ff]-?([\d]*\.[\d]+|[\d]+)?/)) {
return 'string'
}
/* G0/1 extrusions */
if (stream.pos > zeroPos && stream.match(/[TtSsEe]-?([\d]*\.[\d]+|[\d]+)/)) {
if (stream.pos > zeroPos && stream.match(/[TtSs]-?([\d]*\.[\d]+|[\d]+)?/)) {
return 'atom'
}
if (stream.pos > zeroPos && stream.match(/^{.*}/)) return 'propertyName'
if (zeroPos === 0 && stream.pos > zeroPos && stream.match(/^{[^%]+}/)) return 'propertyName'
/* Klipper macro names */
if (stream.pos == zeroPos && stream.match(/^[A-Z_]+/)) {
if (isZero && stream.match(/^\s*[A-Z_\d]+/)) {
state.klipperMacro = true
return 'name'
}
+1 -1
View File
@@ -1,5 +1,5 @@
/*
import {StringStream} from "@codemirror/stream-parser";
import {StringStream} from "@codemirror/language";
let keywords = ["and", "as", "block", "endblock", "by", "cycle", "debug", "else", "elif",
"extends", "filter", "endfilter", "firstof", "for",
"endfor", "if", "endif", "ifchanged", "endifchanged",
+131 -87
View File
@@ -1,130 +1,172 @@
import { StringStream } from '@codemirror/stream-parser'
import { StreamParser, StringStream } from '@codemirror/language'
import { gcode } from '@/plugins/StreamParserGcode'
export const klipper_config = {
export const klipper_config: StreamParser<any> = {
token: function (stream: StringStream, state: StreamParserKlipperConfigState): string | null {
const ch = stream.peek()
/* comments */
if (
stream.match(/^\s+#/) ||
(ch === '#' && (stream.pos === 0 || /\s/.test(stream.string.charAt(stream.pos - 1))))
stream.match(/^\s+[#;]/) ||
([';', '#'].includes(ch ?? '') && (stream.pos === 0 || /\s/.test(stream.string.charAt(stream.pos - 1))))
) {
stream.skipToEnd()
state.block = false
state.pair = false
return 'comment'
}
if (state.gcode && !state.klipperMacroJinja && ch === '[') {
state.gcode = false
state.gcodeZeroPos = null
if (ch !== '[' && stream.indentation() === 0 && stream.sol() && stream.match(/^[^:]+$/i)) {
stream.skipToEnd()
return null
}
if (state.gcode) {
stream.eatSpace()
if (state.gcodeZeroPos === null) {
state.gcodeZeroPos = stream.pos
}
if (state.klipperMacroJinja) {
if (stream.match(/^%?}/)) {
state.klipperMacroJinja = false
return null
}
if (stream.eat(/.(?!%})/)) {
return 'string'
}
if (stream.eat(/.(?!})/)) {
return 'string'
}
stream.match(/^.*$/)
return 'string'
}
if (stream.match(/^{%?/)) {
state.klipperMacroJinja = true
if (stream.indentation() === 0) {
if (stream.pos === 0 && ch === '[') {
state.block = true
stream.next()
return null
}
if (state.block) {
if (!ch || ch === ']' || stream.eol()) {
stream.next()
state.block = false
return null
}
if (stream.match(/^\s[^\]]+/)) {
return 'className'
}
if (stream.match(/^[^ \]]+/)) {
return 'namespace'
}
}
if (state.gcode) {
if (stream.sol() || stream.eol()) {
state.gcode = false
state.gcodeZeroPos = null
return null
}
return gcode.token(stream, state, state.gcodeZeroPos)
if (!state.gcodeZeroPos) {
stream.eatSpace()
state.gcodeZeroPos = stream.pos
}
if (state.klipperMacroJinja) {
if (
(state.klipperMacroJinjaPercent && stream.match(/^%}/)) ||
(!state.klipperMacroJinjaPercent && stream.match(/^}/))
) {
state.klipperMacroJinja = false
state.klipperMacroJinjaPercent = false
stream.eatSpace()
state.gcodeZeroPos = stream.pos
return null
}
stream.next()
return 'string'
}
if (stream.match(/^\s*{[%{]?/)) {
state.klipperMacroJinjaPercent = stream.string.includes('{%')
state.klipperMacroJinja = true
return null
}
return gcode.token(stream, state, state.gcodeZeroPos ?? 0)
}
} else {
state.was = true
if (state.gcode) {
if (stream.sol()) {
stream.eatSpace()
state.gcodeZeroPos = stream.pos
}
if (state.klipperMacroJinja) {
if (
(state.klipperMacroJinjaPercent && stream.match(/^%}/)) ||
(!state.klipperMacroJinjaPercent && stream.match(/^}/))
) {
state.klipperMacroJinja = false
state.klipperMacroJinjaPercent = false
stream.eatSpace()
state.gcodeZeroPos = stream.pos
return null
}
stream.next()
return 'string'
}
if (stream.match(/^\s*{[%{]?/)) {
state.klipperMacroJinjaPercent = stream.string.includes('{%')
state.klipperMacroJinja = true
return null
}
return gcode.token(stream, state, state.gcodeZeroPos ?? stream.pos)
} else if (state.pair) {
stream.eatSpace()
if (ch !== ',') {
if (stream.match(/^-?\d*\.?(?:\d+)?($|,)/)) {
return 'number'
}
if (stream.match(/^[^#]+/)) {
return 'string'
}
}
stream.next()
return null
}
}
if (state.was && stream.indentation() === 0) {
state.pair = false
state.gcode = false
state.was = false
}
if (stream.match(/^gcode:\s*/)) {
stream.skipToEnd()
state.gcode = true
if (!state.pair && !state.gcode && stream.sol()) {
if (stream.match(/^(?:[A-Za-z]*_?gcode|enable):/)) {
state.gcode = true
} else {
stream.match(/^.+?:\s*/)
state.pair = !stream.eol()
}
return 'atom'
}
if (state.pair) {
if (stream.match(/^[\^!]*[a-z_]+[0-9]*?:/i)) {
stream.backUp(1)
return 'macroName'
} else if (
stream.match(/^[\^!]*(?:(?:P[A-Z]?|A[A-Z]?|EXP|GPIOCHIP|GPIO)+[0-9.]+|z_virtual_endstop)(_[0-9]+)?/i) ||
stream.match(/^\/gpio[0-9]+/i)
) {
if (stream.eol()) {
state.pair = false
}
return 'macroName'
} else if (stream.match(/^\s*\[?(-?[0-9,.:]+)]?/)) {
if (stream.eol()) {
state.pair = false
}
return 'number'
} else if (stream.match(/^([a-zA-Z0-9~"'.,:_/\-\s]+)/)) {
if (stream.eol()) {
state.pair = false
}
return 'string'
} else if (stream.match(/^\s*#.*$/)) {
stream.skipToEnd()
if (ch === ':') {
stream.next()
stream.eatSpace()
return null
}
if (!ch || stream.eol()) {
state.pair = false
return 'comment'
return null
}
stream.next()
return null
}
if (stream.match(/^[a-zA-Z0-9_]+\s?[:=]\s?/)) {
state.pair = true
return 'atom'
}
/*if (stream.match(/^\[include.*]$/)) {
console.log(stream, state);
return "macroName";
}*/
if (state.block) {
if (stream.match(/^[a-z0-9-_]+/i)) {
return 'namespace'
if (stream.match(/^(-?\d*\.?(?:\d+)?(,|$|\s))+/)) {
state.pair = false
return 'number'
}
if (stream.match(/^\s[a-z0-9-_./*\s]+/i)) {
return 'className'
if (stream.match(/^[^#]+/)) {
state.pair = false
return 'string'
}
stream.skipToEnd()
state.block = false
return null
}
if (stream.next() === '[') {
state.block = true
return null
}
if (stream.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/)) return 'string'
stream.next()
return 'string'
return null
},
startState: function (): StreamParserKlipperConfigState {
return {
block: false,
pair: false,
was: false,
gcode: false,
klipperMacro: false,
gcodeZeroPos: null,
klipperMacroJinja: false,
klipperMacroJinjaPercent: false,
}
},
languageData: {
@@ -135,8 +177,10 @@ export const klipper_config = {
interface StreamParserKlipperConfigState {
block: boolean
pair: boolean
was: boolean
gcode: boolean
gcodeZeroPos: number | null
klipperMacro: boolean
klipperMacroJinja: boolean
klipperMacroJinjaPercent: boolean
}
+1 -1
View File
@@ -1,4 +1,4 @@
import { StringStream } from '@codemirror/stream-parser'
import { StringStream } from '@codemirror/language'
const cons = ['true', 'false', 'on', 'off', 'yes', 'no']
const keywordRegex = new RegExp('\\b((' + cons.join(')|(') + '))$', 'i')
+9 -4
View File
@@ -1,13 +1,14 @@
import { EditorView } from '@codemirror/view'
import { Extension } from '@codemirror/state'
import { HighlightStyle, tags as t } from '@codemirror/highlight'
import { tags as t } from '@lezer/highlight'
import { HighlightStyle, syntaxHighlighting } from '@codemirror/language'
const ui = {
background: '#1e1e1e',
foreground: '#d4d4d4',
}
export const mainsailEditor = EditorView.theme(
const mainsailEditor = EditorView.theme(
{
'&': {
color: '#d4d4d4',
@@ -40,7 +41,7 @@ export const mainsailEditor = EditorView.theme(
{ dark: true }
)
export const mainsailHighlightStyle = HighlightStyle.define([
const mainsailHighlightStyle = HighlightStyle.define([
{ tag: t.number, color: '#b5cea8' },
{ tag: [t.meta], color: '#d4d4d4' },
{ tag: [t.comment], color: '#6a9955' },
@@ -51,7 +52,11 @@ export const mainsailHighlightStyle = HighlightStyle.define([
{ tag: t.name, color: '#e40', fontWeight: 'bold' },
{ tag: t.propertyName, color: '#e56735' },
])
const fn0 = mainsailHighlightStyle.style
// noinspection JSConstantReassignment
// @ts-ignore
mainsailHighlightStyle.style = (tags) => fn0(tags || [])
/// Extension to enable the Mox theme (both the editor theme and
/// the highlight style).
export const mainsailTheme: Extension = [mainsailEditor, mainsailHighlightStyle]
export const mainsailTheme: Extension = [mainsailEditor, syntaxHighlighting(mainsailHighlightStyle)]
+64 -63
View File
@@ -24,23 +24,12 @@ export class WebSocketClient {
this.url = url
}
// eslint-disable-next-line
passToStore(eventName: string, event: any): void {
if (!eventName.startsWith('socket/')) {
return
}
this.store?.dispatch(eventName, event)
}
async connect() {
this.store?.dispatch('socket/setData', {
isConnecting: true,
})
if (this.instance) {
this.instance.close()
}
await this.instance?.close()
this.instance = new WebSocket(this.url)
this.instance.onopen = () => {
@@ -48,88 +37,100 @@ export class WebSocketClient {
this.store?.dispatch('socket/onOpen', event)
}
this.instance.onclose = async (e) => {
if (!e.wasClean && this.reconnects < this.maxReconnects) {
this.reconnects++
setTimeout(() => {
this.connect()
}, this.reconnectInterval)
} else await this.store?.dispatch('socket/onClose', e)
this.instance.onclose = (e) => {
if (e.wasClean || this.reconnects >= this.maxReconnects) {
this.store?.dispatch('socket/onClose', e)
return
}
this.reconnects++
setTimeout(() => {
this.connect()
}, this.reconnectInterval)
}
this.instance.onerror = () => {
if (this.instance) this.instance.close()
this.instance?.close()
}
this.instance.onmessage = (msg) => {
if (this.store === null) return
const data = JSON.parse(msg.data)
if (this.store) {
const wait = this.getWaitById(data.id)
if (wait && wait.action !== '') {
if (data.error?.message) {
if (data.error?.message !== 'Klippy Disconnected')
window.console.error('Response Error: ' + wait.action + ' > ' + data.error.message)
} else if (wait.action) {
let result = data.result
if (result === 'ok') result = { result: result }
if (typeof result === 'string') result = { result: result }
const wait = this.getWaitById(data.id)
const preload = {}
if (wait.actionPayload) Object.assign(preload, wait.actionPayload)
Object.assign(preload, { requestParams: wait.params })
Object.assign(preload, result)
this.store?.dispatch(wait.action, preload)
}
} else this.store?.dispatch('socket/onMessage', data)
// report error messages
if (data.error?.message) {
if (data.error?.message !== 'Klippy Disconnected')
window.console.error(`Response Error: ${data.error.message} (${wait?.action ?? 'no action'})`)
if (wait) this.removeWaitById(wait.id)
if (wait?.id) this.removeWaitById(wait.id)
return
}
// pass it to socket/onMessage, if no wait exists
if (!wait) {
this.store?.dispatch('socket/onMessage', data)
return
}
// pass result to action
if (wait?.action) {
let result = data.result
if (result === 'ok') result = { result: result }
if (typeof result === 'string') result = { result: result }
const preload = {}
if (wait.actionPayload) Object.assign(preload, wait.actionPayload)
Object.assign(preload, { requestParams: wait.params })
Object.assign(preload, result)
this.store?.dispatch(wait.action, preload)
}
this.removeWaitById(wait.id)
}
}
async close() {
if (this.instance) await this.instance.close()
close(): void {
this.instance?.close()
}
getWaitById(id: number): Wait | null {
return this.waits.find((wait: Wait) => wait.id === id) ?? null
}
removeWaitById(id: number): void {
removeWaitById(id: number | null): void {
const index = this.waits.findIndex((wait: Wait) => wait.id === id)
if (index) {
const wait = this.waits[index]
if (wait.loading && this.store) {
this.store.dispatch('socket/removeLoading', { name: wait.loading })
}
if (wait.loading) this.store?.dispatch('socket/removeLoading', { name: wait.loading })
this.waits.splice(index, 1)
}
}
emit(method: string, params: Params, options: emitOptions = {}): void {
if (this.instance?.readyState === WebSocket.OPEN) {
const id = Math.floor(Math.random() * 10000) + 1
this.waits.push({
id: id,
params: params,
action: options.action ?? null,
actionPayload: options.actionPayload ?? {},
loading: options.loading ?? null,
})
if (this.instance?.readyState !== WebSocket.OPEN) return
if (options.loading && this.store) {
this.store.dispatch('socket/addLoading', { name: options.loading })
}
const id = Math.floor(Math.random() * 10000) + 1
this.waits.push({
id: id,
params: params,
action: options.action ?? null,
actionPayload: options.actionPayload ?? {},
loading: options.loading ?? null,
})
const msg = JSON.stringify({
if (options.loading) this.store?.dispatch('socket/addLoading', { name: options.loading })
this.instance.send(
JSON.stringify({
jsonrpc: '2.0',
method: method,
params: params,
id: id,
method,
params,
id,
})
this.instance.send(msg)
}
)
}
}
+19 -10
View File
@@ -1,7 +1,6 @@
import router from '@/plugins/router'
import { ActionTree } from 'vuex'
import { ConfigJson, RootState } from './types'
import { v4 as uuidv4 } from 'uuid'
export const actions: ActionTree<RootState, RootState> = {
switchToDashboard() {
@@ -9,8 +8,6 @@ export const actions: ActionTree<RootState, RootState> = {
},
changePrinter({ dispatch, getters, state }, payload) {
const remoteMode = state.remoteMode
dispatch('files/reset')
dispatch('gui/reset')
dispatch('printer/reset')
@@ -31,18 +28,30 @@ export const actions: ActionTree<RootState, RootState> = {
/**
* This function will parse the config.json content and config mainsail
* @param commit - vuex commit
* @param dispatch - vuex dispatch
* @param payload - content of config.json as a object
*/
importConfigJson({ commit, dispatch }, payload: ConfigJson) {
const remoteMode = 'remoteMode' in payload ? payload.remoteMode : false
if (remoteMode) {
commit('setRemoteMode', true)
type RootStateInstancesDbType = 'moonraker' | 'browser' | 'json'
let instancesDB: RootStateInstancesDbType = payload.instancesDB ?? 'moonraker'
if (document.location.hostname === 'my.mainsail.xyz') instancesDB = 'browser'
if (import.meta.env.VUE_APP_INSTANCES_DB)
instancesDB = import.meta.env.VUE_APP_INSTANCES_DB as RootStateInstancesDbType
if ('instances' in payload && Array.isArray(payload.instances) && payload.instances.length) {
if (instancesDB !== 'moonraker') {
commit('setInstancesDB', instancesDB)
if (
instancesDB === 'json' &&
'instances' in payload &&
Array.isArray(payload.instances) &&
payload.instances.length
) {
commit('setConfigInstances', payload.instances)
}
return
}
if (payload.hostname) commit('socket/setData', { hostname: payload.hostname })
if (payload.port) commit('socket/setData', { port: parseInt(payload.port.toString()) })
},
}
+39 -1
View File
@@ -65,7 +65,24 @@ export const getters: GetterTree<FarmPrinterState, any> = {
return state.data.print_stats?.filename ?? ''
},
getPrintPercent: (state) => {
getPrintPercent: (state, getters) => {
const type = state.data.gui?.general?.calcPrintProgress ?? 'file-relative'
switch (type) {
case 'file-relative':
return getters['getPrintPercentByFilepositionRelative']
case 'file-absolute':
return getters['getPrintPercentByFilepositionAbsolute']
case 'slicer':
return getters['getPrintPercentBySlicer']
case 'filament':
return getters['getPrintPercentByFilament']
default:
return getters['getPrintPercentByFilepositionRelative']
}
},
getPrintPercentByFilepositionRelative: (state) => {
if (
state.current_file?.filename &&
state.current_file?.gcode_start_byte &&
@@ -84,6 +101,27 @@ export const getters: GetterTree<FarmPrinterState, any> = {
return state.data.virtual_sdcard?.progress ?? 0
},
getPrintPercentByFilepositionAbsolute: (state) => {
return state.data.virtual_sdcard?.progress ?? 0
},
getPrintPercentBySlicer: (state) => {
return state.data.display_status?.progress ?? 0
},
getPrintPercentByFilament: (state) => {
const filament_used = state.data.print_stats?.filament_used ?? null
const filament_total = state.current_file?.filament_total ?? null
if (filament_used !== null && filament_total !== null) {
if (filament_total == 0) return 0
return filament_used / filament_total
}
return state.data.virtual_sdcard?.progress ?? 0
},
getImage: (state) => {
if (state.current_file.filename && state.current_file.thumbnails?.length) {
const indexLastDir = state.current_file.filename.lastIndexOf('/')
+20 -2
View File
@@ -44,6 +44,9 @@ export const getters: GetterTree<FileState, any> = {
getGcodeFiles:
(state, getters, rootState, rootGetters) =>
(path: string | null, boolShowHiddenFiles: boolean, boolShowPrintedFiles: boolean) => {
const rootGcodes = getters['getDirectory']('gcodes')
if (rootGcodes === null) return []
let baseURL = `${rootGetters['socket/getUrl']}/server/files/gcodes`
let files: FileStateFile[] = []
@@ -52,8 +55,6 @@ export const getters: GetterTree<FileState, any> = {
const directory = getters['getDirectory']('gcodes' + path)
files = directory?.childrens ?? []
} else {
const rootGcodes = getters['getDirectory']('gcodes')
const searchGcodes = (directory: FileStateFile, currentPath: string) => {
if (directory.isDirectory && directory.childrens?.length) {
directory.childrens?.forEach((file) => {
@@ -89,6 +90,7 @@ export const getters: GetterTree<FileState, any> = {
const fileTimestamp = typeof file.modified.getTime === 'function' ? file.modified.getTime() : 0
const tmp: FileStateGcodefile = {
...file,
preheat_gcode: null,
small_thumbnail: null,
big_thumbnail: null,
big_thumbnail_width: null,
@@ -101,6 +103,22 @@ export const getters: GetterTree<FileState, any> = {
last_total_duration: null,
}
const preheat_gcode_array: string[] = []
const preheat_gcode_objects = [
{ name: 'first_layer_extr_temp', gcode: 'M104' },
{ name: 'first_layer_bed_temp', gcode: 'M140' },
]
preheat_gcode_objects.forEach((object) => {
if (object.name in file && file[object.name] > 1) {
preheat_gcode_array.push(`${object.gcode} S${file[object.name]}`)
}
})
if (preheat_gcode_array.length) {
tmp.preheat_gcode = preheat_gcode_array.join('\n')
}
if (file.thumbnails?.length) {
let subdirectory = ''
if (path === null) {
+2
View File
@@ -39,9 +39,11 @@ export interface FileStateFile {
metadataPulled?: boolean
metadataRequested?: boolean
size?: number
[key: string]: any
}
export interface FileStateGcodefile extends FileStateFile {
preheat_gcode: string | null
small_thumbnail: string | null
big_thumbnail: string | null
big_thumbnail_width: number | null
+5 -2
View File
@@ -13,6 +13,7 @@ export const actions: ActionTree<GuiState, RootState> = {
dispatch('gcodehistory/reset')
dispatch('macros/reset')
dispatch('presets/reset')
dispatch('webcams/reset')
},
init() {
@@ -25,7 +26,8 @@ export const actions: ActionTree<GuiState, RootState> = {
const mainsailUrl = baseUrl + '?namespace=mainsail'
if ('remoteprinters' in payload.value) {
if (!rootState.remoteMode) dispatch('remoteprinters/initStore', payload.value.remoteprinters.printers)
if (rootState.instancesDB === 'moonraker')
dispatch('remoteprinters/initStore', payload.value.remoteprinters.printers)
delete payload.value.remoteprinters
}
@@ -113,7 +115,8 @@ export const actions: ActionTree<GuiState, RootState> = {
})
}
commit('setData', payload.value)
await commit('setData', payload.value)
await dispatch('socket/removeInitModule', 'gui/init', { root: true })
},
/*
+2
View File
@@ -19,6 +19,7 @@ export const getDefaultState = (): GuiState => {
general: {
printername: '',
language: 'en',
calcPrintProgress: 'file-relative',
calcEstimateTime: ['file', 'filament'],
calcEtaTime: ['file', 'filament', 'slicer'],
},
@@ -227,6 +228,7 @@ export const getDefaultState = (): GuiState => {
sortDesc: true,
showHiddenFiles: false,
currentPath: 'timelapse',
selectedFiles: [],
},
webcam: {
currentCam: {
+4 -4
View File
@@ -15,7 +15,7 @@ export const actions: ActionTree<GuiRemoteprintersState, RootState> = {
initFromLocalstorage({ dispatch, rootState }) {
let value = rootState.configInstances ?? []
if (value.length === 0) value = JSON.parse(localStorage.getItem('printers') ?? '{}')
if (rootState.instancesDB === 'moonraker') value = JSON.parse(localStorage.getItem('printers') ?? '{}')
if (Array.isArray(value)) {
const printers: any = {}
@@ -47,7 +47,7 @@ export const actions: ActionTree<GuiRemoteprintersState, RootState> = {
},
upload({ state, rootState }, id) {
if (rootState.remoteMode) {
if (rootState.instancesDB === 'browser') {
const printers: any[] = []
Object.keys(state.printers).forEach((id: string) => {
@@ -59,7 +59,7 @@ export const actions: ActionTree<GuiRemoteprintersState, RootState> = {
})
localStorage.setItem('printers', JSON.stringify(printers))
} else if (id in state.printers) {
} else if (rootState.instancesDB === 'moonraker' && id in state.printers) {
const value = {
hostname: state.printers[id].hostname,
port: state.printers[id].port,
@@ -112,7 +112,7 @@ export const actions: ActionTree<GuiRemoteprintersState, RootState> = {
commit('delete', id)
dispatch('farm/unregisterPrinter', id, { root: true })
if (rootState.remoteMode) dispatch('upload')
if (rootState.instancesDB === 'browser') dispatch('upload')
else {
Vue.$socket.emit('server.database.delete_item', {
namespace: 'mainsail',
+2
View File
@@ -10,6 +10,7 @@ export interface GuiState {
general: {
printername: string
language: string
calcPrintProgress: 'file-relative' | 'file-absolute' | 'slicer' | 'filament'
calcEstimateTime: string[] // file, filament are possible values
calcEtaTime: string[] // file, filament, slicer are possible values
}
@@ -156,6 +157,7 @@ export interface GuiState {
sortDesc: boolean
showHiddenFiles: boolean
currentPath: string
selectedFiles: FileStateFile[]
}
webcam: {
currentCam: {
+4 -3
View File
@@ -14,9 +14,10 @@ export const actions: ActionTree<GuiWebcamState, RootState> = {
Vue.$socket.emit('server.database.get_item', { namespace: 'webcams' }, { action: 'gui/webcams/initStore' })
},
initStore({ commit }, payload) {
commit('reset')
commit('initStore', payload)
async initStore({ commit, dispatch }, payload) {
await commit('reset')
await commit('initStore', payload)
await dispatch('socket/removeInitModule', 'gui/webcam/init', { root: true })
},
upload(_, payload) {
+1
View File
@@ -12,6 +12,7 @@ export interface GuiWebcamStateWebcam {
targetFps: number
urlStream: string
urlSnapshot: string
rotate?: number
flipX: boolean
flipY: boolean
}
+1 -10
View File
@@ -18,20 +18,11 @@ import { gcodeviewer } from '@/store/gcodeviewer'
Vue.use(Vuex)
export const getDefaultState = (): RootState => {
let remoteMode = false
if (
document.location.hostname === 'my.mainsail.xyz' ||
String(import.meta.env.VUE_APP_REMOTE_MODE).toLowerCase() === 'true' ||
String(import.meta.env.VUE_APP_REMOTE_MODE) === '1'
)
remoteMode = true
return {
packageVersion: (import.meta.env.PACKAGE_VERSION as string) || '0.0.0',
debugMode: (import.meta.env.VUE_APP_DEBUG_MODE as boolean) || false,
naviDrawer: null,
remoteMode,
instancesDB: 'moonraker',
configInstances: [],
}
}
+2 -2
View File
@@ -7,8 +7,8 @@ export const mutations: MutationTree<RootState> = {
Vue.set(state, 'naviDrawer', payload)
},
setRemoteMode(state, payload) {
Vue.set(state, 'remoteMode', payload)
setInstancesDB(state, payload) {
Vue.set(state, 'instancesDB', payload)
},
setConfigInstances(state, payload) {
+17 -4
View File
@@ -10,8 +10,15 @@ export const actions: ActionTree<PrinterState, RootState> = {
commit('socket/clearLoadings', null, { root: true })
},
init() {
init({ dispatch }) {
window.console.debug('init printer')
dispatch('reset')
dispatch('socket/addInitModule', 'printer/info', { root: true })
dispatch('socket/addInitModule', 'printer/initSubscripts', { root: true })
dispatch('socket/addInitModule', 'printer/initHelpList', { root: true })
dispatch('socket/addInitModule', 'printer/initTempHistory', { root: true })
dispatch('socket/addInitModule', 'server/gcode_store', { root: true })
Vue.$socket.emit('printer.info', {}, { action: 'printer/getInfo' })
Vue.$socket.emit('printer.objects.list', {}, { action: 'printer/initSubscripts' })
@@ -19,7 +26,7 @@ export const actions: ActionTree<PrinterState, RootState> = {
Vue.$socket.emit('server.gcode_store', {}, { action: 'server/getGcodeStore' })
},
getInfo({ commit }, payload) {
getInfo({ commit, dispatch }, payload) {
commit(
'server/setData',
{
@@ -34,9 +41,11 @@ export const actions: ActionTree<PrinterState, RootState> = {
software_version: payload.software_version,
cpu_info: payload.cpu_info,
})
dispatch('socket/removeInitModule', 'printer/info', { root: true })
},
initSubscripts(_, payload) {
initSubscripts({ dispatch }, payload) {
let subscripts = {}
const blocklist = ['menu']
@@ -49,6 +58,8 @@ export const actions: ActionTree<PrinterState, RootState> = {
if (Object.keys(subscripts).length > 0)
Vue.$socket.emit('printer.objects.subscribe', { objects: subscripts }, { action: 'printer/getInitData' })
else Vue.$socket.emit('server.temperature_store', {}, { action: 'printer/tempHistory/init' })
dispatch('socket/removeInitModule', 'printer/initSubscripts', { root: true })
},
getInitData({ dispatch }, payload) {
@@ -109,8 +120,10 @@ export const actions: ActionTree<PrinterState, RootState> = {
commit('setData', payload)
},
initHelpList({ commit }, payload) {
initHelpList({ commit, dispatch }, payload) {
commit('setHelplist', payload)
dispatch('socket/removeInitModule', 'printer/initHelpList', { root: true })
},
getEndstopStatus({ commit }, payload) {
+55 -8
View File
@@ -36,7 +36,24 @@ import {
} from '@mdi/js'
export const getters: GetterTree<PrinterState, RootState> = {
getPrintPercent: (state) => {
getPrintPercent: (state, getters, rootState) => {
const type = rootState?.gui?.general?.calcPrintProgress ?? 'file-relative'
switch (type) {
case 'file-relative':
return getters['getPrintPercentByFilepositionRelative']
case 'file-absolute':
return getters['getPrintPercentByFilepositionAbsolute']
case 'slicer':
return getters['getPrintPercentBySlicer']
case 'filament':
return getters['getPrintPercentByFilament']
default:
return getters['getPrintPercentByFilepositionRelative']
}
},
getPrintPercentByFilepositionRelative: (state) => {
if (
state.current_file?.filename &&
state.current_file?.gcode_start_byte &&
@@ -55,6 +72,30 @@ export const getters: GetterTree<PrinterState, RootState> = {
return state.virtual_sdcard?.progress ?? 0
},
getPrintPercentByFilepositionAbsolute: (state) => {
return state.virtual_sdcard?.progress ?? 0
},
getPrintPercentBySlicer: (state) => {
return state.display_status?.progress ?? 0
},
getPrintPercentByFilament: (state) => {
const filament_used = state.print_stats?.filament_used ?? null
const filament_total = state.current_file?.filament_total ?? null
if (filament_used !== null && filament_total !== null) {
if (filament_total == 0) return 0
const progress = filament_used / filament_total
if (progress > 1) return 1
return progress
}
return state.virtual_sdcard?.progress ?? 0
},
getMacros: (state) => {
const array: PrinterStateMacro[] = []
const config = state.configfile?.config ?? {}
@@ -357,7 +398,7 @@ export const getters: GetterTree<PrinterState, RootState> = {
let controllable = controllableFans.includes(nameSplit[0].toLowerCase())
const settings = state.configfile?.settings[key.toLowerCase()] ?? {}
const power = 'speed' in value ? value.speed : 'value' in value ? value.value : 0
const rpm = 'rpm' in value ? value.rpm : false
const rpm = 'rpm' in value ? value.rpm : null
let pwm = controllable
let scale = 1
@@ -373,11 +414,11 @@ export const getters: GetterTree<PrinterState, RootState> = {
const tmp = {
name: name,
type: nameSplit[0],
power: power,
controllable: controllable,
pwm: pwm,
rpm: rpm,
scale: scale,
power,
controllable,
pwm,
rpm,
scale,
object: value,
config: settings,
off_below: undefined,
@@ -601,7 +642,7 @@ export const getters: GetterTree<PrinterState, RootState> = {
const sensors = getters.getMcuTempSensors
// eslint-disable-next-line
sensors.forEach((sensor: { key: string; settings: any; object: any }) => {
if (sensor.settings?.sensor_mcu === mcuName && sensor.object?.temperature) {
if (mcuName.endsWith(sensor.settings?.sensor_mcu) && sensor.object?.temperature) {
output = {
temperature: sensor.object.temperature.toFixed(0),
measured_min_temp: sensor.object.measured_min_temp?.toFixed(1) ?? null,
@@ -902,4 +943,10 @@ export const getters: GetterTree<PrinterState, RootState> = {
return 'screws_tilt_adjust' in state.configfile.settings
},
existsFirmwareRetraction: (state) => {
if (!state.configfile?.settings) return false
return 'firmware_retraction' in state.configfile.settings
},
}
+2
View File
@@ -227,6 +227,8 @@ export const actions: ActionTree<PrinterTempHistoryState, RootState> = {
commit('setUpdateSourceInterval', updateSourceInterval)
}
dispatch('socket/removeInitModule', 'printer/initTempHistory', { root: true })
},
async updateSource({ commit, rootState, rootGetters, state }) {
+97 -69
View File
@@ -8,6 +8,9 @@ import { initableServerComponents } from '@/store/variables'
export const actions: ActionTree<ServerState, RootState> = {
reset({ commit, dispatch }) {
dispatch('stopKlippyConnectedInterval')
dispatch('stopKlippyStateInterval')
commit('reset')
dispatch('power/reset')
dispatch('updateManager/reset')
@@ -16,15 +19,24 @@ export const actions: ActionTree<ServerState, RootState> = {
async init({ dispatch }) {
window.console.debug('init Server')
await dispatch('identify')
await Vue.$socket.emit('server.info', {}, { action: 'server/initServerInfo' })
await Vue.$socket.emit('server.config', {}, { action: 'server/initServerConfig' })
await Vue.$socket.emit('machine.system_info', {}, { action: 'server/initSystemInfo' })
await Vue.$socket.emit('machine.proc_stats', {}, { action: 'server/initProcStats' })
await Vue.$socket.emit('server.database.list', { root: 'config' }, { action: 'server/checkDatabases' })
dispatch('socket/addInitModule', 'server/info', { root: true })
dispatch('socket/addInitModule', 'server/config', { root: true })
dispatch('socket/addInitModule', 'server/systemInfo', { root: true })
dispatch('socket/addInitModule', 'server/procStats', { root: true })
dispatch('socket/addInitModule', 'server/databaseList', { root: true })
dispatch('identify')
Vue.$socket.emit('server.info', {}, { action: 'server/initServerInfo' })
Vue.$socket.emit('server.config', {}, { action: 'server/initServerConfig' })
Vue.$socket.emit('machine.system_info', {}, { action: 'server/initSystemInfo' })
Vue.$socket.emit('machine.proc_stats', {}, { action: 'server/initProcStats' })
Vue.$socket.emit('server.database.list', { root: 'config' }, { action: 'server/checkDatabases' })
await dispatch('socket/removeInitModule', 'server', { root: true })
},
identify({ rootState }) {
identify({ dispatch, rootState }): void {
dispatch('socket/addInitModule', 'server/identify', { root: true })
Vue.$socket.emit(
'server.connection.identify',
{
@@ -37,19 +49,25 @@ export const actions: ActionTree<ServerState, RootState> = {
)
},
setConnectionId({ commit }, payload) {
setConnectionId({ commit, dispatch }, payload) {
commit('setConnectionId', payload.connection_id)
dispatch('socket/removeInitModule', 'server/identify', { root: true })
},
checkDatabases({ dispatch, commit, rootState }, payload) {
if (payload.namespaces?.includes('mainsail')) dispatch('gui/init', null, { root: true })
else dispatch('gui/initDb', null, { root: true })
if (payload.namespaces?.includes('webcams')) dispatch('gui/webcams/init', null, { root: true })
if (payload.namespaces?.includes('mainsail')) {
dispatch('socket/addInitModule', 'gui/init', { root: true })
dispatch('gui/init', null, { root: true })
} else dispatch('gui/initDb', null, { root: true })
if (payload.namespaces?.includes('webcams')) {
dispatch('socket/addInitModule', 'gui/webcam/init', { root: true })
dispatch('gui/webcams/init', null, { root: true })
}
commit('saveDbNamespaces', payload.namespaces)
Vue.$socket.emit('server.info', {}, { action: 'server/checkKlippyConnected' })
//dispatch('printer/init', null, { root: true })
dispatch('socket/removeInitModule', 'server/databaseList', { root: true })
},
initServerInfo({ dispatch, commit }, payload) {
@@ -58,13 +76,14 @@ export const actions: ActionTree<ServerState, RootState> = {
if ('failed_plugins' in payload) delete payload.failed_plugins
if (payload.components?.length) {
payload.components.forEach((component: string) => {
for (let component of payload.components) {
component = camelize(component)
if (initableServerComponents.includes(component)) {
window.console.debug('init server component: ' + component)
dispatch('socket/addInitModule', 'server/' + component + '/init', { root: true })
dispatch('server/' + component + '/init', {}, { root: true })
}
})
}
}
if (payload.registered_directories?.length) {
@@ -72,22 +91,30 @@ export const actions: ActionTree<ServerState, RootState> = {
}
commit('setData', payload)
dispatch('socket/removeInitModule', 'server/info', { root: true })
},
initServerConfig({ commit }, payload) {
initServerConfig({ commit, dispatch }, payload) {
commit('setConfig', payload)
dispatch('socket/removeInitModule', 'server/config', { root: true })
},
initSystemInfo({ commit }, payload) {
initSystemInfo({ commit, dispatch }, payload) {
commit('setSystemInfo', payload.system_info)
dispatch('socket/removeInitModule', 'server/systemInfo', { root: true })
},
initProcStats({ commit }, payload) {
if (payload.throttled_state !== null) commit('setThrottledState', payload.throttled_state)
initProcStats({ commit, dispatch }, payload) {
if (payload.throttled_state !== null) {
commit('setThrottledState', payload.throttled_state)
}
if (payload.system_uptime) {
const system_boot_at = new Date(new Date().getTime() - payload.system_uptime * 1000)
commit('setSystemBootAt', system_boot_at)
}
dispatch('socket/removeInitModule', 'server/procStats', { root: true })
},
updateProcStats({ commit }, payload) {
@@ -97,84 +124,88 @@ export const actions: ActionTree<ServerState, RootState> = {
if ('system_cpu_usage' in payload) commit('setCpuStats', payload.system_cpu_usage)
},
setKlippyReady({ dispatch, state }) {
if (state.klippy_connected_timer !== null) dispatch('stopKlippyConnectedInterval')
if (state.klippy_state_timer !== null) dispatch('stopKlippyStateInterval')
setKlippyReady({ dispatch }) {
dispatch('stopKlippyConnectedInterval')
dispatch('stopKlippyStateInterval')
dispatch('printer/reset', null, { root: true })
dispatch('printer/init', null, { root: true })
},
async setKlippyDisconnected({ commit, dispatch, state }) {
await commit('setKlippyDisconnected', null)
if (state.klippy_state_timer !== null) await dispatch('stopKlippyStateInterval')
await dispatch('startKlippyConnectedInterval')
setKlippyDisconnected({ commit, dispatch }) {
commit('setKlippyDisconnected', null)
dispatch('stopKlippyStateInterval')
dispatch('startKlippyConnectedInterval')
},
async setKlippyShutdown({ commit, dispatch, state }) {
await commit('setKlippyShutdown', null)
if (state.klippy_state_timer !== null) await dispatch('stopKlippyStateInterval')
await dispatch('startKlippyConnectedInterval')
setKlippyShutdown({ commit, dispatch }) {
commit('setKlippyShutdown', null)
dispatch('stopKlippyStateInterval')
dispatch('startKlippyConnectedInterval')
},
startKlippyConnectedInterval({ commit, state }) {
if (state.klippy_connected_timer === null) {
const timer = setInterval(() => {
Vue.$socket.emit('server.info', {}, { action: 'server/checkKlippyConnected' })
}, 2000)
commit('setKlippyConnectedTimer', timer)
}
if (state.klippy_connected_timer) return
const timer = setInterval(() => {
Vue.$socket.emit('server.info', {}, { action: 'server/checkKlippyConnected' })
}, 2000)
commit('setKlippyConnectedTimer', timer)
},
stopKlippyConnectedInterval({ commit, state }) {
if (state.klippy_connected_timer !== null) {
clearInterval(state.klippy_connected_timer)
commit('setKlippyConnectedTimer', null)
}
if (state.klippy_connected_timer === null) return
clearInterval(state.klippy_connected_timer)
commit('setKlippyConnectedTimer', null)
},
async checkKlippyConnected({ commit, dispatch, state }, payload) {
if (payload.klippy_connected) {
await dispatch('stopKlippyConnectedInterval')
await commit('setKlippyConnected')
dispatch('checkKlippyState', { state: payload.klippy_state, state_message: null })
} else if (!payload.klippy_connected && state.klippy_connected_timer === null)
checkKlippyConnected({ commit, dispatch, state }, payload) {
if (!payload.klippy_connected) {
dispatch('startKlippyConnectedInterval')
return
}
dispatch('stopKlippyConnectedInterval')
commit('setKlippyConnected')
dispatch('checkKlippyState', { state: payload.klippy_state, state_message: null })
},
startKlippyStateInterval({ commit, state }) {
if (state.klippy_state_timer === null) {
const timer = setInterval(() => {
Vue.$socket.emit('printer.info', {}, { action: 'server/checkKlippyState' })
}, 2000)
commit('setKlippyStateTimer', timer)
}
if (state.klippy_state_timer) return
const timer = setInterval(() => {
Vue.$socket.emit('printer.info', {}, { action: 'server/checkKlippyState' })
}, 2000)
commit('setKlippyStateTimer', timer)
},
stopKlippyStateInterval({ commit, state }) {
if (state.klippy_state_timer !== null) {
clearInterval(state.klippy_state_timer)
commit('setKlippyStateTimer', null)
}
if (state.klippy_state_timer === null) return
clearInterval(state.klippy_state_timer)
commit('setKlippyStateTimer', null)
},
checkKlippyState({ commit, dispatch, state }, payload: { state: string; state_message: string | null }) {
commit('setKlippyState', payload.state)
commit('setKlippyMessage', payload.state_message)
if (payload.state !== 'ready' && state.klippy_connected && state.klippy_state_timer === null) {
if (payload.state !== 'ready') {
dispatch('startKlippyStateInterval')
} else if (payload.state === 'ready' && state.klippy_state_timer !== null) {
dispatch('stopKlippyStateInterval')
} else if (payload.state === 'ready' && state.klippy_state_timer === null) {
dispatch('printer/init', null, { root: true })
return
}
dispatch('stopKlippyConnectedInterval')
dispatch('stopKlippyStateInterval')
dispatch('printer/init', null, { root: true })
},
getData({ commit }, payload) {
commit('setData', payload)
},
getGcodeStore({ commit, rootGetters }, payload) {
getGcodeStore({ commit, dispatch, rootGetters }, payload) {
commit('clearGcodeStore')
let events: ServerStateEvent[] = payload.gcode_store
@@ -199,14 +230,11 @@ export const actions: ActionTree<ServerState, RootState> = {
return false
}
if (event.date && new Date(event.date).valueOf() < cleared_since) {
return false
}
return true
return !(event.date && new Date(event.date).valueOf() < cleared_since)
})
commit('setGcodeStore', events)
dispatch('socket/removeInitModule', 'server/gcode_store', { root: true })
},
addRootDirectory({ commit, state }, data) {
@@ -215,7 +243,7 @@ export const actions: ActionTree<ServerState, RootState> = {
}
},
async addEvent({ commit, rootGetters }, payload) {
addEvent({ commit, rootGetters }, payload) {
let message = payload
let type = 'response'
@@ -234,7 +262,7 @@ export const actions: ActionTree<ServerState, RootState> = {
const regex = new RegExp(filter)
if (regex.test(formatMessage)) boolImport = false
} catch {
window.console.error("Custom console filter '" + filter + "' doesn't work")
window.console.error("Custom console filter '" + filter + "' doesn't work!")
}
return boolImport
@@ -243,7 +271,7 @@ export const actions: ActionTree<ServerState, RootState> = {
if (boolImport) {
if (payload.type === 'command') formatMessage = '<a class="command text--blue">' + formatMessage + '</a>'
await commit('addEvent', {
commit('addEvent', {
date: new Date(),
message: message,
formatMessage: formatMessage,
+5 -3
View File
@@ -12,7 +12,7 @@ export const actions: ActionTree<ServerAnnouncementsState, RootState> = {
Vue.$socket.emit('server.announcements.list', {}, { action: 'server/announcements/getList' })
},
getList({ commit }, payload) {
async getList({ commit, dispatch }, payload) {
if ('entries' in payload) {
const entries = payload.entries.map((entry: any) => {
const date = new Date(entry.date * 1000)
@@ -22,9 +22,11 @@ export const actions: ActionTree<ServerAnnouncementsState, RootState> = {
return { ...entry, date, date_dismissed, dismiss_wake }
})
commit('setEntries', entries)
await commit('setEntries', entries)
}
if ('feeds' in payload) commit('setFeeds', payload.feeds)
if ('feeds' in payload) await commit('setFeeds', payload.feeds)
await dispatch('socket/removeInitModule', 'server/announcements/init', { root: true })
},
getDismissed({ commit }, payload) {
+11 -8
View File
@@ -17,9 +17,9 @@ export const actions: ActionTree<ServerHistoryState, RootState> = {
commit('setTotals', payload.job_totals)
},
getHistory({ commit, dispatch, state }, payload) {
async getHistory({ commit, dispatch, state }, payload) {
if ('requestParams' in payload && 'start' in payload.requestParams && payload.requestParams.start === 0)
commit('resetJobs')
await commit('resetJobs')
payload.jobs?.forEach((job: ServerHistoryStateJob) => {
if (state.jobs.findIndex((stateJob) => stateJob.job_id === job.job_id) === -1) commit('addJob', job)
@@ -34,28 +34,31 @@ export const actions: ActionTree<ServerHistoryState, RootState> = {
},
{ action: 'server/history/getHistory' }
)
else dispatch('loadHistoryNotes')
else await dispatch('loadHistoryNotes')
},
loadHistoryNotes({ rootState }) {
loadHistoryNotes({ dispatch, rootState }) {
if (rootState.server?.dbNamespaces.includes('history_notes'))
Vue.$socket.emit(
'server.database.get_item',
{ namespace: 'history_notes' },
{ action: 'server/history/initHistoryNotes' }
)
else dispatch('socket/removeInitModule', 'server/history/init', { root: true })
},
initHistoryNotes({ commit, state }, payload) {
async initHistoryNotes({ commit, dispatch, state }, payload) {
const job_ids = Object.keys(payload.value)
job_ids.forEach((job_id: string) => {
for (const job_id of job_ids) {
const noteObject: { text: string } = payload.value[job_id]
commit('setHistoryNotes', {
await commit('setHistoryNotes', {
job_id,
text: noteObject.text,
})
})
}
await dispatch('socket/removeInitModule', 'server/history/init', { root: true })
},
getChanged({ commit }, payload) {
+32
View File
@@ -74,6 +74,7 @@ export const getters: GetterTree<ServerHistoryState, any> = {
getAllPrintStatusArray(state, getters, rootState) {
const output: ServerHistoryStateAllPrintStatusEntry[] = []
const totalCount = state.jobs.length
state.jobs.forEach((current) => {
const index = output.findIndex((element) => element.name === current.status)
@@ -118,6 +119,37 @@ export const getters: GetterTree<ServerHistoryState, any> = {
}
})
const otherLimit = totalCount * 0.05
const others = output.filter((entry) => entry.value < otherLimit)
if (others.length > 1) {
let otherValue = 0
others.forEach((otherGroup) => {
const index = output.findIndex((entry) => entry.name === otherGroup.name)
if (index !== -1) {
otherValue += output[index].value
output.splice(index, 1)
}
})
output.push({
name: 'others',
displayName: i18n.t(`History.StatusValues.Others`).toString(),
value: otherValue,
itemStyle: {
opacity: 0.9,
color: '#616161',
borderColor: '#1E1E1E',
borderWidth: 2,
borderRadius: 3,
},
showInTable: true,
label: {
color: '#fff',
},
})
}
return output
},
+5 -3
View File
@@ -17,9 +17,11 @@ export const actions: ActionTree<ServerJobQueueState, RootState> = {
if ('queue_state' in payload) commit('setQueueState', payload.queue_state)
},
getStatus({ commit }, payload) {
if ('queued_jobs' in payload) commit('setQueuedJobs', payload.queued_jobs)
if ('queue_state' in payload) commit('setQueueState', payload.queue_state)
async getStatus({ commit, dispatch }, payload) {
if ('queued_jobs' in payload) await commit('setQueuedJobs', payload.queued_jobs)
if ('queue_state' in payload) await commit('setQueueState', payload.queue_state)
await dispatch('socket/removeInitModule', 'server/jobQueue/init', { root: true })
},
async addToQueue({ state }, filenames: string[]) {
+4 -2
View File
@@ -12,8 +12,10 @@ export const actions: ActionTree<ServerPowerState, RootState> = {
Vue.$socket.emit('machine.device_power.devices', {}, { action: 'server/power/getDevices' })
},
getDevices({ commit }, payload) {
if (!payload.error) commit('setDevices', payload.devices)
async getDevices({ commit, dispatch }, payload) {
if (!payload.error) await commit('setDevices', payload.devices)
await dispatch('socket/removeInitModule', 'server/power/init', { root: true })
},
getStatus({ commit }, payload) {
+3 -2
View File
@@ -13,10 +13,11 @@ export const actions: ActionTree<ServerTimelapseState, RootState> = {
Vue.$socket.emit('machine.timelapse.lastframeinfo', {}, { action: 'server/timelapse/initLastFrameinfo' })
},
initSettings({ commit }, payload) {
async initSettings({ commit, dispatch }, payload) {
if ('requestParams' in payload) delete payload.requestParams
commit('setSettings', payload)
await commit('setSettings', payload)
await dispatch('socket/removeInitModule', 'server/timelapse/init', { root: true })
},
initLastFrameinfo({ commit }, payload) {
Loaded 100 of 107 files, more files were not shown because too many files have changed in this diff. Show more