Compare commits

...
Author SHA1 Message Date
Donkie 3a7ec376a2 docs: add authentication & authorization design plan
Design proposal for an opt-in auth system on top of client_v2: local
password login, generic OIDC, API keys, optional TOTP 2FA, and optional
mTLS-as-identity behind a reverse proxy. Three permission levels
(read/edit/manage) plus orthogonal admin/owner flags.

Nothing is implemented yet; this records the agreed shape and the
decisions behind it so the five delivery phases can be picked up
independently.

Placed at the repo root because .gitignore:75 carries a blanket docs/
rule from the Python template.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-07-27 09:55:14 +02:00
Donkie 06ae678586 client_v2: stop idle-tab data/CPU drain (WS backoff + coalesced refetch)
A tab left open would rack up gigabytes of transfer and heavy lag over
time. Two causes, both fixed:

- live.ts retried a dropped backend every fixed 2s forever (x3 sockets,
  no backoff). Each failed connect is a console error the browser can't
  GC, so an overnight tab bloated memory and janked. Now backs off
  1s->30s with jitter, resets on connect, and reconnects immediately on
  'online' / tab-visible (laptop sleep/wake). Measured churn ~15x lower.

- Every live event refetched the group list AND every visible GroupRow
  (~21-31 uncached requests) once per event. A burst (bulk import,
  printer streaming use-updates, initial sync) detonated that fan-out
  per event. A 300ms debounce collapses each burst into one refetch
  cycle (~10x fewer requests on a 20-event burst).
2026-07-26 20:37:27 +02:00
Donkie bf3896b1f2 client_v2: fix nested-interactive a11y on add-spool modal
The overlay was role=button wrapping the whole dialog, so screen readers
announced every control as nested inside one button. Make the click-outside
catcher a sibling <button> behind the modal instead of a parent, and move
Escape-to-close to a window keydown listener.
2026-07-26 16:30:55 +02:00
Donkie 1d5164b629 client_v2: label form controls for a11y (select-name/label)
Add aria-labels to the Settings language select, currency/base-URL/
low-stock inputs, and the Labels toolbar + preview-bar selects, which
axe-core flagged as unnamed (WCAG select-name/label, critical) under the
mobile a11y audit. Adds a labels.selectDesign message key.
2026-07-26 16:22:46 +02:00
Donkie cd5ef6f8d6 client_v2: close Combobox dropdown on blur (tab-away)
The suggestion list only closed on Escape, outside pointerdown, or
selection, so tabbing focus out of the input left the portaled dropdown
open. Add an onblur handler that closes the list, guarding against blurs
that hand focus into the list itself.
2026-07-26 10:34:28 +02:00
Donkie f6827c0a69 client_v2: improve mobile tap targets and inspector actions
Address the pervasive sub-44px tap-target audit finding and related
mobile UX issues:

- Add a centralized 44px touch-target layer in app.css (gated on the
  existing <=860px mobile breakpoint) raising the shared Button/tab/chip/
  select/etc. primitives; grow TopBar scan/add to 44px and the number
  steppers so they clear the WCAG 24px floor. Audit: 148 -> 46 sub-44px.
- Collapse the mobile search into an icon in the top row that expands to a
  full-width overlay on tap, dropping the top bar from three rows to two.
  Give the search toggle the same outlined look as the scan button.
- Fix breadcrumb links not vertically centering inside their 44px tap area.
- Stop hiding the spool/filament inspector action rows on narrow panels;
  reflow them onto their own row, and drop to icon-only (labels kept in the
  a11y tree) below 560px so three actions stay on a single row.
2026-07-25 21:22:47 +02:00
Donkie 18214ee0f8 client_v2: fix low-contrast text/accent tokens for WCAG AA
The mobile a11y audit reported color-contrast (serious) on ~11-17 nodes
per page, the nav tabs being the recurring offender. Every flagged node
routed through a design token, so retune the tokens rather than patch
components: --text-muted/--text-dim/--text-faint and light --accent-soft
now clear 4.5:1 on the surfaces they sit on in both themes (down to the
lightest dark surface and darkest light surface), keeping the
muted->dim->faint ramp monotonic. --text-2 already passed and is
unchanged.
2026-07-25 20:30:59 +02:00
Donkie 386ec36d1f client_v2: set <html lang>/<dir> to the resolved locale at runtime
app.html shipped `%paraglide.lang%`/`%paraglide.dir%` placeholders, but SSR
is off and there is no handle hook, so they were never substituted — axe
reported html-lang-valid (serious) on every page from the literal value.

Ship a valid `lang="en" dir="ltr"` static default and apply the real locale
(getLocale/getTextDirection) to <html> in +layout.svelte at mount, alongside
where the theme is applied. Verified in-browser: en→ltr, de→ltr, fa→rtl.

Also remove the unused Locale class in paraglide.svelte.ts (dead code, never
imported).
2026-07-25 20:16:20 +02:00
Donkie 8a5cf7ec73 client_v2: add mobile accessibility audit (Playwright + axe-core)
Adds an npm run audit:a11y target that runs axe-core (WCAG 2.0/2.1 A+AA
plus the 2.2 target-size rule) and a custom tap-target measurement across
the main surfaces under Pixel 5 emulation, reusing the dev server on 5174.
Results are aggregated to a11y-report.md via globalTeardown so they survive
Playwright worker restarts.
2026-07-25 19:07:24 +02:00
Donkie b7772ca743 client_v2: fix base path for direct loads of non-prerendered routes
SvelteKit's adapter-static emits the SPA fallback (200.html) with absolute
asset paths (/_app/...) and a hardcoded base: "", since it can't know the
deploy base path at build time. Prerendered per-route documents use relative
paths and a runtime-computed base, so they work under any base path, but the
fallback is used for non-prerendered dynamic routes (/spool/show/<id>,
/filament/show/<id>) -- exactly the URLs printed into QR labels. Under a base
path those direct loads 404'd every asset and rendered a blank page.

Rewrite the fallback server-side using the base path the backend already
knows, mirroring the legacy-client asset rewrite: prefix /_app/ and /favicon
references and set the runtime base. Prerendered docs are still served
verbatim, and the legacy client is unaffected (its tweaked_html is always
produced when rewrite_asset_paths is on, so the file_response guard change is
equivalent there).
2026-07-25 17:49:11 +02:00
Donkie 2f9259227d client_v2: drop "g each" from unused summary when spool weights differ 2026-07-24 10:49:51 +02:00
Donkie e6e3be2773 client_v2: add filament total-remaining summary; show large weights in kg
Add an aggregate remaining-weight line to the FilamentInspector spools
section (respects the showArchived toggle), answering the recurring
total-available ask (#572/#347/#265).

Switch inventory weight displays (group totals, library list, both
inspectors) to weightAuto so amounts >=1000 g render in kg. Floor the
kg value to one decimal so the figure never overstates what's on the
spool. Remove the now-unused kg() helper.
2026-07-24 10:41:24 +02:00
Donkie 7e309e36b9 client_v2: add material suggestions to filament inspector
Extract the AddSpoolModal material-list building into a shared, session-
cached loadMaterials() helper (mirrors getExternalMaterials' cache), and
use it to give the filament inspector's material field autocomplete via
Combobox. The inspector uses only the name suggestions and never prefills
density/diameter/temps, unlike the add-spool form.
2026-07-24 09:56:29 +02:00
DonkieandClaude Opus 4.8 054c59948e client_v2: portal inspector popovers to fix mobile misplacement
The Combobox location dropdown and DateTimeField calendar are position:fixed
and anchored to their trigger's viewport rect. On mobile the inspector renders
inside DetailPane's bottom sheet (transform) and the .insp panel
(container-type), both of which become the containing block for fixed
descendants, re-basing the popover's coordinates and dropping it far below its
field.

Add a portal action that reparents the popover to <body> so position:fixed
anchors to the viewport regardless of offsetting ancestors. DateTimeField's
outside-click handler now also checks the portaled popover so picking a date
doesn't close it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 10:40:30 +02:00
DonkieandClaude Opus 4.8 5222df98a3 client_v2: hide color swatch on non-filament group headers
Group headers rendered a Swatch unconditionally, but only filament
groups carry colors — vendor/material/location groups pass an empty
list, which swatchStyle() paints as a meaningless gray (#555) chip.
Only render the swatch when the group actually has colors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 10:30:29 +02:00
DonkieandClaude Opus 4.8 5eb660f420 client_v2: add ESLint + wire lint/format/typecheck into lefthook
client_v2 has matured, so enforce its checks like the old client:

- Add ESLint (typescript-eslint + eslint-plugin-svelte) with a flat
  config; `lint` now runs prettier --check and eslint.
- Add a "Client v2" group to lefthook pre-commit and ci: eslint,
  prettier, and svelte-check type checking (svelte-kit sync first).
- Exclude generated paraglide output from prettier.

Fix the linting warnings this surfaced: drop dead vars and an unused
svelte-ignore, mark intentional reactive reads with `void`, remove a
useless children snippet, and clean up useless string-literal mustaches.

Disable svelte/no-navigation-without-resolve (base-path resolution is
centralized in params.ts helpers, so the rule only false-positives and
wrapping call sites would double-apply the base path). Keep
svelte/prefer-svelte-reactivity on with per-line disables at the
transient-local Set/Map sites.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 10:23:17 +02:00
Donkie 52b0580df9 removed unused locales 2026-07-23 09:04:49 +02:00
Donkie 01be7b7572 minor package lock json update 2026-07-23 09:01:40 +02:00
DonkieandClaude Opus 4.8 f69d098473 client_v2: approve esbuild install script for npm 11 allowScripts
npm 11 holds back dependency install scripts unless allow-listed, printing
a notice for esbuild's postinstall. Approve it explicitly so `npm install`
runs cleanly; older npm versions ignore the unknown field harmlessly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 09:00:16 +02:00
Donkie df2cd09bcc client_v2: use real <a href> links for navigation
Navigation across the app was done with <button onclick> calling the
params.* router helpers, so the browser never treated these as links: no
middle-click/ctrl-click open-in-new-tab, no copy-link-address, no hover
URL preview. Add href-builder twins of the URL mutators in
library/params.ts (selectHref, selectHrefFromState, pageHrefFromState,
libraryHref, searchResultHref) and point real anchors at them; SvelteKit
intercepts the clicks for SPA nav while data-sveltekit-keepfocus/-noscroll
preserve the old goto() semantics.

Converted: spool/filament rows in the library list and inspectors,
breadcrumbs, filament/vendor group headers (material/location headers,
which navigated nowhere, are now inert divs), the spool inspector's
open-filament link and print-label button (Button gains an optional
href), search results, location chips (still drag items), and pagination.
Genuinely non-navigational actions (modals, sort/filter/group toggles,
expand/collapse, label-canvas selection) stay buttons.
2026-07-23 08:56:39 +02:00
Donkie 3d6888ec2c Added filament labels 2026-07-21 19:29:50 +02:00
Donkie ca8dba9e54 client_v2: redirect legacy /spool/show/<id> QR URLs to the library
Spoolman v1 QR labels (and the label designer's `url` encoding) point at
/spool/show/<id>, a route that no longer exists in client_v2. Add a
non-prerendered route whose load 307-redirects to /?sel=spool:<id>, so the
SPA fallback boots the app and the client-side redirect opens the spool.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-21 17:52:49 +02:00
Donkie 3a2fc68e1e client_v2: configurable custom QR URL target with {id} template
The QR "URL" encoding was hardcoded to <base_url>/spool/show/{id}. Add a
per-QR-element "Custom URL" encoding with a urlTemplate field so a printed
QR can point at a third-party scanner/app or a different host. The {id}
placeholder reuses the existing qrContent substitution.

The inspector seeds the field from the default URL form and warns that a
custom target won't scan back into Spoolman's own scanner. The no-spool
editor-canvas preview now renders the actual per-encoding template so the
QR module density matches what will print.

Requested in #68 and #741.
2026-07-21 17:45:53 +02:00
Donkie acb367262b client_v2: don't collapse a lone unused spool under a header
A group with a single unused spool now renders it inline as a normal
SpoolRow instead of behind an 'X unused' collapsing header, which added
a click and a row for no vertical-space benefit. The header only appears
when 2+ spools are unused.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-21 12:32:04 +02:00
Donkie 9b79135c1c client_v2: show an add-spools CTA when the library is empty
When the list has zero results and no filters are active the library is
genuinely empty (a fresh install), so nudge the user toward adding their
first spool instead of the generic "nothing matches the filters" line.
The CTA button opens the same add-spool modal as the top-right button.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-21 12:27:12 +02:00
Donkie ecd43bd51a backend: make color similarity search scale with matches, not catalog size
find_by_color loaded every filament as a full ORM object (with its vendor
join) into memory and computed delta-E in Python, then the endpoint re-queried
the matched ids anyway. The full-catalog ORM load dominated the cost: a color
search ran at a flat ~100ms regardless of how few results it returned, ~5-20x
slower than an equivalent regular filtered search, and each concurrent request
cloned the whole catalog into memory.

Scan only id/color_hex/multi_color_hexes and return the matched ids; callers
load full rows for just the matches. The matching algorithm is unchanged.
Color search now scales with the match count like any other filter: ~5-16x
faster here and the concurrency memory spike (+21MB at 8 concurrent) is gone.
Drops the "Slow operation!" note from the color_hex query param since it no
longer applies.

Verified across SQLite/Postgres/MariaDB/CockroachDB (372 integration tests
pass on each).

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-21 11:53:08 +02:00
Donkie 64d5f84bc3 Fixed swatch being messed up in addspoolmodal 2026-07-21 11:51:59 +02:00
Donkie 6ade40517f backend: notify spools when their filament changes
Spool responses carry fields derived from the filament (remaining_length,
plus the initial_weight/price fall-backs). Editing a filament emitted only a
filament WS event, so subscribers to that filament's spools kept stale derived
values until each spool was next touched — visible in client_v2 as a length
inconsistent with the displayed density, but affecting every consumer.

filament.update now re-broadcasts the filament's spools (archived included)
as spool "updated" events after commit. Adds a WS integration test asserting
a density patch reaches /api/v1/spool with the new density and changed length.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-21 10:58:09 +02:00
Donkie 990f16a8e9 client_v2: fetch deep-linked entities missing from the cache
The library inspector read purely from the reactive cache, which is only
filled by the list page, search and live events. A selection reached by
bookmark/QR/shared link (?sel=spool:4093) for an entity not on the loaded
page rendered the empty "select…" state.

Add fetchSpool/fetchFilament/fetchVendor single-entity fetches to
spoolSource (upserting the entity plus embedded relations; a 404 resolves
to undefined via swallow404). Inspector.svelte runs a fetch-on-select
effect that resolves a missing selection by id, showing a loading state
while in flight and a distinct not-found state for a deleted entity.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-21 10:45:39 +02:00
Donkie 9582962e37 client_v2: keep grouped-view sorting coherent
The Library's group list can only be ordered three ways by the backend
(group.title, group.total_remaining, group.last_used), yet the sort menu
offers ~20 fields. Picking any other sort while grouped silently fell back
to alphabetical group order and only reordered spools within each collapsed
group — an invisible, confusing no-op.

Enforce the invariant that a grouped view is only ever ordered by a
group-orderable sort (the axis's own name → group.title, remaining weight,
or last used). Picking a per-spool ranking now switches to the flat list
where the ranking is actually visible; regrouping while holding an
incompatible sort resets to the default group ordering. Axis-name sorts map
to group.title with a working direction toggle, and name/text sorts default
to ascending.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 23:17:28 +02:00
Donkie a34d52a597 client_v2: fall back empty locale values to base language
Weblate writes an empty string for every untranslated key. Paraglide
compiles a present-but-empty value into a message function that returns
"", so the site rendered a blank instead of falling back to English. A
key that is absent from a locale, by contrast, is re-exported from the
base locale and falls back correctly.

Add scripts/strip-empty-locales.mjs to delete empty/whitespace-only
leaves from the non-base locales/*/common.json before paraglide compiles
them, turning "present-but-empty" into "absent". Idempotent, base en
untouched, key order and formatting preserved. Wired as predev/prebuild
so builds stay correct if empties reappear from a later Weblate sync;
deliberately not a lint/CI gate, since empties are a benign expected
input to be neutralised, not forbidden.

Cleans 125 existing empties across 10 locales.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 16:32:04 +02:00
Donkie 5b5e07e2c1 client_v2: flatten color swatch and vary multi-color gradient
Replace the glossy 3D swatch (diagonal sheen + directional inset shade)
with a flat chip that keeps only two non-directional hairline rings for
edge definition on light and dark backgrounds.

Multi-color swatches now split into per-colour bands with softly feathered
boundaries instead of a full-slot blur, and the gradient angle follows the
filament's layout: coaxial splits side-by-side, longitudinal along the
strand, unknown stays diagonal. Direction is threaded through every Swatch
callsite, including the filament-grouped library header (already present in
the /spool/group response, just not mapped through before).

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 11:34:53 +02:00
Donkie 38397424ee client_v2: page grouped "show more" incrementally
The Library's grouped view fetched every "show more" click as a fresh window
from offset 0, so the request grew with each click (8 → 28 → 48 …), wasting
bandwidth and backend work. buildScopedSpoolQuery now takes an explicit offset,
and GroupRow's "show more" fetches only the next slice (offset = loaded count,
limit = 20) and appends it — a constant-size request per click.

The base-load effect still refetches from offset 0, but for as many rows as are
already shown (spools.length read via untrack, so appending doesn't re-trigger
it), so a live-event refresh keeps the expanded window instead of collapsing to
the first page. "Show more" is disabled during a base load so its append can't
race the replace, and its request aborts on unmount like the base one.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 11:17:03 +02:00
Donkie 128a0a4a34 client_v2: localize datetime formatting for extra fields and labels
Datetime extra fields rendered through their own path (native datetime-local
input when editable, new Date(v).toLocaleString() when readonly) while builtin
datetimes like Last Used render via DateTimeField with a localized label.
Extract that label logic into formatDateTime/dateLocale (utils/datetime.ts);
DateTimeField reuses it, and ExtraFieldInput now uses DateTimeField for editing
and formatDateTime for readonly display so both format identically.

Also localize two datetime helpers in map.ts: shortDate (registered/first-used
labels) used the browser locale instead of the app locale, and relTime
(last-used labels) hard-coded English unit letters. Both move to datetime.ts as
formatShortDate/formatDurationShort, using the app locale and Intl.NumberFormat
unit style. Formatters are memoized per locale since they run over every spool.

Also correct two mislabeled fields in the spool inspector's filament section
(weight and spool weight i18n keys).

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 11:05:10 +02:00
Donkie 4118ca5f2c client_v2: stop locations grid flickering as cards load
The locations page reflowed the whole grid every time a location's spool
query landed, on both axes:

- Vertical: each card started empty (~110px) and jumped to full height when
  its first page arrived, shoving cards below it down (bottom cards moved
  ~1162px on the 4158-spool stress DB). Reserve the body's final height up
  front from the location's spool count (known from the aggregate before any
  spool row is fetched), clamped to the same cap as max-height.

- Horizontal: a .shelf is a flex item, so its default min-width:auto grew as
  chips loaded, dropping the grid from N to N-1 columns and re-wrapping (cards
  jumped up to ~1575px sideways). Pin min-width:0 so column count depends only
  on flex-basis and available width, not content.

Measured with a per-animation-frame position sampler: horizontal travel now
0px and vertical ~4px (the loading bar) across 1440/1600/1920/2560 widths.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 09:06:25 +02:00
Donkie 2f25e76f5e client_v2: lighten print tab spool load, keep Recent complete
The print tab loaded up to 1000 spools on open — an extremely heavy query.
Preload only the latest 50 instead and move the search box to the backend
(/search for spool-native fields plus a single filament.id expansion so a
filament/vendor-name query still turns up spools), resolving results through
the reactive inventory cache so live edits/deletes reflect.

To keep the "Recent" quick-select accurate past the first 50, loadInitial now
pages newest-first while the batch is still inside the 24h window (batches of
100, capped at 1000, id-deduped), so every spool added today is loaded.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 08:28:50 +02:00
Donkie a733366be9 client_v2: abort in-flight list queries on navigation
Spamming between the Library and Locations pages queued up a heap of
spool queries that kept running after their view was gone: the results
were discarded, but the requests still cost bandwidth and backend work,
and piled up behind the browser's per-host connection limit.

Reads now take an optional AbortSignal (getList/getJson, SpoolQuery and
GroupQuery gain a `signal`), and every list view cancels what it no
longer needs on effect-cleanup / unmount: FilamentList, GroupRow,
PrintLayoutPanel and the locations page — whose MAX_INFLIGHT queue also
drops turns still waiting when the page went away. Writes deliberately
keep no signal, since a request that has left the browser has already
changed the server. isAbortError() takes the signal as the reliable
cancellation test, because an aborted fetch does not always reject with
a DOMException named AbortError.

Measured on a ~4900-spool backend, leaving the Library mid-load went
from 17 row queries still completing after navigation to 0 (all
cancelled), with no console noise and no stuck cards on return.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 08:01:40 +02:00
Donkie 505faf3b35 Load entity extra-fields with selectin instead of joined
The spool listing already joins spool -> filament -> vendor, so joined
eager loading of all three `extra` collections multiplied their rows
together. With ~12 spool, ~9 filament and ~9 vendor extra fields, a
single GET /spool?limit=30 made the database materialize ~35k wide rows
(one per field combination) and then spent most of its time in
SQLAlchemy de-duplicating them back into 30 objects.

Switch the three `extra` relationships to lazy="selectin" so each
collection is fetched in its own WHERE id IN (...) query and nothing
multiplies. Measured on a 4911-spool SQLite database, GET /spool?limit=30
drops from 431 ms to 12 ms and limit=100 from 1358 ms to 23 ms, with
byte-identical responses across the spool/filament/vendor/group/search
endpoints and all 371 integration tests green on SQLite, PostgreSQL,
MariaDB and CockroachDB.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-20 08:01:22 +02:00
Donkie e2a08c0cfd client_v2: load the locations page lazily instead of all at once
The page fetched every spool up front (limit 1000, sorted by location) and
re-ran that query on every live spool event. On a 4158-spool collection that
was 14.2 s and 1.82 MB, and it silently truncated: 76% of the spools never
appeared, so the per-card counts were wrong too.

One aggregate query (/spool/group?group_by=location, 10 ms / 2.1 KB) now
supplies every location and its exact count, and each card fetches its own
spools 30 at a time — starting when it scrolls into view, continuing as its
list is scrolled, capped at three requests in flight so a screenful of cards
doesn't queue behind the browser's per-host connection limit. Card bodies get
a max height and scroll internally. Live spool events are applied to the
loaded cards directly, with a single debounced aggregate refresh to
re-authorize the counts, rather than reloading everything.

Because a card now holds a page rather than the whole location, its saved
custom spool order can only speak for what is loaded; ids from the previous
order that aren't loaded are carried over behind the loaded ones instead of
being dropped.

Also fixes shelf reordering, which never worked under Svelte 5. The grid's
drag zone was armed by setting dragDisabled from the grip's own mousedown
handler, but svelte-dnd-action only attaches its mousedown/touchstart
listeners while dragDisabled is already false, and Svelte 5 flushes state
changes asynchronously — so the action updated after the press had passed and
the drag was never seen. Arm it from pointerdown (which precedes both
mousedown and touchstart) via flushSync so the listener is in place in time.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 14:39:42 +02:00
Donkie d580924d13 client_v2: add field help toggles to the inspector details
Adds an optional `help` prop to <Field> that renders the same ⓘ toggle and
popup the add-spool form uses, and wires up the existing fieldsHelp strings
for location, lot nr, price, article number, weight and spool weight in the
spool/filament/vendor inspectors.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 10:26:31 +02:00
Donkie 4e4313204e client_v2: add weight and spool weight to the filament inspector
Both fields were missing from the filament inspector's specs grid, and
filamentPatchToApi dropped them, so they couldn't be edited at all.

Spool weight is optional: blank sends an explicit null to clear the tare
weight, while net weight falls back to its current value when emptied.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 10:20:43 +02:00
Donkie c90cf9eb43 client_v2: fix crash inspecting a spool of a colorless filament
A filament with neither color_hex nor multi_color_hexes maps to an empty
colors array, and the spool inspector's color-hex row indexed [0]
unconditionally, throwing on render. Show the usual "—" placeholder
instead.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 10:18:35 +02:00
Donkie 5bd4fa594d client_v2: don't link a missing manufacturer in the breadcrumbs
A filament with no vendor resolved through inventory.vendorOf(), whose
placeholder shows as "?" — rendered as a clickable crumb leading to a
broken vendor page. The inspectors now resolve the vendor directly and
fall back to a muted, non-navigable "No manufacturer" crumb, and drop
the "?" from the filament subtitle and spool title as well.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 10:18:26 +02:00
Donkie 06eff55ccb client_v2: finish spool archiving in the library
The archive button wrote the flag but nothing reflected it afterwards:
the spool inspector showed no archived state and offered no way back,
and a filament's spool list silently dropped its archived spools.

- Spool inspector: ARCHIVED badge next to the id, and the button toggles
  between archive/unarchive. The optimistic cache patch is now rolled
  back when the PATCH fails instead of leaving a wrong local state.
- Filament inspector: "Show Archived" switch feeding allow_archived into
  the scoped spool query, off by default as in the library list.
  Archived rows are dimmed and labelled.
- archiveSpool(id) -> setSpoolArchived(id, archived).

Reuses existing locale keys, so no new strings for Weblate.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 10:12:59 +02:00
Donkie 43034dce50 client_v2: show help text on an empty locations page
When there are no saved locations and no spools, the page rendered as
just a header and an empty grid. Show locations.noLocationsHelp centered
instead, and hide the drag hint since there is nothing to drag.

Emptiness is only decided once both the spool list and the locations
setting have loaded, so the text doesn't flash on the way in.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 10:03:59 +02:00
Donkie 5bfaf9c5b2 client_v2: reuse v1 QR link strings in the label inspector
The QR element inspector had its own labels.enc*/labels.hintEnc* strings
duplicating printing.qrcode.useHTTPUrl.*, which already ships translated.
Switch to the existing keys and drop the five orphans from the en locale.

Adds the encoding preview the old print dialog had (useHTTPUrl.preview),
via a new qrTemplate() that returns the encoded string with a literal
{id}; qrContent() is now a substitution on top of it.

Reworded useHTTPUrl.tooltip in en only - same meaning, parallel sentences
per dropdown option. Existing translations of it still read the old
phrasing; v1's nested copy is untouched.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 10:01:36 +02:00
Donkie c72036f650 client_v2: save labels as images, with a configurable DPI
Adds a third mode to the label print panel, alongside Sheet and Label
printer: Image files. It saves one PNG per selected spool at the design's
label size, using the same Konva rasterizer that printing uses. Sheet
geometry and the copy count are ignored there — an exported image is meant
for a label printer or an image editor, where a tiled A4 page would just
have to be cut apart again, and copies would be byte-identical files.

Up to ZIP_THRESHOLD (5) labels download as individual PNGs, spaced apart
because browsers throttle bursts of programmatic downloads; past that they
arrive as a single zip built with fflate, dynamically imported so it stays
out of the main bundle and stored rather than deflated since PNG is already
compressed.

Also adds a per-design DPI setting that applies to printing as well as
export. Printing rasterizes through the same path, so a 300 dpi raster sent
to a 203 dpi thermal printer gets resampled by the driver either way — that
resolution mismatch, not the file format, is what issue #730 was actually
describing. Designs saved before this pick up the default via the
DEFAULT_LAYOUT spread in api/labelDesigns.ts; the v1 migration sets it
explicitly.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 09:53:35 +02:00
Donkie 593b653841 Match every whitespace-separated term in search
The search treated the whole query as one substring match, so "bambu
petg-cf" had to appear verbatim in a single field and returned nothing,
even though "bambu" and "petg-cf" each matched on their own. Vendor-name
matching also ran as a separate query, so a term could never be satisfied
by the vendor while another was satisfied by the filament.

Split the query on whitespace and require every term to match some
searchable field, letting different terms match different fields:

- Filaments search vendor.name in the same pass as their own fields via an
  outerjoin, replacing the separate vendor query. This is what makes
  "bambu petg-cf" work.
- Extra-field matching moves from a follow-up query to a correlated EXISTS
  inside each term's OR-clause, so extras participate in the AND too.
- Ranking generalizes to a per-field-kind base rank (native 0, vendor 2,
  extra 4) with prefix hits beating substrings. A row ranks by its worst
  term, so rows matching everything strongly sort first; the reported
  match_field is the single best hit.

Single-term queries behave as before. Standard SQL only (ilike, correlated
EXISTS), so this holds on all four supported databases.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 09:31:02 +02:00
Donkie 3f3f872310 client_v2: make the mobile inspector drawer draggable
The bottom sheet could only be dismissed by tapping, which felt static
next to a native mobile drawer. The grab handle now responds to drags:
the sheet tracks the pointer 1:1, snaps back below ~30% travel, and
dismisses past it or on a downward flick. Upward pulls are resisted
since there is nothing above to reveal, and the scrim fades in step with
the drag.

Pointer tracking lives on window rather than the sheet element — an
upward drag moves the pointer onto the scrim, and element-bound handlers
would stop firing mid-gesture.

Dragging from inside the scrollable body is only picked up when the body
is already at the top and the pull is downward, so ordinary scrolling is
untouched. On touch Chrome that gesture usually goes to the scroller
instead (see the note in the source); the handle, which is
touch-action:none, is the affordance that always works.

Claude-Session: https://claude.ai/code/session_014Cwk5Yyze9yPvkYkUtMAP4
2026-07-19 09:21:31 +02:00
Donkie 0e5573bc1f Added save/error toasts 2026-07-19 09:06:04 +02:00
Donkie d194cf3483 Reused some old strings 2026-07-19 08:55:47 +02:00
Donkie 57869fab88 Fix 500 on /info from unresolved get_external_db_name
The info endpoint called externaldb.get_external_db_name(), but the
api-layer externaldb module never re-exported that name from
spoolman.externaldb, so every /info request raised AttributeError ->
HTTP 500. Import the function directly from the core module and call it.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 23:55:11 +02:00
Donkie 29f0f362d4 client_v2: add multi-color filament support
Add a shared ColorEditor component (single/multi toggle, per-color
pickers + hex fields, add/remove colors, illustrated coaxial vs
longitudinal cards that preview the actual colors) and wire it into
both the add-spool create form and the library filament inspector,
which also gains its first color picker.

Colors and multi_color_direction round-trip through the API via a new
colorFieldsToApi helper that keys single- vs multi-color by count and
nulls out the other fields, so switching between them stays consistent.

Make color type filterable in the library toolbar (Single / Coextruded
/ Longitudinal) backed by a new additive filament.multi_color_direction
query param on the spool and spool/group endpoints; the Single option
sends an empty value to match single-color (NULL) filaments.

Also tidy a few inspector field labels to reuse the canonical
filament.fields.* / vendor.fields.* message keys.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 23:42:53 +02:00
Donkie 638466bc70 Bake client_v2 into the image and serve it by default
Build the new Svelte client (client_v2) in CI, bake it into the Docker
image alongside the legacy React client, and serve it by default. Set
SPOOLMAN_LEGACY_CLIENT=TRUE to fall back to the old client.

SinglePageApplication is generalized to serve either client: the React
client keeps its index.html + base-path rewriting, while the Svelte
client uses a 200.html SPA fallback, serves prerendered per-route pages,
and serves relative-path assets verbatim. The tweaked-HTML store is moved
off self.html, which StaticFiles uses as its HTML-mode flag.

The Playwright frontend suite targets the React DOM, so it's pinned to
the legacy client via SPOOLMAN_LEGACY_CLIENT for now.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 23:05:00 +02:00
Donkie 913e9116fa Make external filament library display name configurable
The external filament catalog defaults to SpoolmanDB but operators can
point EXTERNAL_DB_URL at their own catalog. The UI hardcoded "SpoolmanDB"
in a few places, which is misleading in that case.

Add an EXTERNAL_DB_NAME env var (default "SpoolmanDB"), expose it via
GET /info, and have client_v2 read it into a serverInfo store. Badges and
the results header now show the configured name, and the localized
strings that reference the library take it as a {name} parameter.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 19:59:32 +02:00
Donkie 6d2ba20023 search: match filaments by their vendor's name
Extend the cross-entity /search filament results to also include filaments
whose vendor name matches the query, so searching a manufacturer surfaces its
filaments (not just the vendor itself). Vendor-name matches rank below any
native-field match and report match_field "vendor.name". The extra-field
annotation block is factored into a helper to keep _search_filaments within the
complexity budget. The client search bar labels the new match_field as
"Manufacturer".

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 19:38:20 +02:00
Donkie 5811353670 client_v2: reuse cross-entity /search for the add-spool filament picker
The AddSpoolModal local catalog search only matched the filament name
(GET /filament?name=). Route non-empty queries through the same /search backend
the library search bar uses, so the picker also matches material, article
number, comment, extra fields and colour. Empty queries still browse the
catalog (sorted by name) so the picker has content on open.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 19:30:08 +02:00
Donkie ed758a1171 client_v2: search external filament catalog server-side
The external SpoolmanDB catalog (filaments.json, thousands of entries) was
served whole via GET /external/filament and filtered in the browser, so every
client downloaded the entire catalog just to search it.

Add a backend GET /external/filament/search?query=&limit= endpoint that filters
the catalog server-side (same word-AND, case-insensitive semantics as the old
client filter), memoizing the parsed catalog by file mtime. client_v2 now calls
it instead of downloading the whole file. The existing /external/filament
endpoint is unchanged, so external API consumers are unaffected. The small
materials.json is still fetched whole for new-filament presets.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 19:27:07 +02:00
Donkie f7103ec9e2 client_v2: live drag-drop for location cards and spools
Rework the Locations page onto svelte-dnd-action so that container
reordering, reordering spools within a location, and moving spools
between locations all update live while dragging, matching the old
client. Native HTML5 drag couldn't do live cross-card moves because the
dragged node is destroyed when it changes each-block.

Per-location spool order is persisted in the `locations_spoolorders`
setting (keyed by location name, "" for no location), shared with the
old client. Shelf dragging is gated to the grip handle via the library's
dragDisabled pattern so it doesn't hijack the nested spool zones.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 19:02:16 +02:00
Donkie 0c673f0403 client_v2: allow reordering location containers via drag-drop
The grip handle on each location card is now a drag source. Dragging a
card over another live-reorders them, and the order persists to the
server-side `locations` setting (an ordered JSON array) — the same store
the old client uses, so ordering survives reloads and is shared across
clients. The "No location" bucket participates like any other card, with
its slot tracked via an empty-string marker in that array.

Added locations now persist to the setting too (not just locally), so an
empty location gets a delete button to remove it again, and renames keep
a card's saved position.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 18:27:59 +02:00
Donkie 8ae45c03c5 client_v2: make label designer and print panels mobile responsive
Both the design and print tabs used fixed multi-column grids that never
collapsed, cramping the columns on narrow viewports. Add 860px/560px
breakpoints so the inspector/preview drop below and everything stacks on
phones.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 18:00:47 +02:00
Donkie 18b0a818bf client_v2: keep Library group control visible on mobile
The 'Group by' control was styled as a .link-btn, which the mobile media
query hid outright, removing all grouping control on small screens. Keep
both Group/Sort controls visible on mobile in a compact form (drop the
'Group by:'/'Sort by:' prefixes) and anchor the group menu to the right
edge so it stays aligned as the buttons shrink.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 17:57:33 +02:00
Donkie 28d840fc87 client_v2: move mobile Add Spools button into header
Replaces the floating FAB, which overlapped content in the mobile
library view, with a compact accent icon button in the header row
next to the scan button.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 17:51:37 +02:00
Donkie 9b16121ed2 Minor search backend issue fix 2026-07-18 15:55:06 +02:00
Donkie d7486d5d51 Improved filtering/sorting. Allows filtering/sorting by extra fields. 2026-07-18 15:54:58 +02:00
Donkie 9f893fb289 client_v2: auto-focus search box when Add Spools modal opens
Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 13:47:38 +02:00
Donkie 7c188c113a client_v2: quick-select recently added spools when printing labels
The label print picker now defaults to newest-first with a Newest/# sort
toggle, shows each spool's registration date, highlights spools added in
the last 24h, and adds a one-click "Recent (N)" quick-select so printing
labels for a freshly added batch is a single action.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 13:44:20 +02:00
Donkie f23f5611b2 client_v2: replace emoji/glyph icons with @lucide/svelte
Swap all emoji and text-glyph icons (✕ + ☑ ⚖ 🏭 🗓 ⌄ ↑↓ ‹› ▾▸ ◱ T ▧ ▭ ⠿ →)
and the custom scan SVG for Lucide icons across the toolbar, library,
add-spool, labels, locations, settings, datetime and QR scanner UIs.
Adds the missing Archive-button icon and strips the arrow from the
"Open filament" string in favour of an ArrowRight icon. Global .lucide
alignment rule in app.css. Purpose-built NumberInput stepper carets kept.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 13:05:58 +02:00
Donkie c0142c9bcf client_v2: fix Print N Labels count to include copies
The button showed only the number of selected spools, but printLabels
emits one label per copy per spool. Multiply by layout.copies so the
count matches the actual output.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 11:32:58 +02:00
Donkie 2b592abd5f client_v2: make DateTimeField week-start and clock locale-aware
The custom date/time picker used Intl only for month/weekday names but
hardcoded a Monday-first week and a 24-hour clock. Drive both from the
active locale via Intl instead:

- Week start comes from Intl.Locale weekInfo.firstDay (Sunday-first for
  zh-TW/pt-BR/ja-JP/pt-PT/ta-IN/th-TH, Saturday for fa-IR, Monday
  otherwise), reordering the weekday header and calendar grid. Falls
  back to Monday on browsers without week info.
- Locales that prefer a 12-hour clock get a 12/1..11 hour dropdown plus
  a localized AM/PM meridiem selector; the emitted value stays a 0-23
  hour so nothing downstream changes.
- Trigger label formats its time part through Intl too.

Claude-Session: https://claude.ai/code/session_01VQQtwPBPiMCoZCpBbbqS64
2026-07-18 11:31:33 +02:00
Donkie 8ab2060b96 client_v2: rework sheet print layout, import v1 presets, widen label field coverage
Sheet printing: the label size is now the fixed source of truth (set in the
designer), and the sheet lays those fixed-size labels on a user-chosen number of
columns anchored at the top-left margin, warning when the grid is wider than the
page instead of silently overflowing. Adds v1-style safe-zone margins that inset
only the outer labels' content, and a "fit width to columns" button.

Migration: first-time transfer of the v1 client's print_presets into v2 label
designs (layout ~1-1, QR+text elements, template field-paths rewritten), gated on
the label_designs setting never having been written.

Fields: carry vendor comment/externalId/registered and filament
comment/articleNumber/registered through the domain model, API mapping, patch
writers, label resolvers + designer palette, the filament/vendor inspectors, and
the add-spool new-filament form, so every printable field is also viewable and
editable in the app.
2026-07-18 09:53:55 +02:00
Donkie 351a09ca63 client_v2: replace deprecated $app/paths base with resolve()/asset()
SvelteKit deprecated the base/assets/resolveRoute exports from $app/paths
in favour of resolve() and asset() (since 2.26). Migrate all usages:
navigation targets use resolve(), static assets use asset(), and the few
spots that need the bare base string derive it from resolve('/').

Behaviour is unchanged under our paths.relative runtime base-path setup:
resolve()/asset() read the same runtime base, and with no configured
assets path asset() falls back to base, matching the old base + path.
2026-07-18 08:05:21 +02:00
Donkie 871fbdb444 Move locales out of static dir 2026-07-18 08:04:44 +02:00
Donkie ab38eb73ad client_v2: add unit-box numeric input and apply it across forms & inspectors
Give NumberInput a `unit` prop that renders inside the input (left of the
steppers), plus `dense` sizing, a `disabled` state, a numeric/commit
`onchange` mode, and an `onclear` hook for nullable fields. Fix a
min-content overflow so the flex control shrinks inside grid/flex cells.

Apply the unit input to:
- add-spool form (density, diameter, temps, weights)
- label designer, element inspector, print layout panel (mm)
- library adjust-weight field, and the filament/vendor/spool inspector
  detail grids (diameter, density, temps, price, empty-spool-weight)

Move the units out of the English label strings into the inputs; locale
keys are kept so Weblate translations aren't orphaned.
2026-07-17 17:48:47 +02:00
Donkie 287d3010ac client_v2: add light theme with system/light/dark preference
Adds a color-theme preference (system/light/dark) in Settings, persisted
to localStorage and defaulting to the OS preference. An inline script in
app.html resolves the saved theme before first paint to avoid a flash of
the wrong theme; the theme store keeps <html data-theme> and the
theme-color meta in sync reactively (including live OS changes).

The light palette is applied purely by overriding the design tokens under
:root[data-theme='light']. Hardcoded neutral/accent colors scattered
across components were converted to tokens (adding --surface-sunken,
--accent-muted[-2], --track, --swatch-border[-hover]) so both themes stay
in sync.
2026-07-17 16:17:27 +02:00
Donkie a1685f7428 client_v2: render color swatches as glossy chips (flat on labels)
Give the shared on-screen Swatch a physical color-chip look (diagonal
gloss sheen + hairline definition ring) instead of a flat rounded rect.
The printed/canvas label swatch stays flat but gains the same definition
ring so light colors read on white label stock.
2026-07-17 16:03:56 +02:00
Donkie bb2a21cb99 client_v2: store print layout per-design so margin edits are saveable
The Print-tab layout (margins, spacing, paper, copies) lived in a single
global localStorage key, separate from the design. Editing a field never
dirtied the design, so the Save button stayed disabled, and every design
shared one layout.

Move PrintLayout onto LabelDesign so each design carries its own layout:
editing any Print field now dirties the design and enables Save, and the
layout is persisted/recalled with the design. Old designs backfill from
DEFAULT_LAYOUT on load.
2026-07-17 15:31:51 +02:00
Donkie c30bbfea9d client_v2: render unused-spool summary as a sub-section divider under filament group
In the Group: Filament view, used SpoolRows shed their filament identity
(the sticky header already carries it), leaving a bare column grid. The
collapsed UnusedRow, still shaped like a filament-led row, clashed with
them. Under the filament group it now renders as a quiet collapsible
divider ("N unused · Xg each" + hairline rule) that introduces the unused
pile; expanding lists the spools as ordinary rows aligned with the used
siblings. Other group axes keep the filament-name-led summary, where the
name distinguishes different filaments' unused piles.
2026-07-17 14:09:28 +02:00
Donkie ebadc045aa client_v2: add archived-spool visibility to the library
Archived spools were excluded by the backend by default and the client
never opted in, so they were invisible with no way to view them.

Treat "show archived" as a filter: a checkbox at the bottom of the
toolbar's Filter menu, surfaced as a dismissible "Archived" chip among
the active-filter chips when on. It lives in the URL state (arch=1)
alongside group/sort/filters and drives allow_archived=true on the
/spool and /spool/group queries, so both flat and grouped views (and
group aggregates) include archived spools. Archived rows are dimmed and
carry an "Archived" tag. Default stays off, preserving prior behaviour.

Also split the toolbar into a wrapping filters region and a pinned
Group/Sort control cluster, so accumulating filter chips wrap onto new
rows instead of pushing Group/Sort down.
2026-07-17 13:51:30 +02:00
Donkie a9d93520eb Add custom Combobox for location/vendor/material inputs
Replaces native <datalist> inputs, whose dropdown wouldn't open on focus
and couldn't be styled. The new Combobox opens its list immediately on
focus/click, filters as you type, supports keyboard nav, commits on Enter,
and still allows entering brand-new free-text values. Its dropdown is
fixed-positioned so it isn't clipped by scrollable modal bodies.

Used for the SpoolInspector location field (the original request) and the
vendor, material, and location inputs in AddSpoolModal.
2026-07-17 13:28:23 +02:00
Donkie 63c2ad5d7e Use custom DateTimeField in add spool form
Replace native datetime-local inputs for first/last used with the
custom DateTimeField picker already used in the library inspector,
giving consistent, fully-clickable date+time selection across browsers.
2026-07-17 13:14:00 +02:00
Donkie 35f35b8bd3 Align COMMON_MATERIALS densities with SpoolmanDB
Corrected offline fallback densities in AddSpoolModal to match
SpoolmanDB's materials.json: ASA 1.07->1.05, Nylon 1.14->1.52,
PC 1.2->1.3, HIPS 1.04->1.03. These short keys never get overridden
by SpoolmanDB's longer names at runtime, so the values must be
correct on their own.
2026-07-17 13:09:20 +02:00
Donkie 7642eaae27 Fixed inspector not updating when adding new spools 2026-07-17 13:07:37 +02:00
Donkie cae436ee87 make label templates match old client better 2026-07-17 13:02:53 +02:00
Donkie c9cf7a6a12 Fixed some typescript errors 2026-07-17 12:57:35 +02:00
Donkie 532ffc8ccd Added some measurement validation to new spool form 2026-07-17 12:52:33 +02:00
Donkie d2435871de Improved layout of extra fields in inspector 2026-07-17 12:52:19 +02:00
Donkie d9c0a2a049 Empty box for no location in library 2026-07-17 12:36:25 +02:00
Donkie 48650cff96 i18n updates 2026-07-17 12:21:59 +02:00
Donkie bcdcf6f476 i18n updates 2026-07-17 11:18:13 +02:00
Donkie 30e2daf784 i18n wip updates 2026-07-16 22:58:11 +02:00
Donkie d65b50d5a2 Use paraglide for i18n in client_v2. Update base path handling 2026-07-16 18:41:01 +02:00
Donkie 9dcd6d56db Add rich text support for svelte i18n, parsing <p> tags etc. Also fixed some tags. 2026-07-13 23:26:55 +02:00
Donkie 7ea89dc347 Add cross-entity search to v2 client
Implements the search feature for client_v2: a new backend search endpoint
plus a results-panel UI, replacing the old query box that only filtered the
library list by filament name.

Backend (additive, API v1 backward compatibility preserved):
- New GET /api/v1/search returning categorized spool/filament/vendor results,
  each annotated with the field that matched, plus an is_color_query flag.
- Case-insensitive text search over native text fields and text/choice extra
  fields; exact spool-id match for numeric queries; color-similarity search
  (CSS color name or hex) via find_by_color, ordered closest first.
- spoolman/colors.py resolves the CSS4 color names / hex codes to hex.
- Integration tests (run across SQLite/PostgreSQL/MySQL/CockroachDB in CI).

Frontend (client_v2):
- SearchBox overlay with Spools/Filaments/Manufacturers sections, per-result
  match badges, keyboard navigation, a color-similarity threshold slider
  (persisted to localStorage), and an English-only color-name hint.
- Clicking a result opens the matching inspector on the Library page.
- Removes the old q -> filament.name inline list filtering.

Claude-Session: https://claude.ai/code/session_01Ne7RsfHejKZX97uAq3aVMn
2026-07-13 19:33:52 +02:00
Donkie 4bdebbdded Add localization to v2 client (svelte-i18n)
Introduce full i18n for the Svelte client_v2 using svelte-i18n (ICU/formatjs),
mirroring the old client's language support.

- i18n setup in src/lib/i18n/ (lazy per-language loaders, init + waitLocale boot
  guard, setLocale persisted to localStorage, Intl locale helper); 26-language
  registry ported from the old client.
- Language picker on the Settings page.
- scripts/convert-locales.mjs seeds static/locales/<lang>/common.json from the
  old client's Weblate files: {{var}} -> {var}, escapes literal braces, merges
  i18next plural suffixes into ICU plurals. Existing translations are reused via
  the same keys; new v2-only strings are added to en/common.json only and fall
  back to English until Weblate fills them.
- Extracted all hardcoded UI strings across routes and components to $_ lookups;
  DateTimeField derives month/weekday names from Intl in the active locale.
- static/locales is prettier-ignored (mirrors the old client's public/locales).

Follow-up (maintainer): add a Weblate component pointing at
client_v2/static/locales (nested JSON, ICU MessageFormat, English source).

Claude-Session: https://claude.ai/code/session_01Ne7RsfHejKZX97uAq3aVMn
2026-07-13 14:45:37 +02:00
Donkie cf82d5b68f Add camera QR scanner to v2 client
Restores the old client's built-in scanner: a TopBar button opens a
camera modal (qr-scanner) that reads Spoolman label codes and opens the
matching spool in the Library. Parses both the WEB+SPOOLMAN:S-<id> URI
and the /spool/show/<id> URL forms.

Camera-start errors are reported specifically: an insecure (non-HTTPS)
context is detected up front via isSecureContext, and other failures are
re-probed via getUserMedia to recover the real error (permission
blocked, no camera, camera in use) since qr-scanner collapses them all
into a generic string.
2026-07-13 11:04:20 +02:00
Donkie 0f7cdc6faf Add location rename and richer spool info on Locations page
Location names can now be edited inline (renaming moves all spools in
that location to the new name via a new spoolSource.renameLocation).
Spool entries on the Locations page now show vendor, material, full
weight, and last-used time, matching the old client's layout.
2026-07-13 10:49:15 +02:00
Donkie 99928b5469 Fix QR logo backing corners and preserve tab state in label designer
Square off the QR logo's white backing (was rounded, letting black
modules peek through at the corners) and keep both Design/Print tabs
mounted once visited so switching tabs doesn't reset local state.
2026-07-13 10:32:08 +02:00
Donkie 46b69808a6 WIP: add label designer and misc v2 client improvements
Adds a label design/print subsystem (canvas editor, QR/logo/paper
helpers, print layout panel) backed by a new label_designs setting,
plus a footer, datetime field component, and assorted fixes across
the library and settings views.
2026-07-13 10:10:40 +02:00
Donkie c82e3911e1 WIP: add v2 client (Svelte) with spool grouping backend
Introduces client_v2, a new SvelteKit-based client, alongside the
backend it depends on: a /spool/group endpoint that returns
per-group aggregates (count, in-use count, remaining weight,
last-used) grouped by filament, vendor, material or location, so the
client can paginate whole groups instead of fetching every spool.

Not yet complete/wired up for release.
2026-07-12 19:21:34 +02:00
470d8f3bcc Add filtering and sorting for custom fields (#773)
* Add filtering and sorting for custom fields

* Fix tests and make code postgres compatible

* Fix bugs and expand test coverage for custom field filter/sort

* trigger CI

* fix: address extra field filter review feedback

* fix: clean up custom field table state handling

* docs: update extra field table view description

* fix: narrow boolean custom field filter syntax

* Expand test coverage for all custom field types/entities and fix range filter/sort

- Add comprehensive tests covering all 9 field types (text, integer, float,
  boolean, single-choice, multi-choice, datetime, integer_range, float_range)
  for filter and sort on spool, filament, and vendor entities
- Add invalid-filter 400 tests for float, integer_range, and float_range
- Fix integer_range/float_range filter to use LIKE pattern matching against
  Python's deterministic json.dumps output instead of fragile .contains()
- Add integer_range/float_range sort support via a @compiles helper
  (_JsonArrayFirstElement) that emits CAST(col AS JSON)->>0 on PostgreSQL
  and JSON_EXTRACT(col, '$[0]') on SQLite/MariaDB
- Add logger and __all__ to extra_fields.py (aligns with PR #893)
- All tests verified passing on postgres, sqlite, and mariadb

* Add filter UI for all custom field types and fix range filters

- Add text input filter dropdown for text fields (substring search)
- Add range input filter dropdowns (min/max) for integer, float, integer_range, and float_range fields
- Add datetime picker filter dropdown for datetime fields
- Fix boolean "No" filter to use empty value so it correctly matches unset/false fields
- Fix integer_range/float_range filter to use numeric comparisons instead of LIKE-based exact matching (stored_min >= filter_min, stored_max <= filter_max)
- Add range filter support for integer/float fields (min:max format)
- Add _JsonArraySecondElement cross-database helper for extracting second JSON array element

* Range filter for integer/float fields and fix range_field filter semantics

Backend:
- Add _JsonArraySecondElement cross-database helper (mirrors _JsonArrayFirstElement)
- integer_range/float_range filter now uses numeric comparisons:
  stored_min >= filter_min and stored_max <= filter_max (was LIKE exact match)
- integer/float filter now supports min:max range format in addition to exact match:
  stored_value >= min and/or stored_value <= max

Frontend:
- integer and float fields now use a range filter dropdown (min/max inputs)
  instead of a single exact-value input

Tests:
- Fix integer_range/float_range spool and vendor tests broken by new >= semantics
  (filter values updated to discriminate between test entries)
- Add range filter tests (min only, max only, both) for integer and float fields

* Replace 12 copy-pasted numeric field tests with 4 parametrized tests

Introduce a _create_entity helper and @pytest.mark.parametrize("entity_type",
["spool", "filament", "vendor"]) to run each numeric field type test against
all three entity types from a single test function.

- Removes 12 individual tests (integer/float/integer_range/float_range × 3 entities)
- Adds 4 parametrized tests covering the same ground plus the previously missing
  min-only / max-only range filter cases for filament and vendor
- Uses try/finally for cleanup so entities are always deleted even on assertion failure

* Add datetime range filter and restore integer/float range filter support

- Backend: add datetime range filter using '|' separator (ISO dates contain ':')
- Backend: restore integer/float range filter support (lost during attribution rewrite)
- Frontend: replace single DateTimePicker with From/To range pickers for datetime fields

* Use local timezone in filter picker; add range filter tests

The DateTimeRangeFilterDropdown was initializing pickers with dayjs.utc(),
causing them to display and accept UTC times directly. The entry form shows
local time and converts to UTC, so the filter was inconsistent: entering
the same displayed time would produce a filter value 2h offset from what
was stored (in UTC+2), making exact boundaries fail unexpectedly.

Fix: initialize picker values with dayjs() (local mode) so the filter picker
behaves the same as the entry form — shows local times and converts to UTC.

Tests: replace 3 separate entity-specific datetime tests with one parametrized
test covering spool/filament/vendor, and add range filter cases (start|, |end,
start|end).

* Replace all entity-specific tests with parametrized tests

Replace 16 separate spool/filament/vendor tests for text, boolean,
single-choice, multi-choice, and empty-filter with 5 parametrized tests
that run against all three entity types. Each test is now defined once
and executed 3 times, eliminating copy-paste and ensuring consistent
coverage across all entity types.

Parametrize invalid-filter-value 400 tests across all entity types

The non-numeric-value error uses "Invalid integer/float range filter value"
while the missing-colon error uses "Invalid range filter value". Both contain
"range filter value", so use that as the assertion substring.

* Align custom filter dropdowns with Ant Design choice filter style

All three custom filter dropdowns (text, number range, datetime range) now
match the built-in choice filter footer: a border-top separator, Reset as a
link button on the left (disabled when no filter is active), and OK as a
primary button on the right.

* fix(fields): correct custom-field filter edge cases across databases

- Float exact-match filters now compare numerically (cast to Float) instead of
  by JSON string, so float fields stored as integer JSON (e.g. "2") or
  non-canonical decimals (e.g. "2.50") match an equivalent filter.
- integer_range/float_range filter and sort no longer return HTTP 500 on
  CockroachDB: the PostgreSQL '->>' JSON extraction is now also registered for
  the cockroachdb dialect, which previously fell back to the unsupported
  JSON_EXTRACT function.
- Text exact-match and single-choice equality use ensure_ascii=False so
  non-ASCII values match how the frontend's JSON.stringify stores them.

Co-authored-by: Dieter Blomme <dieterblomme@gmail.com>

* test(fields): expand custom-field filter/sort coverage

Add tests covering filter composition (multiple extra fields, extra + built-in,
filter one field / sort another), pagination total-count, unknown-field
handling, text case-insensitivity/substring/non-ASCII, numeric multi-value OR,
boolean empty semantics and token rejection, multi-choice substring collisions,
empty filters on numeric fields, null-bounded ranges, and additional
invalid-value 400 paths.

Verified against sqlite, postgres, mariadb and cockroachdb.

Co-authored-by: Dieter Blomme <dieterblomme@gmail.com>

* style(client): format column.tsx with prettier

The custom-field filter dropdowns' Reset buttons were written as one-line
onClick handlers that prettier wraps across multiple lines. Apply prettier
so the CI style check passes.

Co-authored-by: Dieter Blomme <dieterblomme@gmail.com>

* fix(fields): decode JSON scalars in-DB for text/choice/datetime custom-field filters

Match text, single-choice and datetime custom-field filters against the
database-decoded JSON scalar (new _JsonScalarText cross-dialect helper:
#>> '{}' on postgres/cockroachdb, JSON_UNQUOTE(JSON_EXTRACT) on mysql,
json_extract on sqlite) instead of reconstructing the exact JSON
serialization the client wrote. This decouples matching from
json.dumps/JSON.stringify encoding quirks (non-ASCII escaping, surrounding
quotes). Also escape LIKE wildcards so '%' and '_' in text and multi-choice
queries match literally rather than acting as wildcards.

Verified against sqlite, postgres, mariadb and cockroachdb.

Co-authored-by: Dieter Blomme <dieterblomme@gmail.com>

* test(fields): cover LIKE-wildcard escaping in custom-field filters

Add parametrized tests (spool/filament/vendor) asserting that '%' and '_'
are matched literally in text and multi-choice filters, that a literal '/'
(the internal LIKE escape char) matches literally, and that single-choice
equality handles a '%' value exactly.

Co-authored-by: Dieter Blomme <dieterblomme@gmail.com>

---------

Co-authored-by: Donkie <daniel.cf.hultgren@gmail.com>
Co-authored-by: akira69 <akira69@gmail.com>
2026-07-08 10:14:27 +02:00
Donkie 103e029434 Bump version to 0.24.0 2026-07-07 09:48:12 +00:00
Donkie 92da7fd110 feat(i18n): add Lithuanian and Turkish locales
Rework check-i18n to measure real translation coverage against en
(non-empty and differing from the reference) instead of file size,
gating inclusion at 50%. Add lt and tr, both ~96% translated.

Claude-Session: https://claude.ai/code/session_01BQjJiwEbu6bHbeDjPPDm3V
2026-07-07 11:40:48 +02:00
+1 991feb36bb Translations update (#825)
* Translated using Weblate (Estonian)

Currently translated at 17.3% (50 of 288 strings)

Translated using Weblate (Persian)

Currently translated at 96.5% (278 of 288 strings)

Translated using Weblate (French)

Currently translated at 98.9% (285 of 288 strings)

Translated using Weblate (Greek)

Currently translated at 72.9% (210 of 288 strings)

Translated using Weblate (Dutch)

Currently translated at 99.3% (286 of 288 strings)

Translated using Weblate (Hungarian)

Currently translated at 72.2% (208 of 288 strings)

Translated using Weblate (Danish)

Currently translated at 85.4% (246 of 288 strings)

Translated using Weblate (Thai)

Currently translated at 98.6% (284 of 288 strings)

Translated using Weblate (Japanese)

Currently translated at 99.3% (286 of 288 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/da/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/el/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/et/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fa/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/hu/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ja/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/th/
Translation: Spoolman/Web Client

* Translated using Weblate (Ukrainian)

Currently translated at 93.0% (268 of 288 strings)

Translated using Weblate (Greek)

Currently translated at 72.9% (210 of 288 strings)

Translated using Weblate (Hungarian)

Currently translated at 72.2% (208 of 288 strings)

Co-authored-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/el/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/hu/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/uk/
Translation: Spoolman/Web Client

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 98.6% (284 of 288 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 99.3% (286 of 288 strings)

Translated using Weblate (Hindi (Latin script))

Currently translated at 3.8% (11 of 288 strings)

Translated using Weblate (Swedish)

Currently translated at 94.7% (273 of 288 strings)

Translated using Weblate (Ukrainian)

Currently translated at 93.0% (268 of 288 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/hi_Latn/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/sv/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/uk/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hant/
Translation: Spoolman/Web Client

* Translated using Weblate (Danish)

Currently translated at 87.1% (251 of 288 strings)

Co-authored-by: srbjessen <srbjessen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/da/
Translation: Spoolman/Web Client

* Translated using Weblate (Czech)

Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client

* Translated using Weblate (Korean)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Korean)

Currently translated at 78.1% (225 of 288 strings)

Added translation using Weblate (Korean)

Co-authored-by: 김태남 <imedia0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ko/
Translation: Spoolman/Web Client

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Kayz C <kayzed.x@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hant/
Translation: Spoolman/Web Client

* Translated using Weblate (Slovenian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Slovenian)

Currently translated at 38.1% (110 of 288 strings)

Translated using Weblate (Slovenian)

Currently translated at 14.9% (43 of 288 strings)

Added translation using Weblate (Slovenian)

Co-authored-by: Jernej Pangerc <jernejp21@tuta.com>
Co-authored-by: jernejp21 <jernejp21@tuta.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/sl/
Translation: Spoolman/Web Client

* Translated using Weblate (Slovak)

Currently translated at 10.4% (30 of 288 strings)

Translated using Weblate (Slovak)

Currently translated at 9.7% (28 of 288 strings)

Added translation using Weblate (Slovak)

Co-authored-by: Pavol Vrba <pvrba2000@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/sk/
Translation: Spoolman/Web Client

* Translated using Weblate (Hungarian)

Currently translated at 94.0% (271 of 288 strings)

Co-authored-by: Tamas Veres <tamas.veres@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/hu/
Translation: Spoolman/Web Client

* Translated using Weblate (Danish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Danish)

Currently translated at 92.0% (265 of 288 strings)

Co-authored-by: JonasBentin <jonasbentin19+github@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/da/
Translation: Spoolman/Web Client

* Translated using Weblate (Latvian)

Currently translated at 4.5% (13 of 288 strings)

Added translation using Weblate (Latvian)

Co-authored-by: Jurijs Kiricenko <jurijskiricenko@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/lv/
Translation: Spoolman/Web Client

---------

Co-authored-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
Co-authored-by: srbjessen <srbjessen@gmail.com>
Co-authored-by: Miloslav Kos <kos.m@post.cz>
Co-authored-by: 김태남 <imedia0@gmail.com>
Co-authored-by: Kayz C <kayzed.x@gmail.com>
Co-authored-by: jernejp21 <jernejp21@tuta.com>
Co-authored-by: Pavol Vrba <pvrba2000@gmail.com>
Co-authored-by: Tamas Veres <tamas.veres@gmail.com>
Co-authored-by: JonasBentin <jonasbentin19+github@gmail.com>
Co-authored-by: Jurijs Kiricenko <jurijskiricenko@gmail.com>
2026-07-07 11:34:48 +02:00
Donkie e2ab72b5d0 feat(theme): add 'System' option that follows OS/browser theme (#947)
Replace the light/dark switch with a 3-way System/Light/Dark control. The new
'System' preference follows prefers-color-scheme live via a matchMedia listener.
New installs default to System; existing users keep their stored light/dark
choice (legacy values remain valid preferences).

Claude-Session: https://claude.ai/code/session_01BQjJiwEbu6bHbeDjPPDm3V
2026-07-07 11:28:51 +02:00
Donkie 8c262a640d feat(scanner): accept Data Matrix and other 2D codes (#887)
Widen the code scanner's accepted formats beyond qr_code to the common 2D
matrix codes (micro/rm QR, Data Matrix, Aztec, PDF417) so manually-generated
labels using those symbologies can be scanned. Payloads that don't match the
spoolman spool format are ignored, so this is a safe superset.

Claude-Session: https://claude.ai/code/session_01BQjJiwEbu6bHbeDjPPDm3V
2026-07-07 11:28:51 +02:00
Marco Thiel 4854e322dc docs: add MCP server to integrations list (#890)
Add spoolman-mcp to the list of integrations. It's a Model Context
Protocol server that lets you manage your filament inventory through
AI assistants like Claude.
2026-07-07 11:05:19 +02:00
dependabot[bot] ad79373dd0 Bump uuid from 13.0.2 to 14.0.0 in /client (#927)
Bumps [uuid](https://github.com/uuidjs/uuid) from 13.0.2 to 14.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v13.0.2...v14.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 14.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-07 10:52:29 +02:00
Donkie 5c8364fcea Remove hashes from requirements.txt 2026-07-07 10:12:35 +02:00
Donkie 2c638da22a Auto-merge Weblate translation PRs on green CI
Weblate opens a PR for every translation sync. These are machine-generated,
always scoped to client/public/locales/, and gated by the full CI suite, so
hand-merging each one is pure friction. This enables GitHub auto-merge on
Weblate-authored PRs so they merge themselves once required checks pass.

A scope-guard step reads the PR's file list from the API and refuses to enable
auto-merge unless every changed file is a .json under client/public/locales/,
so the trust is in the diff, not just the author: a compromised Weblate token
can open a PR but can only be auto-merged if it is confined to translations.

Claude-Session: https://claude.ai/code/session_01BQjJiwEbu6bHbeDjPPDm3V
2026-07-07 10:11:28 +02:00
chruoss 295265f60d Update sync interval for external database synchronization (#943)
The external database sync scheduler was ignoring the configured
EXTERNAL_DB_SYNC_INTERVAL environment variable and always using the DEFAULT_SYNC_INTERVAL constant (3600 seconds).
2026-07-07 10:07:21 +02:00
Donkie 4f6763716c Merge pull request #919 from velzi/export
Allow archived spool export
2026-07-07 09:49:36 +02:00
Donkie 48ad01b09b Add CI guard blocking manual edits to non-English translations
Non-English locales are managed exclusively through Weblate; any manual
edit to an existing translation file gets silently overwritten on the
next Weblate sync. This workflow fails any PR (except Weblate's own,
detected via PR author login) that modifies or deletes an existing
non-English file under client/public/locales/. Adding a brand-new
language file is still allowed so contributors can bootstrap a new
language alongside the client/src/i18n.ts entry.

Claude-Session: https://claude.ai/code/session_01BQjJiwEbu6bHbeDjPPDm3V
2026-07-07 09:35:12 +02:00
Donkie d9fd44eab9 Add Playwright frontend integration tests; fix broken SPA static serving
Add a browser-driven integration suite (tests_frontend/) that runs against
the real production image + PostgreSQL and drives the UI with Playwright:
a smoke test that navigates every page via the sidebar with no console
errors, and a CRUD test that creates a vendor -> filament -> spool entirely
through the UI. Wired up as `poe itest-frontend` and a new `test-frontend`
CI job (reusing the image built for the backend tests, gating releases).

Navigation goes through real UI buttons (language-independent link targets)
and the app language is forced to English so label matchers are stable
regardless of the runner's browser locale.

This immediately caught a real regression: Starlette 1.3.1 (pulled by a
recent dep bump) removed the `method` kwarg from FileResponse, so
SinglePageApplication 500'd on every static asset and the whole UI was dead.
Drop the removed kwarg — Starlette now derives HEAD handling from the scope.

Claude-Session: https://claude.ai/code/session_01BQjJiwEbu6bHbeDjPPDm3V
2026-07-07 09:12:42 +02:00
Donkie da54ead06f Bump deps to clear Dependabot alerts (path-to-regexp, pytest)
- path-to-regexp: force >=8.4.0 (8.4.2) under @ant-design/pro-layout via a
  scoped npm override, fixing the ReDoS advisories (GHSA sequential optional
  groups + multiple wildcards). Express keeps its own 0.1.x.
- pytest 8.3 -> 9.1.1 and pytest-asyncio 0.23/0.25 -> 1.4.0 in
  tests_integration/requirements.txt and the dev group; regenerated uv.lock.

Verified: client build + typecheck pass, npm audit clean, and the full
integration suite (223 tests) passes on postgres, sqlite, mariadb, and
cockroachdb under podman.

Claude-Session: https://claude.ai/code/session_01BQjJiwEbu6bHbeDjPPDm3V
2026-07-06 20:39:46 +02:00
Donkie 9b6af119c6 Fix commit-before-notify races in write paths (flaky postgres deletes)
Several DB write functions mutated and then sent their websocket notification (or
just returned) without committing, relying on the request session's teardown
commit. On async postgres that commit races the HTTP response, so a fast
follow-up read could still see the pre-write state — e.g. `DELETE /vendor/{id}`
returns 200 but an immediate `GET` still returns 200. Latent since 2023 (a6d527a);
the async-timing dependency bump widened the window enough to intermittently fail
`test (postgres)` in CI.

Commit inline before notifying, matching the functions that already did
(filament.delete, vendor/spool create/update) and the commit-first invariant from
the earlier websocket-ordering fix:
- vendor.delete, spool.delete
- setting.update, setting.delete
- vendor/filament/spool.clear_extra_field
- spool.rename_location

(use/measure already commit via their wrappers; reads are unaffected.)

Verified via `SPOOLMAN_CONTAINER_ENGINE=podman poe itest`: full 4-DB suite green
plus 7/7 repeat postgres runs with zero flakes (was ~66% failing before).
2026-07-06 15:53:40 +02:00
Donkie 3a3273d9a9 Merge PR #798 (current head): tidy unprivileged Docker support
Brings in the latest #798 commit (388082f) that our earlier merge missed: it
drops --chown from the builder COPYs (matching the Podman build fix already on
master), removes the redundant `usermod -G users app`, and simplifies the
entrypoint to re-exec itself via gosu when root instead of duplicating the
uvicorn invocation. Dockerfile comment conflict resolved in favour of the
Podman-explaining comment.
2026-07-06 15:22:03 +02:00
Donkie c81920d23c Merge PR #798: conditional permission drop for unprivileged Docker
Brings in jpiccari's unprivileged-Docker support (rootless entrypoint that only
uses gosu when running as root and only remaps app UID/GID when they differ, plus
dropping the redundant `groupmod -g 1000 users` in the runner stage).

Combines cleanly with the Podman build/test enablement already on master
(builder-stage --chown removal, postgres healthcheck, run.py engine selection),
giving full rootless build + run + test support.
2026-07-06 15:14:49 +02:00
Donkie e3c5f3fc1d Make the integration test suite runnable under Podman
Running tests_integration against rootless Podman surfaced three issues; none
affect the Docker/CI path:

- run.py: add a SPOOLMAN_CONTAINER_ENGINE env var (defaults to "docker") so the
  build/compose commands can be driven by podman instead.
- Dockerfile: drop `--chown=app:app` from the builder-stage COPYs. The "app"
  user only exists in the runner stage; Docker/BuildKit tolerated the dangling
  reference but Podman rejects it. Final ownership is unchanged — it is set when
  the files are copied into the runner stage.
- docker-compose-postgres.yml: add a pg_isready healthcheck and gate spoolman on
  `condition: service_healthy`, matching the mariadb/cockroachdb compose files.
  Without it spoolman raced postgres' initdb and died on connection-refused
  before running migrations.

Verified: full 4-DB suite (sqlite/postgres/mariadb/cockroachdb) green via
`SPOOLMAN_CONTAINER_ENGINE=podman uv run poe itest` — 223 tests each.
2026-07-06 12:16:17 +02:00
Donkie 4e3c228b28 Update client dependencies (npm update)
Refresh transitive client dependencies to the latest versions within the
existing package.json semver ranges (package.json unchanged).

Verified: npm ci, tsc --noEmit, eslint, prettier --check, and npm run build all
pass. (3 high-severity advisories remain that require major/breaking bumps via
`npm audit fix --force`; left for a separate, deliberate change.)
2026-07-06 12:05:25 +02:00
Donkie 059ff94f4b Update Python dependencies (uv lock --upgrade)
Refresh all backend dependencies to the latest versions allowed by the
pyproject constraints and regenerate requirements.txt to match. Notable bumps:
starlette 0.50 -> 1.3, fastapi 0.128 -> 0.139, cryptography 46 -> 49,
uvicorn 0.40 -> 0.50, pydantic 2.12 -> 2.13, sqlalchemy 2.0.45 -> 2.0.51,
alembic 1.17 -> 1.18.

Locally verified: uv sync, ruff check, uv lock --check, app import, and a live
startup smoke (SQLite) — migrations run, /health + /info respond, vendor CRUD
works, and a websocket update event is delivered correctly on starlette 1.x.
The Docker-based 4-DB integration suite still needs to run (CI).
2026-07-06 12:05:25 +02:00
Donkie 9f30c16e4b Document that extra field values are JSON-encoded strings (#849)
The `extra` map on vendors, filaments and spools is intentionally typed as
dict[str, str] where every value is a JSON-encoded string (the client round-
trips them through JSON.parse/stringify). This surprised API consumers, who
saw numeric fields come back as strings.

Spell out the encoding on all three response models via a shared helper so the
generated OpenAPI docs make clear that consumers must JSON-decode each value.
No behaviour change.
2026-07-06 11:50:31 +02:00
Donkie 14a30bc3c5 Commit generated requirements.txt for bare-metal/Moonraker installs (#830)
requirements.txt was moved to .gitignore when the project switched to uv, so
bare-metal installs lost it. Moonraker's update_manager runs
`pip install -r requirements.txt` against the checkout, so upgrading to 0.23
broke with "Invalid path for option `requirements`".

Track requirements.txt again and regenerate it from uv on every release
(spoolman/bump.py exports it alongside the uv.lock bump), keeping uv as the
single source of truth while staying backwards compatible with installs that
expect a requirements.txt.
2026-07-06 11:50:22 +02:00
Donkie 025f18f914 Fix spool price disappearing from the list on live updates (#814)
The REST endpoints serialize with response_model_exclude_none=True (unset fields
are omitted), but websocket events were serialized with a plain .json() that
includes unset fields as explicit null. The spool list fills a missing price
from the filament price only when it is `undefined`, so a live update carrying
`price: null` (e.g. after a quick weight adjust) blanked the price column until
a full page reload.

Fixed on both sides so the two serialization paths can no longer drift:
- Server: websocket payloads now use exclude_none=True (spoolman/ws.py), giving
  live updates and REST responses an identical shape. Note this is a small
  websocket wire-format change external consumers will see: unset fields are now
  omitted instead of sent as null, matching REST.
- Client: collapseSpool and the price column now fall back for both `null` and
  `undefined`, keeping the list resilient regardless of serialization.
2026-07-06 11:50:07 +02:00
Joshua Piccari 388082f27a Tidy up docker file and entrypoint 2026-04-26 14:29:48 -07:00
Veli-Matti Leppänen 7fae319b82 Allow archived spool export 2026-04-21 09:49:30 +03:00
Joshua Piccari 137558639a Add conditional logic to drop permissions for unprivileged Docker
This change enables the container to run in unprivileged mode (without
--privileged or additional capabilities) by making permission drops
conditional:

- Changed users group GID from 1000 to 1001 to avoid conflicts with
  the app user's primary group (UID 1000)
- Only modify user/group IDs when PUID/PGID environment variables differ
  from the default value of 1000, avoiding unnecessary privilege
  requirements
- Skip su-exec entirely when running as the default user, since changing
  user context requires additional capabilities that unprivileged
  containers don't have

This allows the container to work in restricted environments like
Kubernetes with security contexts or rootless Docker while maintaining
backward compatibility for users who customize PUID/PGID.

Fixes Donkie#791
2026-02-28 10:43:50 -08:00
Donkie eafbc64937 Bump version to 0.23.1 2026-02-03 16:27:38 +00:00
Donkie 1be0884729 Merge pull request #822 from Donkie/dependabot/npm_and_yarn/client/lodash-es-4.17.23
Bump lodash-es from 4.17.22 to 4.17.23 in /client
2026-01-27 21:52:28 +01:00
Donkie e77bea1bc2 Merge pull request #823 from Donkie/dependabot/npm_and_yarn/client/lodash-4.17.23
Bump lodash from 4.17.21 to 4.17.23 in /client
2026-01-27 21:52:11 +01:00
Donkie 5dc26946cb Merge pull request #831 from nyanotech/asdf
explicitly disable pagination for useSelect
2026-01-27 21:51:13 +01:00
nyanotech 34c09d3f55 explicitly disable pagination for useSelect 2026-01-27 03:39:48 -08:00
Donkie 7f14cbdaa9 Added rsa variant of aiomysql to add support for better mysql password methods. 2026-01-24 15:59:53 +01:00
Donkie 115e29bdaf Bump version to 0.23.0 2026-01-23 20:21:50 +00:00
Donkie 6d817d8c2b Fix package.json not being written with newline at end of file 2026-01-23 21:21:00 +01:00
Donkie c033a3ffe6 Fix trigger release ci 2026-01-23 21:09:39 +01:00
Donkie 1974d4b8d2 Version bump updates 2026-01-23 21:07:45 +01:00
dependabot[bot] c3ef318cb0 Bump lodash from 4.17.21 to 4.17.23 in /client
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 09:57:45 +00:00
dependabot[bot] bc442f5063 Bump lodash-es from 4.17.22 to 4.17.23 in /client
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.22 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits/4.17.23)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 02:00:21 +00:00
Donkie dd0476ced3 Don't use uv specific image in dockerfile, it doesn't support armv7 2026-01-20 22:11:46 +01:00
Donkie 6f9dfd1be7 uvicorn logging fixes 2026-01-19 20:47:06 +01:00
Donkie 29aa9f8d54 Fix fastapi deprecation notices 2026-01-19 20:40:38 +01:00
Donkie 251f7e2ede Removed max height from locations page
Fixes #816
2026-01-19 20:36:11 +01:00
Donkie f137535c1e Merge pull request #811 from kaufi95/master
Bugfix for issue #803 and #805
2026-01-18 23:02:37 +01:00
Donkie fb83220739 Merge pull request #777 from beikeland/AplhanumericQR
All caps short QR codes for alphanumerical encoding
2026-01-18 22:54:10 +01:00
Donkie fdf317fc13 Merge pull request #817 from Donkie/dependabot/uv/setuptools-78.1.1
Bump setuptools from 76.1.0 to 78.1.1
2026-01-18 22:53:36 +01:00
Donkie 205a5c52fa Merge pull request #786 from mnebelung/master
Add support for Fedora to install.sh
2026-01-18 22:45:49 +01:00
Donkie f585c51b18 Merge branch 'master' into master 2026-01-18 22:45:29 +01:00
dependabot[bot] b393f822e8 Bump setuptools from 76.1.0 to 78.1.1
Bumps [setuptools](https://github.com/pypa/setuptools) from 76.1.0 to 78.1.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v76.1.0...v78.1.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 78.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-18 21:30:53 +00:00
Donkie 7cc3bef46f Merge pull request #809 from Donkie/uv
Multiple maintenance updates
2026-01-18 22:29:54 +01:00
Donkie 8a29ce063a Update ci.yml 2026-01-18 17:30:55 +01:00
Donkie fa6343c368 Fix artifact job 2026-01-18 17:11:54 +01:00
Donkie 1cd8c7a962 Added ci job to produce artifact package for all builds 2026-01-18 17:05:00 +01:00
Donkie b361aee956 CI fixes 2026-01-18 16:55:31 +01:00
kaufi95 c179a38f03 fix for issue #803 2026-01-11 00:01:23 +01:00
kaufi95 6e9f6e5af4 fix for issue #805 2026-01-11 00:00:11 +01:00
Donkie 0f5775c2d4 Enforced eslint and prettier, added lefthook config 2026-01-07 23:02:32 +01:00
Donkie b942d1f8a1 Replaced pdm with uv, updated backend deps, python 3.10 minimum, simplified install script 2026-01-07 22:01:02 +01:00
Donkie cda756557d Updated react qr scanner 2026-01-06 13:05:54 +01:00
Donkie b627e151a8 Updated client packages 2026-01-06 01:54:09 +01:00
Donkie 848f5dcc94 Cleaned up favicons, PWA icon fixes 2026-01-06 00:28:31 +01:00
Donkie 6adb6bedc2 Merge pull request #762 from sixiaolong1117/master
Supports PWA.
2026-01-06 00:19:14 +01:00
Donkie edda1e965a some fixes 2026-01-06 00:18:20 +01:00
SI Xiaolong 7bb0c6b1ec Supports PWA.
PWA is supported using vite-plugin-pwa.
2026-01-05 23:58:58 +01:00
Donkie 9124ce0b86 Merge pull request #747 from Shadowsith/745-docker-size-optimization
Reduce Docker container size
2026-01-05 23:54:42 +01:00
Donkie 753140ecc3 Replaced su-exec with gosu, fixed pdm using wrong python version 2026-01-05 23:53:41 +01:00
Donkie 9baf91380a Merge pull request #717 from ajford/spool_edit_weight_iss477
Fix Spool Edit page Empty Weight and Initial Weight bug
2026-01-05 22:58:42 +01:00
Donkie e1349cc760 Merge pull request #715 from JakobGue/spool_count
Add Spoolcount in Locations Page
2026-01-04 20:05:27 +01:00
JakobGue 185c8b07e0 remove show spool count option from settings 2026-01-04 00:54:19 +01:00
JakobGue 572a5eea27 Merge branch 'master' into spool_count 2026-01-02 16:02:00 +01:00
Donkie da7c274d21 Merge pull request #784 from Donkie/dependabot/npm_and_yarn/client/js-yaml-3.14.2
Bump js-yaml from 3.14.1 to 3.14.2 in /client
2026-01-02 14:59:47 +01:00
Donkie 15ca571c1d Merge pull request #770 from Donkie/dependabot/npm_and_yarn/client/vite-6.4.1
Bump vite from 6.3.5 to 6.4.1 in /client
2026-01-02 14:59:31 +01:00
Donkie 7b9e9c00b2 Merge pull request #765 from Donkie/dependabot/npm_and_yarn/client/axios-1.12.2
Bump axios from 1.9.0 to 1.12.2 in /client
2026-01-02 14:59:06 +01:00
Donkie eb2df7cd6a Merge pull request #714 from Donkie/weblate
Translations update
2026-01-02 00:22:24 +01:00
Donkie c84de2b940 Merge pull request #801 from Donkie/dependabot/npm_and_yarn/client/multi-127d05f333
Bump tmp and inquirer in /client
2026-01-02 00:22:03 +01:00
dependabot[bot] 5fd999151f Bump tmp and inquirer in /client
Removes [tmp](https://github.com/raszi/node-tmp). It's no longer used after updating ancestor dependency [inquirer](https://github.com/SBoudrias/Inquirer.js). These dependencies need to be updated together.


Removes `tmp`

Updates `inquirer` from 8.2.6 to 8.2.7
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.6...inquirer@8.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 
  dependency-type: indirect
- dependency-name: inquirer
  dependency-version: 8.2.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 22:01:39 +00:00
Vegard Fladby 6f05ce81c7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 80.2% (231 of 288 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 78.1% (225 of 288 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 75.3% (217 of 288 strings)

Co-authored-by: Vegard Fladby <vegard@fladby.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nb_NO/
Translation: Spoolman/Web Client
2026-01-01 23:00:59 +01:00
vjurka a533f2556f Translated using Weblate (Lithuanian)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: vjurka <v@jurka.lt>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/lt/
Translation: Spoolman/Web Client
2026-01-01 23:00:58 +01:00
Bazzofski c88d443782 Translated using Weblate (French)
Currently translated at 98.9% (285 of 288 strings)

Co-authored-by: Bazzofski <bastien.cocheril@laposte.net>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translation: Spoolman/Web Client
2026-01-01 23:00:57 +01:00
Archit Jain 3cd1ff6ac4 Translated using Weblate (Hindi (Latin script))
Currently translated at 3.8% (11 of 288 strings)

Added translation using Weblate (Hindi (Latin script))

Co-authored-by: Archit Jain <archit.jain38@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/hi_Latn/
Translation: Spoolman/Web Client
2026-01-01 23:00:56 +01:00
Giadej a41b1df76e Translated using Weblate (Italian)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2026-01-01 23:00:56 +01:00
Marek Dvorný bed385b796 Translated using Weblate (Czech)
Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Marek Dvorný <lupickatec@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2026-01-01 23:00:55 +01:00
Dr_Perry_Coke 2508210469 Translated using Weblate (Russian)
Currently translated at 99.6% (287 of 288 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translation: Spoolman/Web Client
2026-01-01 23:00:54 +01:00
Cristian fae3a92f5e Translated using Weblate (Romanian)
Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Romanian)

Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Cristian <opreacristiann@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ro/
Translation: Spoolman/Web Client
2026-01-01 23:00:54 +01:00
Yücelen Gül 37fcad4a0a Translated using Weblate (Turkish)
Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (288 of 288 strings)

Added translation using Weblate (Turkish)

Co-authored-by: Yücelen Gül <yuceleng@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/tr/
Translation: Spoolman/Web Client
2026-01-01 23:00:53 +01:00
Jose 4d62eb24c1 Translated using Weblate (Spanish)
Currently translated at 100.0% (288 of 288 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Jose <jcueria@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2026-01-01 23:00:52 +01:00
dimquea 05f0d7fd20 Translated using Weblate (Russian)
Currently translated at 99.6% (287 of 288 strings)

Co-authored-by: dimquea <dimquea@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translation: Spoolman/Web Client
2026-01-01 23:00:51 +01:00
KnightArch 3666c10117 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: KnightArch <knightarch@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt_BR/
Translation: Spoolman/Web Client
2026-01-01 23:00:51 +01:00
rupefelo 902fbbaec2 Translated using Weblate (Portuguese)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: rupefelo <rupefelo@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2026-01-01 23:00:50 +01:00
Justus Kagerer b10c1e1aef Translated using Weblate (German)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Justus Kagerer <justus-kagerer@web.de>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2026-01-01 23:00:50 +01:00
derSchreiber a6c4e8c49b Translated using Weblate (German)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: derSchreiber <jan@machen-wir.net>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2026-01-01 23:00:49 +01:00
Donkie 975cd9c613 Merge pull request #800 from Donkie/dependabot/npm_and_yarn/client/multi-6d05d0e569
Bump qs, body-parser and express in /client
2026-01-01 23:00:40 +01:00
dependabot[bot] a124d73fae Bump qs, body-parser and express in /client
Bumps [qs](https://github.com/ljharb/qs), [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `qs` from 6.13.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.13.0...v6.14.1)

Updates `body-parser` from 1.20.3 to 1.20.4
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.3...1.20.4)

Updates `express` from 4.21.2 to 4.22.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/v4.22.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.2...v4.22.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
- dependency-name: body-parser
  dependency-version: 1.20.4
  dependency-type: indirect
- dependency-name: express
  dependency-version: 4.22.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 13:54:15 +00:00
nebelung 21f46427e5 Add support for Fedora to install.sh 2025-11-18 23:10:44 -05:00
dependabot[bot] 4d48fca237 Bump js-yaml from 3.14.1 to 3.14.2 in /client
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 23:55:28 +00:00
beikeland 967b9d5b31 Change short QR codes to be uppercase to allow for alphanumerical encodingm and make QR code scanner case insensitive 2025-11-04 16:42:33 +01:00
dependabot[bot] 19ccb7099a Bump vite from 6.3.5 to 6.4.1 in /client
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.5 to 6.4.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-21 02:24:53 +00:00
dependabot[bot] 13b141dcdf Bump axios from 1.9.0 to 1.12.2 in /client
Bumps [axios](https://github.com/axios/axios) from 1.9.0 to 1.12.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.9.0...v1.12.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 23:02:19 +00:00
Philip Mayer 9df3f0c91b Add changes based on code review https://github.com/Donkie/Spoolman/issues/745 2025-09-22 21:53:45 +02:00
JakobGue e8ca2d55bc Merge branch 'master' into spool_count 2025-09-06 23:25:47 +02:00
Philip Mayer e49976bf8a Reduce docker container size by usage of slim bookworm #745 2025-08-21 00:04:56 +02:00
Donkie 3efb99f635 Merge pull request #732 from Donkie/dependabot/npm_and_yarn/client/form-data-4.0.4
Bump form-data from 4.0.0 to 4.0.4 in /client
2025-07-22 13:59:05 +02:00
dependabot[bot] a05113c454 Bump form-data from 4.0.0 to 4.0.4 in /client
---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 00:16:11 +00:00
ajford 25f78e90e6 Fixes #477 by defaulting to spool values first 2025-06-27 00:29:23 -05:00
JakobGue d3181382ae add spool count in locations with a setting to enable / disable the display 2025-06-21 19:26:39 +02:00
Donkie 8af6013331 Add issue manager workflow for automated issue handling 2025-06-16 19:23:26 +02:00
Donkie a6607fb162 Merge pull request #712 from Donkie/weblate
Translations update
2025-06-16 19:10:54 +02:00
தமிழ்நேரம் e1923b8083 Translated using Weblate (Tamil)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ta/
Translation: Spoolman/Web Client
2025-06-16 00:02:04 +00:00
KnightArch 3e6750765f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: KnightArch <knightarch@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt_BR/
Translation: Spoolman/Web Client
2025-06-16 00:02:03 +00:00
Julia 🌸🏳️‍⚧️ 13d320ab1d Translated using Weblate (Polish)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Julia 🌸🏳️‍⚧️ <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2025-06-16 00:02:02 +00:00
Miloslav Kos d11bc1a6bb Translated using Weblate (Czech)
Currently translated at 100.0% (288 of 288 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2025-06-16 00:02:01 +00:00
Donkie d27a967737 Fixed pt-BR json file 2025-06-10 22:08:45 +02:00
Donkie 8712ad4840 Fixed en lang json 2025-06-10 22:04:06 +02:00
Donkie 7b7d73224d Set github ci permissions 2025-06-08 12:23:37 +02:00
Donkie 25536233fc Bump server packages 2025-06-08 12:07:10 +02:00
Donkie 1962945c5d Bump client packages 2025-06-08 12:03:27 +02:00
Donkie 0b9b3e7391 Some style fixes 2025-06-08 12:00:10 +02:00
Donkie 77aa955766 Merge pull request #605 from ecarjat/master
Add SPOOLMAN_CORS_ORIGIN variable
2025-06-08 11:53:44 +02:00
Donkie 2766f32d4e Merge pull request #706 from Donkie/weblate
Translations update
2025-06-08 11:48:46 +02:00
Tobias Maschek ff473429c7 Translated using Weblate (German)
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Tobias Maschek <web@jemx.net>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2025-06-08 11:47:26 +02:00
Donkie 5ccd225ed6 Merge pull request #694 from opastorello/master
Remade translation into Brazilian Portuguese
2025-06-08 11:47:17 +02:00
ecarjat de7fccdc1a Merge branch 'master' into master 2025-06-06 09:22:44 +02:00
ecarjat 1ecf70773f Update .env.example 2025-06-06 09:21:57 +02:00
Donkie 8bfb263858 Merge branch 'master' into master 2025-05-31 19:52:01 +02:00
Donkie 488b37c5a0 Merge pull request #677 from Donkie/weblate
Translations update
2025-05-31 19:49:24 +02:00
rupefelo fb355945cb Translated using Weblate (Portuguese)
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: rupefelo <rupefelo@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2025-05-31 19:44:51 +02:00
Ivo Grossen 5c8e8b9d11 Translated using Weblate (German)
Currently translated at 99.6% (285 of 286 strings)

Co-authored-by: Ivo Grossen <ivo.grossen95@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2025-05-31 19:44:51 +02:00
தமிழ்நேரம் d975020260 Translated using Weblate (Tamil)
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ta/
Translation: Spoolman/Web Client
2025-05-31 19:44:51 +02:00
Samuel Wang fdb34f5c5e Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Samuel Wang <imhsaw@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hans/
Translation: Spoolman/Web Client
2025-05-31 19:44:51 +02:00
Donkie 37803e1029 Merge pull request #660 from spyder007/master
Add Measured Weight option to the filament adjustment modal
2025-05-31 19:44:46 +02:00
Nícolas Pastorello b1d061cf08 Update common.json 2025-05-05 16:44:26 -03:00
Nícolas Pastorello b6ed0cb6e9 Update index.tsx 2025-05-05 16:37:34 -03:00
Nícolas Pastorello 3e8b3526e2 Update common.json 2025-05-05 16:24:46 -03:00
Matt Gerega f31b40bec6 Merge branch 'Donkie:master' into master 2025-04-25 13:20:01 -04:00
Donkie 73a087fce0 Merge pull request #668 from sinclairpaul/mysql-recycle
🔨 Add pool_recycle for MySQL
2025-04-14 08:58:26 +02:00
Paul Sinclair eabb10a009 Merge branch 'Donkie:master' into mysql-recycle 2025-04-12 14:32:42 -04:00
Donkie ed500ef293 Merge pull request #658 from Donkie/weblate
Translations update
2025-04-12 19:52:51 +02:00
dimquea 8e8cf7eaaa Translated using Weblate (Russian)
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: dimquea <dimquea@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translation: Spoolman/Web Client
2025-04-12 17:49:26 +00:00
Arvi Saluste 4c876d7aef Translated using Weblate (Estonian)
Currently translated at 17.4% (50 of 286 strings)

Co-authored-by: Arvi Saluste <fredi.at@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/et/
Translation: Spoolman/Web Client
2025-04-12 17:49:25 +00:00
KnightArch 97eddadb3b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: KnightArch <knightarch@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt_BR/
Translation: Spoolman/Web Client
2025-04-12 17:49:25 +00:00
Donkie c3c2b70213 Updated client deps 2025-04-12 19:47:10 +02:00
Donkie 11a74e2197 Use env for ci ghcr_image since vars is not accessible in PRs 2025-04-12 19:42:53 +02:00
Paul Sinclair ea36a94327 🔨 Add pool_recycle for MySQL 2025-04-05 09:58:34 -04:00
Matt Gerega 4e10f1019d Add Measured Weight option to the filament adjustment modal #560 2025-03-20 16:52:14 -04:00
Donkie ec5173067e Add push to dockerhub 2025-03-19 19:05:17 +01:00
Donkie 4003c0aadd Merge pull request #626 from htsachakis/adjust-spool-button-on-show
Added adjust spool button
2025-03-19 09:03:30 +01:00
Charalampos Tsachakis dbdad84120 Merge branch 'master' into adjust-spool-button-on-show 2025-03-19 09:07:08 +02:00
Donkie 1888240044 Bump version to 0.22.1 2025-03-18 21:41:35 +01:00
Donkie 9e2d10a816 Merge pull request #651 from Donkie/weblate
Translations update
2025-03-18 21:38:31 +01:00
KnightArch db59fce383 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (286 of 286 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.6% (285 of 286 strings)

Co-authored-by: KnightArch <knightarch@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt_BR/
Translation: Spoolman/Web Client
2025-03-18 20:37:08 +00:00
Donkie dcb21f71cb Added auto focus to adjust spool input field
Resolves #585
2025-03-18 21:36:57 +01:00
Donkie aa839b08e5 Handle input number formatting better
Now it doesn't interfer with the user writing until the user leaves the element

Resolves #633
Resolves #632
2025-03-18 21:27:00 +01:00
Donkie 3d1bb70913 Fixed not being able to change color picker format
Resolves #610
2025-03-18 21:09:19 +01:00
Donkie 6f01f372d6 Remove debug logging from numberFormatter function 2025-03-18 21:03:19 +01:00
Donkie a775beb5bf Fixed wonky trailing zero removal
Resolves #623
2025-03-18 20:59:57 +01:00
Donkie a94163dc1a Fixed empty default values extra field range breaking page
Resolves #652
2025-03-18 20:51:26 +01:00
Donkie dcf043cb71 Fix uvicorn logging handler removal to prevent index error 2025-03-18 20:45:36 +01:00
Donkie 3fc2f712e3 Fixed a deprecation 2025-03-18 20:44:28 +01:00
Donkie f041207db8 Fixed broken antd elements
Resolves #655
2025-03-18 20:38:48 +01:00
Donkie dde468ed69 Add Japanese, Brazilian Portuguese, Tamil, and Thai locales to i18n.ts 2025-03-18 20:32:43 +01:00
Donkie e538f06483 Added script to find missing locales in i18n.ts file 2025-03-18 20:32:12 +01:00
Donkie 53d5fdf7e3 Remove country code flags in language selector 2025-03-18 20:31:53 +01:00
Donkie a5df70a803 Bump version to 0.22.0 2025-03-16 21:34:21 +01:00
Donkie 70ea7ad414 Update python dependencies and ruff/black versions 2025-03-16 21:34:02 +01:00
Donkie 92065fd8df Update python dependencies 2025-03-16 18:23:40 +01:00
Donkie 11b12ac2e7 Updated client packages 2025-03-16 17:49:20 +01:00
Donkie 0e4d0b3e14 Merge pull request #639 from tlanfer/master
Allow PATCH'ing partial updates of extra attributes
2025-03-16 17:47:22 +01:00
Donkie 15e3e3f187 Merge pull request #645 from Donkie/weblate
Translations update
2025-03-16 17:42:54 +01:00
Maurice Kevenaar 88c25d9fea Translated using Weblate (Dutch)
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2025-03-16 17:42:05 +01:00
Yuta Imada 8cc485ac96 Translated using Weblate (Japanese)
Currently translated at 100.0% (286 of 286 strings)

Translated using Weblate (Japanese)

Currently translated at 59.0% (169 of 286 strings)

Translated using Weblate (Japanese)

Currently translated at 34.9% (100 of 286 strings)

Added translation using Weblate (Japanese)

Co-authored-by: Yuta Imada <1@yutaimd.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ja/
Translation: Spoolman/Web Client
2025-03-16 17:42:04 +01:00
Donkie 3c2936bf5e Merge pull request #649 from pedrolamas/pedrolamas/fix-multi-color-reset
Reset multi-color when single color is selected
2025-03-16 17:41:56 +01:00
Pedro Lamas 3963ec6203 Reset multi-color when single color is selected 2025-03-12 18:10:26 +00:00
Thorsten Lanfer c8ab290f33 Merge branch 'master' into master 2025-03-05 19:55:44 +01:00
Thorsten Lanfer 55acc4993d reformat 2025-03-05 19:46:54 +01:00
Donkie d253391b63 Merge pull request #640 from Donkie/weblate
Translations update
2025-03-05 19:04:19 +01:00
தமிழ்நேரம் 2761829db8 Translated using Weblate (Tamil)
Currently translated at 100.0% (286 of 286 strings)

Added translation using Weblate (Tamil)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ta/
Translation: Spoolman/Web Client
2025-03-05 12:09:14 +01:00
Julia 🌸 4a1358a438 Translated using Weblate (Polish)
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Julia 🌸 <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2025-03-05 12:09:13 +01:00
Miloslav Kos e54608f139 Translated using Weblate (Czech)
Currently translated at 100.0% (286 of 286 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2025-03-05 12:09:13 +01:00
Thorsten Lanfer 4b8fd3aed3 Update spool.py 2025-02-24 22:21:10 +01:00
Thorsten Lanfer 28f6f8e916 Allow posting partial updates of extra attributes 2025-02-24 22:21:10 +01:00
Donkie cd274a9968 Updated client dependencies 2025-02-24 21:46:56 +01:00
Donkie 3a44a01467 Fixed style in externaldb.py 2025-02-24 21:20:27 +01:00
Donkie 4b08f27614 Merge pull request #624 from bdchik/fix
Bug Fix:  Ensure the QR code favicon.svg honors the base path, when configured.
2025-02-24 21:04:19 +01:00
Donkie d930217cd3 Merge pull request #604 from cboelsen/master
Allow disabling access log with uvicorn's `--no-access-log`
2025-02-24 21:02:17 +01:00
Donkie 80b869feec Merge pull request #595 from Donkie/dependabot/npm_and_yarn/client/vite-5.4.14
Bump vite from 5.4.11 to 5.4.14 in /client
2025-02-24 21:01:30 +01:00
Donkie cf0d458364 Merge pull request #591 from inukiwi/master
Do not ignore empty lists in database selects
2025-02-24 21:00:30 +01:00
Donkie 9d9f297065 Merge pull request #587 from fleaz/fix_disable_download
Properly build URLs with urljoin
2025-02-24 20:57:26 +01:00
Donkie 58a6233e7b Merge pull request #582 from ErikMichelson/feat/round-prices-setting
Add setting to toggle rounding of prices
2025-02-24 20:56:44 +01:00
Donkie 03815687ff Merge pull request #526 from Pantastisch/feature/hex-color-code-in-filament-page
Add Color Code Display for Single Color Filaments
2025-02-24 20:48:31 +01:00
Donkie c0af80d439 Merge pull request #581 from Donkie/weblate
Translations update
2025-02-24 20:46:42 +01:00
Charalampos Tsachakis 53da38e396 Added adjust spool button
Added adjust spool button to spools/show page
2025-02-12 11:31:11 +02:00
derSchreiber 4a914d7bce Translated using Weblate (German)
Currently translated at 99.6% (283 of 284 strings)

Translated using Weblate (German)

Currently translated at 99.6% (283 of 284 strings)

Translated using Weblate (German)

Currently translated at 99.6% (283 of 284 strings)

Co-authored-by: derSchreiber <jan@machen-wir.net>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
Sascha Bürk d52826656d Translated using Weblate (German)
Currently translated at 99.6% (283 of 284 strings)

Translated using Weblate (German)

Currently translated at 99.6% (283 of 284 strings)

Co-authored-by: Sascha Bürk <macfly@german-bash.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
Julia 🌸 5a32d140ef Translated using Weblate (Polish)
Currently translated at 100.0% (284 of 284 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: Julia 🌸 <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
Icezaza Ch 834fd1ed18 Translated using Weblate (Thai)
Currently translated at 100.0% (284 of 284 strings)

Added translation using Weblate (Thai)

Co-authored-by: Icezaza Ch <icezaza.jar@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/th/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
Mathis Mensing 4fcd42a301 Translated using Weblate (German)
Currently translated at 99.6% (283 of 284 strings)

Co-authored-by: Mathis Mensing <github@matmen.dev>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
Marcus Vechiato 07dbb09a5e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: Marcus Vechiato <vechiato@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt_BR/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
Dr_Perry_Coke 3f97be2e51 Translated using Weblate (Russian)
Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
Samuel Wang 9efed6dea7 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: Samuel Wang <imhsaw@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hans/
Translation: Spoolman/Web Client
2025-02-11 22:28:28 +01:00
aurelien 67c2c89e2a Translated using Weblate (French)
Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: aurelien <a.ardjoune@etik.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translation: Spoolman/Web Client
2025-02-11 22:28:27 +01:00
Brett Chik c5878883a8 Link to print label from spool details page missing getBasePath() 2025-02-07 20:24:03 -08:00
Brett Chik 21befc2993 Ensure the QR code icon honors the base path, when configured. 2025-02-07 20:09:29 -08:00
ecarjat 108fdd2908 Added SPOOLMAN_CORS_ORIGIN variable 2025-01-26 15:41:58 +01:00
Christian Boelsen 418c8cf518 Allow disabling access log with uvicorn's --no-access-log 2025-01-25 16:10:07 +00:00
dependabot[bot] 2e67d7e6a3 Bump vite from 5.4.11 to 5.4.14 in /client
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.11 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 04:46:52 +00:00
inukiwi 1f3c1c0ad5 Do not ignore empty lists in database selects 2025-01-15 23:14:09 +01:00
fleaz a2e6ad983a Properly build URLs with urljoin 2025-01-13 19:51:35 +01:00
Erik Michelson e93f89aa51 Add setting to toggle rounding of prices 2024-12-30 01:07:38 +01:00
Donkie 276fd1e733 Merge pull request #484 from Forest-Troll/master
Prometheus metrics improve
2024-12-28 22:04:14 +01:00
Donkie a14a520116 Merge pull request #557 from Donkie/weblate
Translations update
2024-12-28 22:03:27 +01:00
Maurice Kevenaar 524e0f8657 Translated using Weblate (Dutch)
Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-12-28 21:01:32 +00:00
Kayz C c83ddbf5c5 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (284 of 284 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: Kayz C <kayzed.x@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hant/
Translation: Spoolman/Web Client
2024-12-28 21:01:32 +00:00
Diogo Resende e6cd503ebd Translated using Weblate (Portuguese)
Currently translated at 100.0% (284 of 284 strings)

Translated using Weblate (French)

Currently translated at 99.6% (283 of 284 strings)

Co-authored-by: Diogo Resende <dresende@thinkdigital.pt>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2024-12-28 21:01:31 +00:00
darkk-k1 291572ddc1 Translated using Weblate (Polish)
Currently translated at 98.9% (281 of 284 strings)

Translated using Weblate (Polish)

Currently translated at 85.9% (244 of 284 strings)

Co-authored-by: darkk-k1 <softdev@darkabo.eu>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2024-12-28 21:01:30 +00:00
Daniel Zając e2a1113033 Translated using Weblate (Polish)
Currently translated at 98.9% (281 of 284 strings)

Translated using Weblate (Polish)

Currently translated at 85.9% (244 of 284 strings)

Co-authored-by: Daniel Zając <zajac20033@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2024-12-28 21:01:30 +00:00
Donkie 6421f723ee Merge pull request #578 from Khaos66/master
Enable install script to be automated
2024-12-28 22:01:23 +01:00
Khaos 45ea68bbc0 Enable install script to be automated
Added a script parameter to control the systemd service installation step
2024-12-28 20:24:57 +01:00
Panagiotis Doulgeris 6b2dbda354 Add possibility to exclude margin in spool icon for overview sites 2024-12-22 15:38:05 +01:00
Dmitry Belousov b37c19eb9e diameter is missed 2024-12-12 22:42:22 +03:00
Dmitry Belousov 385d9bb3da Add spool initial weight. Change some descriptions. 2024-12-12 22:40:35 +03:00
Dmitry Belousov 4479da84ed Merge remote-tracking branch 'origin/master'
# Conflicts:
#	spoolman/prometheus/metrics.py
2024-12-12 22:39:24 +03:00
Dmitry Belousov 4ee34f67d1 Add spool initial weight. Change some descriptions. 2024-12-12 22:38:11 +03:00
Forest-Troll 9ceee4aa7a Merge branch 'Donkie:master' into master 2024-12-12 22:33:19 +03:00
Donkie 053b20f19c Bump version to 0.21.0 2024-12-01 14:54:31 +01:00
Donkie a3f506ce85 Bumped python dependencies 2024-12-01 14:53:58 +01:00
Donkie 0e6bdd764f Merge pull request #548 from Donkie/weblate
Translations update
2024-12-01 14:35:34 +01:00
gallegonovato d4ddb1f63e Translated using Weblate (Spanish)
Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-11-25 21:36:36 +01:00
Miloslav Kos bb7b64669e Translated using Weblate (Czech)
Currently translated at 100.0% (284 of 284 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-11-25 21:36:36 +01:00
Donkie 1372d75d90 Update README.md 2024-11-25 21:36:19 +01:00
Donkie 139d435cee Fixed manufacturer with spool weight 0 not being allowed
Resolves #521
2024-11-25 20:49:39 +01:00
Donkie a3be91b89c Fixed not being able to clear price field
Resolves #525
2024-11-25 20:39:24 +01:00
Donkie 649c074bb3 Fix uvicorn doing its own thing when logging
Resolves #532
2024-11-25 20:21:28 +01:00
Donkie 04920e463a Fixed number precision in locations page spool card 2024-11-25 19:07:24 +01:00
Donkie c57141254c Merge branch 'locationspage' into master 2024-11-24 15:05:01 +01:00
Donkie 46a9097491 Final locations updates 2024-11-24 15:04:20 +01:00
Donkie d142b0eaec Include the custom locations in spool edit page 2024-11-24 14:51:15 +01:00
Donkie 0827cc8a5a Improvements to default location 2024-11-24 14:45:16 +01:00
Donkie 755e06c989 Now goes back to loc page on edit submit 2024-11-24 12:31:38 +01:00
Donkie bb0b00b973 Merge pull request #542 from Donkie/weblate
Translations update
2024-11-24 09:56:44 +01:00
Donkie 1a55855ce9 Some i18n stuff 2024-11-23 23:16:41 +01:00
Donkie 67c5b34bf5 Final touches on locations page 2024-11-23 22:42:47 +01:00
Samuel Wang c68c32698a Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Samuel Wang <imhsaw@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hans/
Translation: Spoolman/Web Client
2024-11-23 06:00:33 +01:00
Daniel Zając 289818ab06 Translated using Weblate (Polish)
Currently translated at 84.5% (235 of 278 strings)

Co-authored-by: Daniel Zając <zajac20033@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2024-11-23 06:00:31 +01:00
Donkie bf06408368 Added reading and using of spool orders in locations 2024-11-20 21:57:01 +01:00
Donkie ce42d687ed Some file rearranging 2024-11-20 21:08:43 +01:00
Donkie 37b6d1fcee Added ability to rename location 2024-11-20 21:00:39 +01:00
Donkie 5861190821 Fixed being able to create multiple locs of same name 2024-11-20 20:15:46 +01:00
Donkie 8d6f2636c5 Locations can now be drag-dropped around 2024-11-20 20:12:08 +01:00
Donkie 3dc0082f0e Added ability to add new location 2024-11-20 19:37:56 +01:00
Donkie e4175e26ec Added a locations setting so empty locations are still kept around 2024-11-19 22:32:05 +01:00
Donkie 1eca7b2503 Added buttons to view/edit spools on locations page 2024-11-19 22:04:06 +01:00
Donkie b568147884 Updated some dependencies 2024-11-19 21:56:22 +01:00
Donkie a4355967d0 Added basic locations page to easily move spools between locations 2024-11-19 21:49:29 +01:00
Donkie 502ea1ba8b Added Romanian, Persian and Traditional Chinese to list of select-able languages 2024-11-18 22:41:14 +01:00
Donkie b555f812ef Merge pull request #523 from Donkie/weblate
Translations update
2024-11-18 22:21:33 +01:00
Kayz C e0371192a7 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (278 of 278 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 73.7% (205 of 278 strings)

Added translation using Weblate (Chinese (Traditional Han script))

Co-authored-by: Kayz C <kayzed.x@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hant/
Translation: Spoolman/Web Client
2024-11-18 16:00:32 +01:00
darkk-k1 b129fd3cb7 Translated using Weblate (Polish)
Currently translated at 84.5% (235 of 278 strings)

Translated using Weblate (Polish)

Currently translated at 83.4% (232 of 278 strings)

Co-authored-by: darkk-k1 <softdev@darkabo.eu>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2024-11-18 16:00:31 +01:00
Bestia Nadir 0c8ec342ce Translated using Weblate (Romanian)
Currently translated at 57.9% (161 of 278 strings)

Co-authored-by: Bestia Nadir <nadirbestia@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ro/
Translation: Spoolman/Web Client
2024-11-18 16:00:29 +01:00
Donkie ba488655bf Update README.md 2024-11-07 21:07:15 +01:00
Donkie 0ef4649927 Update README.md 2024-11-06 22:24:02 +01:00
Donkie 281e6cbe44 Update README.md 2024-11-06 22:21:36 +01:00
Panagiotis Doulgeris fd256bab95 Show hex color code in filament page and improve styling 2024-11-01 21:36:17 +01:00
Donkie 39aea03a01 Merge pull request #517 from TomW1605/add-archive-un-archive-button-to-spool-view-page
add archive/un archive button to spool view page
2024-10-27 18:21:24 +01:00
Donkie 86f69d470f Added backend supported csv/json export functionality 2024-10-27 12:36:39 +01:00
TomW1605 d60b93349a fix spool weight < 0 check 2024-10-27 15:20:53 +08:00
Donkie a95ddcedd1 Merge pull request #506 from Donkie/weblate
Translations update
2024-10-26 22:51:53 +02:00
Oleksii Martyniuk dc93e5b725 Translated using Weblate (Ukrainian)
Currently translated at 96.4% (268 of 278 strings)

Co-authored-by: Oleksii Martyniuk <hohnabeer@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/uk/
Translation: Spoolman/Web Client
2024-10-26 22:31:48 +02:00
Miloslav Kos 7783718d44 Translated using Weblate (Czech)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-10-26 22:31:47 +02:00
AKTronics 5645b5358f Translated using Weblate (Persian)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: AKTronics <khazaei.abolfazl@yahoo.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fa/
Translation: Spoolman/Web Client
2024-10-26 22:31:47 +02:00
Dr_Perry_Coke 9c0f1c489d Translated using Weblate (Russian)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translation: Spoolman/Web Client
2024-10-26 22:31:46 +02:00
Donkie 4a4a6c20e3 Merge pull request #519 from Donkie/dependabot/npm_and_yarn/client/rollup-4.24.0
Bump rollup from 4.21.3 to 4.24.0 in /client
2024-10-26 22:30:04 +02:00
dependabot[bot] 3bbfb1d92e Bump rollup from 4.21.3 to 4.24.0 in /client
Bumps [rollup](https://github.com/rollup/rollup) from 4.21.3 to 4.24.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.21.3...v4.24.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 20:27:48 +00:00
Donkie 25a33c6361 Merge pull request #513 from Donkie/dependabot/npm_and_yarn/client/multi-9f37c16f8f
Bump cookie and express in /client
2024-10-26 22:26:51 +02:00
Donkie 8a0370d74b Merge pull request #518 from TomW1605/add-external-id-to-filament-and-vendor-edit-pages
add external id to filament and vendor edit pages
2024-10-26 22:26:20 +02:00
TomW1605 761a4978b6 add external id to filament and vendor edit pages 2024-10-26 14:12:32 +08:00
TomW1605 efae0d8466 add archive/un archive button to spool view page 2024-10-26 13:48:27 +08:00
dependabot[bot] 6a5847c152 Bump cookie and express in /client
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-19 10:28:08 +00:00
Donkie b74b7e0205 Merge pull request #497 from Uro1/fix-line-endings 2024-09-30 17:32:23 +02:00
Uro ea215efdfc Update gitattributes to preserve lf line endings on the .env.example file 2024-09-30 12:19:20 +01:00
Donkie 590b0df191 Fixed release zip missing dot-files 2024-09-23 19:26:29 +02:00
Donkie 62705b590b Merge pull request #482 from Donkie/weblate 2024-09-23 11:31:30 +02:00
AKTronics 551e31a9c6 Translated using Weblate (Persian)
Currently translated at 14.7% (41 of 278 strings)

Added translation using Weblate (Persian)

Co-authored-by: AKTronics <khazaei.abolfazl@yahoo.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fa/
Translation: Spoolman/Web Client
2024-09-23 11:16:21 +02:00
Diogo Resende 6f6cebb88e Translated using Weblate (Italian)
Currently translated at 100.0% (278 of 278 strings)

Added translation using Weblate (Portuguese (Brazil))

Translated using Weblate (Portuguese)

Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Diogo Resende <dresende@thinkdigital.pt>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2024-09-23 11:16:20 +02:00
Vincent MALZIEU 00d4ae7c22 Translated using Weblate (French)
Currently translated at 100.0% (278 of 278 strings)

Translated using Weblate (French)

Currently translated at 98.9% (275 of 278 strings)

Co-authored-by: Vincent MALZIEU <vincent.malzieu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translation: Spoolman/Web Client
2024-09-23 11:16:19 +02:00
Maurice Kevenaar 5b6151c4ac Translated using Weblate (Dutch)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-09-23 11:16:18 +02:00
gallegonovato d06f044b83 Translated using Weblate (Spanish)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-09-23 11:16:17 +02:00
Miloslav Kos 09f5cba082 Translated using Weblate (Czech)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-09-23 11:16:16 +02:00
Donkie 980809f1ad Merge pull request #488 from Donkie/dependabot/npm_and_yarn/client/multi-9423f4c335 2024-09-18 06:06:23 +02:00
dependabot[bot] 59c76c37cf Bump body-parser and express in /client
Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 04:05:36 +00:00
Donkie 9cb1dfbf79 Merge pull request #487 from Donkie/dependabot/npm_and_yarn/client/vite-5.4.6 2024-09-18 06:04:37 +02:00
dependabot[bot] 3aa2f93cf2 Bump vite from 5.3.5 to 5.4.6 in /client
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.5 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 20:03:48 +00:00
Dmitry Belousov 36b04ae242 Rename metrics with base units.
Add spool initial weight.
2024-09-15 23:48:25 +03:00
Donkie 4f8d5abcec Bump version to 0.20.0 2024-09-08 22:42:34 +02:00
Donkie a826db12ea Merge pull request #446 from TomW1605/allow-prefix-and-suffix-with-double-braces
allow prefix and suffix with double braces in label format
2024-09-08 22:38:39 +02:00
Donkie 608d88f6c5 Merge pull request #476 from Donkie/weblate
Translations update
2024-09-08 22:35:45 +02:00
Federico Di Lorenzo 533139b879 Translated using Weblate (Italian)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Federico Di Lorenzo <federico.dilo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-09-08 20:18:00 +00:00
Benedikt Fuchs df150553f7 Translated using Weblate (German)
Currently translated at 99.6% (277 of 278 strings)

Co-authored-by: Benedikt Fuchs <fuchs.bene@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2024-09-08 20:18:00 +00:00
Donkie 909d8c38bd Test stage now only downloads the relevant images 2024-09-08 22:17:46 +02:00
Donkie 13a038cb3e Updated all action versions 2024-09-08 13:29:27 +02:00
Donkie eeb1e53490 Merge pull request #475 from Donkie/dependabot/npm_and_yarn/client/axios-1.7.7
Bump axios from 1.7.3 to 1.7.7 in /client
2024-09-07 19:56:46 +02:00
Donkie 4469523650 Merge pull request #469 from Donkie/weblate
Translations update
2024-09-07 19:56:24 +02:00
dependabot[bot] a0e62e2fd5 Bump axios from 1.7.3 to 1.7.7 in /client
Bumps [axios](https://github.com/axios/axios) from 1.7.3 to 1.7.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.3...v1.7.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 17:55:05 +00:00
Donkie b70cfb0e79 Bump artifact action versions 2024-09-07 19:54:01 +02:00
Vincent MALZIEU b930c68479 Translated using Weblate (French)
Currently translated at 98.9% (275 of 278 strings)

Co-authored-by: Vincent MALZIEU <vincent.malzieu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translation: Spoolman/Web Client
2024-09-06 23:09:14 +02:00
Maurice Kevenaar c9e8d1b80f Translated using Weblate (Dutch)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-09-06 23:09:13 +02:00
TomW1605 7b0e98827e add double {{}} explanation to help text and example 2024-08-31 08:16:38 +08:00
Donkie 5bd9d055d0 Merge pull request #460 from Donkie/weblate 2024-08-28 07:39:40 +02:00
gallegonovato 1f2e26b6f1 Translated using Weblate (Spanish)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-08-27 19:09:16 +00:00
Miloslav Kos 334a00054e Translated using Weblate (Czech)
Currently translated at 100.0% (278 of 278 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-08-27 19:09:15 +00:00
Giovanni Locatelli fbcaa81128 Translated using Weblate (Italian)
Currently translated at 100.0% (271 of 271 strings)

Co-authored-by: Giovanni Locatelli <giovi.loc98@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-08-27 19:09:14 +00:00
Zack zhou (WeAPoN.Z) 5f4bbe6a7b Translated using Weblate (Chinese (Simplified))
Currently translated at 95.9% (260 of 271 strings)

Co-authored-by: Zack zhou (WeAPoN.Z) <zszxzb@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hans/
Translation: Spoolman/Web Client
2024-08-27 19:09:13 +00:00
Donkie a6d271ac87 Merge pull request #461 from samturner3/master
Feature: Add option to use full URL in QR codes instead of web+spoolman: prefix
2024-08-26 20:23:25 +02:00
Donkie 93c9f46385 Merge pull request #458 from teoteo/teoteo-patch-1
Helps to identify the icon
2024-08-26 20:16:06 +02:00
samturner3 e65b87cc33 fix: Remove some en, ensure setting is default false 2024-08-26 18:34:00 +10:00
samturner3 c54e11ca11 feat: Add base_url and URB based QR code on labels 2024-08-26 18:08:13 +10:00
samturner3 a0e9f10127 Rename setting 'qr_code_url' to 'base_url' 2024-08-26 18:08:13 +10:00
samturner3 e3175723ea fix: Settings file 2024-08-26 18:08:13 +10:00
samturner3 2937d7d5bc Merge remote-tracking branch 'upstream/master' 2024-08-24 16:18:17 +10:00
teoteo 54ac546f78 Helps to identify the icon when there is low contrast between color and table background 2024-08-20 08:57:11 +02:00
Donkie 32c737fa98 Revert so commit now happens before notice, but add a catch-all to websocket notifications 2024-08-16 15:13:09 +02:00
Donkie 8edf6d2e20 Merge pull request #449 from Donkie/weblate
Translations update
2024-08-16 10:33:45 +02:00
Tobias Maschek 1a9b964fc2 Translated using Weblate (German)
Currently translated at 97.7% (265 of 271 strings)

Co-authored-by: Tobias Maschek <web@jemx.net>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2024-08-16 10:28:26 +02:00
Donkie e5f79493cc Fixed error on trying to send ws message to disconnected client
This could result in a major filament usage track failure since the Use http request would fail and Moonraker would keep retrying to save the used filament. However it was actually saved since the db.commit() happens before the websocket message fails.
2024-08-16 10:28:22 +02:00
Thomas White 813d299c8c allow prefix and suffix with double braces 2024-08-14 21:16:18 +08:00
Donkie 5c5bd4627b Bump version to 0.19.3 2024-08-10 11:50:16 +02:00
Donkie da89b80d07 Allow larger print preview scale size
Resolves #439
2024-08-10 11:45:21 +02:00
Donkie 14a22e072f Fixed being unable to change currency
Resolves #436
2024-08-10 11:44:11 +02:00
Donkie 2e414af9bb Bump version to 0.19.2 2024-08-09 17:16:08 +02:00
Donkie d7479d3cdf Merge pull request #432 from Donkie/weblate
Translations update
2024-08-09 17:15:21 +02:00
Maurice Kevenaar 4a65ff574c Translated using Weblate (Dutch)
Currently translated at 100.0% (271 of 271 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-08-09 15:15:06 +00:00
Ano10 ed7f09df3a Translated using Weblate (French)
Currently translated at 100.0% (271 of 271 strings)

Co-authored-by: Ano10 <arnaudthommeray+github@ik.me>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translation: Spoolman/Web Client
2024-08-09 15:15:05 +00:00
Diogo Resende 5829d24807 Translated using Weblate (Portuguese)
Currently translated at 99.2% (269 of 271 strings)

Co-authored-by: Diogo Resende <dresende@thinkdigital.pt>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2024-08-09 15:15:05 +00:00
Vegard Fladby 88661c08ad Translated using Weblate (Norwegian Bokmål)
Currently translated at 72.6% (197 of 271 strings)

Co-authored-by: Vegard Fladby <vegard@fladby.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nb_NO/
Translation: Spoolman/Web Client
2024-08-09 15:15:04 +00:00
Daniel Hultgren 225aa77d41 Translated using Weblate (Swedish)
Currently translated at 100.0% (271 of 271 strings)

Translated using Weblate (Swedish)

Currently translated at 89.2% (242 of 271 strings)

Co-authored-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/sv/
Translation: Spoolman/Web Client
2024-08-09 15:15:04 +00:00
gallegonovato 322354a6c3 Translated using Weblate (Spanish)
Currently translated at 100.0% (271 of 271 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (267 of 267 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-08-09 15:15:03 +00:00
Miloslav Kos ebbaa6ee12 Translated using Weblate (Czech)
Currently translated at 100.0% (271 of 271 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (267 of 267 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (261 of 261 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-08-09 15:15:03 +00:00
Donkie b2f6227540 Merge pull request #435 from foxt/patch-1
Install script: Don't bother using sudo if user is running as root
2024-08-09 17:14:56 +02:00
Donkie 2fd80038e3 Bump version to 0.19.1 2024-08-09 17:07:13 +02:00
Donkie 9469f47f09 Fixed importing multi color filaments in spool create form 2024-08-09 17:04:40 +02:00
Donkie eb4e1a950a Fixed importing multi-color in create filament 2024-08-09 16:58:30 +02:00
foxt 208e2f67e3 Install script: Don't bother using sudo if user is running as root
On some systems, sudo isn't present by default, so allow the user to manually elevate the script bypassing the use of sudo.
2024-08-09 10:01:59 +01:00
Donkie eee36fad66 Fixed multi color picker not working 2024-08-08 23:02:11 +02:00
Donkie c93ca5d916 Bump version to 0.19.0 2024-08-07 15:44:24 +02:00
Donkie 902e98b059 Increased itest connection timeout 2024-08-07 15:27:22 +02:00
Donkie 3454002c09 Fixed conftest 2024-08-07 15:19:35 +02:00
Donkie 515722bf4f Attempt to make itest spoolman up check more robust 2024-08-07 15:12:42 +02:00
Donkie efa93615ec Updated dependencies in integration tests 2024-08-07 14:45:43 +02:00
Donkie ae26bf5733 Fixed label template error if invalid extra field 2024-08-07 14:26:50 +02:00
Donkie 10ad8cebcb Added button to save labels as png images
Resolves #80
Resolves #348
2024-08-07 13:58:48 +02:00
Donkie 7082c5206b Added ability to hide qr code entirely when printing
Resolves #231
2024-08-07 13:09:43 +02:00
Donkie 7108b0e7a1 Optimized and organized all clients imports 2024-08-07 12:46:37 +02:00
Donkie 8413e33895 Minor fix to ActionsColumn function
No longer uses hooks but instead takes in the title
2024-08-07 12:40:54 +02:00
Donkie 736e59d1eb Improve useLiveify a bit 2024-08-07 12:19:25 +02:00
Donkie 3bd93cb0af Removed React prefix to some use hooks 2024-08-06 14:28:09 +02:00
Donkie 701ed2fae6 Added button to adjust filament
Resolves #428
Resolves #30
2024-08-06 11:34:47 +02:00
Donkie 00e35584f4 Fixed item cloning not handling extra fields properly
Resolves #424
2024-08-05 19:56:42 +02:00
Donkie 48ef3a23f2 Fixed client showing wrong spool price if overridden to 0
Resolves #431
2024-08-05 19:43:05 +02:00
Donkie 93d27a96d3 Spool weight can now be set to 0
Fixes #422
2024-08-05 19:39:54 +02:00
Donkie 694e4b9f61 Update compose-action to try fix CI issue 2024-08-05 19:35:17 +02:00
Donkie f3711f3789 Formatting 2024-08-05 19:26:35 +02:00
Donkie 3b1a09752e Fixed AlignType import 2024-08-05 19:25:14 +02:00
Donkie 71b3ad8f7b Update pdm version in pre-commit 2024-08-05 19:20:29 +02:00
Donkie ae0dbc740b Fixed client build 2024-08-05 19:20:29 +02:00
Donkie 5afe53e05b Merge pull request #423 from tzahari/master
Optimized list views
2024-08-05 19:16:50 +02:00
Donkie 4f49481475 Update PDM lockfile
This updates all dependencies, as well as makes it compatible with latest PDM which now complains about the cross_platform strategy choice, we instead use inherit_metadata now.
2024-08-05 19:15:34 +02:00
Donkie 093d5e095c Merge remote-tracking branch 'weblate/master' into master 2024-08-05 18:57:49 +02:00
Ahti Nurme 6f1338caf0 Translated using Weblate (Estonian)
Currently translated at 12.4% (32 of 258 strings)

Added translation using Weblate (Estonian)

Co-authored-by: Ahti Nurme <ahtinurme@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/et/
Translation: Spoolman/Web Client
2024-08-05 16:49:51 +00:00
Diogo Resende 65b8762805 Translated using Weblate (Portuguese)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Diogo Resende <dresende@thinkdigital.pt>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2024-08-05 16:49:48 +00:00
Mantasp Mants d32d6779c3 Added translation using Weblate (Lithuanian)
Co-authored-by: Mantasp Mants <mantasjucuus150@gmail.com>
2024-08-05 16:49:47 +00:00
Dr_Perry_Coke f7a5149c81 Translated using Weblate (Russian)
Currently translated at 94.1% (243 of 258 strings)

Translated using Weblate (Russian)

Currently translated at 93.7% (242 of 258 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translation: Spoolman/Web Client
2024-08-05 16:49:46 +00:00
Alessandro Schiavo b7d2e13b8f Translated using Weblate (Italian)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Alessandro Schiavo <schiavo.alessandro.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-08-05 16:49:44 +00:00
srbjessen 59089303eb Translated using Weblate (Danish)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: srbjessen <srbjessen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/da/
Translation: Spoolman/Web Client
2024-08-05 16:49:43 +00:00
Maurice Kevenaar f5cd2c8771 Translated using Weblate (Dutch)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-08-05 16:49:42 +00:00
Federico Di Lorenzo 1587b116db Translated using Weblate (Italian)
Currently translated at 100.0% (258 of 258 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Federico Di Lorenzo <federico.dilo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-08-05 16:49:41 +00:00
gallegonovato 3df7d6ad3e Translated using Weblate (Spanish)
Currently translated at 100.0% (261 of 261 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (260 of 260 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (258 of 258 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (260 of 260 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (255 of 255 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-08-05 16:49:40 +00:00
Miloslav Kos c288dc3f9b Translated using Weblate (Czech)
Currently translated at 100.0% (258 of 258 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (267 of 267 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (260 of 260 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (255 of 255 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-08-05 16:49:39 +00:00
Alessandro Schiavo 98105f7bab Translated using Weblate (Italian)
Currently translated at 98.4% (250 of 254 strings)

Co-authored-by: Alessandro Schiavo <schiavo.alessandro.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-08-05 16:49:38 +00:00
Donkie fc505c98f1 Merge pull request #399 from Donkie/weblate
Translations update
2024-08-05 18:49:32 +02:00
Donkie 92f70e73e0 Updated most node dependencies 2024-08-05 18:49:15 +02:00
Donkie 21b9f16531 Print preview area now sizes according to its sibling area 2024-08-05 18:39:41 +02:00
Donkie bf8cbc7a96 Fixed continue button in spool select page 2024-08-05 18:16:02 +02:00
Donkie f8c518e808 Added print page header and back functionality 2024-08-05 18:11:44 +02:00
Ahti Nurme 356946d8d3 Translated using Weblate (Estonian)
Currently translated at 12.4% (32 of 258 strings)

Added translation using Weblate (Estonian)

Co-authored-by: Ahti Nurme <ahtinurme@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/et/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Diogo Resende edbde651ed Translated using Weblate (Portuguese)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Diogo Resende <dresende@thinkdigital.pt>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Mantasp Mants d90426b63d Added translation using Weblate (Lithuanian)
Co-authored-by: Mantasp Mants <mantasjucuus150@gmail.com>
2024-08-05 16:49:27 +02:00
Dr_Perry_Coke 87e1e4fb5d Translated using Weblate (Russian)
Currently translated at 94.1% (243 of 258 strings)

Translated using Weblate (Russian)

Currently translated at 93.7% (242 of 258 strings)

Co-authored-by: Dr_Perry_Coke <dr.perrycoke@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Alessandro Schiavo 19af94efb9 Translated using Weblate (Italian)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Alessandro Schiavo <schiavo.alessandro.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
srbjessen c69035e707 Translated using Weblate (Danish)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: srbjessen <srbjessen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/da/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Maurice Kevenaar 981d08ea65 Translated using Weblate (Dutch)
Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Federico Di Lorenzo d9cfc90060 Translated using Weblate (Italian)
Currently translated at 100.0% (258 of 258 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (258 of 258 strings)

Co-authored-by: Federico Di Lorenzo <federico.dilo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
gallegonovato cbdb3ad221 Translated using Weblate (Spanish)
Currently translated at 100.0% (258 of 258 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (260 of 260 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (255 of 255 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Miloslav Kos 69b856447d Translated using Weblate (Czech)
Currently translated at 100.0% (258 of 258 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (267 of 267 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (260 of 260 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (255 of 255 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Alessandro Schiavo e5a6bf6118 Translated using Weblate (Italian)
Currently translated at 98.4% (250 of 254 strings)

Co-authored-by: Alessandro Schiavo <schiavo.alessandro.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2024-08-05 16:49:27 +02:00
Donkie 38ec685356 Added preset duplicate button 2024-08-05 16:09:43 +02:00
Donkie 71f6ce55f5 Renamed print settings to presets instead, manual preset store button 2024-08-05 16:06:00 +02:00
Donkie b764e9ecd9 Spools to print are now stored using query parameters 2024-08-05 15:41:07 +02:00
Donkie 9318ef5c19 Label printing page updates
No longer a modal
Use flex divs instead of a table
2024-08-05 15:39:38 +02:00
Thomas Zahari 7e87751caf Added right alignment for NumberColumns and price
Removed seconds from date / times
Removed decimals from spool length and weight
2024-07-12 16:42:26 +02:00
Donkie 9aa9479a14 Updated most client deps 2024-06-19 21:31:12 +02:00
Donkie 052bdb453d Added default template 2024-06-19 21:18:48 +02:00
Donkie 20923deebd Added bold tags to template 2024-06-19 21:13:18 +02:00
Donkie 515aafac8f Fixed incorrect react key 2024-06-19 21:13:07 +02:00
Donkie 58e76b0ece Re-added missing translation text 2024-06-19 20:36:06 +02:00
Donkie b2e49aa270 Added new print label template system 2024-06-19 20:33:23 +02:00
Donkie 4100813f22 Stop settings spam in label settings 2024-06-18 19:37:17 +02:00
Donkie 0452b0be04 Added ability to select and create multiple label settings 2024-06-18 19:09:42 +02:00
Donkie 426496b4e5 Recoded label printing settings to store in DB instead of in browser 2024-06-15 14:07:48 +02:00
Donkie 4d0e76b64f Merge branch 'multicolor' 2024-06-11 18:30:45 +02:00
Donkie f7fce7f2cc Added printing dialog item copies
Resolves #398
2024-06-09 12:28:30 +02:00
Donkie 111eab1f24 Update README.md 2024-06-08 23:51:37 +02:00
Michal Kunc 06e546f3fa Add more description to help text, fix cs locale. 2024-03-11 10:25:28 +01:00
Michal Kunc 8c19efa2c4 Add QR Code base URL setting 2024-03-04 01:41:26 +01:00
Michal Kunc 30ee5b7cae Add option to use full URL in QR codes instead of web+spoolman: prefix 2024-02-10 00:09:39 +01:00
346 changed files with 53513 additions and 6981 deletions

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
client/node_modules
client_v2/node_modules
*.egg-info
*.egg/
+12
View File
@@ -60,6 +60,10 @@ SPOOLMAN_PORT=7912
# Sync interval in seconds, set to 0 to disable automatic sync. It will only sync on start-up then.
# Default: 3600
#EXTERNAL_DB_SYNC_INTERVAL=3600
# Display name for the external database, shown in the UI.
# Set this to match your own catalog if you changed EXTERNAL_DB_URL above.
# Default: SpoolmanDB
#EXTERNAL_DB_NAME=SpoolmanDB
# Enable debug mode
# If enabled, the client will accept requests from any host
@@ -72,3 +76,11 @@ SPOOLMAN_PORT=7912
# Default if not set: 1000
#PUID=1000
#PGID=1000
# Allows CORS ORIGIN.
# Use the https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin semantics
# separated by commas
# for example to allow request from source1.domain.com on port p1 and source2.domain.com on port p2
# SPOOLMAN_CORS_ORIGIN=source1.domain.com:p1, source2.domain.com:p2
# to allow from any
# SPOOLMAN_CORS_ORIGIN=*
+1
View File
@@ -4,3 +4,4 @@
# Never modify line endings of our bash scripts
*.sh -crlf
.env.example text eol=lf
+15 -9
View File
@@ -25,19 +25,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@v2
uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.9"
- run: pdm sync
- run: pdm run docs
version: "0.9.26"
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install Poe the Poet
run: uv tool install poethepoet
- run: uv sync
- run: poe generate-docs
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5.0.0
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3.0.1
with:
path: "docs/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4.0.5
+242 -91
View File
@@ -10,9 +10,12 @@ on:
branches:
- master
permissions:
contents: read
packages: read
env:
REGISTRY: ghcr.io
IMAGE_NAME: donkie/spoolman
GHCR_IMAGE: donkie/spoolman
jobs:
#
@@ -22,18 +25,33 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v4
- name: Install node
uses: actions/setup-node@v4.0.3
with:
python-version: "3.9"
node-version: '20'
- name: Install pre-commit
run: pip install pre-commit==3.3.3
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.26"
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install lefthook
run: uv add --dev lefthook
- name: Install client dependencies
run: |
cd client
npm ci
- name: Run pre-commit
run: pre-commit run --all-files
run: uv run lefthook run ci
#
# Build the Spoolman client for baking into the docker images
# This is done on native hardware to speed things up, vite is very slow on emulated hardware
@@ -42,22 +60,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Install node
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.3
with:
node-version: '20'
- name: Set up Python
uses: actions/setup-python@v4
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.9"
- name: Export requirements
run: |
pip install pdm
pdm export -o requirements.txt --without-hashes > requirements.txt
version: "0.9.26"
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install client dependencies
run: |
@@ -70,34 +88,57 @@ jobs:
rm -f .env && echo "VITE_APIURL=/api/v1" > .env.production
npm run build
# Build the new Svelte client (client_v2), served by default at runtime.
# No VITE_APIURL is set: the client resolves the API relative to its base path.
- name: Install client_v2 dependencies
run: |
cd client_v2
npm ci
- name: Build client_v2
run: |
cd client_v2
npm run build
- name: Write build info
run: |
echo "GIT_COMMIT=$(git rev-parse --short HEAD)" > build.txt
echo "BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> build.txt
# Remove client source and keep only the built dist
# Remove client sources and keep only the built output for each client
- name: Clean
run: |
mv client/dist dist
rm -rf client
mkdir client
mv dist client/dist
mv client_v2/build build_v2
rm -rf client_v2
mkdir client_v2
mv build_v2 client_v2/build
rm -rf .git
rm -rf .venv
- name: Fix permissions
run: |
chmod +x scripts/*.sh
- name: Upload client Spoolman artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.0
with:
name: client
path: client/dist
- name: Upload full Spoolman artifact
uses: actions/upload-artifact@v3
- name: Upload client_v2 Spoolman artifact
uses: actions/upload-artifact@v4.4.0
with:
name: client_v2
path: client_v2/build
- name: Upload full Spoolman artifact
uses: actions/upload-artifact@v4.4.0
with:
include-hidden-files: true
name: spoolman
path: .
#
@@ -106,48 +147,56 @@ jobs:
build-amd64:
needs: [build-client]
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Download client
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: client
path: client/dist
- name: Download client_v2
uses: actions/download-artifact@v4.1.7
with:
name: client_v2
path: client_v2/build
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1
- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Spoolman
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
tags: ${{ env.IMAGE_NAME }}:test
tags: ${{ env.GHCR_IMAGE }}:test
outputs: type=docker,dest=/tmp/spoolman.tar
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64,mode=max
cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-amd64
cache-to: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-amd64,mode=max
# Separate build for pull requests since PRs dont have access to store cache
- name: Build Spoolman (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
tags: ${{ env.IMAGE_NAME }}:test
tags: ${{ env.GHCR_IMAGE }}:test
outputs: type=docker,dest=/tmp/spoolman.tar
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64
cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-amd64
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.0
with:
name: spoolman-image
path: /tmp/spoolman.tar
@@ -156,42 +205,44 @@ jobs:
#
build-tester:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1
- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Spoolman Tester
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: ./tests_integration
tags: ${{ env.IMAGE_NAME }}-tester:latest
tags: ${{ env.GHCR_IMAGE }}-tester:latest
outputs: type=docker,dest=/tmp/spoolman-tester.tar
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-tester
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-tester,mode=max
cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-tester
cache-to: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-tester,mode=max
# Separate build for pull requests since PRs dont have access to store cache
- name: Build Spoolman Tester (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: ./tests_integration
tags: ${{ env.IMAGE_NAME }}-tester:latest
tags: ${{ env.GHCR_IMAGE }}-tester:latest
outputs: type=docker,dest=/tmp/spoolman-tester.tar
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-tester
cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-tester
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.0
with:
name: spoolman-tester-image
path: /tmp/spoolman-tester.tar
@@ -206,11 +257,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Download built images
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
pattern: spoolman*-image
path: /tmp
- name: Load built images
@@ -219,12 +271,65 @@ jobs:
docker load --input /tmp/spoolman-tester-image/spoolman-tester.tar
- name: Perform integration tests
uses: isbang/compose-action@v1.4.1
uses: hoverkraft-tech/compose-action@v2.0.1
with:
compose-file: "./tests_integration/docker-compose-${{ matrix.dbtype }}.yml"
up-flags: "--abort-on-container-exit"
down-flags: "--volumes"
#
# Perform frontend (browser) integration tests against the real image
#
test-frontend:
needs: [build-amd64]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Download built image
uses: actions/download-artifact@v4.1.7
with:
name: spoolman-image
path: /tmp/spoolman-image
- name: Load built image
run: docker load --input /tmp/spoolman-image/spoolman.tar
- name: Install node
uses: actions/setup-node@v4.0.3
with:
node-version: '20'
- name: Install Playwright
run: |
cd tests_frontend
npm ci
npx playwright install --with-deps chromium
- name: Start Spoolman
run: docker compose -f tests_frontend/docker-compose.yml up -d --wait
- name: Run frontend integration tests
run: |
cd tests_frontend
npx playwright test
- name: Dump Spoolman logs on failure
if: failure()
run: docker compose -f tests_frontend/docker-compose.yml logs spoolman
- name: Upload Playwright report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4.4.0
with:
name: playwright-report
path: tests_frontend/playwright-report
retention-days: 7
- name: Stop Spoolman
if: always()
run: docker compose -f tests_frontend/docker-compose.yml down -v
#
# Build arm64 image
# Don't run this for pull requests
# Only push to buildcache and let release job push to registry
@@ -233,36 +338,44 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
needs: [build-client]
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Download client
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: client
path: client/dist
- name: Download client_v2
uses: actions/download-artifact@v4.1.7
with:
name: client_v2
path: client_v2/build
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1
- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and cache Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
platforms: linux/arm64
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-arm64
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-arm64,mode=max
cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-arm64
cache-to: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-arm64,mode=max
#
# Build arm/v7 image
# Don't run this for pull requests
@@ -272,99 +385,136 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
needs: [build-client]
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Download client
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: client
path: client/dist
- name: Download client_v2
uses: actions/download-artifact@v4.1.7
with:
name: client_v2
path: client_v2/build
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1
- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and cache Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
platforms: linux/arm/v7
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-armv7
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-armv7,mode=max
cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-armv7
cache-to: type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-armv7,mode=max
#
# Release image if tests pass
# Release images GHCR and Docker Hub if tests pass
# Don't run this for pull requests
#
publish-images:
if: ${{ github.event_name != 'pull_request' }}
needs: [test, build-amd64, build-arm64, build-armv7, style, build-client]
needs: [test, test-frontend, build-amd64, build-arm64, build-armv7, style, build-client]
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v6
- name: Download client
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: client
path: client/dist
- name: Download client_v2
uses: actions/download-artifact@v4.1.7
with:
name: client_v2
path: client_v2/build
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.6.1
- name: Log in to the Github Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3.3.0
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
- name: Extract metadata (tags, labels) for GHCR
id: meta-ghcr
uses: docker/metadata-action@v5.5.1
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
ghcr.io/${{ env.GHCR_IMAGE }}
tags: |
type=edge
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Extract metadata (tags, labels) for Docker Hub
id: meta-dh
uses: docker/metadata-action@v5.5.1
with:
images: |
${{ vars.REMOTE_REGISTRY_URL }}/${{ vars.REMOTE_REGISTRY_NAMESPACE }}/${{ vars.REMOTE_REGISTRY_REPOSITORY }}
tags: |
type=edge
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Log in to DockerHub
uses: docker/login-action@v3.3.0
with:
registry: ${{ vars.REMOTE_REGISTRY_URL }}
username: ${{ secrets.REMOTE_REGISTRY_USERNAME }}
password: ${{ secrets.REMOTE_REGISTRY_PASSWORD }}
- name: Store git commit and build date
run: |
echo "GIT_COMMIT=$(git rev-parse --short HEAD)" >> "$GITHUB_ENV"
echo "BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> "$GITHUB_ENV"
- name: Build and push Docker images
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6.7.0
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
${{ steps.meta-ghcr.outputs.tags }}
${{ steps.meta-dh.outputs.tags }}
labels: ${{ steps.meta-ghcr.outputs.labels }}
build-args: |
GIT_COMMIT
BUILD_DATE
cache-from: |
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-arm64
type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-armv7
type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-amd64
type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-arm64
type=registry,ref=ghcr.io/${{ env.GHCR_IMAGE }}:buildcache-armv7
#
# Create Github Release if CI was triggered by a tag
#
@@ -372,9 +522,11 @@ jobs:
if: ${{ (github.event_name != 'pull_request') && startsWith(github.event.ref, 'refs/tags/v') }}
needs: [publish-images]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download built spoolman
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.7
with:
name: spoolman
path: /tmp/spoolman
@@ -403,4 +555,3 @@ jobs:
files: /tmp/spoolman/spoolman.zip
token: ${{ secrets.GITHUB_TOKEN }}
body: "⚠️ TODO ⚠️"
+99
View File
@@ -0,0 +1,99 @@
name: Guard Translations
# Translations are managed exclusively through Weblate (https://hosted.weblate.org/projects/spoolman/).
# Only the "en" source locale is edited by hand in this repo; every other language is written back
# by the Weblate bot. This workflow fails any PR (except Weblate's own) that MODIFIES or DELETES an
# existing non-English translation file, so manual edits don't get overwritten and lost on the next
# Weblate sync.
#
# ADDING a brand-new language file is allowed: contributors bootstrapping a new language must add the
# code entry in client/src/i18n.ts, and they may include the initial client/public/locales/<lang>/
# file in the same PR. Only edits to files that ALREADY exist on the base branch are blocked.
on:
pull_request:
types:
- opened
- synchronize
- reopened
# NOTE: no `paths:` filter on purpose. If this check is marked "Required" in branch
# protection, a paths filter would leave PRs that don't touch locales stuck "pending"
# forever (the check would never post a status). Instead we always run and pass fast
# when nothing offending changed.
permissions:
contents: read
jobs:
guard-translations:
runs-on: ubuntu-latest
# Skip the guard for Weblate's own translation-sync PRs.
if: github.event.pull_request.user.login != 'weblate'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check for manual non-English translation changes
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
set -euo pipefail
# Files changed in this PR, keyed by change type. --no-renames turns any rename into a
# delete + add pair, so a "renamed" (i.e. rewritten) existing file still trips the delete
# rule below and can't be smuggled through as a fresh add.
#
# --diff-filter=MD keeps only Modified and Deleted paths: edits to files that ALREADY
# exist on the base branch. Added (A) files are intentionally excluded, so a contributor
# may add a brand-new client/public/locales/<lang>/ file for a new language.
offending="$(git diff --no-renames --diff-filter=MD --name-only "$BASE_SHA" "$HEAD_SHA" \
| grep -E '^client/public/locales/[^/]+/' \
| grep -vE '^client/public/locales/en/' \
|| true)"
if [ -n "$offending" ]; then
echo "::error title=Manual translation edits are not allowed::This PR edits existing non-English translation files. See the job summary for details."
{
echo "## ❌ Manual translation edits detected"
echo ""
echo "This PR modifies or deletes one or more **existing non-English** translation files:"
echo ""
echo '```'
echo "$offending"
echo '```'
echo ""
echo "### Why this is blocked"
echo ""
echo "Every language except the English source (\`client/public/locales/en/\`) is managed"
echo "**exclusively through Weblate**. Any manual edit to an existing non-English file here"
echo "will be **silently overwritten and lost** the next time Weblate syncs — so we don't"
echo "accept them."
echo ""
echo "### What to do instead"
echo ""
echo "- **To fix or improve an existing translation:** contribute it through Weblate at"
echo " <https://hosted.weblate.org/projects/spoolman/>. It's free, requires no coding,"
echo " and your change flows back into the repo automatically."
echo "- **To add or change a user-facing string:** edit **only** the English source files under"
echo " \`client/public/locales/en/\`. Weblate will pick up the new keys and expose them to"
echo " translators. Revert your changes to every other language and push again."
echo "- **To add a brand-new language:** that IS allowed here. Add the language entry to"
echo " \`client/src/i18n.ts\` and, if you like, an initial \`client/public/locales/<lang>/\`"
echo " file — new files are fine, only edits to existing ones are blocked."
echo ""
echo "> If you believe an existing file genuinely needs a manual change (e.g. a structural"
echo "> fix), please explain it in a PR comment so a maintainer can review."
} >> "$GITHUB_STEP_SUMMARY"
echo ""
echo "Offending files:"
echo "$offending"
exit 1
fi
echo "No manual edits to existing non-English translation files detected. ✅"
+38
View File
@@ -0,0 +1,38 @@
name: Issue Manager
on:
schedule:
- cron: "0 0 * * *"
issue_comment:
types:
- created
issues:
types:
- labeled
pull_request_target:
types:
- labeled
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
- uses: tiangolo/issue-manager@0.5.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"answered": {
"delay": 604800,
"message": "It seems the issue was answered, closing this now."
},
"waiting": {
"delay": 60400,
"message": "Closing after 7 days of waiting for the additional info requested."
}
}
+16 -12
View File
@@ -13,34 +13,38 @@ on:
- minor
- major
permissions:
contents: write
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
token: ${{ secrets.PAT }}
- name: Set up Python
uses: actions/setup-python@v4
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.9"
version: "0.9.26"
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install node
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.3
with:
node-version: '20'
- name: Setup PDM
run: |
pip install pdm pdm-bump
- name: Bump version
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
pdm run bump ${{ github.event.inputs.bump }}
uv run poe bump ${{ github.event.inputs.bump }}
- name: Push
run: |
+85
View File
@@ -0,0 +1,85 @@
name: Auto-merge Weblate PRs
# Translations are managed exclusively through Weblate (https://hosted.weblate.org/projects/spoolman/),
# which opens a pull request for every sync back to this repo (see guard-translations.yml). Those PRs
# are machine-generated, always scoped to client/public/locales/, and gated by the full CI suite just
# like any other PR. Rather than hand-merging each one, this workflow turns on GitHub's native
# auto-merge for Weblate-authored PRs so they merge themselves once all required status checks pass.
#
# Why auto-merge instead of giving Weblate direct push access to master:
# - Every sync still runs through style/tests/build before it can land — nothing merges unvalidated.
# - No actor gains unrestricted, un-CI'd direct write to master. A compromised Weblate token can only
# open a PR; auto-merge fires solely on green CI for Weblate-authored PRs.
# - GitHub write/bypass can't be scoped to locale files, so direct write would grant all-file access.
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
# contents+pull-requests write let the built-in GITHUB_TOKEN enable auto-merge and perform the squash
# merge. The token is not a ruleset bypass actor and doesn't need to be: with 0 required approvals it
# satisfies the branch requirements once the required checks go green, exactly like a manual merge.
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
# Only ever act on Weblate's own translation-sync PRs. Human PRs are never touched.
# pull_request_target runs in the base-repo context (so GITHUB_TOKEN has write access even for
# branch PRs), and this job is safe under it because it never checks out or executes PR code —
# it only calls the GitHub API to enable auto-merge.
if: github.event.pull_request.user.login == 'weblate'
steps:
# Defence in depth: don't trust the author alone, trust the diff. Even a compromised Weblate
# token can only ever get auto-merged if the PR is confined to locale JSON files. Anything
# else (a code file, a workflow, a non-.json file, a file outside client/public/locales/)
# fails this step, auto-merge is never enabled, and the PR waits for a human. The file list is
# read from the API — this step never checks out or runs PR code, so pull_request_target is safe.
- name: Verify PR only changes locale JSON files
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
set -euo pipefail
files="$(gh api --paginate "repos/${REPO}/pulls/${PR_NUMBER}/files" --jq '.[].filename')"
if [ -z "$files" ]; then
echo "::error title=Empty diff::Weblate PR reports no changed files; refusing to auto-merge."
exit 1
fi
# Every changed path must be a .json file under client/public/locales/<lang>/.
offending="$(printf '%s\n' "$files" | grep -vE '^client/public/locales/[^/]+/.+\.json$' || true)"
if [ -n "$offending" ]; then
echo "::error title=Out-of-scope Weblate PR::PR touches files outside client/public/locales/**/*.json; not auto-merging."
{
echo "## ❌ Auto-merge blocked: out-of-scope changes"
echo ""
echo "This Weblate PR changes files that are **not** locale JSON under \`client/public/locales/\`:"
echo ""
echo '```'
echo "$offending"
echo '```'
echo ""
echo "Weblate sync PRs are only auto-merged when every changed file is a translation JSON"
echo "file. This PR isn't, so it has been left for a maintainer to review and merge by hand."
} >> "$GITHUB_STEP_SUMMARY"
exit 1
fi
echo "All $(printf '%s\n' "$files" | wc -l) changed file(s) are locale JSON. Safe to auto-merge."
- name: Enable auto-merge
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
# Squash is the only merge method the repo and the master ruleset allow.
run: gh pr merge --auto --squash "$PR_URL"
+8 -4
View File
@@ -15,7 +15,6 @@ dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
@@ -26,6 +25,8 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
# requirements.txt is committed (generated from uv on release) for bare-metal /
# Moonraker update_manager consumers. See spoolman/bump.py.
# PyInstaller
# Usually these files are written by a python script from a template
@@ -200,7 +201,10 @@ $RECYCLE.BIN/
### VisualStudioCode ###
.vscode/
data/
devdata
.pdm-python
.history
.history
.claude
# playwright-cli debug artifacts
.playwright-cli/
-24
View File
@@ -1,24 +0,0 @@
default_language_version:
python: python3.9
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
args: ["--check"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
hooks:
- id: ruff
args: ["--target-version", "py39"]
- repo: https://github.com/pdm-project/pdm
rev: 2.15.3
hooks:
- id: pdm-lock-check
+387
View File
@@ -0,0 +1,387 @@
# Spoolman authentication & authorization
> **Status: design proposal — nothing here is implemented yet.**
> Targets the `feature/v2-client` branch (Svelte `client_v2`). Written 2026-07-27.
## Context
Spoolman today has **zero** authentication. Every endpoint under `/api/v1` — including
`POST /setting/{key}`, `DELETE /spool/{id}` and the full-database `GET /export/*` dumps —
is open to anyone who can reach the port. That is acceptable for a LAN-only homelab
instance and unacceptable for anything else, and it blocks the multi-tenant work planned
for the near future.
This project adds an **opt-in** auth system: off by default (`SPOOLMAN_AUTH_ENABLED=FALSE`),
so zero-config boot and every existing integration keep working untouched. When enabled it
provides local username/password login, generic OIDC (Pocket ID, Authentik, Keycloak,
Zitadel — no provider-specific code), API keys for machine consumers, optional TOTP 2FA,
and optional mTLS-as-identity behind a reverse proxy. Three permission levels gate reads,
edits, and creates/deletes. The first user to register becomes the owner and administers
everyone else. Password recovery works without any email setup: admins reset from the UI,
and a new `spoolman.cli` module rescues a locked-out owner from the host shell.
Decisions already made with the maintainer: server-side CLI + owner-driven password reset
(no per-user recovery codes); mTLS terminated at the reverse proxy and usable as an
identity source; **no tenant concept in this project** (design for it, don't build it);
brute-force protection, session management UI, audit log and TOTP 2FA all in scope;
`pyjwt[crypto]` as the only new Python dependency; open first-run owner claim; `/health`,
the SPA bundle, and an opt-in anonymous-read mode stay reachable without credentials.
---
## Ground rules this must not break
- **API v1 is additive-only.** Everything new lives at new paths (`/api/v1/auth/*`,
`/user/*`, `/apikey/*`, `/audit/*`). No existing path, param, field, or status code
changes shape. Adding a 401/403 possibility to existing routes only happens when the
operator opts in.
- **Zero-config boot.** `SPOOLMAN_AUTH_ENABLED` defaults to `FALSE`; with it unset the
request path is byte-identical to today.
- **Single migration, no data backfill** → CockroachDB-safe in one revision.
- **`select = ["ALL"]` ruff** (incl. bandit `S` rules) applies to all new backend code.
- **armv7 Docker builds** rule out `argon2-cffi` / `bcrypt` (C/Rust wheels). Password
hashing uses stdlib `hashlib.scrypt`. `pyjwt` is pure Python and `cryptography` is
already resolved transitively via `aiomysql[rsa]`.
---
## Backend
### New dependency
`pyproject.toml` → `pyjwt[crypto]~=2.10`, then `uv lock` (CI gate `uv lock --check`,
`lefthook.yml:14,54`). Nothing else. TOTP is ~20 lines of stdlib `hmac`/`hashlib`/`struct`;
secret encryption uses `cryptography.fernet`; OIDC HTTP uses the existing `httpx`.
### Data model — `spoolman/database/models.py`
Five new tables. **All prefixed `auth_`** — `user` and `session` are reserved words in
PostgreSQL/MySQL and quoting them everywhere is a footgun not worth taking.
| Table | Key columns |
|---|---|
| `auth_user` | `id` PK, `username` String(64) unique (stored lowercased), `display_name`, `email` (nullable, OIDC matching only), `password_hash` Text nullable (null = OIDC/cert-only), `level` String(16) enum, `is_admin` bool, `is_owner` bool, `is_active` bool, `must_change_password` bool, `totp_secret` Text nullable (Fernet-encrypted), `totp_enabled` bool, `oidc_issuer`/`oidc_subject` (nullable, unique together), `failed_logins` int, `locked_until` datetime nullable, `registered`, `last_login` |
| `auth_api_key` | `id` PK, `user_id` FK, `name` String(64), `level`, `prefix` String(16) unique indexed, `key_hash` Text, `created`, `expires` nullable, `last_used` nullable, `revoked` bool |
| `auth_session` | `id` PK, `user_id` FK, `token_hash` String(64) unique indexed, `created`, `expires`, `last_seen`, `remember` bool, `user_agent` String(256), `ip` String(64) |
| `auth_audit_log` | `id` PK, `date` indexed, `event` String(64), `actor_user_id` nullable FK, `actor_kind`, `target` String(128) nullable, `ip`, `user_agent`, `detail` Text (JSON) |
| `auth_certificate` | `id` PK, `user_id` FK, `name`, `fingerprint_sha256` String(95) unique indexed, `subject_dn` String(512), `created`, `last_used` |
Relationships use `lazy="selectin"`, never `joined` — follow the comment at
`spoolman/database/models.py:10-21`.
**Migration**: one revision in `migrations/versions/`, `down_revision = "415a8f855e14"`
(current head, `2024_05_28_1846-415a8f855e14_multi_colors.py`). Pure `op.create_table` +
`op.create_index(op.f("ix_..."))` — copy the shape of
`migrations/versions/2024_01_04_2209-b8881bdb716c_added_extra_fields.py`. No backfill, so
no second revision needed. `downgrade()` drops the five tables in reverse order.
### Permission model
Two orthogonal axes, deliberately:
**Level** (`spoolman/auth/levels.py`, a `StrEnum` ordered `read < edit < manage`):
| Level | Grants |
|---|---|
| `read` | Every `GET` and every WebSocket subscription |
| `edit` | `read` + modify existing: `PATCH /spool\|filament\|vendor/{id}`, `PUT /spool/{id}/use`, `PUT /spool/{id}/measure`, `PATCH /location/{location}` |
| `manage` | `edit` + create/delete: `POST`/`DELETE` on spool, filament, vendor; `POST /setting/{key}`; `POST`/`DELETE /field/...`; `POST /backup` |
`PUT /spool/{id}/use` sits at `edit` on purpose — that is Moonraker's and OctoPrint's hot
path, so a printer gets an `edit` API key and cannot delete anything.
**Flags**: `is_admin` (manage users, API keys of others, view the audit log) and
`is_owner` (exactly one; can promote/demote admins and transfer ownership; cannot be
deleted or demoted by anyone else). Both imply `manage`.
API keys carry their own `level`, capped at their owning user's level at issue time and
re-capped on every request (demoting a user instantly weakens their keys).
### Enforcement — `spoolman/auth/`
```
spoolman/auth/
levels.py Level enum + comparison helpers
principal.py Principal dataclass: kind (user|apikey|cert|anonymous), user_id,
level, is_admin, is_owner, session_id, api_key_id
hashing.py scrypt password hash/verify (versioned string), token hashing,
constant-time compare, dummy-verify for timing equalization
secret.py SPOOLMAN_SECRET_KEY / auto-generated <data_dir>/secret.key (0600);
derives Fernet key for TOTP secrets and signing key for OIDC state
dependencies.py get_principal(), require_level(Level.X), require_admin,
require_owner, and WebSocket variants
ratelimit.py in-memory sliding-window throttle keyed by username and client IP
audit.py record(event, principal, request, target, detail)
totp.py stdlib RFC-6238
oidc.py discovery + PKCE + token exchange + JWKS via pyjwt
mtls.py trusted-proxy header parsing -> certificate fingerprint
cli.py lives at spoolman/cli.py (see below)
```
`get_principal()` resolution order, first match wins:
1. **Session cookie** `spoolman_session` — opaque 256-bit token, SHA-256 hashed in
`auth_session.token_hash`. Non-GET requests additionally require a matching
`X-CSRF-Token` header (double-submit against a non-httpOnly `spoolman_csrf` cookie).
2. **API key** — `Authorization: Bearer spm_<prefix>_<secret>` or `X-Api-Key: <same>`.
Prefix indexes the row, secret is scrypt-compared. No CSRF (not an ambient credential).
3. **mTLS** — only when `SPOOLMAN_MTLS_ENABLED` and the peer address is inside
`SPOOLMAN_TRUSTED_PROXIES`; reads verify/fingerprint/subject headers (names
configurable, defaults match nginx's `X-SSL-Client-Verify` / `X-SSL-Client-Fingerprint`
/ `X-SSL-Client-S-DN`) and looks up `auth_certificate`.
4. **Anonymous** — level `read` if the `auth_anonymous_read` setting is on, else no access.
Every route in the v1 app gets an explicit
`dependencies=[Depends(require_level(Level.READ))]` (or `EDIT`/`MANAGE`). To make that
fail-closed rather than fail-open, **startup asserts coverage**: after
`v1_app.include_router(...)` runs, iterate `v1_app.routes` and raise if any route lacks an
auth dependency, excluding an explicit allow-list (`/health`, `/auth/config`,
`/auth/setup`, `/auth/login`, `/auth/oidc/*`). A forgotten route then crashes the server on
boot instead of silently serving unauthenticated. This gets its own integration test.
When `SPOOLMAN_AUTH_ENABLED` is false, `require_level` short-circuits to an
all-permissions principal before touching the DB — no query, no measurable overhead.
**WebSockets**: browsers can't set headers on `WebSocket`, but the session cookie *is*
sent on the same-origin handshake, so the SPA needs no change. Machine clients pass
`?api_key=`. WS dependencies must close before `accept()` — copy the precedent at
`spoolman/api/v1/setting.py:124-133`, using close codes **4401** (unauthenticated) and
**4403** (insufficient level).
**Outer app** (`spoolman/main.py`): `/metrics` gets a check requiring an API key when auth
is on, with `SPOOLMAN_METRICS_PUBLIC=TRUE` / `SPOOLMAN_METRICS_TOKEN` escape hatches. The
SPA mount at line 116 stays public. Any new outer-app route must be registered **before**
line 104 — the SPA mount is a catch-all.
**CORS fix required**: `spoolman/main.py:144-151` sets `allow_origins=["*"]` with
`allow_credentials=True` in debug mode, which browsers reject outright for credentialed
requests. Change debug mode to reflect the request `Origin` (or require an explicit
`SPOOLMAN_CORS_ORIGIN`) when auth is enabled. Dev is otherwise fine: `localhost:5174` and
`localhost:8000` are same-site (ports are ignored by SameSite), so a `SameSite=Lax` cookie
works across the Vite dev server.
### New endpoints — `spoolman/api/v1/auth.py`, `user.py`, `apikey.py`, `audit.py`
| Route | Gate | Purpose |
|---|---|---|
| `GET /auth/config` | public | `{enabled, setup_required, anonymous_read, oidc:{enabled,name}, mtls}` — the SPA's bootstrap probe |
| `POST /auth/setup` | public, only while 0 users | Claim ownership. Logs a loud warning + audit entry with the claiming IP |
| `POST /auth/login` | public | `{username, password, remember, totp_code?}` → sets cookies; 401 on failure, 429 when throttled, 428 when TOTP is required |
| `POST /auth/logout` | authed | Revokes the current session |
| `GET /auth/session` | authed | Current principal + capabilities |
| `POST /auth/password` | authed | Change own password (requires current) |
| `GET /auth/oidc/start`, `GET /auth/oidc/callback` | public | Auth Code + PKCE(S256), signed state/nonce cookie |
| `GET /auth/sessions`, `DELETE /auth/sessions/{id}`, `DELETE /auth/sessions` | authed | Session management UI |
| `POST /auth/totp/enroll`, `POST /auth/totp/confirm`, `DELETE /auth/totp` | authed | 2FA enrollment; returns an `otpauth://` URI (QR rendered client-side) |
| `GET/POST /user`, `GET/PATCH/DELETE /user/{id}` | admin | User CRUD; owner-only for admin/owner changes |
| `POST /user/{id}/password-reset` | admin | Returns a one-time temp password, sets `must_change_password` |
| `DELETE /user/{id}/sessions`, `DELETE /user/{id}/totp` | admin | Force logout / clear a lost authenticator |
| `GET/POST /apikey`, `PATCH/DELETE /apikey/{id}` | authed (own) / admin (all) | Plaintext key returned **once** on create |
| `GET /audit` | admin | Filterable, paginated, `x-total-count` |
| `GET/POST/DELETE /user/{id}/certificate` | admin | mTLS cert → identity mapping |
Business logic goes in `spoolman/database/auth_*.py`, not in routers — the routers
validate, delegate, and map exceptions to status codes, matching the existing convention.
### Sessions & remember-me
Opaque random token, hashed at rest, so sessions are revocable and listable (JWTs are
neither). `remember=false` → browser-session cookie, 12 h server-side idle expiry.
`remember=true` → 90-day `Max-Age`, sliding renewal on use. Cookie is `HttpOnly`,
`SameSite=Lax`, `Secure` whenever the request arrived over HTTPS (including via
`X-Forwarded-Proto` from a trusted proxy). Path is `env.get_base_path() + "/"`.
### Brute-force protection
In-memory sliding windows (safe: the deployment contract is one process) keyed by username
and by client IP, plus `failed_logins`/`locked_until` persisted on `auth_user` so account
lockout survives a restart. 5 failures → 1 min, doubling to a 15 min cap. Login always
runs a dummy scrypt verify on unknown usernames so response time doesn't leak account
existence. Client IP comes from `X-Forwarded-For` **only** when the peer is in
`SPOOLMAN_TRUSTED_PROXIES`.
### CLI — `spoolman/cli.py`, run as `python -m spoolman.cli`
Module form rather than a console script, because the Docker image runs from source rather
than an installed distribution. Connects with the same env config; refuses to run if the
schema is missing (it never migrates).
```
python -m spoolman.cli user list
python -m spoolman.cli user create <name> --level manage --admin [--owner]
python -m spoolman.cli user reset-password <name> # prints a one-time password
python -m spoolman.cli user set-level <name> <level>
python -m spoolman.cli user disable|enable <name>
python -m spoolman.cli user clear-totp <name>
python -m spoolman.cli apikey list|revoke <id>
python -m spoolman.cli session revoke-all [--user <name>]
python -m spoolman.cli auth status
```
Documented as `docker exec -it spoolman python -m spoolman.cli ...`. This is the owner's
lockout escape hatch and is the reason no per-user recovery codes are needed.
### Configuration
New env vars in `spoolman/env.py` (copy the boolean-parsing pattern at `env.py:471-488` and
the `_FILE` secret pattern at `env.py:139-170`), all documented in `.env.example`:
`SPOOLMAN_AUTH_ENABLED`, `SPOOLMAN_SECRET_KEY(_FILE)`, `SPOOLMAN_TRUSTED_PROXIES`,
`SPOOLMAN_METRICS_PUBLIC`, `SPOOLMAN_METRICS_TOKEN`,
`SPOOLMAN_OIDC_{ENABLED,ISSUER,CLIENT_ID,CLIENT_SECRET(_FILE),SCOPES,DISPLAY_NAME,REDIRECT_BASE,USERNAME_CLAIM,GROUPS_CLAIM,GROUP_LEVEL_MAP,ADMIN_GROUP,AUTO_CREATE_USERS,DEFAULT_LEVEL}`,
`SPOOLMAN_MTLS_{ENABLED,REQUIRED,HEADER_VERIFY,HEADER_FINGERPRINT,HEADER_SUBJECT}`.
New DB settings via `register_setting()` in `spoolman/settings.py` (no migration needed):
`auth_anonymous_read` (boolean, default `false`), `audit_log_retention_days` (number,
default 90). **Guard `GET /setting/`** so it never returns auth-internal keys to a
non-admin.
Audit-log pruning is a new job on the existing `Scheduler` in `main.py:startup()`.
---
## Frontend — `client_v2` (Svelte 5 + SvelteKit 2)
No React, no Refine, no AntD, no form library, no query library. Everything is hand-rolled
components + rune-based singleton stores, so auth wiring is small and explicit.
### Core plumbing
- **`src/lib/api/http.ts`** — the single choke point. Add `credentials: 'include'` to all
six verb helpers, attach `X-CSRF-Token` from the `spoolman_csrf` cookie on non-GET, and
make `ensureOk` route 401 → `auth.markSignedOut()` and 403 → a localized permission
toast. `src/lib/api/search.ts` builds its own `fetch` and must be moved onto `getJson`
so it isn't an auth hole.
- **`src/lib/api/auth.ts`** — new endpoint module (config, login, logout, session, users,
api keys, sessions, TOTP, audit).
- **`src/lib/stores/auth.svelte.ts`** — new rune store, matching the existing
`settings.svelte.ts` / `serverInfo.svelte.ts` shape:
`state: 'loading'|'setup'|'anon'|'authed'`, `user`, `level`, and derived capability
getters `canEdit` / `canCreate` / `isAdmin` / `isOwner`. When auth is disabled the store
reports full capability, so every call site works unchanged in the default config.
- **`src/routes/+layout.svelte`** — add `auth.load()` to the existing `$effect` alongside
`settings.load()` / `serverInfo.load()`, and render `<LoginScreen>` / `<SetupScreen>`
instead of `{@render children()}` while unauthenticated. `startLiveSync()` must not
start until authenticated.
- **`src/lib/api/live.ts`** — on close codes 4401/4403, stop the reconnect loop (currently
it would hot-retry with backoff forever) and hand off to `auth.markSignedOut()`.
Reconnect after a successful login.
### New routes
`src/routes/login/`, `src/routes/setup/`, `src/routes/account/`, `src/routes/users/`.
`adapter-static` prerenders each into its own `.html`, which `spoolman/client.py`
`lookup_path()` already resolves generically — no backend change needed. `NavTabs.svelte`
gains a conditional **Users** tab (its `tabs` array is `satisfies { href: Pathname }`, so
the route must exist for the type to pass), and `TopBar.svelte` gains a user menu with
Account / Sign out.
- **`/login`** — username + password + a **Remember me** checkbox, an "Sign in with
{provider}" button when `oidc.enabled`, and a TOTP step when the server answers 428.
- **`/setup`** — first-run owner creation, shown when `setup_required`. Carries a visible
warning that the instance is unclaimed.
- **`/account`** — change password, TOTP enrollment (QR via the already-present `qrcode`
npm dep, from the server's `otpauth://` URI), active sessions list with revoke /
"sign out everywhere", and personal API keys (plaintext shown once, copy button).
- **`/users`** — admin only. User list, create, level/admin editing, disable, force
password reset (shows the one-time password), revoke sessions, clear TOTP, manage that
user's API keys and mTLS certificates. Audit-log viewer as a section here.
### Capability gating
Reuse the existing patterns rather than adding a framework: the inline auto-save editors
(`SpoolInspector.svelte`, `FilamentInspector.svelte`, `VendorInspector.svelte` via
`src/lib/utils/saver.ts`) become read-only at level `read`; the add and scan buttons in
`TopBar.svelte`, `AddSpoolModal.svelte`, delete actions, and the settings page's
write controls hide or disable below their required level. Gating is cosmetic — the server
is the authority.
### i18n
New keys go into **`client_v2/locales/en/common.json` only** (flat dotted keys,
i18next-style `{{var}}`); every other locale is Weblate's. Used as
`m['auth.signIn']()` after `import * as m from '$lib/paraglide/messages'`.
---
## Multi-tenancy readiness (design only — no tenant code in this project)
Keep the seam cheap to open later:
- All auth DB access goes through `spoolman/database/auth_*.py` functions that already take
the `Principal`. A tenant filter later slots into those functions, not into 40 routers.
- `Principal` gets a `tenant_id: int | None = None` field now, unused. Everything that
passes a principal is then already threading tenancy.
- Document in the model file that `auth_user.username` uniqueness becomes
`(tenant_id, username)`, and that `auth_api_key.prefix` stays globally unique (it is a
lookup key, not a name).
- Prefer integer surrogate PKs on all five tables (matches existing tables) so a
`tenant_id` FK is a pure add-column later.
---
## Delivery phases
| Phase | Contents |
|---|---|
| **1 — Foundation** | Env flags, secret key, all five tables + the single migration, `spoolman/auth/` core, route-level annotations + startup coverage assertion, password login, sessions/cookies/CSRF, brute-force, open first-run setup, anonymous-read setting, `/metrics` gating, CORS fix, CLI. Frontend: auth store, `http.ts` wiring, `/login` + `/setup`, layout gate, logout, capability gating, live.ts 4401 handling. |
| **2 — Machine access & accountability** | API key endpoints + `/account` key UI, audit log write sites + `/audit` + viewer, `/users` admin page with password reset. |
| **3 — OIDC** | Discovery, PKCE, JWKS, claim→level/admin mapping, JIT provisioning, account linking, "Sign in with…" button. |
| **4 — 2FA & sessions** | TOTP enroll/confirm/disable, login TOTP step, session list + revoke UI, admin clear-TOTP. |
| **5 — mTLS** | Trusted-proxy header parsing, `auth_certificate` mapping, cert management UI, `SPOOLMAN_MTLS_REQUIRED` gate, nginx/Traefik/Caddy documentation. |
Each phase is independently shippable and leaves auth-disabled behavior untouched.
---
## Verification
**Regression (the most important gate).** With auth off, behavior must be identical:
run the full 4-DB suite unchanged — `poe itest` (`tests_integration/run.py`, SQLite +
PostgreSQL + MariaDB + CockroachDB). No existing test file may be edited; if one needs
editing, the contract broke. `tests_integration/tests/conftest.py:40-54` polls `GET /` and
`tests_frontend/run.py:30` polls `/api/v1/health` — both stay public, so neither harness
needs changes.
**Migration.** Confirm `alembic upgrade head` applies cleanly on all four backends from a
pre-existing populated database, then `downgrade` back and `upgrade` again on SQLite. The
4-DB compose run covers the upgrade path automatically since migrations run at startup.
**New auth suite.** Add `tests_integration/docker-compose-sqlite-auth.yml` (auth enabled,
plus one Postgres variant) and `tests_integration/tests/auth/`:
- `test_route_coverage.py` — every v1 route carries an auth dependency (asserts the
startup self-check, the single highest-value test here).
- `test_levels.py` — a `read` key gets 403 on `PATCH /spool/{id}`; an `edit` key succeeds
on `PUT /spool/{id}/use` but gets 403 on `DELETE /spool/{id}`; `manage` succeeds on both.
- `test_login.py` — success, wrong password, unknown user (equal timing), lockout after N
failures, `remember` cookie `Max-Age`.
- `test_setup.py` — first call claims ownership; second call 409.
- `test_apikey.py` — plaintext returned once, revoke takes effect, key capped by owner
level, demoting the user weakens the key.
- `test_csrf.py` — cookie-authenticated POST without `X-CSRF-Token` is rejected; the same
request with an API key succeeds.
- `test_websocket.py` — unauthenticated WS closes with 4401; wrong-level closes 4403;
`?api_key=` connects.
- `test_anonymous_read.py` — setting off → 401 on `GET /spool`; on → 200 on GET, 401 on POST.
**OIDC (phase 3).** Stand up a local generic provider container (Dex or Keycloak) in a
compose file and test discovery → PKCE → callback → session end-to-end. Then a manual
smoke against a real Pocket ID instance before merge, since Pocket ID is the named target.
**mTLS (phase 5).** An nginx container terminating mTLS in front of Spoolman, with a
self-signed CA; assert cert→user mapping works and that the same headers sent directly
(peer not in `SPOOLMAN_TRUSTED_PROXIES`) are ignored — that spoofing test matters more
than the happy path.
**Client.** `cd client_v2 && npm run check` (svelte-check), `npm run lint`, prettier, and
the existing `e2e/a11y-mobile.spec.ts` axe audit extended to the login and users pages.
Manual smoke of the two-terminal dev loop (`uvicorn` + `vite --port 5174` with
`VITE_APIURL` and an explicit `SPOOLMAN_CORS_ORIGIN`) to confirm cookies cross the dev
origin, plus a production-image run to confirm the prerendered `/login` and `/users`
documents resolve under a non-empty `SPOOLMAN_BASE_PATH`.
**Manual acceptance.** Fresh SQLite instance, auth on: claim owner → create an `edit` user
→ create a `read` API key → point a real Moonraker (or a curl script replaying its
`PUT /use` calls) at it and confirm usage tracking works with an `edit` key and is
rejected with a `read` key.
+32 -43
View File
@@ -1,69 +1,59 @@
FROM python:3.12-bookworm as python-builder
FROM python:3.14-slim-bookworm AS python-builder
# Install dependencies
ENV UV_COMPILE_BYTECODE=1
ENV UV_LINK_MODE=copy
ENV UV_NO_DEV=1
ENV UV_PYTHON_DOWNLOADS=0
# Install system dependencies
RUN apt-get update && apt-get install -y \
g++ \
python3-dev \
libpq-dev \
libffi-dev \
python3-pip \
python3-setuptools \
python3-wheel \
python3-pdm \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Add local user so we don't run as root
RUN groupmod -g 1000 users \
&& useradd -u 911 -U app \
&& usermod -G users app
# Install UV
RUN pip install --no-cache-dir uv
ENV PATH="/home/app/.local/bin:${PATH}"
# Copy and install dependencies
COPY --chown=app:app pyproject.toml /home/app/spoolman/
COPY --chown=app:app pdm.lock /home/app/spoolman/
# Install dependencies
WORKDIR /home/app/spoolman
RUN pdm sync --prod --no-editable
RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --locked --no-install-project
# Copy and install app
COPY --chown=app:app migrations /home/app/spoolman/migrations
COPY --chown=app:app spoolman /home/app/spoolman/spoolman
COPY --chown=app:app alembic.ini /home/app/spoolman/
COPY --chown=app:app README.md /home/app/spoolman/
# Copy and install app. No --chown here: the "app" user only exists in the
# runner stage, and Podman (unlike Docker/BuildKit) refuses to resolve it. Final
# ownership is set when these files are copied into the runner stage below.
COPY migrations /home/app/spoolman/migrations
COPY spoolman /home/app/spoolman/spoolman
COPY alembic.ini README.md uv.lock pyproject.toml /home/app/spoolman/
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --locked
FROM python:3.12-bookworm as python-runner
FROM python:3.14-slim-bookworm AS python-runner
LABEL org.opencontainers.image.source=https://github.com/Donkie/Spoolman
LABEL org.opencontainers.image.description="Keep track of your inventory of 3D-printer filament spools."
LABEL org.opencontainers.image.licenses=MIT
# Install latest su-exec
RUN set -ex; \
\
curl -o /usr/local/bin/su-exec.c https://raw.githubusercontent.com/ncopa/su-exec/master/su-exec.c; \
\
fetch_deps='gcc libc-dev'; \
apt-get update; \
apt-get install -y --no-install-recommends $fetch_deps; \
rm -rf /var/lib/apt/lists/*; \
gcc -Wall \
/usr/local/bin/su-exec.c -o/usr/local/bin/su-exec; \
chown root:root /usr/local/bin/su-exec; \
chmod 0755 /usr/local/bin/su-exec; \
rm /usr/local/bin/su-exec.c; \
\
apt-get purge -y --auto-remove $fetch_deps
# Install gosu for privilege dropping
RUN apt-get update && apt-get install -y \
gosu \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Add local user so we don't run as root
RUN groupmod -g 1000 users \
&& useradd -u 1000 -U app \
&& usermod -G users app \
RUN useradd -u 1000 -U app \
&& mkdir -p /home/app/.local/share/spoolman \
&& chown -R app:app /home/app/.local/share/spoolman
# Copy built client
# Copy built clients. The new Svelte client (client_v2) is served by default; the
# legacy React client (client/dist) is kept for the SPOOLMAN_LEGACY_CLIENT fallback.
COPY --chown=app:app ./client/dist /home/app/spoolman/client/dist
COPY --chown=app:app ./client_v2/build /home/app/spoolman/client_v2/build
# Copy built app
COPY --chown=app:app --from=python-builder /home/app/spoolman /home/app/spoolman
@@ -74,7 +64,6 @@ RUN chmod +x /home/app/spoolman/entrypoint.sh
WORKDIR /home/app/spoolman
ENV PATH="/home/app/spoolman/.venv/bin:${PATH}"
ENV PYTHONPATH="/home/app/spoolman:${PYTHONPATH}"
ARG GIT_COMMIT=unknown
ARG BUILD_DATE=unknown
+25 -175
View File
@@ -4,188 +4,38 @@
<img alt="Icon of a filament spool" src="https://github.com/Donkie/Spoolman/assets/2332094/3c120b3a-1422-42f6-a16b-8d5a07c33000">
</picture>
<br/><br/>
<br/>
_Keep track of your inventory of 3D-printer filament spools._
Spoolman is a web service that helps you keep track of your filament spools and how they are being used.
Spoolman is a self-hosted web service designed to help you efficiently manage your 3D printer filament spools and monitor their usage. It acts as a centralized database that seamlessly integrates with popular 3D printing software like [OctoPrint](https://octoprint.org/) and [Klipper](https://www.klipper3d.org/)/[Moonraker](https://moonraker.readthedocs.io/en/latest/). When connected, it automatically updates spool weights as printing progresses, giving you real-time insights into filament usage.
It acts as a database, where other printer software such as Octoprint and Moonraker can interact with to have a centralized place for spool information.
For example, if used together with Moonraker, your spool weight will automatically be reduced as your print is progressing.
[![Static Badge](https://img.shields.io/badge/Spoolman%20Wiki-blue?link=https%3A%2F%2Fgithub.com%2FDonkie%2FSpoolman%2Fwiki)](https://github.com/Donkie/Spoolman/wiki)
[![GitHub Release](https://img.shields.io/github/v/release/Donkie/Spoolman)](https://github.com/Donkie/Spoolman/releases)
It exposes a HTTP API which services can interact with. See the [OpenAPI description](https://donkie.github.io/Spoolman/) for more information.
### Features
* **Filament Management**: Keep comprehensive records of filament types, manufacturers, and individual spools.
* **API Integration**: The [REST API](https://donkie.github.io/Spoolman/) allows easy integration with other software, facilitating automated workflows and data exchange.
* **Real-Time Updates**: Stay informed with live spool updates through Websockets, providing immediate feedback during printing operations.
* **Central Filament Database**: A community-supported database of manufacturers and filaments simplify adding new spools to your inventory. Contribute by heading to [SpoolmanDB](https://github.com/Donkie/SpoolmanDB).
* **Web-Based Client**: Spoolman includes a built-in web client that lets you manage data effortlessly:
* View, create, edit, and delete filament data.
* Add custom fields to tailor information to your specific needs.
* Print labels with QR codes for easy spool identification and tracking.
* Contribute to its translation into 18 languages via [Weblate](https://hosted.weblate.org/projects/spoolman/).
* **Database Support**: SQLite, PostgreSQL, MySQL, and CockroachDB.
* **Multi-Printer Management**: Handles spool updates from several printers simultaneously.
* **Advanced Monitoring**: Integrate with [Prometheus](https://prometheus.io/) for detailed historical analysis of filament usage, helping you track and optimize your printing processes. See the [Wiki](https://github.com/Donkie/Spoolman/wiki/Filament-Usage-History) for instructions on how to set it up.
## Client
Spoolman includes a web-client that lets you directly manipulate all the data. It also has a few additional nice features such as label printing.
**Spoolman integrates with:**
* [Moonraker](https://moonraker.readthedocs.io/en/latest/configuration/#spoolman) and most front-ends (Fluidd, KlipperScreen, Mainsail, ...)
* [OctoPrint](https://github.com/mdziekon/octoprint-spoolman)
* [OctoEverywhere](https://octoeverywhere.com/spoolman?source=github_spoolman)
* [Home Assistant](https://github.com/Disane87/spoolman-homeassistant)
* [MCP Server](https://github.com/Disane87/spoolman-mcp) - Manage your filament inventory through AI assistants like Claude using the Model Context Protocol
**Web client preview:**
![image](https://github.com/Donkie/Spoolman/assets/2332094/33928d5e-440f-4445-aca9-456c4370ad0d)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://hosted.weblate.org/widget/spoolman/287x66-black.png">
<source media="(prefers-color-scheme: light)" srcset="https://hosted.weblate.org/widget/spoolman/287x66-white.png">
<img alt="Icon of a filament spool" src="https://hosted.weblate.org/widget/spoolman/287x66-white.png">
</picture>
_The web client is translated by the community using [Weblate](https://hosted.weblate.org/projects/spoolman/)._
## Integration status
Spoolman doesn't depend on any specific printer software, but to make the most out of it, you should use it together with a frontend that supports it.
It is currently only supported in the Klipper ecosystem, with official support for the major frontends. Support for other ecosystems like Octoprint is ongoing.
* ✔️ Moonraker - See the [Moonraker Documentation](https://moonraker.readthedocs.io/en/latest/configuration/#spoolman)
* ✔️ Fluidd
* ✔️ KlipperScreen
* ✔️ Mainsail
* ✔️ Octoprint: [OctoPrint-Spoolman](https://github.com/mdziekon/octoprint-spoolman)
* ✔️ Home Assistant integration: [spoolman-homeassistant](https://github.com/Disane87/spoolman-homeassistant)
* ✔️ Free & Secure Remote Access: [OctoEverywhere for Spoolman](https://octoeverywhere.com/spoolman?source=github_spoolman)
## Installation
Spoolman can interact with any of the following databases: SQLite, PostgreSQL, MySQL, MariaDB, CockroachDB.
By default, SQLite is used which is a simple no-install database solution that saves to a single .db file located in the server's user directory.
Spoolman can be installed in two ways, either standalone on your machine or using Docker. If you already have Docker installed, it's recommended to use that.
### Standalone
This installation guide assumes you are using a Debian-based Linux distribution such as Ubuntu or Raspberry Pi OS. If you are using another distribution, please look inside the bash scripts to see what commands are being run and adapt them to your distribution.
Copy-paste the entire below command and run it on your machine to install Spoolman.
```bash
sudo apt-get update && \
sudo apt-get install -y curl jq && \
mkdir -p ./Spoolman && \
source_url=$(curl -s https://api.github.com/repos/Donkie/Spoolman/releases/latest | jq -r '.assets[] | select(.name == "spoolman.zip").browser_download_url') && \
curl -sSL $source_url -o temp.zip && unzip temp.zip -d ./Spoolman && rm temp.zip && \
cd ./Spoolman && \
bash ./scripts/install.sh
```
#### Updating
Updating Spoolman is quite simple. If you use the default database type, SQLite, it is stored outside of the installation folder (in `~/.local/share/spoolman`), so you will not lose any data by moving to a new installation folder.
Copy-paste the entire below commands and run it on your machine to update Spoolman to the latest version. The command assumes your existing Spoolman folder is named `Spoolman` and is located in your current directory.
```bash
# Stop and disable the old Spoolman service
sudo systemctl stop Spoolman
sudo systemctl disable Spoolman
systemctl --user stop Spoolman
systemctl --user disable Spoolman
# Download and install the new version
mv Spoolman Spoolman_old && \
mkdir -p ./Spoolman && \
source_url=$(curl -s https://api.github.com/repos/Donkie/Spoolman/releases/latest | jq -r '.assets[] | select(.name == "spoolman.zip").browser_download_url') && \
curl -sSL $source_url -o temp.zip && unzip temp.zip -d ./Spoolman && rm temp.zip && \
cp Spoolman_old/.env Spoolman/.env && \
cd ./Spoolman && \
bash ./scripts/install.sh && \
rm -rf ../Spoolman_old
```
### Using Docker
You can also run Spoolman using Docker. Docker is a platform for developing, shipping, and running applications in containers. Containers are lightweight, portable, and self-contained environments that can run on any machine with Docker installed.
To install Docker on your machine, follow the instructions for your operating system on the [Docker website](https://docs.docker.com/engine/install/). Docker also includes the docker-compose tool which lets you configure the container deployment in a simple yaml file, without having to remember all the command line options. Note: older versions of docker-compose require you to have a dash (`-`) in the following commands, like `docker-compose` instead of `docker compose`.
Here is a sample docker-compose config to get you started. Copy-paste it into a file called `docker-compose.yml` and run `docker compose up -d` to start it. If you want to use the SQLite database as in this sample, you must first create a folder called `data` in the same directory as the `docker-compose.yml`, then you should run `chown 1000:1000 data` on it in order to give it the correct permissions for the user inside the docker container.
```yaml
version: '3.8'
services:
spoolman:
image: ghcr.io/donkie/spoolman:latest
restart: unless-stopped
volumes:
# Mount the host machine's ./data directory into the container's /home/app/.local/share/spoolman directory
- type: bind
source: ./data # This is where the data will be stored locally. Could also be set to for example `source: /home/pi/printer_data/spoolman`.
target: /home/app/.local/share/spoolman # Do NOT change this line
ports:
# Map the host machine's port 7912 to the container's port 8000
- "7912:8000"
environment:
- TZ=Europe/Stockholm # Optional, defaults to UTC
```
Once you have it up and running, you can access the web UI by browsing to `http://your.ip:7912`. Make sure that the data folder you created now contains a `spoolman.db` file. If you cannot find this file in your machine, then **your data will be lost** every time you update Spoolman.
#### Updating
If a new version of Spoolman has been released, you can update to it by first browsing to the directory where you have the `docker-compose.yml` file and then running `docker compose pull && docker compose up -d`.
### Environment variables
See the `.env.example` file for a list of all environment variables you can use.
## Frequently Asked Questions (FAQs)
### QR Code Does not work on HTTP / The page is not served over HTTPS
This is a limitation of the browsers. Browsers require a secure connection to the server to enable HTTPS. This is not a limitation of Spoolman. For more information read this [blog](https://blog.mozilla.org/webrtc/camera-microphone-require-https-in-firefox-68/) from Mozilla.
[OctoEverywhere.com](https://octoeverywhere.com/spoolman?source=github_spoolman_qr) is An easy way to get secure HTTPS access to Spoolman. Remote access with OctoEverywhere is always secure and easier than setting up a reverse proxy + SSL self-signed certificate.
Another option is to put Spoolman behind a reverse proxy like Caddy or Nginx to enable HTTPS. See for example [this guide](https://caddyserver.com/docs/quick-starts/reverse-proxy) for Caddy.
### Can Spoolman be translated into my language?
Yes, head over to [Weblate](https://hosted.weblate.org/projects/spoolman/) to start the Translation
## Install from source
**Advanced users only.**
If you want to run the absolute latest version of Spoolman, you can either use the `edge` tagged Docker image, or follow
these steps to install from source. Keep in mind that this may contain bugs and is not recommended for production use.
1. Make sure you have at least NodeJS 20 or higher installed, and Python 3.9 or higher installed.
1. Clone this repo or download the zip source.
2. Inside the `client/` folder:
1. Create a .env file with `VITE_APIURL=/api/v1` in it
2. Run `npm ci`
3. Run `npm run build`
4. Install PDM using `pip install --user pdm`
5. Build the requirements.txt file: `pdm export -o requirements.txt --without-hashes > requirements.txt`
3. Give scripts permissions: `chmod +x ./scripts/*.sh`
6. Run the installer script like the normal install: `./scripts/install.sh`
## Development
### Server/Backend (Python)
The Python backend runs on Python 3.9. It's built on FastAPI for the REST API, and SQLAlchemy to handle the databases.
To setup yourself for Python development, do the following:
1. Clone this repo
2. CD into the repo
3. Install PDM: `pip install --user pdm`
> At pre-commit hook used pdm==2.7.4
4. Install Spoolman dependencies: `pdm sync`
And you should be all setup. Read the Style and Integration Testing sections below as well.
#### Style
[Black](https://black.readthedocs.io/en/stable/) and [Ruff](https://docs.astral.sh/ruff/) is used to ensure a consistent style and good code quality. You can install extensions in your editor to make them run automatically.
[Pre-commit](https://pre-commit.com/) is used to ensure the style is maintained for each commit. You can setup pre-commit by simply running the following in the Spoolman root directory:
```
pip install pre-commit
pre-commit install
```
#### Integration Testing
The entire REST API is integration tested using an isolated docker container, with all 4 database types that we support (Postgres, MySQL, SQLite and CockroachDB). These integration tests live in `tests_integration/`. They are designed to "use" the REST API in the same way that a client would, and ensures that everything remains consistent between updates. The databases are created as part of the integration testing, so no external database is needed to run them.
If you have docker installed, you can run the integration tests using `pdm run itest` for all databases, or e.g. `pdm run itest postgres` for a single database.
### Client (Node/React/Typescript)
The client is a React-based web client, built using the [refine.dev](https://refine.dev) framework, with Ant Design as the components.
To test out changes to the web client, the best way is to run it in development mode.
Prerequisites:
* NodeJS 20 or above installed, along with NPM. Running `node --version` should print a correct version.
* A running Spoolman server, with the following two environment variables added in the `docker-compose.yml`:
```yaml
environment:
- FORWARDED_ALLOW_IPS=*
- SPOOLMAN_DEBUG_MODE=TRUE
```
Instructions:
1. Open a terminal and CD to the `client` subdirectory
2. Run `npm install`. If it doesn't succeed, you probably have an incorrect node version. Spoolman is only tested on NodeJS 20.
3. Run `echo "VITE_APIURL=http://192.168.0.123:7901/api/v1" > .env`, where the ip:port is the address of the running Spoolman server. This should create a `.env` file in the `client` directory. If you don't already have one running on your network, you can start one up using the `docker-compose.yml` showed above.
4. Run `npm run dev`. The terminal will print a "Local: xxxx" URL, open that in your browser and the web client should show up. Your existing spools etc in your Spoolman database should be loaded in.
5. Any edits in .ts/.tsx files will be automatically reloaded in your browser. If you make any change to .json files you will need to F5 in your browser.
Please see the [Installation page on the Wiki](https://github.com/Donkie/Spoolman/wiki/Installation) for details how to install Spoolman.
-12
View File
@@ -1,12 +0,0 @@
/* eslint-env node */
module.exports = {
env: { browser: true, es2020: true },
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react-hooks/recommended"],
parser: "@typescript-eslint/parser",
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": "warn",
},
};
+3
View File
@@ -7,6 +7,7 @@
# testing
/coverage
/dev-dist
# production
/build
@@ -17,6 +18,8 @@
.env.development.local
.env.test.local
.env.production.local
# Generated at build time (CI and tests_frontend/run.py) — never committed
.env.production
npm-debug.log*
yarn-debug.log*
+6
View File
@@ -0,0 +1,6 @@
public/locales
dist
dev-dist
node_modules
.vscode
.vite
+23
View File
@@ -0,0 +1,23 @@
import js from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier/flat";
import reactPlugin from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import { defineConfig, globalIgnores } from "eslint/config";
import globals from "globals";
import tseslint from "typescript-eslint";
export default defineConfig([
globalIgnores(["node_modules/", "dist/", "dev-dist/"]),
{
files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
plugins: { js, reactHooks, reactRefresh },
extends: ["js/recommended"],
languageOptions: { globals: globals.browser },
settings: { react: { version: "detect" } },
},
tseslint.configs.recommended,
reactPlugin.configs.flat.recommended,
reactPlugin.configs.flat["jsx-runtime"],
eslintConfigPrettier,
]);
+1 -1
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
+8279 -2594
View File
File diff suppressed because it is too large. Load diff
+58 -39
View File
@@ -1,57 +1,76 @@
{
"name": "spoolman-ui",
"version": "0.18.1",
"version": "0.24.0",
"engines": {
"node": "20.x"
},
"private": true,
"type": "module",
"dependencies": {
"axios": "^1.6.8",
"@ant-design/icons": "^5.3.7",
"@loadable/component": "^5.16.4",
"@refinedev/antd": "^5.37.0",
"@refinedev/core": "^4.49.2",
"@refinedev/kbar": "^1.3.10",
"@refinedev/react-router-v6": "^4.5.9",
"@refinedev/simple-rest": "^5.0.6",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"@types/loadable__component": "^5.13.9",
"@yudiel/react-qr-scanner": "^1.2.10",
"antd": "^5.12.2",
"flag-icons": "^7.2.1",
"i18next": "^23.11.4",
"i18next-browser-languagedetector": "^7.2.1",
"i18next-http-backend": "^2.5.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^14.1.1",
"react-router-dom": "^6.23.0",
"react-to-print": "^2.15.1",
"vite-plugin-svgr": "^4.2.0"
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"@loadable/component": "^5.16.7",
"@refinedev/antd": "^6.0.3",
"@refinedev/core": "^5.0.7",
"@refinedev/kbar": "^2.0.1",
"@refinedev/react-router": "^2.0.3",
"@refinedev/simple-rest": "^6.0.1",
"@tanstack/react-query": "^5.90.16",
"@tanstack/react-query-devtools": "^5.91.2",
"@yudiel/react-qr-scanner": "^2.5.0",
"axios": "^1.13.2",
"dayjs": "^1.11.10",
"html-to-image": "^1.11.13",
"i18next": "^25.7.3",
"i18next-browser-languagedetector": "^8.2.0",
"i18next-http-backend": "^3.0.2",
"react": "^19.2.3",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^19.2.3",
"react-i18next": "^16.5.1",
"react-router": "^7.11.0",
"react-to-print": "^3.2.0",
"uuid": "^14.0.0",
"vite-plugin-svgr": "^4.5.0",
"zustand": "^5.0.9"
},
"overrides": {
"@ant-design/pro-layout": {
"path-to-regexp": "^8.4.0"
}
},
"devDependencies": {
"@refinedev/cli": "^2.16.31",
"@types/node": "^20.12.11",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^9.2.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite-plugin-mkcert": "^1.17.5"
"@eslint/js": "^9.39.2",
"@refinedev/cli": "^2.16.50",
"@types/loadable__component": "^5.13.10",
"@types/node": "^25.0.3",
"@types/react-dom": "^19.2.3",
"@types/react": "^19.2.7",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react": "^5.1.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"eslint-plugin-react": "^7.37.5",
"eslint": "^9.39.2",
"globals": "^17.0.0",
"prettier": "3.7.4",
"typescript-eslint": "^8.52.0",
"typescript": "^5.9.3",
"vite": "^7.3.0",
"vite-plugin-mkcert": "^1.17.9",
"vite-plugin-pwa": "^1.2.0"
},
"scripts": {
"dev": "refine dev",
"build": "tsc && refine build",
"build.zip": "cd ./dist && zip -r spoolman-client.zip ./ ./ && cd ..",
"preview": "refine start",
"refine": "refine"
"refine": "refine",
"check-i18n": "node scripts/check-i18n.js",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"format": "prettier --write .",
"format-check": "prettier --check ."
},
"browserslist": {
"production": [
@@ -65,4 +84,4 @@
"last 1 safari version"
]
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 768 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

+86 -22
View File
@@ -12,13 +12,13 @@
"logout": "Odhlášení",
"delete": "Smazat",
"edit": "Upravit",
"cancel": "Storno",
"cancel": "Zrušit",
"confirm": "Jste si jisti?",
"filter": "Filtr",
"clear": "Přehled",
"refresh": "Obnovit",
"clear": "Vymazat",
"refresh": "Znovu načíst",
"show": "Zobrazit",
"undo": "Zpět",
"undo": "Vrátit zpět",
"import": "Import",
"clone": "Duplikovat",
"archive": "Archivovat",
@@ -27,13 +27,14 @@
"showArchived": "Zobrazit archivované",
"notAccessTitle": "Nemáte oprávnění k přístupu",
"hideColumns": "Skrýt sloupce",
"clearFilters": "Zrušit filtry",
"saveAndAdd": "Uložit a přidat"
"clearFilters": "Vypnout filtry",
"saveAndAdd": "Uložit a přidat",
"continue": "Pokračovat"
},
"warnWhenUnsavedChanges": "Jste si jisti, že chcete odejít? Máte neuložené změny.",
"notifications": {
"success": "Úspěšné",
"error": "Chyba (status code: {{statusCode}})",
"error": "Chyba (kód chyby: {{statusCode}})",
"undoable": "Máte {{seconds}} sekund na zrušení.",
"createSuccess": "Úspěšně vytvořeno {{resource}}",
"createError": "Při vytváření došlo k chybě {{resource}} (status code: {{statusCode}})",
@@ -58,7 +59,7 @@
},
"printing": {
"generic": {
"title": "Tisk",
"title": "Probíhá tisk",
"description": "Níže uvedeným nastavením dosáhnete požadovaného rozložení tisku. Mějte na paměti, že tiskárny a váš operační systém mohou použít vlastní okraje a měřítka, takže možná budete muset provést několik pokusů a omylů, než bude vše správně nastaveno. Před tiskem na skutečné štítky si to vyzkoušejte na kousku běžného papíru.",
"helpMargin": "Okraje by měly být nastaveny tak, aby odpovídaly papíru na štítky a tiskárně, jejich změna ovlivní velikost celé mřížky.",
"helpPrinterMargin": "Bezpečná zóna by měla být nastavena tak, jak blízko okraje papíru může tiskárna tisknout, jejich změna neovlivní celou mřížku.",
@@ -87,16 +88,27 @@
"none": "Žádný",
"border": "Ohraničení",
"grid": "Mřížka"
}
},
"itemCopies": "Kopie položky",
"defaultSettings": "Výchozí",
"addSettings": "Přidat novou předvolbu",
"newSetting": "Nový",
"deleteSettings": "Smazat aktuální předvolbu",
"settingsName": "Název předvolby",
"settings": "Předvolby",
"deleteSettingsConfirm": "Opravdu chcete tuto předvolbu smazat?",
"duplicateSettings": "Duplikát",
"saveSetting": "Uložit předvolby",
"saveAsImage": "Uložit jako obrázek"
},
"qrcode": {
"button": "Tisk QR kódů",
"title": "Tisk QR kódů",
"button": "Tisk štítků",
"title": "Tisk štítku",
"spoolWeight": "Hmotnost cívky: {{weight}}",
"lotNr": "Číslo šarže: {{lot}}",
"bedTemp": "BT: {{temp}}",
"extruderTemp": "ET: {{temp}}",
"textSize": "Velikost textu obsahu",
"textSize": "Velikost textu štítku",
"showSpoolmanIcon": "Zobrazit ikonu Spoolman",
"showVendor": "Výrobce",
"showContent": "Tisk štítku",
@@ -105,17 +117,34 @@
"showTemperatures": "Teploty",
"showSpoolComment": "Poznámka k cívce",
"showFilamentComment": "Poznámka k filamentu",
"showVendorComment": "Poznámka k výrobci"
"showVendorComment": "Poznámka k výrobci",
"useHTTPUrl": {
"label": "Odkaz na QR kód",
"tooltip": "Použije proprietární odkaz, který bude fungovat pouze v případě, že bude skenován pomocí funkce skenování Spoolman (výchozí). Adresa URL používá buď základní adresu URL zadanou v nastavení, nebo adresu URL aktuální stránky, pokud není nastavena.",
"options": {
"default": "Výchozí",
"url": "URL"
},
"preview": "Náhled:"
},
"template": "Šablona štítku",
"templateHelp": "Pomocí {} vložíte hodnoty objektu cívky jako text. Například, {id} bude nahrazeno ID cívky nebo {filament.material} bude nahrazeno materiálem cívky. Pokud hodnota chybí, bude nahrazena znakem „?“. K odstranění této hodnoty lze použít druhou sadu {}. Kromě toho bude odstraněn jakýkoli text mezi sadami {}, pokud hodnota chybí. Například {Lot Nr: {lot_nr}} zobrazí popisek pouze v případě, že cívka má číslo šarže. Text uzavřete dvojitou hvězdičkou **, aby byl tučný. Kliknutím na tlačítko zobrazíte seznam všech dostupných značek.",
"showQRCode": "Tisk QR kódu",
"showQRCodeMode": {
"no": "Ne",
"simple": "Jednoduchý",
"withIcon": "S ikonou"
}
},
"spoolSelect": {
"title": "Vybrat cívky",
"description": "Vyberte cívky pro tisk QR kódů.",
"description": "Vyberte cívky, pro které chcete tisknout štítky.",
"showArchived": "Zobrazit archivované",
"noSpoolsSelected": "Nevybrali jste žádné cívky.",
"selectAll": "Vybrat/odebrat vše",
"selectedTotal_one": "{{count}} vybraná cívka",
"selectedTotal_few": "{{count}} vybraných cívek",
"selectedTotal_other": "{{count}} vybrané cívky"
"selectedTotal_few": "{{count}} vybrané cívky",
"selectedTotal_other": "{{count}} vybraných cívek"
}
},
"scanner": {
@@ -175,14 +204,25 @@
"list": "Cívky",
"show": "Zobrazit cívku",
"archive": "Archivní cívka",
"show_title": "[Cívka #{{id}}] {{name}}"
"show_title": "[Cívka #{{id}}] {{name}}",
"adjust": "Nastavení cívky filamentu"
},
"messages": {
"archive": "Opravdu chcete tuto cívku archivovat?"
},
"form": {
"new_location_prompt": "Zadejte nové umístění",
"spool_updated": "Od otevření této stránky byla tato cívka někým/něčím aktualizována. Uložením se tyto změny přepíší!"
"spool_updated": "Od otevření této stránky byla tato cívka někým/něčím aktualizována. Uložením se tyto změny přepíší!",
"measurement_type": {
"length": "Délka",
"weight": "Hmotnost"
},
"measurement_type_label": "Typ měření",
"adjust_filament_help": "Zde můžete přímo přidávat nebo odebírat filament z cívky. Kladná hodnota filament odebere, záporná hodnota ho přidá.",
"adjust_filament_value": "Spotřebované množství"
},
"formats": {
"last_used": "Naposledy použitý {{date}}"
}
},
"filament": {
@@ -205,7 +245,11 @@
"settings_bed_temp": "Teplota podložky",
"color_hex": "Barva",
"spools": "Zobrazit cívky",
"external_id": "Externí ID"
"external_id": "Externí ID",
"single_color": "Jediný",
"coaxial": "Koextrudovaný",
"longitudinal": "Podélná",
"multi_color": "Více"
},
"fields_help": {
"name": "Název filamentu, aby se tento typ vlákna odlišil od ostatních filamentů od stejného výrobce. Měl by obsahovat například barvu.",
@@ -213,7 +257,8 @@
"price": "Cena celé cívky.",
"weight": "Hmotnost plného cívky filamentu (čistá hmotnost). Tato hmotnost by neměla zahrnovat hmotnost samotné cívky, ale pouze filamentu. Obvykle se uvádí na obalu.",
"spool_weight": "Hmotnost prázdné cívky. Slouží k určení naměřené hmotnosti cívky.",
"article_number": "Např. EAN, UPC, atd."
"article_number": "Např. EAN, UPC, atd.",
"multi_color_direction": "Filamenty mohou mít více barev dvěma způsoby: buď koextruzí jako dvoubarevná vlákna s konzistentními více barvami, nebo podélnými změnami barev jako gradientní vlákna, která mění barvy podél cívky."
},
"titles": {
"create": "Vytvořit filament",
@@ -289,6 +334,9 @@
},
"help": {
"list": "Nápověda | Spoolman"
},
"locations": {
"list": "Umístění | Spoolman"
}
},
"help": {
@@ -297,12 +345,14 @@
"filament": "Značky vláken. Mají vlastnosti, jako je název, materiál, barva, průměr a další.",
"spool": "Jednotlivé fyzické cívky určitého vlákna."
},
"description": "<title>Nápověda</title><p>Zde je několik tipů, které vám pomohou začít.</p><p>Spoolman uchovává 3 různé typy dat:</p><itemsHelp/><p>Chcete-li do databáze přidat novou cívku, začněte vytvořením položky <filamentCreateLink>Filament</filamentCreateLink> objekt. Jakmile to uděláte, vytvořte položku <spoolCreateLink>Cívka</spoolCreateLink> popis pro danou cívku. Pokud později získáte další cívky stejného filamentu, jednoduše vygenerujte další objekty Cívky a znovu použijte stejný objekt Filament.</p><p>Volitelně můžete také vygenerovat <vendorCreateLink>Výrobce</vendorCreateLink> název společnosti vyrábějící vlákno, pokud si přejete tyto informace sledovat.</p><p>Máte možnost propojit se Spoolmanem další služby 3D tiskárny, například Moonraker, který může automaticky sledovat využití filamentu a aktualizovat objekty Cívek za vás. Pokyny k nastavení najdete v <readmeLink>Spoolman README</readmeLink>.</p>",
"description": "<title>Nápověda</title><p>Zde je několik tipů, které vám pomohou začít.</p><p>Spoolman ukládá 3 různé typy dat:</p><itemsHelp/><p>Chcete-li do databáze přidat novou cívku, začněte vytvořením položky <filamentCreateLink>Filament</filamentCreateLink> . Jakmile to uděláte, vytvořte položku <spoolCreateLink>Cívka</spoolCreateLink> s popisem pro danou cívku. Pokud později získáte další cívky stejného filamentu, jednoduše vygenerujte další Cívku a použijte opět stejný Filament.</p><p>Volitelně můžete také vygenerovat <vendorCreateLink>Výrobce</vendorCreateLink> název společnosti vyrábějící filamenty, pokud si přejete tyto informace sledovat.</p><p>Máte možnost propojit se Spoolmanem další služby 3D tiskárny, například Moonraker, který může automaticky sledovat využití filamentu a aktualizovat dané Cívky za vás. Pokyny k nastavení najdete v <readmeLink>Spoolman README</readmeLink>.</p>",
"help": "Nápověda"
},
"kofi": "Příspěvek autorovi na Ko-fi",
"home": {
"home": "Domů"
"home": "Domů",
"description": "Vypadá to, že jste ještě nepřidali žádné cívky. Úvodní nápovědu najdete na stránce <helpPageLink>Nápověda</helpPageLink> .",
"welcome": "Vítejte ve vaší instanci Spoolman!"
},
"settings": {
"extra_fields": {
@@ -341,8 +391,22 @@
"tab": "Obecné",
"currency": {
"label": "Měna"
},
"base_url": {
"label": "Základní URL",
"tooltip": "Základní adresa URL, která se má použít při generování funkcí, jako jsou QR kódy."
},
"round_prices": {
"label": "Zaokrouhlené ceny",
"tooltip": "Zaokrouhlete ceny na nejbližší celé číslo."
}
},
"settings": "Nastavení"
},
"locations": {
"locations": "Umístění",
"no_locations_help": "Na této stránce můžete uspořádat své cívky podle umístění, přidejte několik cívek a začněte!",
"new_location": "Nové umístění",
"no_location": "Žádné umístění"
}
}
+153 -74
View File
@@ -3,20 +3,37 @@
"qrcode": {
"extruderTemp": "ET: {{temp}}",
"showSpoolWeight": "Spole vægt",
"showContent": "Print label",
"showContent": "Print etiket",
"showVendorComment": "Sælger kommentarer",
"spoolWeight": "Spole vægt: {{weight}}",
"showTemperatures": "Temperaturer",
"showVendor": "Sælger",
"showSpoolComment": "Spole kommentarer",
"textSize": "Indholdstekst størrelse",
"title": "QR kode printer",
"textSize": "Etikette tekststørrelse",
"title": "Etiketprint",
"showSpoolmanIcon": "Vis Spoolman logo",
"showLotNr": "Gruppe nr",
"bedTemp": "BT: {{temp}}",
"lotNr": "Gruppe nr: {{lot}}",
"showFilamentComment": "Filament kommentarer",
"button": "Print QR koder"
"button": "Print etiketter",
"template": "Etiketskabelon",
"templateHelp": "Brug {} til at indsætte værdier for spolen som tekst. For eksempel vil {id} blive erstattet med spolens id, eller {filament.material} vil blive erstattet med materialet på spolen. Hvis en værdi mangler, vil den blive erstattet med \"?\". Et andet set af {} kan bruges for at fjerne dette. Derudover vil al tekst mellem sættene af {} blive fjernet, hvis værdien mangler. For eksemel, {Lot Nr: {lot_nr}} vil kun vise etiketten, hvis spolen har et partinummer (Lot Nr). Omgiv teksten med dobbelte asterisk ** for at gøre teksten fed. Klik på knappen for at vise en liste med mulige tags.",
"useHTTPUrl": {
"options": {
"default": "Standard",
"url": "Webadresse"
},
"preview": "Forhåndsvisning:",
"tooltip": "Vil bruge proprietært link, der kun vil virke, hvis skannet med Spoolmans skanningsfunktion (standard). Webadressen bruger enten den basis-webadresse, specificeret i indstillinger, eller den nuværende sides webadresse, hvis ikke indstillet.",
"label": "QR-kode link"
},
"showQRCodeMode": {
"withIcon": "Med ikon",
"no": "Nej",
"simple": "Simpel"
},
"showQRCode": "Print QR-kode"
},
"generic": {
"printerMarginBottom": "Safe-Zone bund",
@@ -34,39 +51,50 @@
"marginRight": "Højre margen",
"printerMarginRight": "Safe-Zone højre",
"helpPrinterMargin": "\"Safe-Zone\" bør indstilles til hvor tæt på kanten af papiret din printer kan printe. Ændringer her vil IKKE have indflydelse på hele layoutet.",
"previewScale": "Visnings størrelse",
"helpMargin": "Margener bør indstilles til at matche din printer og dit papir. Ændringer her vil have indflydelse på hele layoutet.",
"previewScale": "Visningsstørrelse",
"helpMargin": "Margener bør indstilles til at matche din printer og papir. Ændringer her vil have indflydelse på hele layoutet.",
"marginTop": "Top margen",
"skipItems": "Spring over",
"layoutSettings": "Layout indstillinger",
"paperSize": "Papir størrelse",
"layoutSettings": "Layoutindstillinger",
"paperSize": "Papirstørrelse",
"columns": "Kolonner",
"description": "Redigér nedenstående indstillinger for at opnå det ønskede layout. Husk på at printere og OS kan tilføje dets egne margener og skalering, så det kan kræve et par forsøg før alt er korrekt. Test på et stykke almindeligt papir før du udskriver på labels.",
"description": "Redigér nedenstående indstillinger for at opnå det ønskede layout. Husk på at printere og dit operativsystem kan tilføje deres egne margener og skalering, så det kan kræve et par forsøg, før alt er korrekt. Test på et stykke almindeligt papir, før du udskriver på etiketter.",
"marginBottom": "Bund margen",
"horizontalSpacing": "Horisontal afstand",
"marginLeft": "Venstre margen",
"showBorder": "Vis ramme",
"printerMarginLeft": "Safe-Zone venstre",
"dimensions": "Dimensioner",
"print": "Udskriv"
"print": "Udskriv",
"settings": "Forudindstillinger",
"defaultSettings": "Standard",
"addSettings": "Tilføj ny forudindstilling",
"newSetting": "Ny",
"deleteSettings": "Slet nuværende forudindstilling",
"deleteSettingsConfirm": "Er du sikker på, at du vil slette denne forudindstilling?",
"settingsName": "Forudindstillingsnavn",
"itemCopies": "Kopier",
"duplicateSettings": "Duplikér",
"saveSetting": "Gem forudindstillinger",
"saveAsImage": "Gem som Billede"
},
"spoolSelect": {
"selectedTotal_one": "{{count}} spole valgt",
"selectedTotal_other": "{{count}} spoler valgt",
"description": "Vælg spoler der skal printes QR koder til.",
"description": "Vælg spoler, der skal printes etiketter til.",
"showArchived": "Vis arkiverede",
"title": "Vælg spoler",
"selectAll": "Vælg alle/ingen",
"noSpoolsSelected": "Du har ikke valgt nogle spoler."
"noSpoolsSelected": "Du har ikke valgt nogen spoler."
}
},
"documentTitle": {
"vendor": {
"create": "Opret sælger | Spoolman",
"clone": "#{{id}} Klon sælger | Spoolman",
"edit": "#{{id}} Redigér sælger | Spoolman",
"list": "Sælgere | Spoolman",
"show": "#{{id}} Vis sælger | Spoolman"
"create": "Opret producent | Spoolman",
"clone": "#{{id}} Klon producent | Spoolman",
"edit": "#{{id}} Redigér producent | Spoolman",
"list": "Producenter | Spoolman",
"show": "#{{id}} Vis producent | Spoolman"
},
"default": "Spoolman",
"spool": {
@@ -89,15 +117,18 @@
},
"help": {
"list": "Hjælp | Spoolman"
},
"locations": {
"list": "Lokationer | Spoolman"
}
},
"spool": {
"fields": {
"measured_weight": "Målt vægt",
"last_used": "Sidst brugt",
"last_used": "Sidst anvendt",
"material": "Materiale",
"weight_to_use": "Vægt",
"lot_nr": "Gruppe nr",
"lot_nr": "Partinummer",
"filament_name": "Filament",
"comment": "Kommentar",
"filament": "Filament",
@@ -106,11 +137,15 @@
"archived": "Arkiveret",
"remaining_length": "Resterende længde",
"registered": "Registreret",
"first_used": "Først brugt",
"first_used": "Først anvendt",
"used_weight": "Brugt vægt",
"id": "ID",
"remaining_weight": "Resterende vægt",
"price": "Pris"
"price": "Pris",
"initial_weight": "Startvægt",
"spool_weight": "Tom vægt",
"filament_internal": "Intern",
"filament_external": "Ekstern"
},
"titles": {
"archive": "Arkivér spole",
@@ -119,31 +154,45 @@
"create": "Opret spole",
"clone": "Klon spole",
"show_title": "[Spole #{{id}}] {{name}}",
"list": "Spoler"
"list": "Spoler",
"adjust": "Tilpas spolefilament"
},
"form": {
"spool_updated": "Denne spole er blevet redigeret af nogen/noget andet siden du åbnede denne side. Hvis du gemmer overskrives disse ændringer!",
"new_location_prompt": "Indtast ny placering"
"new_location_prompt": "Indtast ny placering",
"measurement_type_label": "Måletype",
"adjust_filament_value": "Fjern mængde",
"measurement_type": {
"weight": "Vægt",
"length": "Længde"
},
"adjust_filament_help": "Her kan du direkte tilføje eller fjerne filament fra spolen. En positiv værdi vil fjerne filament, en negativ værdi vil tilføje det."
},
"fields_help": {
"used_weight": "Hvor meget filament er der brugt fra spolen. En ny spole bør have 0g brugt.",
"weight_to_use": "Vælg hvilken vægt der skal angives. Målt vægt er kun tilgængelig hvis der er indstillet en spole vægt for det valgte filament.",
"measured_weight": "Hvor meget filament OG spole vejer.",
"lot_nr": "Producentens \"batchnummer\". Kan bruges til at sikre ensartede farver ved brug af flere ruller.",
"remaining_weight": "Hvor meget filament er der tilbage på spolen. For en ny spole bør dette matches spolens vægt.",
"location": "Placering af spolen. Hvis du har flere lokationer.",
"price": "Pris for en fuld spole. Hvis ikke indstillet, vil prisen bliver estimeret."
"weight_to_use": "Vælg hvilken vægt der skal angives. Målt vægt er kun tilgængelig, hvis der er indstillet en spolevægt for det valgte filament.",
"measured_weight": "Hvor meget filament og spole vejer.",
"lot_nr": "Producentens \"batch/partinummer\". Kan bruges til at sikre ensartede farver ved brug af flere ruller.",
"remaining_weight": "Hvor meget filament er der tilbage på spolen. For en ny spole bør dette matche spolens vægt.",
"location": "Placering af spolen, hvis du opbevarer spoler flere steder.",
"price": "Pris for en fuld spole. Hvis ikke indstillet, vil prisen i stedet blive antaget.",
"external_filament": "Du har valgt et filament fra den eksterne database. Et filament (og muligvis en producent) vil blive oprettet automatisk, når du gemmer denne spole. Dette kan skabe duplikerede objekter, hvis du allerede har oprettet dette filament.",
"initial_weight": "Startvægten af filament på spolen (nettovægt). Bruger filamentets standardvægt, hvis ikke angivet.",
"spool_weight": "Vægten af spolen når den er tom. Et tomt felt vil bruge værdien fra filament eller producent."
},
"spool": "Spoler",
"messages": {
"archive": "Er du sikker på du vil arkivere denne spole?"
},
"formats": {
"last_used": "Sidst anvendt {{date}}"
}
},
"buttons": {
"create": "Opret",
"save": "Gem",
"show": "Vis",
"filter": "Filter",
"filter": "Filtrér",
"cancel": "Annuller",
"edit": "Redigér",
"showArchived": "Vis arkiverede",
@@ -158,49 +207,58 @@
"notAccessTitle": "Du har ikke tilladelse til at tilgå",
"hideArchived": "Skjul arkiverede",
"clearFilters": "Ryd filtre",
"unArchive": "Fjern fra arkiv",
"unArchive": "Gendan arkiv",
"clone": "Klon",
"clear": "Ryd",
"saveAndAdd": "Gem og Tilføj"
"saveAndAdd": "Gem og Tilføj",
"continue": "Fortsæt"
},
"filament": {
"fields_help": {
"name": "Filament navn, for at adskille dette filament fra andre fra samme producent. Kan for eksempel indeholde farven.",
"article_number": "f.eks. EAN, UPC osv.",
"name": "Filamentnavn, for at adskille dette filament fra andre fra samme producent. Kan for eksempel indeholde farven.",
"article_number": "F.eks. EAN, UPC, e.l.",
"spool_weight": "Vægten af en tom spole. Bruges til at angive den målte vægt af en spole.",
"price": "Pris for en ny spole.",
"weight": "Filamentets vægt på en ny spole (Netto vægt). Dette bør ikke inkludere vægten af selve spolen, kun filamentet. Det er som regel den angivne vægt på pakken.",
"material": "f.eks. PLA, ABS, PETG osv."
"weight": "Filamentets vægt på en ny spole (nettovægt). Dette bør ikke inkludere vægten af selve spolen, kun filamentet. Det er som regel den angivne vægt på pakken.",
"material": "F.eks. PLA, ABS, PETG, m.m.",
"multi_color_direction": "Filamenter kan have flere farver på to måder: Enten koaksialt, som 2- & 3-farvede filamenter med vedvarende flerfarvethed, eller gennem langsgående ændringer, som regnbuefilamenter, hvor farven skifter undervejs på spolen."
},
"fields": {
"material": "Materiale",
"vendor_name": "Sælger",
"settings_extruder_temp": "Extruder temperatur",
"vendor_name": "Producent",
"settings_extruder_temp": "Ekstrudertemperatur",
"comment": "Kommentar",
"diameter": "Diameter",
"weight": "Vægt",
"spool_weight": "Spole vægt",
"spool_weight": "Spolevægt",
"registered": "Registreret",
"name": "Navn",
"price": "Pris",
"settings_bed_temp": "Bed temperatur",
"vendor": "Sælger",
"settings_bed_temp": "Printpladetemperatur",
"vendor": "Producent",
"density": "Massefylde",
"id": "ID",
"color_hex": "Farve",
"article_number": "Produkt nummer",
"spools": "Vis spoler"
"article_number": "Produktnummer",
"spools": "Vis spoler",
"external_id": "Eksternt ID",
"longitudinal": "Langsgående",
"multi_color": "Flerfarvet",
"coaxial": "Koaksialt",
"single_color": "Enkeltfarvet"
},
"titles": {
"clone": "Klon filament",
"show_title": "[Filament # {{id}}] {{name}}",
"show_title": "[Filament #{{id}}] {{name}}",
"show": "Vis filament",
"create": "Opret filament",
"edit": "Redigér filament",
"list": "Filamenter"
},
"form": {
"filament_updated": "Dette filament er blevet redigeret af nogen/noget andet siden du åbnede denne side. Hvis du gemmer overskrives disse ændringer!"
"filament_updated": "Dette filament er blevet redigeret af nogen/noget andet siden du åbnede denne side. Hvis du gemmer overskrives disse ændringer!",
"import_external": "Importér fra ekstern kilde",
"import_external_description": "Vælg et filament på listen, for automatisk at udfylde detaljerne i formularen. Dette vil overskrive al data, du allerede har indtastet i formularen. <br><br> En producent vil blive oprettet automatisk, hvis nødvendigt, når du klikker OK."
},
"filament": "Filamenter",
"buttons": {
@@ -216,47 +274,52 @@
},
"vendor": {
"titles": {
"show_title": "[Sælger #{{id}}] {{name}}",
"show": "Vis sælger",
"edit": "Redigér sælger",
"clone": "Klon sælger",
"create": "Opret sælger",
"list": "Sælgere"
"show_title": "[Producent #{{id}}] {{name}}",
"show": "Vis producent",
"edit": "Redigér producent",
"clone": "Klon producent",
"create": "Opret producent",
"list": "Producenter"
},
"form": {
"vendor_updated": "Denne sælger er blevet redigeret af nogen/noget andet siden du åbnede denne side. Hvis du gemmer overskrives disse ændringer!"
"vendor_updated": "Denne producent er blevet redigeret af nogen/noget andet siden du åbnede denne side. Hvis du gemmer overskrives disse ændringer!"
},
"fields": {
"registered": "Registreret",
"comment": "Kommentar",
"name": "Navn",
"id": "ID"
"id": "ID",
"external_id": "Eksternt ID",
"empty_spool_weight": "Tom Spolevægt"
},
"vendor": "Sælgere"
"vendor": "Producenter",
"fields_help": {
"empty_spool_weight": "Vægten af en tom spole fra denne producent."
}
},
"scanner": {
"title": "QR kode skanner",
"title": "QR-kode skanner",
"error": {
"insecureContext": "Denne side er ikke sikret med HTTPS.",
"notReadable": "Kameraet kan ikke indlæses.",
"notAllowed": "Du har ikke tilladt adgang til kameraet.",
"notAllowed": "Du har ikke givet adgang til kameraet.",
"unknown": "En ukendt fejl opstod. {{error}}",
"notFound": "Intet kamera fundet.",
"streamApiNotSupported": "Denne browser understøtter ikke MediaStream API'et."
},
"description": "Skan en Spoolman QR kode for at se detaljer om spolen."
"description": "Skan en Spoolman QR-kode for at se detaljer om spolen."
},
"notifications": {
"deleteSuccess": "Sletning af {{resource}} lykkedes",
"error": "Fejl (status kode: {{statusCode}})",
"editError": "Fejl ved redigering af {{resource}} (status kode:{{statusCode}}",
"deleteSuccess": "Sletning af {{resource}} var succesfuld(t)",
"error": "Fejl (statuskode: {{statusCode}})",
"editError": "Fejl ved redigering af {{resource}} (statuskode:{{statusCode}}",
"undoable": "Du har {{seconds}} sekunder til at fortryde.",
"importProgress": "Importerer: {{processed}}/{{total}}",
"createError": "Der var en fejl under oprettelse af {{resource}} (status kode: {{statusCode}})",
"createError": "Der var en fejl under oprettelsen af {{resource}} (statuskode: {{statusCode}})",
"success": "Succes",
"editSuccess": "Redigering af {{resource}} lykkedes",
"deleteError": "Fejl ved sletning af {{resource}} (status kode: {{statusCode}})",
"createSuccess": "Oprettelse af {{resource}} lykkedes",
"editSuccess": "Redigering af {{resource}} var succesfuld(t)",
"deleteError": "Fejl ved sletning af {{resource}} (statuskode: {{statusCode}})",
"createSuccess": "Oprettelse af {{resource}} var succesfuld(t)",
"saveSuccessful": "Gemt!",
"validationError": "Kunne ikke gennemføres: {{error}}"
},
@@ -267,7 +330,7 @@
"table": {
"actions": "Handlinger"
},
"warnWhenUnsavedChanges": "Er du sikker på du ønsker at forlade? Du har ændringer der ikke er gemt.",
"warnWhenUnsavedChanges": "Er du sikker på du ønsker at gå? Du har ændringer der ikke er gemt.",
"loading": "Indlæser",
"dashboard": {
"title": "Kontrolpanel"
@@ -277,16 +340,18 @@
},
"help": {
"resources": {
"vendor": "Firmaerne der laver filamentet.",
"filament": "Filament mærker. De har værdier såsom Navn, Materiale, Farve, Diameter m.fl.",
"vendor": "Firmaerne, der laver filamentet.",
"filament": "Filamentmærker. De har værdier, såsom Navn, Materiale, Farve, Diameter, m.m.",
"spool": "Individuelle fysiske spoler af et specifikt filament."
},
"description": "<title>Hjælp</title><p>Her er nogle tips til at komme i gang.</p><p>Spoolman indeholder 3 forskellige typer data:</p><itemsHelp/><p>For at tilføje en ny spole til databasen, skal du starte med at oprette et <filamentCreateLink>Filament</filamentCreateLink> objekt. Når dette er gjort, fortsættes der ved at oprette et <spoolCreateLink>Spole</spoolCreateLink> objekt for den specifikke spole. Hvis du har flere spoler af samme filament, opretter du blot et nyt spole objekt og genbruger samme filament. </p><p> Du har også mulighed for at oprette et <vendorCreateLink>Forhandler</vendorCreateLink> objekt for firmaet der producerer filamentet, hvis du ønsker.</p><p>Du har mulighed for at linke andre 3D printer services til Spoolman, Som f.eks. Moonraker. Dette giver mulighed for automatisk at opdatere og overvåge forbruget af filament for hvert print. Læs <readmeLink>Spoolman README</readmeLink> for information om opsætning af dette.</p>",
"description": "<title>Hjælp</title><p>Her er nogle tips til at komme i gang.</p><p>Spoolman indeholder 3 forskellige typer data:</p><itemsHelp/><p>For at tilføje en ny spole til databasen, skal du starte med at oprette et <filamentCreateLink>Filamentobjekt</filamentCreateLink>. Når dette er gjort, fortsættes der ved at oprette et <spoolCreateLink>Spoleobjekt</spoolCreateLink> for den specifikke spole. Hvis du har flere spoler af samme filament, opretter du blot et nyt spole objekt og genbruger samme filament. </p><p> Du har også mulighed for at oprette et <vendorCreateLink>Producentobjekt</vendorCreateLink> for firmaet, der producerer filamentet, hvis du ønsker at holde styr på den information.</p><p>Du har mulighed for at linke andre 3D-printertjenester til Spoolman, Som f.eks. Moonraker. Dette giver mulighed for automatisk at opdatere og overvåge forbruget af filament for hvert print. Læs <readmeLink>Spoolman README</readmeLink> for information om opsætning af dette.</p>",
"help": "Hjælp"
},
"kofi": "Donér på Ko-fi",
"home": {
"home": "Hjem"
"home": "Hjem",
"welcome": "Velkommen til din nye Spoolman instans!",
"description": "Det ser ud til, at du ikke har tilføjet nogen spoler endnu. Tjek <helpPageLink>her</helpPageLink> for hjælp med at komme i gang."
},
"settings": {
"header": "Indstillinger",
@@ -294,6 +359,14 @@
"tab": "Generelt",
"currency": {
"label": "Valuta"
},
"base_url": {
"tooltip": "Basis-webadressen til at benytte ved generering af funktioner, såsom QR-koder.",
"label": "Basis-webadresse"
},
"round_prices": {
"label": "Afrund priser",
"tooltip": "Afrund priser til nærmeste heltal."
}
},
"extra_fields": {
@@ -303,23 +376,23 @@
"field_type": "Type",
"unit": "Enhed",
"order": "Sortering",
"default_value": "Standard-værdi",
"default_value": "Standardværdi",
"multi_choice": "Multi-valg",
"choices": "Valgmuligheder"
},
"field_type": {
"integer_range": "Heltals spænd",
"integer_range": "Heltalspænd",
"float": "Decimaltal",
"float_range": "Decimaltal spænd",
"float_range": "Decimaltalspænd",
"datetime": "Dato-tid",
"boolean": "Boolean (Ja/Nej)",
"choice": "Valg",
"text": "Tekst",
"integer": "Heltal"
},
"choices_missing_error": "Du kan ikke fjerne valg. De følgende valg mangler: {{choices}}",
"choices_missing_error": "Du kan ikke fjerne valgmuligheder. De følgende valgmuligheder mangler: {{choices}}",
"tab": "Ekstra felter",
"description": "<p>Her kan du tilføje ekstra felter til dine poster.</p><p>Når et felt er tilføjet kan du ikke redigere Nøgle og Type, og for visse felttyper kan du ikke fjerne valg, eller ændre multi-valgs status. Hvis du fjerner et felt, vil associerede data i alle poster blive slettet.</p><p>Nøglen er hvad andre programmer læser/skriver data som, så hvis dit felt skal integreres med en tredje parts program, skal du sørge for at indstille det korrekt. Standard-værdi bliver kun tilføjet til nye felter.</p><p>Ekstra felter kan ikke bruges til sortering eller filtrering i oversigterne.</p>",
"description": "<p>Her kan du tilføje ekstra felter til dine poster.</p><p>Når et felt er tilføjet kan du ikke redigere dens Nøgle eller Type, og for visse felttyper kan du ikke fjerne valg, eller ændre multi-valgstatus. Hvis du fjerner et felt, vil associeret data i alle poster blive slettet.</p><p>Nøglen er hvad andre programmer læser/skriver data som, så hvis dit felt skal integreres med et tredjepartsprogram, skal du sørge for at indstille det korrekt. Standardværdi bliver kun tilføjet til nye felter.</p><p>Ekstra felter kan ikke sorteres eller filtreres i oversigterne.</p>",
"boolean_true": "Ja",
"boolean_false": "Nej",
"non_unique_key_error": "Nøglen skal være Unik.",
@@ -328,5 +401,11 @@
"delete_confirm_description": "Dette vil slette feltet samt alle associerede data for alle poster."
},
"settings": "Indstillinger"
},
"locations": {
"new_location": "Ny lokation",
"no_location": "Ingen lokation",
"locations": "Lokationer",
"no_locations_help": "Denne side lader dig organisere dine spoler i lokationer, tilføj nogle spoler for at komme i gang!"
}
}
+84 -20
View File
@@ -28,9 +28,10 @@
"archive": "Archiv",
"hideArchived": "Archivierte verstecken",
"unArchive": "Archivieren rückgängig machen",
"saveAndAdd": "Speichern und hinzufügen"
"saveAndAdd": "Speichern und hinzufügen",
"continue": "Weiter"
},
"warnWhenUnsavedChanges": "Bist du sicher, dass du die Seite verlassen willst? Du hast ungespeicherte Änderungen.",
"warnWhenUnsavedChanges": "Sicher? Es sind nicht gespeicherte Änderungen vorhanden.",
"notifications": {
"success": "Erfolgreich",
"error": "Fehler (status code: {{statusCode}})",
@@ -45,7 +46,7 @@
"saveSuccessful": "Erfolgreich gespeichert!",
"validationError": "Validierungsfehler: {{error}}"
},
"loading": "Laden",
"loading": "Läd",
"version": "Version",
"unknown": "Unbekannt",
"yes": "Ja",
@@ -58,7 +59,7 @@
},
"printing": {
"generic": {
"title": "druckt",
"title": "Drucke",
"description": "Passe die Einstellungen unten an, um das gewünschte Drucklayout zu bekommen. Denk daran, dass Drucker und dein OS eigene Abstände und Skalierungen anwenden könnte, also musst du vielleicht ein bisschen ausprobieren, bis alles passt. Teste es auf einem normalen Blatt Papier, bevor du auf die richtigen Labels druckst.",
"helpMargin": "Abstände sollten so konfiguriert werden, dass sie zum Papier und Drucker passen. Änderungen beeinflussen die Abmessungen des gesamten Gitters.",
"helpPrinterMargin": "Der Sicherheitsabstand sollte so eingestellt werden, wie dicht der Drucker am Rand des Papiers drucken kann. Änderungen beeinflussen nicht die Abmessungen des Gitters.",
@@ -87,11 +88,22 @@
"none": "Keine",
"border": "Ränder",
"grid": "Gitter"
}
},
"saveAsImage": "Als Bild speichern",
"settings": "Vorlage",
"defaultSettings": "Standard",
"addSettings": "Neue Vorlage hinzufügen",
"newSetting": "Neu",
"deleteSettings": "Aktuelle Vorlage löschen",
"deleteSettingsConfirm": "Bist du dir sicher, dass du diese Vorlage löschen willst?",
"settingsName": "Vorlagenname",
"itemCopies": "Anzahl der Kopien",
"duplicateSettings": "Kopie erstellen",
"saveSetting": "Vorlage speichern"
},
"qrcode": {
"button": "QR-Codes drucken",
"title": "QR Codes drucken",
"button": "Beschriftung drucken",
"title": "Beschriftung drucken",
"spoolWeight": "Gewicht Spule: {{weight}}",
"lotNr": "Lot. Nr: {{lot}}",
"bedTemp": "BT: {{temp}}",
@@ -105,11 +117,28 @@
"showTemperatures": "Temperaturen",
"showSpoolComment": "Kommentar: Spule",
"showFilamentComment": "Kommentar: Filament",
"showVendorComment": "Kommentar: Hersteller"
"showVendorComment": "Kommentar: Hersteller",
"showQRCodeMode": {
"no": "Nein",
"simple": "Einfach",
"withIcon": "Mit Icon"
},
"template": "Beschriftung Vorlagen",
"templateHelp": "Benutze {} um Texte der Spule dynamisch zu übernehmen. Zum Beispiel wird {id} durch die ID der Spule ersetzt, {filament.material} wird durch das Material der Spule ersetzt. Wenn ein Wert fehlt, wird er mit \"?\" ersetzt. Ein zweiter Satz von {} kann genutzt werden, um dieses zu umgehen. Zusätzlich wird jeglicher Text zwischen einem Satz von {} entfernt, wenn der Wert fehlt. Beispielsweise zeigt {Charge: {lot_nr}} nur das Label an, wenn eine Spule eine Charge definiert hat. Texte zwischen zwei Sternen ** werden fett dargestellt. Drücke auf den Knopf um alle verfügbaren Variablen zu sehen.",
"showQRCode": "Drucke QR Code",
"useHTTPUrl": {
"label": "QR Code Link",
"tooltip": "Die Standardeinstellung verwendet einen proprietären Link, der nur funktioniert, wenn er mit der Scanfunktion von Spoolman gescannt wird. URL verwendet entweder die in den Einstellungen angegebene Basis-URL oder wenn diese nicht festgelegt ist die aktuelle Seiten-URL.",
"options": {
"default": "Standard",
"url": "URL"
},
"preview": "Vorschau:"
}
},
"spoolSelect": {
"title": "Spulenauswahl",
"description": "Spulen auswählen, für die ein QR-Code gedruckt werden soll.",
"description": "Spulen auswählen, für die ein Label gedruckt werden soll.",
"showArchived": "Archivierte anzeigen",
"noSpoolsSelected": "Du hast keine Spulen ausgewählt.",
"selectAll": "Alle aus-/abwählen",
@@ -156,7 +185,7 @@
"filament_external": "Extern"
},
"fields_help": {
"weight_to_use": "Auswählen, welches Gewicht verwendet werden soll. Das gemessenes Gewicht ist nur verfügbar, wenn das Gewicht der Spule für das Filament hinterlegt ist",
"weight_to_use": "Auswählen, welches Gewicht verwendet werden soll. Das gemessene Gewicht ist nur verfügbar, wenn das Gewicht der Spule für das Filament hinterlegt ist.",
"used_weight": "Wie viel Gewicht bereits verbraucht wurde z.B. 0g für eine neue Spule.",
"remaining_weight": "Wie viel Filament noch auf der Spule ist. Entspricht dem auf der Spule angegeben Nettogewicht, wenn die Spule neu ist.",
"measured_weight": "Gesamtgewicht von Spule und Filament.",
@@ -174,22 +203,33 @@
"list": "Spulen",
"show": "Spule anzeigen",
"archive": "Spule archivieren",
"show_title": "[Spule #{{id}}] {{name}}"
"show_title": "[Spule #{{id}}] {{name}}",
"adjust": "Filamentspulen Anpassung"
},
"messages": {
"archive": "Sicher das die Spule archiviert werden soll?"
},
"form": {
"spool_updated": "Diese Spule wurde, seit dem die Seite geöffnet wurde, von jemand anderem/etwas anderem bearbeitet. Speichern wird diese Änderungen überschreiben!",
"new_location_prompt": "Neue Position eingeben"
"new_location_prompt": "Neue Position eingeben",
"adjust_filament_help": "Hier kannst du direkt Filament von der Spule hinzufügen oder entfernen. Eine positive Eingabe wird Filament als verbraucht markieren, eine negative wird es der Spule hinzufügen.",
"measurement_type": {
"length": "Länge",
"weight": "Gewicht"
},
"adjust_filament_value": "Verbrauchte Menge",
"measurement_type_label": "Messungstyp"
},
"formats": {
"last_used": "Zuletzt genutzt {{date}}"
}
},
"filament": {
"filament": "Filamente",
"fields": {
"id": "ID",
"vendor_name": "Marke",
"vendor": "Marke",
"vendor_name": "Hersteller",
"vendor": "Hersteller",
"name": "Name",
"material": "Material",
"price": "Preis",
@@ -204,7 +244,11 @@
"settings_bed_temp": "Betttemperatur",
"color_hex": "Farbe",
"spools": "Zeige Spulen",
"external_id": "Externe ID"
"external_id": "Externe ID",
"single_color": "Einfarbig",
"multi_color": "Mehrfarbig",
"coaxial": "Coextrudiert",
"longitudinal": "Längs"
},
"fields_help": {
"name": "Name des Filaments um es von anderen Typen des gleichen Herstellers zu unterscheiden. Sollte z.B. die Farbe enthalten.",
@@ -212,7 +256,8 @@
"price": "Preis einer vollen Spule in der im System konfigurierten Währung.",
"weight": "Das Gewicht einer vollen Spule (Nettogewicht). Sollte nicht das Gewicht der Spule, sondern nur dass des Filaments auf der Spule enthalten. Entspricht normalerweise dem Gewicht, das auf der Spule aufgedruckt ist.",
"spool_weight": "Das Gewicht der leeren Spule. Wird verwendet, um das gemessene Gewicht der Spule zu berechnen.",
"article_number": "z.B. EAN, UPC o.Ä."
"article_number": "z.B. EAN, UPC o.Ä.",
"multi_color_direction": "Filamente können auf zwei Arten mehrere Farben haben: entweder durch Koextrusion, wie bei zweifarbigen Filamenten mit konsistenten Mehrfarben, oder durch Farbveränderungen in Längsrichtung, wie bei Gradient-Filamenten, die die Farben entlang der Spule verschieben."
},
"titles": {
"create": "Filament erstellen",
@@ -232,7 +277,7 @@
}
},
"vendor": {
"vendor": "Marke",
"vendor": "Hersteller",
"fields": {
"id": "ID",
"name": "Name",
@@ -245,7 +290,7 @@
"create": "Hersteller erstellen",
"clone": "Hersteller duplizieren",
"edit": "Hersteller bearbeiten",
"list": "Marke",
"list": "Herstellerliste",
"show": "Hersteller anzeigen",
"show_title": "[Hersteller #{{id}}] {{name}}"
},
@@ -288,6 +333,9 @@
},
"help": {
"list": "Hilfe | Spoolman"
},
"locations": {
"list": "Orte | Spoolman"
}
},
"help": {
@@ -301,7 +349,9 @@
},
"kofi": "Schick mir ein Trinkgeld über Ko-fi",
"home": {
"home": "Home"
"home": "Home",
"welcome": "Willkommen auf deiner Spoolman Instanz!",
"description": "Es sieht so aus, als hättest du noch keine Spulen hinzugefügt. Schau auf unsere <helpPageLink>Hilfeseite</helpPageLink>, falls du Hilfe beim Start benötigst."
},
"settings": {
"header": "Einstellungen",
@@ -309,6 +359,14 @@
"tab": "Allgemein",
"currency": {
"label": "Währung"
},
"base_url": {
"label": "Basis URL",
"tooltip": "Die basis URL für die Generierung von Funktionen wie QR Codes."
},
"round_prices": {
"label": "Gerundeter Preis",
"tooltip": "Rundet die Preise auf die nächsthöhere ganze Zahl."
}
},
"extra_fields": {
@@ -319,7 +377,7 @@
"unit": "Einheit",
"default_value": "Standardwert",
"order": "Reihenfolge",
"multi_choice": "mehrfach Auswahl",
"multi_choice": "Mehrfachauswahl",
"key": "Schlüssel",
"choices": "Auswahlmöglichkeiten"
},
@@ -343,5 +401,11 @@
"non_unique_key_error": "Der Schlüssel muss einzigartig sein."
},
"settings": "Einstellungen"
},
"locations": {
"no_location": "Kein Ort",
"no_locations_help": "Diese Seite lässt Sie Ihre Spulen zu Orten zuweisen, fügen Sie ein paar Spulen hinzu um loszulegen!",
"locations": "Orte",
"new_location": "Neuer Ort"
}
}
+90 -13
View File
@@ -16,7 +16,24 @@
"bedTemp": "Θερμοκρασία κρεβατιού: {{temp}}",
"lotNr": "Αριθμός παρτίδας: {{lot}}",
"showFilamentComment": "Σχόλια Νήματος",
"button": "Tύπωση Κωδικών QR"
"button": "Tύπωση Κωδικών QR",
"useHTTPUrl": {
"options": {
"default": "",
"url": ""
},
"preview": "",
"tooltip": "",
"label": ""
},
"showQRCodeMode": {
"withIcon": "",
"no": "",
"simple": ""
},
"templateHelp": "",
"showQRCode": "",
"template": ""
},
"generic": {
"printerMarginBottom": "Ασφαλές Περιθώριο Κάτω",
@@ -48,7 +65,18 @@
"showBorder": "Εμφάνιση Περιθωρίου",
"printerMarginLeft": "Ασφαλές Περιθώριο Αριστερά",
"dimensions": "Διαστάσεις",
"print": "Τύπωσε"
"print": "Τύπωσε",
"deleteSettingsConfirm": "",
"deleteSettings": "",
"itemCopies": "",
"settingsName": "",
"newSetting": "",
"addSettings": "",
"duplicateSettings": "",
"settings": "",
"saveSetting": "",
"saveAsImage": "",
"defaultSettings": ""
},
"spoolSelect": {
"selectedTotal_one": "{{count}} καρούλι έχει επιλεγεί",
@@ -89,6 +117,9 @@
},
"help": {
"list": "Βοήθεια | Spoolman"
},
"locations": {
"list": ""
}
},
"spool": {
@@ -112,7 +143,9 @@
"remaining_weight": "Υπολειπόμενο Βάρος",
"price": "Τιμή",
"spool_weight": "Βάρος Κενού Καρουλιού",
"initial_weight": "Αρχικό Βάρος"
"initial_weight": "Αρχικό Βάρος",
"filament_internal": "",
"filament_external": ""
},
"titles": {
"archive": "Αρχειοθέτηση Καρουλιού",
@@ -121,11 +154,19 @@
"create": "Δημιουργία Καρουλιού",
"clone": "Αντιγραφή Καρουλιού",
"show_title": "[Καρούλι #{{id}}] {{name}}",
"list": "Καρούλια"
"list": "Καρούλια",
"adjust": ""
},
"form": {
"spool_updated": "Αυτό το καρούλι έχει ενημερωθεί από κάποιον/κάτι άλλο από τότε που ανοίξατε αυτήν τη σελίδα. Η αποθήκευση θα αντικαταστήσει αυτές τις αλλαγές!",
"new_location_prompt": "Προσθήκη νέας τοποθεσίας αποθήκευσης"
"new_location_prompt": "Προσθήκη νέας τοποθεσίας αποθήκευσης",
"measurement_type_label": "",
"adjust_filament_value": "",
"measurement_type": {
"weight": "",
"length": ""
},
"adjust_filament_help": ""
},
"fields_help": {
"used_weight": "Πόσο νήμα έχει χρησιμοποιηθεί από το καρούλι. Σε ένα καινούργιο καρούλι θα πρέπει να έχουν χρησιμοποιηθεί 0g.",
@@ -134,11 +175,17 @@
"lot_nr": "Αριθμός παρτίδας κατασκευαστή. Μπορεί να χρησιμοποιηθεί για να διασφαλιστεί ότι μια εκτύπωση έχει σταθερό χρώμα εάν χρησιμοποιούνται πολλαπλά καρούλια.",
"remaining_weight": "Πόσο νήμα έχει απομείνει στο καρούλι. Για ένα καινούργιο καρούλι αυτό πρέπει να συμπίπτει με το βάρος του καρουλιού.",
"location": "Που βρίσκεται το καρούλι, εάν υπάρχουν πολλαπλά σημεία αποθήκευσης για τα καρούλια.",
"price": "Τιμή πλήρους καρουλιού. Εάν δεν οριστεί, η τιμή του νήματος θα θεωρηθεί αντ' αυτού."
"price": "Τιμή πλήρους καρουλιού. Εάν δεν οριστεί, η τιμή του νήματος θα θεωρηθεί αντ' αυτού.",
"external_filament": "",
"spool_weight": "",
"initial_weight": ""
},
"spool": "Καρούλια",
"messages": {
"archive": "Είστε σίγουρος ότι θέλετε να αρχειοθετήσετε αυτό το καρούλι;"
},
"formats": {
"last_used": ""
}
},
"buttons": {
@@ -163,7 +210,8 @@
"unArchive": "Επαναφορά Αρχειοθετημένου",
"clone": "Αντιγραφή",
"clear": "Εκκαθάριση",
"saveAndAdd": "Αποθήκευση και Προσθήκη"
"saveAndAdd": "Αποθήκευση και Προσθήκη",
"continue": ""
},
"filament": {
"fields_help": {
@@ -172,7 +220,8 @@
"spool_weight": "Το βάρος ενός άδειου καρουλιού. Χρησιμοποιείται για τον προσδιορισμό του μετρημένου βάρους ενός καρουλιού.",
"price": "Τιμή ενός πλήρους καρουλιού.",
"weight": "Το βάρος του νήματος ενός πλήρους καρουλιού (καθαρό βάρος). Αυτό δεν πρέπει να περιλαμβάνει το βάρος του ίδιου του καρουλιού, μόνο το βάρος του νήματος. Είναι αυτό που συνήθως αναγράφεται στη συσκευασία.",
"material": "Π.χ. PLA, ABS, PETG, κλπ."
"material": "Π.χ. PLA, ABS, PETG, κλπ.",
"multi_color_direction": ""
},
"fields": {
"material": "Υλικό",
@@ -191,7 +240,12 @@
"id": "Α/Α",
"color_hex": "Χρώμα",
"article_number": "Κωδικός Προϊόντος",
"spools": "Προβολή Καρουλιών"
"spools": "Προβολή Καρουλιών",
"multi_color": "",
"external_id": "",
"single_color": "",
"longitudinal": "",
"coaxial": ""
},
"titles": {
"clone": "Αντιγραφή Νήματος",
@@ -202,7 +256,9 @@
"list": "Νήματα"
},
"form": {
"filament_updated": "Αυτό το νήμα έχει ενημερωθεί από κάποιον/κάτι άλλο από τότε που ανοίξατε αυτήν τη σελίδα. Η αποθήκευση θα αντικαταστήσει αυτές τις αλλαγές!"
"filament_updated": "Αυτό το νήμα έχει ενημερωθεί από κάποιον/κάτι άλλο από τότε που ανοίξατε αυτήν τη σελίδα. Η αποθήκευση θα αντικαταστήσει αυτές τις αλλαγές!",
"import_external": "",
"import_external_description": ""
},
"filament": "Νήματα",
"buttons": {
@@ -232,9 +288,14 @@
"registered": "Ημερομηνία Εγγραφής",
"comment": "Σχόλια",
"name": "Όνομα",
"id": "Α/Α"
"id": "Α/Α",
"external_id": "",
"empty_spool_weight": ""
},
"vendor": "Προμηθευτές"
"vendor": "Προμηθευτές",
"fields_help": {
"empty_spool_weight": ""
}
},
"scanner": {
"title": "Αναγνώστης κωδικού QR",
@@ -288,7 +349,9 @@
},
"kofi": "Φιλοδώρημα στο Ko-fi",
"home": {
"home": "Αρχική"
"home": "Αρχική",
"welcome": "",
"description": ""
},
"settings": {
"extra_fields": {
@@ -326,9 +389,23 @@
"tab": "Γενικές",
"currency": {
"label": "Ετικέτα για τη ρύθμιση του νομίσματος"
},
"base_url": {
"tooltip": "",
"label": ""
},
"round_prices": {
"label": "",
"tooltip": ""
}
},
"header": "Ρυθμίσεις",
"settings": "Ρυθμίσεις"
},
"locations": {
"new_location": "",
"no_location": "",
"locations": "",
"no_locations_help": ""
}
}
+73 -20
View File
@@ -15,6 +15,7 @@
"edit": "Edit",
"cancel": "Cancel",
"confirm": "Are you sure?",
"continue": "Continue",
"filter": "Filter",
"clear": "Clear",
"refresh": "Refresh",
@@ -51,6 +52,12 @@
"unknown": "Unknown",
"yes": "Yes",
"no": "No",
"theme": {
"label": "Theme",
"system": "System",
"light": "Light",
"dark": "Dark"
},
"tags": {
"clone": "Clone"
},
@@ -72,6 +79,7 @@
"showBorder": "Show Border",
"previewScale": "Preview Scale",
"skipItems": "Skip Items",
"itemCopies": "Item Copies",
"contentSettings": "Content Settings",
"layoutSettings": "Layout Settings",
"horizontalSpacing": "Horizontal Spacing",
@@ -88,29 +96,44 @@
"none": "None",
"border": "Border",
"grid": "Grid"
}
},
"settings": "Presets",
"defaultSettings": "Default",
"addSettings": "Add New Preset",
"newSetting": "New",
"duplicateSettings": "Duplicate",
"deleteSettings": "Delete Current Preset",
"deleteSettingsConfirm": "Are you sure you want to delete this preset?",
"settingsName": "Preset Name",
"saveSetting": "Save Presets",
"saveAsImage": "Save as Image"
},
"qrcode": {
"button": "Print QR Codes",
"title": "QR Code Printing",
"spoolWeight": "Spool Weight: {{weight}}",
"lotNr": "Lot Nr: {{lot}}",
"bedTemp": "BT: {{temp}}",
"extruderTemp": "ET: {{temp}}",
"textSize": "Content Text Size",
"showSpoolmanIcon": "Show Spoolman Icon",
"showVendor": "Manufacturer",
"button": "Print Labels",
"title": "Label Printing",
"template": "Label Template",
"templateHelp": "Use {} to insert values of the spool object as text. For example, {id} will be replaced with the spool id, or {filament.material} will be replaced with the material of the spool. if a value is missing it will be replaced with \"?\". A second set of {} can be used to remove this. In addition, any text between the sets of {} will be removed if the value is missing. For example, {Lot Nr: {lot_nr}} will only show the label if the spool has a lot number. Enclose text with double asterix ** to make it bold. Click the button to view a list of all available tags.",
"textSize": "Label Text Size",
"showContent": "Print Label",
"showLotNr": "Lot Nr",
"showSpoolWeight": "Spool Weight",
"showTemperatures": "Temperatures",
"showSpoolComment": "Spool Comment",
"showFilamentComment": "Filament Comment",
"showVendorComment": "Manufacturer Comment"
"useHTTPUrl": {
"label": "QR code link",
"tooltip": "Will use proprietary link that will work only if scanned from Spoolman's scanning feature (default). URL uses either the base URL specified in settings, or the current page URL if not set.",
"options": {
"default": "Default",
"url": "URL"
},
"preview": "Preview:"
},
"showQRCode": "Print QR Code",
"showQRCodeMode": {
"no": "No",
"simple": "Simple",
"withIcon": "With Icon"
}
},
"spoolSelect": {
"title": "Select Spools",
"description": "Select spools to print QR codes for.",
"description": "Select spools to print labels for.",
"showArchived": "Show Archived",
"noSpoolsSelected": "You have not selected any spools.",
"selectAll": "Select/Unselect All",
@@ -175,14 +198,25 @@
"list": "Spools",
"show": "Show Spool",
"show_title": "[Spool #{{id}}] {{name}}",
"archive": "Archive Spool"
"archive": "Archive Spool",
"adjust": "Adjust Spool Filament"
},
"form": {
"measurement_type": {
"length": "Length",
"weight": "Weight"
},
"measurement_type_label": "Measurement Type",
"adjust_filament_help": "Here you can directly add or subtract filament from the spool. A positive value will consume filament, a negative value will add it.",
"adjust_filament_value": "Consume Amount",
"new_location_prompt": "Enter a new location",
"spool_updated": "This spool has been updated by someone/something else since you opened this page. Saving will overwrite those changes!"
},
"messages": {
"archive": "Are you sure you want to archive this spool?"
},
"formats": {
"last_used": "Last used {{date}}"
}
},
"filament": {
@@ -263,7 +297,9 @@
}
},
"home": {
"home": "Home"
"home": "Home",
"welcome": "Welcome to your Spoolman instance!",
"description": "It looks like you haven't added any spools yet. See the <helpPageLink>Help page</helpPageLink> for help getting started."
},
"help": {
"help": "Help",
@@ -284,11 +320,19 @@
"tab": "General",
"currency": {
"label": "Currency"
},
"base_url": {
"label": "Base URL",
"tooltip": "The base URL to use when generating features such as QR codes."
},
"round_prices": {
"label": "Round prices",
"tooltip": "Round prices to the nearest whole number."
}
},
"extra_fields": {
"tab": "Extra Fields",
"description": "<p>Here you can add extra custom fields to your entities.</p><p>Once a field is added, you can not change its key or type, and for choice type fields you can not remove choices or change the multi choice state. If you remove a field, the associated data for all entities will be deleted.</p><p>The key is what other programs read/write the data as, so if your custom field is supposed to integrate with a third-party program, make sure to set it correctly. Default value is only applied to new items.</p><p>Extra fields can not be sorted or filtered in the table views.</p>",
"description": "<p>Here you can add extra custom fields to your entities.</p><p>Once a field is added, you can not change its key or type, and for choice type fields you can not remove choices or change the multi choice state. If you remove a field, the associated data for all entities will be deleted.</p><p>The key is what other programs read/write the data as, so if your custom field is supposed to integrate with a third-party program, make sure to set it correctly. Default value is only applied to new items.</p><p>Extra fields can be shown and sorted in the table views. Choice and boolean fields expose filter options there as well, and all extra field types support filtering for empty values.</p>",
"params": {
"key": "Key",
"name": "Name",
@@ -327,6 +371,9 @@
"help": {
"list": "Help | Spoolman"
},
"locations": {
"list": "Locations | Spoolman"
},
"filament": {
"list": "Filaments | Spoolman",
"show": "#{{id}} Show Filament | Spoolman",
@@ -348,5 +395,11 @@
"create": "Create Manufacturer | Spoolman",
"clone": "#{{id}} Clone Manufacturer | Spoolman"
}
},
"locations": {
"locations": "Locations",
"new_location": "New Location",
"no_location": "No Location",
"no_locations_help": "This page lets you organize your spools in locations, add some spools to get started!"
}
}
+80 -16
View File
@@ -4,7 +4,7 @@
"create": "Crear",
"edit": "Editar",
"show": "Mostrar",
"clone": "Duplicar"
"clone": "Clonar"
},
"buttons": {
"create": "Crear",
@@ -20,7 +20,7 @@
"show": "Mostrar",
"undo": "Deshacer",
"import": "Importar",
"clone": "Duplicar",
"clone": "Clonar",
"archive": "Archivar",
"unArchive": "Desarchivar",
"hideArchived": "Ocultar Archivados",
@@ -28,7 +28,8 @@
"notAccessTitle": "No tienes permiso de acceso",
"hideColumns": "Ocultar Columnas",
"clearFilters": "Borrar filtros",
"saveAndAdd": "Guardar y añadir"
"saveAndAdd": "Guardar y añadir",
"continue": "Continuar"
},
"warnWhenUnsavedChanges": "¿Estás seguro que quieres salir? Hay cambios sin guardar.",
"notifications": {
@@ -51,7 +52,7 @@
"yes": "Si",
"no": "No",
"tags": {
"clone": "Duplicar"
"clone": "Clonar"
},
"dashboard": {
"title": "Dashboard"
@@ -84,7 +85,7 @@
},
"fields_help": {
"used_weight": "Cuanto filamento ha sido usado de la bobina. Una bobina nueva debería tener 0g usados.",
"location": "Donde se encuentra la bobina si tiene varias ubicaciones donde almacenar sus bobinas.",
"location": "Dónde se encuentra el carrete si tiene varias ubicaciones donde almacena sus carretes.",
"lot_nr": "Número de lote del fabricante. Puede ser usado si el modelo a imprimir necesita color homogéneo y varias bobinas son necesarias.",
"weight_to_use": "Elegir el peso a usar. El peso medido solo está disponible si existe el valor de peso del carrete seleccionado.",
"measured_weight": "Cuanto pesa el filamento y la bobina.",
@@ -101,14 +102,25 @@
"list": "Bobinas",
"show": "Mostrar Bobina",
"archive": "Archivar Bobina",
"show_title": "[Bobina #{{id}}] {{name}}"
"show_title": "[Bobina #{{id}}] {{name}}",
"adjust": "Ajustar la bobina del filamento"
},
"messages": {
"archive": "¿Esta seguro que quiere archivar esta bobina?"
},
"form": {
"new_location_prompt": "Introduce una nueva ubicación",
"spool_updated": "Esta bobina ha sido actualizada por alguien/algo desde que abriste esta página. ¡Al guardar, se sobrescribirán los cambios!"
"spool_updated": "Esta bobina ha sido actualizada por alguien/algo desde que abriste esta página. ¡Al guardar, se sobrescribirán los cambios!",
"measurement_type": {
"length": "Longitud",
"weight": "Peso"
},
"measurement_type_label": "Tipo de medición",
"adjust_filament_value": "Cantidad consumida",
"adjust_filament_help": "Aquí puedes añadir o restar directamente filamento de la bobina. Un valor positivo consumirá filamento, un valor negativo lo añadirá."
},
"formats": {
"last_used": "Utilizado por última vez {{date}}"
}
},
"filament": {
@@ -131,7 +143,11 @@
"settings_bed_temp": "Temp. de Cama",
"color_hex": "Color",
"spools": "Mostrar las Bobinas",
"external_id": "ID Externo"
"external_id": "ID Externo",
"coaxial": "coextruido",
"single_color": "Único",
"longitudinal": "Longitudinal",
"multi_color": "Multiple"
},
"fields_help": {
"name": "Nombre del filamento, para distinguir este tipo de filamento entre otros del mismo fabricante. Debe contener por ejemplo: el color.",
@@ -139,7 +155,8 @@
"price": "Precio de una bobina completa.",
"weight": "El peso de una bobina entera (peso neto). Esta cifra no debe incluir el peso de la bobina vacía, solo el filamento. Es, normalmente, el peso escrito en la etiqueta de la bobina.",
"spool_weight": "El peso de una bobina vacía. Se utiliza para determinar el peso medido de una bobina.",
"article_number": "ej. EAN, UPC, etc."
"article_number": "ej. EAN, UPC, etc.",
"multi_color_direction": "Los filamentos pueden tener varios colores de dos formas: mediante coextrusión, como los filamentos bicolor con multicolores consistentes, o mediante cambios de color longitudinales, como los filamentos degradados que cambian de color a lo largo de la bobina."
},
"titles": {
"create": "Crear Filamento",
@@ -215,6 +232,9 @@
},
"help": {
"list": "Ayuda | Spoolman"
},
"locations": {
"list": "Ubicaciones | Spoolman"
}
},
"printing": {
@@ -227,14 +247,31 @@
"showTemperatures": "Temperaturas",
"showVendor": "Fabricante",
"showSpoolComment": "Comentario de la Bobina",
"textSize": "Tamaño del Texto",
"title": "Impresión de Códigos QR",
"textSize": "Tamaño del texto para la etiqueta",
"title": "Imprimiendo las etiquetas",
"showSpoolmanIcon": "Mostrar Icono de Spoolman",
"showLotNr": "No. Lote",
"bedTemp": "TC:{{temp}}",
"lotNr": "No. Lote:{{lot}}",
"showFilamentComment": "Comentario de Filamento",
"button": "Imprimir Códigos QR"
"button": "Imprimir las etiquetas",
"template": "Plantilla para la etiqueta",
"templateHelp": "Utiliza {} para insertar valores del objeto spool como texto. Por ejemplo, {id} se sustituirá por el id del carrete, o {filament.material} se sustituirá por el material del carrete. si falta un valor, se sustituirá por \"?\". Se puede utilizar un segundo conjunto de {} para eliminarlo. Además, cualquier texto entre los {} se eliminará si falta el valor. Por ejemplo, {Lot Nr: {lot_nr}} solo mostrará la etiqueta si la bobina tiene un número de lote. Encierra el texto con doble asterisco ** para ponerlo en negrita. Haz clic en el botón para ver una lista de todas las etiquetas disponibles.",
"showQRCode": "Imprimir un código qr",
"showQRCodeMode": {
"no": "No",
"simple": "Sencilla",
"withIcon": "Con un icono"
},
"useHTTPUrl": {
"label": "Enlace al código QR",
"options": {
"default": "Por defecto",
"url": "URL"
},
"preview": "Vista previa:",
"tooltip": "Se utilizará un enlace propietario que funcionará solo si se escanea desde la función de escaneo de Spoolman (predeterminado). La URL utiliza la URL base especificada en la configuración o la URL de la página actual si no está configurada."
}
},
"generic": {
"printerMarginBottom": "Zona Segura Inferior",
@@ -266,14 +303,25 @@
"showBorder": "Mostrar Borde",
"printerMarginLeft": "Zona Segura Izquierda",
"dimensions": "Dimensiones",
"print": "Imprimir"
"print": "Imprimir",
"itemCopies": "Copias del artículo",
"settings": "Ajustes preestablecidos",
"defaultSettings": "Por defecto",
"addSettings": "Añadir un nuevo ajustes preestablecidos",
"newSetting": "Nuevo",
"deleteSettings": "Eliminar ajustes preestablecidos",
"deleteSettingsConfirm": "¿Estás seguro de que deseas eliminar este ajuste preestablecido?",
"settingsName": "Nombre preestablecido",
"duplicateSettings": "Duplicar",
"saveSetting": "Guardar ajustes preestablecidos",
"saveAsImage": "Guardar como una imagen"
},
"spoolSelect": {
"selectedTotal_one": "{{count}} bobina seleccionada",
"selectedTotal_many": "{{count}} bobinas seleccionadas",
"selectedTotal_other": "{{count}} bobinas seleccionadas",
"description": "Seleccionar Bobinas para imprimir códigos de QR.",
"showArchived": "Mostrar Archivados",
"description": "Selecciona los carretes para los que deseas imprimir las etiquetas.",
"showArchived": "Mostrar archivados",
"title": "Selección de Bobinas",
"selectAll": "Seleccionar/Deseleccionar Todos",
"noSpoolsSelected": "No has seleccionado ninguna bobina."
@@ -302,7 +350,9 @@
},
"kofi": "Donar en Ko-fi",
"home": {
"home": "Inicio"
"home": "Inicio",
"welcome": "¡Bienvenido a tu instancia de Spoolman!",
"description": "Parece que aún no has añadido ninguna bobina aún. Visita la <helpPageLink>página de ayuda</helpPageLink> para comenzar."
},
"settings": {
"header": "Ajustes",
@@ -310,6 +360,14 @@
"tab": "General",
"currency": {
"label": "Moneda"
},
"base_url": {
"label": "URL base",
"tooltip": "La URL base que se utilizará al generar funciones como códigos QR."
},
"round_prices": {
"label": "Redondear precios",
"tooltip": "Redondear precios al número entero más cercano."
}
},
"extra_fields": {
@@ -344,5 +402,11 @@
"description": "<p> Aquí puede agregar más campos personalizados a los asuntos.</p><p> Una vez que se agrega un campo, no puede cambiar su clave o tipo, y no puede eliminar opciones ni cambiar el estado de múltiples opciones para campos seleccionados. Si elimina un campo, se eliminarán los datos asociados a todos los sujetos.</p><p> La forma en que otros programas leen/escriben los datos es clave, por lo que si su campo personalizado se va a integrar con un programa de terceros, asegúrese de que esté configurado correctamente. El valor predeterminado solo se utilizará para elementos nuevos.</p><p> Los campos de salida no se pueden ordenar ni filtrar en las vistas de tabla.</p>"
},
"settings": "Ajustes"
},
"locations": {
"locations": "Ubicaciones",
"new_location": "Nueva ubicación",
"no_location": "Sin ubicación",
"no_locations_help": "Esta página te permite organizar tus carretes en ubicaciones, ¡añade algunos carretes para empezar!"
}
}
+399
View File
@@ -0,0 +1,399 @@
{
"actions": {
"list": "Kuva",
"create": "Loo",
"edit": "Muuda",
"show": "Näita",
"clone": "Klooni"
},
"buttons": {
"create": "Loo",
"save": "Salvesta",
"confirm": "Oled kindel?",
"clear": "Tühjenda",
"refresh": "Uuenda",
"show": "Näita",
"hideColumns": "Peida tulbad",
"clearFilters": "Tühjenda filtrid",
"edit": "Muuda",
"undo": "Võta tagasi",
"clone": "Klooni",
"archive": "Arhiveeri",
"notAccessTitle": "Sul pole õigusi sisenemiseks",
"saveAndAdd": "Salvesta ja Lisa",
"logout": "Logi välja",
"delete": "Kustuta",
"cancel": "Tühista",
"import": "Impordi",
"filter": "Filtreeri",
"unArchive": "Võta arhiivist tagasi",
"hideArchived": "Peida arhiveeritud",
"showArchived": "Näita arhiveeritud",
"continue": "Jätka"
},
"notifications": {
"error": "Viga (kood: {{statusCode}})",
"undoable": "Sul on {{seconds}} sekundit, et muudatus tagasi võtta.",
"success": "Õnnestunud",
"createSuccess": "Loodi {{resource}}",
"createError": "Tekkis viga {{resource}} loomisel. (staatuse kood: {{statusCode}})",
"deleteSuccess": "Edukalt kustutatud {{resource}}",
"deleteError": "Viga {{resource}} kustutamisel. (staatuse kood: {{statusCode}})",
"editSuccess": "Edukalt muudetud {{resource}}",
"editError": "Viga {{resource}} muutmisel (staatuse kood: {{statusCode}})",
"importProgress": "Importimine: {{processed}}/{{total}}",
"saveSuccessful": "Salvesta edukalt!",
"validationError": "Viga validerimisel: {{error}}"
},
"warnWhenUnsavedChanges": "Oled sa kindel, et soovid lahkuda? Sul on salvestamata muudatusi.",
"kofi": "Anna mulle tippi Ko-fi's",
"loading": "Laadimine",
"version": "Versioon",
"unknown": "Tundmatu",
"yes": "Jah",
"no": "Ei",
"tags": {
"clone": "Klooni"
},
"dashboard": {
"title": "Juhtpaneel"
},
"printing": {
"generic": {
"title": "Trükkib",
"printerMarginBottom": "",
"verticalSpacing": "",
"rows": "",
"borders": {
"none": "",
"grid": "",
"border": ""
},
"printerMarginTop": "",
"deleteSettingsConfirm": "",
"deleteSettings": "",
"customSize": "",
"contentSettings": "",
"marginRight": "",
"printerMarginRight": "",
"itemCopies": "",
"helpPrinterMargin": "",
"settingsName": "",
"previewScale": "",
"helpMargin": "",
"marginTop": "",
"skipItems": "",
"newSetting": "",
"addSettings": "",
"layoutSettings": "",
"paperSize": "",
"columns": "",
"description": "",
"marginBottom": "",
"horizontalSpacing": "",
"duplicateSettings": "",
"settings": "",
"saveSetting": "",
"marginLeft": "",
"showBorder": "",
"saveAsImage": "",
"printerMarginLeft": "",
"dimensions": "",
"defaultSettings": "",
"print": ""
},
"qrcode": {
"useHTTPUrl": {
"options": {
"default": "",
"url": ""
},
"preview": "",
"tooltip": "",
"label": ""
},
"showContent": "",
"showQRCodeMode": {
"withIcon": "",
"no": "",
"simple": ""
},
"templateHelp": "",
"textSize": "",
"showQRCode": "",
"template": "",
"title": "",
"button": ""
},
"spoolSelect": {
"selectedTotal_one": "",
"selectedTotal_other": "",
"description": "",
"showArchived": "",
"title": "",
"selectAll": "",
"noSpoolsSelected": ""
}
},
"vendor": {
"fields": {
"external_id": "",
"registered": "",
"comment": "",
"name": "",
"empty_spool_weight": "",
"id": ""
},
"fields_help": {
"empty_spool_weight": ""
},
"titles": {
"show_title": "",
"show": "",
"edit": "",
"clone": "",
"create": "",
"list": ""
},
"form": {
"vendor_updated": ""
},
"vendor": ""
},
"documentTitle": {
"vendor": {
"create": "",
"clone": "",
"edit": "",
"list": "",
"show": ""
},
"default": "",
"home": {
"list": ""
},
"spool": {
"edit": "",
"list": "",
"create": "",
"show": "",
"clone": ""
},
"filament": {
"list": "",
"show": "",
"clone": "",
"create": "",
"edit": ""
},
"suffix": "",
"locations": {
"list": ""
},
"help": {
"list": ""
}
},
"spool": {
"fields": {
"measured_weight": "",
"last_used": "",
"filament_internal": "",
"material": "",
"spool_weight": "",
"weight_to_use": "",
"lot_nr": "",
"filament_name": "",
"price": "",
"comment": "",
"filament": "",
"location": "",
"used_length": "",
"archived": "",
"remaining_length": "",
"registered": "",
"first_used": "",
"used_weight": "",
"id": "",
"remaining_weight": "",
"initial_weight": "",
"filament_external": ""
},
"titles": {
"archive": "",
"adjust": "",
"show": "",
"edit": "",
"create": "",
"clone": "",
"show_title": "",
"list": ""
},
"fields_help": {
"external_filament": "",
"used_weight": "",
"weight_to_use": "",
"measured_weight": "",
"price": "",
"spool_weight": "",
"lot_nr": "",
"remaining_weight": "",
"location": "",
"initial_weight": ""
},
"form": {
"spool_updated": "",
"measurement_type_label": "",
"adjust_filament_value": "",
"new_location_prompt": "",
"measurement_type": {
"weight": "",
"length": ""
},
"adjust_filament_help": ""
},
"spool": "",
"formats": {
"last_used": ""
},
"messages": {
"archive": ""
}
},
"filament": {
"form": {
"import_external": "",
"filament_updated": "",
"import_external_description": ""
},
"fields_help": {
"name": "",
"article_number": "",
"spool_weight": "",
"price": "",
"weight": "",
"multi_color_direction": "",
"material": ""
},
"fields": {
"material": "",
"vendor_name": "",
"settings_extruder_temp": "",
"comment": "",
"multi_color": "",
"diameter": "",
"weight": "",
"spool_weight": "",
"external_id": "",
"single_color": "",
"registered": "",
"spools": "",
"name": "",
"price": "",
"settings_bed_temp": "",
"vendor": "",
"density": "",
"longitudinal": "",
"id": "",
"color_hex": "",
"article_number": "",
"coaxial": ""
},
"titles": {
"clone": "",
"show_title": "",
"show": "",
"create": "",
"edit": "",
"list": ""
},
"buttons": {
"add_spool": ""
},
"filament": ""
},
"settings": {
"extra_fields": {
"non_unique_key_error": "",
"params": {
"unit": "",
"choices": "",
"default_value": "",
"field_type": "",
"multi_choice": "",
"order": "",
"name": "",
"key": ""
},
"boolean_true": "",
"choices_missing_error": "",
"boolean_false": "",
"delete_confirm_description": "",
"field_type": {
"boolean": "",
"float": "",
"choice": "",
"float_range": "",
"datetime": "",
"integer": "",
"integer_range": "",
"text": ""
},
"tab": "",
"description": "",
"delete_confirm": "",
"key_not_changed": ""
},
"general": {
"tab": "",
"base_url": {
"tooltip": "",
"label": ""
},
"round_prices": {
"label": "",
"tooltip": ""
},
"currency": {
"label": ""
}
},
"header": "",
"settings": ""
},
"home": {
"welcome": "",
"home": "",
"description": ""
},
"scanner": {
"title": "",
"error": {
"insecureContext": "",
"notReadable": "",
"notAllowed": "",
"unknown": "",
"notFound": "",
"streamApiNotSupported": ""
},
"description": ""
},
"help": {
"resources": {
"vendor": "",
"filament": "",
"spool": ""
},
"description": "",
"help": ""
},
"locations": {
"new_location": "",
"no_location": "",
"locations": "",
"no_locations_help": ""
},
"table": {
"actions": ""
}
}
+399
View File
@@ -0,0 +1,399 @@
{
"actions": {
"show": "نمایش",
"clone": "تکثیر",
"create": "اضافه کردن",
"list": "لیست",
"edit": "ویرایش"
},
"buttons": {
"save": "ذخیره",
"saveAndAdd": "ذخیره و اضافه کردن",
"cancel": "انصراف",
"refresh": "تازه سازی",
"show": "نمایش",
"showArchived": "نمایش آرشیو",
"notAccessTitle": "شما مجوز های لازم برای انجام این کار را ندارید",
"hideColumns": "مخفی کردن ستون",
"create": "اضافه کردن",
"logout": "خروج",
"edit": "ویرایش",
"delete": "حذف",
"confirm": "آیا از انجام این عمل اطمینان دارید؟",
"filter": "فیلتر",
"continue": "ادامه",
"clear": "پاک کردن",
"undo": "بازگشت به حالت قبلی",
"clone": "تکثیر",
"import": "وارد کردن",
"archive": "آرشیو کردن",
"unArchive": "درآوردن از آرشیو",
"hideArchived": "آرشیو مخفی",
"clearFilters": "حذف فیلتر ها"
},
"notifications": {
"success": "ثبت موفق",
"error": "خطای {{statusCode}} رخ داد",
"createSuccess": "{{resource}} با موفقیت ایجاد شد",
"deleteSuccess": "{{resource}} حذف شد",
"editError": "در زمان ویرایش {{resource}} خطای {{statusCode}} رخ داد",
"validationError": "خطای تایید اطلاعات {{error}}",
"undoable": "برای برگشت به حالت قبل {{seconds}} ثانیه فرصت دارید...",
"createError": "در زمان ساخت {{resource}} مشکل {{statusCode}} رخ داد",
"deleteError": "حذف {{resource}} با خطای {{statusCode}} مواجه شد",
"editSuccess": "{{resource}} با موفقیت ویرایش شد",
"importProgress": "در حال وارد کردن {{processed}} از مجموع {{total}}",
"saveSuccessful": "با موفقیت ثبت شد!"
},
"warnWhenUnsavedChanges": "از خارج شدن خود مطمئن هستید؟ موارد ذخیره نشده نادیده گرفته خواهند شد.",
"kofi": "حمایت از سازنده این برنامه",
"loading": "در حال بارگذاری",
"version": "ورژن",
"unknown": "نامشخص",
"yes": "بله",
"no": "خیر",
"tags": {
"clone": "تکثیر"
},
"dashboard": {
"title": "داشبورد"
},
"printing": {
"generic": {
"title": "در حال پرینت",
"description": "تنظیمات زیر را جوری تنظیم کنید که چیدمان پرینت لیبل مد نظرتان بدست بیاید. توجه کنید پرینتر و سیستم عامل شما ممکن است تنظیمات خودشان را لحاظ کنند، لذا ممکن است کمی آزمون و خطا نیاز باشد تا نتیجه مطلوب بدست بیاید. قبل اینکه لیبل نهایی را پرینت کنید ابتدا روی یک تکه کاغذ معمولی پرینت بگیرید و تست کنید.",
"helpMargin": "حاشیه‌ها باید با کاغذ برچسب و چاپگر شما هماهنگ شوند، تغییر دادن این تنظیمات بر اندازه کل شبکه تأثیر می‌گذارد.",
"print": "پرینت",
"columns": "ستون",
"rows": "سطر",
"paperSize": "اندازه کاغذ",
"customSize": "کاستوم",
"dimensions": "ابعاد",
"showBorder": "نمایش کناره ها",
"previewScale": "پیش نمایش اندازه",
"skipItems": "نادیده گرفتن یک آیتم",
"itemCopies": "تعداد کپی هر آیتم",
"contentSettings": "تنظیمات محتوی",
"layoutSettings": "تنظیمات چیدمان",
"horizontalSpacing": "فاصله افقی",
"verticalSpacing": "فاصله عمودی",
"marginLeft": "فاصله از چپ",
"marginRight": "فاصله از راست",
"printerMarginLeft": "منطقه ایمن از چپ",
"printerMarginRight": "منطقه ایمن از راست",
"printerMarginTop": "منطقه ایمن از بالا",
"printerMarginBottom": "منطقه ایمن از پایین",
"borders": {
"none": "هیچ کدام",
"border": "حاشیه",
"grid": "شبکه"
},
"settings": "تنظیمات پیشفرض",
"defaultSettings": "پیشفرض",
"addSettings": "اضافه کردن پیشفرض جدید",
"newSetting": "جدید",
"duplicateSettings": "تکثیر کردن",
"deleteSettings": "حذف پیشفرض فعلی",
"deleteSettingsConfirm": "از حذف این پیشفرض مطمئن هستید؟",
"settingsName": "اسم پیشفرض",
"saveSetting": "ذخیره کردن پیش فرض",
"saveAsImage": "ذخیره به عنوان عکس",
"helpPrinterMargin": "ناحیه امن باید بر اساس نزدیک‌ترین فاصله‌ای که چاپگر شما می‌تواند تا لبه کاغذ چاپ کند تنظیم شود. تغییر این تنظیمات بر کل شبکه تأثیری نخواهد داشت.",
"marginTop": "فاصله از بالا",
"marginBottom": "فاصله از پایین"
},
"qrcode": {
"button": "پرینت لیبل",
"title": "در حال پرینت لیبل",
"template": "قالب لیبل",
"textSize": "اندازه متن لیبل",
"useHTTPUrl": {
"label": "لینک بارکد QR",
"options": {
"default": "پیشفرض",
"url": "لینک"
},
"preview": "پیش نمایش:",
"tooltip": "از لینک اختصاصی استفاده خواهد شد که فقط در صورتی کار می‌کند که از ویژگی اسکن Spoolman اسکن شود (پیش‌فرض). آدرس URL یا از آدرس پایه‌ای که در تنظیمات مشخص شده استفاده می‌کند، یا در صورت عدم تنظیم، از آدرس صفحه فعلی."
},
"showContent": "پرینت کردن لیبل",
"showQRCode": "پرینت بارکد QR",
"showQRCodeMode": {
"no": "خیر",
"simple": "ساده",
"withIcon": "با آیکون"
},
"templateHelp": "از {} برای وارد کردن مقادیر مربوط به شیء spool به‌عنوان متن استفاده کنید. به‌عنوان مثال، {id} با شناسه spool جایگزین می‌شود، یا {filament.material} با جنس فیلامنت spool جایگزین خواهد شد. اگر مقداری وجود نداشته باشد، با \"?\" جایگزین می‌شود. می‌توانید از یک مجموعه دوم {} استفاده کنید تا این مورد حذف شود. همچنین، هر متنی که بین این دو مجموعه {} قرار گرفته باشد، اگر مقدار وجود نداشته باشد، حذف خواهد شد. به‌عنوان مثال، {Lot Nr: {lot_nr}} فقط زمانی نمایش داده می‌شود که spool دارای شماره lot باشد. برای برجسته‌کردن متن از دو علامت ** استفاده کنید. برای مشاهده لیست کامل برچسب‌ها روی دکمه کلیک کنید."
},
"spoolSelect": {
"title": "انتخاب رول فیلامنت",
"description": "انتخاب رول فیلامنتی که لیبل پرینت میکنید.",
"showArchived": "نمایش آرشیو",
"noSpoolsSelected": "هیچ رول فیلامنتی را انتخاب نکردید.",
"selectAll": "انتخاب/عدم انتخاب همه",
"selectedTotal_one": "{{count}} رول فیلامنت انتخاب شد",
"selectedTotal_other": "تعدا د {{count}} رول فیلامنت انتخاب شد"
}
},
"scanner": {
"title": "اسکنر بارکد QR",
"description": "یک بارکد QR از Spoolman را اسکن کنید تا جزئیات مربوط به spool را مشاهده کنید.",
"error": {
"notAllowed": "شما اجازه دسترسی به دوربین را نداده‌اید.",
"insecureContext": "این صفحه از طریق HTTPS ارائه نمی‌شود.",
"streamApiNotSupported": "مرورگر از API رسانه‌ای (MediaStream API) پشتیبانی نمی‌کند.",
"notReadable": "دوربین قابل خواندن نیست.",
"notFound": "دوربینی پیدا نشد.",
"unknown": "خطای نامشخص {{error}} رخ داد"
}
},
"spool": {
"spool": "رول های فیلامنت",
"fields": {
"id": "شماره",
"filament_name": "فیلامنت",
"filament": "فیلامنت",
"filament_internal": "داخلی",
"filament_external": "خارجی",
"price": "قیمت",
"material": "متریال",
"weight_to_use": "وزن",
"used_weight": "مقدار استفاده شده",
"remaining_weight": "مقدار باقی مانده",
"measured_weight": "مقدار اندازه گیری شده",
"used_length": "طول مصرف شده",
"remaining_length": "طول باقی مانده",
"location": "محل نگهداری",
"lot_nr": "شماره تولید",
"initial_weight": "وزن خالص رول کامل",
"spool_weight": "وزن قرقره خالی",
"first_used": "زمان اولین استفاده",
"last_used": "زمان آخرین استفاده",
"registered": "ثبت شده",
"comment": "توضیحات",
"archived": "آرشیو شده"
},
"fields_help": {
"price": "قیمت یک قرقره کامل. در صورت عدم تنظیم، قیمت فیلامنت در نظر گرفته می‌شود.",
"used_weight": "چقدر فیلامنت از قرقره استفاده شده است. یک قرقره جدید باید 0 گرم استفاده شده داشته باشد.",
"remaining_weight": "چقدر فیلامنت در قرقره باقی مانده است. برای یک قرقره جدید، این باید با وزن قرقره مطابقت داشته باشد.",
"measured_weight": "وزن فیلامنت و قرقره چقدر است.",
"location": "مکانی که قرقره در آن قرار دارد اگر چندین مکان برای ذخیره قرقره‌ها دارید.",
"lot_nr": "شماره بچ تولیدکننده. می‌تواند برای اطمینان از اینکه چاپ رنگ ثابتی دارد در صورتی که از چندین قرقره استفاده شود، استفاده شود.",
"weight_to_use": "وزن مورد نظر برای ورود را انتخاب کنید. وزن اندازه‌گیری‌شده فقط در صورتی در دسترس است که وزن قرقره برای فیلامنت انتخاب شده تنظیم شده باشد.",
"initial_weight": "وزن اولیه فیلامنت روی قرقره (وزن خالص). اگر تنظیم نشده باشد، از وزن شیء فیلامنت استفاده خواهد شد.",
"external_filament": "شما یک فیلامنت از پایگاه داده خارجی انتخاب کرده‌اید. یک شیء فیلامنت (و احتمالاً یک شیء تولیدکننده) به‌طور خودکار زمانی که این قرقره را ایجاد می‌کنید، ایجاد خواهد شد. این ممکن است منجر به ایجاد اشیاء فیلامنت تکراری شود اگر قبلاً یک شیء فیلامنت برای این فیلامنت ایجاد کرده باشید.",
"spool_weight": "وزن قرقره زمانی که خالی است. برای استفاده از مقدار فیلامنت یا تولیدکننده، این قسمت را خالی بگذارید."
},
"titles": {
"create": "ساخت رول فیلامنت",
"clone": "تکثیر رول فیلامنت",
"edit": "ویرایش رول فیلامنت",
"list": "رول های فیلامنت",
"show": "نمایش رول فیلامنت",
"show_title": "[رول شماره{{id}}] {{name}}",
"archive": "آرشیو کردن رول فلامنت",
"adjust": "تنظیم کردن مقدار باقی مانده"
},
"form": {
"measurement_type": {
"length": "طول",
"weight": "وزن"
},
"measurement_type_label": "اصلاح برحسب",
"adjust_filament_help": "اینجا می‌توانید به‌طور مستقیم فیلامنت را از قرقره کم یا اضافه کنید. یک مقدار مثبت فیلامنت را مصرف می‌کند و یک مقدار منفی آن را اضافه می‌کند.",
"adjust_filament_value": "مقدار مصرف شده",
"new_location_prompt": "محل نگهداری جدید",
"spool_updated": "این قرقره توسط شخص یا چیزی دیگر از زمانی که این صفحه را باز کرده‌اید، به‌روز شده است. ذخیره‌سازی تغییرات شما، آن تغییرات را نادیده می‌گیرد!"
},
"messages": {
"archive": "آیا مطمئن هستید که می‌خواهید این قرقره را بایگانی کنید؟"
},
"formats": {
"last_used": ""
}
},
"filament": {
"filament": "فیلامنت ها",
"fields": {
"id": "شماره",
"vendor_name": "تولید کننده",
"vendor": "تولید کننده",
"name": "عنوان",
"material": "متریال",
"price": "قیمت",
"density": "چگالی (Density)",
"weight": "وزن",
"diameter": "ضخامت",
"article_number": "شماره انحصاری تولید",
"spool_weight": "وزن قرقره فیلامنت",
"registered": "ثبت شده",
"comment": "توضیحات",
"settings_extruder_temp": "دمای اکسترودر",
"settings_bed_temp": "دمای هیت بد",
"single_color": "تک رنگ",
"multi_color": "تغییر رنگ",
"coaxial": "کوپلیمری",
"longitudinal": "طولی",
"external_id": "آیدی خارجی",
"spools": "نمایش رول فیلامنت ها",
"color_hex": "رنگ"
},
"fields_help": {
"material": "برای مثال PLA، ABS، PETG یا ...",
"price": "قیمت یک رول کامل.",
"spool_weight": "وزن یک قرقره خالی. برای تعیین وزن اندازه‌گیری‌شده یک قرقره استفاده می‌شود.",
"article_number": "برای مثال EAN/UPC یا ...",
"name": "نام فیلامنت، برای تمایز این نوع فیلامنت از سایرین از همان تولیدکننده. باید شامل رنگ نیز باشد.",
"weight": "وزن فیلامنت یک قرقره کامل (وزن خالص). این باید شامل وزن خود قرقره نباشد و فقط فیلامنت را شامل شود. معمولاً روی بسته‌بندی نوشته شده است.",
"multi_color_direction": "فیلامنت‌ها می‌توانند به دو روش دارای چندین رنگ باشند: یا از طریق کوپلیمری، مانند فیلامنت‌های دو رنگ با رنگ‌های چندگانه ثابت، یا از طریق تغییر رنگ طولی، مانند فیلامنت‌های گرادیانت که رنگ‌ها را در طول قرقره تغییر می‌دهند."
},
"titles": {
"create": "ساخت فیلامنت جدید",
"clone": "تکثیر فیلامنت",
"edit": "ویرایش فیلامنت",
"list": "فیلامنت ها",
"show": "نمایش فیلامنت",
"show_title": "[فیلامنت شماره {{id}}] {{name}}"
},
"form": {
"filament_updated": "این فیلامنت توسط شخص یا چیزی دیگر از زمانی که این صفحه را باز کرده‌اید، به‌روز شده است. ذخیره‌سازی تغییرات شما، آن تغییرات را نادیده می‌گیرد!",
"import_external": "درون ریزی از لیست خارجی",
"import_external_description": "یک فیلامنت را در لیست انتخاب کنید تا جزئیات آن به‌طور خودکار در فرم ایجاد فیلامنت پر شود. این عمل هر داده‌ای که در فرم وارد کرده‌اید را نادیده می‌گیرد.<br><br>یک شیء تولیدکننده به‌طور خودکار زمانی که روی \"تأیید\" کلیک کنید، در صورت نیاز ایجاد خواهد شد."
},
"buttons": {
"add_spool": "اضافه کردن رول فیلامنت"
}
},
"vendor": {
"vendor": "تولید کننده ها",
"fields": {
"id": "شماره",
"name": "اسم",
"external_id": "شماره خارجی",
"registered": "ثبت شده",
"comment": "توضیحات",
"empty_spool_weight": "وزن قرقره فیلامنت خالی"
},
"fields_help": {
"empty_spool_weight": "وزن یک قرقره خالی فیلامنت ارائه شده از تولید کننده."
},
"titles": {
"create": "تعریف تولید کننده جدید",
"clone": "تکثیر تولید کننده",
"edit": "ویرایش تولید کننده",
"list": "تولید کننده ها",
"show": "نمایش تولید کننده",
"show_title": "[تولید کننده شماره {{id}}] {{name}}"
},
"form": {
"vendor_updated": "این تولیدکننده توسط شخص یا چیزی دیگر از زمانی که این صفحه را باز کرده‌اید، به‌روز شده است. ذخیره‌سازی تغییرات شما، آن تغییرات را نادیده می‌گیرد!"
}
},
"home": {
"home": "صفحه اصلی",
"welcome": "",
"description": ""
},
"help": {
"help": "راهنما",
"resources": {
"filament": "برندهای فیلامنت. آن‌ها دارای ویژگی‌هایی مانند نام، جنس، رنگ، قطر و موارد دیگر هستند.",
"spool": "قرقره‌های فیزیکی جداگانه از یک فیلامنت خاص.",
"vendor": "شرکت‌هایی که فیلامنت تولید می‌کنند."
},
"description": "<title>راهنما</title><p>در اینجا چند نکته برای شروع کارتان آورده شده است.</p><p>Spoolman سه نوع مختلف داده را نگه‌داری می‌کند:</p><itemsHelp/><p>برای اضافه کردن یک قرقره جدید به پایگاه داده، ابتدا یک <filamentCreateLink>شیء فیلامنت</filamentCreateLink> ایجاد کنید. پس از انجام این کار، به ایجاد یک <spoolCreateLink>شیء قرقره</spoolCreateLink> برای آن قرقره خاص ادامه دهید. اگر بعداً قرقره‌های اضافی از همان فیلامنت به دست آوردید، به سادگی اشیاء قرقره اضافی را ایجاد کرده و از همان شیء فیلامنت استفاده کنید.</p><p>به‌صورت اختیاری، می‌توانید یک <vendorCreateLink>شیء تولیدکننده</vendorCreateLink> برای شرکتی که فیلامنت را تولید می‌کند ایجاد کنید، اگر بخواهید این اطلاعات را دنبال کنید.</p><p>شما این امکان را دارید که سایر خدمات چاپ سه‌بعدی را به Spoolman پیوند دهید، مانند Moonraker، که می‌تواند به‌طور خودکار استفاده از فیلامنت را نظارت کرده و اشیاء قرقره را برای شما به‌روزرسانی کند. برای راهنمایی در مورد نحوه تنظیم این موارد به <readmeLink>راهنمای Spoolman</readmeLink> مراجعه کنید.</p>"
},
"table": {
"actions": "اعمال قابل انجام"
},
"settings": {
"settings": "تنظیمات",
"header": "تنظیمات",
"general": {
"tab": "تنظیمات کلی",
"currency": {
"label": "ارز مورد استفاده"
},
"base_url": {
"tooltip": "آدرس پایگاه داده Spoolman که باید هنگام ایجاد ویژگی‌هایی مانند کدهای QR استفاده شود.",
"label": "لینک Spoolman"
},
"round_prices": {
"label": "",
"tooltip": ""
}
},
"extra_fields": {
"tab": "فیلد های اضافه",
"params": {
"key": "شاخصه کلیدی",
"name": "عنوان",
"unit": "واحد",
"field_type": "نوع",
"order": "ترتیب",
"default_value": "مقدار پیشفرض",
"choices": "آپشن های قابل استفاده",
"multi_choice": "قابلیت انتخاب چند آپشن همزمان"
},
"field_type": {
"text": "متن",
"integer": "عدد بدون اعشار",
"integer_range": "رنج عددی بدون اعشار",
"float": "عدد اعشاری",
"float_range": "رنج عددی اعشاری",
"datetime": "زمان و تاریخ",
"boolean": "Boolean",
"choice": "انتخاب"
},
"boolean_true": "بله",
"boolean_false": "خیر",
"choices_missing_error": "شما نمی‌توانید گزینه‌ها را حذف کنید. گزینه‌های زیر موجود نیستند: {{choices}}",
"non_unique_key_error": "شاخصه کلیدی باید منحصر به فرد باشد.",
"key_not_changed": "لطفاً شاخصه کلیدی را به چیز دیگری تغییر دهید.",
"delete_confirm": "آیا میخواهید {{name}} را حذف کنید؟",
"delete_confirm_description": "این کار فیلد و تمام داده‌های مرتبط با آن را برای همه موجودی‌ها حذف خواهد کرد.",
"description": "<p>در اینجا می‌توانید فیلدهای سفارشی اضافی را به موجودی‌های خود اضافه کنید.</p><p>پس از افزودن یک فیلد، نمی‌توانید کلید یا نوع آن را تغییر دهید و برای فیلدهای نوع انتخاب، نمی‌توانید گزینه‌ها را حذف یا وضعیت چندانتخابی را تغییر دهید. اگر یک فیلد را حذف کنید، داده‌های مرتبط با تمام موجودی‌ها حذف خواهد شد.</p><p>کلید، اطلاعاتی است که برنامه‌های دیگر آن را می‌خوانند یا می‌نویسند، بنابراین اگر فیلد سفارشی شما قرار است با یک برنامه شخص ثالث ادغام شود، اطمینان حاصل کنید که به درستی تنظیم شده باشد. مقدار پیش‌فرض فقط بر روی اقلام جدید اعمال می‌شود.</p><p>فیلدهای اضافی نمی‌توانند در نماهای جدول مرتب یا فیلتر شوند.</p>"
}
},
"documentTitle": {
"default": "اسپول من",
"suffix": " | اسپول من",
"home": {
"list": "صفحه اصلی | اسپول من"
},
"help": {
"list": "راهنما | اسپول من"
},
"filament": {
"list": "فیلامنت ها | اسپول من",
"show": "نمایش فیلامنت شماره {{id}} | اسپول من",
"edit": "ویرایش فیلامنت شماره {{id}} | اسپول من",
"create": "ساخت فیلامنت جدید | اسپول من",
"clone": "تکثیر فیلامنت شماره {{id}} | اسپول من"
},
"spool": {
"list": "رول های فیلامنت | اسپول من",
"show": "نمایش رول فیلامنت شماره {{id}} | اسپول من",
"edit": "ویرایش رول فیلامنت شماره {{id}} | اسپول من",
"create": "ساخت رول فیلامنت جدید | اسپول من",
"clone": "تکثیر رول فیلامنت شماره {{id}} | اسپول من"
},
"vendor": {
"list": "تولید کنندگان فیلامنت | اسپول من",
"edit": "ویرایش تولید کننده فیلامنت شماره {{id}} | اسپول من",
"show": "نمایش تولید کننده فیلامنت شماره {{id}} | اسپول من",
"create": "تعریف کردن تولید کننده فیلامنت جدید | اسپول من",
"clone": "تکثیر تولید کننده فیلامنت شماره {{id}} | اسپول من"
},
"locations": {
"list": ""
}
},
"locations": {
"new_location": "",
"no_location": "",
"locations": "",
"no_locations_help": ""
}
}
+88 -24
View File
@@ -9,21 +9,38 @@
"showTemperatures": "Températures",
"showVendor": "Fabricant",
"showSpoolComment": "Commentaire sur la bobine",
"textSize": "Contenu Taille du texte",
"title": "Impression de codes QR",
"textSize": "Taille du texte de l'étiquette",
"title": "Impression d'étiquettes",
"showSpoolmanIcon": "Montrer l'icône Spoolman",
"showLotNr": "N° de Lot",
"bedTemp": "BT : {{temp}}",
"lotNr": "N° de Lot : {{lot}}",
"showFilamentComment": "Commentaire sur le filament",
"button": "Imprimer des codes QR"
"button": "Imprimer des étiquettes",
"showQRCode": "Imprimer le QR Code",
"templateHelp": "Utilisez {} pour insérer les valeurs de l'objet bobine sous forme de texte. Par exemple, {id} sera remplacé par l'identifiant de la bobine ou {filament.material} sera remplacé par le matériau de la bobine. Si une variable n'existe pas elle sera remplacée par \"?\". Un deuxième jeu d'accolade peut empêcher cet affichage. De plus si une accolade est utilisée dans une autre tout le texte présenta dans la première accolade sera retiré si la variable est manquante. Par exemple {N° lot : {lot_nr}} sera affiché uniquement si la bobine a un numéro de lot. Entourez le texte d'un double astérisque ** pour le mettre en gras. Cliquez sur le bouton pour afficher une liste de toutes les balises disponibles.",
"template": "Modèle d'étiquette",
"showQRCodeMode": {
"no": "Non",
"simple": "Simple",
"withIcon": "Avec icône"
},
"useHTTPUrl": {
"tooltip": "Utilise un lien privé qui ne marchera que si il est scanné depuis Spoolman (défaut). URL utilises soit l'URL spécifiée dans les options soit l'URL de la page actuelle si ce n'est pas défini.",
"options": {
"default": "Défaut",
"url": "URL"
},
"preview": "Prévisualisation :",
"label": "Lien du QR code"
}
},
"generic": {
"printerMarginBottom": "Zone de sécurité en bas",
"verticalSpacing": "Espacement vertical",
"rows": "Rangs",
"rows": "Lignes",
"borders": {
"none": "Aucun",
"none": "Aucune",
"grid": "Grille",
"border": "Bordure"
},
@@ -35,26 +52,37 @@
"printerMarginRight": "Zone de sécurité à droite",
"helpPrinterMargin": "La zone de sécurité doit être définie en fonction de la proximité du bord du papier que votre imprimante peut imprimer, la modification de ces paramètres n'affectera pas l'ensemble de la grille.",
"previewScale": "Échelle de prévisualisation",
"helpMargin": "Les marges doivent être configurées en fonction de votre papier à étiquettes et de votre imprimante, car leur modification aura une incidence sur la taille de l'ensemble de la grille.",
"helpMargin": "Les marges doivent être configurées en fonction de votre papier à étiquettes et de votre imprimante, leur modification aura une incidence sur la taille de l'ensemble de la grille.",
"marginTop": "Marge supérieure",
"skipItems": "Passer les articles",
"skipItems": "Articles ignorés",
"layoutSettings": "Paramètres de mise en page",
"paperSize": "Format du papier",
"columns": "Colonnes",
"description": "Ajustez les paramètres ci-dessous pour obtenir la mise en page d'impression souhaitée. Gardez à l'esprit que les imprimantes et votre système d'exploitation peuvent appliquer leurs propres marges et mises à l'échelle, il se peut donc que vous deviez faire quelques essais et erreurs avant que tout soit correct. Testez-le sur une feuille de papier ordinaire avant d'imprimer les étiquettes proprement dites.",
"description": "Ajustez les paramètres ci-dessous pour obtenir la mise en page d'impression souhaitée. Gardez à l'esprit que les imprimantes et votre système d'exploitation peuvent appliquer leurs propres marges et mises à l'échelle, il se peut donc que vous deviez faire quelques essais avant que tout soit correct. Testez-le sur une feuille de papier ordinaire avant d'imprimer les étiquettes en elles mêmes.",
"marginBottom": "Marge inférieure",
"horizontalSpacing": "Espacement horizontal",
"marginLeft": "Marge gauche",
"showBorder": "Afficher les bords",
"printerMarginLeft": "Zone de sécurité à gauche",
"dimensions": "Dimensions",
"print": "Imprimer"
"print": "Imprimer",
"settings": "Préréglages",
"defaultSettings": "Défaut",
"addSettings": "Ajouter un nouveau préréglage",
"newSetting": "Nouveau",
"deleteSettings": "Supprimer le préréglage actuel",
"deleteSettingsConfirm": "Êtes-vous sûr de vouloir supprimer ce préréglage ?",
"settingsName": "Nom du préréglage",
"saveAsImage": "Enregistrer comme image",
"itemCopies": "Nombre d'articles",
"duplicateSettings": "Dupliquer",
"saveSetting": "Enregistrer les préréglages"
},
"spoolSelect": {
"selectedTotal_one": "{{count}} bobine sélectionnée",
"selectedTotal_many": "{{count}} bobines sélectionnées",
"selectedTotal_other": "{{count}} bobines sélectionnées",
"description": "Sélectionnez les bobines pour lesquelles vous souhaitez imprimer des codes QR.",
"description": "Sélectionnez les bobines pour lesquelles imprimer des étiquettes.",
"showArchived": "Afficher les archives",
"title": "Sélectionner les bobines",
"selectAll": "Sélectionner/Désélectionner tout",
@@ -90,6 +118,9 @@
},
"help": {
"list": "Aide | Spoolman"
},
"locations": {
"list": "Emplacements | Spoolman"
}
},
"spool": {
@@ -124,7 +155,8 @@
"create": "Créer une bobine",
"clone": "Cloner une bobine",
"list": "Bobines",
"show_title": "[Bobine #{{id}}] {{name}}"
"show_title": "[Bobine #{{id}}] {{name}}",
"adjust": "Ajuster la bobine de filament"
},
"fields_help": {
"used_weight": "Combien de filament a été utilisé à partir de la bobine. Une bobine neuve devrait avoir 0g utilisé.",
@@ -144,7 +176,17 @@
},
"form": {
"spool_updated": "Cette bobine a été mise à jour par quelqu'un/quelque chose depuis la dernière ouverture de la page. Enregistrer écrasera ces changements !",
"new_location_prompt": "Entrer une nouvelle localisation"
"new_location_prompt": "Entrer une nouvelle localisation",
"measurement_type": {
"length": "Longueur",
"weight": "Poids"
},
"measurement_type_label": "Type de mesure",
"adjust_filament_help": "Ici, vous pouvez directement ajouter ou soustraire du filament à la bobine. Une valeur positive consommera du filament, une valeur négative en ajoutera.",
"adjust_filament_value": "Quantité consommée"
},
"formats": {
"last_used": "Dernière utilisation {{date}}"
}
},
"buttons": {
@@ -154,31 +196,33 @@
"filter": "Filtre",
"cancel": "Abandonner",
"edit": "Editer",
"showArchived": "Voir les archives",
"showArchived": "Afficher les archives",
"archive": "Archiver",
"hideColumns": "Masquer les colonnes",
"confirm": "êtes-vous sur ?",
"confirm": "Êtes-vous sur ?",
"delete": "Supprimer",
"undo": "Annuler",
"import": "Importer",
"logout": "Déconnexion",
"refresh": "Rafraichir",
"notAccessTitle": "Vous n'avez pas l'autorisation d'accéder",
"hideArchived": "Cacher les archives",
"notAccessTitle": "Vous n'avez pas l'autorisation d'accès",
"hideArchived": "Masquer les archives",
"clearFilters": "Effacer les filtres",
"unArchive": "Désarchiver",
"clone": "Cloner",
"clear": "Effacer",
"saveAndAdd": "Sauvegarder et ajouter"
"saveAndAdd": "Sauvegarder et ajouter",
"continue": "Continuer"
},
"filament": {
"fields_help": {
"name": "Nom du filament, pour distinguer ce type de filament parmi d'autres du même fabricant. Doit contenir la couleur par exemple.",
"name": "Nom du filament, pour distinguer ce type de filament parmi d'autres du même fabricant. Devrait contenir la couleur par exemple.",
"article_number": "Exemple EAN, UPC, etc.",
"spool_weight": "Le poids d'une bobine vide. Utilisé pour déterminer le poids d'une bobine.",
"price": "Prix d'une bobine complète.",
"weight": "Le poids du filament d'une bobine complète (poids net). Ce poids ne doit pas inclure le poids de la bobine elle-même, mais uniquement celui du filament. C'est ce qui est généralement indiqué sur l'emballage.",
"material": "Exemple PLA, ABS, PETG, etc."
"material": "Exemple PLA, ABS, PETG, etc.",
"multi_color_direction": "Les filaments peuvent avoir plusieurs couleurs de deux manières : soit par coextrusion, comme les filaments bicolores avec plusieurs couleurs uniformes, soit par des changements de couleur longitudinaux, comme les filaments dégradés qui changent de couleurs le long de la bobine."
},
"fields": {
"material": "Matériau",
@@ -198,7 +242,11 @@
"color_hex": "Couleur",
"article_number": "Numéro d'article",
"spools": "Afficher les bobines",
"external_id": "ID externe"
"external_id": "ID externe",
"single_color": "Unique",
"multi_color": "Multi",
"longitudinal": "Longitudinale",
"coaxial": "Coextrudée"
},
"titles": {
"clone": "Cloner un filament",
@@ -243,7 +291,7 @@
"editError": "Erreur lors de l'édition {{resource}} (status code : {{statusCode}})",
"undoable": "Vous avez {{seconds}} secondes pour annuler.",
"importProgress": "Importation : {{processed}}/{{total}}",
"createError": "Une erreur s'est produite lors de la création de {{resource}}(status code : {{statusCode}})",
"createError": "Une erreur s'est produite lors de la création de {{resource}} (status code : {{statusCode}})",
"success": "Réussite",
"editSuccess": "Édité avec succès {{resource}}",
"deleteError": "Erreur lors de la suppression de {{resource}} (status code : {{statusCode}})",
@@ -283,7 +331,7 @@
"table": {
"actions": "Actions"
},
"warnWhenUnsavedChanges": "Êtes-vous sûr de vouloir quitter ? Vous avez des changements non sauvés.",
"warnWhenUnsavedChanges": "Êtes-vous sûr de vouloir quitter ? Vous avez des changements non sauvegardés.",
"loading": "Chargement",
"dashboard": {
"title": "Tableau de bord"
@@ -302,7 +350,9 @@
},
"kofi": "Me donner un pourboire sur Ko-fi",
"home": {
"home": "Accueil"
"home": "Accueil",
"welcome": "Bienvenue sur votre instance Spoolman !",
"description": ""
},
"settings": {
"settings": "Paramètres",
@@ -342,7 +392,21 @@
"currency": {
"label": "Devise"
},
"tab": "Général"
"tab": "Général",
"base_url": {
"label": "Base de l'URL",
"tooltip": "La base de l'URL à utiliser lors de la génération de QR codes."
},
"round_prices": {
"label": "",
"tooltip": ""
}
}
},
"locations": {
"locations": "Emplacements",
"new_location": "Créer un emplacement",
"no_location": "Pas de localisation",
"no_locations_help": "Cette page vous permet d'organiser vos bobines par lieu, ajoutez une bobine pour commencer !"
}
}
+399
View File
@@ -0,0 +1,399 @@
{
"actions": {
"list": "Suchi",
"create": "Banaye",
"edit": "Sampadan Karen",
"show": "Dikhayen",
"clone": "Clone"
},
"buttons": {
"create": "Banaye",
"save": "Sahejen",
"edit": "Sampadan Karen",
"confirm": "Kya aapko pakka hai?",
"continue": "Aage badhen",
"show": "Dikhayen",
"filter": "",
"cancel": "",
"showArchived": "",
"archive": "",
"hideColumns": "",
"delete": "",
"undo": "",
"import": "",
"logout": "",
"refresh": "",
"notAccessTitle": "",
"saveAndAdd": "",
"hideArchived": "",
"clearFilters": "",
"unArchive": "",
"clone": "",
"clear": ""
},
"vendor": {
"fields": {
"external_id": "",
"registered": "",
"comment": "",
"name": "",
"empty_spool_weight": "",
"id": ""
},
"fields_help": {
"empty_spool_weight": ""
},
"titles": {
"show_title": "",
"show": "",
"edit": "",
"clone": "",
"create": "",
"list": ""
},
"form": {
"vendor_updated": ""
},
"vendor": ""
},
"documentTitle": {
"vendor": {
"create": "",
"clone": "",
"edit": "",
"list": "",
"show": ""
},
"default": "",
"home": {
"list": ""
},
"spool": {
"edit": "",
"list": "",
"create": "",
"show": "",
"clone": ""
},
"filament": {
"list": "",
"show": "",
"clone": "",
"create": "",
"edit": ""
},
"suffix": "",
"locations": {
"list": ""
},
"help": {
"list": ""
}
},
"spool": {
"fields": {
"measured_weight": "",
"last_used": "",
"filament_internal": "",
"material": "",
"spool_weight": "",
"weight_to_use": "",
"lot_nr": "",
"filament_name": "",
"price": "",
"comment": "",
"filament": "",
"location": "",
"used_length": "",
"archived": "",
"remaining_length": "",
"registered": "",
"first_used": "",
"used_weight": "",
"id": "",
"remaining_weight": "",
"initial_weight": "",
"filament_external": ""
},
"titles": {
"archive": "",
"adjust": "",
"show": "",
"edit": "",
"create": "",
"clone": "",
"show_title": "",
"list": ""
},
"fields_help": {
"external_filament": "",
"used_weight": "",
"weight_to_use": "",
"measured_weight": "",
"price": "",
"spool_weight": "",
"lot_nr": "",
"remaining_weight": "",
"location": "",
"initial_weight": ""
},
"form": {
"spool_updated": "",
"measurement_type_label": "",
"adjust_filament_value": "",
"new_location_prompt": "",
"measurement_type": {
"weight": "",
"length": ""
},
"adjust_filament_help": ""
},
"spool": "",
"formats": {
"last_used": ""
},
"messages": {
"archive": ""
}
},
"filament": {
"form": {
"import_external": "",
"filament_updated": "",
"import_external_description": ""
},
"fields_help": {
"name": "",
"article_number": "",
"spool_weight": "",
"price": "",
"weight": "",
"multi_color_direction": "",
"material": ""
},
"fields": {
"material": "",
"vendor_name": "",
"settings_extruder_temp": "",
"comment": "",
"multi_color": "",
"diameter": "",
"weight": "",
"spool_weight": "",
"external_id": "",
"single_color": "",
"registered": "",
"spools": "",
"name": "",
"price": "",
"settings_bed_temp": "",
"vendor": "",
"density": "",
"longitudinal": "",
"id": "",
"color_hex": "",
"article_number": "",
"coaxial": ""
},
"titles": {
"clone": "",
"show_title": "",
"show": "",
"create": "",
"edit": "",
"list": ""
},
"buttons": {
"add_spool": ""
},
"filament": ""
},
"printing": {
"generic": {
"printerMarginBottom": "",
"verticalSpacing": "",
"rows": "",
"borders": {
"none": "",
"grid": "",
"border": ""
},
"printerMarginTop": "",
"deleteSettingsConfirm": "",
"deleteSettings": "",
"customSize": "",
"title": "",
"contentSettings": "",
"marginRight": "",
"printerMarginRight": "",
"itemCopies": "",
"helpPrinterMargin": "",
"settingsName": "",
"previewScale": "",
"helpMargin": "",
"marginTop": "",
"skipItems": "",
"newSetting": "",
"addSettings": "",
"layoutSettings": "",
"paperSize": "",
"columns": "",
"description": "",
"marginBottom": "",
"horizontalSpacing": "",
"duplicateSettings": "",
"settings": "",
"saveSetting": "",
"marginLeft": "",
"showBorder": "",
"saveAsImage": "",
"printerMarginLeft": "",
"dimensions": "",
"defaultSettings": "",
"print": ""
},
"qrcode": {
"useHTTPUrl": {
"options": {
"default": "",
"url": ""
},
"preview": "",
"tooltip": "",
"label": ""
},
"showContent": "",
"showQRCodeMode": {
"withIcon": "",
"no": "",
"simple": ""
},
"templateHelp": "",
"textSize": "",
"showQRCode": "",
"template": "",
"title": "",
"button": ""
},
"spoolSelect": {
"selectedTotal_one": "",
"selectedTotal_other": "",
"description": "",
"showArchived": "",
"title": "",
"selectAll": "",
"noSpoolsSelected": ""
}
},
"settings": {
"extra_fields": {
"non_unique_key_error": "",
"params": {
"unit": "",
"choices": "",
"default_value": "",
"field_type": "",
"multi_choice": "",
"order": "",
"name": "",
"key": ""
},
"boolean_true": "",
"choices_missing_error": "",
"boolean_false": "",
"delete_confirm_description": "",
"field_type": {
"boolean": "",
"float": "",
"choice": "",
"float_range": "",
"datetime": "",
"integer": "",
"integer_range": "",
"text": ""
},
"tab": "",
"description": "",
"delete_confirm": "",
"key_not_changed": ""
},
"general": {
"tab": "",
"base_url": {
"tooltip": "",
"label": ""
},
"round_prices": {
"label": "",
"tooltip": ""
},
"currency": {
"label": ""
}
},
"header": "",
"settings": ""
},
"home": {
"welcome": "",
"home": "",
"description": ""
},
"scanner": {
"title": "",
"error": {
"insecureContext": "",
"notReadable": "",
"notAllowed": "",
"unknown": "",
"notFound": "",
"streamApiNotSupported": ""
},
"description": ""
},
"help": {
"resources": {
"vendor": "",
"filament": "",
"spool": ""
},
"description": "",
"help": ""
},
"notifications": {
"deleteSuccess": "",
"error": "",
"editError": "",
"saveSuccessful": "",
"undoable": "",
"importProgress": "",
"createError": "",
"validationError": "",
"success": "",
"editSuccess": "",
"deleteError": "",
"createSuccess": ""
},
"no": "",
"unknown": "",
"yes": "",
"locations": {
"new_location": "",
"no_location": "",
"locations": "",
"no_locations_help": ""
},
"version": "",
"kofi": "",
"table": {
"actions": ""
},
"warnWhenUnsavedChanges": "",
"loading": "",
"dashboard": {
"title": ""
},
"tags": {
"clone": ""
}
}
+103 -24
View File
@@ -9,14 +9,31 @@
"showTemperatures": "Hőmérséklet",
"showVendor": "Gyártó",
"showSpoolComment": "Orsó Megjegyzés",
"textSize": "Tartalom szöveg mérete",
"title": "QR kód nyomtatása",
"textSize": "Cimke Szövegméret",
"title": "Cimkenyomtatás",
"showSpoolmanIcon": "Spoolman ikon megjelenítése",
"showLotNr": "Tételszám",
"bedTemp": "BT: {{temp}}",
"lotNr": "Tételszám: {{lot}}",
"showFilamentComment": "Filament Komment",
"button": "QR kódok nyomtatása"
"button": "Cimkék Nyomtatása",
"useHTTPUrl": {
"options": {
"default": "Alapbeállítás",
"url": "URL"
},
"preview": "Előnézet:",
"tooltip": "",
"label": "QR kód link"
},
"showQRCodeMode": {
"withIcon": "Iconnal",
"no": "Nem",
"simple": "Egyszerű"
},
"templateHelp": "",
"showQRCode": "QR kód nyomtatása",
"template": "Cimke Sablon"
},
"generic": {
"printerMarginBottom": "Biztonságos zóna alja",
@@ -48,15 +65,26 @@
"showBorder": "Szélek megjelenítése",
"printerMarginLeft": "Biztonságos zóna balra",
"dimensions": "Dimenziók",
"print": "Nyomtat"
"print": "Nyomtat",
"deleteSettingsConfirm": "Biztos vagy benne, hogy törölni szeretnéd ezt a beállítást?",
"deleteSettings": "Jelenlegi Beállítás Törlése",
"itemCopies": "Termék másolatok",
"settingsName": "Preset neve",
"newSetting": "Új",
"addSettings": "Új beállítás hozzáadása",
"duplicateSettings": "Duplikáció",
"settings": "Beállítások",
"saveSetting": "Beállítás Mentése",
"saveAsImage": "Mentés Képként",
"defaultSettings": "Alapbeállítás"
},
"spoolSelect": {
"selectedTotal_one": "{{count}} tekercs kiválasztva",
"selectedTotal_other": "{{count}} db tekercs kiválasztva",
"description": "Válassza ki a QR-kódok nyomtatásához szükséges tekercseket.",
"description": "Válassza ki a tekercseket a cimkék nyomtatásához.",
"showArchived": "Archivált megjelenítése",
"title": "Tekercs kiválasztása",
"selectAll": "Összes kijelölése/kijelölésének törlése",
"selectAll": "Összes kijelölése/kijelölés törlése",
"noSpoolsSelected": "Nem választotál ki egyetlen tekercset sem."
}
},
@@ -89,12 +117,15 @@
},
"help": {
"list": "Segítség | Spoolman"
},
"locations": {
"list": "Tároló helyek | Spoolman"
}
},
"spool": {
"fields": {
"measured_weight": "Mért súly",
"last_used": "Utolsó használat",
"last_used": "Utoljára használt",
"material": "Anyag",
"weight_to_use": "Súly",
"lot_nr": "Tételszám",
@@ -106,11 +137,15 @@
"archived": "Arhivált",
"remaining_length": "Fennmaradó hossz",
"registered": "Nyilvántartott",
"first_used": "Első használat",
"first_used": "Először használt",
"used_weight": "Felhasznált súly",
"id": "ID",
"remaining_weight": "Hátralévő súly",
"price": "Ár"
"remaining_weight": "Maradék súly",
"price": "Ár",
"filament_internal": "Belső",
"spool_weight": "Üres súly",
"initial_weight": "Kezdeti súly",
"filament_external": "Külső"
},
"titles": {
"archive": "Arhivált tekercs",
@@ -119,7 +154,8 @@
"create": "Tekercs létrehozása",
"clone": "Tekercs másolása",
"show_title": "[Tekercs #{{id}}] {{name}}",
"list": "Tekercs"
"list": "Tekercs",
"adjust": "Tekercs Szál Módosítása"
},
"fields_help": {
"used_weight": "Mennyi filament használódott el a tekercsről. Egy új tekercsnek 0 gramm használt mennyiséggel kell rendelkeznie.",
@@ -128,15 +164,28 @@
"lot_nr": "Gyártói tételszám. A szín egységesség ellenőrzésére használható, ha több tekercset használsz egy nyomtatáshoz.",
"remaining_weight": "Mennyi filament van még a tekercsen. Egy új tekercsnél ez a tekercs súlyával kell megegyeznie.",
"location": "Hol található a tekercs, ha több helyen tárolod a tekercseidet.",
"price": "Egy teljes tekercs ára. Ha nincs beállítva, a rendszer az filament árát veszi fel helyette."
"price": "Egy teljes tekercs ára. Ha nincs beállítva, a rendszer az filament árát veszi fel helyette.",
"external_filament": "A kiválasztott tekercs egy külső adatbázisból származik. A szál elem(és valószínűleg a gyártó elem) automatikusan létrehozásra kerül amikor ezt a tekercset létrehozza. Ez okozhat szál duplikációt, ha ez a szál korábban már létre lett hozva.",
"spool_weight": "Az üres tekercs súlya. Hagyja üresen a szál vagy a gyártó értékének a használatához.",
"initial_weight": "A tekercsen lévő filament kezdeti súlya. Ha nincs beállítva, a filament rekord súlya lesz használva."
},
"form": {
"new_location_prompt": "Add meg az új helyet",
"spool_updated": "Ez a tekercs azóta frissült valaki/valami más által, mióta megnyitottad ezt az oldalt. A mentés felül fogja írni ezeket a változásokat!"
"spool_updated": "Ezt a spoolot valaki / valami más frissítette, mivel megnyitotta ezt az oldalt. A megtakarítás felülírja ezeket a változásokat!",
"measurement_type_label": "Mérési típus",
"adjust_filament_value": "",
"measurement_type": {
"weight": "Súly",
"length": "Hossz"
},
"adjust_filament_help": ""
},
"spool": "Tekercs",
"spool": "Tekercsek",
"messages": {
"archive": "Biztosan archiválni szeretné ezt a tekercset?"
},
"formats": {
"last_used": "Utolsó használat {{date}}"
}
},
"buttons": {
@@ -161,7 +210,8 @@
"unArchive": "Arhiválás visszavonása",
"clone": "Másolás",
"clear": "Törlés",
"saveAndAdd": "Mentés és hozzáadás"
"saveAndAdd": "Mentés és hozzáadás",
"continue": "Folytatás"
},
"filament": {
"fields_help": {
@@ -170,7 +220,8 @@
"spool_weight": "Az üres tekercs súlya. Ezt használják a tekercs mért súlyának meghatározásához.",
"price": "A teljes tekercs ára.",
"weight": "A teljes tekercs súlya (nettó súly), amely nem tartalmazza a tekercs saját súlyát, csak a filament súlyát. Általában ez szerepel a csomagoláson.",
"material": "Például. PLA, ABS, PETG stb."
"material": "Például. PLA, ABS, PETG stb.",
"multi_color_direction": ""
},
"fields": {
"material": "Anyag",
@@ -189,7 +240,12 @@
"id": "ID",
"color_hex": "Szín",
"article_number": "Cikkszám",
"spools": "Tekercsek megjelenítése"
"spools": "Tekercsek megjelenítése",
"multi_color": "",
"external_id": "Külső ID",
"single_color": "",
"longitudinal": "",
"coaxial": ""
},
"titles": {
"clone": "Filament másolása",
@@ -199,9 +255,11 @@
"edit": "Filament szerkesztése",
"list": "Filamentek"
},
"filament": "Filamentek",
"filament": "Szálak",
"form": {
"filament_updated": "Ez a szál anyag azóta frissült valaki/valami más által, mióta megnyitottad ezt az oldalt. A mentés felül fogja írni ezeket a változásokat!"
"filament_updated": "Ez a szál anyag azóta frissült valaki/valami más által, mióta megnyitottad ezt az oldalt. A mentés felül fogja írni ezeket a változásokat!",
"import_external": "Importálás külső forrásból",
"import_external_description": ""
},
"buttons": {
"add_spool": "Tekercs hozzáadása"
@@ -227,11 +285,16 @@
"registered": "Nyilvántartott",
"comment": "Megjegyzés",
"name": "Név",
"id": "ID"
"id": "ID",
"external_id": "Külső ID",
"empty_spool_weight": "Üres tekercs súlya"
},
"vendor": "Gyártók",
"form": {
"vendor_updated": "Ez a szállító azóta frissült valaki/valami más által, mióta megnyitottad ezt az oldalt. A mentés felül fogja írni ezeket a változásokat!"
"vendor_updated": "Ez a gyártó azóta frissült valaki/valami más által, mióta megnyitottad ezt az oldalt. A mentés felül fogja írni ezeket a változásokat!"
},
"fields_help": {
"empty_spool_weight": "Ettől a gyártótól származó üres tekercs súlya."
}
},
"scanner": {
@@ -239,7 +302,7 @@
"error": {
"insecureContext": "Az oldal kiszolgálása nem HTTPS-en keresztül történik.",
"notReadable": "A kamera nem használható.",
"notAllowed": "Nincs jováhagyva a számodra a kamera használata.",
"notAllowed": "Nem engedélyezte a kamerához való hozzáférést.",
"unknown": "Ismeretlen hiba történt. ({{error}})",
"notFound": "Nem található kamera.",
"streamApiNotSupported": "A böngésző nem támogatja a MediaStream API-t."
@@ -277,7 +340,9 @@
},
"kofi": "Tipp a Ko-fi-ra",
"home": {
"home": "Kezdő lap"
"home": "Kezdő lap",
"welcome": "Üdv a Spoolmanodban!",
"description": "Úgy tűnik, még nem hoztál létre tekercset. Lásd a <helpPageLink>Help page </helpPageLink> a kezdeti lépésekhez."
},
"help": {
"resources": {
@@ -326,7 +391,21 @@
"currency": {
"label": "Pénznem"
},
"tab": "Általános"
"tab": "Általános",
"base_url": {
"tooltip": "",
"label": "Alap URL"
},
"round_prices": {
"label": "Árak kerekítése",
"tooltip": "Az árak legközelebbi egész számra való kerekítése."
}
}
},
"locations": {
"new_location": "Új hely",
"no_location": "Nincs hely megadva",
"locations": "Helyek",
"no_locations_help": "Ez az oldal lehetővé teszi, hogy rendszerezd a tekercseket helyek szerint, adj hozzá néhány tekercset a kezdéshez!"
}
}
+103 -24
View File
@@ -9,14 +9,31 @@
"showTemperatures": "Temperature",
"showVendor": "Produttore",
"showSpoolComment": "Note aggiuntive Bobina",
"textSize": "Dimensioni testo del contenuto",
"title": "Stampando QR-Codes",
"textSize": "Dimensioni testo dell'etichetta",
"title": "Stampando etichetta",
"showSpoolmanIcon": "Mostra Icona Spoolman",
"showLotNr": "Lotto Nr",
"bedTemp": "BT: {{temp}}",
"lotNr": "Lotto Nr: {{lot}}",
"showFilamentComment": "Note Aggiuntive Filamento",
"button": "Stampa QR-Codes"
"button": "Stampa etichette",
"template": "Modello di etichetta",
"templateHelp": "Utilizza {} per inserire i valori della bobina nel testo. Ad esempio, {id} verrà sostituito con l'id della bobina, oppure {filament.material} verrà sostituito con il materiale della bobina. Racchiudi il testo con un doppio asterisco ** per renderlo in grassetto. Fai clic sul pulsante per visualizzare un elenco di tutte le etichette disponibili.",
"showQRCodeMode": {
"no": "No",
"simple": "Semplice",
"withIcon": "Con icona"
},
"showQRCode": "Stampa QR Code",
"useHTTPUrl": {
"label": "Link codice QR",
"tooltip": "Verrà utilizzato un link che funzionerà solo se scansionato dalla funzione di scansione di Spoolman (impostazione predefinita). L'URL utilizza l'URL di base specificato nelle impostazioni o l'URL della pagina corrente, se non impostato.",
"options": {
"default": "Preimpostato",
"url": "URL"
},
"preview": "Anteprima:"
}
},
"generic": {
"printerMarginBottom": "Safe-Zone Inferiore",
@@ -48,13 +65,24 @@
"showBorder": "Mostra Bordi",
"printerMarginLeft": "Safe-Zone Sinistra",
"dimensions": "Dimensioni",
"print": "Stampa"
"print": "Stampa",
"settings": "Impostazioni",
"defaultSettings": "Predefinito",
"addSettings": "Aggiungi nuova impostazione",
"newSetting": "Nuovo",
"deleteSettings": "Elimina impostazione corrente",
"deleteSettingsConfirm": "Sei sicuro di voler eliminare questa impostazione?",
"settingsName": "Nome impostazione",
"itemCopies": "Copie dell'elemento",
"saveAsImage": "Salva come immagine",
"duplicateSettings": "Duplica",
"saveSetting": "Salva impostazione"
},
"spoolSelect": {
"selectedTotal_one": "{{count}} bobina selezionata",
"selectedTotal_many": "{{count}} bobine selezionate",
"selectedTotal_other": "{{count}} bobine selezionate",
"description": "Seleziona le bobine per le quali stampare i QR-Codes.",
"description": "Seleziona le bobine per le quali stampare le etichette.",
"showArchived": "Mostra Archiviati",
"title": "Seleziona Bobina",
"selectAll": "Seleziona/Deseleziona Tutti",
@@ -64,9 +92,9 @@
"documentTitle": {
"vendor": {
"create": "Crea Produttore | Spoolman",
"clone": "#{{id}} Clona Produttore | Spoolman",
"clone": "#{{id}} Duplica Produttore | Spoolman",
"edit": "#{{id}} Modifica Produttore | Spoolman",
"list": "Produttore | Spoolman",
"list": "Produttori | Spoolman",
"show": "#{{id}} Mostra Produttore | Spoolman"
},
"default": "Spoolman",
@@ -90,6 +118,9 @@
},
"help": {
"list": "Aiuto | Spoolman"
},
"locations": {
"list": "Posizione | Spoolman"
}
},
"spool": {
@@ -111,7 +142,11 @@
"used_weight": "Peso Utilizzato",
"id": "ID",
"remaining_weight": "Peso Rimanente",
"price": "Prezzo"
"price": "Prezzo",
"filament_external": "Esterno",
"filament_internal": "Interno",
"spool_weight": "Peso a vuoto/tara",
"initial_weight": "Peso iniziale"
},
"titles": {
"archive": "Archivia Bobina",
@@ -120,7 +155,8 @@
"create": "Crea Bobina",
"clone": "Clona Bobina",
"show_title": "[Bobina #{{id}}] {{name}}",
"list": "Bobine"
"list": "Bobine",
"adjust": "Regola il filamento della bobina"
},
"fields_help": {
"used_weight": "Quanto filamento è stato utilizzato dalla bobina. Una nuova bobina dovrebbe avere 0 gr utilizzati.",
@@ -129,15 +165,28 @@
"lot_nr": "Numero di lotto del produttore. Può essere utilizzato per garantire che la stampa abbia colori uniformi se vengono utilizzate più bobine.",
"remaining_weight": "Quanto filamento è rimasto sulla bobina. Per una nuova bobina questo dovrebbe corrispondere al peso della bobina.",
"location": "Dove si trova la bobina se disponi di più posizioni in cui conservare le bobine.",
"price": "Prezzo di una bobina completa. Se non viene impostato, verrà utilizzato il prezzo del filamento."
"price": "Prezzo di una bobina completa. Se non viene impostato, verrà utilizzato il prezzo del filamento.",
"spool_weight": "Il peso della bobina vuota (tara). Lasciare vuoto per usare il valore dal profilo filamento o dal profilo produttore.",
"external_filament": "Hai selezionato un filamento da un database esterno. Un profilo filamento (e possibilmente anche un profilo produttore) verrà creato automaticamente quando crei questa bobina. Ciò potrebbe creare un profilo filamento duplicato se hai già creato un profilo per questo filamento.",
"initial_weight": "Peso iniziale del filamento sulla bobina (peso netto). Se non impostato, viene utilizzato il peso dal profilo del filamento."
},
"form": {
"new_location_prompt": "Inserisci nuova posizione",
"spool_updated": "Ci sono stati degli aggiornamenti per questa bobina da quando è stata aperta questa pagina. Il salvataggio sovrascriverà le modifiche!"
"spool_updated": "Ci sono stati degli aggiornamenti per questa bobina da quando è stata aperta questa pagina. Il salvataggio sovrascriverà le modifiche!",
"measurement_type": {
"length": "Lunghezza",
"weight": "Peso"
},
"adjust_filament_value": "Quantità di consumo",
"measurement_type_label": "Tipo di misurazione",
"adjust_filament_help": "Qui puoi aggiungere o sottrarre direttamente filamento dalla bobina. Un valore positivo consumerà filamento, un valore negativo lo aggiungerà."
},
"spool": "Bobine",
"messages": {
"archive": "Sei sicuro di voler archiviare questa bobina?"
},
"formats": {
"last_used": "Ultimo utilizzo {{date}}"
}
},
"buttons": {
@@ -162,7 +211,8 @@
"unArchive": "Ripristina",
"clone": "Clona",
"clear": "Pulisci",
"saveAndAdd": "Salva e aggiungi"
"saveAndAdd": "Salva e aggiungi",
"continue": "Continua"
},
"filament": {
"fields_help": {
@@ -171,7 +221,8 @@
"spool_weight": "Il peso di una bobina vuota. Utilizzato per determinare il peso misurato di una bobina.",
"price": "Prezzo di una bobina piena.",
"weight": "Il peso del filamento di una bobina piena (peso netto). Questo non dovrebbe includere il peso della bobina stessa, ma solo del filamento. È quello che solitamente c'è scritto sulla confezione.",
"material": "Es.: PLA, ABS, PETG, etc."
"material": "Es.: PLA, ABS, PETG, etc.",
"multi_color_direction": "I filamenti possono avere più colori in due modi: attraverso la coestrusione, come i filamenti a due colori con più colori omogenei, o attraverso cambiamenti di colore longitudinali, come i filamenti a gradiente che cambiano colore lungo la bobina."
},
"fields": {
"material": "Materiale",
@@ -184,13 +235,18 @@
"registered": "Registrato",
"name": "Nome",
"price": "Prezzo",
"settings_bed_temp": "Temperatura Bed",
"settings_bed_temp": "Temperatura Piatto",
"vendor": "Produttore",
"density": "Densità",
"id": "ID",
"color_hex": "Colore",
"article_number": "Numero Articolo",
"spools": "Mostra bobine"
"spools": "Mostra bobine",
"external_id": "ID esterno",
"single_color": "Unico",
"multi_color": "Multiplo",
"coaxial": "Coestruso",
"longitudinal": "Longitudinale"
},
"titles": {
"clone": "Clona Filamento",
@@ -202,7 +258,9 @@
},
"filament": "Filamenti",
"form": {
"filament_updated": "Ci sono stati degli aggiornamenti per questo filamento da quando è stata aperta questa pagina. Il salvataggio sovrascriverà le modifiche!"
"filament_updated": "Ci sono stati degli aggiornamenti per questo filamento da quando è stata aperta questa pagina. Il salvataggio sovrascriverà le modifiche!",
"import_external": "Importa da Esterno",
"import_external_description": "Seleziona un filamento dalla lista per compilare automaticamente i dettagli del modulo creazione filamento. Ciò sovrascriverà qualsiasi informazione hai precedentemente inserito nel modulo. <rb><br> Se necessario, verrà creato automaticamente un profilo Produttore quando clicchi Ok."
},
"buttons": {
"add_spool": "Aggiungi Bobina"
@@ -220,7 +278,7 @@
"show_title": "[Produttore #{{id}}] {{name}}",
"show": "Mostra Produttori",
"edit": "Modifica Produttore",
"clone": "Clona Produttore",
"clone": "Duplica Produttore",
"create": "Crea Produttore",
"list": "Produttori"
},
@@ -228,11 +286,16 @@
"registered": "Registrato",
"comment": "Note",
"name": "Nome",
"id": "ID"
"id": "ID",
"external_id": "ID Esterno",
"empty_spool_weight": "Peso a vuoto della bobina/tara"
},
"vendor": "Produttori",
"form": {
"vendor_updated": "Ci sono stati degli aggiornamenti per questo produttore da quando è stata aperta questa pagina. Il salvataggio sovrascriverà le modifiche!"
"vendor_updated": "Ci sono stati degli aggiornamenti per questo produttore da quando hai aperto questa pagina. Il salvataggio sovrascriverà le modifiche!"
},
"fields_help": {
"empty_spool_weight": "Il peso di una bobina vuota di questo produttore."
}
},
"scanner": {
@@ -277,7 +340,7 @@
"clone": "Clona"
},
"help": {
"description": "<title>Aiuto</title><p>Ecco alcuni suggerimenti per iniziare.</p><p>Spoolman può contenere 3 diversi tipi di dati:</p><itemsHelp/><p>Per aggiungere una nuova bobina al database, inizia creando una sezione<filamentCreateLink>Filamento</filamentCreateLink>. Fatto ciò, procedi con la creazione di una sezione <spoolCreateLink>Bobina</spoolCreateLink> per la questa specifica bobina. Se in seguito si acquisiscono altre bobine dello stesso filamento, sarà sufficiente generare altre sezioni bobina e riutilizzare la stessa sezione filamento.</p><p>Opzionalmente, si può anche creare una sezione <vendorCreateLink>Produttore</vendorCreateLink> per l'azienda produttrice del filamento, se si desidera tenere traccia di tali informazioni.</p><p>È possibile collegare a Spoolman altri servizi per stampanti 3D, come Moonraker, che può monitorare l'utilizzo del filamento e aggiornare le sezioni Spool automaticamente. Fare riferimento al <readmeLink>README di Spoolman</readmeLink> per maggiori informazioni sulla configurazione.</p>",
"description": "<title>Aiuto</title><p>Ecco alcuni suggerimenti per iniziare.</p><p>Spoolman può contenere 3 diversi tipi di dati:</p><itemsHelp/><p>Per aggiungere una nuova bobina al database, inizia creando una sezione <filamentCreateLink>filamento</filamentCreateLink>. Fatto ciò, procedi con la creazione di una sezione <spoolCreateLink>bobina</spoolCreateLink> per la questa specifica bobina. Se in seguito si acquisiscono altre bobine dello stesso filamento, sarà sufficiente generare altre sezioni bobina e riutilizzare la stessa sezione filamento.</p><p>Opzionalmente, si può anche creare una sezione <vendorCreateLink>produttore</vendorCreateLink> per l'azienda produttrice del filamento, se si desidera tenere traccia di tali informazioni.</p><p>È possibile collegare a Spoolman altri servizi per stampanti 3D, come Moonraker, che può monitorare l'utilizzo del filamento e aggiornare le sezioni Spool automaticamente. Fare riferimento al <readmeLink>README di Spoolman</readmeLink> per maggiori informazioni sulla configurazione.</p>",
"resources": {
"spool": "Bobine fisiche individuali di uno specifico filamento.",
"filament": "Marche di filamento. Hanno proprietà come nome, materiale, colore, diametro e altro.",
@@ -287,10 +350,12 @@
},
"kofi": "Donazione su Ko-fi",
"home": {
"home": "Home"
"home": "Home",
"welcome": "Benvenuto nella tua istanza Spoolman!",
"description": "Sembra che tu non abbia ancora aggiunto alcuna bobina. Vai su <helpPageLink>Help page</helpPageLink> per ricevere assistenza su come iniziare."
},
"settings": {
"settings": "Impostazioni",
"settings": "Configurazione",
"extra_fields": {
"params": {
"order": "Ordine",
@@ -322,12 +387,26 @@
"tab": "Campi extra",
"description": "<p>Qui è possibile aggiungere campi personalizzati.</p><p>Una volta aggiunto un campo, non è possibile modificarne la chiave o il tipo, e per i campi di tipo scelta non è possibile rimuovere le scelte o modificare lo stato di scelta multipla. Se si rimuove un campo, tutti i dati associati saranno cancellati.</p><p>La chiave è il modo in cui gli altri programmi leggono/scrivono i dati, quindi se il campo personalizzato deve integrarsi con un programma di terze parti, assicurarsi di impostarla correttamente. Il valore predefinito viene applicato solo ai nuovi elementi.</p><p>I campi extra non possono essere ordinati o filtrati nelle viste tabella.</p>"
},
"header": "Impostazioni",
"header": "Configurazione",
"general": {
"tab": "Generale",
"currency": {
"label": "Corrente"
"label": "Valuta"
},
"base_url": {
"label": "URL di base",
"tooltip": "L'URL di base da utilizzare quando si generano funzioni come i codici QR."
},
"round_prices": {
"label": "Prezzi arrotondati",
"tooltip": "Prezzi arrotondati al numero intero più vicino."
}
}
},
"locations": {
"locations": "Posizioni",
"new_location": "Nuova Posizione",
"no_location": "Nessuna Posizione",
"no_locations_help": "Questa pagina ti consente di organizzare le bobine in base alla posizione. Aggiungi alcune bobine per iniziare!"
}
}
+398
View File
@@ -0,0 +1,398 @@
{
"notifications": {
"undoable": "取り消しまで残り{{seconds}}秒",
"editSuccess": "{{resource}}の編集が完了",
"success": "完了",
"error": "エラー (status code: {{statusCode}})",
"createSuccess": "{{resource}}の作成が完了",
"deleteSuccess": "{{resource}}の削除が完了",
"editError": "{{resource}}の編集中にエラーが発生しました (status code: {{statusCode}})",
"importProgress": "インポート中: {{processed}}/{{total}}",
"saveSuccessful": "保存完了!",
"createError": "{{resource}}を作成中にエラーが発生しました。 (status code: {{statusCode}})",
"validationError": "検証エラー: {{error}}",
"deleteError": "{{resource}}を削除中にエラーが発生しました (status code: {{statusCode}})"
},
"actions": {
"create": "作成",
"edit": "編集",
"clone": "複製",
"list": "リスト",
"show": "表示"
},
"buttons": {
"archive": "アーカイブ",
"saveAndAdd": "保存して追加",
"create": "作成",
"edit": "編集",
"cancel": "キャンセル",
"confirm": "本当によろしいですか?",
"continue": "続ける",
"filter": "フィルター",
"clear": "クリア",
"refresh": "再読込",
"show": "表示",
"undo": "元に戻す",
"hideArchived": "アーカイブを隠す",
"showArchived": "アーカイブを表示",
"unArchive": "非アーカイブ",
"hideColumns": "コラムを隠す",
"notAccessTitle": "アクセス権限がありません",
"save": "保存",
"logout": "ログアウト",
"delete": "削除",
"clone": "複製",
"clearFilters": "フィルタをクリア",
"import": "インポート"
},
"printing": {
"generic": {
"verticalSpacing": "垂直方向の余白",
"printerMarginTop": "上側のセーフゾーン",
"deleteSettings": "現在のプリセットを削除",
"itemCopies": "複製",
"print": "印刷",
"paperSize": "用紙サイズ",
"customSize": "カスタム",
"showBorder": "線を表示",
"previewScale": "スケールを表示",
"skipItems": "スキップ",
"horizontalSpacing": "水平方向の余白",
"marginLeft": "左側の余白",
"marginBottom": "下側の余白",
"printerMarginBottom": "下側のセーフゾーン",
"borders": {
"none": "なし",
"grid": "グリッド",
"border": "線"
},
"settingsName": "プリセット名",
"saveSetting": "プリセットを保存",
"saveAsImage": "画像として保存",
"columns": "列",
"marginRight": "右側の余白",
"defaultSettings": "デフォルト",
"title": "プリント中",
"description": "以下の設定を調整して、希望する印刷レイアウトを得てください。プリンターやOSが独自のマージンや拡大縮小を適用する場合があるため、すべてが正確になるまでには試行錯誤が必要かもしれません。実際のラベルに印刷する前に、普通の紙でテストしてください。",
"helpMargin": "マージンはラベル用紙とプリンターに合わせて設定する必要があります。これらを変更すると、グリッド全体のサイズに影響します。",
"settings": "プリセット",
"helpPrinterMargin": "セーフゾーンは、プリンターが用紙の端にどれだけ近づけて印刷できるかの設定です。これらを変更しても、グリッド全体には影響しません。",
"dimensions": "寸法",
"duplicateSettings": "複製",
"contentSettings": "コンテンツ設定",
"marginTop": "上側の余白",
"printerMarginRight": "右側のセーフゾーン",
"layoutSettings": "レイアウト設定",
"addSettings": "新しいプリセットを追加",
"deleteSettingsConfirm": "本当にこのプリセットを削除しますか?",
"newSetting": "新規",
"rows": "行",
"printerMarginLeft": "左側のセーフゾーン"
},
"qrcode": {
"button": "ラベルを印刷",
"title": "ラベル印刷",
"template": "ラベルテンプレート",
"textSize": "ラベルのテキストサイズ",
"useHTTPUrl": {
"options": {
"default": "デフォルト",
"url": "URL"
},
"preview": "プレビュー:",
"label": "QRコードリンク",
"tooltip": "Spoolmanのスキャン機能からスキャンした場合にのみ機能する独自リンクを使用します(デフォルト)。URLは設定で指定されたベースURLを使用するか、設定されていない場合は現在のページURLを使用します。"
},
"showQRCode": "QRコード印刷",
"showContent": "ラベル印刷",
"templateHelp": "値をテキストとして挿入するには{}を使用します。例えば、{id}はスプールIDに置き換えられ、{filament.material}はスプールの材質に置き換えられます。値が欠けている場合は「?」に置き換えられます。二重の{}を使用して、この置換を削除することができます。{}のセット間のテキストは、値が欠けている場合に削除されます。例えば、{Lot Nr: {lot_nr}}は、スプールにロット番号がある場合にのみラベルを表示します。テキストを太字にするには、二重のアスタリスク**で囲みます。利用可能なすべてのタグのリストを表示するには、ボタンをクリックしてください。",
"showQRCodeMode": {
"no": "いいえ",
"withIcon": "アイコン付き",
"simple": "シンプル"
}
},
"spoolSelect": {
"description": "スプールのラベル印刷対象を選択してください。",
"showArchived": "アーカイブを表示",
"selectAll": "すべてを選択 / 選択解除",
"title": "スプールを選択",
"selectedTotal_other": "{{count}}本のスプールを選択",
"noSpoolsSelected": "スプールが選択されていません。"
}
},
"warnWhenUnsavedChanges": "本当に離れますか? 編集が保存されていません。",
"kofi": "Ko-fiでチップをください",
"unknown": "未知",
"version": "バージョン",
"loading": "読み込み中",
"no": "いいえ",
"dashboard": {
"title": "ダッシュボード"
},
"yes": "はい",
"tags": {
"clone": "複製"
},
"scanner": {
"description": "スプールの詳細を表示するには、SpoolmanのQRコードをスキャンしてください。",
"error": {
"notReadable": "カメラを読み込むことができません。",
"notFound": "カメラが見つかりません。",
"unknown": "未知のエラーが発生しました。({{error}})",
"insecureContext": "このページはHTTPSで接続されていません。",
"streamApiNotSupported": "ブラウザがMediaStream APIに対応していません。",
"notAllowed": "カメラへのアクセスが許可されていません。"
},
"title": "QRコードスキャナ"
},
"spool": {
"fields": {
"filament_internal": "内部",
"filament_external": "外部",
"price": "価格",
"remaining_weight": "残りの重さ",
"measured_weight": "計測した重さ",
"lot_nr": "ロットナンバー",
"first_used": "最初の使用",
"last_used": "最後の使用",
"comment": "コメント",
"material": "マテリアル",
"weight_to_use": "重さ",
"registered": "登録",
"archived": "アーカイブ",
"used_length": "使用した長さ",
"initial_weight": "最初の重さ",
"spool_weight": "空の重さ",
"location": "場所",
"filament": "フィラメント",
"used_weight": "使用した重さ",
"remaining_length": "残りの長さ",
"id": "ID",
"filament_name": "フィラメント"
},
"fields_help": {
"price": "スプール全体の価格。設定されていない場合は、フィラメントの価格が代わりに使用されます。",
"measured_weight": "フィラメントとスプールの重量。",
"location": "スプールを複数の場所に保管している場合、そのスプールの保管場所。",
"used_weight": "スプールからどれだけのフィラメントが使用されたか。新しいスプールは0gとなるはずです。",
"weight_to_use": "入力する重さを選択してください。測定重量は、選択したフィラメントにスプール重量が設定されている場合のみ利用可能です。",
"remaining_weight": "スプールに残っているフィラメントの量。新しいスプールの場合、これはスプールの重量と一致するはずです。",
"initial_weight": "スプール上のフィラメントの初期重量(正味重量)。設定されていない場合は、フィラメントオブジェクトからの重量が使用されます。",
"lot_nr": "メーカーのロット番号。複数のスプールを使用する場合、印刷の色が一定であることを確認するために使用できます。",
"external_filament": "外部データベースからフィラメントを選択しました。このスプールを作成する際に、フィラメントオブジェクト(場合によってはメーカーオブジェクトも)が自動的に作成されます。すでにこのフィラメントのフィラメントオブジェクトを作成している場合、重複したフィラメントオブジェクトが作成される可能性があります。",
"spool_weight": "空の時のスプールの重量。フィラメントまたはメーカーの値を使用する場合は空のままにしてください。"
},
"titles": {
"create": "スプールを作成",
"clone": "スプールを複製",
"show_title": "[スプール #{{id}}] {{name}}",
"adjust": "スプールフィラメントの調整",
"edit": "スプールを編集",
"archive": "アーカイブしたスプール",
"list": "スプール",
"show": "スプールを表示"
},
"form": {
"measurement_type_label": "計測タイプ",
"new_location_prompt": "新しい場所を入力",
"measurement_type": {
"length": "長さ",
"weight": "重さ"
},
"adjust_filament_help": "ここではスプールに直接フィラメントを追加したり差し引いたりすることができます。正の値はフィラメントを消費し、負の値はフィラメントを追加します。",
"spool_updated": "このスプールは、このページを開いてから他の誰か/何かによって更新されています。保存すると、それらの変更が上書きされます!",
"adjust_filament_value": "消費量"
},
"messages": {
"archive": "本当にこのスプールをアーカイブしますか?"
},
"formats": {
"last_used": "最終使用日: {{date}}"
},
"spool": "スプール"
},
"filament": {
"fields": {
"id": "ID",
"name": "名称",
"material": "マテリアル",
"price": "価格",
"density": "密度",
"spool_weight": "スプールの重さ",
"registered": "登録",
"comment": "コメント",
"color_hex": "色",
"single_color": "単色",
"multi_color": "複数色",
"longitudinal": "縦方向",
"article_number": "製品番号",
"coaxial": "断面",
"external_id": "外部ID",
"vendor": "製造者",
"diameter": "直径",
"settings_extruder_temp": "エクストルーダー温度",
"settings_bed_temp": "ベッド温度",
"weight": "重さ",
"vendor_name": "製造者",
"spools": "スプールを表示"
},
"filament": "フィラメント",
"fields_help": {
"name": "フィラメント名: 同じメーカーの他のフィラメントと区別するための名称です。例えば色を含めると良いでしょう。",
"article_number": "例: EAN, UPC, etc.",
"spool_weight": "空のスプールの重量。スプールの測定重量を決定するために使用されます。",
"material": "例: PLA, ABS, PETG, etc.",
"multi_color_direction": "フィラメントは2つの方法で複数の色を持つことができます。断面: 押出し時に円の断面に複数色を持つ二色フィラメントのような形態です。縦方向: 長手方向の色変化によるもので、スプールに沿って色が変化するグラデーションフィラメントのような形態です。",
"price": "スプール全体の価格。",
"weight": "フィラメントの正味重量(フルスプール時)。スプール自体の重量は含まず、フィラメントのみの重量です。通常、パッケージに記載されている重量です。"
},
"titles": {
"create": "フィラメントを作成",
"clone": "フィラメントを複製",
"list": "フィラメント",
"edit": "フィラメントを編集",
"show_title": "[フィラメント #{{id}}] {{name}}",
"show": "フィラメントを表示"
},
"form": {
"filament_updated": "このフィラメントは、このページを開いてから他の誰か/何かによって更新されています。保存すると、それらの変更が上書きされます!",
"import_external": "外部からインポート",
"import_external_description": "リストからフィラメントを選択すると、フィラメント作成フォームに詳細情報が自動的に入力されます。これにより、フォームに入力したデータは上書きされます。<br><br>「OK」をクリックすると、メーカーオブジェクトが自動的に作成されます。"
},
"buttons": {
"add_spool": "スプールを追加"
}
},
"vendor": {
"fields": {
"id": "ID",
"registered": "登録",
"external_id": "外部ID",
"name": "名称",
"empty_spool_weight": "空スプールの重さ",
"comment": "コメント"
},
"fields_help": {
"empty_spool_weight": "この製造者の空スプールの重量。"
},
"titles": {
"create": "製造者を作成",
"list": "製造者",
"show": "製造者を表示",
"clone": "製造者を複製",
"edit": "製造者を編集",
"show_title": "[製造者 #{{id}}] {{name}}"
},
"form": {
"vendor_updated": "この製造者は、このページを開いてから他の誰か/何かによって更新されています。保存すると、それらの変更が上書きされます!"
},
"vendor": "製造者"
},
"help": {
"help": "ヘルプ",
"resources": {
"filament": "フィラメントのブランド。名前、素材、色、直径などの特性を持っています。",
"spool": "特定のフィラメントの個々の物理的なスプール。",
"vendor": "フィラメントを製造している会社。"
},
"description": "<title>ヘルプ</title><p>使い始めるためのヒントをいくつか紹介します。</p><p>Spoolmanは3種類のデータを管理しています:</p><itemsHelp/><p>データベースに新しいスプールを追加するには、まず<filamentCreateLink>フィラメント</filamentCreateLink>を作成することから始めます。それが完了したら、<spoolCreateLink>スプール</spoolCreateLink>を作成します。後日、同じフィラメントの追加スプールを入手した場合は、追加のスプールを生成し、同じフィラメントを再利用するだけです。</p><p>必要に応じて、フィラメントを製造している<vendorCreateLink>製造者</vendorCreateLink>を作成して、その情報を追跡することもできます。</p><p>Moonrakerなどの他の3DプリンターサービスをSpoolmanにリンクすることもでき、フィラメントの使用状況を自動的に監視し、スプールを更新することができます。設定方法については<readmeLink>Spoolman README</readmeLink>を参照してください。</p>"
},
"table": {
"actions": "アクション"
},
"settings": {
"settings": "設定",
"header": "設定",
"general": {
"tab": "一般",
"currency": {
"label": "通過"
},
"base_url": {
"label": "ベースURL",
"tooltip": "QRコードなどの機能を生成する際に使用する基本URL。"
},
"round_prices": {
"label": "価格の端数処理",
"tooltip": "価格の小数点以下を四捨五入する。"
}
},
"extra_fields": {
"tab": "追加項目",
"params": {
"unit": "単位",
"order": "数量",
"default_value": "デフォルト値",
"choices": "選択肢",
"multi_choice": "複数選択",
"name": "名称",
"key": "キー",
"field_type": "タイプ"
},
"field_type": {
"float": "小数点型",
"float_range": "小数点型の範囲",
"datetime": "日時",
"boolean": "真偽値",
"choice": "選択肢",
"integer_range": "数値範囲",
"text": "テキスト",
"integer": "整数"
},
"boolean_true": "はい",
"key_not_changed": "別のキーに変更してください。",
"boolean_false": "いいえ",
"delete_confirm": "{{name}}のフィールドを削除しますか?",
"delete_confirm_description": "フィールドとすべてのエンティティの関連データがすべて削除されます。",
"description": "<p>ここで追加のカスタムフィールドを追加できます。</p><p>フィールドを追加すると、そのキーやタイプを変更することはできません。また、選択肢タイプのフィールドでは、選択肢の削除や複数選択の状態を変更することはできません。フィールドを削除すると、すべてのエンティティの関連データが削除されます。</p><p>キーは他のプログラムがデータを読み書きする際に使用するものなので、カスタムフィールドがサードパーティのプログラムと連携する予定がある場合は、正しく設定してください。デフォルト値は新しいアイテムにのみ適用されます。</p><p>追加フィールドはテーブルビューで並べ替えやフィルタリングすることはできません。</p>",
"choices_missing_error": "選択肢を削除できません。下記の選択肢がありません: {{choices}}",
"non_unique_key_error": "キーは一意の値である必要があります。"
}
},
"documentTitle": {
"home": {
"list": "ホーム | Spoolman"
},
"help": {
"list": "ヘルプ | Spoolman"
},
"default": "Spoolman",
"suffix": " | Spoolman",
"filament": {
"edit": "フィラメントの編集 #{{id}} | Spoolman",
"clone": "フィラメントの複製 #{{id}} | Spoolman",
"show": "フィラメント #{{id}} | Spoolman",
"create": "フィラメントの作成 | Spoolman",
"list": "フィラメント | Spoolman"
},
"spool": {
"list": "スプール | Spoolman",
"show": "スプール #{{id}} | Spoolman",
"create": "スプールの作成 | Spoolman",
"edit": "スプールの編集 #{{id}} | Spoolman",
"clone": "スプールの複製 #{{id}} | Spoolman"
},
"vendor": {
"edit": "製造者の編集 #{{id}} | Spoolman",
"clone": "製造者の複製 #{{id}} | Spoolman",
"show": "製造者 #{{id}} | Spoolman",
"create": "製造者の作成 | Spoolman",
"list": "製造者 | Spoolman"
},
"locations": {
"list": "場所 | Spoolman"
}
},
"locations": {
"locations": "場所",
"new_location": "新しい場所",
"no_location": "場所なし",
"no_locations_help": "このページでは、スプールを場所ごとに整理することができます!"
},
"home": {
"home": "ホーム",
"welcome": "",
"description": ""
}
}
+398
View File
@@ -0,0 +1,398 @@
{
"actions": {
"list": "목록",
"create": "생성",
"edit": "수정",
"show": "보기",
"clone": "복제"
},
"buttons": {
"create": "생성",
"save": "저장",
"saveAndAdd": "저장 및 추가",
"logout": "로그아웃",
"delete": "삭제",
"edit": "수정",
"cancel": "취소",
"confirm": "확실 합니까?",
"continue": "계속",
"filter": "필터",
"refresh": "새로고침",
"show": "보기",
"undo": "되돌리기",
"import": "가져오기",
"clone": "복제",
"archive": "보관",
"unArchive": "보관취소",
"hideArchived": "보관 숨기기",
"showArchived": "보관 보이기",
"notAccessTitle": "접속 권한이 없습니다",
"hideColumns": "열 숨김",
"clearFilters": "필터 초기화",
"clear": "지우기"
},
"warnWhenUnsavedChanges": "정말 나갑니까? 변경 사항이 저장되지 않습니다.",
"notifications": {
"success": "성공",
"error": "오류 (상태 코드: {{statusCode}})",
"saveSuccessful": "저장 완료!",
"validationError": "검증 오류:{{error}}",
"undoable": "{{seconds}}초 이내에 취소할 수 있습니다.",
"createSuccess": "생성 완료 {{resource}}",
"createError": "{{resource}} 생성 중 오류가 발생했습니다 (상태 코드: {{statusCode}})",
"deleteSuccess": "삭제 완료 {{resource}}",
"deleteError": "{{resource}} 삭제 중 오류 발생 (상태 코드: {{statusCode}})",
"editSuccess": "수정 완료 {{resource}}",
"editError": "{{resource}} 편집 중 오류 발생 (상태 코드: {{statusCode}})",
"importProgress": "가져오기: {{processed}}/{{total}}"
},
"kofi": "Ko-fi 로 개발 지원",
"loading": "로딩",
"version": "버전",
"unknown": "모름",
"yes": "네",
"no": "아니오",
"tags": {
"clone": "복제"
},
"dashboard": {
"title": "대쉬보드"
},
"printing": {
"generic": {
"title": "프린팅",
"print": "프린트",
"columns": "열",
"rows": "행",
"paperSize": "종이 크기",
"customSize": "커스텀",
"dimensions": "치수",
"showBorder": "테두리 보이기",
"contentSettings": "내용 설정",
"layoutSettings": "레이아웃 설정",
"horizontalSpacing": "수평 여백",
"verticalSpacing": "수직 여백",
"marginLeft": "왼쪽 여백",
"marginRight": "오른쪽 여백",
"marginTop": "위쪽 여백",
"marginBottom": "아래쪽 여백",
"borders": {
"border": "테두리",
"grid": "격자",
"none": "없음"
},
"settings": "프리셋",
"defaultSettings": "기본값",
"addSettings": "프리셋 추가",
"newSetting": "신규",
"duplicateSettings": "중복",
"deleteSettings": "프리셋 삭제",
"deleteSettingsConfirm": "이 프리셋을 삭제하시겠습니까?",
"settingsName": "프리셋 이름",
"saveSetting": "프리셋 저장",
"saveAsImage": "그림으로 저장",
"skipItems": "항목 건너뛰기",
"itemCopies": "항목 복사",
"description": "아래 설정을 조정하여 원하는 인쇄 레이아웃을 얻으십시오. 프린터와 운영체제(OS)가 자체 여백 및 크기 조정을 적용할 수 있으므로, 완벽하게 맞출 때까지 몇 번의 시행착오가 필요할 수 있습니다. 실제 라벨에 인쇄하기 전에 일반 용지에 테스트 인쇄를 해보십시오.",
"helpMargin": "여백은 라벨 용지와 프린터에 맞게 설정해야 하며, 이를 변경하면 전체 그리드 크기에 영향을 미칩니다.",
"previewScale": "미리보기 크기",
"helpPrinterMargin": "안전 영역은 프린터가 용지 가장자리에서 얼마나 가까운 위치까지 인쇄할 수 있는 지를 설정하는 것이며, 이 값을 변경해도 전체 격자에는 영향을 미치지 않습니다.",
"printerMarginLeft": "안전구역 왼쪽",
"printerMarginRight": "안전구역 오른쪽",
"printerMarginTop": "안전구역 위쪽",
"printerMarginBottom": "안전구역 아래쪽"
},
"qrcode": {
"button": "프린트 라벨",
"title": "라벨 인쇄",
"template": "라벨 템플릿",
"templateHelp": "{}를 사용하여 스풀 객체의 값을 텍스트로 삽입합니다. 예를 들어, {id}는 스풀 id로 대체되고, {filament.material}은 스풀의 재료로 대체됩니다. 값이 누락된 경우 \"?\"로 대체됩니다. 두 번째 {} 세트를 사용하여 이를 제거할 수 있습니다. 또한, {} 쌍 사이에 있는 텍스트는 값이 누락된 경우 제거됩니다. 예를 들어, {Lot Nr: {lot_nr}}은 스풀에 로트 번호가 있을 때만 라벨을 표시합니다. 텍스트를 두 개의 별표 **로 감싸면 굵게 표시됩니다. 사용 가능한 모든 태그 목록을 보려면 버튼을 클릭하세요.",
"textSize": "라벨 글씨 크기",
"showQRCode": "QR 코드 인쇄",
"showContent": "프린트 라벨",
"useHTTPUrl": {
"label": "QR 코드 링크",
"tooltip": "Spoolman의 스캐닝 기능(기본값)에서 스캔 한 경우에만 작동하는 독점 링크를 사용합니다. URL은 설정에 지정된 기본 URL을 사용하거나 설정되지 않은 경우 현재 페이지 URL을 사용합니다.",
"options": {
"default": "기본값",
"url": "URL"
},
"preview": "미리보기:"
},
"showQRCodeMode": {
"no": "아니오",
"simple": "단순",
"withIcon": "아이콘 표시"
}
},
"spoolSelect": {
"title": "스풀 선택",
"description": "라벨을 인쇄할 스풀을 선택합니다.",
"showArchived": "보관 보기",
"noSpoolsSelected": "스풀을 선택하지 않았습니다.",
"selectAll": "선택/모두 해제",
"selectedTotal_other": "{{count}} 스풀 선택됨"
}
},
"scanner": {
"title": "QR 코드 스캐너",
"description": "스풀맨 QR 코드를 스캔하여 스풀에 대한 세부 정보를 확인하세요.",
"error": {
"notAllowed": "카메라 접근 권한을 허용하지 않았습니다.",
"insecureContext": "해당 페이지는 HTTPS를 통해 제공되지 않습니다.",
"streamApiNotSupported": "브라우저가 MediaStream API를 지원하지 않습니다.",
"notReadable": "카메라를 읽을 수 없습니다.",
"notFound": "카메라를 찾을 수 없습니다.",
"unknown": "알수 없는 오류 발생. {{error}}"
}
},
"spool": {
"spool": "스풀",
"fields": {
"id": "ID",
"filament_name": "필라멘트",
"filament": "필라멘트",
"filament_internal": "내부",
"filament_external": "외부",
"price": "가격",
"material": "재료",
"weight_to_use": "중량",
"used_weight": "사용 중량",
"remaining_weight": "잔여 중량",
"measured_weight": "측정 중량",
"used_length": "사용 길이",
"remaining_length": "잔여 길이",
"initial_weight": "초기 중량",
"spool_weight": "빈 중량",
"location": "위치",
"lot_nr": "Lot Nr",
"first_used": "첫 사용",
"last_used": "최종 사용",
"registered": "등록됨",
"archived": "보관됨",
"comment": "주석"
},
"fields_help": {
"price": "전체 스풀 가격. 설정되지 않은 경우 필라멘트 가격이 대신 적용됩니다.",
"weight_to_use": "입력할 가중치 값을 선택합니다. 측정된 중량은 선택한 필라멘트에 대해 스풀 중량이 설정된 경우에만 사용할 수 있습니다.",
"used_weight": "스풀에서 사용된 필라멘트 양입니다. 새 스풀은 사용량이 0g이어야 합니다.",
"remaining_weight": "스풀에 남은 필라멘트 양은 얼마입니까. 새 스풀의 경우 스풀 무게와 일치해야 합니다.",
"measured_weight": "필라멘트와 스풀의 무게는 얼마입니까.",
"initial_weight": "스풀에 감긴 필라멘트의 초기 중량(순중량). 설정되지 않은 경우 필라멘트 객체의 중량을 사용합니다.",
"spool_weight": "스풀이 비어 있을 때의 무게. 필라멘트 또는 제조업체의 값을 사용하려면 비워 두십시오.",
"location": "여러 위치에 스풀을 보관하는 경우 스풀이 위치한 곳.",
"lot_nr": "제조업체 lot 번호. 여러 개의 스풀을 사용할 경우 인쇄물의 색상이 일관되도록 보장하는 데 사용할 수 있습니다.",
"external_filament": "외부 데이터베이스에서 필라멘트를 선택하였습니다. 이 스풀을 생성할 때 필라멘트 객체(및 제조업체 객체)가 자동으로 생성됩니다. 해당 필라멘트에 대해 이미 필라멘트 객체가 생성된 경우 중복 객체가 생성될 수 있습니다."
},
"titles": {
"create": "스풀 생성",
"clone": "스풀 복제",
"edit": "스풀 수정",
"list": "스풀",
"show": "스풀 보기",
"show_title": "[스풀 #{{id}}] {{name}}",
"archive": "스풀 보관",
"adjust": "스풀 필라멘트 조정"
},
"form": {
"measurement_type": {
"length": "길이",
"weight": "중량"
},
"measurement_type_label": "측정 유형",
"adjust_filament_help": "여기서 필라멘트를 스풀에서 직접 추가하거나 제거할 수 있습니다. 양수 값은 필라멘트를 소모하고, 음수 값은 필라멘트를 추가합니다.",
"adjust_filament_value": "소모량",
"new_location_prompt": "새 위치 입력",
"spool_updated": "이 페이지를 열었을 때 이후로 다른 사람/무언가에 의해 이 스풀이 업데이트 되었습니다. 저장하면 해당 변경 사항이 덮어쓰게 됩니다!"
},
"messages": {
"archive": "이 스풀을 보관하시겠습니까?"
},
"formats": {
"last_used": "최종 사용 {{date}}"
}
},
"filament": {
"filament": "필라멘트",
"fields": {
"id": "ID",
"vendor_name": "제조사",
"vendor": "제조사",
"name": "이름",
"material": "재료",
"price": "가격",
"density": "밀도",
"diameter": "외경",
"weight": "중량",
"spool_weight": "스풀 중량",
"article_number": "제품 번호",
"registered": "등록됨",
"comment": "주석",
"settings_extruder_temp": "압출기 온도",
"settings_bed_temp": "배드 온도",
"color_hex": "색상",
"single_color": "단일",
"multi_color": "다중",
"coaxial": "공압출",
"external_id": "외부 ID",
"spools": "스풀 보기",
"longitudinal": "세로"
},
"fields_help": {
"name": "필라멘트 이름, 동일한 제조사의 다른 필라멘트 유형과 구별하기 위한 명칭. 예를 들어 색상을 포함해야 합니다.",
"material": "예. PLA, ABS, PETG, 등.",
"price": "전체 스풀 가격.",
"weight": "전체 스풀의 필라멘트 중량(순중량). 여기에는 스풀 자체의 무게는 포함되지 않으며 필라멘트만 포함됩니다. 일반적으로 포장지에 표기되는 내용입니다.",
"spool_weight": "빈 스풀의 무게. 스풀의 측정 무게를 결정하는 데 사용됩니다.",
"article_number": "예. EAN, UPC, 등.",
"multi_color_direction": "필라멘트는 두 가지 방식으로 다중 색상을 가질 수 있습니다: 일관된 다중 색상을 가진 이중 색상 필라멘트처럼 공압출을 통해서이거나, 스풀을 따라 색상이 변하는 그라데이션 필라멘트처럼 종방향 색상 변화를 통해서입니다."
},
"titles": {
"create": "필라멘트 생성",
"clone": "필라멘트 복제",
"edit": "필라멘트 편집",
"list": "필라멘트",
"show": "필라멘트 보기",
"show_title": "[필라멘트 #{{id}}] {{name}}"
},
"form": {
"filament_updated": "이 필라멘트는 귀하가 이 페이지를 열었을 때 이후로 다른 사람/무언가에 의해 업데이트 되었습니다. 저장하면 해당 변경 사항이 덮어쓰게 됩니다!",
"import_external": "외부에서 가져오기",
"import_external_description": "목록에서 필라멘트를 선택하면 필라멘트 생성 양식에 해당 세부 정보가 자동으로 채워집니다. 이 경우 양식에 입력한 기존 데이터는 모두 덮어쓰게 됩니다.<br><br>필요한 경우 확인을 클릭하면 제조업체 객체가 자동으로 생성됩니다."
},
"buttons": {
"add_spool": "스풀 추가"
}
},
"vendor": {
"vendor": "제조사",
"fields": {
"id": "ID",
"name": "이름",
"empty_spool_weight": "빈 스풀 중량",
"external_id": "외부 ID",
"registered": "등록됨",
"comment": "주석"
},
"fields_help": {
"empty_spool_weight": "이 제조사의 빈 스풀 중량."
},
"titles": {
"create": "제조사 생성",
"clone": "제조사 복제",
"edit": "제조사 편집",
"list": "제조사",
"show": "제조사 보기",
"show_title": "[제조사 #{{id}}] {{name}}"
},
"form": {
"vendor_updated": "이 제조업체 정보는 귀하가 이 페이지를 열었을 때 이후로 다른 사람/무언가에 의해 업데이트 되었습니다. 저장하면 해당 변경 사항이 덮어쓰게 됩니다!"
}
},
"home": {
"home": "홈",
"welcome": "스풀맨 인스턴스에 오신 것을 환영합니다!",
"description": "아직 스풀을 추가하지 않은 것 같습니다. 시작하는 방법에 대한 도움말은 <helpPageLink>도움말 페이지</helpPageLink>를 참조하세요."
},
"help": {
"help": "도움말",
"resources": {
"filament": "필라멘트 브랜드. 이름, 재질, 색상, 직경 등의 속성을 가집니다.",
"spool": "특정 필라멘트의 개별 물리적 스풀.",
"vendor": "필라멘트를 제조하는 기업들."
},
"description": "<title>도움말</title><p>시작하는 데 도움이 될 몇 가지 팁을 소개합니다.</p><p>Spoolman은 3가지 유형의 데이터를 보유합니다:</p><itemsHelp/><p>데이터베이스에 새 스풀을 추가하려면 먼저 <filamentCreateLink>필라멘트</filamentCreateLink> 객체를 생성하세요. 그런 다음 해당 스풀에 대한 <spoolCreateLink>스풀</spoolCreateLink> 객체를 생성합니다. 나중에 동일한 필라멘트의 추가 스풀을 구입한 경우, 동일한 필라멘트 객체를 재사용하고 추가 스풀 객체만 생성하면 됩니다.</p><p>필요에 따라 필라멘트 제조사를 추적하려면 해당 회사에 대한 <vendorCreateLink>제조사</vendorCreateLink> 객체를 생성할 수도 있습니다. </p><p>필라멘트 사용량을 자동으로 모니터링하고 스풀 객체를 업데이트해주는 Moonraker 같은 다른 3D 프린터 서비스를 Spoolman에 연결할 수도 있습니다. 설정 방법은 <readmeLink>Spoolman README</readmeLink>를 참고하세요.</p>"
},
"table": {
"actions": "행동"
},
"settings": {
"settings": "설정",
"header": "설정",
"general": {
"tab": "일반",
"currency": {
"label": "통화"
},
"base_url": {
"label": "기본 URL",
"tooltip": "QR 코드와 같은 기능을 생성할 때 사용할 기본 URL."
},
"round_prices": {
"label": "반올림 가격",
"tooltip": "가격을 가장 가까운 정수로 반올림 합니다."
}
},
"extra_fields": {
"tab": "추가 필드",
"description": "<p>여기에서 엔터티에 추가 사용자 정의 필드를 추가할 수 있습니다.</p><p>필드를 추가한 후에는 키나 유형을 변경할 수 없으며, 선택형 필드의 경우 선택 항목을 제거하거나 다중 선택 상태를 변경할 수 없습니다. 필드를 삭제하면 모든 엔티티의 관련 데이터가 삭제됩니다.</p><p>키 값은 다른 프로그램이 데이터를 읽고 쓰는 방식이므로, 사용자 정의 필드가 타사 프로그램과 연동될 예정이라면 반드시 올바르게 설정해야 합니다. 기본값은 새 항목에만 적용됩니다.</p><p>추가 필드는 테이블 보기에서 정렬하거나 필터링할 수 없습니다.</p>",
"params": {
"key": "키",
"name": "이름",
"field_type": "유형",
"unit": "단위",
"order": "순번",
"default_value": "기본값",
"choices": "선택",
"multi_choice": "다중 선택"
},
"field_type": {
"text": "텍스트",
"integer": "정수",
"integer_range": "정수 범위",
"float": "Float",
"float_range": "Float 범위",
"datetime": "날짜 및 시간",
"boolean": "Boolean",
"choice": "선택"
},
"boolean_true": "네",
"boolean_false": "아니오",
"choices_missing_error": "선택 항목을 제거할 수 없습니다. 다음 선택 항목이 누락되었습니다: {{choices}}",
"non_unique_key_error": "키는 고유해야 합니다.",
"key_not_changed": "키 값을 다른 것으로 바꿔 주세요.",
"delete_confirm": "{{name}} 필드 삭제?",
"delete_confirm_description": "이 작업은 모든 엔티티에 대해 해당 필드와 관련된 모든 데이터를 삭제합니다."
}
},
"documentTitle": {
"default": "Spoolman",
"suffix": " | Spoolman",
"home": {
"list": "홈 | Spoolman"
},
"help": {
"list": "도움말 | Spoolman"
},
"locations": {
"list": "위치 | Spoolman"
},
"filament": {
"list": "필라멘트 | Spoolman",
"show": "#{{id}} 필라멘트 보기 | Spoolman",
"edit": "#{{id}} 필라멘트 편집 | Spoolman",
"create": "필라멘트 생성 | Spoolman",
"clone": "#{{id}} 필라멘트 복제 | Spoolman"
},
"spool": {
"list": "스풀 | Spoolman",
"show": "#{{id}} 스풀 보기 | Spoolman",
"edit": "#{{id}} 스풀 편집 | Spoolman",
"create": "스풀 생성 | Spoolman",
"clone": "#{{id}} 스풀 복제 | Spoolman"
},
"vendor": {
"list": "제조사 | Spoolman",
"show": "#{{id}} 제조사 보기 | Spoolman",
"edit": "#{{id}} 제조사 편집 | Spoolman",
"create": "제조사 생성 | Spoolman",
"clone": "#{{id}} 제조사 복제 | Spoolman"
}
},
"locations": {
"locations": "위치",
"new_location": "새로운 위치",
"no_location": "위치 없음",
"no_locations_help": "이 페이지에서는 스풀을 위치별로 정리할 수 있습니다. 시작하려면 스풀을 추가하세요!"
}
}
+400
View File
@@ -0,0 +1,400 @@
{
"actions": {
"list": "Sąrašas",
"create": "Sukurti",
"edit": "Redaguoti",
"show": "Rodyti",
"clone": "Klonuoti"
},
"buttons": {
"create": "Sukurti",
"save": "Išsaugoti",
"saveAndAdd": "Išsaugoti ir pridėti",
"logout": "Atsijungti",
"delete": "Šalinti",
"edit": "Redaguoti",
"cancel": "Atšaukti",
"confirm": "Ar tikrai?",
"continue": "Tęsti",
"filter": "Filtras",
"clear": "Išvalyti",
"refresh": "Atnaujinti",
"show": "Rodyti",
"undo": "Gražinti",
"import": "Importuoti",
"clone": "Klonuoti",
"archive": "Archyvas",
"unArchive": "Išarchyvuoti",
"hideArchived": "Paslėpti archyvuotus",
"showArchived": "Rodyti archyvuotus",
"notAccessTitle": "Nepakanka teisių",
"hideColumns": "Slėpti stulpelius",
"clearFilters": "Valyti filtrus"
},
"warnWhenUnsavedChanges": "Ar tikrai norite išeiti? Yra neišsaugotų pakeitimų.",
"notifications": {
"success": "Sėkmingai",
"error": "Klaida (kodas: {{statusCode}})",
"undoable": "Jūs turite {{seconds}} sekundes, kad atšauktumėte.",
"createSuccess": "Sėkmingai sukurta {{resource}}",
"createError": "Kūrimo klaida {{resource}} (kodas: {{statusCode}})",
"deleteSuccess": "Sėkmingai ištrinta {{resource}}",
"deleteError": "Tkaida trinant {{resource}} (kodas: {{statusCode}})",
"editSuccess": "Sėkmingai redaguota {{resource}}",
"editError": "Redagavimo klaida {{resource}} (kodas: {{statusCode}})",
"importProgress": "Importuojama: {{processed}}/{{total}}",
"saveSuccessful": "Įrašytaa sėkmingai!",
"validationError": "Tikrinimo klaida: {{error}}"
},
"kofi": "Paremk mane Ko-fi",
"loading": "Kraunasi",
"version": "Versija",
"unknown": "Nežinoma",
"yes": "Taip",
"no": "Ne",
"tags": {
"clone": "Klonuoti"
},
"dashboard": {
"title": "Darbastalis"
},
"printing": {
"generic": {
"title": "Spausdinama",
"description": "Norėdami gauti norimą spausdinimo maketą, pakoreguokite toliau pateiktus nustatymus. Atminkite, kad spausdintuvai ir jūsų operacinė sistema gali taikyti savo paraštes ir mastelį, todėl gali tekti atlikti bandymus ir klaidas, kol viskas bus teisinga. Prieš spausdindami ant etikečių, išbandykite ant įprasto popieriaus lapo.",
"helpMargin": "Paraštės turėtų būti sukonfigūruotos taip, kad atitiktų jūsų etikečių popierių ir spausdintuvą, nes jų keitimas turės įtakos viso tinklelio dydžiui.",
"helpPrinterMargin": "Saugios zonos nustatymas turėtų atitikti spausdinimo atstumą nuo popieriaus krašto. Šios zonos keitimas neturės įtakos visam tinkleliui.",
"print": "Spausdinti",
"columns": "Stulpeliai",
"rows": "Eilutės",
"paperSize": "Popieriaus dydis",
"customSize": "Tinkintas",
"dimensions": "Matmenys",
"showBorder": "Rodyti paraštes",
"previewScale": "Peržiūros mastelis",
"skipItems": "Praleisti elementus",
"itemCopies": "Elemento kopijos",
"contentSettings": "Turinio nustatymai",
"layoutSettings": "Išdėstymo nustatymai",
"horizontalSpacing": "Horizontalūs tarpai",
"verticalSpacing": "Vertikalūs tarpai",
"marginLeft": "Kairioji paraštė",
"marginRight": "Dešinioji paraštė",
"marginTop": "Viršutinė paraštė",
"marginBottom": "Apatinė paraštė",
"printerMarginLeft": "Saugi zona kairėje",
"printerMarginRight": "Saugi zona dešinėje",
"printerMarginTop": "Saugi zona viršuje",
"printerMarginBottom": "Saugi zona apačioje",
"borders": {
"none": "Nėra",
"border": "Paraštė",
"grid": "Tinklelis"
},
"settings": "Išankstiniai nustatymai",
"defaultSettings": "Numatytasis",
"addSettings": "Pridėti naują išankstinį nustatymą",
"newSetting": "Naujas",
"duplicateSettings": "Kopija",
"deleteSettings": "Ištrinti dabartinį išankstinį nustatymą",
"deleteSettingsConfirm": "Ar tikrai norite ištrinti šį išankstinį nustatymą?",
"settingsName": "Iš anksto nustatytas pavadinimas",
"saveSetting": "Išsaugoti išankstinius nustatymus",
"saveAsImage": "Įrašyti kaip paveikslėlį"
},
"qrcode": {
"button": "Spausdinti etiketes",
"title": "Etikečių spausdinimas",
"template": "Etiketės šablonas",
"templateHelp": "Norėdami įterpti ritės objekto reikšmes kaip tekstą, naudokite {}. Pavyzdžiui, {id} bus pakeistas ritės ID arba {filament.material} bus pakeistas ritės medžiaga. Jei reikšmės trūksta, ji bus pakeista simboliu „?“. Norėdami tai pašalinti, galima naudoti antrą {} rinkinį. Be to, bet koks tekstas tarp {} rinkinių bus pašalintas, jei reikšmės trūksta. Pavyzdžiui, {Lot Nr: {lot_nr}} rodys žymą tik tuo atveju, jei ritė turi partijos numerį. Apsukite tekstą dviguba žvaigždute **, kad jis būtų paryškintas. Spustelėkite mygtuką, kad peržiūrėtumėte visų galimų žymų sąrašą.",
"textSize": "Etiketės teksto dydis",
"showContent": "Spausdinti etiketę",
"useHTTPUrl": {
"label": "QR kodo nuoroda",
"tooltip": "Bus naudojama patentuota nuoroda, kuri veiks tik nuskaityta naudojant „Spoolman“ nuskaitymo funkciją (numatytasis nustatymas). URL naudoja arba nustatymuose nurodytą bazinį URL, arba dabartinio puslapio URL, jei nenustatytas.",
"options": {
"default": "Numatytasis",
"url": "URL"
},
"preview": "Peržiūra:"
},
"showQRCode": "Spausdinti QR kodą",
"showQRCodeMode": {
"no": "Ne",
"simple": "Paprasta",
"withIcon": "Su piktograma"
}
},
"spoolSelect": {
"title": "Pasirinkite ritę",
"description": "Pasirinkite rites, kurioms norite spausdinti etiketes.",
"showArchived": "Rodyti archyvuotus",
"noSpoolsSelected": "Nepasirinkote jokių ričių.",
"selectAll": "Pasirinkti/Atšaukti visų pasirinkimą",
"selectedTotal_one": "{{count}} ritė pasirinkta",
"selectedTotal_few": "{{count}} ritės pasirinktos",
"selectedTotal_other": "{{count}} ričių pasirinkta"
}
},
"scanner": {
"title": "QR kodo skaitytuvas",
"description": "Nuskaitykite Spoolman QR kodą, kad peržiūrėtumėte išsamią informaciją apie ritę.",
"error": {
"notAllowed": "Jūs nesuteikėte leidimo pasiekti kameros.",
"insecureContext": "Puslapis neperduodamas per HTTPS.",
"streamApiNotSupported": "Naršyklė nepalaiko „MediaStream“ API.",
"notReadable": "Kameros rodmenys neįskaitomi.",
"notFound": "Nerasta jokios kameros.",
"unknown": "Įvyko nežinoma klaida. ({{error}})"
}
},
"spool": {
"spool": "Ritės",
"fields": {
"id": "ID",
"filament_name": "Gija",
"filament": "Gija",
"filament_internal": "Vidinis",
"filament_external": "Išorinis",
"price": "Kaina",
"material": "Medžiaga",
"weight_to_use": "Svoris",
"used_weight": "Naudotas svoris",
"remaining_weight": "Likęs svoris",
"measured_weight": "Išmatuotas svoris",
"used_length": "Panaudotas ilgis",
"remaining_length": "Likęs ilgis",
"initial_weight": "Pradinis svoris",
"spool_weight": "Tuščas svoris",
"location": "Vieta",
"lot_nr": "Lot Nr",
"first_used": "Pirmą kartą panaudota",
"last_used": "Paskutinį kartą panaudota",
"registered": "Registruota",
"comment": "Komentaras",
"archived": "Archyvuota"
},
"fields_help": {
"price": "Pilnos ritės kaina. Jei nenustatyta, bus laikoma, kad kaina yra pačios gijos kaina.",
"weight_to_use": "Pasirinkite, kokią svorio vertę įvesti. Išmatuotas svoris galimas tik tuo atveju, jei pasirinktai kaitinimo medžiagai nustatytas ritės svoris.",
"used_weight": "Kiek plastiko buvo sunaudota iš ritės. Naujoje ritėje turėtų būti sunaudota 0 g.",
"remaining_weight": "Kiek gijos liko ant ritės. Naujos ritės svoris turėtų atitikti ritės svorį.",
"measured_weight": "Kiek sveria gija ir ritė.",
"initial_weight": "Pradinis gijos svoris ant ritės (grynasis svoris). Jei nenustatytas, bus naudojamas gijos objekto svoris.",
"spool_weight": "Tuščios ritės svoris. Palikite tuščią, jei norite naudoti vertę, nurodytą ant gijos arba gamintojo.",
"location": "Kur yra ritė, jei rites laikote keliose vietose.",
"lot_nr": "Gamintojo partijos numeris. Gali būti naudojamas siekiant užtikrinti, kad spaudinio spalva būtų vienoda, jei naudojamos kelios ritės.",
"external_filament": "Pasirinkote gijąiš išorinės duomenų bazės. Kuriant šią ritę, bus automatiškai sukurtas gijos objektas (ir galbūt gamintojo objektas). Tai gali sukurti pasikartojančius gijų objektus, jei jau sukūrėte šios gijos objektą."
},
"titles": {
"create": "Sukurti ritę",
"clone": "Klonuoti ritę",
"edit": "Redaguoti ritę",
"list": "Ritės",
"show": "Rodyti ritę",
"show_title": "[Ritė #{{id}}] {{name}}",
"archive": "Archyvuoti ritę",
"adjust": "Reguliuoti ritės giją"
},
"form": {
"measurement_type": {
"length": "Ilgis",
"weight": "Svoris"
},
"measurement_type_label": "Matavimo tipas",
"adjust_filament_help": "Čia galite tiesiogiai pridėti arba atimti giją iš ritės. Teigiama vertė sunaudos giją, neigiama – jį pridės.",
"adjust_filament_value": "Suvartoti kiekį",
"new_location_prompt": "Įveskite naują vietą",
"spool_updated": "Šią ritę kažkas kitas atnaujino nuo tada, kai atidarėte šį puslapį. Išsaugojus šie pakeitimai bus perrašyti!"
},
"messages": {
"archive": "Ar tikrai norite archyvuoti šią ritę?"
},
"formats": {
"last_used": "Paskutinį kartą naudota {{date}}"
}
},
"filament": {
"filament": "Gijos",
"fields": {
"id": "ID",
"vendor_name": "Gamintojas",
"vendor": "Gamintojas",
"name": "Pavadinimas",
"material": "Medžiaga",
"price": "Kaina",
"density": "Tankis",
"diameter": "Skersmuo",
"weight": "Svoris",
"spool_weight": "Ritės svoris",
"article_number": "Gaminio numeris",
"registered": "Registruota",
"comment": "Komentaras",
"settings_extruder_temp": "Ekstruderio temperatūra",
"settings_bed_temp": "Pado temperatūra",
"color_hex": "Spalva",
"single_color": "Viena",
"multi_color": "Daugiaspalvis",
"coaxial": "Koekstruduotas",
"longitudinal": "Išilginis",
"external_id": "Išorinis ID",
"spools": "Rodyti rites"
},
"fields_help": {
"name": "Gijos pavadinimas, kad būtų galima atskirti šį gijos tipą nuo kitų to paties gamintojo gijų. Pavyzdžiui, turėtų būti nurodyta spalva.",
"material": "Pvz. PLA, ABS, PETG, ir tt.",
"price": "Pilnos ritės kaina.",
"weight": "Pilnos ritės gijos svoris (grynasis svoris). Į šį skaičių neturėtų būti įtrauktas pačios ritės svoris, tik gijos svoris. Tai paprastai nurodoma ant pakuotės.",
"spool_weight": "Tuščios ritės svoris. Naudojamas išmatuotam ritės svoriui nustatyti.",
"article_number": "Pvz. EAN, UPC, ir tt.",
"multi_color_direction": "Gijos turėti kelias spalvas dviem būdais: arba dėl koekstruzijos, kaip dviejų spalvų gijos su nuosekliomis daugiaspalvėmis spalvomis, arba dėl išilginių spalvų pokyčių, kaip gradientinės gijos, kurios keičia spalvas išilgai ritės."
},
"titles": {
"create": "Kirti giją",
"clone": "Klonuoti giją",
"edit": "Redaguoti giją",
"list": "Gijos",
"show": "Rodyti gijas",
"show_title": "[Gija #{{id}}] {{name}}"
},
"form": {
"filament_updated": "Šią giją kažkas kitas atnaujino nuo tada, kai atidarėte šį puslapį. Išsaugojus šie pakeitimai bus perrašyti!",
"import_external": "Importuoti iš išorės",
"import_external_description": "Pasirinkite giją sąraše, kad jos informacija būtų automatiškai užpildyta gijos kūrimo formoje. Tai perrašys visus formoje įvestus duomenis.<br><br>Jei reikia, gamintojo objektas bus sukurtas automatiškai, kai spustelėsite „Gerai“."
},
"buttons": {
"add_spool": "Pridėti ritę"
}
},
"vendor": {
"vendor": "Gamintojai",
"fields": {
"id": "ID",
"name": "Pavadinimas",
"empty_spool_weight": "Tuščios ritės svoris",
"external_id": "Išorinis ID",
"registered": "Registruota",
"comment": "Komentaras"
},
"fields_help": {
"empty_spool_weight": "Tuščios šio gamintojo ritės svoris."
},
"titles": {
"create": "Sukurti gamintoją",
"clone": "Klonuoti gamintoją",
"edit": "Redaguoti gamintoją",
"list": "Gamintojai",
"show": "Rodyti gamintojus",
"show_title": "[Gamintojas #{{id}}] {{name}}"
},
"form": {
"vendor_updated": "Šio gamintojo duomenis atnaujino kažkas kitas nuo tada, kai atidarėte šį puslapį. Išsaugojus šiuos pakeitimus bus perrašyti!"
}
},
"home": {
"home": "Pradžia",
"welcome": "Sveiki atvykę į savo Spoolman!",
"description": "Panašu, kad dar nepridėjote jokių ričių. Norėdami gauti pagalbos, kaip pradėti, žr. <helpPageLink>pagalbos puslapį</helpPageLink>."
},
"help": {
"help": "Pagalba",
"resources": {
"filament": "Gijų prekės ženklai. Jie turi tokias savybes kaip pavadinimas, medžiaga, spalva, skersmuo ir kita.",
"spool": "Atskiros fizinės konkrečios gijos ritės.",
"vendor": "Įmonės, gaminančios giją."
},
"description": "<title>Pagalba</title><p>Štai keli patarimai, padėsiantys jums pradėti.</p><p>Spoolman saugo 3 skirtingų tipų duomenis:</p><itemsHelp/><p>Norėdami į duomenų bazę įtraukti naują ritę, pirmiausia sukurkite objektą <filamentCreateLink>Filament</filamentCreateLink>. Tai padarę, sukurkite objektą <spoolCreateLink>Ritė</spoolCreateLink> tai konkrečiai ritei. Jei vėliau įsigysite papildomų to paties siūlo ričių, tiesiog sugeneruokite papildomus „Ritės“ objektus ir pakartotinai naudokite tą patį „Gija“ objektą.</p><p>Pasirinktinai taip pat galite sugeneruoti objektą <vendorCreateLink>Gamintojo</vendorCreateLink> įmonei, gaminančiai giją, jei norite sekti šią informaciją.</p><p>Galite susieti su Spoolman kitas 3D spausdinimo paslaugas, pvz., „Moonraker“, kuri gali automatiškai stebėti siūlo naudojimą ir atnaujinti „Ritė“ objektus. Kaip tai nustatyti, žr. <readmeLink>„Spoolman README“</readmeLink>.</p>"
},
"table": {
"actions": "Veiksmai"
},
"settings": {
"settings": "Nustatymai",
"header": "Nustatymai",
"general": {
"tab": "Pagrindiniai",
"currency": {
"label": "Valiuta"
},
"base_url": {
"label": "Bazinis URL",
"tooltip": "Bazinis URL, naudojamas generuojant tokias funkcijas kaip QR kodai."
},
"round_prices": {
"label": "Apvalinti kainas",
"tooltip": "Apvalinkite kainas iki artimiausio sveikojo skaičiaus."
}
},
"extra_fields": {
"tab": "Papildomi laukai",
"description": "<p>Čia galite pridėti papildomų pasirinktinių laukų prie savo objektų.</p><p>Pridėjus lauką, negalite keisti jo rakto ar tipo, o pasirinkimų tipo laukų negalite pašalinti pasirinkimų ar pakeisti kelių pasirinkimų būsenos. Jei pašalinsite lauką, bus ištrinti su visais objektais susiję duomenys.</p><p>Raktas yra tai, kaip kitos programos skaito / rašo duomenis, todėl jei jūsų pasirinktinis laukas turėtų būti integruotas su trečiosios šalies programa, įsitikinkite, kad jis nustatytas teisingai. Numatytoji reikšmė taikoma tik naujiems elementams.</p><p>Papildomų laukų negalima rūšiuoti ar filtruoti lentelės rodiniuose.</p>",
"params": {
"key": "Raktas",
"name": "Pavadinimas",
"field_type": "Tipas",
"unit": "Vienetas",
"order": "Tvarka",
"default_value": "Numatytoji reikšmė",
"choices": "Pasirinkimai",
"multi_choice": "Keli pasirinkimai"
},
"field_type": {
"text": "Tekstas",
"integer": "Skaičius",
"integer_range": "Sveiki skaičiai",
"float": "Realus skaičius",
"float_range": "Realūs skaičiai",
"datetime": "Data Laikas",
"boolean": "Loginis",
"choice": "Pasirinkimas"
},
"boolean_true": "Taip",
"boolean_false": "Ne",
"choices_missing_error": "Negalite pašalinti pasirinkimų. Trūksta šių pasirinkimų: {{choices}}",
"non_unique_key_error": "Raktas turi būti unukalus.",
"key_not_changed": "Prašome pakeisti raktą į ką nors kitą.",
"delete_confirm": "Šalinti lauką {{name}}?",
"delete_confirm_description": "Tai ištrins lauką ir visus susijusius duomenis visiems objektams."
}
},
"documentTitle": {
"default": "Spoolman",
"suffix": " | Spoolman",
"home": {
"list": "Pradžia | Spoolman"
},
"help": {
"list": "Pagalba | Spoolman"
},
"locations": {
"list": "Vieta | Spoolman"
},
"filament": {
"list": "Gijos | Spoolman",
"show": "#{{id}} Rodyti gijas | Spoolman",
"edit": "#{{id}} Redaguoti gijas | Spoolman",
"create": "Kurti giją | Spoolman",
"clone": "#{{id}} Klonuoti giją | Spoolman"
},
"spool": {
"list": "Ritės | Spoolman",
"show": "#{{id}} Rodyti rites| Spoolman",
"edit": "#{{id}} Redaguoti rites | Spoolman",
"create": "Kurti ritę | Spoolman",
"clone": "#{{id}} Klonuoti ritę | Spoolman"
},
"vendor": {
"list": "Gamintojai | Spoolman",
"show": "#{{id}} Rodyti gamintojus | Spoolman",
"edit": "#{{id}} Redaguoti gamintojus | Spoolman",
"create": "Kurti gamintoją | Spoolman",
"clone": "#{{id}} Klonuoti gamintoją | Spoolman"
}
},
"locations": {
"locations": "Vietos",
"new_location": "Nauja vieta",
"no_location": "Be vietos",
"no_locations_help": "Šiame puslapyje galite tvarkyti rites pagal vietas, pridėkite keletą ričių, kad pradėtumėte!"
}
}
+19
View File
@@ -0,0 +1,19 @@
{
"actions": {
"create": "Izveidot",
"edit": "Rediģēt",
"clone": "Klonēt"
},
"buttons": {
"create": "Izveidot",
"save": "Saglabāt",
"saveAndAdd": "Saglabāt un pievienot",
"logout": "Izrakstīties",
"delete": "Dzēst",
"edit": "Rediģēt",
"confirm": "Vai esat pārliecināts?",
"continue": "Turpināt",
"filter": "Filtrēt",
"clear": "Notīrīt"
}
}
+151 -26
View File
@@ -21,7 +21,8 @@
"filter": "Filtrer",
"refresh": "Gjenoppfrisk",
"notAccessTitle": "Du har ikke rettighet til å få tilgang",
"saveAndAdd": "Lagre og legg til"
"saveAndAdd": "Lagre og legg til",
"continue": "Fortsett"
},
"filament": {
"fields": {
@@ -41,7 +42,12 @@
"vendor": "Leverandør",
"settings_bed_temp": "Printplate temp",
"density": "Tetthet",
"spools": "Vis ruller"
"spools": "Vis ruller",
"single_color": "Ensfarget",
"multi_color": "Flerfarget",
"coaxial": "Koaksial",
"longitudinal": "Langsgående",
"external_id": "Ekstern ID"
},
"fields_help": {
"name": "Filamentnavn, for å skille denne filamenttypen blant andre fra samme leverandør. Bør inneholde fargen f.eks.",
@@ -49,7 +55,8 @@
"spool_weight": "Vekten av en tom spole. Brukes til å bestemme målt vekt på en spole.",
"price": "Pris på en full spole i den system- valutaen.",
"weight": "Filamentvekten til en full spole (nettovekt). Bør ikke inkludere vekten av selve spolen, kun filamentet. Det er det som vanligvis står på emballasjen.",
"material": "F.eks PLA,ABS,PETG, osv."
"material": "F.eks PLA,ABS,PETG, osv.",
"multi_color_direction": "Retning av fargeovergang for flerfarget filament."
},
"titles": {
"clone": "Kopier Filament",
@@ -61,7 +68,12 @@
},
"filament": "Filamenter",
"form": {
"filament_updated": "Dette filamentet har blitt oppdatert av noen/noe siden du åpnet denne siden. Lagring nå vil overskrive disse endringene!"
"filament_updated": "Dette filamentet har blitt oppdatert av noen/noe siden du åpnet denne siden. Lagring nå vil overskrive disse endringene!",
"import_external": "Importer fra ekstern database",
"import_external_description": "Hent filamentdata automatisk fra en ekstern kilde."
},
"buttons": {
"add_spool": "Legg til spole"
}
},
"printing": {
@@ -95,25 +107,53 @@
"description": "Still inn innstillingene nedenfor for å få ønsket utskriftsoppsett. Husk at skrivere og operativsystemet ditt kan bruke sine egne marger og skalering, så det kan hende du må prøve og feile før alt er riktig. Test det på et stykke vanlig papir før du skriver ut på selve etikettene.",
"horizontalSpacing": "Horisontal avstand",
"marginLeft": "Venstre marg",
"showBorder": "Vis side"
"showBorder": "Vis side",
"defaultSettings": "Standard",
"newSetting": "Ny",
"addSettings": "Legg til ny mal",
"duplicateSettings": "Dupliser",
"deleteSettings": "Slett gjeldende mal",
"deleteSettingsConfirm": "Er du sikker på at du vil slette denne malen?",
"settingsName": "Navn på mal",
"saveSetting": "Lagre mal",
"settings": "Maler",
"saveAsImage": "Lagre som bilde",
"itemCopies": "Antall kopier"
},
"qrcode": {
"showTemperatures": "Temperaturer",
"button": "Skriv ut QR-koder",
"button": "Skriv ut etiketter",
"showVendorComment": "Leverandørkommentar",
"spoolWeight": "Spolevekt: {{weight}}",
"showVendor": "Leverandør",
"showSpoolComment": "Spolekommentar",
"title": "QR-kodeutskrift",
"title": "Etikettprinting",
"extruderTemp": "ET: {{temp}}",
"showSpoolWeight": "Spolevekt",
"showContent": "Skriv ut etikett",
"textSize": "Tekststørrelse på innhold",
"textSize": "Tekststørrelse på etikett",
"showSpoolmanIcon": "Vis Spoolman ikon",
"showLotNr": "Batch Nr",
"bedTemp": "BT: {{temp}}",
"lotNr": "Batch Nr: {{lot}}",
"showFilamentComment": "Filament kommentar"
"showFilamentComment": "Filament kommentar",
"template": "Etikett mal",
"showQRCodeMode": {
"simple": "Simpel",
"no": "Nei",
"withIcon": "Med ikon"
},
"showQRCode": "Print QR-kode",
"useHTTPUrl": {
"label": "QR-kodelenke",
"options": {
"default": "Standard",
"url": "URL"
},
"preview": "Forhåndsvisning:",
"tooltip": "Velg om QR-koden skal bruke HTTP- eller intern URL."
},
"templateHelp": "Velg hvilken etikettemplate du ønsker å bruke."
},
"spoolSelect": {
"showArchived": "Vis arkiverte",
@@ -121,7 +161,7 @@
"noSpoolsSelected": "Du har ikke valgt noen spoler.",
"selectedTotal_one": "{{count}} spole valgt",
"selectedTotal_other": "{{count}} spoler valgt",
"description": "Velg spoler å printe ut QR-koder for.",
"description": "Velg spoler å printe ut etiketter for.",
"selectAll": "Velg/fjern merking av alle"
}
},
@@ -146,7 +186,11 @@
"filament_name": "Filament",
"filament": "Filament",
"location": "Lokasjon",
"price": ""
"price": "Pris",
"filament_internal": "Internt",
"filament_external": "Eksternt",
"initial_weight": "Startvekt",
"spool_weight": "Tom vekt"
},
"titles": {
"archive": "Arkiver spole",
@@ -155,7 +199,8 @@
"create": "Opprett spole",
"clone": "Klon spole",
"show_title": "[Spole #{{id}}] {{name}}",
"list": "Spoler"
"list": "Spoler",
"adjust": "Juster spolefilament"
},
"spool": "Spoler",
"messages": {
@@ -168,11 +213,24 @@
"lot_nr": "Produsentens batch nummer. Kan bli benyttet or å verifiserer at print har en konsistent farge dersom flere spoler benyttes.",
"remaining_weight": "Hvor mye filament gjenstår på spolen. Ved en ny spole burde dette stemme med spolevekt.",
"location": "Hvor spolen er plassert hvis du har flere lokasjoner hvor du oppbevarer spoler.",
"price": ""
"price": "Pris på en full spole. Hvis ikke satt, vil prisen på filamentet bli antatt i stedet.",
"spool_weight": "Vekten av spolen når den er tom. La stå tomt for å bruke verdien fra filamentet eller produsenten.",
"initial_weight": "Startvekten av filament på spolen (nettovekt). Vil bruke vekten fra filament hvis ikke satt.",
"external_filament": "Du har valgt et filament fra den eksterne databasen. Et filamentobjekt (og muligens et produsentobjekt) opprettes automatisk når du oppretter denne spolen. Dette kan lage dupliserte filamentobjekter hvis du allerede har opprettet et filamentobjekt for denne filamentet."
},
"form": {
"new_location_prompt": "Skriv inn en ny lokasjon",
"spool_updated": "Denne rullen har blitt oppdatert av noen/noe siden du åpnet denne siden. Lagre nå vil overskrive disse endringene!"
"spool_updated": "Denne rullen har blitt oppdatert av noen/noe siden du åpnet denne siden. Lagre nå vil overskrive disse endringene!",
"measurement_type": {
"length": "Lengde",
"weight": "Vekt"
},
"measurement_type_label": "Måleenhet",
"adjust_filament_help": "Justér verdien hvis målt filamentmengde avviker fra forventet.",
"adjust_filament_value": "Juster mengde"
},
"formats": {
"last_used": "Sist brukt {{date}}"
}
},
"yes": "Ja",
@@ -182,7 +240,9 @@
"registered": "Registrert",
"name": "Navn",
"id": "ID",
"comment": "Kommentar"
"comment": "Kommentar",
"empty_spool_weight": "Tom spolevekt",
"external_id": "Ekstern ID"
},
"titles": {
"show_title": "[Leverandør #{{id}}] {{name}}",
@@ -195,6 +255,9 @@
"vendor": "Leverandører",
"form": {
"vendor_updated": "Denne leverandøren har blitt oppdatert av noen/noe siden du åpnet denne siden. Lagring nå vil overskrive disse endringene!"
},
"fields_help": {
"empty_spool_weight": "Vekten av en tom spole for denne leverandøren."
}
},
"actions": {
@@ -229,7 +292,9 @@
"createError": "Kunne ikke opprette {{resource}} (statuskode: {{statusCode}})",
"editSuccess": "{{resource}} redigert",
"deleteError": "Kunne ikke slette {{resource}} (statuskode: {{statusCode}})",
"createSuccess": "Opprettet {{resource}}"
"createSuccess": "Opprettet {{resource}}",
"saveSuccessful": "Lagring vellykket!",
"validationError": "Valideringsfeil: {{error}}"
},
"loading": "Laster",
"documentTitle": {
@@ -257,30 +322,90 @@
"edit": "#{{id}} Endre Filament | Spoolman"
},
"home": {
"list": ""
"list": "Hjem | Spoolman"
},
"help": {
"list": ""
"list": "Hjelp | Spoolman"
},
"locations": {
"list": "Lokasjoner | Spoolman"
}
},
"table": {
"actions": "Handliger"
"actions": "Handlinger"
},
"warnWhenUnsavedChanges": "Er du sikker på at du vil forlate? Du har ulagrede endringer.",
"dashboard": {
"title": "Oversikt"
},
"kofi": "",
"kofi": "Gi meg tips på Ko-fi",
"home": {
"home": ""
"home": "Hjem",
"welcome": "Velkommen til Spoolman!",
"description": "Det ser ut som du ikke har lagt til noen spoler ennå. Se <helpPageLink>hjelpesiden</helpPageLink> for hjelp til å komme i gang."
},
"help": {
"help": "",
"help": "Hjelp",
"resources": {
"filament": "",
"spool": "",
"vendor": ""
"filament": "Filament leverandører. De har egenskaper som navn, materiale, farge, diameter og mer.",
"spool": "Individuelle fysiske ruller med spesifikt filament.",
"vendor": "Produsent av filament."
},
"description": ""
"description": "<title>Hjelp</title><p>Her er noen tips for å komme i gang.</p><p>Spoolman inneholder tre forskjellige typer data:</p><itemsHelp/><p>For å legge til en ny spole i databasen, start med å opprette et <filamentCreateLink>Filament</filamentCreateLink>-objekt. Når det er gjort, fortsett med å opprette et <spoolCreateLink>Spool</spoolCreateLink>-objekt for den spesifikke spolen. Hvis du anskaffer flere spoler av samme filament senere, genererer du ganske enkelt flere spoleobjekter og bruker det samme filamentobjektet på nytt.</p><p>Alternativt kan du også generere et <vendorCreateLink>Manufacturer</vendorCreateLink>-objekt for selskapet som produserer filamentet hvis du ønsker å spore denne informasjonen.</p><p>Du har muligheten til å koble andre 3D-printertjenester til Spoolman, som Moonraker, som automatisk kan overvåke filamentbruk og oppdatere spoleobjektene for deg. Se <readmeLink>Spoolman README</readmeLink> for veiledning om hvordan du konfigurerer dette.</p>"
},
"locations": {
"locations": "Lokasjoner",
"new_location": "Ny lokasjon",
"no_location": "Ingen lokasjon",
"no_locations_help": "Denne siden mar deg organisere rullene med filament i lokasjoner. Legg til noen ruller for å starte!"
},
"settings": {
"settings": "Innstillinger",
"header": "Innstillinger",
"general": {
"tab": "Generelt",
"currency": {
"label": "Valuta"
},
"base_url": {
"label": "Base-URL",
"tooltip": "URL som brukes ved generering av QR-koder og eksterne lenker."
},
"round_prices": {
"label": "Avrund priser",
"tooltip": "Runder priser til nærmeste hele verdi."
}
},
"extra_fields": {
"tab": "Ekstra felt",
"description": "<p>Her kan du legge til ekstra tilpassede felt til enhetene dine.</p><p>Når et felt er lagt til, kan du ikke endre nøkkelen eller typen, og for valgtypefelt kan du ikke fjerne valg eller endre flervalgsstatusen. Hvis du fjerner et felt, slettes de tilknyttede dataene for alle enheter.</p><p>Nøkkelen er det andre programmer leser/skriver dataene som, så hvis det tilpassede feltet ditt skal integreres med et tredjepartsprogram, må du sørge for å angi det riktig. Standardverdien brukes bare på nye elementer.</p><p>Ekstra felt kan ikke sorteres eller filtreres i tabellvisningene.</p>",
"params": {
"key": "Nøkkel",
"name": "Navn",
"field_type": "Felttype",
"unit": "Enhet",
"order": "Rekkefølge",
"default_value": "Standardverdi",
"choices": "Valg",
"multi_choice": "Flervalg"
},
"field_type": {
"text": "Tekst",
"integer": "Heltall",
"integer_range": "Heltallsområde",
"float": "Desimaltall",
"float_range": "Desimalområde",
"datetime": "Dato/Tid",
"boolean": "Ja/Nei",
"choice": "Valg"
},
"boolean_true": "Ja",
"boolean_false": "Nei",
"choices_missing_error": "Du kan ikke fjerne valg. Følgende valg mangler: {{choices}}",
"non_unique_key_error": "Nøkkelen må være unik.",
"key_not_changed": "Nøkkelen kan ikke endres.",
"delete_confirm": "Slette felt {{name}}?",
"delete_confirm_description": "Dette vil fjerne feltet permanent fra systemet."
}
}
}
+75 -11
View File
@@ -21,7 +21,8 @@
"unArchive": "Terugzetten",
"clone": "Klonen",
"clear": "Wissen",
"saveAndAdd": "Opslaan en Toevoegen"
"saveAndAdd": "Opslaan en Toevoegen",
"continue": "Doorgaan"
},
"actions": {
"create": "Aanmaken",
@@ -61,7 +62,18 @@
"marginBottom": "Onderste marge",
"horizontalSpacing": "Horizontale afstand",
"marginLeft": "Linker marge",
"printerMarginLeft": "Linker Safe-Zone"
"printerMarginLeft": "Linker Safe-Zone",
"settings": "Voorinstellingen",
"defaultSettings": "Standaard",
"addSettings": "Nieuwe voorinstelling toevoegen",
"newSetting": "Nieuw",
"deleteSettings": "Huidige voorinstelling wissen",
"deleteSettingsConfirm": "Weet je zeker dat je deze voorinstelling wilt verwijderen?",
"settingsName": "Voorinstellingsnaam",
"itemCopies": "Itemkopieën",
"duplicateSettings": "Dupliceren",
"saveSetting": "Voorinstelling opslaan",
"saveAsImage": "Opslaan als afbeelding"
},
"qrcode": {
"extruderTemp": "ET: {{temp}}",
@@ -72,19 +84,36 @@
"showTemperatures": "Temperaturen",
"showVendor": "Fabrikant",
"showSpoolComment": "Opmerking spoel",
"textSize": "Inhoud tekstgrootte",
"title": "QR-Code afdrukken",
"textSize": "Label tekstgrootte",
"title": "Label afdrukken",
"showSpoolmanIcon": "Spoolman icoon tonen",
"showLotNr": "Lotnummer",
"bedTemp": "BT: {{temp}}",
"lotNr": "Lotnummer: {{lot}}",
"showFilamentComment": "Opmerking filament",
"button": "QR-Codes afdrukken"
"button": "Labels afdrukken",
"template": "Label Sjabloon",
"templateHelp": "Gebruik {} om waarden van het spool-object als tekst in te voegen. Bijvoorbeeld, {id} wordt vervangen door de spool-id, of {filament.material} wordt vervangen door het materiaal van de spool. Als een waarde ontbreekt, wordt deze vervangen door \"?\". Een tweede set {} kan worden gebruikt om dit te verwijderen. Bovendien wordt alle tekst tussen de sets {} verwijderd als de waarde ontbreekt. Bijvoorbeeld, {Lot Nr: {lot_nr}} toont alleen het label als de spool een lotnummer heeft. Sluit tekst in met dubbele asterisk ** om deze vet te maken. Klik op de knop om een lijst met alle beschikbare tags te bekijken.",
"showQRCodeMode": {
"no": "Nee",
"simple": "Simpel",
"withIcon": "Met Icoon"
},
"showQRCode": "Print QR-Code",
"useHTTPUrl": {
"options": {
"url": "URL",
"default": "Standaard"
},
"label": "QR-codelink",
"tooltip": "Er wordt een speciale link gebruikt die alleen werkt als deze wordt gescand via de scanfunctie van Spoolman (standaard). De URL gebruikt de basis-URL die is opgegeven in de instellingen of de URL van de huidige pagina als deze niet is ingesteld.",
"preview": "Voorbeeld:"
}
},
"spoolSelect": {
"selectedTotal_one": "{{count}} spoel geselecteerd",
"selectedTotal_other": "{{count}} spoelen geselecteerd",
"description": "Selecteer spoelen waarvoor je QR-codes wilt afdrukken.",
"description": "Selecteer spoelen waarvoor je labels wilt afdrukken.",
"showArchived": "Gearchiveerde tonen",
"title": "Spoelen selecteren",
"selectAll": "Alles (de)selecteren",
@@ -146,6 +175,9 @@
},
"help": {
"list": "Help | Spoolman"
},
"locations": {
"list": "Locaties | Spoolman"
}
},
"spool": {
@@ -180,7 +212,8 @@
"create": "Spoel maken",
"clone": "Spoel klonen",
"list": "Spoelen",
"show_title": "[Spoel #{{id}}] {{name}}"
"show_title": "[Spoel #{{id}}] {{name}}",
"adjust": "Spoel Filament aanpassen"
},
"fields_help": {
"used_weight": "Hoeveel filament er van de spoel is gebruikt. Op een nieuwe spoel zal 0g gebruikt zijn.",
@@ -200,7 +233,17 @@
},
"form": {
"new_location_prompt": "Voer een nieuwe locatie in",
"spool_updated": "Deze spoel is bijgewerkt door iemand/iets anders sinds je deze pagina hebt geopend. Opslaan zal die wijzigingen overschrijven!"
"spool_updated": "Deze spoel is bijgewerkt door iemand/iets anders sinds je deze pagina hebt geopend. Opslaan zal die wijzigingen overschrijven!",
"adjust_filament_help": "Hier kunt u direct filament toevoegen of verwijderen van de spoel. Een positieve waarde zal filament verbruiken, een negatieve waarde zal het toevoegen.",
"measurement_type": {
"length": "Lengte",
"weight": "Gewicht"
},
"measurement_type_label": "Meettype",
"adjust_filament_value": "Verbruikte hoeveelheid"
},
"formats": {
"last_used": "Laatst gebruikt {{date}}"
}
},
"filament": {
@@ -210,7 +253,8 @@
"spool_weight": "Het gewicht van een lege spoel. Wordt gebruikt om het gemeten gewicht van een spoel te bepalen.",
"price": "Prijs van een volledige spoel.",
"weight": "Het filamentgewicht van een volle spoel (nettogewicht). Dit mag niet het gewicht van de spoel zelf omvatten, alleen het filament. Dit staat meestal op de verpakking.",
"material": "Bv. PLA, ABS, PETG, enz."
"material": "Bv. PLA, ABS, PETG, enz.",
"multi_color_direction": "Filamenten kunnen op twee manieren meerdere kleuren hebben: door coëxtrusie, zoals tweekleurige filamenten met consistente meerkleuren, of door kleurveranderingen in de lengterichting, zoals verloopfilamenten die van kleur veranderen langs de spoel."
},
"fields": {
"material": "Materiaal",
@@ -230,7 +274,11 @@
"color_hex": "Kleur",
"article_number": "Artikel nummer",
"spools": "Spoelen tonen",
"external_id": "Extern ID"
"external_id": "Extern ID",
"single_color": "Enkel",
"multi_color": "Meervoudig",
"coaxial": "Gecoëxtrudeerde",
"longitudinal": "Longitudinaal"
},
"titles": {
"clone": "Filament klonen",
@@ -301,7 +349,9 @@
},
"kofi": "Tip mij op Ko-fi",
"home": {
"home": "Thuis"
"home": "Thuis",
"welcome": "",
"description": ""
},
"settings": {
"header": "Instellingen",
@@ -309,6 +359,14 @@
"tab": "Algemeen",
"currency": {
"label": "Valuta"
},
"base_url": {
"label": "Basis-URL",
"tooltip": "De basis-URL die moet worden gebruikt bij het genereren van functies zoals QR-codes."
},
"round_prices": {
"label": "Afgeronde prijzen",
"tooltip": "Rond prijzen af op het dichtstbijzijnde gehele getal."
}
},
"extra_fields": {
@@ -343,5 +401,11 @@
"description": "<p>Hier kunt u extra aangepaste velden toevoegen aan uw entiteiten.</p><p>Zodra een veld is toegevoegd, kunt u de key of het type ervan niet wijzigen, en voor velden met keuzetypes kunt u geen keuzes verwijderen of de meervoudige velden wijzigen. Als u een veld verwijdert, worden de bijbehorende gegevens voor alle entiteiten verwijderd.</p><p>De key is hoe andere programma's de gegevens lezen/schrijven, dus of uw aangepaste veld moet worden geïntegreerd met een derde partij programma, zorg ervoor dat u het correct instelt. De standaardwaarde wordt alleen toegepast op nieuwe items.</p><p>Extra velden kunnen niet worden gesorteerd of gefilterd in de tabelweergaven.</p>"
},
"settings": "Instellingen"
},
"locations": {
"no_location": "Geen locatie",
"no_locations_help": "Op deze pagina kunt u uw spoelen op verschillende locaties ordenen. Voeg spoelen toe om aan de slag te gaan!",
"locations": "Locaties",
"new_location": "Nieuwe locatie"
}
}
+102 -31
View File
@@ -28,7 +28,8 @@
"notAccessTitle": "Nie masz zezwolenia na dostęp",
"hideColumns": "Edytuj kolumny",
"clearFilters": "Wyczyść filtry",
"saveAndAdd": "Zapisz i dodaj"
"saveAndAdd": "Zapisz i dodaj",
"continue": "Kontynuuj"
},
"spool": {
"titles": {
@@ -38,7 +39,8 @@
"create": "Tworzenie szpuli",
"clone": "Klonowanie szpuli",
"archive": "Zarchiwizuj szpulę",
"show_title": "[Szpula #{{id}}] {{name}}"
"show_title": "[Szpula #{{id}}] {{name}}",
"adjust": "Dostosuj szpulę filamentu"
},
"spool": "Szpule",
"fields": {
@@ -61,7 +63,9 @@
"weight_to_use": "Waga",
"price": "Cena",
"initial_weight": "Waga początkowa",
"spool_weight": "Waga pusta"
"spool_weight": "Waga pusta",
"filament_internal": "Wewnętrzne",
"filament_external": "Zewnętrzne"
},
"fields_help": {
"location": "Wpisz gdzie znajduje się szpula, jeśli masz wiele lokalizacji, w których przechowujesz szpule.",
@@ -72,14 +76,25 @@
"weight_to_use": "Wybierz jaką wagę wprowadzić. Zmierzona waga jest dostępna tylko wtedy, gdy waga szpuli jest ustawiona dla wybranego filamentu.",
"price": "Cena pełnej szpuli. Jeśli nie ustawiona, cena filamentu będzie domyślna.",
"initial_weight": "Masa początkowa filamentu(netto). Może być podana przez producenta, ale możesz ustawić dla każdej szpuli, aby uwzględnić ewentualne niedokładności.",
"spool_weight": "Waga pustej szpuli. Może być podana przez producenta, ale możesz ją ustawić osobno dla każdej szpuli, aby uwzględnić niedokładności."
"spool_weight": "Waga pustej szpuli. Pozostaw puste, aby użyć wartości z filamentu lub od producenta.",
"external_filament": "Wybrałeś filament z zewnętrznej bazy. Element filamentu (możliwe też że element producenta) zostanie stworzony automatycznie gdy stworzysz szpulę. Może to spowodować utworzenie się duplikatów elementów filamentu jeżeli już stworzyłeś element filamentu dla tego filamentu."
},
"messages": {
"archive": "Czy na pewno chcesz zarchiwizować tę szpulę?"
},
"form": {
"new_location_prompt": "Wprowadź nową lokalizację",
"spool_updated": "Szpula została zaktualizowana od czasu otwarcia tej strony. Zapisanie nadpisze te zmiany!"
"spool_updated": "Szpula została zaktualizowana od czasu otwarcia tej strony. Zapisanie nadpisze te zmiany!",
"measurement_type": {
"length": "Długość",
"weight": "Waga"
},
"measurement_type_label": "Typ pomiaru",
"adjust_filament_help": "Tutaj możesz bezpośrednio dodać lub usunąć filament z szpuli. Dodatnia wartość spowoduje odjęcie filamentu, ujemna wartość spowoduje jego dodanie.",
"adjust_filament_value": "Ilość zużycia"
},
"formats": {
"last_used": "Ostatnio użyty {{date}}"
}
},
"dashboard": {
@@ -96,7 +111,7 @@
"importProgress": "Importowanie: {{processed}}/{{total}}",
"error": "Błąd (kod statusu: {{statusCode}})",
"createError": "Wystąpił błąd podczas tworzenia {{resource}} (kod statusu: {{statusCode}})",
"saveSuccessful": "Zapisano pomyślnie!",
"saveSuccessful": "Pomyślnie zapisano!",
"validationError": "Błąd walidacji: {{error}}"
},
"loading": "Wczytywanie",
@@ -138,14 +153,25 @@
},
"description": "Dostosuj poniższe ustawienia, aby uzyskać pożądany układ wydruku. Należy pamiętać, że drukarki i system operacyjny mogą stosować własne marginesy i skalowanie, więc może być konieczne wykonanie kilku prób i błędów, zanim wszystko będzie prawidłowe. Przed wydrukowaniem etykiet przetestuj je na zwykłym papierze.",
"horizontalSpacing": "Poziomy odstęp",
"printerMarginBottom": "Bezpieczna strefa od dołu"
"printerMarginBottom": "Bezpieczna strefa od dołu",
"newSetting": "Nowe",
"defaultSettings": "Domyślne",
"itemCopies": "Skopiuj element",
"settings": "Presety",
"saveAsImage": "Zapisz jako obraz",
"duplicateSettings": "Zduplikuj",
"deleteSettingsConfirm": "Czy jesteś pewny, że chcesz usunąć to ustawienie?",
"addSettings": "Dodaj nowe ustawienia",
"deleteSettings": "Usuń aktualne ustawienie",
"settingsName": "Nazwa ustawienia",
"saveSetting": "Zapisz ustawienie"
},
"qrcode": {
"button": "Drukuj kody QR",
"title": "Drukowanie kodów QR",
"button": "Drukuj etykiety",
"title": "Drukowanie etykiety",
"bedTemp": "TS: {{temp}}",
"extruderTemp": "TE: {{temp}}",
"textSize": "Rozmiar tekstu",
"textSize": "Rozmiar tekstu etykiety",
"showSpoolmanIcon": "Pokaż ikonę Spoolman",
"showVendor": "Producent",
"showContent": "Etykieta",
@@ -156,11 +182,28 @@
"showVendorComment": "Komentarz producenta",
"spoolWeight": "Waga szpuli: {{weight}}",
"lotNr": "LOT: {{lot}}",
"showSpoolComment": "Komentarz szpuli"
"showSpoolComment": "Komentarz szpuli",
"template": "Wzór etykiety",
"useHTTPUrl": {
"preview": "Podgląd:",
"label": "Link kodu QR",
"options": {
"default": "Domyślne",
"url": "URL"
},
"tooltip": "Zostanie użyty link który będzie działał tylko gdy zostanie zeskanowany przez funkcję skanowania Spoolmana (Domyślna opcja). Link URL używa bazowego URL ustawionego w ustawieniach lub aktualnego URL strony jeżeli nie jest ustawiony w ustawieniach."
},
"showQRCode": "Drukuj kod QR",
"showQRCodeMode": {
"no": "Nie",
"withIcon": "Z ikoną",
"simple": "Proste"
},
"templateHelp": "Użyj {}, aby wstawić wartości obiektu szpuli jako tekst. Na przykład {id} zostanie zastąpione identyfikatorem szpuli lub {filament.material} zostanie zastąpione materiałem szpuli. jeśli brakuje wartości, zostanie ona zastąpiona „?”. Drugi zestaw {} może być użyty do usunięcia tego. Ponadto każdy tekst między zestawami {} zostanie usunięty, jeśli brakuje wartości. Na przykład {Lot Nr: {lot_nr}} pokaże etykietę tylko wtedy, gdy szpula ma numer partii. Otocz tekst podwójną gwiazdką **, aby go pogrubić. Kliknij przycisk, aby wyświetlić listę wszystkich dostępnych tagów."
},
"spoolSelect": {
"title": "Wybierz szpule",
"description": "Wybierz szpule dla których mają być drukowane kody QR.",
"description": "Wybierz szpule dla których mają być drukowane etykiety.",
"showArchived": "Pokaż zarchiwizowane",
"selectAll": "Wybierz/Odznacz wszystko",
"selectedTotal_one": "Wybrano {{count}} szpulę",
@@ -200,7 +243,12 @@
"settings_bed_temp": "Temperatura stołu",
"color_hex": "Kolor",
"article_number": "Numer artykułu",
"spools": "Zobacz szpule"
"spools": "Zobacz szpule",
"external_id": "Zewnętrzne ID",
"single_color": "Pojedynczy",
"multi_color": "Wielo",
"longitudinal": "Wzdłużny",
"coaxial": "Koekstrudowany"
},
"fields_help": {
"material": "Np. PLA, ABS, PETG itp.",
@@ -208,7 +256,8 @@
"spool_weight": "Waga pustej szpuli. Używana do określenia ciężaru szpuli.",
"article_number": "Np. EAN, UPC itp.",
"name": "Nazwa filamentu, aby odróżnić ten typ filamentu od innych pochodzących od tego samego producenta. Powinna zawierać np. kolor.",
"weight": "Waga filamentu na pełnej szpuli (waga netto). Nie powinno to obejmować wagi samej szpuli, a jedynie filamentu. Jest to zwykle napisane na opakowaniu."
"weight": "Waga filamentu na pełnej szpuli (waga netto). Nie powinno to obejmować wagi samej szpuli, a jedynie filamentu. Jest to zwykle napisane na opakowaniu.",
"multi_color_direction": "Filamenty mogą mieć wiele kolorów na dwa sposoby: Kolory mogą się ciągnąć równolegle na całej długości filamentu lub kolory filamentu mogą się zmieniać na długości filamentu."
},
"titles": {
"create": "Tworzenie filamentu",
@@ -219,7 +268,9 @@
"show_title": "[Filament #{{id}}] {{name}}"
},
"form": {
"filament_updated": "Ten filament został zaktualizowany przez kogoś/coś innego od czasu otwarcia tej strony. Zapisanie nadpisze te zmiany!"
"filament_updated": "Ten filament został zaktualizowany przez kogoś/coś innego od czasu otwarcia tej strony. Zapisanie nadpisze te zmiany!",
"import_external": "Importuj z zewnątrz",
"import_external_description": "Wybierz filament z listy by automatycznie zpopulować jego informacje w formularzu tworzenia filamentu. Spowoduje to nadpisanie danych które wpisałeś już w formularzu. Producent zostanie automatycznie stworzony jeżeli klikniesz Ok, jeżeli będzie to wymagane."
},
"buttons": {
"add_spool": "Dodaj Szpulę"
@@ -232,12 +283,13 @@
"name": "Nazwa",
"registered": "Zarejestrowano",
"comment": "Komentarz",
"empty_spool_weight": "Waga pustej szpuli"
"empty_spool_weight": "Waga pustej szpuli",
"external_id": "Zewnętrzne ID"
},
"titles": {
"create": "Tworzenie producenta",
"clone": "Klonowanie producenta",
"edit": "Edycja producenta",
"create": "Stwórz producenta",
"clone": "Sklonuj producenta",
"edit": "Edytuj producenta",
"list": "Producenci",
"show": "Pokaż producenta",
"show_title": "[Producent #{{id}}] {{name}}"
@@ -257,7 +309,7 @@
"suffix": " | Spoolman",
"filament": {
"list": "Filamenty | Spoolman",
"edit": "#{{id}} Edycja filamentu | Spoolman",
"edit": "#{{id}} Edytuj filament | Spoolman",
"create": "Tworzenie filamentu | Spoolman",
"clone": "#{{id}} Klonowanie filamentu | Spoolman",
"show": "#{{id}} Filament | Spoolman"
@@ -265,22 +317,25 @@
"spool": {
"list": "Szpule | Spoolman",
"show": "#{{id}} Szpula | Spoolman",
"edit": "#{{id}} Edycja szpuli | Spoolman",
"edit": "#{{id}} Edytuj szpulę | Spoolman",
"create": "Tworzenie szpuli | Spoolman",
"clone": "#{{id}} Klonowanie szpuli | Spoolman"
},
"vendor": {
"show": "#{{id}} Producent | Spoolman",
"show": "#{{id}} Pokaż producenta | Spoolman",
"list": "Producenci | Spoolman",
"edit": "#{{id}} Edycja producenta | Spoolman",
"create": "Tworzenie producenta | Spoolman",
"clone": "#{{id}} Klonowanie producenta | Spoolman"
"edit": "#{{id}} Edytuj producenta | Spoolman",
"create": "Stwórz producenta | Spoolman",
"clone": "#{{id}} Sklonuj producenta | Spoolman"
},
"home": {
"list": "Strona główna | Spoolman"
},
"help": {
"list": "Pomoc | Spoolman"
},
"locations": {
"list": "Lokalizacje | Spoolman"
}
},
"warnWhenUnsavedChanges": "Czy na pewno chcesz wyjść? Masz niezapisane zmiany.",
@@ -295,7 +350,9 @@
},
"kofi": "Daj napiwek na Ko-fi",
"home": {
"home": "Strona główna"
"home": "Strona główna",
"welcome": "Witaj w instancji Spoolman!",
"description": "Wygląda na to, że nie dodano jeszcze żadnych szpul. Zobacz <helpPageLink>stronę pomocy</helpPageLink>, aby dowiedzieć się jak rozpocząć."
},
"settings": {
"settings": "Ustawienia",
@@ -303,10 +360,18 @@
"currency": {
"label": "Waluta"
},
"tab": "Ogólne"
"tab": "Ogólne",
"base_url": {
"tooltip": "Bazowy URL zostanie użyty podczas generowania QR code oraz w innych funkcjonalnościach.",
"label": "Bazowy URL"
},
"round_prices": {
"tooltip": "Zaokrąglij ceny do najbliższej liczby całkowitej.",
"label": "Zaokrąglone ceny"
}
},
"extra_fields": {
"tab": "Dodatkowe Parametry",
"tab": "Dodatkowe parametry",
"boolean_true": "Tak",
"boolean_false": "Nie",
"params": {
@@ -314,7 +379,7 @@
"field_type": "Typ",
"unit": "Jednostka",
"order": "Kolejność",
"default_value": "Domyślna Wartość",
"default_value": "Domyślna wartość",
"key": "Klucz",
"choices": "Wybory",
"multi_choice": "Wielokrotny wybór"
@@ -322,7 +387,7 @@
"field_type": {
"integer": "Liczba całkowita",
"integer_range": "Zakres liczb",
"float": "Liczba (ułamek)",
"float": "Liczba zmiennoprzecinkowa",
"choice": "Wybór",
"text": "Tekst",
"float_range": "Zakres",
@@ -330,12 +395,18 @@
"boolean": "Wartość logiczna"
},
"non_unique_key_error": "Klucz musi być unikalny.",
"description": "<p>Tutaj możesz dodać dodatkowe komórki do zapisu danych.</p><p>Kiedy dodasz komórkę, nie można już zmienić typu danych ani klucza, a dla komurek wyboru, nie możesz zmienić możliwych wyborów ani multi-wybierania. Jeśli usuniesz komórkę, wszystkie informacje ze wszystkich obiektów z tej komórki zostaną usunięte.</p><p>Klucz jest po to, aby umożliwić innym programom odczytywać/zapisywac swoje dane,więc jeśli twoje nowa customowa komórka ma służyć do integracji z third-party programami, upewnij się że jest dobrze skonfigurowane. Domyślna wartość jest dodawana tylko do nowych komórek.</p><p>Dodatkowe komórki nie moga być sortowane ani filtrowane.</p>",
"description": "<p>Tutaj możesz dodać dodatkowe pola niestandardowe do swoich podmiotów.</p><p>Po dodaniu pola nie można zmienić jego klucza ani typu, a w przypadku pól typu wyboru nie można usunąć wyborów ani zmienić stanu wielokrotnego wyboru. Jeśli usuniesz pole, powiązane dane dla wszystkich podmiotów zostaną usunięte.</p><p>Klucz jest tym, co inne programy odczytują/zapisują jako dane, więc jeśli twoje niestandardowe pole ma być zintegrowane z programem innej firmy, upewnij się, że ustawiłeś je poprawnie. Wartość domyślna jest stosowana tylko do nowych elementów.</p><p>Dodatkowych pól nie można sortować ani filtrować w widokach tabeli.</p>",
"choices_missing_error": "Nie możesz usunąc możliwośći wyboru. Ten wybór nie istnieje: {{choices}}",
"key_not_changed": "Zmień klucz na inny.",
"delete_confirm": "Usunąć pole {{name}}?",
"delete_confirm_description": "Ta akcja usunie wszystkie pola i powiązane z nimi dane dla wszystkich obiektów."
},
"header": "Ustawienia"
},
"locations": {
"locations": "Lokalizacje",
"new_location": "Nowa lokalizacja",
"no_location": "Brak lokalizacji",
"no_locations_help": "Ta strona pozwala uporządkować szpule w lokalizacjach, dodaj kilka szpul aby rozpocząć!"
}
}
+400
View File
@@ -0,0 +1,400 @@
{
"actions": {
"list": "Listar",
"create": "Criar",
"edit": "Editar",
"show": "Mostrar",
"clone": "Clonar"
},
"buttons": {
"create": "Criar",
"save": "Salvar",
"saveAndAdd": "Salvar e Adicionar",
"logout": "Sair",
"delete": "Excluir",
"edit": "Editar",
"cancel": "Cancelar",
"confirm": "Você tem certeza?",
"continue": "Continuar",
"filter": "Filtrar",
"clear": "Limpar",
"refresh": "Atualizar",
"show": "Mostrar",
"undo": "Desfazer",
"import": "Importar",
"clone": "Clonar",
"archive": "Arquivar",
"unArchive": "Desarquivar",
"hideArchived": "Ocultar Arquivados",
"showArchived": "Mostrar Arquivados",
"notAccessTitle": "Você não tem permissão para acessar",
"hideColumns": "Ocultar Colunas",
"clearFilters": "Limpar Filtros"
},
"warnWhenUnsavedChanges": "Você tem certeza que deseja sair? Você tem alterações não salvas.",
"notifications": {
"success": "Sucesso",
"error": "Erro (código de status: {{statusCode}})",
"undoable": "Você tem {{seconds}} segundos para desfazer.",
"createSuccess": "{{resource}} criado com sucesso",
"createError": "Ocorreu um erro ao criar {{resource}} (código de status: {{statusCode}})",
"deleteSuccess": "{{resource}} excluído com sucesso",
"deleteError": "Erro ao excluir {{resource}} (código de status: {{statusCode}})",
"editSuccess": "{{resource}} editado com sucesso",
"editError": "Erro ao editar {{resource}} (código de status: {{statusCode}})",
"importProgress": "Importando: {{processed}}/{{total}}",
"saveSuccessful": "Salvo com sucesso!",
"validationError": "Erro de validação: {{error}}"
},
"kofi": "Doe pelo Ko-fi",
"loading": "Carregando",
"version": "Versão",
"unknown": "Desconhecido",
"yes": "Sim",
"no": "Não",
"tags": {
"clone": "Clonar"
},
"dashboard": {
"title": "Painel"
},
"printing": {
"generic": {
"title": "Imprimindo",
"description": "Ajuste as configurações abaixo para obter o layout de impressão desejado. Tenha em mente que as impressoras e o seu sistema operacional podem aplicar suas próprias margens e dimensionamento, portanto, pode ser necessário realizar algumas tentativas e erros antes que tudo esteja correto. Teste em um papel comum antes de imprimir nas etiquetas reais.",
"helpMargin": "As margens devem ser configuradas para corresponder às suas etiquetas e impressora. Alterá-las afetará o tamanho de toda a grade.",
"helpPrinterMargin": "A Zona de Segurança deve ser definida para o quão próximo da borda do papel sua impressora pode imprimir. Alterá-la não afetará toda a grade.",
"print": "Imprimir",
"columns": "Colunas",
"rows": "Linhas",
"paperSize": "Tamanho do Papel",
"customSize": "Personalizado",
"dimensions": "Dimensões",
"showBorder": "Mostrar Borda",
"previewScale": "Escala da Pré-visualização",
"skipItems": "Pular Itens",
"itemCopies": "Cópias do Item",
"contentSettings": "Configurações de Conteúdo",
"layoutSettings": "Configurações de Layout",
"horizontalSpacing": "Espaçamento Horizontal",
"verticalSpacing": "Espaçamento Vertical",
"marginLeft": "Margem Esquerda",
"marginRight": "Margem Direita",
"marginTop": "Margem Superior",
"marginBottom": "Margem Inferior",
"printerMarginLeft": "Zona de Segurança Esquerda",
"printerMarginRight": "Zona de Segurança Direita",
"printerMarginTop": "Zona de Segurança Superior",
"printerMarginBottom": "Zona de Segurança Inferior",
"borders": {
"none": "Nenhuma",
"border": "Borda",
"grid": "Grade"
},
"settings": "Predefinições",
"defaultSettings": "Padrão",
"addSettings": "Adicionar Nova Predefinição",
"newSetting": "Novo",
"duplicateSettings": "Duplicar",
"deleteSettings": "Excluir Predefinição Atual",
"deleteSettingsConfirm": "Tem certeza de que deseja excluir esta predefinição?",
"settingsName": "Nome da Predefinição",
"saveSetting": "Salvar Predefinições",
"saveAsImage": "Salvar como Imagem"
},
"qrcode": {
"button": "Imprimir Etiquetas",
"title": "Impressão de Etiquetas",
"template": "Modelo de Etiqueta",
"templateHelp": "Use \"{tag}\" para inserir valores do objeto carretel como texto. Por exemplo, {id} será substituído pelo valor do \"id\" do carretel ou {filament.material} será substituído pelo material do carretel. Se um valor estiver faltando, ele será substituído por \"?\". Um segundo conjunto de chaves, exemplo \"{{tag}}\", pode ser usado para remover isso. Além disso, qualquer texto entre os conjuntos de chaves será removido se o valor não existir. Por exemplo, {Lote Nº: {lot_nr}} só mostrará o rótulo se o carretel tiver um número de lote. Coloque o texto com asterisco duplo ** para colocar em negrito. Clique no botão ao lado para ver uma lista de todas as tags disponíveis.",
"textSize": "Tamanho do Texto da Etiqueta",
"showContent": "Imprimir Etiqueta",
"useHTTPUrl": {
"label": "Endereço do código QR",
"tooltip": "Usará um endereço proprietário que funcionará somente se digitalizado a partir do recurso de digitalização do Spoolman (padrão). O URL usa o URL Base, especificada nas Configurações, ou o URL da página atual se nenhuma estiver definida.",
"options": {
"default": "Padrão",
"url": "URL"
},
"preview": "Pré-visualização:"
},
"showQRCode": "Imprimir Código QR",
"showQRCodeMode": {
"no": "Não",
"simple": "Simples",
"withIcon": "Com Ícone"
}
},
"spoolSelect": {
"title": "Selecionar Carretéis",
"description": "Selecione os carretéis para imprimir suas etiquetas.",
"showArchived": "Mostrar Arquivado",
"noSpoolsSelected": "Você não selecionou algum dos carretéis.",
"selectAll": "Selecionar/Desselecionar Tudo",
"selectedTotal_one": "{{count}} carretel selecionado",
"selectedTotal_many": "{{count}} carretéis selecionados",
"selectedTotal_other": "{{count}} carretéis selecionados"
}
},
"scanner": {
"title": "Leitor de Código QR",
"description": "Escaneie um código QR do Spoolman para ver detalhes sobre o carretel.",
"error": {
"notAllowed": "Você não deu permissão de acesso à câmera.",
"insecureContext": "A página não é servida por HTTPS.",
"streamApiNotSupported": "O navegador não oferece suporte à API MediaStream.",
"notReadable": "A câmera não está legível.",
"notFound": "Nenhuma câmera foi encontrada.",
"unknown": "Ocorreu um erro desconhecido. ({{error}})"
}
},
"spool": {
"spool": "Carretéis",
"fields": {
"id": "ID",
"filament_name": "Filamento",
"filament": "Filamento",
"filament_internal": "Interno",
"filament_external": "Externo",
"price": "Preço",
"material": "Material",
"weight_to_use": "Peso",
"used_weight": "Peso Utilizado",
"remaining_weight": "Peso Restante",
"measured_weight": "Peso Medido",
"used_length": "Comprimento Usado",
"remaining_length": "Comprimento Restante",
"initial_weight": "Peso Inicial",
"spool_weight": "Peso sem Filamento",
"location": "Localização",
"lot_nr": "Número do Lote",
"first_used": "Primeiro Uso",
"last_used": "Último Uso",
"registered": "Registrado",
"comment": "Comentário",
"archived": "Arquivado"
},
"fields_help": {
"price": "Preço de um carretel cheio. Se não for definido, o preço do filamento será assumido.",
"weight_to_use": "Selecione que tipo de valor de peso inserir. O \"Peso Medido\" só estará disponível se o peso do carretel estiver definido para o filamento selecionado.",
"used_weight": "Quanto filamento foi usado do carretel. Um novo carretel deve ter 0g usado.",
"remaining_weight": "Quanto filamento resta no carretel. Para um carretel novo, isso deve corresponder ao peso do carretel.",
"measured_weight": "Quanto pesa o filamento e o carretel.",
"initial_weight": "O peso inicial do filamento no carretel (peso líquido). Caso não seja especificado, será usado o peso da definição do filamento.",
"spool_weight": "O peso do carretel vazio. Deixe em branco para utilizar o valor do filamento ou do fabricante.",
"location": "Onde o carretel está localizado se você tiver vários locais onde armazena seus carretéis.",
"lot_nr": "Número de lote do fabricante. Pode ser usado para garantir que uma impressão tenha cores consistentes se vários carretéis forem usados.",
"external_filament": "Você selecionou um filamento do banco de dados externo. Um objeto de filamento (e possivelmente um objeto de fabricante) será criado automaticamente quando você criar este carretel. Isso pode criar objetos de filamento duplicados se você já tiver criado um objeto de filamento para esse filamento."
},
"titles": {
"create": "Criar Carretel",
"clone": "Clonar Carretel",
"edit": "Editar Carretel",
"list": "Carretéis",
"show": "Mostrar Carretel",
"show_title": "[Carretel #{{id}}] {{name}}",
"archive": "Arquivar Carretel",
"adjust": "Ajustar Filamento no Carretel"
},
"form": {
"measurement_type": {
"length": "Comprimento",
"weight": "Peso"
},
"measurement_type_label": "Tipo de Medida",
"adjust_filament_help": "Aqui você pode adicionar ou subtrair filamento diretamente do carretel. Um valor positivo consumirá filamento, um valor negativo adicionará filamento.",
"adjust_filament_value": "Quantidade Consumida",
"new_location_prompt": "Insira um novo local",
"spool_updated": "Este carretel foi atualizado por alguém/outra coisa desde que você abriu esta página. Salvar irá sobrescrever essas alterações!"
},
"messages": {
"archive": "Tem certeza de que deseja arquivar este carretel?"
},
"formats": {
"last_used": "Última utilização em {{date}}"
}
},
"filament": {
"filament": "Filamentos",
"fields": {
"id": "ID",
"vendor_name": "Fabricante",
"vendor": "Fabricante",
"name": "Nome",
"material": "Material",
"price": "Preço",
"density": "Densidade",
"diameter": "Diâmetro",
"weight": "Peso",
"spool_weight": "Peso do Carretel",
"article_number": "Número do Artigo",
"registered": "Registrado",
"comment": "Comentário",
"settings_extruder_temp": "Temperatura da Extrusora",
"settings_bed_temp": "Temperatura da Mesa",
"color_hex": "Cor",
"single_color": "Única",
"multi_color": "Múltiplas",
"coaxial": "Coextrusada",
"longitudinal": "Longitudinal",
"external_id": "ID Externo",
"spools": "Mostrar Carretéis"
},
"fields_help": {
"name": "Nome do filamento, para distinguir este tipo de filamento entre outros do mesmo fabricante. Deve conter a cor, por exemplo.",
"material": "Por exemplo: PLA, ABS, PETG, etc.",
"price": "Preço de um carretel cheio.",
"weight": "O peso do filamento de um carretel cheio (peso líquido). Isso não deve incluir o peso do carretel em si, apenas o filamento. É o que normalmente está escrito na embalagem.",
"spool_weight": "O peso de um carretel vazio. Usado para determinar o peso medido de um carretel.",
"article_number": "Por exemplo: EAN, UPC, etc.",
"multi_color_direction": "Os filamentos podem ter múltiplas cores de duas maneiras: por meio de coextrusão, como os filamentos bicolores com as cores consistentes ao longo do carretel, ou por meio de mudanças longitudinais de cor, como os filamentos gradientes que mudam as cores ao longo do carretel."
},
"titles": {
"create": "Criar Filamento",
"clone": "Clonar Filamento",
"edit": "Editar Filamento",
"list": "Filamentos",
"show": "Mostrar Filamento",
"show_title": "[Filamento #{{id}}] {{name}}"
},
"form": {
"filament_updated": "Este filamento foi atualizado por alguém/outra coisa desde que você abriu esta página. Salvar irá sobrescrever essas alterações!",
"import_external": "Importar do Exterior",
"import_external_description": "Selecione um filamento na lista para preencher automaticamente seus detalhes no formulário de criação de filamento. Isso substituirá quaisquer dados que você inseriu no formulário.<br><br>Um objeto Fabricante será criado automaticamente quando você clicar em OK, se necessário."
},
"buttons": {
"add_spool": "Adicionar Carretel"
}
},
"vendor": {
"vendor": "Fabricantes",
"fields": {
"id": "ID",
"name": "Nome",
"empty_spool_weight": "Peso do Carretel Vazio",
"external_id": "ID Externo",
"registered": "Registrado",
"comment": "Comentário"
},
"fields_help": {
"empty_spool_weight": "O peso de um carretel vazio deste fabricante."
},
"titles": {
"create": "Criar Fabricante",
"clone": "Clonar Fabricante",
"edit": "Editar Fabricante",
"list": "Fabricantes",
"show": "Mostrar Fabricante",
"show_title": "[Fabricante #{{id}}] {{name}}"
},
"form": {
"vendor_updated": "Este fabricante foi atualizado por alguém/alguma coisa desde que você abriu esta página. Salvar sobrescreverá essas alterações!"
}
},
"home": {
"home": "Início",
"welcome": "Bem-vindo à sua instância do Spoolman!",
"description": "Parece que você ainda não adicionou nenhum carretel. Veja a <helpPageLink>Página de Ajuda</helpPageLink> para obter ajuda sobre como começar."
},
"help": {
"help": "Ajuda",
"resources": {
"filament": "Marcas de filamento. Elas têm propriedades como nome, material, cor, diâmetro e mais.",
"spool": "Carretéis físicos individuais de um filamento específico.",
"vendor": "As empresas que fabricam o filamento."
},
"description": "<title>Ajuda</title><p>Aqui estão algumas dicas para você começar.</p><p>O Spoolman contém três tipos diferentes de dados:</p><itemsHelp/><p>Para adicionar um novo carretel para o banco de dados, comece criando um objeto <filamentCreateLink>Filamento</filamentCreateLink>. Feito isso, prossiga para criar um objeto <spoolCreateLink>Carretel</spoolCreateLink> para esse carretel específico. Se você adquirir carretéis adicionais do mesmo filamento posteriormente, simplesmente crie carretéis adicionais e reutilize o mesmo objeto Filamento.</p><p>Opcionalmente, você também pode gerar um objeto <vendorCreateLink>Fabricante</vendorCreateLink> para a empresa que fabrica o filamento, se você desejar rastrear essas informações.</p><p>Você tem a opção de vincular outros serviços de impressora 3D ao Spoolman, como o Moonraker, o qual pode automaticamente monitorar o uso do filamento e atualizar os carretéis para você. Consulte o <readmeLink>LEIA-ME do Spoolman</readmeLink> para obter orientação sobre como configurar isso.</p>"
},
"table": {
"actions": "Ações"
},
"settings": {
"settings": "Configurações",
"header": "Configurações",
"general": {
"tab": "Geral",
"currency": {
"label": "Moeda"
},
"base_url": {
"label": "URL Base",
"tooltip": "A URL base a ser usada ao gerar recursos como códigos QR."
},
"round_prices": {
"label": "Arredondar preços",
"tooltip": "Arredonda os preços para o número inteiro mais próximo."
}
},
"extra_fields": {
"tab": "Campos Extras",
"description": "<p>Aqui você pode adicionar campos personalizados extras às suas entidades.</p><p>Depois que um campo é adicionado, você não pode alterar sua chave ou tipo, e para campos do tipo \"escolha\" você não pode remover as opções ou alterar o estado de \"múltipla de escolha\". Se você remover um campo, os dados associados a ele em todas as entidades serão excluídos.</p><p>A chave é como outros programas leem/gravam os dados, portanto, se o seu campo personalizado for para uma integração com um programa de terceiros, certifique-se de configurá-lo corretamente. O valor padrão é aplicado somente a novos itens.</p><p>Campos extras não podem ser ordenados ou filtrados nas visualizações de tabela.</p>",
"params": {
"key": "Chave",
"name": "Nome",
"field_type": "Tipo",
"unit": "Unidade",
"order": "Ordem",
"default_value": "Valor Padrão",
"choices": "Opções",
"multi_choice": "Múltipla Escolha"
},
"field_type": {
"text": "Texto",
"integer": "Inteiro",
"integer_range": "Intervalo de Inteiros",
"float": "Decimal",
"float_range": "Intervalo Decimal",
"datetime": "Data e Hora",
"boolean": "Booleano",
"choice": "Opção"
},
"boolean_true": "Sim",
"boolean_false": "Não",
"choices_missing_error": "Você não pode remover as opções. As seguintes opções estão faltando: {{choices}}",
"non_unique_key_error": "A chave deve ser única.",
"key_not_changed": "Por favor, escolha outra chave.",
"delete_confirm": "Apagar o campo {{name}}?",
"delete_confirm_description": "Isso excluirá o campo e todos os dados associados em todas as entidades."
}
},
"documentTitle": {
"default": "Spoolman",
"suffix": " | Spoolman",
"home": {
"list": "Início | Spoolman"
},
"help": {
"list": "Ajuda | Spoolman"
},
"locations": {
"list": "Locais | Spoolman"
},
"filament": {
"list": "Filamentos | Spoolman",
"show": "Mostrar Filamento #{{id}} | Spoolman",
"edit": "Editar Filamento #{{id}} | Spoolman",
"create": "Criar Filamento | Spoolman",
"clone": "Clonar Filamento #{{id}} | Spoolman"
},
"spool": {
"list": "Carretéis | Spoolman",
"show": "Mostrar Carretel #{{id}} | Spoolman",
"edit": "Editar Carretel #{{id}} | Spoolman",
"create": "Criar Carretel | Spoolman",
"clone": "Clonar Carretel #{{id}} | Spoolman"
},
"vendor": {
"list": "Fabricantes | Spoolman",
"show": "Mostrar Fabricante #{{id}} | Spoolman",
"edit": "Editar Fabricante #{{id}} | Spoolman",
"create": "Criar Fabricante | Spoolman",
"clone": "Clonar Fabricante #{{id}} | Spoolman"
}
},
"locations": {
"locations": "Locais",
"new_location": "Novo Local",
"no_location": "Sem Local",
"no_locations_help": "Esta página permite que você organize seus carretéis em locais, adicione alguns carretéis para começar!"
}
}
+125 -61
View File
@@ -23,18 +23,19 @@
"archive": "Arquivar",
"unArchive": "Desarquivar",
"hideArchived": "Ocultar Arquivados",
"showArchived": "Mostrar Arquivado",
"notAccessTitle": "Você não tem permissão para acessar",
"showArchived": "Mostrar Arquivados",
"notAccessTitle": "Não tem permissão para aceder",
"hideColumns": "Ocultar Colunas",
"clearFilters": "Limpar Filtros",
"create": "Criar",
"saveAndAdd": "Guardar e Adicionar"
"saveAndAdd": "Guardar e Adicionar",
"continue": "Continuar"
},
"warnWhenUnsavedChanges": "Você tem certeza de que quer sair? Você tem alterações não salvas.",
"warnWhenUnsavedChanges": "Tem certeza de que quer sair? Tem alterações não guardadas.",
"notifications": {
"success": "Sucesso",
"error": "Erro (código de status: {{statusCode}})",
"undoable": "Você tem {{seconds}} segundos para desfazer.",
"undoable": "Tem {{seconds}} segundos para desfazer.",
"createSuccess": "{{resource}} criado com sucesso",
"createError": "Ocorreu um erro ao criar {{resource}} (código de status: {{statusCode}})",
"deleteSuccess": "{{resource}} excluído com sucesso",
@@ -42,7 +43,7 @@
"editSuccess": "{{resource}} editado com sucesso",
"editError": "Erro ao editar {{resource}} (código de status: {{statusCode}})",
"importProgress": "Importando: {{processed}}/{{total}}",
"saveSuccessful": "Salvo com sucesso!",
"saveSuccessful": "Guardado com sucesso!",
"validationError": "Erro de validação: {{error}}"
},
"kofi": "Doe no Ko-fi",
@@ -87,26 +88,37 @@
"border": "Borda",
"grid": "Grade"
},
"printerMarginTop": "Área Segura Superior"
"printerMarginTop": "Área Segura Superior",
"settings": "Pré-definições",
"defaultSettings": "Por omissão",
"addSettings": "Adicionar Pré-Definição",
"newSetting": "Novo",
"deleteSettings": "Remover Pré-definição Actual",
"deleteSettingsConfirm": "Tem a certeza que pretender remover esta pré-definição?",
"settingsName": "Nome da Pré-definição",
"itemCopies": "Cópias do Artigo",
"duplicateSettings": "Duplicar",
"saveSetting": "Guardar Pré-definições",
"saveAsImage": "Guardar como Imagem"
},
"spoolSelect": {
"selectedTotal_one": "{{count}} carretel selecionado",
"selectedTotal_many": "{{count}} carretéis selecionados",
"selectedTotal_other": "{{count}} carretéis selecionados",
"noSpoolsSelected": "Você não selecionou nenhum carretel.",
"title": "Selecionar Carretéis",
"description": "Selecione os carretéis para imprimir os códigos QR.",
"selectedTotal_one": "{{count}} bobine selecionado",
"selectedTotal_many": "{{count}} bobines selecionados",
"selectedTotal_other": "{{count}} bobines selecionados",
"noSpoolsSelected": "Não selecionou nenhuma bobine.",
"title": "Selecionar Bobines",
"description": "Selecione as bobines para imprimir as etiquetas.",
"showArchived": "Mostrar Arquivado",
"selectAll": "Selecionar/Desmarcar Tudo"
},
"qrcode": {
"title": "Imprimindo Códigos QR",
"button": "Imprimir Códigos QR",
"title": "Impressão de Etiqueta",
"button": "Imprimir Etiquetas",
"spoolWeight": "Peso do Carretel: {{weight}}",
"lotNr": "Número do Lote: {{lot}}",
"bedTemp": "Temperatura da Mesa: {{temp}}",
"extruderTemp": "Temperatura do Bico: {{temp}}",
"textSize": "Tamanho do Texto do Conteúdo",
"textSize": "Tamanho do Texto da Etiqueta",
"showSpoolmanIcon": "Mostrar ícone do Spoolman",
"showVendor": "Fabricante",
"showContent": "Imprimir Etiqueta",
@@ -115,7 +127,24 @@
"showTemperatures": "Temperaturas",
"showSpoolComment": "Comentário sobre o Carretel",
"showFilamentComment": "Comentário sobre o Filamento",
"showVendorComment": "Comentário sobre o Fabricante"
"showVendorComment": "Comentário sobre o Fabricante",
"template": "Modelo de Etiqueta",
"templateHelp": "Use {} para incluir valores da bobine como texto. Por exemplo {id} será substituído pelo ID da bobine, ou {filament.material} será substituído pelo material da bobine. Coloque texto entre duplos asteriscos ** para colocar a negrito. Pressione o botão para ver a lista de etiquetas disponíveis.",
"showQRCode": "Imprimir Código QR",
"showQRCodeMode": {
"no": "Não",
"simple": "Simples",
"withIcon": "Com Ícone"
},
"useHTTPUrl": {
"label": "Endereço do Código QR",
"options": {
"url": "Endereço",
"default": "Por omissão"
},
"preview": "Pré-visualização:",
"tooltip": "Irá usar um endereço proprietário que funcionará apenas se for lido pela funcionalidade do Spoolman. O endereço usará o endereço base definido nas configurações ou, caso não esteja definido, o endereço da página actual."
}
}
},
"spool": {
@@ -144,34 +173,45 @@
"filament_external": "Externo"
},
"fields_help": {
"weight_to_use": "Selecione qual valor de peso inserir. O peso medido só estará disponível se o peso do carretel estiver definido para o filamento selecionado.",
"lot_nr": "Número de lote do fabricante. Pode ser usado para garantir que uma impressão tenha cores consistentes se vários carretéis forem usados.",
"used_weight": "Quanto filamento foi usado do carretel. Um novo carretel deve ter 0gr usado.",
"remaining_weight": "Quanto filamento resta no carretel. Para um carretel novo, isso deve corresponder ao peso do carretel.",
"measured_weight": "Quanto pesa o filamento e o carretel.",
"location": "Onde o carretel está localizado se você tiver vários locais onde armazena seus carretéis.",
"price": "Preço de um carretel completo na moeda definida no sistema. Se não for definido, o preço do filamento será presumido.",
"initial_weight": "O peso inicial do filamento sem o peso do carretel (peso liquido). Se nada for indicado, será usado o peso da definição do filamento.",
"spool_weight": "O peso do carretel quando vazio. Deixe em branco para usar o valor do filamento ou do fabricante.",
"external_filament": "Escolheu um filamento de uma base de dados externa. O filamento (e possivelmente o fabricante) será criado automaticamente quando for criado o carretel. Isto poderá criar filamentos duplicados caso já tenha criado um filamento para este filamento específico."
"weight_to_use": "Selecione qual o valor de peso a inserir. O peso medido só estará disponível se o peso da bobine estiver definido para o filamento selecionado.",
"lot_nr": "Número de lote do fabricante. Pode ser usado para garantir que uma impressão tenha cores consistentes se várias bobines forem usadas.",
"used_weight": "Quanto filamento foi usado da bobine. Uma nova bobine deve ter usado 0g.",
"remaining_weight": "Quanto filamento resta na bobine. Para uma bobine nova, deve corresponder ao peso da bobine.",
"measured_weight": "Quanto pesa o filamento e a bobine.",
"location": "Onde a bobine está localizado se tiver vários locais onde armazena as suas bobines.",
"price": "Preço de uma bobine completa na moeda definida no sistema. Se não for definido, o preço do filamento será presumido.",
"initial_weight": "O peso inicial do filamento sem o peso da bobine (peso liquido). Se nada for indicado, será usado o peso da definição do filamento.",
"spool_weight": "O peso da bobine vazia. Deixe em branco para usar o valor do filamento ou do fabricante.",
"external_filament": "Escolheu um filamento de uma base de dados externa. O filamento (e possivelmente o fabricante) será criado automaticamente quando for criada a bobine. Isto poderá criar filamentos duplicados caso já tenha criado um filamento para este filamento específico."
},
"titles": {
"create": "Criar Carretel",
"clone": "Clonar Carretel",
"edit": "Editar Carretel",
"list": "Carretéis",
"show": "Mostrar Carretel",
"show_title": "[Carretel #{{id}}] {{name}}",
"archive": "Arquivar Carretel"
"create": "Criar Bobine",
"clone": "Clonar Bobine",
"edit": "Editar Bobine",
"list": "Bobines",
"show": "Mostrar Bobine",
"show_title": "[Bobine #{{id}}] {{name}}",
"archive": "Arquivar Bobine",
"adjust": "Ajustar Filamento"
},
"form": {
"new_location_prompt": "Insira um novo local",
"spool_updated": "Este carretel foi atualizado por alguém desde que abriu esta página. Guardar substituirá essas alterações!"
"spool_updated": "Esta bobine foi atualizada por alguém desde que abriu esta página. Guardar substituirá essas alterações!",
"measurement_type": {
"length": "Comprimento",
"weight": "Peso"
},
"measurement_type_label": "Tipo de Medida",
"adjust_filament_help": "Aqui pode adicionar ou subtrair filamento da bobine. Um valor positivo consome filamento, um valor negativo adiciona filamento.",
"adjust_filament_value": "Consumir Montante"
},
"messages": {
"archive": "Tem certeza de que deseja arquivar este carretel?"
"archive": "Tem certeza de que deseja arquivar esta bobine?"
},
"spool": "Carretéis"
"spool": "Bobines",
"formats": {
"last_used": "Última utilização {{date}}"
}
},
"filament": {
"filament": "Filamentos",
@@ -182,7 +222,7 @@
"price": "Preço",
"diameter": "Diâmetro",
"weight": "Peso",
"spool_weight": "Peso do Carretel",
"spool_weight": "Peso da Bobine",
"article_number": "Número do Artigo",
"registered": "Registrado",
"vendor": "Fabricante",
@@ -192,16 +232,21 @@
"settings_extruder_temp": "Temperatura do Bico",
"settings_bed_temp": "Temperatura da Mesa",
"color_hex": "Cor",
"spools": "Mostrar Carretéis",
"external_id": "ID Externo"
"spools": "Mostrar Bobines",
"external_id": "ID Externo",
"single_color": "Único",
"multi_color": "Múltiplo",
"coaxial": "Coextrusado",
"longitudinal": "Longitudinal"
},
"fields_help": {
"article_number": "Por exemplo EAN, UPC, etc.",
"price": "Preço de um carretel completo.",
"price": "Preço de uma bobine completa.",
"name": "Nome do filamento, para distinguir este tipo de filamento entre outros do mesmo fabricante. Deve conter a cor, por exemplo.",
"material": "Por exemplo PLA, ABS, PETG, etc.",
"weight": "O peso do filamento de um carretel cheio (peso líquido). Isso não deve incluir o peso do carretel em si, apenas o filamento. É o que normalmente está escrito na embalagem.",
"spool_weight": "O peso de um carretel vazio. Usado para determinar o peso medido de um carretel."
"weight": "O peso do filamento de uma bobine cheia (peso líquido). Isso não deve incluir o peso da bobine em si, apenas o filamento. É o que normalmente está escrito na embalagem.",
"spool_weight": "O peso de uma bobine vazia. Usado para determinar o peso medido de uma bobine.",
"multi_color_direction": "Os filamentos podem ter múltiplas cores de duas formas: por coextrusão, como os filamentos de duas cores com estas consistentes ao longo do filamento, ou através de mudança de cor longitudinal, como os filamentos que contêm gradientes de cores que vão mudando ao longo da bobine."
},
"titles": {
"create": "Criar Filamento",
@@ -217,7 +262,7 @@
"import_external_description": "Escolha um filamento da lista para preencher automaticamente os detalhes do filamento no formulário de criação. Isto irá substituir quaisquer dados que já tenha introduzido no formulário.<br><br>Será criado o fabricante automaticamente caso seja necessário."
},
"buttons": {
"add_spool": "Adicionar Carretel"
"add_spool": "Adicionar Bobine"
}
},
"vendor": {
@@ -227,7 +272,7 @@
"name": "Nome",
"registered": "Registrado",
"comment": "Comentário",
"empty_spool_weight": "Peso do Carretel Vazio",
"empty_spool_weight": "Peso da Bobine Vazia",
"external_id": "ID Externo"
},
"titles": {
@@ -242,20 +287,22 @@
"vendor_updated": "Este fabricante foi atualizado por alguém desde que abriu esta página. Guardar substituirá essas alterações!"
},
"fields_help": {
"empty_spool_weight": "O peso do carretel vazio do fabricante."
"empty_spool_weight": "O peso da bobine vazia do fabricante."
}
},
"home": {
"home": "Início"
"home": "Início",
"welcome": "Bem vindo à sua instância do Spoolman!",
"description": "Parece que ainda não adicionou nenhuma bobine. Veja a <helpPageLink>Página de Ajuda</helpPageLink> para obter ajuda a começar."
},
"help": {
"help": "Ajuda",
"resources": {
"filament": "Marcas de filamento. Eles têm propriedades como nome, material, cor, diâmetro e muito mais.",
"spool": "Carretéis físicos individuais de um filamento específico.",
"spool": "Bobines físicas individuais de um filamento específico.",
"vendor": "As empresas que fabricam o filamento."
},
"description": "<title>Ajuda</title><p>Aqui estão algumas dicas para começar.</p><p>O Spoolman contém três tipos diferentes de dados:</p><itemsHelp/><p>Para adicionar um novo carretel para o banco de dados, comece criando um <filamentCreateLink>Filamento</filamentCreateLink>. Feito isso, prossiga para criar um <spoolCreateLink>Carretel</spoolCreateLink> para esse carretel específico. Se você adquirir carretéis adicionais do mesmo filamento posteriormente, simplesmente gere Carretéis adicionais e reutilize o mesmo objeto Filamento.</p><p>Opcionalmente, você também pode criar um <vendorCreateLink>Fabricante</vendorCreateLink> para a empresa que fabrica o filamento, se desejar rastrear essas informações.</p><p>Você tem a opção de vincular outros serviços de impressora 3D ao Spoolman, como o Moonraker, que pode monitorar automaticamente o uso do filamento e atualizar os carretéis para você. Consulte o <readmeLink>README do Spoolman</readmeLink> para obter orientação sobre como configurar isso.</p>"
"description": "<title>Ajuda</title><p>Aqui estão algumas dicas para começar.</p><p>O Spoolman contém três tipos diferentes de dados:</p><itemsHelp/><p>Para adicionar uma nova bobine para a base de dados, comece por criar um <filamentCreateLink>Filamento</filamentCreateLink>. Feito isso, prossiga para criar uma <spoolCreateLink>Bobine</spoolCreateLink> para esse filamento específico. Se posteriormente adquirir bobines adicionais do mesmo filamento, simplesmente gere Bobines adicionais e reutilize o mesmo objeto Filamento.</p><p>Opcionalmente, também pode criar um <vendorCreateLink>Fabricante</vendorCreateLink> para a empresa que fabrica o filamento, se desejar rastrear essas informações.</p><p>Tem a opção de vincular outros serviços de impressora 3D ao Spoolman, como o Moonraker, que pode monitorizar automaticamente o uso do filamento e atualizar as bobines. Consulte o <readmeLink>README do Spoolman</readmeLink> para obter orientação sobre como configurar.</p>"
},
"documentTitle": {
"suffix": " | Spoolman",
@@ -273,11 +320,11 @@
"clone": "#{{id}} Clonar filamento | Spoolman"
},
"spool": {
"list": "Carretéis | Spoolman",
"show": "#{{id}} Mostrar Carretel | Spoolman",
"edit": "#{{id}} Editar Carretel | Spoolman",
"create": "Criar Carretel | Spoolman",
"clone": "#{{id}} Clonar Carretel | Spoolman"
"list": "Bobines | Spoolman",
"show": "#{{id}} Mostrar Bobine | Spoolman",
"edit": "#{{id}} Editar Bobine | Spoolman",
"create": "Criar Bobine | Spoolman",
"clone": "#{{id}} Clonar Bobine | Spoolman"
},
"vendor": {
"show": "#{{id}} Mostrar Fabricante | Spoolman",
@@ -286,19 +333,22 @@
"edit": "#{{id}} Editar Fabricante | Spoolman",
"clone": "#{{id}} Clonar Fabricante | Spoolman"
},
"default": "Spoolman"
"default": "Spoolman",
"locations": {
"list": "Locais | Spoolman"
}
},
"no": "Não",
"scanner": {
"title": "Leitor de Código QR",
"description": "Digitalize um código QR do Spoolman para ver detalhes sobre o carretel.",
"description": "Digitalize um código QR do Spoolman para ver detalhes sobre a bobine.",
"error": {
"notAllowed": "Você não deu permissão de acesso à câmera.",
"notAllowed": "Não deu permissão de acesso à câmara.",
"insecureContext": "A página não é protegida por HTTPS.",
"streamApiNotSupported": "O navegador não oferece suporte à API MediaStream.",
"unknown": "Ocorreu um erro desconhecido. ({{error}})",
"notReadable": "A câmera não está acessível.",
"notFound": "Nenhuma câmera foi encontrada."
"notReadable": "A câmara não está acessível.",
"notFound": "Nenhuma câmara foi encontrada."
}
},
"table": {
@@ -329,8 +379,8 @@
"key_not_changed": "Por favor, mude a chave por outra.",
"delete_confirm": "Apagar o campo {{name}}?",
"delete_confirm_description": "Isto irá apagar o campo e todos os dados associados em todas as entidades.",
"description": "<p>Aqui você pode adicionar campos personalizados extras às suas entidades.</p><p>Uma vez que um campo é adicionado, você não pode alterar sua chave ou tipo, e para campos do tipo \"opção\" você não pode remover as opções ou alterar o estado de múltipla opção. Se você remover um campo, os dados associados para todas as entidades serão excluídos.</p><p>A chave é como outros programas leem/gravam os dados, portanto, se seu campo personalizado se destina a se integrar com um programa de terceiros, certifique-se de defini-lo corretamente. O valor padrão só é aplicado a novos itens.</p><p>Campos extras não podem ser ordenados ou filtrados nas visualizações de tabela.</p>",
"choices_missing_error": "Você não pode remover as opções. As seguintes opções serão perdidas: {{choices}}",
"description": "<p>Aqui pode adicionar campos personalizados extras às suas entidades.</p><p>Uma vez que um campo é adicionado, não se pode alterar sua chave ou tipo, e para campos do tipo \"opção\" não se pode remover as opções ou alterar o estado da múltipla opção. Se remover um campo, os dados associados para todas as entidades serão excluídos.</p><p>A chave é como outros programas leem/gravam os dados, portanto, se o seu campo personalizado se destina a integrar com um programa de terceiros, certifique-se de defini-lo corretamente. O valor padrão só é aplicado a novos itens.</p><p>Campos extras não podem ser ordenados ou filtrados nas visualizações de tabela.</p>",
"choices_missing_error": "Não pode remover as opções. As seguintes opções serão perdidas: {{choices}}",
"tab": "Campos Extras",
"boolean_true": "Sim",
"boolean_false": "Não",
@@ -342,7 +392,21 @@
"tab": "Geral",
"currency": {
"label": "Moeda"
},
"base_url": {
"label": "Endereço Base",
"tooltip": "O endereço base a utilizar em funcionalidades tais como os códigos QR."
},
"round_prices": {
"tooltip": "Arredonda os preços para o número inteiro mais próximo.",
"label": "Arredondar preços"
}
}
},
"locations": {
"locations": "Locais",
"new_location": "Novo Local",
"no_location": "Sem Local",
"no_locations_help": "Esta página permite organizar as suas bobines em locais, adicione algumas bobines para começar!"
}
}
+184 -61
View File
@@ -1,32 +1,33 @@
{
"buttons": {
"create": "creeaza",
"create": "creaza",
"save": "salveaza",
"show": "arata",
"filter": "filtreaza",
"cancel": "anuleaza",
"edit": "editeaza",
"confirm": "esti sigur?",
"delete": "sterge",
"confirm": "Ești sigur?",
"delete": "Șterge",
"undo": "inapoi",
"import": "importa",
"logout": "logout",
"logout": "Iesire",
"saveAndAdd": "salveazaSiAdauga",
"clear": "Clar",
"clear": "Șterge",
"refresh": "actualizeaza",
"clone": "cloneaza",
"archive": "arhiveaza",
"unArchive": "dezarhiveaza",
"hideArchived": "ascunde arhivate",
"showArchived": "arata arhivate",
"hideArchived": "ascundeArhivate",
"showArchived": "Arata arhivate",
"notAccessTitle": "nu ai permisiune de acces",
"hideColumns": "ascunde coloane",
"clearFilters": "reseteaza filtre"
"clearFilters": "reseteaza filtre",
"continue": "Continua"
},
"actions": {
"create": "creeaza",
"create": "creaza",
"clone": "cloneaza",
"list": "listeaza",
"list": "Listeaza",
"show": "arata",
"edit": "editeaza"
},
@@ -85,12 +86,23 @@
"printerMarginLeft": "Safe-Zone stanga",
"showBorder": "Arată marginea",
"printerMarginBottom": "Safe-Zone jos",
"title": "Imprimare"
"title": "Imprimare",
"itemCopies": "Copii ale obiectelor",
"settings": "Prestabilite",
"defaultSettings": "Implicit",
"addSettings": "Adăugarea de noi prestabilite",
"newSetting": "Nou",
"duplicateSettings": "Duplicat",
"deleteSettings": "Ștergerea presetării curente",
"deleteSettingsConfirm": "Ești sigur că vrei să ștergi această prestabilită?",
"settingsName": "Numele valorii prestabilite",
"saveSetting": "Salvare prestabilite",
"saveAsImage": "Salvare ca imagine"
},
"spoolSelect": {
"showArchived": "Arata arhivate",
"title": "Selectați bobine",
"description": "Selectati bobinele pentru care trebuie printate etichete.",
"description": "Selectați rolele pentru care trebuie printate etichete.",
"selectedTotal_one": "{{count}} bobina selectata",
"selectedTotal_few": "{{count}} bobine selectate",
"selectedTotal_other": "{{count}} bobine selectate",
@@ -99,60 +111,80 @@
},
"qrcode": {
"bedTemp": "BT: {{temp}}",
"title": "Printati codurile QR",
"button": "Imprimati codurile QR",
"title": "Printarea codurilor QR",
"button": "Imprimați codurile QR",
"showTemperatures": "Temperaturi",
"spoolWeight": "Greutatea rolei de filament: {{weight}}",
"showFilamentComment": "Filament Comentariu",
"showLotNr": "Lot Nr",
"showContent": "Imprimă eticheta",
"showSpoolWeight": "Greutate bobină",
"textSize": "Marimea textului",
"textSize": "Mărimea textului",
"showVendorComment": "Comentariul furnizorului",
"showSpoolmanIcon": "Arata iconul Spoolman",
"showSpoolComment": "Bobină Comentariu",
"extruderTemp": "ET: {{temp}}",
"showVendor": "Furnizor",
"lotNr": "Lot Nr: {{lot}}"
"lotNr": "Lot Nr: {{lot}}",
"template": "Șablon etichetă",
"useHTTPUrl": {
"label": "Link către codul QR",
"tooltip": "Se va folosi un link proprietar care va funcționa doar dacă este scanat din funcția de scanare a Spoolman (implicit). URL-ul folosește fie URL-ul de bază specificat în setări, fie URL-ul paginii curente dacă nu este setat.",
"options": {
"default": "Implicit",
"url": "URL"
},
"preview": "Previzualizare:"
},
"showQRCode": "Printarea codului QR",
"showQRCodeMode": {
"no": "Nu",
"simple": "Simplu",
"withIcon": "Cu imagine"
},
"templateHelp": "Utilizați {} pentru a insera valorile obiectului filament ca text. De exemplu, {id} va fi înlocuit cu id-ul filamentului, sau {filament.material} va fi înlocuit cu materialul filamentului. Dacă o valoare lipsește, aceasta va fi înlocuită cu \"?\". Un al doilea set de {} poate fi folosit pentru a elimina acesta. În plus, orice text între seturile de {} va fi eliminat dacă valoarea lipsește. De exemplu, {Lot Nr: {lot_nr}} va afișa doar eticheta dacă filamentul are un număr de lot. Încadrați textul cu asteriscuri duble ** pentru a-l face îngroșat. Faceți clic pe buton pentru a vizualiza o listă cu toate etichetele disponibile."
}
},
"documentTitle": {
"vendor": {
"show": "",
"list": "",
"edit": "",
"create": "",
"clone": ""
"show": "#{{id}} Afișare producători | Spoolman",
"list": "Producători | Spoolman",
"edit": "#{{id}} Editare producător | Spoolman",
"create": "Adăugare producător | Spoolman",
"clone": "#{{id}} Duplicare producător | Spoolman"
},
"spool": {
"create": "",
"clone": "",
"list": "",
"edit": "",
"show": ""
"create": "Creare rolă| Spoolman",
"clone": "#{{id}} Clonare rolă | Spoolman",
"list": "Role | Spoolman",
"edit": "#{{id}} Editare rolă | Spoolman",
"show": "#{{id}} Afișare role | Spoolman"
},
"filament": {
"show": "",
"list": "",
"clone": "",
"edit": "",
"create": ""
"show": "#{{id}} Afișare filamente | Spoolman",
"list": "Filamente | Spoolman",
"clone": "#{{id}} Clonare filament | Spoolman",
"edit": "#{{id}} Editare filamente | Spoolman",
"create": "Creare filament| Spoolman"
},
"home": {
"list": ""
"list": "Acasă | Spoolman"
},
"suffix": "",
"suffix": " | Spoolman",
"default": "Spoolman",
"help": {
"list": ""
"list": "Ajutor | Spoolman"
},
"locations": {
"list": "Zone | Spoolman"
}
},
"help": {
"description": "",
"description": "<title>Ajutor</title><p>Iată câteva sfaturi pentru a te ajuta să începi.</p><p>Spoolman are 3 tipuri diferite de date:</p><itemsHelp/><p>Pentru a adăuga o nouă rolă în baza de date, începe prin a crea un obiect <filamentCreateLink>Filament</filamentCreateLink>. Odată ce ai terminat, continuă prin a crea un obiect <spoolCreateLink>Spool</spoolCreateLink> pentru aca rolă. Dacă mai achiziționezi role suplimentare din același filament mai târziu, pur și simplu generează obiecte Rolă suplimentare și reutilizează același obiect Filament.</p><p>Opțional, poți genera și un obiect <vendorCreateLink>Producător</vendorCreateLink> pentru compania care produce filamentul, dacă dorești să urmărești această informație.</p><p>Ai opțiunea de a lega alte servicii pentru imprimante 3D de Spoolman, cum ar fi Moonraker, care poate monitoriza automat utilizarea filamentului și actualiza obiectele Rolă pentru tine. Consultă <readmeLink>README-ul Spoolman</readmeLink> pentru orientări despre cum să configurezi acest lucru.</p>",
"resources": {
"spool": "",
"filament": "",
"vendor": ""
"spool": "Role de filament individuale ale unui filament specific.",
"filament": "Brand-uri de filament. Au proprietăți precum nume, material, culoare, diametru și altele.",
"vendor": "Companiile care produc filamentul."
},
"help": "Ajutor"
},
@@ -175,7 +207,11 @@
"filament": "Filament",
"filament_name": "Filament",
"remaining_length": "Lungime ramasa",
"remaining_weight": "Greutate ramasa"
"remaining_weight": "Greutate ramasa",
"filament_internal": "Intern",
"filament_external": "Extern",
"initial_weight": "Greutatea inițială",
"spool_weight": "Greutatea rolei"
},
"fields_help": {
"location": "Locatia in care bobina este stocata.",
@@ -184,7 +220,10 @@
"price": "Pretul unei bobine. Daca nu e definit, pretul filamentului va fi folosit.",
"lot_nr": "Numarul de productie al lotului. Poate fi folosit pentru a garanta consistenta culorii, in caz ca mai multe bobine sunt folosite la acelasi print.",
"remaining_weight": "Cat filament a ramas pe bobina. Aceasta valoare reprezinta greutatea filamentului de pe bobina respectiva.",
"measured_weight": "Greutatea totala a bobinei si filamentului."
"measured_weight": "Greutatea totala a bobinei si filamentului.",
"initial_weight": "Greutatea inițială a filamentului de pe rolă (greutate netă). Se va folosi greutatea din obiectul filament dacă nu este setată.",
"spool_weight": "Greutatea rolei atunci când este goală. Lăsați necompletat pentru a folosi valoarea de la filament sau de la producător.",
"external_filament": "Ai selectat un filament din baza de date externă. Un obiect filament (și posibil un obiect de la fabricant) va fi creat automat atunci când creați această rolă. Aceasta poate crea obiecte filament duplicate dacă ați creat deja un obiect filament pentru acest filament."
},
"titles": {
"list": "Bobine",
@@ -193,44 +232,61 @@
"create": "Creați bobină",
"show": "Arata bobina",
"edit": "Editeaza bobina",
"clone": "Cloneaza bobina"
"clone": "Cloneaza bobina",
"adjust": "Ajustarea rolei de filament"
},
"messages": {
"archive": "Esti sigur ca vrei sa arhivezi aceasta bobina?"
},
"form": {
"spool_updated": "Aceasta bobina a fost modificata de altcineva in timpul scurs de la deschiderea acestei pagini, Salvarea va suprascrie aceste schimbari!",
"new_location_prompt": "Introduceti o locatie noua"
"new_location_prompt": "Introduceti o locatie noua",
"measurement_type": {
"length": "Lungime",
"weight": "Greutate"
},
"measurement_type_label": "Tipul măsurării",
"adjust_filament_help": "Aici poți adăuga sau elimina direct filament din rolă. O valoare pozitivă va consuma filament, iar o valoare negativă îl va adăuga.",
"adjust_filament_value": "Cantitatea consumată"
},
"spool": "Bobine"
"spool": "Bobine",
"formats": {
"last_used": "Ultima utilizare {{date}}"
}
},
"filament": {
"fields": {
"registered": "Înregistrat",
"article_number": "Numarul articolului",
"id": "ID",
"vendor": "Furnizor",
"vendor": "Producător",
"settings_bed_temp": "Temperatura patului",
"material": "Material",
"price": "Preț",
"name": "Nume",
"color_hex": "Culoare",
"settings_extruder_temp": "Temperatura extruderului",
"vendor_name": "Furnizor",
"vendor_name": "Producător",
"diameter": "Diametru",
"density": "Densitate",
"weight": "Greutate",
"spools": "Arata bobinele",
"comment": "Comentariu",
"spool_weight": "Greutatea bobinei"
"spool_weight": "Greutatea bobinei",
"single_color": "Unică",
"multi_color": "Multi",
"coaxial": "Co-extrudat",
"longitudinal": "Longitudinal",
"external_id": "ID extern"
},
"fields_help": {
"price": "Pretului unei bobine noi.",
"material": "Ex. PLA, ABS, PETG, etc.",
"name": "Numele filamentului, pentru a-l putea distinge de altele ale aceluiasi producator. Recomandabil sa contina culoarea de exemplu.",
"name": "Numele filamentului, pentru a-l putea distinge de altele ale aceluiași producător. Trebuie să conțină culoarea de exemplu.",
"spool_weight": "Greutatea unei bobine goale (fara filament). Este folosita pentru a calcula greutatea unei bobine cu filament.",
"article_number": "",
"weight": "Greutatea neta a filamentului de pe o bobina. Nu trebuie sa includa greutatea bobinei, ci doar cea a filamentului. De obicei greutatea filementului este cea inscrisa pe ambalaj."
"article_number": "Ex. EAN, UPC etc.",
"weight": "Greutatea neta a filamentului de pe o bobina. Nu trebuie sa includa greutatea bobinei, ci doar cea a filamentului. De obicei greutatea filementului este cea inscrisa pe ambalaj.",
"multi_color_direction": "Filamentele pot avea multiple culori în două moduri: fie prin co-extrudare, cum ar fi filamentele de două culori cu culori multiple consistente, fie prin schimbări de culoare longitudinale, cum ar fi filamentele gradient care își schimbă culorile pe parcursul rolei."
},
"titles": {
"edit": "Modifica del filamento",
@@ -241,35 +297,47 @@
"clone": "Clonarea filamentului"
},
"form": {
"filament_updated": ""
"filament_updated": "Acest filament a fost actualizat de cineva/altceva de când ai deschis această pagină. Salvarea va suprascrie aceste modificări!",
"import_external": "Importare din exterior",
"import_external_description": "Selectați un filament din listă pentru a completa automat detaliile sale în formularul de creare a filamentului. Acest lucru va suprascrie orice date pe care le-ați introdus în formular.<br><br>Un obiect Producător va fi creat automat când faceți clic pe Ok, dacă este necesar."
},
"filament": "Filamente"
"filament": "Filamente",
"buttons": {
"add_spool": "Adăugare rolă"
}
},
"vendor": {
"vendor": "Furnizori",
"vendor": "Producători",
"fields": {
"registered": "Înregistrat",
"comment": "Comentariu",
"name": "Nume",
"id": "ID"
"id": "ID",
"empty_spool_weight": "Greutatea rolei goale",
"external_id": "ID extern"
},
"titles": {
"clone": "",
"show": "",
"list": "Furnizori",
"create": "",
"show_title": "",
"edit": ""
"clone": "Duplicarea producătorului",
"show": "Afișarea producătorilor",
"list": "Producători",
"create": "Adăugarea unui producător",
"show_title": "[Producător #{{id}}] {{name}}",
"edit": "Editarea producătorului"
},
"form": {
"vendor_updated": ""
"vendor_updated": "Acest producător a fost actualizat de cineva/altceva de când ai deschis această pagină. Salvarea va suprascrie acele modificări!"
},
"fields_help": {
"empty_spool_weight": "Greutatea unei role goale de la acest producător."
}
},
"dashboard": {
"title": "Tablou de bord"
},
"home": {
"home": "Acasă"
"home": "Acasă",
"welcome": "Bine ai venit în instanța ta Spoolman!",
"description": "Se pare că nu ați adăugat încă nici o rolă. Consultați pagina <helpPageLink>Ajutor</helpPageLink> pentru a începe."
},
"scanner": {
"error": {
@@ -285,5 +353,60 @@
},
"table": {
"actions": "Acțiuni"
},
"settings": {
"settings": "Setări",
"header": "Setări",
"general": {
"tab": "General",
"currency": {
"label": "Valută"
},
"base_url": {
"label": "URL de bază",
"tooltip": "URL-ul de bază care trebuie utilizat atunci când generați caracteristici, cum ar fi codurile QR."
},
"round_prices": {
"label": "Prețurile estimative",
"tooltip": "Prețurile estimative la cel mai apropiat întreg."
}
},
"extra_fields": {
"tab": "Câmpuri extra",
"description": "<p>Aici poți adăuga câmpuri suplimentare personalizate entităților tale.</p><p>Odată ce un câmp este adăugat, nu poți schimba cheia sau tipul acestuia, iar pentru câmpurile de tip alegere nu poți elimina opțiunile sau schimba starea de alegere multiplă. Dacă elimini un câmp, datele asociate pentru toate entitățile vor fi șterse.</p><p>Cheia este ceea ce alte programe folosesc pentru a citi/scrie date, așa că, dacă câmpul tău personalizat ar trebui să se integreze cu un program de terță parte, asigură-te că îl setezi corect. Valoarea implicită se aplică doar articolelor noi.</p><p>Câmpurile suplimentare nu pot fi sortate sau filtrate în tabele.</p>",
"params": {
"key": "Cheie",
"name": "Nume",
"field_type": "Tip",
"unit": "Unitate",
"order": "Stoc",
"default_value": "Valoarea implicită",
"choices": "Selecții",
"multi_choice": "Selecție multiplă"
},
"field_type": {
"text": "Text",
"integer": "Întreg",
"integer_range": "Interval întreg",
"float": "Număr zecimal",
"float_range": "Interval de numere zecimale",
"datetime": "Dată/timp",
"boolean": "Boolean",
"choice": "Selecție"
},
"boolean_true": "Da",
"boolean_false": "Nu",
"choices_missing_error": "Nu poți înlătura selecții. Următoarele selecții lipsesc: {{choices}}",
"non_unique_key_error": "Cheia trebuie să fie unică.",
"key_not_changed": "Te rog să schimbi cheia.",
"delete_confirm": "Ștergi câmpul{{name}}?",
"delete_confirm_description": "Ștergerea câmpului și a tuturor datelor asociate pentru toate entitățile."
}
},
"locations": {
"locations": "Zone",
"new_location": "Zonă nouă",
"no_location": "Fără zonă",
"no_locations_help": "Această pagină îți permite să îți organizezi rolele în zone, adaugă câteva role pentru a începe!"
}
}
+95 -24
View File
@@ -28,7 +28,8 @@
"notAccessTitle": "У вас нет разрешения на доступ",
"hideColumns": "Скрыть столбцы",
"clearFilters": "Очистить фильтр",
"saveAndAdd": "Сохранить и добавить"
"saveAndAdd": "Сохранить и добавить",
"continue": "Продолжить"
},
"warnWhenUnsavedChanges": "Вы уверены, что хотите выйти? У вас есть несохраненные изменения.",
"notifications": {
@@ -87,16 +88,27 @@
"none": "Без рамки",
"border": "Общая",
"grid": "Сетка"
}
},
"addSettings": "Добавить новый пресет",
"newSetting": "Новый",
"deleteSettings": "Удалить текущий пресет",
"deleteSettingsConfirm": "Вы уверены, что хотите удалить этот пресет?",
"settings": "Пресеты",
"defaultSettings": "По умолчанию",
"settingsName": "Имя пресета",
"itemCopies": "Копии элементов",
"saveAsImage": "Сохранить как изображение",
"duplicateSettings": "Дублировать",
"saveSetting": "Сохранить Пресеты"
},
"qrcode": {
"button": "Распечатать QR-коды",
"title": "Печать QR-кода",
"button": "Печать этикеток",
"title": "Печать этикетки",
"spoolWeight": "Вес катушки: {{weight}}",
"lotNr": "№ партии: {{lot}}",
"bedTemp": "ТС: {{temp}}",
"extruderTemp": "ТЕ: {{temp}}",
"textSize": "Размер текста",
"textSize": "Размер Текста Надписи",
"showSpoolmanIcon": "Показать иконку Spoolman",
"showVendor": "Производитель",
"showContent": "Печать информации",
@@ -105,11 +117,28 @@
"showTemperatures": "Температура",
"showSpoolComment": "Комментарий к катушке",
"showFilamentComment": "Комментарий к филаменту",
"showVendorComment": "Комментарий к продавцу"
"showVendorComment": "Комментарий к продавцу",
"template": "Шаблон этикетки",
"templateHelp": "Используйте {} для вставки значений объекта катушки в виде текста. Например, {id} будет заменен на идентификатор катушки, или {filament.material} будет заменен на материал катушки. если значение отсутствует, оно будет заменено на \"?\". Для удаления этого можно использовать второй набор {}. Кроме того, любой текст между наборами {} будет удален, если значение отсутствует. Например, {Номер партии: {lot_nr}} будет отображаться только в том случае, если на катушке указан номер партии. Для выделения текста жирным шрифтом выделите его двойной звездочкой **. Нажмите кнопку, чтобы просмотреть список всех доступных тегов.",
"useHTTPUrl": {
"tooltip": "Будет использоваться проприетарная ссылка, которая будет работать только при сканировании через функцию сканирования Spoolman (по умолчанию). URL использует либо базовый URL, указанный в настройках, либо URL текущей страницы, если он не задан.",
"label": "Ссылка на QR-код",
"options": {
"default": "По умолчанию",
"url": "URL"
},
"preview": "Предварительный просмотр:"
},
"showQRCodeMode": {
"no": "Нет",
"simple": "Простой",
"withIcon": "Со значком"
},
"showQRCode": "Печать QR-кода"
},
"spoolSelect": {
"title": "Выберите катушки",
"description": "Выберите катушки для печати QR-кодов.",
"description": "Выберите катушки для печати этикеток.",
"showArchived": "Показать архивные",
"noSpoolsSelected": "Вы не выбрали ни одной катушки.",
"selectAll": "Выбрать/отменить выбор всего",
@@ -136,7 +165,7 @@
"id": "ID",
"filament_name": "Филамент",
"filament": "Филамент",
"material": "Тип",
"material": "Материал",
"used_weight": "Использованный вес",
"remaining_weight": "Оставшийся вес",
"used_length": "Использованная длина",
@@ -152,18 +181,21 @@
"weight_to_use": "Масса",
"price": "Цена",
"initial_weight": "Начальный вес",
"spool_weight": "Пустой вес"
"spool_weight": "Пустой вес",
"filament_internal": "Внутренний",
"filament_external": "Внешний"
},
"fields_help": {
"used_weight": "Сколько филамента было использовано с катушки. На новой катушке должно быть использовано 0 г.",
"location": "Где находится катушка, если у вас есть несколько мест хранения катушек.",
"lot_nr": "Номер партии производителя. Может использоваться для обеспечения однородного цвета отпечатка при использовании нескольких катушек.",
"lot_nr": "Номер партии производителя. Может использоваться для обеспечения однородного цвета печати при использовании нескольких катушек.",
"weight_to_use": "Выберите, какое значение веса ввести. Измеренный вес доступен только в том случае, если вес катушки установлен для выбранной филамента.",
"measured_weight": "Сколько весит филамент и катушка.",
"remaining_weight": "Сколько филамента осталось на катушке. Для новой катушки этот вес должен соответствовать весу катушки.",
"price": "Цена полной катушки. Если не задано, вместо этого будет принята цена филамента.",
"initial_weight": "Исходный вес филамента (вес нетто). Это значение может быть указано на основе филамента, но оно отслеживается на уровне катушки, чтобы учесть индивидуальные различия в весе филамента на катушке.",
"spool_weight": "Вес пустой катушки. Это значение может быть указано производителем филамента или поставщиком, но оно отслеживается на уровне катушки, чтобы учесть индивидуальные различия в весе пустой катушки."
"price": "Цена полной катушки. Если не указано, будет использоваться цена филамента.",
"initial_weight": "Исходный вес филамента на катушке (вес нетто). Если не задан, будет использоваться вес объекта, на котором находится филамент.",
"spool_weight": "Вес пустой катушки. Оставьте значение \"пусто\", чтобы использовать значение, указанное в описании филамента или у производителя.",
"external_filament": "Вы выбрали филамент из внешней базы данных. Объект филамент (и, возможно, объект производителя) будет создан автоматически при создании этой катушки. При этом могут возникнуть повторяющиеся объекты филамента, если вы уже создали объект филамент для этой нити накала."
},
"titles": {
"create": "Создать Катушку",
@@ -172,14 +204,25 @@
"list": "Катушки",
"show": "Показать Катушку",
"archive": "Архивировать Катушку",
"show_title": "[Катушка #{{id}}] {{name}}"
"show_title": "[Катушка #{{id}}] {{name}}",
"adjust": "Отрегулируйте филамент катушки"
},
"messages": {
"archive": "Вы уверены, что хотите добавить в архив эту катушку?"
},
"form": {
"spool_updated": "Эта катушка была обновлена кем-то/чем-то другим с тех пор, как вы открыли эту страницу. При сохранении эти изменения перезапишутся!",
"new_location_prompt": "Введите новое местоположение"
"new_location_prompt": "Введите новое местоположение",
"measurement_type": {
"weight": "Вес",
"length": "Длина"
},
"adjust_filament_help": "Здесь вы можете напрямую добавлять или вычитать филамент из катушки. При положительном значении филамент будет израсходован, при отрицательном - добавлен.",
"measurement_type_label": "Тип измерения",
"adjust_filament_value": "Потребляемое количество"
},
"formats": {
"last_used": "Последнее использование {{date}}"
}
},
"filament": {
@@ -189,7 +232,7 @@
"vendor_name": "Производитель",
"vendor": "Производитель",
"name": "Имя",
"material": "Тип",
"material": "Материал",
"price": "Цена",
"density": "Плотность",
"diameter": "Диаметр",
@@ -201,15 +244,21 @@
"settings_extruder_temp": "Температура экструдера",
"settings_bed_temp": "Температура стола",
"color_hex": "Цвет",
"spools": "Показать катушки"
"spools": "Показать катушки",
"coaxial": "Коэкструдированный",
"longitudinal": "Продольный",
"single_color": "Одноцветный",
"multi_color": "Многоцветный",
"external_id": "Внешний ID"
},
"fields_help": {
"name": "Название филамента, чтобы отличить этот тип филамента от друго филамента того же производителя. Например, должен содержать цвет.",
"name": "Название филамента, чтобы отличить этот тип филамента от других того же производителя. Например, должно содержать цвет.",
"material": "Например: PLA, ABS, PETG и т.д.",
"price": "Цена полной катушки.",
"weight": "Вес филамента на полной катушке (вес нетто). Сюда не следует включать вес самой катушки, а только филамента. Это то, что обычно пишут на упаковке.",
"spool_weight": "Вес пустой катушки. Используется для определения измеренного веса катушки.",
"article_number": "Например: EAN, UPC, и т.д."
"article_number": "Например: EAN, UPC, и т.д.",
"multi_color_direction": "Филаменты могут иметь несколько цветов двумя способами: либо через коэкструзию, как двойные цветные филаменты с постоянными разноцветными участками, либо через продольные изменения цвета, как градиентные филаменты, которые меняют цвет по всей длине катушки."
},
"titles": {
"create": "Создать филамент",
@@ -220,7 +269,9 @@
"show_title": "[Филамент #{{id}}] {{name}}"
},
"form": {
"filament_updated": "Этот филамент был обновлен кем-то/чем-то другим с тех пор, как вы открыли эту страницу. При сохранении эти изменения перезапишутся!"
"filament_updated": "Этот филамент был обновлен кем-то/чем-то другим с тех пор, как вы открыли эту страницу. При сохранении эти изменения перезапишутся!",
"import_external": "Импорт из внешнего источника",
"import_external_description": "Выберите филамент из списка, чтобы автоматически заполнить его данные в форме создания филамента. Это перезапишет все данные, которые вы ввели в форму.<br><br>Объект \"Производитель\" будет создан автоматически, если это необходимо, когда вы нажмете \"Ок\"."
},
"buttons": {
"add_spool": "Добавить катушку"
@@ -233,7 +284,8 @@
"name": "Имя",
"registered": "Зарегистрирован",
"comment": "Комментарий",
"empty_spool_weight": "Вес пустой катушки"
"empty_spool_weight": "Вес пустой катушки",
"external_id": "Внешний ID"
},
"titles": {
"create": "Создать производителя",
@@ -247,7 +299,7 @@
"vendor_updated": "Этот производитель был обновлен кем-то/чем-то другим с тех пор, как вы открыли эту страницу. При сохранении эти изменения перезапишутся!"
},
"fields_help": {
"empty_spool_weight": "Вес пустой катушки от этого поставщика."
"empty_spool_weight": "Вес пустой катушки от этого производителя."
}
},
"table": {
@@ -282,6 +334,9 @@
},
"home": {
"list": "Главная | Spoolman"
},
"locations": {
"list": "Местоположения | Spoolman"
}
},
"help": {
@@ -290,12 +345,14 @@
"filament": "Марка филамента. У них есть такие свойства, как имя, материал, цвет, диаметр и многое другое.",
"vendor": "Компании, производящие филаменты."
},
"description": "<title>Помощь</title><p>Вот несколько советов, которые помогут вам начать</p><p>Spoolman хранит 3 различных типа данных:</p><itemsHelp/><p>Чтобы добавить новую катушку в базу данных, начните с создания объекта <filamentCreateLink>Филамент</filamentCreateLink>. Как только это будет сделано, приступайте к созданию объекта <spoolCreateLink>Катушка</spoolCreateLink> для этой конкретной катушки. Если позже вы приобретете дополнительные катушки того же филамента, просто создайте дополнительные объекты катушек и повторно используйте тот же объект Филамент.</p><p>При желании вы также можете создать объект <vendorCreateLink>Поставщика</vendorCreateLink> для компании, производящий филамент, если хотите отслеживать эту информацию.</p><p>У вас есть возможность связать Spoolman с другими службами 3D-принтеров, например Moonraker, который может автоматически отслеживать использование филамента и обновлять объекты Катушек для вас. Обратитесь к <readmeLink>Spoolman README</readmeLink> для получения инструкций по настройке.</p>",
"description": "<title>Помощь</title><p>Вот несколько советов, которые помогут вам начать</p><p>Spoolman хранит 3 различных типа данных:</p><itemsHelp/><p>Чтобы добавить новую катушку в базу данных, начните с создания объекта <filamentCreateLink>Филамент</filamentCreateLink>. Как только это будет сделано, приступайте к созданию объекта <spoolCreateLink>Катушка</spoolCreateLink> для этой конкретной катушки. Если позже вы приобретете дополнительные катушки того же филамента, просто создайте дополнительные объекты катушек и повторно используйте тот же объект Филамент.</p><p>При желании вы также можете создать объект <vendorCreateLink>Производитель</vendorCreateLink> для компании, производящий филамент, если хотите отслеживать эту информацию.</p><p>У вас есть возможность связать Spoolman с другими службами 3D-принтеров, например Moonraker, который может автоматически отслеживать использование филамента и обновлять объекты Катушек для вас. Обратитесь к <readmeLink>Spoolman README</readmeLink> для получения инструкций по настройке.</p>",
"help": "Помощь"
},
"kofi": "Поддержите меня на Ko-fi",
"home": {
"home": "Главная"
"home": "Главная",
"welcome": "Добро пожаловать в ваш личный Spoolman!",
"description": "Похоже, что вы ещё не добавили ни одной катушки. Посетите <helpPageLink>Страницу помощи</helpPageLink>, для комфортного начала."
},
"settings": {
"extra_fields": {
@@ -334,8 +391,22 @@
"tab": "Общие",
"currency": {
"label": "Валюта"
},
"base_url": {
"label": "Базовый URL-адрес",
"tooltip": "Базовый URL-адрес, используемый при создании таких функций, как QR-коды."
},
"round_prices": {
"tooltip": "Округлять цены до ближайшего целого числа.",
"label": "Округлять цены"
}
},
"settings": "Настройки"
},
"locations": {
"no_locations_help": "Эта страница позволяет организовать катушки по местоположениям. Добавьте несколько катушек, чтобы начать!",
"locations": "Местоположения",
"new_location": "Новое местоположение",
"no_location": "Нет местоположения"
}
}
+39
View File
@@ -0,0 +1,39 @@
{
"buttons": {
"clone": "Klonovať",
"archive": "Archivovať",
"create": "Vytvoriť",
"save": "Uložiť",
"saveAndAdd": "Uložiť Ako",
"logout": "Odhlásiť",
"delete": "Zmazať",
"edit": "Editovať",
"cancel": "Zrušiť",
"confirm": "Ste si istý?",
"continue": "Pokračovať",
"filter": "Filter",
"clear": "Vyčistiť",
"refresh": "Obnoviť",
"show": "Zobraziť",
"import": "Importovať",
"undo": "Späť",
"hideArchived": "Skryť Archivované",
"showArchived": "Zobraziť Archivované",
"notAccessTitle": "Nedostatočné oprávnenia na prístup"
},
"actions": {
"create": "Vytvoriť",
"edit": "Editovať",
"show": "Zobraziť",
"clone": "Klonovať",
"list": "Zoznam"
},
"notifications": {
"success": "Hotovo",
"error": "Chyba (status code: {{statusCode}})",
"undoable": "Máte {{seconds}} sekúnd do undo.",
"editSuccess": "Úspešne upravené {{resource}}",
"editError": "Chyba pri editácii {{resource}} (status kód: {{statusCode}})",
"importProgress": "Import: {{processed}}/{{total}}"
}
}
+401
View File
@@ -0,0 +1,401 @@
{
"actions": {
"list": "Seznam",
"create": "Ustvari",
"edit": "Uredi",
"show": "Prikaži",
"clone": "Podvoji"
},
"buttons": {
"create": "Ustvari",
"save": "Shrani",
"saveAndAdd": "Shrani in dodaj",
"logout": "Odjava",
"delete": "Izbriši",
"edit": "Uredi",
"cancel": "Prekliči",
"confirm": "Ste prepričani?",
"continue": "Nadaljuj",
"filter": "Filter",
"clear": "Počisti",
"refresh": "Osveži",
"show": "Prikaži",
"undo": "Razveljavi",
"import": "Uvozi",
"clone": "Podvoji",
"archive": "Arhiviraj",
"unArchive": "Odstrani iz arhiva",
"hideArchived": "Skrij arhiv",
"showArchived": "Prikaži arhiv",
"notAccessTitle": "Nimate dovoljenja za dostop",
"hideColumns": "Skrij stolpce",
"clearFilters": "Počisti filtre"
},
"notifications": {
"saveSuccessful": "Uspešno shranjeno!",
"success": "Uspešno",
"error": "Napaka (status code: {{statusCode}})",
"undoable": "Imate {{seconds}} s časa za preklic.",
"createSuccess": "Uspešno ustvarjeno {{resource}}",
"createError": "Pri ustvarjanju {{resource}} je prišlo do napake (status code: {{statusCode}})",
"deleteSuccess": "{{resource}} uspešno izbrisano",
"deleteError": "Napaka pri brisanju {{resource}} (status code: {{statusCode}})",
"editSuccess": "{{resource}} uspešno urejeno",
"editError": "Napaka pri urejanju {{resource}} (status code:{{statusCode}})",
"importProgress": "Uvažanje: {{processed}}/{{total}}",
"validationError": "Napaka overjanja: {{error}}"
},
"loading": "Nalaganje",
"version": "Verzija",
"unknown": "Neznano",
"yes": "Da",
"no": "Ne",
"tags": {
"clone": "Podvoji"
},
"dashboard": {
"title": "Nadzorna plošča"
},
"printing": {
"generic": {
"title": "Tiskanje",
"print": "Natisni",
"columns": "Stolpci",
"rows": "Vrste",
"paperSize": "Velikost papirja",
"customSize": "Po meri",
"dimensions": "Dimenzije",
"showBorder": "Prikaži obrobo",
"layoutSettings": "Nastavitve postavitve",
"contentSettings": "Nastavitve vsebine",
"description": "Prilagodite spodnje nastavitve, da dobite želeno postavitev tiskanja. Upoštevajte, da lahko tiskalniki in vaš operacijski sistem uporabijo svoje robove in merilo, zato boste morda morali nekajkrat poskusiti, preden bo vse pravilno. Preizkusite to na navadnem listu papirja, preden natisnete na dejanske nalepke.",
"helpMargin": "Robove je treba nastaviti tako, da ustrezajo papirju za nalepke in tiskalniku; njihova sprememba bo vplivala na velikost celotne mreže.",
"helpPrinterMargin": "Varnostno območje je treba nastaviti glede na to, kako blizu roba papirja lahko tiskalnik tiska; sprememba teh nastavitev ne bo vplivala na celotno mrežo.",
"previewScale": "Merilo predogleda",
"skipItems": "Preskoči elemente",
"itemCopies": "Kopije elementov",
"horizontalSpacing": "Vodoraven razmik",
"verticalSpacing": "Navpičen razmik",
"marginLeft": "Lev rob",
"marginRight": "Desen rob",
"marginTop": "Zgornji rob",
"marginBottom": "Spodnji rob",
"printerMarginLeft": "Varno območje levo",
"printerMarginRight": "Varno območje desno",
"printerMarginTop": "Varno območje zgoraj",
"printerMarginBottom": "Varno območje spodaj",
"borders": {
"none": "Brez",
"border": "Obroba",
"grid": "Mreža"
},
"settings": "Prednastavitve",
"defaultSettings": "Privzeto",
"addSettings": "Dodaj novo prednastavitev",
"newSetting": "Nov",
"duplicateSettings": "Podvoji",
"deleteSettings": "Izbriši trenutno prednastavitev",
"deleteSettingsConfirm": "Ali ste prepričani, da želite izbrisati to prednastavitev?",
"settingsName": "Ime prednastavitve",
"saveSetting": "Shrani prednastavitve",
"saveAsImage": "Shrani kot sliko"
},
"qrcode": {
"button": "Natisni nalepke",
"title": "Tiskanje nalepk",
"template": "Predloga nalepke",
"templateHelp": "Uporabite {}, da vstavite vrednosti objekta kolut kot besedilo. Na primer, {id} bo nadomeščen z identifikacijsko številko koluta, {filament.material} pa z materialom koluta. Če vrednost manjka, bo nadomeščena z znakom »?«. To lahko odstranite z dodatnim nizom {}. Poleg tega bo vsak tekst med sklopi {} odstranjen, če vrednost manjka. Na primer, {Lot Nr: {lot_nr}} bo prikazal etiketo le, če ima kolut številko serije. Tekst obdajte z dvojno zvezdico **, da bo poudarjen. Kliknite gumb, da si ogledate seznam vseh razpoložljivih oznak.",
"showContent": "Natisni nalepko",
"textSize": "Velikost besedila na nalepki",
"useHTTPUrl": {
"label": "Povezava QR kode",
"options": {
"default": "Privzeto",
"url": "URL"
},
"preview": "Predogled:",
"tooltip": "Uporabljena bo lastniška povezava, ki bo delovala le, če jo skenirate s Kolutarjevo funkcijo skeniranja (privzeto). URL uporablja osnovni URL, določen v nastavitvah, ali pa URL trenutne strani, če ta ni nastavljen."
},
"showQRCode": "Natisni QR kodo",
"showQRCodeMode": {
"no": "Ne",
"simple": "Preprosto",
"withIcon": "Z ikono"
}
},
"spoolSelect": {
"description": "Izberite kolute, za katere želite natisniti nalepke.",
"title": "Izberite kolute",
"showArchived": "Prikaži arhiv",
"noSpoolsSelected": "Niste izbrali kolutov.",
"selectedTotal_one": "Izbran {{count}} kolut",
"selectedTotal_two": "Izbrana {{count}} koluta",
"selectedTotal_few": "Izbrani {{count}} koluti",
"selectedTotal_other": "Izbranih {{count}} kolutov",
"selectAll": "Izberi/Odstrani izbiro vseh"
}
},
"warnWhenUnsavedChanges": "Ali ste prepričani, da želite zapustiti stran? Imate ne shranjene spremembe.",
"kofi": "Prispevajte na Ko-fi",
"spool": {
"form": {
"measurement_type_label": "Vrsta meritve",
"measurement_type": {
"length": "Dolžina",
"weight": "Masa"
},
"adjust_filament_value": "Porabljena količina",
"new_location_prompt": "Vnesite novo lokacijo",
"adjust_filament_help": "Tukaj lahko neposredno odvzemate ali dodajate filament na kolut. Pozitivna vrednost pomeni porabo filamenta, negativna vrednost pa njegovo dodajanje.",
"spool_updated": "Ta kolut je spremenil nekdo drug, odkar ste odprli stran. Shranjevanje bo te spremembe prepisalo!"
},
"spool": "Koluti",
"fields": {
"id": "ID",
"filament_name": "Filament",
"filament": "Filament",
"filament_internal": "Notranje",
"filament_external": "Zunanje",
"price": "Cena",
"material": "Material",
"weight_to_use": "Masa",
"used_weight": "Porabljena masa",
"remaining_weight": "Preostala masa",
"measured_weight": "Izmerjena masa",
"used_length": "Porabljena dolžina",
"remaining_length": "Preostala dolžina",
"initial_weight": "Začetna masa",
"spool_weight": "Prazna masa",
"location": "Lokacija",
"lot_nr": "Št. serije",
"first_used": "Prvič uporabljeno",
"last_used": "Zadnjič uporabljeno",
"registered": "Registrirano",
"comment": "Komentar",
"archived": "Arhivirano"
},
"fields_help": {
"price": "Cena polnega koluta. Če ta vrednost ni nastavljena, se namesto nje upošteva cena filamenta.",
"weight_to_use": "Izberite, katero vrednost mase želite vnesti. Izmerjena masa je na voljo le, če je za izbran filament nastavljena masa koluta.",
"used_weight": "Koliko filamenta je bilo porabljenega s koluta. Pri novem kolutu je vrednost 0 g.",
"remaining_weight": "Koliko filamenta je še na kolutu. Pri novem kolutu se ta količina ujema z maso koluta.",
"measured_weight": "Koliko tehtata filament in kolut.",
"initial_weight": "Začetna masa filamenta na kolutu (neto masa). Če ta vrednost ni nastavljena, se uporabi masa iz objekta filamenta.",
"spool_weight": "Masa praznega koluta. Pustite prazno, če želite uporabiti vrednost, navedeno pri filamentu ali pri proizvajalcu.",
"location": "Kje se nahaja kolut, če imate več mest za shranjevanje.",
"lot_nr": "Številka serije proizvajalca. Uporablja se za zagotavljanje barvne doslednosti tiska, če se uporablja več kolutov.",
"external_filament": "Izbrali ste filament iz zunanje zbirke podatkov. Ob ustvarjanju koluta se bo samodejno ustvaril objekt filamenta (in morebiti tudi objekt proizvajalca). Če ste za ta filament že ustvarili objekt filamenta, lahko to povzroči nastanek podvojenih objektov filamenta."
},
"titles": {
"create": "Ustvari kolut",
"clone": "Podvoji kolut",
"edit": "Uredi kolut",
"list": "Koluti",
"show": "Prikaži kolut",
"show_title": "[Kolut #{{id}}] {{name}}",
"archive": "Arhiviraj kolut",
"adjust": "Prilagodi filament koluta"
},
"messages": {
"archive": "Ali res želite arhivirati ta kolut?"
},
"formats": {
"last_used": "Nazadnje uporabljeno: {{date}}"
}
},
"settings": {
"general": {
"currency": {
"label": "Valuta"
},
"base_url": {
"label": "Osnovni URL",
"tooltip": "Osnoven URL, ki se uporablja pri ustvarjanju elementov, kot npr. QR-kode."
},
"round_prices": {
"label": "Zaokrožene cene",
"tooltip": "Zaokroži cene na najbližje celo število."
},
"tab": "Splošno"
},
"settings": "Nastavitve",
"header": "Nastavitve",
"extra_fields": {
"tab": "Dodatna polja",
"params": {
"key": "Ključ",
"name": "Ime",
"field_type": "Tip",
"unit": "Enota",
"order": "Zaporedje",
"default_value": "Privzeta vrednost",
"choices": "Izbire",
"multi_choice": "Več izbir"
},
"field_type": {
"text": "Besedilo",
"integer": "Celo število",
"integer_range": "Območje celih števil",
"float": "Decimalno število",
"float_range": "Območje decimalnih števil",
"datetime": "Datum in čas",
"boolean": "Logična vrednost",
"choice": "Izbira"
},
"boolean_true": "Da",
"boolean_false": "Ne",
"non_unique_key_error": "Ključ mora biti edinstven.",
"key_not_changed": "Spremenite geslo v nekaj drugega.",
"delete_confirm": "Zbrišem polje {{name}}?",
"delete_confirm_description": "S tem boste izbrisali polje in vse povezane podatke za vse vnose.",
"description": "<p>Tukaj lahko svojim entitetam dodate dodatna polja po meri.</p><p>Ko je polje dodano, njegovega ključa ali tipa ni mogoče spremeniti, pri poljih tipa »izbira« pa ni mogoče odstraniti možnosti ali spremeniti nastavitve za večkratno izbiro. Če polje odstranite, bodo povezani podatki za vse entitete izbrisani.</p><p>Ključ je tisto, kar drugi programi uporabljajo za branje/pisanje podatkov, zato če naj bi se vaše polje po meri integriralo s programom tretje osebe, poskrbite, da ga nastavite pravilno. Privzeta vrednost se uporablja le za nove elemente.</p><p>Dodatna polja ni mogoče razvrstiti ali filtrirati v pogledih tabel.</p>",
"choices_missing_error": "Možnosti ni mogoče odstraniti. Manjkajo naslednje možnosti: {{choices}}"
}
},
"scanner": {
"title": "Čitalnik QR kode",
"description": "Preberite Kolutarjevo QR kodo za ogled podrobnosti o kolutu.",
"error": {
"notAllowed": "Niste omogočili dostopa do kamere.",
"insecureContext": "Stran ni dostopna prek protokola HTTPS.",
"streamApiNotSupported": "Brskalnik ne podpira MediaStream API.",
"notReadable": "Kamere ni mogoče prebrati.",
"notFound": "Kamere ni bilo mogoče najti.",
"unknown": "Prišlo je do neznane napake. ({{error}})"
}
},
"filament": {
"filament": "Filamenti",
"fields": {
"id": "ID",
"vendor_name": "Proizvajalec",
"vendor": "Proizvajalec",
"name": "Ime",
"material": "Material",
"price": "Cena",
"density": "Gostota",
"diameter": "Premer",
"weight": "Masa",
"spool_weight": "Masa koluta",
"article_number": "Številka izdelka",
"registered": "Registrirano",
"comment": "Komentar",
"settings_extruder_temp": "Temperatura ekstruderja",
"settings_bed_temp": "Temperatura mize",
"color_hex": "Barva",
"single_color": "Enobarvno",
"multi_color": "Večbarvno",
"external_id": "Zunanji ID",
"spools": "Prikaži kolute",
"longitudinal": "Vzdolžno",
"coaxial": "Soosno"
},
"fields_help": {
"material": "Npr. PLA, ABS, PETG itd.",
"price": "Cena polnega koluta.",
"article_number": "Npr. EAN, UPC itd.",
"name": "Ime filamenta, ki omogoča razlikovanje tega tipa filamenta od drugih izdelkov istega proizvajalca. Vsebovati mora, na primer, barvo.",
"weight": "Masa filamenta na polnem kolutu (neto masa). V to se ne sme vključiti mase samega koluta, temveč le masa filamenta. To je običajno navedeno na embalaži.",
"spool_weight": "Masa praznega koluta. Uporablja se za določitev izmerjene mase koluta.",
"multi_color_direction": "Filamenti imajo lahko več barv na dva načina: bodisi s sočasnim iztiskom, kot na primer dvobarvni filamenti z enakomerno porazdeljenimi večbarvnimi odtenki, bodisi z vzdolžnimi barvnimi prehodi, kot na primer filamenti z barvnim prehodom, pri katerih se barva spreminja po dolžini koluta."
},
"titles": {
"create": "Ustvari filament",
"clone": "Podvoji filament",
"edit": "Uredi filament",
"list": "Filamenti",
"show": "Prikaži filament",
"show_title": "[Filament #{{id}}]{{name}}"
},
"form": {
"import_external": "Uvozi iz zunanjih",
"filament_updated": "Ta filament je spremenil nekdo drug, odkar ste odprli stran. Shranjevanje bo te spremembe prepisalo!",
"import_external_description": "Izberite filament s seznama, da se njegovi podatki samodejno vpišejo v obrazec za ustvarjanje filamenta. S tem se bodo nadomestili vsi podatki, ki ste jih vnesli v obrazec.<br><br>Ob kliku na »V redu« se bo po potrebi samodejno ustvaril objekt »Proizvajalec«."
},
"buttons": {
"add_spool": "Dodaj kolut"
}
},
"vendor": {
"vendor": "Proizvajalci",
"fields": {
"id": "ID",
"name": "Ime",
"empty_spool_weight": "Masa praznega koluta",
"external_id": "Zunanji ID",
"registered": "Registrirano",
"comment": "Komentar"
},
"titles": {
"create": "Ustvari proizvajalca",
"clone": "Podvoji proizvajalca",
"edit": "Uredi proizvajalca",
"list": "Proizvajalci",
"show": "Prikaži proizvajalca",
"show_title": "[Proizvajalec #{{id}}] {{name}}"
},
"form": {
"vendor_updated": "Ta proizvajalec je spremenil nekdo drug, odkar ste odprli stran. Shranjevanje bo te spremembe prepisalo!"
},
"fields_help": {
"empty_spool_weight": "Masa praznega koluta tega proizvajalca."
}
},
"home": {
"home": "Dom",
"welcome": "Dobrodošli v Kolutarju!",
"description": "Izgleda, da še niste dodali nobenih kolutov. Za pomoč pri začetku si oglejte <helpPageLink>pomoč</helpPageLink>."
},
"help": {
"help": "Pomoč",
"resources": {
"vendor": "Podjetja, ki proizvajajo filament.",
"filament": "Znamke filamentov. Imajo lastnosti, kot so ime, material, barva, premer in drugo.",
"spool": "Posamezni fizični koluti določenega filamenta."
},
"description": "<title>Pomoč</title><p>Tukaj je nekaj nasvetov za začetek.</p><p>Kolutar hrani 3 različne vrste podatkov:</p><itemsHelp/><p>Če želite v bazo podatkov dodati nov kolut, najprej ustvarite objekt <filamentCreateLink>Filament</filamentCreateLink>. Ko to storite, nadaljujte z ustvarjanjem objekta <spoolCreateLink>Kolut</spoolCreateLink> za ta določen kolut. Če kasneje pridobite dodatne kolute istega filamenta, preprosto ustvarite dodatne kolutne objekte in ponovno uporabite isti filamentni objekt.</p><p>Po želji lahko ustvarite tudi objekt <vendorCreateLink>Proizvajalec</vendorCreateLink> za podjetje, ki proizvaja filament, če želite slediti tem informacijam. </p><p>Imate možnost povezati druge storitve za 3D-tiskalnike s Kolutarjem, na primer Moonraker, ki lahko samodejno spremlja porabo filamenta in posodablja objekte koluta za vas. Navodila za nastavitev najdete v Kolutarjevi <readmeLink>README</readmeLink> datoteki.</p>"
},
"table": {
"actions": "Dejanja"
},
"documentTitle": {
"default": "Kolutar",
"suffix": " | Kolutar",
"home": {
"list": "Dom | Kolutar"
},
"help": {
"list": "Pomoč | Kolutar"
},
"locations": {
"list": "Lokacije | Kolutar"
},
"filament": {
"list": "Filamenti | Kolutar",
"show": "Prikaži filament #{{id}} | Kolutar",
"edit": "Uredi filament #{{id}} | Kolutar",
"create": "Ustvari filament | Kolutar",
"clone": "Podvoji filament #{{id}} | Kolutar"
},
"spool": {
"list": "Koluti | Kolutar",
"show": "Prikaži kolut #{{id}} | Kolutar",
"edit": "Uredi kolut #{{id}} | Kolutar",
"create": "Ustvari kolut | Kolutar",
"clone": "Podvoji kolut #{{id}} | Kolutar"
},
"vendor": {
"list": "Proizvajalci | Kolutar",
"show": "Prikaži proizvajalca #{{id}} | Kolutar",
"edit": "Uredi proizvajalca #{{id}} | Kolutar",
"create": "Ustvari proizvajalca | Kolutar",
"clone": "Podvoji proizvajalca #{{id}} | Kolutar"
}
},
"locations": {
"locations": "Lokacije",
"new_location": "Nova lokacija",
"no_location": "Brez lokacije",
"no_locations_help": "Na tej strani lahko kolute razvrstite po lokacijah. Za začetek dodajte nekaj kolutov."
}
}
+88 -17
View File
@@ -28,7 +28,8 @@
"notAccessTitle": "Du har inte tillgång till denna sida",
"hideColumns": "Dölj kolumner",
"clearFilters": "Rensa filter",
"saveAndAdd": "Spara och Lägg till"
"saveAndAdd": "Spara och Lägg till",
"continue": "Fortsätt"
},
"warnWhenUnsavedChanges": "Är du säker på att du vill lämna sidan? Du har osparade ändringar.",
"notifications": {
@@ -87,29 +88,57 @@
"none": "Ingen",
"border": "Ram",
"grid": "Rutnät"
}
},
"defaultSettings": "Standard",
"newSetting": "Ny",
"settingsName": "Inställningsnamn",
"deleteSettingsConfirm": "Är du säker på att du vill radera den nuvarande inställningen?",
"itemCopies": "Kopior",
"settings": "Inställningar",
"addSettings": "Skapa inställning",
"saveSetting": "Spara inställningar",
"duplicateSettings": "Duplicera",
"deleteSettings": "Radera nuvarande inställning",
"saveAsImage": "Spara som bild"
},
"qrcode": {
"button": "Skriv ut QR-koder",
"title": "QR-kod utskrift",
"button": "Skriv ut etiketter",
"title": "Etikettutskrift",
"spoolWeight": "Spolvikt: {{weight}}",
"lotNr": "Batch: {{lot}}",
"bedTemp": "BT: {{temp}}",
"extruderTemp": "ET: {{temp}}",
"textSize": "Textstorlek",
"showSpoolmanIcon": "Visa Spoolman-ikon",
"showContent": "Etikett",
"showContent": "Visa text",
"showVendor": "Tillverkare",
"showLotNr": "Batchnummer",
"showSpoolWeight": "Spolvikt",
"showTemperatures": "Temperaturer",
"showSpoolComment": "Spolkommentar",
"showFilamentComment": "Filamentkommentar",
"showVendorComment": "Tillverkarkommentar"
"showVendorComment": "Tillverkarkommentar",
"template": "Textmall",
"templateHelp": "Använd {} för att infoga värden från spolobjektet som text. Till exempel kommer {id} att ersättas med spolens id, eller {filament.material} att ersättas med filamentets material. Omslut text med dubbla asterisker ** för att göra den fetstilad. Klicka på knappen för att visa en lista över alla tillgängliga taggar.",
"showQRCode": "Visa QR-kod",
"showQRCodeMode": {
"no": "Nej",
"simple": "Enkel",
"withIcon": "Med logga"
},
"useHTTPUrl": {
"options": {
"default": "",
"url": ""
},
"preview": "",
"tooltip": "",
"label": ""
}
},
"spoolSelect": {
"title": "Välj spolar",
"description": "Välj spolar att skriva ut QR-koder för.",
"description": "Välj spolar att skriva ut etiketter för.",
"showArchived": "Tillåt arkiverade",
"noSpoolsSelected": "Du har inte valt några spolar.",
"selectAll": "Markera/avmarkera alla",
@@ -151,7 +180,9 @@
"weight_to_use": "Vikt",
"price": "Pris",
"initial_weight": "Initial Vikt",
"spool_weight": "Tom Vikt"
"spool_weight": "Tom Vikt",
"filament_internal": "Interna",
"filament_external": "Externa"
},
"fields_help": {
"used_weight": "Hur mycket filament som använts på spolen. En ny spole har värdet 0g.",
@@ -162,7 +193,8 @@
"remaining_weight": "Hur mycket filament som finns kvar på spolen. För en ny spole så är detta det värdet som står på etiketten.",
"price": "Pris för en hel rulle. Om det inte är inställt kommer priset för filamentet istället att antas.",
"initial_weight": "Ursprungsvikt av filament på spolen (nettovikt). Om du inte sätter detta så tas vikten från filamentobjektet.",
"spool_weight": "Vikten på en tom spole. Lämna tom för att ta värdet från filament- eller tillverkarobjektet."
"spool_weight": "Vikten på en tom spole. Lämna tom för att ta värdet från filament- eller tillverkarobjektet.",
"external_filament": "Du har valt ett filament från den externa databasen. Ett filamentobjekt (och eventuellt ett tillverkarobjekt) kommer att skapas automatiskt när du skapar denna spole. Detta kan skapa duplicerade filamentobjekt om du redan har skapat ett filamentobjekt för denna filament."
},
"titles": {
"create": "Skapa spole",
@@ -171,14 +203,25 @@
"list": "Spolar",
"show": "Visa spole",
"archive": "Arkivera spole",
"show_title": "[Spole #{{id}}] {{name}}"
"show_title": "[Spole #{{id}}] {{name}}",
"adjust": "Justera Spolmängd"
},
"messages": {
"archive": "Är du säker på att du vill arkivera denna spole?"
},
"form": {
"new_location_prompt": "Fyll i en ny plats",
"spool_updated": "Den här spolen har uppdaterats av något eller någon sedan du öppnade den här sidan. Om du sparar så skriver du över ändringarna!"
"spool_updated": "Den här spolen har uppdaterats av något eller någon sedan du öppnade den här sidan. Om du sparar så skriver du över ändringarna!",
"measurement_type": {
"length": "Längd",
"weight": "Vikt"
},
"measurement_type_label": "Mättyp",
"adjust_filament_value": "Mängd att konsumera",
"adjust_filament_help": "Här kan du direkt lägga till eller subtrahera filament från spolen. Ett positivt värde kommer att konsumera filament, ett negativt värde kommer att lägga till det."
},
"formats": {
"last_used": "Senast använd {{date}}"
}
},
"filament": {
@@ -200,7 +243,12 @@
"settings_extruder_temp": "Extrudertemp",
"settings_bed_temp": "Bäddtemp",
"color_hex": "Färg",
"spools": "Visa spolar"
"spools": "Visa spolar",
"single_color": "Enkel",
"multi_color": "Flerfärgad",
"coaxial": "Coextruderad",
"longitudinal": "Longitudinell",
"external_id": "Externt ID"
},
"fields_help": {
"name": "Filamentets namn, för att skilja detta filament från andra från samma tillverkare. Bör innehålla färgen till exempel.",
@@ -208,7 +256,8 @@
"price": "Pris för en full spole.",
"weight": "Vikten på en full spole (nettovikt). Detta ska inte inkludera vikten på spolen själv, bara filamentet. Det är vad som vanligtvis står på förpackningen.",
"spool_weight": "Vikten på en tom spole. Används för att beräkna filamentvikten från en vägning.",
"article_number": "T.ex. EAN, UPC, etc."
"article_number": "T.ex. EAN, UPC, etc.",
"multi_color_direction": "Filament kan ha flera färger på två sätt: antingen genom coextrudering, så som två-färgs filament med konsekventa multifärger, eller genom longitudinella färgförändringar, så som gradientfilament som skiftar färger längs spolen."
},
"titles": {
"create": "Skapa filament",
@@ -219,7 +268,9 @@
"show_title": "[Filament #{{id}}] {{name}}"
},
"form": {
"filament_updated": "Det här filamentet har uppdaterats av något eller någon sedan du öppnade den här sidan. Om du sparar så skriver du över ändringarna!"
"filament_updated": "Det här filamentet har uppdaterats av något eller någon sedan du öppnade den här sidan. Om du sparar så skriver du över ändringarna!",
"import_external": "Importera från externt",
"import_external_description": "Välj ett filament i listan för att automatiskt fylla dess detaljer i formuläret. Detta kommer att skriva över alla data som du har angett i formuläret.<br><br>Ett tillverkarobjekt skapas automatiskt när du klickar på Ok, om det behövs."
},
"buttons": {
"add_spool": "Skapa Spole"
@@ -232,7 +283,8 @@
"name": "Namn",
"registered": "Registrerad",
"comment": "Kommentar",
"empty_spool_weight": "Tom spolvikt"
"empty_spool_weight": "Tom spolvikt",
"external_id": "Externt ID"
},
"titles": {
"create": "Skapa tillverkare",
@@ -250,7 +302,9 @@
}
},
"home": {
"home": "Hem"
"home": "Hem",
"welcome": "",
"description": ""
},
"table": {
"actions": "Åtgärder"
@@ -262,6 +316,14 @@
"tab": "Allmänt",
"currency": {
"label": "Valuta"
},
"base_url": {
"tooltip": "",
"label": ""
},
"round_prices": {
"label": "",
"tooltip": ""
}
},
"extra_fields": {
@@ -325,6 +387,9 @@
},
"help": {
"list": "Hjälp | Spoolman"
},
"locations": {
"list": ""
}
},
"help": {
@@ -336,5 +401,11 @@
"description": "<title>Hjälp</title><p>Här är några tips för att komma igång.</p><p>Spoolman innehåller 3 olika typer av data:</p><itemsHelp/><p>För att lägga till en ny spole i databasen måste du först skapa ett <filamentCreateLink>Filament</filamentCreateLink>-objekt för den. När det är klart kan du sedan skapa ett <spoolCreateLink>Spol</spoolCreateLink>-objekt för den individuella spolen. Om du sedan köper ytterligare spolar av samma filament kan du bara skapa ytterligare Spol-objekt och återanvända samma Filament-objekt.</p><p>Du kan valfritt också skapa ett <vendorCreateLink>Tillverkar</vendorCreateLink>-objekt för företaget som tillverkar filamentet om du vill spåra den informationen.</p><p>Du kan koppla andra 3D-skrivartjänster till Spoolman, som Moonraker, som sedan automatiskt kan spåra filamentanvändning och uppdatera Spol-objekten åt dig. Se <readmeLink>Spoolman README</readmeLink> för hur du gör det.</p>",
"help": "Hjälp"
},
"kofi": "Dricksa mig på Ko-fi"
"kofi": "Dricksa mig på Ko-fi",
"locations": {
"new_location": "Ny plats",
"no_location": "Ingen plats",
"locations": "",
"no_locations_help": ""
}
}
+399
View File
@@ -0,0 +1,399 @@
{
"buttons": {
"hideArchived": "காப்பகப்படுத்தப்பட்டதை மறைக்கவும்",
"create": "உருவாக்கு",
"save": "சேமி",
"saveAndAdd": "சேமித்து சேர்க்கவும்",
"logout": "விடுபதிகை",
"delete": "நீக்கு",
"edit": "தொகு",
"cancel": "ரத்துசெய்",
"confirm": "நீங்கள் உறுதியாக இருக்கிறீர்களா?",
"continue": "தொடரவும்",
"filter": "வடிப்பி",
"clear": "தெளிவான",
"refresh": "புதுப்பிப்பு",
"show": "காட்டு",
"undo": "செயல்தவிர்",
"import": "இறக்குமதி",
"clone": "நகலி",
"archive": "காப்பகம்",
"unArchive": "அன்கான்",
"showArchived": "காப்பகப்படுத்தப்பட்டதைக் காட்டு",
"notAccessTitle": "அணுக உங்களுக்கு இசைவு இல்லை",
"hideColumns": "நெடுவரிசைகளை மறைக்கவும்",
"clearFilters": "தெளிவான வடிப்பான்கள்"
},
"printing": {
"generic": {
"itemCopies": "உருப்படி நகல்கள்",
"title": "அச்சிடுதல்",
"description": "விரும்பிய அச்சு தளவமைப்பைப் பெற கீழேயுள்ள அமைப்புகளில் டியூன் செய்யுங்கள். அச்சுப்பொறிகளும் உங்கள் ஓஎச்வும் அதன் சொந்த ஓரங்கள் மற்றும் அளவிடுதலைப் பயன்படுத்தலாம் என்பதை நினைவில் கொள்ளுங்கள், எனவே இவை அனைத்தும் சரியானதாக இருப்பதற்கு முன்பு நீங்கள் சில சோதனை மற்றும் பிழை செய்ய வேண்டியிருக்கும். உண்மையான லேபிள்களில் அச்சிடுவதற்கு முன் வழக்கமான காகிதத்தில் அதை சோதிக்கவும்.",
"helpMargin": "உங்கள் சிட்டை காகிதம் மற்றும் அச்சுப்பொறியுடன் பொருந்தக்கூடிய வகையில் விளிம்புகள் கட்டமைக்கப்பட வேண்டும், இவற்றை மாற்றுவது முழு கட்டத்தின் அளவையும் பாதிக்கும்.",
"helpPrinterMargin": "உங்கள் அச்சுப்பொறி எவ்வளவு நெருக்கமாக அச்சிட முடியும் என்பதற்கு பாதுகாப்பான-மண்டலத்தை அமைக்க வேண்டும், இவற்றை மாற்றுவது முழு கட்டத்தையும் பாதிக்காது.",
"print": "அச்சிடுக",
"columns": "நெடுவரிசைகள்",
"rows": "வரிசைகள்",
"paperSize": "காகித அளவு",
"customSize": "தனிப்பயன்",
"dimensions": "பரிமாணங்கள்",
"showBorder": "எல்லையைக் காட்டு",
"previewScale": "முன்னோட்டம் அளவு",
"skipItems": "உருப்படிகளைத் தவிர்க்கவும்",
"contentSettings": "உள்ளடக்க அமைப்புகள்",
"layoutSettings": "தளவமைப்பு அமைப்புகள்",
"horizontalSpacing": "கிடைமட்ட இடைவெளி",
"verticalSpacing": "செங்குத்து இடைவெளி",
"marginLeft": "இடது விளிம்பு",
"marginRight": "வலது விளிம்பு",
"marginTop": "மேல் விளிம்பு",
"marginBottom": "கீழ் விளிம்பு",
"printerMarginLeft": "பாதுகாப்பான மண்டலம் இடது",
"printerMarginRight": "பாதுகாப்பான-மண்டல உரிமை",
"printerMarginTop": "பாதுகாப்பான-மண்டல மேல்",
"printerMarginBottom": "பாதுகாப்பான-மண்டல கீழே",
"borders": {
"none": "எதுவுமில்லை",
"border": "எல்லை",
"grid": "வலைவாய்"
},
"settings": "முன்னமைவுகள்",
"defaultSettings": "இயல்புநிலை",
"addSettings": "புதிய முன்னமைவைச் சேர்க்கவும்",
"newSetting": "புதிய",
"duplicateSettings": "நகல்",
"deleteSettings": "தற்போதைய முன்னமைவை நீக்கு",
"deleteSettingsConfirm": "இந்த முன்னமைவை நீக்க விரும்புகிறீர்களா?",
"settingsName": "முன்னமைக்கப்பட்ட பெயர்",
"saveAsImage": "படமாக சேமிக்கவும்",
"saveSetting": "முன்னமைவுகளை சேமிக்கவும்"
},
"qrcode": {
"button": "லேபிள்களை அச்சிடுக",
"title": "சிட்டை அச்சிடுதல்",
"template": "சிட்டை வார்ப்புரு",
"templateHelp": "ச்பூல் பொருளின் மதிப்புகளை உரையாக செருக {} ஐப் பயன்படுத்தவும். எடுத்துக்காட்டாக, {id} ச்பூல் ஐடியுடன் மாற்றப்படும், அல்லது {filament.material} ச்பூலின் பொருள் மூலம் மாற்றப்படும். ஒரு மதிப்பு காணவில்லை என்றால் அது \"?\" இதை அகற்ற {of இன் இரண்டாவது தொகுப்பு பயன்படுத்தப்படலாம். கூடுதலாக, மதிப்பு காணவில்லை எனில் {of இன் தொகுப்புகளுக்கு இடையில் எந்த உரையும் அகற்றப்படும். எடுத்துக்காட்டாக, {lot nr: {lot_nr} எச்பி ச்பூலில் நிறைய எண் இருந்தால் மட்டுமே லேபிளைக் காண்பிக்கும். தைரியமாக மாற்ற இரட்டை ஆச்டெரிக்ச் ** உடன் உரையை இணைக்கவும். கிடைக்கக்கூடிய அனைத்து குறிச்சொற்களின் பட்டியலையும் காண பொத்தானைக் சொடுக்கு செய்க.",
"textSize": "உரை அளவு சிட்டை",
"showContent": "சிட்டை அச்சு",
"useHTTPUrl": {
"label": "QR குறியீடு இணைப்பு",
"tooltip": "ச்பூல்மேனின் ச்கேனிங் அம்சத்திலிருந்து (இயல்புநிலை) ச்கேன் செய்யப்பட்டால் மட்டுமே செயல்படும் தனியுரிம இணைப்பைப் பயன்படுத்தும். அமைப்புகளில் குறிப்பிடப்பட்டுள்ள அடிப்படை முகவரி அல்லது தற்போதைய பக்க முகவரி ஐ அமைக்கவில்லை என்றால் முகவரி பயன்படுத்துகிறது.",
"options": {
"default": "இயல்புநிலை",
"url": "முகவரி"
},
"preview": "முன்னோட்டம்:"
},
"showQRCode": "QR குறியீட்டை அச்சிடுக",
"showQRCodeMode": {
"no": "இல்லை",
"simple": "எளிய",
"withIcon": "ஐகானுடன்"
}
},
"spoolSelect": {
"title": "ச்பூல்களைத் தேர்ந்தெடுக்கவும்",
"description": "லேபிள்களை அச்சிட ச்பூல்களைத் தேர்ந்தெடுக்கவும்.",
"showArchived": "காப்பகப்படுத்தப்பட்டதைக் காட்டு",
"noSpoolsSelected": "நீங்கள் எந்த ச்பூல்களையும் தேர்வு செய்யவில்லை.",
"selectAll": "அனைத்தையும் தேர்ந்தெடு/தேர்வுநீக்கு",
"selectedTotal_one": "{{count}} ச்பூல் தேர்ந்தெடுக்கப்பட்டது",
"selectedTotal_other": "{{count}} spools தேர்ந்தெடுக்கப்பட்டவை"
}
},
"spool": {
"titles": {
"create": "ச்பூலை உருவாக்கவும்",
"clone": "நகலி ச்பூல்",
"edit": "திருத்து ச்பூல்",
"list": "ச்பூல்கள்",
"show": "ச்பூல் காட்டு",
"show_title": "[ச்பூல் #{{id}}] {{name}}",
"archive": "காப்பக ச்பூல்",
"adjust": "ச்பூல் இழை சரிசெய்யவும்"
},
"messages": {
"archive": "இந்த ச்பூலை காப்பகப்படுத்த விரும்புகிறீர்களா?"
},
"spool": "ச்பூல்கள்",
"fields": {
"id": "ஐடி",
"filament_name": "தாள்",
"filament": "தாள்",
"remaining_weight": "மீதமுள்ள எடை",
"filament_internal": "உள்",
"filament_external": "வெளிப்புறம்",
"price": "விலை",
"material": "பொருள்",
"weight_to_use": "எடை",
"used_weight": "பயன்படுத்தப்பட்ட எடை",
"measured_weight": "அளவிடப்பட்ட எடை",
"used_length": "பயன்படுத்தப்பட்ட நீளம்",
"remaining_length": "மீதமுள்ள நீளம்",
"initial_weight": "தொடக்க எடை",
"spool_weight": "வெற்று எடை",
"location": "இடம்",
"lot_nr": "நிறைய இல்லை",
"first_used": "முதலில் பயன்படுத்தப்பட்டது",
"last_used": "கடைசியாக பயன்படுத்தப்பட்டது",
"registered": "பதிவுசெய்யப்பட்டது",
"comment": "கருத்து",
"archived": "காப்பகப்படுத்தப்பட்டது"
},
"fields_help": {
"price": "ஒரு முழு ச்பூலின் விலை. அமைக்கப்படாவிட்டால், அதற்கு பதிலாக இழைகளின் விலை ஏற்றுக்கொள்ளப்படும்.",
"weight_to_use": "என்ன எடை மதிப்பை உள்ளிட வேண்டும் என்பதைத் தேர்ந்தெடுக்கவும். தேர்ந்தெடுக்கப்பட்ட இழைக்கு ச்பூல் எடை அமைக்கப்பட்டால் மட்டுமே அளவிடப்பட்ட எடை கிடைக்கும்.",
"remaining_weight": "ச்பூலில் எவ்வளவு இழை விடப்பட்டுள்ளது. ஒரு புதிய ச்பூலுக்கு இது ச்பூல் எடையுடன் பொருந்த வேண்டும்.",
"used_weight": "ச்பூலில் இருந்து எவ்வளவு இழை பயன்படுத்தப்பட்டுள்ளது. ஒரு புதிய ச்பூல் 0 ஐயா பயன்படுத்தப்பட வேண்டும்.",
"measured_weight": "இழை மற்றும் ச்பூல் எவ்வளவு எடை கொண்டது.",
"initial_weight": "ச்பூலில் (நிகர எடை) இழைகளின் ஆரம்ப எடை. அமைக்காவிட்டால் இழை பொருளிலிருந்து எடையைப் பயன்படுத்தும்.",
"spool_weight": "ச்பூலின் காலியாக இருக்கும்போது அது எடை. இழை அல்லது உற்பத்தியாளரிடமிருந்து மதிப்பைப் பயன்படுத்த காலியாக விடவும்.",
"location": "உங்கள் ச்பூல்களை சேமிக்கும் பல இடங்கள் இருந்தால் ச்பூல் அமைந்துள்ள இடத்தில்.",
"lot_nr": "உற்பத்தியாளரின் நிறைய எண். பல ச்பூல்கள் பயன்படுத்தப்பட்டால் அச்சுக்கு நிலையான வண்ணம் இருப்பதை உறுதிப்படுத்த பயன்படுத்தலாம்.",
"external_filament": "வெளிப்புற தரவுத்தளத்திலிருந்து ஒரு இழை தேர்வு செய்துள்ளீர்கள். இந்த ச்பூலை நீங்கள் உருவாக்கும்போது ஒரு இழை பொருள் (மற்றும் ஒரு உற்பத்தியாளர் பொருள்) தானாக உருவாக்கப்படும். இந்த இழைக்கு நீங்கள் ஏற்கனவே ஒரு இழை பொருளை உருவாக்கியிருந்தால் இது நகல் இழை பொருள்களை உருவாக்க முடியும்."
},
"form": {
"measurement_type": {
"length": "நீளம்",
"weight": "எடை"
},
"measurement_type_label": "அளவீட்டு வகை",
"adjust_filament_help": "இங்கே நீங்கள் நேரடியாக ச்பூலில் இருந்து இழைகளைச் சேர்க்கலாம் அல்லது கழிக்கலாம். நேர்மறையான மதிப்பு இழையை நுகரும், எதிர்மறை மதிப்பு அதைச் சேர்க்கும்.",
"adjust_filament_value": "தொகையை உட்கொள்ளுங்கள்",
"new_location_prompt": "புதிய இடத்தை உள்ளிடவும்",
"spool_updated": "இந்த பக்கத்தைத் திறந்ததிலிருந்து இந்த ச்பூல் யாரோ/வேறு ஏதாவது புதுப்பிக்கப்பட்டுள்ளது. சேமிப்பது அந்த மாற்றங்களை மேலெழுதும்!"
},
"formats": {
"last_used": "கடைசியாக பயன்படுத்தப்பட்ட {{date}}"
}
},
"filament": {
"fields": {
"coaxial": "இணை",
"longitudinal": "நீளமான",
"external_id": "வெளிப்புற ஐடி",
"id": "ஐடி",
"vendor_name": "உற்பத்தியாளர்",
"vendor": "உற்பத்தியாளர்",
"name": "பெயர்",
"material": "பொருள்",
"price": "விலை",
"density": "அடர்த்தி",
"diameter": "விட்டம்",
"weight": "எடை",
"spool_weight": "ச்பூல் எடை",
"article_number": "கட்டுரை எண்",
"registered": "பதிவுசெய்யப்பட்டது",
"comment": "கருத்து",
"settings_extruder_temp": "எக்ச்ட்ரூடர் தற்காலிக",
"settings_bed_temp": "படுக்கை தற்காலிக",
"color_hex": "நிறம்",
"single_color": "ஒற்றை",
"multi_color": "பல",
"spools": "ச்பூல்களைக் காட்டு"
},
"fields_help": {
"article_number": "எ.கா. EAN, UPC, முதலியன.",
"material": "எ.கா. பி.எல்.ஏ, ஏபிஎச், பெட்சி, முதலியன.",
"name": "இழை பெயர், இந்த இழை வகையை ஒரே உற்பத்தியாளரிடமிருந்து வேறுபடுத்துவதற்கு. உதாரணமாக வண்ணம் இருக்க வேண்டும்.",
"price": "ஒரு முழு ச்பூலின் விலை.",
"weight": "ஒரு முழு ச்பூலின் இழை எடை (நிகர எடை). இதில் ச்பூலின் எடையை சேர்க்கக்கூடாது, இழை மட்டுமே. இது பொதுவாக பேக்கேசிங்கில் எழுதப்படுகிறது.",
"spool_weight": "வெற்று ச்பூலின் எடை. ஒரு ச்பூலின் அளவிடப்பட்ட எடையை தீர்மானிக்கப் பயன்படுகிறது.",
"multi_color_direction": "இழைகள் இரண்டு வழிகளில் பல வண்ணங்களைக் கொண்டிருக்கலாம்: சகாக்களின் மூலம், நிலையான பல வண்ணங்களுடன் இரட்டை-வண்ண இழைகள் போன்றவை, அல்லது ச்பூலில் வண்ணங்களை மாற்றும் சாய்வு இழைகள் போன்ற நீளமான வண்ண மாற்றங்கள் மூலம்."
},
"titles": {
"list": "இழைகள்",
"show": "இழை காட்டு",
"create": "இழை உருவாக்கு",
"clone": "நகலி இழை",
"edit": "இழை திருத்து",
"show_title": "[இழை #{{id}}] {{name}}"
},
"filament": "இழைகள்",
"form": {
"filament_updated": "இந்த பக்கத்தைத் திறந்ததிலிருந்து இந்த இழை யாரோ/வேறு ஏதாவது புதுப்பிக்கப்பட்டுள்ளது. சேமிப்பது அந்த மாற்றங்களை மேலெழுதும்!",
"import_external": "வெளிப்புறத்திலிருந்து இறக்குமதி",
"import_external_description": "அதன் விவரங்களை இழை உருவாக்கும் வடிவத்தில் தானாக விரிவுபடுத்தப் பட்டியலில் ஒரு இழை தேர்ந்தெடுக்கவும். இது நீங்கள் படிவத்தில் உள்ளிட்ட எந்தத் தரவையும் மேலெழுதும். <br><br> தேவைப்பட்டால், சரி என்பதைக் சொடுக்கு செய்யும்போது ஒரு உற்பத்தியாளர் பொருள் தானாக உருவாக்கப்படும்."
},
"buttons": {
"add_spool": "ச்பூல் சேர்க்கவும்"
}
},
"vendor": {
"fields": {
"name": "பெயர்",
"empty_spool_weight": "வெற்று ச்பூல் எடை",
"id": "ஐடி",
"external_id": "வெளிப்புற ஐடி",
"registered": "பதிவுசெய்யப்பட்டது",
"comment": "கருத்து"
},
"vendor": "உற்பத்தியாளர்கள்",
"fields_help": {
"empty_spool_weight": "இந்த உற்பத்தியாளரிடமிருந்து வெற்று ச்பூலின் எடை."
},
"titles": {
"create": "உற்பத்தியாளரை உருவாக்கவும்",
"clone": "நகலி உற்பத்தியாளர்",
"edit": "உற்பத்தியாளரைத் திருத்து",
"list": "உற்பத்தியாளர்கள்",
"show": "உற்பத்தியாளரைக் காட்டு",
"show_title": "[உற்பத்தியாளர் #{{id}}] {{name}}"
},
"form": {
"vendor_updated": "இந்த பக்கத்தைத் திறந்ததிலிருந்து இந்த உற்பத்தியாளர் யாரோ/வேறு ஏதாவது புதுப்பிக்கப்பட்டார். சேமிப்பது அந்த மாற்றங்களை மேலெழுதும்!"
}
},
"help": {
"resources": {
"vendor": "இழை செய்யும் நிறுவனங்கள்.",
"filament": "இழைகளின் பிராண்டுகள். அவற்றில் பெயர், பொருள், நிறம், விட்டம் மற்றும் பல போன்ற பண்புகள் உள்ளன.",
"spool": "ஒரு குறிப்பிட்ட இழைகளின் தனிப்பட்ட உடல் ச்பூல்கள்."
},
"help": "உதவி",
"description": "<title> உதவி </title> <p> நீங்கள் தொடங்குவதற்கான சில குறிப்புகள் இங்கே. </p> <p> ச்பூல்மேன் 3 வெவ்வேறு வகையான தரவுகளை வைத்திருக்கிறார்: </p> <itemsHelp/> <p> தரவுத்தளத்தில் ஒரு புதிய ச்பூலைச் சேர்க்க, <filamentCreateLink>இழை</filamentCreateLink> பொருளை உருவாக்குவதன் மூலம் தொடங்கவும். அது முடிந்ததும், அந்தக் குறிப்பிட்ட ச்பூலுக்கான<spoolCreateLink> ச்பூல்</spoolCreateLink> பொருளை உருவாக்கத் தொடரவும்.</p><p> அதே இழைகளின் கூடுதல் ச்பூல்களைப் பின்னர் நீங்கள் பெற்றால், கூடுதல் ச்பூல் பொருள்களை <vendorCreateLink>உருவாக்கி</vendorCreateLink>அதே இழை பொருளை மீண்டும் பயன்படுத்தினால்.</p><p>இழை பயன்பாட்டைத் தானாகக் கண்காணித்து, உங்களுக்கான ச்பூல் பொருள்களைப் புதுப்பிக்கவும். அதை எவ்வாறு அமைப்பது என்பதற்கான வழிகாட்டுதலுக்கு குறித்த வழிகாட்டுதலுக்கு<readmeLink>ச்பூல்மேன் ரீட்மே</readmeLink> ஐப் பார்க்கவும். </p>"
},
"documentTitle": {
"vendor": {
"clone": "#{{id}} நகலி உற்பத்தியாளர் | ச்பூல்மேன்",
"list": "உற்பத்தியாளர்கள் | ச்பூல்மேன்",
"show": "#{{id}} உற்பத்தியாளரைக் காட்டு | ச்பூல்மேன்",
"edit": "#{{id}} உற்பத்தியாளரைத் திருத்து | ச்பூல்மேன்",
"create": "உற்பத்தியாளரை உருவாக்கு | ச்பூல்மேன்"
},
"default": "ச்பூல்மேன்",
"suffix": " | ச்பூல்மேன்",
"home": {
"list": "முகப்பு | ச்பூல்மேன்"
},
"help": {
"list": "உதவி | ச்பூல்மேன்"
},
"locations": {
"list": "இடங்கள் | ச்பூல்மேன்"
},
"filament": {
"list": "இழைகள் | ச்பூல்மேன்",
"show": "#{{id}} ஃபிலிமென்ட் காட்டு | ச்பூல்மேன்",
"edit": "#{{id}} Filuctient தாள் | ச்பூல்மேன்",
"create": "இழை உருவாக்கு | ச்பூல்மேன்",
"clone": "#{{id}} நகலி இழை | ச்பூல்மேன்"
},
"spool": {
"list": "ச்பூல்கள் | ச்பூல்மேன்",
"show": "#{{id}} காட்டு ச்பூல் | ச்பூல்மேன்",
"edit": "#{{id}} திருத்து ச்பூல் | ச்பூல்மேன்",
"create": "ச்பூலை உருவாக்கு | ச்பூல்மேன்",
"clone": "#{{id}} நகலி ச்பூல் | ச்பூல்மேன்"
}
},
"locations": {
"locations": "இருப்பிடங்கள்",
"new_location": "புதிய இடம்",
"no_location": "இடம் இல்லை",
"no_locations_help": "இந்த பக்கம் உங்கள் ச்பூல்களை இருப்பிடங்களில் ஒழுங்கமைக்க அனுமதிக்கிறது, தொடங்குவதற்கு சில ச்பூல்களைச் சேர்க்கவும்!"
},
"actions": {
"list": "பட்டியல்",
"create": "உருவாக்கு",
"edit": "தொகு",
"show": "காட்டு",
"clone": "நகலி"
},
"warnWhenUnsavedChanges": "நீங்கள் நிச்சயமாக வெளியேற விரும்புகிறீர்களா? நீங்கள் சேமிக்கப்படாத மாற்றங்கள் உள்ளன.",
"notifications": {
"success": "செய்",
"error": "பிழை (நிலை குறியீடு: {{statusCode}})",
"undoable": "நீங்கள் செயல்தவிர்க்க {{seconds}} வினாடிகள் உள்ளன.",
"createSuccess": "வெற்றிகரமாக உருவாக்கப்பட்டது {{resource}}",
"createError": "{{resource}} (நிலைக் குறியீடு: {{statusCode}}) உருவாக்கும் பிழை இருந்தது",
"deleteSuccess": "வெற்றிகரமாக நீக்கப்பட்டது {{resource}}",
"deleteError": "{{resource}} நீக்கும்போது பிழை (நிலைக் குறியீடு: {{statusCode}})",
"editSuccess": "வெற்றிகரமாக திருத்தப்பட்டது {{resource}}",
"editError": "{{resource}} திருத்தும்போது பிழை (நிலை குறியீடு: {{statusCode}})",
"importProgress": "இறக்குமதி: {{processed}}/{{total}}}",
"saveSuccessful": "வெற்றிகரமாக சேமிக்கவும்!",
"validationError": "சரிபார்ப்பு பிழை: {{error}}"
},
"kofi": "உதவிக்குறிப்பு மற்றும் ஆன்-ஃபை",
"loading": "ஏற்றுகிறது",
"version": "பதிப்பு",
"unknown": "தெரியவில்லை",
"yes": "ஆம்",
"no": "இல்லை",
"tags": {
"clone": "நகலி"
},
"dashboard": {
"title": "முகப்புப்பெட்டி"
},
"scanner": {
"title": "QR குறியீடு ச்கேனர்",
"description": "ச்பூல் பற்றிய விவரங்களைக் காண ஒரு ச்பூல்மேன் கியூஆர் குறியீட்டை ச்கேன் செய்யுங்கள்.",
"error": {
"notAllowed": "கேமராவை அணுக நீங்கள் அனுமதிக்கவில்லை.",
"insecureContext": "பக்கம் HTTPS க்கு மேல் வழங்கப்படவில்லை.",
"streamApiNotSupported": "உலாவி மீடியாச்ட்ரீம் பநிஇ ஆதரிக்காது.",
"notReadable": "கேமரா படிக்க முடியாது.",
"notFound": "கேமரா எதுவும் கண்டுபிடிக்கப்படவில்லை.",
"unknown": "அறியப்படாத பிழை ஏற்பட்டது. ({{error}})"
}
},
"home": {
"home": "வீடு",
"welcome": "உங்கள் ச்பூல்மேன் உதாரணத்திற்கு வருக!",
"description": "நீங்கள் இதுவரை எந்த ச்பூல்களையும் சேர்க்கவில்லை என்று தெரிகிறது. தொடங்குவதற்கு <helpPageLink>உதவி பக்கம்</helpPageLink> ஐப் பார்க்கவும்."
},
"table": {
"actions": "செயல்கள்"
},
"settings": {
"settings": "அமைப்புகள்",
"header": "அமைப்புகள்",
"general": {
"tab": "பொது",
"currency": {
"label": "நாணயம்"
},
"base_url": {
"label": "அடிப்படை முகவரி",
"tooltip": "QR குறியீடுகள் போன்ற அம்சங்களை உருவாக்கும்போது பயன்படுத்த வேண்டிய அடிப்படை முகவரி."
},
"round_prices": {
"label": "சுற்று விலைகள்",
"tooltip": "அருகிலுள்ள முழு எண்ணுக்கு வட்ட விலைகள்."
}
},
"extra_fields": {
"tab": "கூடுதல் புலங்கள்",
"description": "<p> இங்கே நீங்கள் உங்கள் நிறுவனங்களுக்குக் கூடுதல் தனிப்பயன் புலங்களைச் சேர்க்கலாம். நீங்கள் ஒரு புலத்தை அகற்றினால், அனைத்து நிறுவனங்களுக்கும் தொடர்புடைய தரவு நீக்கப்படும்.</p><p> மற்ற நிரல்கள் தரவைப் படிக்கிறோம்/எழுதுகின்றன என்பதுதான் முக்கியமானது, எனவே உங்கள் தனிப்பயன் புலம் மூன்றாம் தரப்பு நிரலுடன் ஒருங்கிணைக்க வேண்டுமானால், அதைச் சரியாக அமைக்க உறுதிசெய்க. </p><p>இயல்புநிலை மதிப்பு புதிய உருப்படிகளுக்கு மட்டுமே பயன்படுத்தப்படுகிறது. </p><p> கூடுதல் புலங்களை அட்டவணை காட்சிகளில் வரிசைப்படுத்தவோ வடிகட்டவோ முடியாது. </p>",
"params": {
"key": "விசை",
"name": "பெயர்",
"field_type": "வகை",
"unit": "அலகு",
"order": "ஒழுங்கு",
"default_value": "இயல்புநிலை மதிப்பு",
"choices": "தேர்வுகள்",
"multi_choice": "பல தேர்வு"
},
"field_type": {
"text": "உரை",
"integer": "முழு எண்",
"integer_range": "முழு எண் வரம்பு",
"float": "மிதவை",
"float_range": "மிதவை வரம்பு",
"datetime": "தேதிநேரம்",
"boolean": "பூலியன்",
"choice": "தேர்வு"
},
"boolean_true": "ஆம்",
"boolean_false": "இல்லை",
"choices_missing_error": "நீங்கள் தேர்வுகளை அகற்ற முடியாது. பின்வரும் தேர்வுகள் காணவில்லை: {{choices}}",
"non_unique_key_error": "முக்கியமானது தனித்துவமாக இருக்க வேண்டும்.",
"key_not_changed": "தயவுசெய்து விசையை வேறு ஏதாவது மாற்றவும்.",
"delete_confirm": "புலம் {{name}} ஐ நீக்கு?",
"delete_confirm_description": "இது அனைத்து நிறுவனங்களுக்கும் புலம் மற்றும் தொடர்புடைய அனைத்து தரவையும் நீக்கிவிடும்."
}
}
}
+398
View File
@@ -0,0 +1,398 @@
{
"spool": {
"fields": {
"registered": "ลงทะเบียน",
"remaining_length": "ความยาวคงเหลือ",
"lot_nr": "เลขล็อต",
"archived": "เก็บถาวร",
"remaining_weight": "น้ำหนักคงเหลือ",
"material": "วัสดุ",
"spool_weight": "น้ำหนักม้วนพลาสติกเปล่า",
"id": "ID",
"initial_weight": "น้ำหนักเริ่มต้น",
"measured_weight": "น้ำหนักที่วัดได้",
"used_weight": "น้ำหนักที่ใช้ไป",
"filament_external": "ภายนอก",
"price": "ราคา",
"last_used": "ใช้ครั้งล่าสุด",
"filament_internal": "ภายใน",
"used_length": "ความยาวที่ใช้",
"comment": "หมายเหตุ",
"filament_name": "เส้นพลาสติก",
"first_used": "ใช้ครั้งแรก",
"filament": "เส้นพลาสติก",
"weight_to_use": "น้ำหนัก",
"location": "สถานที่จัดเก็บ"
},
"titles": {
"show_title": "[ม้วนพลาสติก #{{id}}] {{name}}",
"archive": "เก็บถาวรม้วนพลาสติก",
"clone": "ทำซ้ำม้วนพลาสติก",
"create": "สร้างม้วนพลาสติก",
"adjust": "ปรับการใช้ม้วนพลาสติก",
"edit": "แก้ไขม้วนพลาสติก",
"list": "รายการม้วนพลาสติก",
"show": "แสดงม้วนพลาสติก"
},
"form": {
"adjust_filament_value": "ปริมาณที่ใช้",
"measurement_type": {
"length": "ความยาว",
"weight": "น้ำหนัก"
},
"new_location_prompt": "กรอกชื่อสถานที่เก็บใหม่",
"measurement_type_label": "ประเภทการวัด",
"spool_updated": "ม้วนพลาสติกนี้ได้รับการอัปเดตโดยผู้อื่นหลังจากที่คุณเปิดหน้านี้ การบันทึกจะเขียนทับการเปลี่ยนแปลง!",
"adjust_filament_help": "คุณสามารถเพิ่มหรือลดปริมาณเส้นพลาสติกจากม้วนพลาสติกได้ที่นี่ ค่าบวกจะเป็นการใช้เส้นพลาสติก ค่าลบจะเป็นการเติมกลับ"
},
"fields_help": {
"measured_weight": "น้ำหนักรวมของเส้นพลาสติกและม้วนพลาสติก",
"spool_weight": "น้ำหนักของม้วนพลาสติกเมื่อเปล่า หากเว้นว่างไว้จะใช้ค่าจากเส้นพลาสติกหรือจากผู้ผลิต",
"location": "ตำแหน่งที่เก็บม้วนพลาสติก หากคุณมีหลายที่เก็บ นี่คือที่ที่คุณจัดเก็บม้วนพลาสติก",
"initial_weight": "น้ำหนักเส้นพลาสติกในม้วนพลาสติก (สุทธิ) หากไม่ได้ตั้งค่า จะใช้น้ำหนักจากอ็อบเจ็กต์เส้นพลาสติก",
"used_weight": "ปริมาณเส้นพลาสติกที่ถูกใช้ไปจากม้วนพลาสติก ม้วนพลาสติกใหม่ควรเริ่มต้นที่ 0 กรัม",
"price": "ราคาของม้วนพลาสติกเต็ม หากไม่ได้ตั้งค่า จะใช้ราคาของเส้นพลาสติกแทน",
"remaining_weight": "ปริมาณเส้นพลาสติกที่เหลืออยู่ในม้วนพลาสติก สำหรับม้วนพลาสติกใหม่ควรมีค่าเท่ากับน้ำหนักของม้วนพลาสติกเต็ม",
"weight_to_use": "เลือกค่าน้ำหนักที่คุณต้องการระบุ น้ำหนักวัดได้จะใช้ได้เฉพาะเมื่อมีการตั้งค่าน้ำหนักม้วนพลาสติกเปล่าสำหรับเส้นพลาสติกที่เลือก",
"lot_nr": "เลขล็อตของผู้ผลิต ใช้เพื่อให้มั่นใจว่า การพิมพ์จะมีสีสม่ำเสมอ หากต้องใช้พลาสติกหลายม้วน",
"external_filament": "คุณได้เลือกเส้นพลาสติกจากฐานข้อมูลภายนอก อ็อบเจ็กต์เส้นพลาสติก (และอาจมีอ็อบเจ็กต์ผู้ผลิต) จะถูกสร้างโดยอัตโนมัติเมื่อคุณสร้างม้วนพลาสติก อาจทำให้เกิดเส้นพลาสติกซ้ำกัน ถ้าคุณได้สร้างเส้นพลาสติกนั้นไว้อยู่แล้ว"
},
"formats": {
"last_used": "ใช้ครั้งล่าสุด {{date}}"
},
"spool": "ม้วนพลาสติก",
"messages": {
"archive": "คุณแน่ใจหรือไม่ว่าต้องการเก็บถาวรม้วนพลาสติกนี้?"
}
},
"buttons": {
"hideArchived": "ซ่อนที่เก็บถาวร",
"saveAndAdd": "บันทึกและเพิ่ม",
"clearFilters": "ล้างตัวกรอง",
"delete": "ลบ",
"logout": "ออกจากระบบ",
"continue": "ดำเนินการต่อ",
"filter": "กรอง",
"clear": "ล้าง",
"refresh": "รีเฟรช",
"show": "แสดง",
"import": "นำเข้า",
"clone": "ทำซ้ำ",
"save": "บันทึก",
"confirm": "คุณแน่ใจหรือไม่?",
"unArchive": "ยกเลิกเก็บถาวร",
"notAccessTitle": "คุณไม่มีสิทธิ์เข้าถึง",
"create": "สร้าง",
"undo": "ย้อนกลับ",
"cancel": "ยกเลิก",
"hideColumns": "ซ่อนคอลัมน์",
"showArchived": "แสดงที่เก็บถาวร",
"edit": "แก้ไข",
"archive": "เก็บถาวร"
},
"actions": {
"clone": "ทำซ้ำ",
"show": "แสดง",
"edit": "แก้ไข",
"list": "รายการ",
"create": "สร้าง"
},
"printing": {
"generic": {
"columns": "คอลัมน์",
"printerMarginBottom": "Safe-Zone ล่าง",
"printerMarginLeft": "Safe-Zone ซ้าย",
"showBorder": "แสดงเส้นขอบ",
"newSetting": "ใหม่",
"deleteSettings": "ลบพรีเซ็ตปัจจุบัน",
"customSize": "กำหนดเอง",
"skipItems": "ข้ามรายการ",
"print": "พิมพ์",
"dimensions": "ขนาด",
"marginLeft": "ระยะขอบซ้าย",
"verticalSpacing": "ระยะห่างแนวตั้ง",
"marginTop": "ระยะขอบบน",
"layoutSettings": "การตั้งค่าเค้าโครง",
"marginRight": "ระยะขอบขวา",
"helpMargin": "การตั้งค่าขอบกระดาษควรกำหนดให้ตรงกับขนาดกระดาษและเครื่องพิมพ์ของคุณ การเปลี่ยนค่านี้จะมีผลต่อขนาดตารางทั้งหมด",
"helpPrinterMargin": "Safe-Zone ควรกำหนดเป็นค่าระยะห่างจากขอบกระดาษที่เครื่องพิมพ์สามารถพิมพ์ได้ การเปลี่ยนค่านี้จะไม่กระทบต่อขนาดตารางทั้งหมด",
"previewScale": "สเกลตัวอย่าง",
"itemCopies": "สำเนาต่อรายการ",
"borders": {
"grid": "ตาราง",
"none": "ไม่แสดง",
"border": "เส้นขอบ"
},
"settingsName": "ชื่อพรีเซ็ต",
"contentSettings": "การตั้งค่าข้อมูล",
"printerMarginRight": "Safe-Zone ขวา",
"saveAsImage": "บันทึกเป็นรูปภาพ",
"settings": "พรีเซ็ต",
"defaultSettings": "ค่าเริ่มต้น",
"duplicateSettings": "คัดลอกพรีเซ็ต",
"saveSetting": "บันทึกพรีเซ็ต",
"deleteSettingsConfirm": "คุณแน่ใจหรือไม่ว่าต้องการลบพรีเซ็ตนี้?",
"addSettings": "เพิ่มพรีเซ็ตใหม่",
"rows": "แถว",
"title": "การพิมพ์",
"horizontalSpacing": "ระยะห่างแนวนอน",
"printerMarginTop": "Safe-Zone บน",
"paperSize": "ขนาดกระดาษ",
"marginBottom": "ระยะขอบล่าง",
"description": "ปรับการตั้งค่าด้านล่างเพื่อให้ได้รูปแบบการพิมพ์ที่ต้องการ โปรดทราบว่าเครื่องพิมพ์และระบบปฏิบัติการของคุณอาจมีการตั้งค่าขอบกระดาษและการปรับขนาดของตัวเอง ดังนั้นคุณอาจต้องลองผิดลองถูกเล็กน้อยก่อนที่จะได้ผลลัพธ์ที่ถูกต้อง แนะนำให้ทดสอบบนกระดาษธรรมดาก่อนที่จะพิมพ์บนกระดาษสติกเกอร์จริง"
},
"qrcode": {
"textSize": "ขนาดข้อความฉลาก",
"useHTTPUrl": {
"options": {
"default": "ค่าเริ่มต้น",
"url": "URL"
},
"label": "ลิงก์ QR code",
"preview": "ตัวอย่าง:",
"tooltip": "จะใช้ลิงก์ภายในที่จะทำงานได้เฉพาะเมื่อสแกนจากฟีเจอร์สแกนของ Spoolman (ค่าเริ่มต้น) URL จะใช้จาก base URL ที่กำหนดไว้ใน settings หรือใช้ URL ของหน้าปัจจุบันหากไม่ได้ตั้งค่า"
},
"showQRCodeMode": {
"withIcon": "พร้อมไอคอน",
"no": "ไม่",
"simple": "ธรรมดา"
},
"template": "เทมเพลตฉลาก",
"button": "พิมพ์ฉลาก",
"title": "การพิมพ์ฉลาก",
"showQRCode": "พิมพ์ QR Code",
"showContent": "พิมพ์ฉลาก",
"templateHelp": "ใช้ {} เพื่อใส่ค่าจากอ็อบเจ็กต์ spool เป็นข้อความ ตัวอย่างเช่น {id} จะถูกแทนที่ด้วย id ของ spool หรือ {filament.material} จะถูกแทนที่ด้วยวัสดุของ spool หากไม่มีค่าจะแสดงเป็น \"?\" สามารถใช้ชุดเครื่องหมาย {} แบบซ้อนเพื่อลบได้ด้วย นอกจากนี้ยังสามารถลบข้อความหากค่านั้นหายไป ตัวอย่าง {Lot Nr: {lot_nr}} จะแสดงฉลากต่อเมื่อ spool มี lot number ใช้เครื่องหมาย ** ครอบข้อความเพื่อทำให้เป็นตัวหนา คลิกปุ่มเพื่อดูรายการแท็กทั้งหมดที่ใช้ได้"
},
"spoolSelect": {
"selectAll": "เลือก/ยกเลิกทั้งหมด",
"title": "เลือกม้วนพลาสติก",
"noSpoolsSelected": "คุณยังไม่ได้เลือกม้วนพลาสติก",
"selectedTotal_other": "เลือก {{count}} ม้วนพลาสติก",
"showArchived": "แสดงที่เก็บถาวร",
"description": "เลือกม้วนพลาสติกสำหรับพิมพ์ฉลาก"
}
},
"filament": {
"fields_help": {
"spool_weight": "น้ำหนักม้วนพลาสติกเปล่า ใช้เพื่อคำนวณน้ำหนักรวมของม้วนพลาสติก",
"material": "ตัวอย่างเช่น PLA, ABS, PETG, TPU, ASA, PC, PA เป็นต้น",
"article_number": "เช่น EAN, UPC, เป็นต้น",
"price": "ราคาของม้วนพลาสติกเต็ม (เส้นพลาสติกทั้งหมด)",
"weight": "น้ำหนักของเส้นพลาสติกในม้วนพลาสติก (สุทธิ) ไม่รวมม้วนพลาสติกเปล่า เป็นค่าน้ำหนักที่มักระบุบนบรรจุภัณฑ์",
"name": "ชื่อเส้นพลาสติก เพื่อแยกความต่างระหว่างเส้นพลาสติกแบบเดียวกันจากผู้ผลิตเดียวกัน โดยทั่วไปควรระบุสีในชื่อด้วย",
"multi_color_direction": "เส้นพลาสติกหลายสีสามารถมีหลายสีได้ 2 รูปแบบ: แบบ coextrusion (เช่น เส้นพลาสติกสองสีพร้อมกัน) หรือแบบไล่สีตามความยาว (เช่น เส้นพลาสติกเปลี่ยนสีไปเรื่อยๆ)"
},
"fields": {
"comment": "หมายเหตุ",
"density": "ความหนาแน่น",
"weight": "น้ำหนัก",
"vendor": "ผู้ผลิต",
"settings_extruder_temp": "อุณหภูมิหัวพิมพ์",
"longitudinal": "ไล่สีตามความยาว",
"material": "วัสดุ",
"id": "ID",
"settings_bed_temp": "อุณหภูมิฐานพิมพ์",
"vendor_name": "ยี่ห้อ",
"diameter": "เส้นผ่านศูนย์กลาง",
"article_number": "เลขบทความ",
"multi_color": "หลายสี",
"external_id": "รหัสภายนอก",
"color_hex": "สี",
"price": "ราคา",
"spool_weight": "น้ำหนักม้วนพลาสติกเปล่า",
"coaxial": "เส้นหลายสี",
"name": "ชื่อ",
"spools": "แสดงม้วนพลาสติก",
"registered": "ลงทะเบียน",
"single_color": "สีเดียว"
},
"titles": {
"edit": "แก้ไขเส้นพลาสติก",
"list": "รายการเส้นพลาสติก",
"show": "แสดงเส้นพลาสติก",
"clone": "ทำซ้ำเส้นพลาสติก",
"show_title": "[เส้นพลาสติก #{{id}}] {{name}}",
"create": "สร้างเส้นพลาสติก"
},
"form": {
"filament_updated": "เส้นพลาสติกนี้ได้รับการอัปเดตโดยผู้อื่นหลังจากที่คุณเปิดหน้านี้ การบันทึกจะเขียนทับการเปลี่ยนแปลง!",
"import_external": "นำเข้าจากภายนอก",
"import_external_description": "เลือกเส้นพลาสติกในรายการเพื่อกรอกข้อมูลอัตโนมัติในฟอร์มนี้ การดำเนินการนี้จะเขียนทับข้อมูลที่คุณกรอกไว้ อ็อบเจ็กต์ผู้ผลิตจะถูกสร้างขึ้นโดยอัตโนมัติเมื่อคุณคลิกตกลง"
},
"buttons": {
"add_spool": "เพิ่มม้วนพลาสติก"
},
"filament": "เส้นพลาสติก"
},
"kofi": "สนับสนุนเราได้ที่ Ko-fi",
"scanner": {
"error": {
"notReadable": "ไม่สามารถอ่านข้อมูลจากกล้องได้",
"insecureContext": "หน้านี้ไม่ได้ถูกให้บริการผ่าน HTTPS",
"notAllowed": "คุณไม่ได้อนุญาตให้เข้าถึงกล้อง",
"streamApiNotSupported": "เบราว์เซอร์ไม่รองรับ MediaStream API",
"unknown": "เกิดข้อผิดพลาดที่ไม่ทราบสาเหตุ ({{error}})",
"notFound": "ไม่พบกล้อง"
},
"description": "สแกน Spoolman QR code เพื่อดูข้อมูลเกี่ยวกับม้วนพลาสติก",
"title": "เครื่องสแกน QR Code"
},
"documentTitle": {
"filament": {
"clone": "#{{id}} ทำซ้ำเส้นพลาสติก | Spoolman",
"edit": "#{{id}} แก้ไขเส้นพลาสติก | Spoolman",
"show": "#{{id}} แสดงเส้นพลาสติก | Spoolman",
"create": "สร้างเส้นพลาสติก | Spoolman",
"list": "เส้นพลาสติก | Spoolman"
},
"home": {
"list": "หน้าแรก | Spoolman"
},
"spool": {
"show": "#{{id}} แสดงม้วนพลาสติก | Spoolman",
"clone": "#{{id}} ทำซ้ำม้วนพลาสติก | Spoolman",
"create": "สร้างม้วนพลาสติก | Spoolman",
"list": "ม้วนพลาสติก | Spoolman",
"edit": "#{{id}} แก้ไขม้วนพลาสติก | Spoolman"
},
"vendor": {
"list": "ผู้ผลิต | Spoolman",
"show": "#{{id}} แสดงผู้ผลิต | Spoolman",
"edit": "#{{id}} แก้ไขผู้ผลิต | Spoolman",
"create": "สร้างผู้ผลิต | Spoolman",
"clone": "#{{id}} ทำซ้ำผู้ผลิต | Spoolman"
},
"help": {
"list": "วิธีใช้ | Spoolman"
},
"suffix": " | Spoolman",
"locations": {
"list": "สถานที่เก็บ | Spoolman"
},
"default": "สปูลแมน"
},
"notifications": {
"error": "เกิดข้อผิดพลาด (รหัสสถานะ: {{statusCode}})",
"undoable": "คุณเหลือเวลา {{seconds}} วินาทีในการย้อนกลับ",
"deleteSuccess": "ลบ {{resource}} สำเร็จ",
"editSuccess": "แก้ไข {{resource}} สำเร็จ",
"validationError": "เกิดข้อผิดพลาดในการตรวจสอบ: {{error}}",
"deleteError": "เกิดข้อผิดพลาดในการลบ {{resource}} (รหัสสถานะ: {{statusCode}})",
"success": "สำเร็จ",
"createSuccess": "สร้าง {{resource}} สำเร็จ",
"saveSuccessful": "บันทึกสำเร็จ!",
"editError": "เกิดข้อผิดพลาดในการแก้ไข {{resource}} (รหัสสถานะ: {{statusCode}})",
"createError": "เกิดข้อผิดพลาดในการสร้าง {{resource}} (รหัสสถานะ: {{statusCode}})",
"importProgress": "กำลังนำเข้า: {{processed}}/{{total}}"
},
"loading": "กำลังโหลด",
"version": "เวอร์ชัน",
"unknown": "ไม่ทราบ",
"yes": "ใช่",
"no": "ไม่",
"tags": {
"clone": "ทำซ้ำ"
},
"vendor": {
"titles": {
"create": "สร้างผู้ผลิต/ยี่ห้อ",
"list": "รายการผู้ผลิต/ยี่ห้อ",
"clone": "ทำซ้ำผู้ผลิต/ยี่ห้อ",
"show_title": "[ผู้ผลิต #{{id}}] {{name}}",
"edit": "แก้ไขผู้ผลิต/ยี่ห้อ",
"show": "แสดงผู้ผลิต/ยี่ห้อ"
},
"fields": {
"empty_spool_weight": "น้ำหนักม้วนพลาสติกเปล่า",
"id": "ID",
"comment": "หมายเหตุ",
"external_id": "รหัสภายนอก",
"registered": "ลงทะเบียน",
"name": "ชื่อ"
},
"fields_help": {
"empty_spool_weight": "น้ำหนักม้วนพลาสติกเปล่าของผู้ผลิตนี้"
},
"form": {
"vendor_updated": "ผู้ผลิตนี้ถูกอัปเดตโดยผู้อื่นหลังจากที่คุณเปิดหน้านี้ การบันทึกจะเขียนทับการเปลี่ยนแปลง!"
},
"vendor": "ผู้ผลิต"
},
"help": {
"resources": {
"vendor": "บริษัทที่ผลิตเส้นพลาสติก",
"spool": "ม้วนพลาสติกจริงสำหรับเส้นพลาสติกเฉพาะ",
"filament": "แบรนด์เส้นพลาสติก มีคุณสมบัติต่างๆ เช่น ชื่อ วัสดุ สี เส้นผ่านศูนย์กลาง และอื่นๆ"
},
"help": "วิธีใช้",
"description": "<title>วิธีใช้</title><p>นี่คือเคล็ดลับบางส่วนเพื่อเริ่มต้น</p><p>Spoolman เก็บข้อมูลหลัก 3 ประเภท:</p><itemsHelp/><p>ในการเพิ่มม้วนพลาสติกใหม่ลงในฐานข้อมูล ให้เริ่มด้วยการสร้างอ็อบเจ็กต์ <filamentCreateLink>เส้นพลาสติก</filamentCreateLink> เมื่อเสร็จแล้วจึงสร้างอ็อบเจ็กต์ <spoolCreateLink>ม้วนพลาสติก</spoolCreateLink> สำหรับม้วนพลาสติกนั้น หากคุณได้ม้วนพลาสติกเพิ่มในภายหลัง ก็เพียงสร้างอ็อบเจ็กต์ม้วนพลาสติกใหม่และใช้วัตถุ เส้นพลาสติก เดิมได้</p><p>คุณสามารถสร้างอ็อบเจ็กต์ <vendorCreateLink>Manufacturer</vendorCreateLink> เพื่อเก็บข้อมูลบริษัทผู้ผลิตเส้นพลาสติกหากคุณต้องการติดตามข้อมูลนั้น</p><p>คุณสามารถเชื่อมต่อบริการ 3D printer อื่นๆ เข้ากับ Spoolman เช่น Moonraker เพื่อบันทึกปริมาณการใช้เส้นพลาสติกโดยอัตโนมัติและอัปเดตอ็อบเจ็กต์ม้วนพลาสติกของคุณ ดูเพิ่มเติมได้ที่ <readmeLink>Spoolman README</readmeLink></p>"
},
"dashboard": {
"title": "แดชบอร์ด"
},
"settings": {
"settings": "การตั้งค่า",
"header": "การตั้งค่า",
"general": {
"tab": "ทั่วไป",
"currency": {
"label": "สกุลเงิน"
},
"base_url": {
"label": "URLพื้นฐาน",
"tooltip": "URLพื้นฐาน ที่ใช้สำหรับสร้างฟีเจอร์ต่างๆ เช่น QR code"
},
"round_prices": {
"label": "",
"tooltip": ""
}
},
"extra_fields": {
"params": {
"multi_choice": "เลือกหลายตัว",
"key": "คีย์",
"name": "ชื่อ",
"field_type": "ประเภท",
"unit": "หน่วย",
"order": "ลำดับ",
"default_value": "ค่าเริ่มต้น",
"choices": "ตัวเลือก"
},
"delete_confirm_description": "สิ่งนี้จะลบฟิลด์และข้อมูลที่เกี่ยวข้องทั้งหมดสำหรับเอนทิตี",
"field_type": {
"text": "ข้อความ",
"integer": "จำนวนเต็ม",
"integer_range": "ช่วงจำนวนเต็ม",
"float": "ทศนิยม",
"float_range": "ช่วงทศนิยม",
"datetime": "วันเวลา",
"boolean": "บูลีน(ใส่เฉพาะ ใช่/ไม่)",
"choice": "ตัวเลือก"
},
"tab": "ฟิลด์เพิ่มเติม",
"boolean_true": "ใช่",
"boolean_false": "ไม่",
"choices_missing_error": "คุณไม่สามารถลบตัวเลือกได้ ตัวเลือกต่อไปนี้หายไป: {{choices}}",
"non_unique_key_error": "คีย์ต้องไม่ซ้ำ",
"key_not_changed": "โปรดเปลี่ยนคีย์เป็นอย่างอื่น",
"delete_confirm": "ลบฟิลด์ {{name}} หรือไม่?",
"description": "<p>คุณสามารถเพิ่มฟิลด์ที่กำหนดเองเพิ่มเติมสำหรับเอนทิตีของคุณได้ที่นี่</p><p>เมื่อเพิ่มฟิลด์แล้ว คุณจะไม่สามารถเปลี่ยนคีย์หรือประเภทของฟิลด์ได้ และสำหรับฟิลด์ประเภทตัวเลือกคุณจะไม่สามารถลบตัวเลือกหรือเปลี่ยนโหมด multi choice ได้ หากคุณลบฟิลด์ ข้อมูลของเอนทิตีทั้งหมดจะถูกลบด้วย</p><p>คีย์คือสิ่งที่โปรแกรมอื่นจะใช้เพื่ออ่าน/เขียนข้อมูล ดังนั้นหากฟิลด์ที่คุณสร้างเพื่อเชื่อมต่อกับโปรแกรมอื่น กรุณาตั้งค่าให้ถูกต้อง ค่าดีฟอลต์จะถูกนำไปใช้เฉพาะกับรายการใหม่เท่านั้น</p><p>ฟิลด์เพิ่มเติมไม่สามารถเรียงหรือกรองได้ในตาราง</p>"
}
},
"locations": {
"new_location": "สถานที่เก็บใหม่",
"no_location": "ไม่มีสถานที่เก็บ",
"locations": "สถานที่เก็บ",
"no_locations_help": "หน้านี้ให้คุณจัดการม้วนพลาสติกตามสถานที่เก็บ เพิ่มม้วนพลาสติกเพื่อเริ่มต้น!"
},
"home": {
"home": "หน้าแรก",
"welcome": "",
"description": ""
},
"warnWhenUnsavedChanges": "คุณแน่ใจหรือไม่ว่าต้องการออก? คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก",
"table": {
"actions": "การดำเนินการ"
}
}
+399
View File
@@ -0,0 +1,399 @@
{
"actions": {
"list": "Liste",
"create": "Oluştur",
"edit": "Düzenle",
"show": "Göster",
"clone": "Kopyala"
},
"buttons": {
"create": "Oluştur",
"save": "Kaydet",
"saveAndAdd": "Kaydet ve Ekle",
"logout": "Çıkış yap",
"delete": "Sil",
"edit": "Düzenle",
"cancel": "İptal et",
"confirm": "Emin misiniz?",
"continue": "Devam et",
"filter": "Filtrele",
"clear": "Temizle",
"refresh": "Yenile",
"show": "Göster",
"undo": "Geri al",
"import": "İçe aktar",
"clone": "Kopyala",
"archive": "Arşivle",
"unArchive": "Arşivden çıkar",
"hideArchived": "Arşivlenenleri gizle",
"showArchived": "Arşivlenenleri göster",
"notAccessTitle": "Erişim için yetkiniz bulunmamakta",
"hideColumns": "Sütunları gizle",
"clearFilters": "Filtreleri temizle"
},
"warnWhenUnsavedChanges": "Çıkmak istediğinizden emin misiniz? Kaydedilmemiş değişiklikleriniz bulunmakta.",
"notifications": {
"success": "Başarılı",
"error": "Hata (durum kodu: {{statusCode}})",
"undoable": "Geri almak için {{seconds}} saniyeniz var.",
"createSuccess": "{{resource}} başarıyla oluşturuldu",
"createError": "{{resource}} oluşturulurken bir hata ile karşılaşıldı (durum kodu :{{statusCode}})",
"deleteSuccess": "{{resource}} başarılı şekilde silindi",
"deleteError": "{{resource}} silinirken hata ile karşılaşıldı(durum kodu:{{statusCode}})",
"editSuccess": "{{resource}} başarılı şekilde düzenlendi",
"editError": "{{resource}} düzenlenirken hata ile karşılaşıldı(durum kodu:{{statusCode}})",
"importProgress": "İçe aktarılıyor: {{processed}}/{{total}}",
"saveSuccessful": "Kayıt başarılı!",
"validationError": "Form kontrol hatası: {{error}}"
},
"kofi": "Ko-fi'den bana birşeyler ateşle",
"loading": "Yükleniyor",
"version": "Versiyon",
"unknown": "Bilinmeyen",
"yes": "Evet",
"no": "Hayır",
"tags": {
"clone": "Kopyala"
},
"dashboard": {
"title": "Gösterge paneli"
},
"printing": {
"generic": {
"title": "Yazdırılıyor",
"description": "İstenilen yazıcı düzenine sahip olmak için aşağıdaki ayarları düzenleyiniz. İşletim sisteminizin ve yazıcınızın kendi boşluk ve boyutlandırma ayarlarını uygulayabileceği nedeniyle doğru sonuca ulaşana kadar birkaç kez deneme yanılma gerçekleştirmeniz gerekebilir. Gerçek etikete basmadan önce normal kağıtta deneyiniz.",
"helpMargin": "Boşluklar seçtiğiniz etikete ve yazıcınıza bağlı olarak ayarlanmalıdır, bunlarda yapacağınız herhangi bir değişiklik tüm dizgeyi değiştirecektir.",
"helpPrinterMargin": "Güvenli-Bölge yazıcınızın sayfa kenarına ne kadar yakınlıkta yazabileceğine göre ayarlanmalıdır, bunu değiştirmek dizge üstünden değişikliğe neden olmayacaktır.",
"print": "Yazdır",
"columns": "Sütunlar",
"rows": "Satırlar",
"paperSize": "Sayfa Boyutu",
"customSize": "Özel",
"dimensions": "Boyutlar",
"showBorder": "Kenarlık Göster",
"previewScale": "Ölçeklendirmeyi Önizle",
"skipItems": "Öğeleri Atla",
"itemCopies": "Öğe Kopyası",
"contentSettings": "İçerik Ayarları",
"layoutSettings": "Düzen Ayarları",
"horizontalSpacing": "Yatay Boşluk",
"verticalSpacing": "Dikey Boşluk",
"marginLeft": "Sol Kenar Boşluğu",
"marginRight": "Sağ Kenar Boşluğu",
"marginTop": "Üst Kenar Boşluğu",
"marginBottom": "Alt Kenar Boşluğu",
"printerMarginLeft": "Sol Güvenli-Bölge",
"printerMarginRight": "Sağ Güvenli-Bölge",
"printerMarginTop": "Üst Güvenli-Bölge",
"printerMarginBottom": "Alt Güvenli-Bölge",
"borders": {
"none": "Kenarlık Yok",
"border": "Kenarlıklı",
"grid": "Izgara Görünümü"
},
"settings": "Kayıtlı Etiketler",
"defaultSettings": "Varsayılan",
"addSettings": "Yeni Kayıtlı Etiket Ekle",
"newSetting": "Yeni",
"duplicateSettings": "Mükerrer",
"deleteSettings": "Mevcut Kayıtlı Etiketi Sil",
"deleteSettingsConfirm": "Mevcut kayıtlı etiketi silmek istediğinizden emin misiniz?",
"settingsName": "Kayıtlı Etiket Adı",
"saveSetting": "Kaydet",
"saveAsImage": "Resim olarak kaydet"
},
"qrcode": {
"button": "Etiketleri Yazdır",
"title": "Etiket Yazdırılıyor",
"template": "Etiket Şablonu",
"templateHelp": "Makara nesnesinin değerlerini metin olarak eklemek için {} işaretini kullanın. Örneğin, {id} makaraya ait kimlik numarasıyla, {filament.material} ise makaradaki malzeme türüyle değiştirilecektir. Eğer bir değer eksikse, yerine \"?\" ibaresi konur. İkinci bir {} çifti kullanılarak bu durum önlenebilir. Ayrıca, iki {} çifti arasındaki herhangi bir metin, değer eksikse tamamen kaldırılır. Örneğin, {Lot Nr: {lot_nr}} ifadesi yalnızca makarada lot numarası varsa etiket olarak gösterilecektir. Metni kalın yapmak için çift yıldız işareti ** ile metni çevreleyin. Tüm kullanılabilir etiketlerin listesini görmek için butona tıklayın.",
"textSize": "Etiket Metin Boyutu",
"showContent": "Etiket Yazdır",
"useHTTPUrl": {
"label": "QR kod bağlantısı",
"tooltip": "Yalnızca Spoolman'ın tarama özelliği (varsayılan) ile tarandığında çalışacak özel bir bağlantı kullanılacaktır. URL, ayarlarda belirtilen temel URL'yi veya ayarlanmadıysa mevcut sayfanın URL'sini kullanır.",
"options": {
"default": "Varsayılan",
"url": "URL"
},
"preview": "Öngörünüm:"
},
"showQRCode": "QR kodu yazdır",
"showQRCodeMode": {
"no": "Hayır",
"simple": "Basit",
"withIcon": "Simge ile"
}
},
"spoolSelect": {
"title": "Makaraları Seçin",
"description": "Etiket yazdırılacak makaraları seçin.",
"showArchived": "Arşivlenmişleri göster",
"noSpoolsSelected": "Hiçbir makara seçimi yapmadınız.",
"selectAll": "Tümünü Seçin/Kaldırın",
"selectedTotal_one": "{{count}} makara seçildi",
"selectedTotal_other": "{{count}} makara seçildi"
}
},
"scanner": {
"title": "QR Kod Tarayıcı",
"description": "Makara hakkında bilgi almak için Spoolman QR kodunu taratınız.",
"error": {
"notAllowed": "Kameraya erişim yetkisi vermediniz.",
"insecureContext": "Bu sayfa HTTPS üstünden güvenli olarak gösterilmemektedir.",
"streamApiNotSupported": "Bu tarayıcı MediaStream API'sini desteklememektedir.",
"notReadable": "Kamera okunabilir değil.",
"notFound": "Kamera bulunamadı.",
"unknown": "Bilinmeyen hata oluştu.({{error}})"
}
},
"spool": {
"spool": "Makaralar",
"fields": {
"id": "ID",
"filament_name": "Filament",
"filament": "Filament",
"filament_internal": "Dahili",
"filament_external": "Harici",
"price": "Fiyat",
"material": "Malzeme",
"weight_to_use": "Ağırlık",
"used_weight": "Kullanılmış Ağırlık",
"remaining_weight": "Kalan Ağırlık",
"measured_weight": "Tartılmış Ağırlık",
"used_length": "Kullanılmış Uzunluk",
"remaining_length": "Kalan Uzunluk",
"initial_weight": "Başlangıç Ağırlığı",
"spool_weight": "Boş Makara Ağırlığı",
"location": "Konum",
"lot_nr": "Lot No",
"first_used": "İlk Kullanım Tarihi",
"last_used": "Son Kullanım Tarihi",
"registered": "Kayıtlı",
"comment": "Yorum",
"archived": "Arşivlendi"
},
"fields_help": {
"price": "Makaranın fiyatı eğer makara fiyatı belirlenmemişse filament fiyatı devralınacaktır.",
"weight_to_use": "Hangi ağırlık değerinin girileceğini seçin. Ölçülen ağırlık, yalnızca seçilen filamente ait makara ağırlığı ayarlanmışsa kullanılabilir.",
"used_weight": "Makaradan ne kadar filament kullanıldığını gösterir. Yeni bir makaranın kullanılmamış olması gerekir ve 0g kullanım göstermelidir.",
"remaining_weight": "Makara üzerinde ne kadar filament kaldığını gösterir. Yeni bir makara için bu değer, makara ağırlığıyla eşlit olmalıdır.",
"measured_weight": "Filament ve makaranın toplam ağırlığını gösterir.",
"initial_weight": "Makara üzerindeki filamentin ilk (net) ağırlığıdır. Ayarlanmadıysa, filament nesnesindeki ağırlık değeri kullanılır.",
"spool_weight": "Makaranın boş ağırlığıdır. Bu alan boş bırakılırsa, filamentten veya üreticiden gelen değer kullanılır.",
"location": "Makaralarınızı birden fazla konumda saklamanız durumunda makaranın bulunduğu yer bilgisidir.",
"lot_nr": "Üretici lot numarası. Birden fazla makara kullanımı durumunda tutarlı renk alınmasını sağlamak için kullanılabilir.",
"external_filament": "Dış veritabanından bir filament seçtiniz. Bu makarayı oluşturduğunuzda otomatik olarak bir filament nesnesi (ve muhtemelen bir üretici nesnesi) oluşturulacaktır. Eğer bu filament için zaten bir filament nesnesi oluşturduysanız, bu işlem tekrarlanan (çift) filament nesneleri yaratabilir."
},
"titles": {
"create": "Makara Oluştur",
"clone": "Makara Kopyala",
"edit": "Makara Düzenle",
"list": "Makaralar",
"show": "Makarayı Göster",
"show_title": "[Makara #{{id}}] {{name}}",
"archive": "Makarayı Arşivle",
"adjust": "Makara filamentini ayarla"
},
"form": {
"measurement_type": {
"length": "Uzunluk",
"weight": "Ağırlık"
},
"measurement_type_label": "Ölçüm Şekli",
"adjust_filament_help": "Burada makaradan filament doğrudan ekleyebilir veya çıkarabilirsiniz. Pozitif bir değer filamentin tüketildiğini, negatif bir değer ise filamentin eklendiğini gösterir.",
"adjust_filament_value": "Tüketim Miktarı",
"new_location_prompt": "Yeni konumu girin",
"spool_updated": "Bu makara, siz bu sayfayı açtığınızdan beri başka biri veya bir şey tarafından güncellendi. Kaydetme işlemi bu değişikliklerin üzerine yazacaktır!"
},
"messages": {
"archive": "Bu makarayı arşivlemek istediğinizden emin misiniz?"
},
"formats": {
"last_used": "Son kullanım tarihi {{date}}"
}
},
"filament": {
"filament": "Filamentler",
"fields": {
"id": "ID",
"vendor_name": "Üretici",
"vendor": "Üretici",
"name": "Ad",
"material": "Malzeme",
"price": "Fiyat",
"density": "Yoğunluk",
"diameter": "Çap",
"weight": "Ağırlık",
"spool_weight": "Makara Ağırlığı",
"article_number": "Artikel Numarası",
"registered": "Kayıtlı",
"comment": "Yorum",
"settings_extruder_temp": "Extruder Sıcaklığı",
"settings_bed_temp": "Tabla Sıcaklığı",
"color_hex": "Renk",
"single_color": "Tek Renk",
"multi_color": "Çok Renk",
"coaxial": "Koekstrüde edilmiş",
"longitudinal": "Boylamsal",
"external_id": "Harici ID",
"spools": "Makaraları Göster"
},
"fields_help": {
"name": "Filament adı, aynı üreticinin diğer filament türlerinden ayırt edilebilmesi için kullanılır. Örneğin, renk bilgisini içermelidir.",
"material": "Örn.PLA, ABS, PETG, gibi.",
"price": "Tam dolu makaranın fiyatı.",
"weight": "Dolu bir makaradaki filamentin ağırlığıdır (net ağırlık). Bu değer yalnızca filamentin ağırlığını içermelidir, makaranın kendisinin ağırlığı dahil edilmemelidir. Genellikle ambalaj üzerinde yazan değerdir.",
"spool_weight": "Boş bir makaranın ağırlığıdır. Makaradaki ölçülen ağırlığın hesaplanmasında kullanılır.",
"article_number": "Örn. EAN, UPC, gibi.",
"multi_color_direction": "Filamentler iki farklı şekilde birden fazla renge sahip olabilir: Birincisi, çift renkli filamentlerde olduğu gibi, koekstrüzyon yoluyla sabit çoklu renklerle üretilen filamentlerdir. İkincisi ise, makara boyunca renk geçişleri olan gradyan filamentlerde görülen boyuna (uzunlamasına) renk değişiklikleridir."
},
"titles": {
"create": "Filament Oluştur",
"clone": "Filament Kopyala",
"edit": "Filament Düzenle",
"list": "Filamentler",
"show": "Filament Göster",
"show_title": "[Filament #{{id}}] {{name}}"
},
"form": {
"filament_updated": "Bu filament, siz bu sayfayı açtıktan sonra başka biri veya bir şey tarafından güncellendi. Kaydetme işlemi bu değişikliklerin üzerine yazacaktır!",
"import_external": "Harici Kaynaktan İçeriye Aktar",
"import_external_description": "Listeden bir filament seçerek, filament oluşturma formunun detaylarının otomatik olarak doldurulmasını sağlayabilirsiniz. Bu işlem, formda daha önce girdiğiniz tüm verilerin üzerine yazacaktır.<br><br>Gerekirse, \"Tamam\" butonuna tıkladığınızda otomatik olarak bir Üretici nesnesi oluşturulacaktır."
},
"buttons": {
"add_spool": "Makara Ekle"
}
},
"vendor": {
"vendor": "Üreticiler",
"fields": {
"id": "ID",
"name": "İsim",
"empty_spool_weight": "Boş Makara Ağırlığı",
"external_id": "Harici ID",
"registered": "Kayıtlı",
"comment": "Yorum"
},
"fields_help": {
"empty_spool_weight": "Bu üreticiden boş bir makaranın ağırlığı."
},
"titles": {
"create": "Üretici Oluştur",
"clone": "Üretici Kopyala",
"edit": "Üretici Düzenle",
"list": "Üreticiler",
"show": "Üretici Göster",
"show_title": "[Üretici#{{id}}] {{name}}"
},
"form": {
"vendor_updated": "Bu üretici, siz bu sayfayı açtıktan sonra başka biri veya bir şey tarafından güncellendi. Kaydetme işlemi bu değişikliklerin üzerine yazacaktır!"
}
},
"home": {
"home": "Ana Sayfa",
"welcome": "Spoolman sunucunuza hoşgeldiniz!",
"description": "Görünüşe göre henüz hiç makara eklememişsiniz. Başlamak için yardım almak isterseniz <helpPageLink>Yardım sayfasına</helpPageLink> göz atabilirsiniz."
},
"help": {
"help": "Yardım",
"resources": {
"filament": "Filament markalarıdır. İsim, malzeme, renk, çap gibi çeşitli özelliklere sahiptirler.",
"spool": "Belirli bir filamente ait bireysel fiziksel makaralardır.",
"vendor": "Filamenti üreten şirketlerdir."
},
"description": "<title>Yardım</title><p>Başlamak için bazı ipuçları:</p><p>Spoolman üç farklı veri türünü tutar:</p><itemsHelp/><p>Veritabanına yeni bir makara eklemek için önce bir <filamentCreateLink>Filament</filamentCreateLink> nesnesi oluşturun. Bu işlem tamamlandıktan sonra, ilgili makara için bir <spoolCreateLink>Makara</spoolCreateLink> nesnesi oluşturun. Daha sonra aynı filamentten ek makaralar edinirseniz, sadece yeni Makara nesneleri oluşturup mevcut Filament nesnesini kullanabilirsiniz.</p><p>İsterseniz, filamentin üreticisi olan firma için bir <vendorCreateLink>Üretici</vendorCreateLink> nesnesi oluşturarak bu bilgiyi de takip edebilirsiniz.</p><p>Ayrıca, filament kullanımını otomatik olarak takip edip Makara nesnelerini güncelleyebilen Moonraker gibi diğer 3D yazıcı servislerini Spoolman ile bağlama seçeneğiniz vardır. Kurulum için <readmeLink>Spoolman README</readmeLink> dokümanına bakabilirsiniz.</p>"
},
"table": {
"actions": "İşlemler"
},
"settings": {
"settings": "Ayarlar",
"header": "Ayarlar",
"general": {
"tab": "Genel",
"currency": {
"label": "Para Birimi"
},
"base_url": {
"label": "Temel URL",
"tooltip": "QR kodları gibi ek özellikler kullanılırken kullanılacak temel URL."
},
"round_prices": {
"label": "Fiyatları Yuvarla",
"tooltip": "Fiyatları en yakın tam sayıya yuvarla."
}
},
"extra_fields": {
"tab": "Ekstra Alanlar",
"description": "<p>Burada varlıklarınıza ekstra özel alanlar ekleyebilirsiniz.</p><p>Bir alan eklendikten sonra, anahtarını (key) veya türünü değiştiremezsiniz; seçim türündeki alanlarda ise seçenekleri kaldıramaz veya çoklu seçim durumunu değiştiremezsiniz. Bir alanı silerseniz, o alana bağlı tüm varlıkların verileri silinir.</p><p>Anahtar, diğer programların veriyi okuduğu/yazdığı isimdir; bu nedenle, özel alanınız üçüncü taraf bir programla entegrasyon için kullanılacaksa doğru şekilde ayarlandığından emin olun. Varsayılan değer yalnızca yeni öğelere uygulanır.</p><p>Ekstra alanlar tablo görünümünde sıralanamaz veya filtrelenemez.</p>",
"params": {
"key": "Anahtar",
"name": "İsim",
"field_type": "Tür",
"unit": "Birim",
"order": "Sipariş",
"default_value": "Varsayılan Değer",
"choices": "Seçenekler",
"multi_choice": "Çoklu Seçim"
},
"field_type": {
"text": "Metin",
"integer": "Tam Sayı",
"integer_range": "Tam Sayı Aralık",
"float": "Ondalıklı Sayı",
"float_range": "Ondalıklı Sayı Aralığı",
"datetime": "Tarih+Saat",
"boolean": "İkili Değer",
"choice": "Seçim Listesi"
},
"boolean_true": "Evet",
"boolean_false": "Hayır",
"choices_missing_error": "Seçenekleri kaldıramazsınız. Aşağıdaki seçenekler eksik: {{choices}}",
"non_unique_key_error": "Anahtar benzersiz olmalıdır.",
"key_not_changed": "Lütfen anahtarı başka bir şeyle değiştirin.",
"delete_confirm": "{{name}} alanı silinsin mi?",
"delete_confirm_description": "Bu işlem alanı ve ona bağlı tüm varlıkların verilerini silecektir."
}
},
"documentTitle": {
"default": "Spoolman",
"suffix": " | Spoolman",
"home": {
"list": "Ana Sayfa | Spoolman"
},
"help": {
"list": "Yardım | Spoolman"
},
"locations": {
"list": "Konumlar | Spoolman"
},
"filament": {
"list": "Filamentler | Spoolman",
"show": "#{{id}} Filament Görüntüle | Spoolman",
"edit": "#{{id}} Filament Düzenle | Spoolman",
"create": "Filament Oluştur | Spoolman",
"clone": "#{{id}} Filament Kopyala | Spoolman"
},
"spool": {
"list": "Makaralar | Spoolman",
"show": "#{{id}} Makara Göster | Spoolman",
"edit": "#{{id}} Makara Düzenle | Spoolman",
"create": "Makara Oluştur | Spoolman",
"clone": "#{{id}}Makara Kopyala | Spoolman"
},
"vendor": {
"list": "Üreticiler | Spoolman",
"show": "#{{id}} Üretici Göster | Spoolman",
"edit": "#{{id}} Üretici Düzenle | Spoolman",
"create": "Üretici Oluştur | Spoolman",
"clone": "#{{id}} Üretici Kopyala | Spoolman"
}
},
"locations": {
"locations": "Konumlar",
"new_location": "Yeni Konum",
"no_location": "Konum Yok",
"no_locations_help": "Bu sayfa, makaralarınızı konumlara göre düzenlemenizi sağlar. Başlamak için birkaç makara ekleyin!"
}
}
+95 -16
View File
@@ -21,7 +21,8 @@
"notAccessTitle": "У Вас бракує прав для доступу",
"clone": "Клонувати",
"unArchive": "Розархівувати",
"saveAndAdd": "Зберегти та додати"
"saveAndAdd": "Зберегти та додати",
"continue": "Продовжити"
},
"spool": {
"fields": {
@@ -42,7 +43,11 @@
"registered": "Додано",
"first_used": "Вперше Використано",
"remaining_weight": "Залишок Ваги",
"price": "Ціна"
"price": "Ціна",
"filament_external": "Зовнішній",
"filament_internal": "Внутрішній",
"initial_weight": "Початкова вага",
"spool_weight": "Порожня вага"
},
"spool": "Котушки",
"titles": {
@@ -52,11 +57,19 @@
"archive": "Архівувати Котушку",
"show": "Відобразити Котушку",
"create": "Створити Котушку",
"clone": "Клонувати Котушку"
"clone": "Клонувати Котушку",
"adjust": "Відрегулюйте філамент з котушки"
},
"form": {
"spool_updated": "Ця котушка була оновлена кимось/чимось після відкриття цієї сторінки. Збереження перезапише ці зміни!",
"new_location_prompt": "Введіть нове розташування"
"new_location_prompt": "Введіть нове розташування",
"adjust_filament_value": "Споживана кількість",
"measurement_type": {
"length": "Довжина",
"weight": "Вага"
},
"measurement_type_label": "Вид вимірювання",
"adjust_filament_help": ""
},
"fields_help": {
"used_weight": "Скільки філаменту було використано з котушки. Для нової котушки слід використовувати 0g.",
@@ -65,10 +78,16 @@
"lot_nr": "Номер партії виробника. Може використовуватися для гарантування рівномірного кольору друку при використанні декількох котушок.",
"remaining_weight": "Скільки філаменту залишилося на котушці. Для нової котушки це має відповідати вазі філаменту на котушці.",
"location": "Де розташована котушка, якщо у вас є кілька місць для зберігання котушок.",
"price": "Ціна цілої котушки. Якщо не вказано, замість неї буде використано ціну філамента."
"price": "Ціна цілої котушки. Якщо не вказано, замість неї буде використано ціну філамента.",
"spool_weight": "",
"initial_weight": "",
"external_filament": ""
},
"messages": {
"archive": "Ви впевнені що хочете архівувати цю котушку?"
},
"formats": {
"last_used": ""
}
},
"actions": {
@@ -109,14 +128,25 @@
"printerMarginBottom": "Безпечна зона знизу",
"printerMarginTop": "Безпечна зона зверху",
"printerMarginRight": "Безпечна зона справа",
"printerMarginLeft": "Безпечна зона зліва"
"printerMarginLeft": "Безпечна зона зліва",
"settings": "Передналаштування",
"defaultSettings": "За замовчуванням",
"addSettings": "Додати нове передналаштування",
"newSetting": "Новий",
"itemCopies": "Копії елементів",
"deleteSettings": "Видалити поточне передналаштування",
"duplicateSettings": "Дублікат",
"deleteSettingsConfirm": "Ви впевнені, що бажаєте видалити це передналаштування?",
"settingsName": "Назва передналаштування",
"saveSetting": "Зберегти передналаштування",
"saveAsImage": "Зберегти як зображення"
},
"spoolSelect": {
"selectedTotal_one": "{{count}} обрана котушка",
"selectedTotal_few": "{{count}} обрані котушки",
"selectedTotal_many": "{{count}} обраних котушок",
"showArchived": "Показати Архівні",
"description": "Виберіть котушки для друку QR-кодів.",
"description": "Виберіть котушки для друку етикеток",
"title": "Виберіть котушки",
"selectAll": "Вибрати/Відмінити Всі",
"noSpoolsSelected": "Ви не вибрали жодної котушки."
@@ -130,14 +160,31 @@
"showContent": "Друк етикеток",
"showVendorComment": "Примітка про виробника",
"showSpoolComment": "Примітка про котушку",
"textSize": "Розмір тексту",
"title": "Друк QR-кодів",
"textSize": "Розмір тексту етикетки",
"title": "Друк етикеток",
"showSpoolmanIcon": "Відобразити іконку Spoolman",
"showLotNr": "Номер партії",
"bedTemp": "ТС: {{temp}}",
"lotNr": "Партія номер: {{lot}}",
"showFilamentComment": "Примітка про філамент",
"button": "Друкувати QR-коди"
"button": "Друкувати етикетки",
"useHTTPUrl": {
"label": "Посилання на QR-код",
"preview": "Попередній перегляд:",
"options": {
"default": "За замовчуванням",
"url": "URL"
},
"tooltip": ""
},
"template": "Шаблон етикетки",
"showQRCode": "Надрукувати QR-код",
"showQRCodeMode": {
"no": "Ні",
"simple": "Простий",
"withIcon": "З іконкою"
},
"templateHelp": "Використовуйте {} для вставки значень об'єкту котушки у вигляді тексту. Наприклад, {id} буде замінено ідентифікатором котушки, або {filament.material} буде замінено значенням матеріалу котушки. Відсутне значення буде замінено на \"?\". Щоб видалити його, можна використати ще одні {}. Крім того, будь-який текст між {} буде видалено, якщо значення відсутнє. Наприклад, {Lot Nr: {lot_nr}} покаже напис тільки якщо котушка має номер партії. Загорніть текст подвійними зірочками **, щоб зробити його жирним. Натисніть кнопку, щоб переглянути список усіх доступних тегів."
}
},
"notifications": {
@@ -188,7 +235,12 @@
"article_number": "Артикул",
"comment": "Коментар",
"registered": "Додано",
"spools": "Показати котушки"
"spools": "Показати котушки",
"single_color": "Одноколірний",
"external_id": "Зовнішній ID",
"multi_color": "Багатокольоровий",
"coaxial": "Коекструдтваний",
"longitudinal": ""
},
"titles": {
"show_title": "[Філамент #{{id}}] {{name}}",
@@ -204,11 +256,14 @@
"name": "Назва філаменту, щоб відрізнити цей філамент поміж інших від того самого виробника. Вона повинна містити, наприклад, колір.",
"article_number": "Напр. EAN, UPC тощо.",
"spool_weight": "Вага порожньої котушки. Використовується для визначення виміряної ваги котушки.",
"weight": "Вага повної котушки філаменту (нетто). Ця вага не повинна включати вагу самої котушки, а тільки філаменту. Зазвичай це вказується на упаковці."
"weight": "Вага повної котушки філаменту (нетто). Ця вага не повинна включати вагу самої котушки, а тільки філаменту. Зазвичай це вказується на упаковці.",
"multi_color_direction": ""
},
"filament": "Філаменти",
"form": {
"filament_updated": "Цей філамент хтось/щось оновив після того, як ви відкрили цю сторінку. Збереження перезапише ці зміни!"
"filament_updated": "Цей філамент хтось/щось оновив після того, як ви відкрили цю сторінку. Збереження перезапише ці зміни!",
"import_external": "Імпортувати з зовнішнього джерела",
"import_external_description": ""
},
"buttons": {
"add_spool": "Додати Котушку"
@@ -235,11 +290,16 @@
"comment": "Коментар",
"name": "Назва",
"registered": "Додано",
"id": "ІД"
"id": "ІД",
"empty_spool_weight": "Вага пустої котушки",
"external_id": "Зовнішній ID"
},
"vendor": "Виробники",
"form": {
"vendor_updated": "Цей виробник був оновлений кимось/чимось після відкриття цієї сторінки. Збереження перезапише ці зміни!"
},
"fields_help": {
"empty_spool_weight": ""
}
},
"documentTitle": {
@@ -271,6 +331,9 @@
},
"help": {
"list": "Довідка | Spoolman"
},
"locations": {
"list": ""
}
},
"table": {
@@ -287,7 +350,9 @@
},
"kofi": "Задонатити на Ko-fi",
"home": {
"home": "Домашня"
"home": "Домашня",
"welcome": "",
"description": ""
},
"settings": {
"header": "Налаштування",
@@ -295,7 +360,15 @@
"currency": {
"label": "Валюта"
},
"tab": "Загальне"
"tab": "Загальне",
"base_url": {
"label": "Базова URL-адреса",
"tooltip": ""
},
"round_prices": {
"label": "",
"tooltip": ""
}
},
"extra_fields": {
"params": {
@@ -329,5 +402,11 @@
"description": "<p>Тут ви можете додати додаткові користувацькі поля до своїх об’єктів.</p><p>Після додавання поля ви не можете змінити його ключ або тип, а для полів типу вибору ви не можете видалити варіанти або змінити стан кількох варіантів. Якщо ви вилучите поле, пов’язані дані для всіх об’єктів буде видалено.</p><p>Ключ – це те, як інші програми читають/записують дані, тож якщо ваше спеціальне поле має інтегруватися зі сторонніми програми, переконайтеся, що ви правильно її налаштували. Значення за замовчуванням застосовується лише до нових елементів.</p><p>Додаткові поля не можна сортувати чи фільтрувати в режимі перегляду таблиці.</p>"
},
"settings": "Налаштування"
},
"locations": {
"new_location": "",
"no_location": "",
"locations": "",
"no_locations_help": ""
}
}
+398
View File
@@ -0,0 +1,398 @@
{
"actions": {
"clone": "複製",
"show": "顯示",
"list": "列表",
"create": "建立",
"edit": "編輯"
},
"buttons": {
"create": "建立",
"save": "儲存",
"saveAndAdd": "儲存並新增",
"logout": "登出",
"delete": "刪除",
"edit": "編輯",
"cancel": "取消",
"confirm": "您確定嗎?",
"continue": "繼續",
"filter": "過濾器",
"clear": "清除",
"refresh": "重新整理",
"show": "檢視",
"undo": "復原",
"import": "匯入",
"clone": "複製",
"archive": "封存",
"unArchive": "取消封存",
"hideArchived": "隱藏已封存",
"showArchived": "檢視已封存",
"notAccessTitle": "您沒有存取的權限",
"hideColumns": "隱藏欄",
"clearFilters": "清除篩選"
},
"warnWhenUnsavedChanges": "您確定要離開嗎?您尚有未儲存的變更。",
"notifications": {
"success": "成功",
"error": "錯誤 ( 狀態碼:{{statusCode}} )",
"undoable": "您有 {{seconds}} 秒可以還原。",
"createSuccess": "成功建立 {{resource}}",
"createError": "建立 {{resource}} 時發生錯誤(狀態碼:{{statusCode}})",
"deleteSuccess": "成功刪除 {{resource}}",
"deleteError": "刪除 {{resource}} 時發生錯誤(狀態碼:{{statusCode}})",
"editSuccess": "成功編輯{{resource}}",
"editError": "編輯 {{resource}} 時發生錯誤(狀態碼:{{statusCode}})",
"importProgress": "匯入中:{{processed}}/{{total}}",
"saveSuccessful": "儲存成功!",
"validationError": "驗證錯誤: {{error}}"
},
"kofi": "在Ko-fi上打賞我",
"loading": "讀取中",
"version": "版本",
"unknown": "未知",
"yes": "是",
"no": "否",
"tags": {
"clone": "複製"
},
"dashboard": {
"title": "儀表板"
},
"printing": {
"generic": {
"title": "列印中",
"description": "調整以下設定以獲得所需的列印佈局。請注意,列表機和您的操作系統可能會套用自己的邊距和縮放比例,因此可能需要進行一些反覆測試才能達到理想效果。在實際標籤上列印之前,先在普通紙上測試。",
"helpMargin": "邊距應配置為與您的標籤紙和列表機相符,調整這些將影響整個網格的大小。",
"rows": "列",
"paperSize": "紙張大小",
"customSize": "自訂",
"dimensions": "尺寸",
"showBorder": "顯示外框",
"previewScale": "預覽縮放比例",
"skipItems": "跳過項目",
"itemCopies": "項目複製",
"contentSettings": "內容設定",
"layoutSettings": "佈局設定",
"horizontalSpacing": "水平間距",
"marginLeft": "左邊界",
"marginRight": "右邊界",
"marginBottom": "下邊界",
"printerMarginLeft": "安全區域左側",
"printerMarginRight": "安全區域右側",
"printerMarginTop": "安全區域上側",
"printerMarginBottom": "安全區域下側",
"borders": {
"border": "邊框",
"grid": "格線",
"none": "無"
},
"defaultSettings": "預設",
"addSettings": "新增預設定",
"newSetting": "新增",
"settings": "預設集",
"settingsName": "預設集名稱",
"duplicateSettings": "複製",
"deleteSettings": "刪除目前預設定",
"deleteSettingsConfirm": "確定要刪除此預設集嗎?",
"saveSetting": "儲存預設集",
"saveAsImage": "另存為圖片",
"print": "列印",
"columns": "欄",
"verticalSpacing": "垂直間距",
"marginTop": "上邊界",
"helpPrinterMargin": "安全區域應設定為列表機能列印的距離紙張的邊界,更改此選項不影響整個網格。"
},
"qrcode": {
"title": "標籤列印中",
"template": "標籤範本",
"button": "列印標籤",
"templateHelp": "使用 {} 插入線捲物件的數值。例如,{id} 會被替換為線捲 ID,而 {filament.material} 則會替換為該線捲的材質。若數值缺失,會以「?」代替。您可以使用第二組 {} 來移除此符號;此外,若數值缺失,兩組 {} 之間的任何文字也都會被一併移除。例如,{批號:{lot_nr}} 僅會在該線捲含有批號資訊時顯示標籤。使用雙星號 ** 包圍文字可設為粗體。點擊按鈕可查看所有可用標籤的清單。",
"textSize": "標籤文字大小",
"showContent": "列印標籤",
"useHTTPUrl": {
"label": "QR碼連結",
"preview": "預覽:",
"options": {
"default": "預設",
"url": "URL"
},
"tooltip": "將使用專屬連結,僅在使用 Spoolman 的掃描功能掃描時有效(預設)。URL 使用設定中指定的基礎 URL,若未設置則使用目前頁面的 URL。"
},
"showQRCodeMode": {
"no": "否",
"withIcon": "包含圖示",
"simple": "簡易"
},
"showQRCode": "列印QR碼"
},
"spoolSelect": {
"title": "選擇料盤",
"description": "選擇要列印標籤的料盤。",
"showArchived": "檢視已封存",
"noSpoolsSelected": "您尚未選擇任何料盤。",
"selectAll": "選擇/取消全選",
"selectedTotal_other": "已選擇 {{count}} 個料盤"
}
},
"scanner": {
"description": "掃描Spoolman的QR碼以檢視關於料盤的詳細資料。",
"error": {
"notAllowed": "您未被允許存取攝影機。",
"streamApiNotSupported": "瀏覽器不支援MediaStream API。",
"notReadable": "攝影機不可讀取。",
"notFound": "未找到攝影機。",
"insecureContext": "此頁面未通過 HTTPS 提供服務。",
"unknown": "發生未知的錯誤。({{error}})"
},
"title": "掃描QR碼"
},
"spool": {
"spool": "料盤",
"fields": {
"id": "ID",
"filament": "線材",
"filament_internal": "內部",
"used_weight": "已用重量",
"remaining_weight": "剩餘重量",
"measured_weight": "實測重量",
"used_length": "已用長度",
"remaining_length": "剩餘長度",
"initial_weight": "初始重量",
"spool_weight": "空料盤重量",
"location": "位置",
"lot_nr": "批號",
"first_used": "首次使用",
"last_used": "上次使用",
"registered": "登記於",
"filament_name": "線材",
"filament_external": "外部",
"price": "價格",
"weight_to_use": "重量",
"comment": "備註",
"archived": "封存",
"material": "材料"
},
"fields_help": {
"price": "完整線盤的價格。如果未設定,則會假設為線材的價格。",
"used_weight": "料盤所使用的線材重量。一個新料盤應該為0克。",
"measured_weight": "線材和料盤的重量為多少。",
"initial_weight": "料盤上線材的初始重量(淨重)。如果未設置,將使用線材物件中的重量。",
"spool_weight": "線盤的空盤重量。留空時將使用線材或製造商提供的數值。",
"location": "如果您的料盤存於多個位置,請填寫料盤所在位置。",
"lot_nr": "製造商的批號。如果使用多個線盤,可用於確保列印的顏色一致。",
"weight_to_use": "選擇要輸入的重量值。只有在選擇的線材設置了料盤重量時,才會顯示測量重量。",
"remaining_weight": "料盤所剩餘的線材。對於新的料盤來說應等於料盤重量。",
"external_filament": "您已從外部資料庫選擇了一種線材。在建立此線盤時,系統將自動建立一個線材(以及可能的製造商)。如果您之前已為該線材建立過資料,這可能會產生重複的線材。"
},
"titles": {
"create": "建立線盤",
"clone": "複製線盤",
"edit": "編輯線盤",
"list": "線盤",
"show": "檢視線盤",
"adjust": "調整料盤線材",
"show_title": "[線盤 #{{id}}] {{name}}",
"archive": "封存線盤"
},
"form": {
"measurement_type_label": "測量類型",
"adjust_filament_help": "此處您可直接增加或減少料盤上的線材,正數為減少線材數量,負數為增加線材數量。",
"adjust_filament_value": "消耗量",
"measurement_type": {
"length": "長度",
"weight": "重量"
},
"new_location_prompt": "輸入一個新位置",
"spool_updated": "此線盤已被其他人/程式更新過。若儲存將覆蓋這些變更!"
},
"messages": {
"archive": "您確定要封存此線盤嗎?"
},
"formats": {
"last_used": "上次使用{{date}}"
}
},
"filament": {
"fields": {
"vendor": "製造商",
"name": "名稱",
"material": "材料",
"price": "價格",
"density": "密度",
"diameter": "線徑",
"weight": "重量",
"spool_weight": "料盤重量",
"article_number": "產品編號",
"comment": "備註",
"color_hex": "顏色",
"multi_color": "多色",
"coaxial": "混色",
"settings_extruder_temp": "擠出機溫度",
"settings_bed_temp": "床台溫度",
"external_id": "內部ID",
"spools": "檢視料盤",
"longitudinal": "縱向",
"single_color": "單色",
"id": "ID",
"vendor_name": "製造商",
"registered": "已登記"
},
"fields_help": {
"material": "例如:PLA、ABS、PETG等。",
"name": "線材名稱,用來區分相同製造商的不同線材類型。例如應該包含顏色資訊。",
"article_number": "例如EAN、UPC等。",
"price": "全新料盤價格。",
"spool_weight": "空線盤的重量,用於計算整捲線的實際重量。",
"multi_color_direction": "線材的顏色可通過兩種方式呈現多樣性:一種是共擠技術,例如雙色線材,具有穩定的多色效果;另一種是沿線材長度的顏色變化,例如漸變線材,顏色會隨著線材捲的長度逐漸轉變。",
"weight": "整捲線材的重量(淨重)。此重量不應包含線盤本身的重量,僅限於線材的重量,通常會標示在包裝上。"
},
"titles": {
"create": "建立線材",
"clone": "複製線材",
"edit": "編輯線材",
"list": "線材",
"show": "檢視線材",
"show_title": "[線材 #{{id}}] {{name}}"
},
"form": {
"import_external": "從外部匯入",
"filament_updated": "自您開啟此頁面以後,此線材已被其他人/事物更新。儲存將覆蓋這些變更!",
"import_external_description": "在列表中選擇一種線材,即可自動填入線材建立表單中的相關詳細資訊。此操作將覆蓋您已輸入的所有資料。<br><br>如果需要,當您點擊“確定”時,將自動建立一個製造商對象。"
},
"buttons": {
"add_spool": "增加料盤"
},
"filament": "線材"
},
"vendor": {
"vendor": "製造商",
"fields": {
"name": "名稱",
"empty_spool_weight": "空料盤重量",
"external_id": "外部ID",
"comment": "備註",
"id": "ID",
"registered": "已登記"
},
"fields_help": {
"empty_spool_weight": "此製造商空線盤的重量。"
},
"titles": {
"create": "建立製造商",
"edit": "編輯製造商",
"show_title": "[製造商 #{{id}}] {{name}}",
"show": "檢視製造商",
"clone": "複製製造商",
"list": "製造商"
},
"form": {
"vendor_updated": "此製造商已被其他人/程式更新過。若儲存將覆蓋這些變更!"
}
},
"documentTitle": {
"vendor": {
"create": "建立製造商 | Spoolman",
"clone": "#{{id}} 複製製造商 | Spoolman",
"list": "製造商 | Spoolman",
"edit": "#{{id}} 編輯製造商 | Spoolman",
"show": "#{{id}} 檢視製造商 | Spoolman"
},
"default": "Spoolman",
"suffix": " | Spoolman",
"home": {
"list": "主頁 | Spoolman"
},
"help": {
"list": "說明 | Spoolman"
},
"filament": {
"list": "線材 | Spoolman",
"edit": "#{{id}} 編輯線材 | Spoolman",
"show": "#{{id}} 檢視線材 | Spoolman",
"create": "建立線材 | Spoolman",
"clone": "#{{id}} 複製線材 | Spoolman"
},
"spool": {
"create": "建立線盤 | Spoolman",
"clone": "#{{id}} 複製線盤 | Spoolman",
"show": "#{{id}} 檢視線盤 | Spoolman",
"edit": "#{{id}} 編輯線盤 | Spoolman",
"list": "線盤 | Spoolman"
},
"locations": {
"list": "位置| Spoolman"
}
},
"home": {
"home": "主頁",
"welcome": "歡迎來到您的 Spoolman!",
"description": "您似乎還沒新增任何線捲。請參閱 <helpPageLink>說明頁面</helpPageLink> 以了解如何開始使用。"
},
"help": {
"help": "說明",
"resources": {
"filament": "線材的品牌。它們具有名稱、材料、顏色、線徑等屬性。",
"spool": "特定線材的單個實體線盤。",
"vendor": "製造線材的公司。"
},
"description": "<title>說明</title><p>這裡是一些入門提示。</p><p>Spoolman 儲存三種類型的資料:</p><itemsHelp/><p>要將新線材加入資料庫,首先需要建立一個 <filamentCreateLink>線材</filamentCreateLink> 物件。完成後,接著為該特定線材建立一個 <spoolCreateLink>線盤</spoolCreateLink> 物件。如果之後您再獲得相同線材的其他線盤,只需生成更多的線盤物件,並重複使用相同的線材物件。</p><p>如果您希望追蹤製造商資訊,也可以選擇建立一個 <vendorCreateLink>製造商</vendorCreateLink> 物件。</p><p>您還可以將其他3D列印服務與Spoolman連接,例如Moonraker,它可以自動監控線材使用情況並為您更新線盤物件。請參閱 <readmeLink>Spoolman README</readmeLink> 以獲取設置指南。</p>"
},
"table": {
"actions": "操作"
},
"settings": {
"settings": "設定",
"header": "設定",
"general": {
"tab": "一般",
"currency": {
"label": "貨幣設定標籤"
},
"base_url": {
"tooltip": "生成 QR 碼等功能時使用的基本 URL。",
"label": "基本URL"
},
"round_prices": {
"label": "價格四捨五入",
"tooltip": "將價格四捨五入至最接近的整數。"
}
},
"extra_fields": {
"tab": "額外欄位",
"params": {
"key": "鍵值",
"name": "名稱",
"field_type": "類型",
"unit": "單位",
"order": "順序",
"default_value": "預設值",
"multi_choice": "多選項",
"choices": "選項"
},
"field_type": {
"text": "文字",
"float_range": "小數範圍",
"datetime": "日期時間",
"boolean": "布林",
"choice": "選項",
"float": "小數",
"integer": "整數",
"integer_range": "整數範圍"
},
"boolean_true": "是",
"boolean_false": "否",
"choices_missing_error": "您無法刪除選項。以下選項缺失:{{choices}}",
"key_not_changed": "請將鍵值更改為其他名稱。",
"delete_confirm": "刪除欄位 {{name}}?",
"description": "<p>在此,您可以為您的實體加入額外的自訂欄位。</p><p>一旦加入欄位,您將無法更改其鍵值或類型,對於選擇類型欄位,您也無法刪除選項或更改多選狀態。如果刪除欄位,所有實體的相關資料將被刪除。</p><p>鍵值是其他程式讀取/寫入資料的方式,因此如果您的自訂欄位需要與第三方程式整合,請確保正確設置。預設值僅適用於新品項。</p><p>額外的欄位無法在表格視圖中排序或過濾。</p>",
"non_unique_key_error": "鍵值必須為唯一。",
"delete_confirm_description": "這將刪除該欄位及所有與之關聯的所有實體資料。"
}
},
"locations": {
"locations": "位置",
"no_location": "未設定位置",
"no_locations_help": "這個頁面讓您將料盤按位置進行整理,請從增加一些線盤來開始!",
"new_location": "新增位置"
}
}
+76 -12
View File
@@ -28,7 +28,8 @@
"notAccessTitle": "您没有访问权限",
"hideColumns": "隐藏列",
"clearFilters": "清除筛选器",
"saveAndAdd": "保存并添加"
"saveAndAdd": "保存并添加",
"continue": "继续"
},
"warnWhenUnsavedChanges": "您确定要离开吗?您有未保存的更改。",
"notifications": {
@@ -87,16 +88,27 @@
"none": "无",
"border": "外边框",
"grid": "格子"
}
},
"defaultSettings": "默认",
"settings": "预设",
"saveSetting": "保存预设",
"settingsName": "预设名称",
"addSettings": "添加新预设",
"deleteSettingsConfirm": "确定删除此预设吗?",
"saveAsImage": "保存为图片",
"newSetting": "新增",
"itemCopies": "复制项目",
"duplicateSettings": "复制",
"deleteSettings": "删除当前预设"
},
"qrcode": {
"button": "打印二维码",
"title": "打印二维码",
"button": "打印标签",
"title": "打印标签",
"spoolWeight": "料盘重量:{{weight}}",
"lotNr": "批号:{{lot}}",
"bedTemp": "热床温度:{{temp}}",
"extruderTemp": "挤出温度:{{temp}}",
"textSize": "内容文本大小",
"textSize": "标签文本大小",
"showSpoolmanIcon": "显示Spoolman图标",
"showVendor": "制造商",
"showContent": "打印标签",
@@ -105,11 +117,28 @@
"showTemperatures": "温度",
"showSpoolComment": "料盘备注",
"showFilamentComment": "耗材备注",
"showVendorComment": "制造商备注"
"showVendorComment": "制造商备注",
"template": "标签模版",
"showQRCode": "打印二维码",
"showQRCodeMode": {
"no": "否",
"withIcon": "含图标",
"simple": "简单"
},
"templateHelp": "使用 {} 将料盘的值插入为文本。例如,{id} 将被替换为料盘的ID,或者 {filament.material} 将被替换为料盘的材质。如果某个值缺失,将用 \"?\" 替代。可以使用第二组 {} 来删除缺失值相关的内容。此外,任意位于两组 {} 之间的文本,如果值缺失,将被一同删除。例如,{Lot Nr: {lot_nr}} 只有在料盘存在批号时才会显示标签内容。用双星号 ** 包裹文本可以将其加粗。点击按钮查看所有可用的标签列表。",
"useHTTPUrl": {
"tooltip": "将使用专有链接(默认情况下,仅能通过 **Spoolman** 的扫描功能访问)。URL 将使用设置中指定的基础 URL;如果未设置基础 URL,则使用当前页面的 URL。",
"label": "二维码链接",
"options": {
"default": "默认",
"url": "URL"
},
"preview": "预览:"
}
},
"spoolSelect": {
"title": "选择料盘",
"description": "选择要打印二维码的料盘。",
"description": "选择要打印标签的料盘。",
"showArchived": "显示存档",
"noSpoolsSelected": "您尚未选择任何料盘。",
"selectAll": "选择/取消选择全部",
@@ -173,14 +202,25 @@
"list": "料盘列表",
"show": "查看料盘",
"archive": "料盘存档",
"show_title": "[料盘 #{{id}}] {{name}}"
"show_title": "[料盘 #{{id}}] {{name}}",
"adjust": "调整线盘耗材"
},
"messages": {
"archive": "您确定要存档此料盘吗?"
},
"form": {
"new_location_prompt": "输入一个新位置",
"spool_updated": "自您打开此页面以来,此料盘已被其他人/事物更新。保存将覆盖这些更改!"
"spool_updated": "自您打开此页面以来,此料盘已被其他人/事物更新。保存将覆盖这些更改!",
"measurement_type": {
"length": "长度",
"weight": "重量"
},
"measurement_type_label": "测量类型",
"adjust_filament_help": "在这里你可以直接增加或减少线盘中的耗材。正数是减少耗材数量,负数是增加耗材数量。",
"adjust_filament_value": "消耗量"
},
"formats": {
"last_used": "上次使用 {{date}}"
}
},
"filament": {
@@ -203,7 +243,11 @@
"settings_bed_temp": "热床温度",
"color_hex": "颜色",
"spools": "显示料盘",
"external_id": "外部ID"
"external_id": "外部ID",
"multi_color": "多色",
"longitudinal": "纵向",
"coaxial": "共挤出",
"single_color": "单色"
},
"fields_help": {
"name": "耗材名称,用于区分来自同一制造商的不同耗材类型。例如在耗材名称中包含颜色信息。",
@@ -211,7 +255,8 @@
"price": "一整卷耗材的价格。",
"weight": "一整卷耗材的重量(净重)。不应包括料盘本身的重量,仅计算耗材的重量。通常在包装上注明。",
"spool_weight": "空料盘的重量。使用它来计算耗材的重量。",
"article_number": "例如EAN、UPC等。"
"article_number": "例如EAN、UPC等。",
"multi_color_direction": "耗材可以通过两种方式实现多种颜色:共挤出:例如双色耗材,具有稳定的多色组合。纵向颜色变化:例如渐变色耗材,颜色沿着料盘逐渐变化。"
},
"titles": {
"create": "创建耗材",
@@ -287,11 +332,16 @@
},
"help": {
"list": "帮助 | Spoolman"
},
"locations": {
"list": "位置 | Spoolman"
}
},
"kofi": "在Ko-fi上给我打赏一点小费",
"home": {
"home": "主页"
"home": "主页",
"welcome": "",
"description": ""
},
"help": {
"help": "帮助",
@@ -340,7 +390,21 @@
"tab": "常规",
"currency": {
"label": "货币"
},
"base_url": {
"label": "基础URL",
"tooltip": "生成功能(例如二维码)时使用的基础 URL。"
},
"round_prices": {
"label": "取整",
"tooltip": "将价格四舍五入到最接近的整数。"
}
}
},
"locations": {
"no_locations_help": "此页面允许您在不同位置管理料盘,添加一些料盘即可开始!",
"locations": "位置",
"new_location": "新位置",
"no_location": "没有位置"
}
}
-22
View File
@@ -1,22 +0,0 @@
{
"name": "Spoolman",
"short_name": "Spoolman",
"description": "Keep track of your inventory of 3D-printer filament spools.",
"icons": [
{
"purpose": "maskable",
"sizes": "512x512",
"src": "icon512_maskable.png",
"type": "image/png"
},
{
"purpose": "any",
"sizes": "512x512",
"src": "icon512_rounded.png",
"type": "image/png"
}
],
"background_color": "#1F1F1F",
"theme_color": "#DC7734",
"display": "standalone"
}
File renamed without changes.
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

+103
View File
@@ -0,0 +1,103 @@
#!/usr/bin/env node
import { readdirSync, readFileSync, statSync } from "fs";
import { dirname, join } from "path";
import process from "process";
import { fileURLToPath } from "url";
const __dirname = dirname(fileURLToPath(import.meta.url));
const LOCALES_DIR = join(__dirname, "../public/locales");
const I18N_FILE = join(__dirname, "../src/i18n.ts");
const REFERENCE_LOCALE = "en";
const MIN_TRANSLATED_RATIO = 0.5; // A locale must be at least 50% translated to be included
/**
* Recursively collect all leaf values of a translation object, keyed by their
* dotted path. Only string leaves are considered translatable.
*/
function collectLeaves(obj, prefix, out) {
for (const [key, value] of Object.entries(obj)) {
const path = prefix ? `${prefix}.${key}` : key;
if (value && typeof value === "object") {
collectLeaves(value, path, out);
} else if (typeof value === "string") {
out[path] = value;
}
}
return out;
}
function loadLocale(locale) {
const commonFilePath = join(LOCALES_DIR, locale, "common.json");
return collectLeaves(JSON.parse(readFileSync(commonFilePath, "utf8")), "", {});
}
/**
* Ratio of keys in `locale` that are present, non-empty, and different from the
* English reference. Missing keys and untranslated (identical) strings count as
* not translated.
*/
function translatedRatio(reference, locale) {
const refKeys = Object.keys(reference);
if (refKeys.length === 0) return 0;
let translated = 0;
for (const key of refKeys) {
const value = locale[key];
if (typeof value === "string" && value.trim() !== "" && value !== reference[key]) {
translated++;
}
}
return translated / refKeys.length;
}
function getLocaleFolders() {
return readdirSync(LOCALES_DIR).filter((folder) => {
const folderPath = join(LOCALES_DIR, folder);
const commonFilePath = join(folderPath, "common.json");
return statSync(folderPath).isDirectory() && statSync(commonFilePath, { throwIfNoEntry: false })?.isFile();
});
}
function getDeclaredLanguages() {
const i18nContent = readFileSync(I18N_FILE, "utf8");
const languageMatches = [...i18nContent.matchAll(/\["(.*?)"\]:/g)];
return languageMatches.map((match) => match[1]);
}
function main() {
const reference = loadLocale(REFERENCE_LOCALE);
const declaredLocales = new Set(getDeclaredLanguages());
// Locales that are sufficiently translated but not yet declared in i18n.ts
const missingLocales = [];
for (const locale of getLocaleFolders()) {
if (locale === REFERENCE_LOCALE || declaredLocales.has(locale)) continue;
const ratio = translatedRatio(reference, loadLocale(locale));
if (ratio >= MIN_TRANSLATED_RATIO) {
missingLocales.push({ locale, ratio });
}
}
if (missingLocales.length > 0) {
console.error("❌ The following locales are at least 50% translated but missing from src/i18n.ts:");
missingLocales.forEach(({ locale, ratio }) =>
console.error(` - ${locale} (${Math.round(ratio * 100)}% translated)`),
);
console.error("⚠️ Please add them to the `languages` object in i18n.ts.");
console.log("Template:");
for (const { locale } of missingLocales) {
console.log(`["${locale}"]: {
name: "",
fullCode: "",
djs: () => import("dayjs/locale/${locale.toLowerCase()}"),
},`);
}
process.exit(1);
}
console.log("✅ All sufficiently translated locales are declared in i18n.ts.");
process.exit(0);
}
main();
+26 -22
View File
@@ -5,29 +5,30 @@ import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
import { ErrorComponent } from "@refinedev/antd";
import "@refinedev/antd/dist/reset.css";
import routerBindings, { DocumentTitleHandler, UnsavedChangesNotifier } from "@refinedev/react-router-v6";
import dataProvider from "./components/dataProvider";
import { useTranslation } from "react-i18next";
import { BrowserRouter, Outlet, Route, Routes } from "react-router-dom";
import { ColorModeContextProvider } from "./contexts/color-mode";
import {
FileOutlined,
HighlightOutlined,
HomeOutlined,
QuestionOutlined,
TableOutlined,
ToolOutlined,
UserOutlined,
} from "@ant-design/icons";
import { ConfigProvider } from "antd";
import React from "react";
import { Locale } from "antd/es/locale";
import { languages } from "./i18n";
import loadable from "@loadable/component";
import SpoolmanNotificationProvider from "./components/notificationProvider";
import routerBindings, { DocumentTitleHandler, UnsavedChangesNotifier } from "@refinedev/react-router";
import { ConfigProvider } from "antd";
import { Locale } from "antd/es/locale";
import { useEffect, useState } from "react";
import { useTranslation } from "react-i18next";
import { BrowserRouter, Outlet, Route, Routes } from "react-router";
import dataProvider from "./components/dataProvider";
import { Favicon } from "./components/favicon";
import { SpoolmanLayout } from "./components/layout";
import liveProvider from "./components/liveProvider";
import SpoolmanNotificationProvider from "./components/notificationProvider";
import { ColorModeContextProvider } from "./contexts/color-mode";
import { languages } from "./i18n";
import { getAPIURL, getBasePath } from "./utils/url";
import { Favicon } from "./components/favicon";
interface ResourcePageProps {
resource: "spools" | "filaments" | "vendors";
@@ -40,7 +41,7 @@ const LoadableResourcePage = loadable(
{
fallback: <div>Page is Loading...</div>,
cacheKey: (props: ResourcePageProps) => `${props.resource}-${props.page}-${props.mode ?? ""}`,
}
},
);
interface LoadablePageProps {
@@ -62,8 +63,8 @@ function App() {
};
// Fetch the antd locale using dynamic imports
const [antdLocale, setAntdLocale] = React.useState<Locale | undefined>();
React.useEffect(() => {
const [antdLocale, setAntdLocale] = useState<Locale | undefined>();
useEffect(() => {
const fetchLocale = async () => {
const locale = await import(
`./../node_modules/antd/es/locale/${languages[i18n.language].fullCode.replace("-", "_")}.js`
@@ -89,14 +90,7 @@ function App() {
<BrowserRouter basename={getBasePath() + "/"}>
<RefineKbarProvider>
<ColorModeContextProvider>
<ConfigProvider
locale={antdLocale}
theme={{
token: {
colorPrimary: "#dc7734",
},
}}
>
<ConfigProvider locale={antdLocale}>
<Refine
dataProvider={dataProvider(getAPIURL())}
notificationProvider={SpoolmanNotificationProvider}
@@ -148,6 +142,14 @@ function App() {
icon: <UserOutlined />,
},
},
{
name: "locations",
list: "/locations",
meta: {
canDelete: false,
icon: <TableOutlined />,
},
},
{
name: "settings",
list: "/settings",
@@ -192,6 +194,7 @@ function App() {
/>
<Route path="edit/:id" element={<LoadableResourcePage resource="spools" page="edit" />} />
<Route path="show/:id" element={<LoadableResourcePage resource="spools" page="show" />} />
<Route path="print" element={<LoadablePage name="printing" />} />
</Route>
<Route path="/filament">
<Route index element={<LoadableResourcePage resource="filaments" page="list" />} />
@@ -221,6 +224,7 @@ function App() {
</Route>
<Route path="/settings/*" element={<LoadablePage name="settings" />} />
<Route path="/help" element={<LoadablePage name="help" />} />
<Route path="/locations" element={<LoadablePage name="locations" />} />
<Route path="*" element={<ErrorComponent />} />
</Route>
</Routes>
+249 -34
View File
@@ -1,17 +1,17 @@
import { Button, Col, Dropdown, Row, Space, Spin } from "antd";
import { ColumnFilterItem, ColumnType } from "antd/es/table/interface";
import { DateField, TextField } from "@refinedev/antd";
import { UseQueryResult } from "@tanstack/react-query";
import { Button, Col, DatePicker, Dropdown, Input, InputNumber, Row, Space, Spin } from "antd";
import { ColumnFilterItem, ColumnType, FilterDropdownProps } from "antd/es/table/interface";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { AlignType } from "rc-table/lib/interface";
import { Link } from "react-router";
import { getFiltersForField, typeFilters } from "../utils/filtering";
import { enrichText } from "../utils/parsing";
import { Field, FieldType } from "../utils/queryFields";
import { TableState } from "../utils/saveload";
import { getSortOrderForField, typeSorters } from "../utils/sorting";
import { NumberFieldUnit, NumberFieldUnitRange } from "./numberField";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { DateField, TextField } from "@refinedev/antd";
import { useTranslate } from "@refinedev/core";
import { enrichText } from "../utils/parsing";
import { UseQueryResult } from "@tanstack/react-query";
import { Link } from "react-router-dom";
import { Field, FieldType } from "../utils/queryFields";
import SpoolIcon from "./spoolIcon";
dayjs.extend(utc);
@@ -27,6 +27,156 @@ const FilterDropdownLoading = () => {
);
};
function TextFilterDropdown({ setSelectedKeys, selectedKeys, confirm, clearFilters }: FilterDropdownProps) {
const hasValue = selectedKeys.length > 0;
return (
<>
<div style={{ padding: "8px" }}>
<Input
placeholder="Search..."
value={selectedKeys[0] as string}
onChange={(e) => setSelectedKeys(e.target.value ? [e.target.value] : [])}
onPressEnter={() => confirm()}
/>
</div>
<div className="ant-table-filter-dropdown-btns">
<Button
type="link"
size="small"
disabled={!hasValue}
onClick={() => {
clearFilters?.();
confirm();
}}
>
Reset
</Button>
<Button type="primary" size="small" onClick={() => confirm()}>
OK
</Button>
</div>
</>
);
}
function NumberRangeFilterDropdown({
setSelectedKeys,
selectedKeys,
confirm,
clearFilters,
precision,
}: FilterDropdownProps & { precision?: number }) {
const current = selectedKeys[0] as string | undefined;
let minVal: number | null = null;
let maxVal: number | null = null;
if (current && current.includes(":")) {
const parts = current.split(":", 2);
minVal = parts[0] ? Number(parts[0]) : null;
maxVal = parts[1] ? Number(parts[1]) : null;
}
const updateKeys = (min: number | null, max: number | null) => {
if (min === null && max === null) {
setSelectedKeys([]);
} else {
setSelectedKeys([`${min !== null ? min : ""}:${max !== null ? max : ""}`]);
}
};
const hasValue = selectedKeys.length > 0;
return (
<>
<div style={{ padding: "8px", display: "flex", flexDirection: "column", gap: 4 }}>
<InputNumber
placeholder="Min..."
value={minVal}
precision={precision ?? 0}
onChange={(value) => updateKeys(value, maxVal)}
/>
<InputNumber
placeholder="Max..."
value={maxVal}
precision={precision ?? 0}
onChange={(value) => updateKeys(minVal, value)}
/>
</div>
<div className="ant-table-filter-dropdown-btns">
<Button
type="link"
size="small"
disabled={!hasValue}
onClick={() => {
clearFilters?.();
confirm();
}}
>
Reset
</Button>
<Button type="primary" size="small" onClick={() => confirm()}>
OK
</Button>
</div>
</>
);
}
function DateTimeRangeFilterDropdown({ setSelectedKeys, selectedKeys, confirm, clearFilters }: FilterDropdownProps) {
const current = selectedKeys[0] as string | undefined;
let fromVal: dayjs.Dayjs | null = null;
let toVal: dayjs.Dayjs | null = null;
if (current && current.includes("|")) {
const parts = current.split("|", 2);
fromVal = parts[0] ? dayjs(parts[0]) : null;
toVal = parts[1] ? dayjs(parts[1]) : null;
}
const updateKeys = (from: dayjs.Dayjs | null, to: dayjs.Dayjs | null) => {
if (from === null && to === null) {
setSelectedKeys([]);
} else {
setSelectedKeys([`${from ? from.utc().toISOString() : ""}|${to ? to.utc().toISOString() : ""}`]);
}
};
const hasValue = selectedKeys.length > 0;
return (
<>
<div style={{ padding: "8px", display: "flex", flexDirection: "column", gap: 4 }}>
<DatePicker
showTime={{ use12Hours: false }}
format="YYYY-MM-DD HH:mm:ss"
placeholder="From..."
value={fromVal}
onChange={(date) => updateKeys(date, toVal)}
/>
<DatePicker
showTime={{ use12Hours: false }}
format="YYYY-MM-DD HH:mm:ss"
placeholder="To..."
value={toVal}
onChange={(date) => updateKeys(fromVal, date)}
/>
</div>
<div className="ant-table-filter-dropdown-btns">
<Button
type="link"
size="small"
disabled={!hasValue}
onClick={() => {
clearFilters?.();
confirm();
}}
>
Reset
</Button>
<Button type="primary" size="small" onClick={() => confirm()}>
OK
</Button>
</div>
</>
);
}
interface Entity {
id: number;
}
@@ -40,10 +190,11 @@ export interface Action {
interface BaseColumnProps<Obj extends Entity> {
id: string | string[];
dataId?: keyof Obj & string;
dataId?: (keyof Obj & string) | string; // Allow string values for custom fields
i18ncat?: string;
i18nkey?: string;
title?: string;
align?: AlignType;
sorter?: boolean;
t: (key: string) => string;
navigate: (link: string) => void;
@@ -61,6 +212,7 @@ interface FilteredColumnProps {
allowMultipleFilters?: boolean;
onFilterDropdownOpen?: () => void;
loadingFilters?: boolean;
filterDropdown?: (props: FilterDropdownProps) => React.ReactNode;
}
interface CustomColumnProps<Obj> {
@@ -68,13 +220,13 @@ interface CustomColumnProps<Obj> {
render?: (value: any, record: Obj, index: number) => React.ReactNode;
onCell?: (
data: Obj,
index?: number
index?: number,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
) => React.HTMLAttributes<any> | React.TdHTMLAttributes<any>;
}
function Column<Obj extends Entity>(
props: BaseColumnProps<Obj> & FilteredColumnProps & CustomColumnProps<Obj>
props: BaseColumnProps<Obj> & FilteredColumnProps & CustomColumnProps<Obj>,
): ColumnType<Obj> | undefined {
const t = props.t;
const navigate = props.navigate;
@@ -87,6 +239,7 @@ function Column<Obj extends Entity>(
const columnProps: ColumnType<Obj> = {
dataIndex: props.id,
align: props.align,
title: props.title ?? t(props.i18nkey ?? `${props.i18ncat}.fields.${props.id}`),
filterMultiple: props.allowMultipleFilters ?? true,
width: props.width ?? undefined,
@@ -96,10 +249,8 @@ function Column<Obj extends Entity>(
// Sorting
if (props.sorter) {
columnProps.sorter = true;
columnProps.sortOrder = getSortOrderForField(
typeSorters<Obj>(props.tableState.sorters),
props.dataId ?? (props.id as keyof Obj)
);
const sortField = props.dataId ?? (Array.isArray(props.id) ? props.id.join(".") : props.id);
columnProps.sortOrder = getSortOrderForField(typeSorters<Obj>(props.tableState.sorters), sortField);
}
// Filter
@@ -109,14 +260,23 @@ function Column<Obj extends Entity>(
if (props.loadingFilters) {
columnProps.filterDropdown = <FilterDropdownLoading />;
}
columnProps.onFilterDropdownOpenChange = (open) => {
if (open && props.onFilterDropdownOpen) {
props.onFilterDropdownOpen();
}
columnProps.filterDropdownProps = {
onOpenChange: (open) => {
if (open && props.onFilterDropdownOpen) {
props.onFilterDropdownOpen();
}
},
};
if (props.dataId) {
columnProps.key = props.dataId;
}
} else if (props.filterDropdown) {
columnProps.filterDropdown = props.filterDropdown;
columnProps.filteredValue = props.filteredValue;
columnProps.filterMultiple = false;
if (props.dataId) {
columnProps.key = props.dataId;
}
}
// Render
@@ -170,7 +330,7 @@ export function SortedColumn<Obj extends Entity>(props: BaseColumnProps<Obj>) {
}
export function RichColumn<Obj extends Entity>(
props: Omit<BaseColumnProps<Obj>, "transform"> & { transform?: (value: unknown) => string }
props: Omit<BaseColumnProps<Obj>, "transform"> & FilteredColumnProps & { transform?: (value: unknown) => string },
) {
return Column({
...props,
@@ -182,7 +342,7 @@ export function RichColumn<Obj extends Entity>(
}
interface FilteredQueryColumnProps<Obj extends Entity> extends BaseColumnProps<Obj> {
filterValueQuery: UseQueryResult<string[] | ColumnFilterItem[]>;
filterValueQuery: UseQueryResult<string[] | ColumnFilterItem[], unknown>;
allowMultipleFilters?: boolean;
}
@@ -203,11 +363,12 @@ export function FilteredQueryColumn<Obj extends Entity>(props: FilteredQueryColu
}
filters.push({
text: "<empty>",
value: "<empty>",
value: "",
});
const typedFilters = typeFilters<Obj>(props.tableState.filters);
const filteredValue = getFiltersForField(typedFilters, props.dataId ?? (props.id as keyof Obj));
const filterField = props.dataId ?? (Array.isArray(props.id) ? props.id.join(".") : props.id);
const filteredValue = getFiltersForField(typedFilters, filterField);
const onFilterDropdownOpen = () => {
query.refetch();
@@ -216,7 +377,7 @@ export function FilteredQueryColumn<Obj extends Entity>(props: FilteredQueryColu
return Column({ ...props, filters, filteredValue, onFilterDropdownOpen, loadingFilters: query.isLoading });
}
interface NumberColumnProps<Obj extends Entity> extends BaseColumnProps<Obj> {
interface NumberColumnProps<Obj extends Entity> extends BaseColumnProps<Obj>, FilteredColumnProps {
unit: string;
maxDecimals?: number;
minDecimals?: number;
@@ -226,6 +387,7 @@ interface NumberColumnProps<Obj extends Entity> extends BaseColumnProps<Obj> {
export function NumberColumn<Obj extends Entity>(props: NumberColumnProps<Obj>) {
return Column({
...props,
align: "right",
render: (rawValue) => {
const value = props.transform ? props.transform(rawValue) : rawValue;
if (value === null || value === undefined) {
@@ -245,7 +407,7 @@ export function NumberColumn<Obj extends Entity>(props: NumberColumnProps<Obj>)
});
}
export function DateColumn<Obj extends Entity>(props: BaseColumnProps<Obj>) {
export function DateColumn<Obj extends Entity>(props: BaseColumnProps<Obj> & FilteredColumnProps) {
return Column({
...props,
render: (rawValue) => {
@@ -255,18 +417,19 @@ export function DateColumn<Obj extends Entity>(props: BaseColumnProps<Obj>) {
hidden={!value}
value={dayjs.utc(value).local()}
title={dayjs.utc(value).local().format()}
format="YYYY-MM-DD HH:mm:ss"
format="YYYY-MM-DD HH:mm"
/>
);
},
});
}
export function ActionsColumn<Obj extends Entity>(actionsFn: (record: Obj) => Action[]): ColumnType<Obj> | undefined {
const t = useTranslate();
export function ActionsColumn<Obj extends Entity>(
title: string,
actionsFn: (record: Obj) => Action[],
): ColumnType<Obj> | undefined {
return {
title: t("table.actions"),
title,
responsive: ["lg"],
render: (_, record) => {
const buttons = actionsFn(record).map((action) => {
@@ -319,7 +482,8 @@ export function SpoolIconColumn<Obj extends Entity>(props: SpoolIconColumnProps<
});
const typedFilters = typeFilters<Obj>(props.tableState.filters);
const filteredValue = getFiltersForField(typedFilters, props.dataId ?? (props.id as keyof Obj));
const filterField = props.dataId ?? (Array.isArray(props.id) ? props.id.join(".") : props.id);
const filteredValue = getFiltersForField(typedFilters, filterField);
const onFilterDropdownOpen = () => {
query.refetch();
@@ -383,13 +547,46 @@ export function NumberRangeColumn<Obj extends Entity>(props: NumberColumnProps<O
});
}
// Helper function to create filter items for custom fields (boolean and choice only)
function createCustomFieldFilters(field: Field): ColumnFilterItem[] {
const filters: ColumnFilterItem[] = [];
if (field.field_type === FieldType.boolean) {
// "No" maps to empty ("") because the backend treats unset and false as equivalent
return [
{ text: "Yes", value: "true" },
{ text: "No / Not set", value: "" },
];
}
// For choice fields, add each choice as a filter option
if (field.field_type === FieldType.choice && field.choices) {
field.choices.forEach((choice) => {
filters.push({
text: choice,
value: `"${choice}"`,
});
});
}
filters.push({ text: "<empty>", value: "" });
return filters;
}
export function CustomFieldColumn<Obj extends Entity>(props: Omit<BaseColumnProps<Obj>, "id"> & { field: Field }) {
const field = props.field;
const fieldId = `extra.${field.key}`;
const typedFilters = typeFilters<Obj>(props.tableState.filters);
const filteredValue = getFiltersForField(typedFilters, fieldId);
const commonProps = {
...props,
id: ["extra", field.key],
title: field.name,
sorter: false,
sorter: true,
dataId: fieldId,
transform: (value: unknown) => {
if (value === null || value === undefined) {
return undefined;
@@ -401,12 +598,16 @@ export function CustomFieldColumn<Obj extends Entity>(props: Omit<BaseColumnProp
if (field.field_type === FieldType.integer) {
return NumberColumn({
...commonProps,
filterDropdown: (p: FilterDropdownProps) => <NumberRangeFilterDropdown {...p} precision={0} />,
filteredValue,
unit: field.unit ?? "",
maxDecimals: 0,
});
} else if (field.field_type === FieldType.float) {
return NumberColumn({
...commonProps,
filterDropdown: (p: FilterDropdownProps) => <NumberRangeFilterDropdown {...p} precision={3} />,
filteredValue,
unit: field.unit ?? "",
minDecimals: 0,
maxDecimals: 3,
@@ -414,12 +615,16 @@ export function CustomFieldColumn<Obj extends Entity>(props: Omit<BaseColumnProp
} else if (field.field_type === FieldType.integer_range) {
return NumberRangeColumn({
...commonProps,
filterDropdown: (p: FilterDropdownProps) => <NumberRangeFilterDropdown {...p} precision={0} />,
filteredValue,
unit: field.unit ?? "",
maxDecimals: 0,
});
} else if (field.field_type === FieldType.float_range) {
return NumberRangeColumn({
...commonProps,
filterDropdown: (p: FilterDropdownProps) => <NumberRangeFilterDropdown {...p} precision={3} />,
filteredValue,
unit: field.unit ?? "",
minDecimals: 0,
maxDecimals: 3,
@@ -427,14 +632,20 @@ export function CustomFieldColumn<Obj extends Entity>(props: Omit<BaseColumnProp
} else if (field.field_type === FieldType.text) {
return RichColumn({
...commonProps,
filterDropdown: TextFilterDropdown,
filteredValue,
});
} else if (field.field_type === FieldType.datetime) {
return DateColumn({
...commonProps,
filterDropdown: DateTimeRangeFilterDropdown,
filteredValue,
});
} else if (field.field_type === FieldType.boolean) {
return Column({
...commonProps,
filters: createCustomFieldFilters(field),
filteredValue,
render: (rawValue) => {
const value = commonProps.transform ? commonProps.transform(rawValue) : rawValue;
let text;
@@ -451,6 +662,8 @@ export function CustomFieldColumn<Obj extends Entity>(props: Omit<BaseColumnProp
} else if (field.field_type === FieldType.choice && !field.multi_choice) {
return Column({
...commonProps,
filters: createCustomFieldFilters(field),
filteredValue,
render: (rawValue) => {
const value = commonProps.transform ? commonProps.transform(rawValue) : rawValue;
return <TextField value={value} />;
@@ -459,6 +672,8 @@ export function CustomFieldColumn<Obj extends Entity>(props: Omit<BaseColumnProp
} else if (field.field_type === FieldType.choice && field.multi_choice) {
return Column({
...commonProps,
filters: createCustomFieldFilters(field),
filteredValue,
render: (rawValue) => {
const value = commonProps.transform ? commonProps.transform(rawValue) : rawValue;
return <TextField value={(value as string[] | undefined)?.join(", ")} />;
+24 -6
View File
@@ -1,14 +1,16 @@
import { AxiosInstance } from "axios";
import { stringify } from "query-string";
import { DataProvider } from "@refinedev/core";
import { axiosInstance } from "@refinedev/simple-rest";
import { AxiosInstance } from "axios";
import { stringify } from "query-string";
import { getCustomFieldFilters } from "../utils/filtering";
import { isCustomField } from "../utils/queryFields";
type MethodTypes = "get" | "delete" | "head" | "options";
type MethodTypesWithBody = "post" | "put" | "patch";
const dataProvider = (
apiUrl: string,
httpClient: AxiosInstance = axiosInstance
httpClient: AxiosInstance = axiosInstance,
): Omit<Required<DataProvider>, "createMany" | "updateMany" | "deleteMany"> => ({
getList: async ({ resource, meta, pagination, sorters, filters }) => {
const url = `${apiUrl}/${resource}`;
@@ -19,26 +21,36 @@ const dataProvider = (
if (pagination && pagination.mode == "server") {
const pageSize = pagination.pageSize ?? 10;
const offset = ((pagination.current ?? 1) - 1) * pageSize;
const offset = ((pagination.currentPage ?? 1) - 1) * pageSize;
queryParams["limit"] = pageSize;
queryParams["offset"] = offset;
}
if (sorters && sorters.length > 0) {
// Map all sorters, including custom field sorters
queryParams["sort"] = sorters
.map((sort) => {
const field = sort.field;
// Custom field sorters are already in the correct format (extra.field_key)
return `${field}:${sort.order}`;
})
.join(",");
}
if (filters && filters.length > 0) {
// Process regular filters
filters.forEach((filter) => {
if (!("field" in filter)) {
throw Error("Filter must be a LogicalFilter.");
}
const field = filter.field;
// Skip custom fields, they'll be handled separately
if (typeof field === "string" && isCustomField(field)) {
return;
}
if (filter.value.length > 0) {
const filterValueArray = Array.isArray(filter.value) ? filter.value : [filter.value];
@@ -54,6 +66,14 @@ const dataProvider = (
queryParams[field] = filterValue;
}
});
// Process custom field filters
const customFieldFilters = getCustomFieldFilters(filters);
Object.entries(customFieldFilters).forEach(([key, values]) => {
if (values.length > 0) {
queryParams[`extra.${key}`] = values.map((value) => (value === "<empty>" ? "" : value)).join(",");
}
});
}
const { data, headers } = await httpClient[requestMethod](`${url}`, {
@@ -61,8 +81,6 @@ const dataProvider = (
params: queryParams,
});
// console.log(url, requestMethod, queryParams, data, headers)
return {
data,
total: parseInt(headers["x-total-count"]) ?? 100,
+2 -2
View File
@@ -1,8 +1,8 @@
import { DatePicker } from "antd";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import timezone from "dayjs/plugin/timezone";
import advancedFormat from "dayjs/plugin/advancedFormat";
import timezone from "dayjs/plugin/timezone";
import utc from "dayjs/plugin/utc";
dayjs.extend(utc);
dayjs.extend(timezone);
+8 -8
View File
@@ -1,13 +1,13 @@
import { DateField, TextField } from "@refinedev/antd";
import { Field, FieldType } from "../utils/queryFields";
import { NumberFieldUnit, NumberFieldUnitRange } from "./numberField";
import { enrichText } from "../utils/parsing";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { Checkbox, Form, Input, InputNumber, Select, Typography } from "antd";
import { FormItemProps, Rule } from "antd/es/form";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { enrichText } from "../utils/parsing";
import { Field, FieldType } from "../utils/queryFields";
import { DateTimePicker } from "./dateTimePicker";
import { InputNumberRange } from "./inputNumberRange";
import { NumberFieldUnit, NumberFieldUnitRange } from "./numberField";
dayjs.extend(utc);
@@ -165,14 +165,14 @@ export function ExtraFieldFormItem(props: { field: Field; setDefaultValue?: bool
* @returns
*/
export function ParsedExtras<T extends { extra?: { [key: string]: string } }>(
obj: T
obj: T,
): Omit<T, "extra"> & { extra?: { [key: string]: unknown } } {
if (obj.extra) {
const newExtra: { [key: string]: unknown } = {};
Object.entries(obj.extra).forEach(([key, value]) => {
try {
newExtra[key] = JSON.parse(value);
} catch (e) {
} catch {
newExtra[key] = value;
}
});
@@ -191,7 +191,7 @@ export function ParsedExtras<T extends { extra?: { [key: string]: string } }>(
* @returns
*/
export function StringifiedExtras<T extends { extra?: { [key: string]: unknown } }>(
obj: T
obj: T,
): Omit<T, "extra"> & { extra?: { [key: string]: string } } {
if (obj.extra) {
const newExtra: { [key: string]: string } = {};
@@ -1,10 +1,9 @@
import { Form, InputNumber, Modal, Select } from "antd";
import { useState } from "react";
import { ExternalFilament, useGetExternalDBFilaments } from "../utils/queryExternalDB";
import { useTranslate } from "@refinedev/core";
import { Form, Modal, Select } from "antd";
import { Trans } from "react-i18next";
import { formatFilamentLabel } from "../pages/spools/functions";
import { searchMatches } from "../utils/filtering";
import { useTranslate } from "@refinedev/core";
import { Trans } from "react-i18next";
import { ExternalFilament, useGetExternalDBFilaments } from "../utils/queryExternalDB";
export function FilamentImportModal(props: {
isOpen: boolean;
@@ -24,7 +23,7 @@ export function FilamentImportModal(props: {
item.manufacturer,
item.material,
item.weight,
item.spool_type
item.spool_type,
),
value: item.id,
item: item,
+19 -15
View File
@@ -1,28 +1,33 @@
import { DownOutlined } from "@ant-design/icons";
import type { RefineThemedLayoutV2HeaderProps } from "@refinedev/antd";
import { useGetLocale, useSetLocale } from "@refinedev/core";
import { Button, Dropdown, Layout as AntdLayout, MenuProps, Space, Switch, theme } from "antd";
import { DesktopOutlined, DownOutlined, MoonOutlined, SunOutlined } from "@ant-design/icons";
import type { RefineThemedLayoutHeaderProps } from "@refinedev/antd";
import { useGetLocale, useSetLocale, useTranslate } from "@refinedev/core";
import { Layout as AntdLayout, Button, Dropdown, MenuProps, Segmented, Space, theme } from "antd";
import React, { useContext } from "react";
import { ColorModeContext } from "../../contexts/color-mode";
import { ColorModeContext, ThemePreference } from "../../contexts/color-mode";
import "/node_modules/flag-icons/css/flag-icons.min.css";
import { languages } from "../../i18n";
import QRCodeScannerModal from "../qrCodeScanner";
const { useToken } = theme;
export const Header: React.FC<RefineThemedLayoutV2HeaderProps> = ({ sticky }) => {
export const Header = ({ sticky }: RefineThemedLayoutHeaderProps) => {
const { token } = useToken();
const t = useTranslate();
const locale = useGetLocale();
const changeLanguage = useSetLocale();
const { mode, setMode } = useContext(ColorModeContext);
const { preference, setPreference } = useContext(ColorModeContext);
const currentLocale = locale();
const themeOptions = [
{ value: "system", icon: <DesktopOutlined />, title: t("theme.system") },
{ value: "light", icon: <SunOutlined />, title: t("theme.light") },
{ value: "dark", icon: <MoonOutlined />, title: t("theme.dark") },
];
const menuItems: MenuProps["items"] = [...(Object.keys(languages) || [])].sort().map((lang: string) => ({
key: lang,
onClick: () => changeLanguage(lang),
icon: <span className={"fi fi-" + languages[lang].countryCode} style={{ marginRight: 8 }} />,
label: languages[lang].name,
}));
@@ -52,17 +57,16 @@ export const Header: React.FC<RefineThemedLayoutV2HeaderProps> = ({ sticky }) =>
>
<Button type="text">
<Space>
<span className={"fi fi-" + languages[currentLocale ?? "en"].countryCode} />
{languages[currentLocale ?? "en"].name}
<DownOutlined />
</Space>
</Button>
</Dropdown>
<Switch
checkedChildren="🌛"
unCheckedChildren="🔆"
onChange={() => setMode(mode === "light" ? "dark" : "light")}
defaultChecked={mode === "dark"}
<Segmented
aria-label={t("theme.label")}
options={themeOptions}
value={preference}
onChange={(value) => setPreference(value as ThemePreference)}
/>
<QRCodeScannerModal />
</Space>
+12 -16
View File
@@ -1,13 +1,13 @@
import { ThemedLayoutV2, ThemedSiderV2, ThemedTitleV2 } from "@refinedev/antd";
import { Header } from "./header";
import { Footer } from "antd/es/layout/layout";
import { Version } from "./version";
import { Button } from "antd";
import Logo from "../icon.svg?react";
import { ThemedLayout, ThemedSider, ThemedTitle } from "@refinedev/antd";
import { useTranslate } from "@refinedev/core";
import { Button } from "antd";
import { Footer } from "antd/es/layout/layout";
import Logo from "../icon.svg?react";
import { getBasePath } from "../utils/url";
import { Header } from "./header";
import { Version } from "./version";
const SpoolmanFooter: React.FC = () => {
const SpoolmanFooter = () => {
const t = useTranslate();
return (
@@ -46,21 +46,17 @@ const SpoolmanFooter: React.FC = () => {
);
};
interface SpoolmanLayoutProps {
children: React.ReactNode;
}
export const SpoolmanLayout: React.FC<SpoolmanLayoutProps> = ({ children }) => (
<ThemedLayoutV2
export const SpoolmanLayout = ({ children }: { children: React.ReactNode }) => (
<ThemedLayout
Header={() => <Header sticky />}
Sider={() => (
<ThemedSiderV2
<ThemedSider
fixed
Title={({ collapsed }) => <ThemedTitleV2 collapsed={collapsed} text="Spoolman" icon={<Logo />} />}
Title={({ collapsed }) => <ThemedTitle collapsed={collapsed} text="Spoolman" icon={<Logo />} />}
/>
)}
Footer={() => <SpoolmanFooter />}
>
{children}
</ThemedLayoutV2>
</ThemedLayout>
);
+1 -2
View File
@@ -1,5 +1,4 @@
import { BaseKey, LiveEvent, LiveProvider } from "@refinedev/core";
import { getBasePath } from "../utils/url";
/**
* A spoolman websocket event.
@@ -60,7 +59,7 @@ function subscribeSingle(
channel: string,
resource: string,
callback: (event: LiveEvent) => void,
id?: BaseKey
id?: BaseKey,
) {
// Verify that WebSockets are supported
if (!("WebSocket" in window)) {
+11 -17
View File
@@ -1,7 +1,7 @@
import { LiveEvent } from "@refinedev/core";
import React from "react";
import liveProvider from "./liveProvider";
import { useEffect, useState } from "react";
import { getAPIURL } from "../utils/url";
import liveProvider from "./liveProvider";
const liveProviderInstance = liveProvider(getAPIURL());
@@ -14,31 +14,25 @@ export function useLiveify<Data extends { id: number }>(
resource: string,
dataSource: Data[],
// eslint-disable-next-line @typescript-eslint/no-explicit-any
transformPayload: (payload: any) => Data
transformPayload: (payload: any) => Data,
) {
// TODO: The hooks in this function is quite janky, and should be refactored to be more efficient
// New state that holds the dataSource with updated values from the live provider
const [updatedDataSource, setUpdatedDataSource] = React.useState<Data[]>(dataSource);
const [updatedDataSource, setUpdatedDataSource] = useState<Data[]>(dataSource);
// If the original dataSource changes, update the updatedDataSource
React.useEffect(() => {
useEffect(() => {
setUpdatedDataSource(dataSource);
}, [dataSource]);
// Create a constant reference to itemIds. This is to prevent the useEffect below from triggering extra times.
const itemIds = dataSource.map((item) => item.id);
const [prevItemIds, setPrevItemIds] = React.useState<number[]>(itemIds);
if (JSON.stringify(itemIds) !== JSON.stringify(prevItemIds)) {
setPrevItemIds(itemIds);
}
// Subscribe to changes for all items in the dataSource
React.useEffect(() => {
useEffect(() => {
const itemIds = dataSource.map((item) => item.id);
const subscription = liveProviderInstance?.subscribe({
channel: `${resource}-list`,
params: {
resource: resource,
ids: prevItemIds,
ids: itemIds,
subscriptionType: "useList",
},
types: ["update"],
@@ -46,7 +40,7 @@ export function useLiveify<Data extends { id: number }>(
setUpdatedDataSource((prev) =>
prev.map((item) => {
return item.id === event.payload.data.id ? transformPayload(event.payload.data) : item;
})
}),
);
},
});
@@ -57,7 +51,7 @@ export function useLiveify<Data extends { id: number }>(
liveProviderInstance?.unsubscribe(subscription);
}
};
}, [resource, prevItemIds, transformPayload]);
}, [resource, dataSource, transformPayload]);
return updatedDataSource;
}
+3 -5
View File
@@ -1,5 +1,5 @@
import { CloseOutlined, PlusOutlined } from "@ant-design/icons";
import { Badge, Button, ColorPicker, InputNumber, Space } from "antd";
import { Badge, Button, ColorPicker, Space } from "antd";
function generateRandomColor() {
return "000000".replace(/0/g, function () {
@@ -53,12 +53,10 @@ export function MultiColorPicker(props: {
}
>
<ColorPicker
format="hex"
value={value}
onChange={(_, newHex) => {
onChange={(clr) => {
if (props.onChange) {
newHex = newHex.replace("#", "");
props.onChange(values.map((v, i) => (i === idx ? newHex : v)).join(","));
props.onChange(values.map((v, i) => (i === idx ? clr.toHex() : v)).join(","));
}
}}
/>
@@ -9,7 +9,7 @@ type UndoableNotificationProps = {
undoableTimeout: OpenNotificationParams["undoableTimeout"];
};
const UndoableNotification: React.FC<UndoableNotificationProps> = ({ message, cancelMutation, undoableTimeout }) => (
const UndoableNotification = ({ message, cancelMutation, undoableTimeout }: UndoableNotificationProps) => (
<div
style={{
display: "flex",
+4 -5
View File
@@ -1,6 +1,5 @@
import React from "react";
import { Typography } from "antd";
import { NumberFieldProps } from "@refinedev/antd/dist/components/fields/types";
import { Typography } from "antd";
const { Text } = Typography;
@@ -17,12 +16,12 @@ type Props = NumberFieldProps & {
*
* @see {@link https://refine.dev/docs/ui-frameworks/antd/components/fields/number} for more details.
*/
export const NumberFieldUnit: React.FC<Props> = ({ value, locale, options, ...rest }) => {
export const NumberFieldUnit = ({ value, locale, options, unit }: Props) => {
const number = Number(value);
return (
<Text {...rest}>
{toLocaleStringSupportsOptions() ? number.toLocaleString(locale, options) : number} {rest.unit}
<Text>
{toLocaleStringSupportsOptions() ? number.toLocaleString(locale, options) : number} {unit}
</Text>
);
};
+3 -3
View File
@@ -1,8 +1,8 @@
import { useQuery } from "@tanstack/react-query";
import { Tooltip } from "antd";
import { ColumnFilterItem } from "antd/es/table/interface";
import { IFilament } from "../pages/filaments/model";
import { IVendor } from "../pages/vendors/model";
import { ColumnFilterItem } from "antd/es/table/interface";
import { Tooltip } from "antd";
import { getAPIURL } from "../utils/url";
export function useSpoolmanFilamentFilter(enabled: boolean = false) {
@@ -43,7 +43,7 @@ export function useSpoolmanFilamentFilter(enabled: boolean = false) {
height: "1.4em",
backgroundColor: "#" + filament.color_hex,
}}
></div>
></div>,
);
}
if (filament.material) {
@@ -1,129 +0,0 @@
import { Col, Form, InputNumber, QRCode, Row, Slider, Switch } from "antd";
import { useSavedState } from "../../utils/saveload";
import PrintingDialog from "./printingDialog";
import { useTranslate } from "@refinedev/core";
interface QRCodeData {
value: string;
label?: JSX.Element;
errorLevel?: "L" | "M" | "Q" | "H";
}
interface QRCodePrintingDialogProps {
visible: boolean;
items: QRCodeData[];
onCancel: () => void;
extraSettings?: JSX.Element;
}
const QRCodePrintingDialog: React.FC<QRCodePrintingDialogProps> = ({ visible, items, onCancel, extraSettings }) => {
const t = useTranslate();
const [showContent, setShowContent] = useSavedState("print-showContent", true);
const [textSize, setTextSize] = useSavedState("print-textSize", 3);
const [showSpoolmanIcon, setShowSpoolmanIcon] = useSavedState("print-showSpoolmanIcon", true);
const elements = items.map((item) => {
return (
<div className="print-qrcode-item">
<div className="print-qrcode-container">
<QRCode
className="print-qrcode"
icon={showSpoolmanIcon ? "/favicon.svg" : undefined}
value={item.value}
errorLevel={item.errorLevel}
type="svg"
color="#000"
/>
</div>
{showContent && <div className="print-qrcode-title">{item.label ?? item.value}</div>}
</div>
);
});
return (
<PrintingDialog
visible={visible}
title={t("printing.qrcode.title")}
items={elements}
extraSettings={
<>
<Form.Item label={t("printing.qrcode.showContent")}>
<Switch checked={showContent} onChange={(checked) => setShowContent(checked)} />
</Form.Item>
<Form.Item label={t("printing.qrcode.textSize")}>
<Row>
<Col span={12}>
<Slider
disabled={!showContent}
tooltip={{ formatter: (value) => `${value} mm` }}
min={2}
max={7}
value={textSize}
step={0.1}
onChange={(value) => {
setTextSize(value);
}}
/>
</Col>
<Col span={12}>
<InputNumber
disabled={!showContent}
min={0.01}
step={0.1}
style={{ margin: "0 16px" }}
value={textSize}
addonAfter="mm"
onChange={(value) => {
setTextSize(value ?? 5);
}}
/>
</Col>
</Row>
</Form.Item>
<Form.Item label={t("printing.qrcode.showSpoolmanIcon")}>
<Switch checked={showSpoolmanIcon} onChange={(checked) => setShowSpoolmanIcon(checked)} />
</Form.Item>
{extraSettings}
</>
}
style={`
.print-page .print-qrcode-item {
display: flex;
width: 100%;
max-height: 100%;
justify-content: center;
}
.print-page .print-qrcode-container {
max-width: ${showContent ? "50%" : "100%"};
display: flex;
}
.print-page .print-qrcode {
width: auto !important;
height: auto !important;
}
.print-page .print-qrcode-title {
flex: 1 1 auto;
font-size: ${textSize}mm;
color: #000;
overflow: hidden;
}
.print-page canvas, .print-page svg {
/* display: block; */
object-fit: contain;
height: 100% !important;
width: 100% !important;
max-height: 100%;
max-width: 100%;
}
`}
onCancel={onCancel}
/>
);
};
export default QRCodePrintingDialog;
@@ -1,135 +0,0 @@
import { Form, Switch } from "antd";
import { IFilament } from "../../pages/filaments/model";
import { ISpool } from "../../pages/spools/model";
import QRCodePrintingDialog from "./qrCodePrintingDialog";
import { useSavedState } from "../../utils/saveload";
import { useTranslate } from "@refinedev/core";
interface SpoolQRCodePrintingDialog {
visible: boolean;
items: ISpool[];
onCancel: () => void;
}
const SpoolQRCodePrintingDialog: React.FC<SpoolQRCodePrintingDialog> = ({ visible, items, onCancel }) => {
const t = useTranslate();
const [showVendor, setShowVendor] = useSavedState("print-showVendor", true);
const [showLotNr, setShowLotNr] = useSavedState("print-showLotNr", true);
const [showSpoolWeight, setShowSpoolWeight] = useSavedState("print-showSpoolWeight", true);
const [showTemperatures, setShowTemperatures] = useSavedState("print-showTemperatures", true);
const [showSpoolComment, setShowSpoolComment] = useSavedState("print-showSpoolComment", false);
const [showFilamentComment, setShowFilamentComment] = useSavedState("print-showFilamentComment", false);
const [showVendorComment, setShowVendorComment] = useSavedState("print-showVendorComment", false);
const formatFilament = (filament: IFilament) => {
let vendorPrefix = "";
if (showVendor && filament.vendor) {
vendorPrefix = `${filament.vendor.name} - `;
}
let name = filament.name;
if (!name) {
name = `Filament #${filament.id}`;
}
return `${vendorPrefix}${name}`;
};
return (
<QRCodePrintingDialog
visible={visible}
onCancel={onCancel}
items={items.map(function (spool) {
const temps = [];
if (spool.filament.settings_extruder_temp) {
temps.push(t("printing.qrcode.extruderTemp", { temp: `${spool.filament.settings_extruder_temp} °C` }));
}
if (spool.filament.settings_bed_temp) {
temps.push(t("printing.qrcode.bedTemp", { temp: `${spool.filament.settings_bed_temp} °C` }));
}
const tempLine = temps.join(" - ");
return {
value: `web+spoolman:s-${spool.id}`,
label: (
<p
style={{
padding: "1mm 1mm 1mm 0",
}}
>
<b>{formatFilament(spool.filament)}</b>
<br />
<b>
#{spool.id}
{spool.filament.material && <> - {spool.filament.material}</>}
</b>
{showSpoolWeight && (
<>
<br />
{t("printing.qrcode.spoolWeight", { weight: `${spool.filament.spool_weight ?? "?"} g` })}
</>
)}
{showTemperatures && tempLine && (
<>
<br />
{tempLine}
</>
)}
{showLotNr && (
<>
<br />
{t("printing.qrcode.lotNr", { lot: spool.lot_nr ?? "?" })}
</>
)}
{showSpoolComment && spool.comment && (
<>
<br />
{spool.comment}
</>
)}
{showFilamentComment && spool.filament.comment && (
<>
<br />
{spool.filament.comment}
</>
)}
{showVendorComment && spool.filament.vendor?.comment && (
<>
<br />
{spool.filament.vendor.comment}
</>
)}
</p>
),
errorLevel: "H",
};
})}
extraSettings={
<>
<Form.Item label={t("printing.qrcode.showVendor")}>
<Switch checked={showVendor} onChange={(checked) => setShowVendor(checked)} />
</Form.Item>
<Form.Item label={t("printing.qrcode.showSpoolWeight")}>
<Switch checked={showSpoolWeight} onChange={(checked) => setShowSpoolWeight(checked)} />
</Form.Item>
<Form.Item label={t("printing.qrcode.showTemperatures")}>
<Switch checked={showTemperatures} onChange={(checked) => setShowTemperatures(checked)} />
</Form.Item>
<Form.Item label={t("printing.qrcode.showLotNr")}>
<Switch checked={showLotNr} onChange={(checked) => setShowLotNr(checked)} />
</Form.Item>
<Form.Item label={t("printing.qrcode.showSpoolComment")}>
<Switch checked={showSpoolComment} onChange={(checked) => setShowSpoolComment(checked)} />
</Form.Item>
<Form.Item label={t("printing.qrcode.showFilamentComment")}>
<Switch checked={showFilamentComment} onChange={(checked) => setShowFilamentComment(checked)} />
</Form.Item>
<Form.Item label={t("printing.qrcode.showVendorComment")}>
<Switch checked={showVendorComment} onChange={(checked) => setShowVendorComment(checked)} />
</Form.Item>
</>
}
/>
);
};
export default SpoolQRCodePrintingDialog;
+40 -28
View File
@@ -1,53 +1,52 @@
import React, { useState } from "react";
import { FloatButton, Modal, Space } from "antd";
import { QrScanner } from "@yudiel/react-qr-scanner";
import { useNavigate } from "react-router-dom";
import { CameraOutlined } from "@ant-design/icons";
import { useTranslate } from "@refinedev/core";
import { IDetectedBarcode, Scanner } from "@yudiel/react-qr-scanner";
import { FloatButton, Modal, Space } from "antd";
import { useState } from "react";
import { useNavigate } from "react-router";
const QRCodeScannerModal: React.FC = () => {
const QRCodeScannerModal = () => {
const [visible, setVisible] = useState(false);
const [lastError, setLastError] = useState<string | null>(null);
const t = useTranslate();
const navigate = useNavigate();
const onScan = (result: string) => {
const onScan = (detectedCodes: IDetectedBarcode[]) => {
if (detectedCodes.length === 0) {
return;
}
const result = detectedCodes[0].rawValue;
// Check for the spoolman ID format
const match = result.match(/^web\+spoolman:s-(?<id>[0-9]+)$/);
const match = result.match(/^web\+spoolman:s-(?<id>[0-9]+)$/i);
if (match && match.groups) {
setVisible(false);
navigate(`/spool/show/${match.groups.id}`);
}
const fullURLmatch = result.match(/^https?:\/\/[^/]+\/spool\/show\/(?<id>[0-9]+)$/i);
if (fullURLmatch && fullURLmatch.groups) {
setVisible(false);
navigate(`/spool/show/${fullURLmatch.groups.id}`);
}
};
return (
<>
<FloatButton type="primary" onClick={() => setVisible(true)} icon={<CameraOutlined />} shape="circle" />
<Modal open={visible} destroyOnClose onCancel={() => setVisible(false)} footer={null} title={t("scanner.title")}>
<Modal open={visible} destroyOnHidden onCancel={() => setVisible(false)} footer={null} title={t("scanner.title")}>
<Space direction="vertical" style={{ width: "100%" }}>
<p>{t("scanner.description")}</p>
<QrScanner
<Scanner
constraints={{
facingMode: "environment",
}}
viewFinder={
lastError
? () => (
<div
style={{
position: "absolute",
textAlign: "center",
width: "100%",
top: "50%",
}}
>
<p>{lastError}</p>
</div>
)
: undefined
}
onDecode={onScan}
onError={(error: Error) => {
onScan={onScan}
// Accept common 2D matrix codes, not just QR, so labels generated with e.g.
// Data Matrix or Aztec codes can be scanned too (issue #887). Payloads that
// don't match the spoolman format are ignored, so widening this is harmless.
formats={["qr_code", "micro_qr_code", "rm_qr_code", "data_matrix", "aztec", "pdf417"]}
onError={(err: unknown) => {
const error = err as Error;
console.error(error);
if (error.name === "NotAllowedError") {
setLastError(t("scanner.error.notAllowed"));
@@ -66,7 +65,20 @@ const QRCodeScannerModal: React.FC = () => {
setLastError(t("scanner.error.unknown", { error: error.name }));
}
}}
/>
>
{lastError && (
<div
style={{
position: "absolute",
textAlign: "center",
width: "100%",
top: "50%",
}}
>
<p>{lastError}</p>
</div>
)}
</Scanner>
</Space>
</Modal>
</>
@@ -1,50 +0,0 @@
// React FC that combines the functionality of first selecting what spools to print QR code for, and then opens up the QR code printing dialog.
import React from "react";
import SpoolSelectModal from "./spoolSelectModal";
import { Button } from "antd";
import { ISpool } from "../pages/spools/model";
import { PrinterOutlined } from "@ant-design/icons";
import { useTranslate } from "@refinedev/core";
import SpoolQRCodePrintingDialog from "./printing/spoolQrCodePrintingDialog";
const SelectAndPrint: React.FC = () => {
const t = useTranslate();
const [step, setStep] = React.useState(0);
const [selectedSpools, setSelectedSpools] = React.useState<ISpool[]>([]);
return (
<>
<Button
type="primary"
icon={<PrinterOutlined />}
onClick={() => {
setStep(1);
}}
>
{t("printing.qrcode.button")}
</Button>
<SpoolSelectModal
visible={step === 1}
description={t("printing.spoolSelect.description")}
onCancel={() => {
setStep(0);
}}
onContinue={(spools) => {
setSelectedSpools(spools);
setStep(2);
}}
/>
<SpoolQRCodePrintingDialog
visible={step === 2}
onCancel={() => {
setStep(0);
}}
items={selectedSpools}
/>
</>
);
};
export default SelectAndPrint;
+5
View File
@@ -15,9 +15,14 @@
height: 4em;
}
.spool-icon.no-margin {
margin: 0;
}
.spool-icon * {
flex: 1 1 0px;
border-radius: 2px;
border: #44444430 solid 2px;
}
.spool-icon.vertical *:first-child {
+5 -3
View File
@@ -3,12 +3,14 @@ import "./spoolIcon.css";
interface Props {
color: string | { colors: string[]; vertical: boolean };
size?: "small" | "large";
no_margin?: boolean;
}
export default function SpoolIcon(props: Props) {
export default function SpoolIcon(props: Readonly<Props>) {
let dirClass = "vertical";
let cols = [];
let size = props.size ? props.size : "small";
const size = props.size ? props.size : "small";
const no_margin = props.no_margin ? "no-margin" : "";
if (typeof props.color === "string") {
cols = [props.color];
@@ -18,7 +20,7 @@ export default function SpoolIcon(props: Props) {
}
return (
<div className={"spool-icon " + dirClass + " " + size}>
<div className={"spool-icon " + dirClass + " " + size + " " + no_margin}>
{cols.map((col) => (
<div
key={col}
+2 -2
View File
@@ -15,7 +15,7 @@ interface IInfo {
build_date?: string;
}
export const Version: React.FC = () => {
export const Version = () => {
const infoResult = useQuery<IInfo>({
queryKey: ["info"],
queryFn: async () => {
@@ -31,7 +31,7 @@ export const Version: React.FC = () => {
return <Spin />;
}
if (infoResult.isError) {
if (infoResult.isError || !infoResult.data) {
return <span>Unknown</span>;
}
+40 -18
View File
@@ -1,47 +1,69 @@
import { RefineThemes } from "@refinedev/antd";
import { ConfigProvider, theme } from "antd";
import { createContext, PropsWithChildren, useEffect, useState } from "react";
export type ThemePreference = "system" | "light" | "dark";
type ResolvedMode = "light" | "dark";
type ColorModeContextType = {
mode: string;
setMode: (mode: string) => void;
// The effective theme actually applied ("light" | "dark").
mode: ResolvedMode;
// The user's chosen preference; "system" follows the OS/browser setting live.
preference: ThemePreference;
setPreference: (preference: ThemePreference) => void;
};
export const ColorModeContext = createContext<ColorModeContextType>({} as ColorModeContextType);
export const ColorModeContextProvider: React.FC<PropsWithChildren> = ({ children }) => {
const colorModeFromLocalStorage = localStorage.getItem("colorMode");
const isSystemPreferenceDark = window?.matchMedia("(prefers-color-scheme: dark)").matches;
const DARK_MEDIA_QUERY = "(prefers-color-scheme: dark)";
const systemPreference = isSystemPreferenceDark ? "dark" : "light";
const [mode, setMode] = useState(colorModeFromLocalStorage || systemPreference);
const isThemePreference = (value: string | null): value is ThemePreference =>
value === "system" || value === "light" || value === "dark";
const getSystemMode = (): ResolvedMode => (window?.matchMedia(DARK_MEDIA_QUERY).matches ? "dark" : "light");
export const ColorModeContextProvider = ({ children }: PropsWithChildren) => {
// Legacy versions stored the resolved "light"/"dark" here, which are still valid
// preference values, so existing users keep whatever they had. New/unset installs
// default to "system" so the app follows the OS/browser theme (issue #947).
const storedPreference = localStorage.getItem("colorMode");
const [preference, setPreferenceState] = useState<ThemePreference>(
isThemePreference(storedPreference) ? storedPreference : "system",
);
const [systemMode, setSystemMode] = useState<ResolvedMode>(getSystemMode);
// Keep tracking the OS/browser theme so "system" reacts to changes at runtime.
useEffect(() => {
window.localStorage.setItem("colorMode", mode);
}, [mode]);
const media = window.matchMedia(DARK_MEDIA_QUERY);
const handler = (event: MediaQueryListEvent) => setSystemMode(event.matches ? "dark" : "light");
media.addEventListener("change", handler);
return () => media.removeEventListener("change", handler);
}, []);
const setColorMode = () => {
if (mode === "light") {
setMode("dark");
} else {
setMode("light");
}
const setPreference = (next: ThemePreference) => {
setPreferenceState(next);
window.localStorage.setItem("colorMode", next);
};
const mode: ResolvedMode = preference === "system" ? systemMode : preference;
const { darkAlgorithm, defaultAlgorithm } = theme;
return (
<ColorModeContext.Provider
value={{
setMode: setColorMode,
mode,
preference,
setPreference,
}}
>
<ConfigProvider
// you can change the theme colors here. example: ...RefineThemes.Magenta,
theme={{
...RefineThemes.Yellow,
algorithm: mode === "light" ? defaultAlgorithm : darkAlgorithm,
token: {
colorPrimary: "#dc7734",
},
}}
>
{children}
+69 -19
View File
@@ -1,3 +1,4 @@
import dayjs from "dayjs";
import i18n from "i18next";
import detector from "i18next-browser-languagedetector";
import Backend from "i18next-http-backend";
@@ -6,102 +7,147 @@ import { getBasePath } from "./utils/url";
interface Language {
name: string;
countryCode: string;
fullCode: string;
djs: () => Promise<ILocale>;
}
/**
* List of languages to load
* The key of each object is the folder name in the locales dir.
* name: Name of the language in the list
* countryCode: Country code of the country's flag to display for this language
* fullCode: Full language code, used for Ant Design's locale
* djs: Function to load the dayjs locale, see https://github.com/iamkun/dayjs/tree/dev/src/locale for list of locales
*/
export const languages: { [key: string]: Language } = {
["en"]: {
name: "English",
countryCode: "gb",
fullCode: "en-GB",
djs: () => import("dayjs/locale/en"),
},
["sv"]: {
name: "Svenska",
countryCode: "se",
fullCode: "sv-SE",
djs: () => import("dayjs/locale/sv"),
},
["de"]: {
name: "Deutsch",
countryCode: "de",
fullCode: "de-DE",
djs: () => import("dayjs/locale/de"),
},
["es"]: {
name: "Español",
countryCode: "es",
fullCode: "es-ES",
djs: () => import("dayjs/locale/es"),
},
["zh"]: {
name: "简体中文",
countryCode: "cn",
fullCode: "zh-CN",
djs: () => import("dayjs/locale/zh-cn"),
},
["zh-Hant"]: {
name: "繁體中文",
fullCode: "zh-TW",
djs: () => import("dayjs/locale/zh-hk"),
},
["pl"]: {
name: "Polski",
countryCode: "pl",
fullCode: "pl-PL",
djs: () => import("dayjs/locale/pl"),
},
["ru"]: {
name: "Русский",
countryCode: "ru",
fullCode: "ru-RU",
djs: () => import("dayjs/locale/ru"),
},
["cs"]: {
name: "Česky",
countryCode: "cz",
fullCode: "cs-CZ",
djs: () => import("dayjs/locale/cs"),
},
["nb-NO"]: {
name: "Norsk bokmål",
countryCode: "no",
fullCode: "nb-NO",
djs: () => import("dayjs/locale/nb"),
},
["nl"]: {
name: "Nederlands",
countryCode: "nl",
fullCode: "nl-NL",
djs: () => import("dayjs/locale/nl"),
},
["fr"]: {
name: "Français",
countryCode: "fr",
fullCode: "fr-FR",
djs: () => import("dayjs/locale/fr"),
},
["hu"]: {
name: "Magyar",
countryCode: "hu",
fullCode: "hu-HU",
djs: () => import("dayjs/locale/hu"),
},
["it"]: {
name: "Italiano",
countryCode: "it",
fullCode: "it-IT",
djs: () => import("dayjs/locale/it"),
},
["uk"]: {
name: "Українська",
countryCode: "ua",
fullCode: "uk-UA",
djs: () => import("dayjs/locale/uk"),
},
["el"]: {
name: "Ελληνικά",
countryCode: "gr",
fullCode: "el-GR",
djs: () => import("dayjs/locale/el"),
},
["da"]: {
name: "Dansk",
countryCode: "dk",
fullCode: "da-DK",
djs: () => import("dayjs/locale/da"),
},
["pt"]: {
name: "Português",
countryCode: "pt",
fullCode: "pt-PT",
djs: () => import("dayjs/locale/pt"),
},
["fa"]: {
name: "فارسی",
fullCode: "fa-IR",
djs: () => import("dayjs/locale/fa"),
},
["ro"]: {
name: "Român",
fullCode: "ro-RO",
djs: () => import("dayjs/locale/ro"),
},
["ja"]: {
name: "日本語",
fullCode: "ja-JP",
djs: () => import("dayjs/locale/ja"),
},
["pt-BR"]: {
name: "Português (Brasil)",
fullCode: "pt-BR",
djs: () => import("dayjs/locale/pt-br"),
},
["ta"]: {
name: "தமிழ்",
fullCode: "ta-IN",
djs: () => import("dayjs/locale/ta"),
},
["th"]: {
name: "ไทย",
fullCode: "th-TH",
djs: () => import("dayjs/locale/th"),
},
["lt"]: {
name: "Lietuvių",
fullCode: "lt-LT",
djs: () => import("dayjs/locale/lt"),
},
["tr"]: {
name: "Türkçe",
fullCode: "tr-TR",
djs: () => import("dayjs/locale/tr"),
},
};
@@ -119,4 +165,8 @@ i18n
fallbackLng: "en",
});
i18n.on("languageChanged", function (lng) {
languages[lng].djs().then((djs) => dayjs.locale(djs.name));
});
export default i18n;
+2 -1
View File
@@ -1,3 +1,4 @@
import "@ant-design/v5-patch-for-react-19";
import React from "react";
import { createRoot } from "react-dom/client";
@@ -12,5 +13,5 @@ root.render(
<React.Suspense fallback="loading">
<App />
</React.Suspense>
</React.StrictMode>
</React.StrictMode>,
);
+27 -21
View File
@@ -1,22 +1,20 @@
import React from "react";
import { HttpError, IResourceComponentsProps, useInvalidate, useTranslate } from "@refinedev/core";
import { Create, useForm, useSelect } from "@refinedev/antd";
import { Form, Input, Select, InputNumber, ColorPicker, Button, Typography, Modal, Radio } from "antd";
import { HttpError, IResourceComponentsProps, useInvalidate, useTranslate } from "@refinedev/core";
import { Button, ColorPicker, Form, Input, InputNumber, Radio, Select, Typography } from "antd";
import TextArea from "antd/es/input/TextArea";
import { numberFormatter, numberParser } from "../../utils/parsing";
import { IVendor } from "../vendors/model";
import { IFilament, IFilamentParsedExtras } from "./model";
import { EntityType, useGetFields } from "../../utils/queryFields";
import { ExtraFieldFormItem, StringifiedExtras } from "../../components/extraFields";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { getCurrencySymbol, useCurrency } from "../../utils/settings";
import { searchMatches } from "../../utils/filtering";
import { ExternalFilament, useGetExternalDBFilaments } from "../../utils/queryExternalDB";
import { formatFilamentLabel } from "../spools/functions";
import { useEffect, useState } from "react";
import { ExtraFieldFormItem, ParsedExtras, StringifiedExtras } from "../../components/extraFields";
import { FilamentImportModal } from "../../components/filamentImportModal";
import { getOrCreateVendorFromExternal } from "../vendors/functions";
import { MultiColorPicker } from "../../components/multiColorPicker";
import { formatNumberOnUserInput, numberParser, numberParserAllowEmpty } from "../../utils/parsing";
import { ExternalFilament } from "../../utils/queryExternalDB";
import { EntityType, useGetFields } from "../../utils/queryFields";
import { getCurrencySymbol, useCurrency } from "../../utils/settings";
import { getOrCreateVendorFromExternal } from "../vendors/functions";
import { IVendor } from "../vendors/model";
import { IFilament, IFilamentParsedExtras } from "./model";
dayjs.extend(utc);
@@ -28,13 +26,13 @@ type IFilamentRequest = Omit<IFilamentParsedExtras, "id" | "registered"> & {
vendor_id: number;
};
export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrCloneProps> = (props) => {
export const FilamentCreate = (props: IResourceComponentsProps & CreateOrCloneProps) => {
const t = useTranslate();
const extraFields = useGetFields(EntityType.filament);
const currency = useCurrency();
const [isImportExtOpen, setIsImportExtOpen] = React.useState(false);
const [isImportExtOpen, setIsImportExtOpen] = useState(false);
const invalidate = useInvalidate();
const [colorType, setColorType] = React.useState<"single" | "multi">("single");
const [colorType, setColorType] = useState<"single" | "multi">("single");
const { form, formProps, formLoading, onFinish, redirect } = useForm<
IFilament,
@@ -52,6 +50,9 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
if (formProps.initialValues.vendor) {
formProps.initialValues.vendor_id = formProps.initialValues.vendor.id;
}
// Parse the extra fields from string values into real types
formProps.initialValues = ParsedExtras(formProps.initialValues);
}
const handleSubmit = async (redirectTo: "list" | "create") => {
@@ -63,6 +64,7 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
const { selectProps: vendorSelect } = useSelect<IVendor>({
resource: "vendor",
optionLabel: "name",
pagination: { mode: "off" },
});
const importFilament = async (filament: ExternalFilament) => {
@@ -72,6 +74,8 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
invalidates: ["list", "detail"],
});
setColorType(filament.color_hexes ? "multi" : "single");
form.setFieldsValue({
name: filament.name,
vendor_id: vendor.id,
@@ -81,6 +85,8 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
weight: filament.weight,
spool_weight: filament.spool_weight || undefined,
color_hex: filament.color_hex,
multi_color_hexes: filament.color_hexes?.join(",") || undefined,
multi_color_direction: filament.multi_color_direction,
settings_extruder_temp: filament.extruder_temp || undefined,
settings_bed_temp: filament.bed_temp || undefined,
});
@@ -88,7 +94,7 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
// Use useEffect to update the form's initialValues when the extra fields are loaded
// This is necessary because the form is rendered before the extra fields are loaded
React.useEffect(() => {
useEffect(() => {
extraFields.data?.forEach((field) => {
if (formProps.initialValues && field.default_value) {
const parsedValue = JSON.parse(field.default_value as string);
@@ -245,8 +251,8 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
<InputNumber
addonAfter={getCurrencySymbol(undefined, currency)}
precision={2}
formatter={numberFormatter}
parser={numberParser}
formatter={formatNumberOnUserInput}
parser={numberParserAllowEmpty}
/>
</Form.Item>
<Form.Item
@@ -261,7 +267,7 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
},
]}
>
<InputNumber addonAfter="g/cm³" precision={2} formatter={numberFormatter} parser={numberParser} />
<InputNumber addonAfter="g/cm³" precision={2} formatter={formatNumberOnUserInput} parser={numberParser} />
</Form.Item>
<Form.Item
label={t("filament.fields.diameter")}
@@ -275,7 +281,7 @@ export const FilamentCreate: React.FC<IResourceComponentsProps & CreateOrClonePr
},
]}
>
<InputNumber addonAfter="mm" precision={2} formatter={numberFormatter} parser={numberParser} />
<InputNumber addonAfter="mm" precision={2} formatter={formatNumberOnUserInput} parser={numberParser} />
</Form.Item>
<Form.Item
label={t("filament.fields.weight")}
+32 -19
View File
@@ -1,17 +1,16 @@
import React, { useState } from "react";
import { HttpError, IResourceComponentsProps, useTranslate } from "@refinedev/core";
import { Edit, useForm, useSelect } from "@refinedev/antd";
import { Form, Input, DatePicker, Select, InputNumber, ColorPicker, message, Alert, Typography, Radio } from "antd";
import dayjs from "dayjs";
import { HttpError, useTranslate } from "@refinedev/core";
import { Alert, ColorPicker, DatePicker, Form, Input, InputNumber, message, Radio, Select, Typography } from "antd";
import TextArea from "antd/es/input/TextArea";
import { numberFormatter, numberParser } from "../../utils/parsing";
import dayjs from "dayjs";
import { useEffect, useState } from "react";
import { ExtraFieldFormItem, ParsedExtras, StringifiedExtras } from "../../components/extraFields";
import { MultiColorPicker } from "../../components/multiColorPicker";
import { formatNumberOnUserInput, numberParser, numberParserAllowEmpty } from "../../utils/parsing";
import { EntityType, useGetFields } from "../../utils/queryFields";
import { getCurrencySymbol, useCurrency } from "../../utils/settings";
import { IVendor } from "../vendors/model";
import { IFilament, IFilamentParsedExtras } from "./model";
import { EntityType, useGetFields } from "../../utils/queryFields";
import { ExtraFieldFormItem, StringifiedExtras } from "../../components/extraFields";
import { ParsedExtras } from "../../components/extraFields";
import { getCurrencySymbol, useCurrency } from "../../utils/settings";
import { MultiColorPicker } from "../../components/multiColorPicker";
/*
The API returns the extra fields as JSON values, but we need to parse them into their real types
@@ -20,13 +19,13 @@ We also need to stringify them again before sending them back to the API, which
the form's onFinish method. Form.Item's normalize should do this, but it doesn't seem to work.
*/
export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
export const FilamentEdit = () => {
const t = useTranslate();
const [messageApi, contextHolder] = message.useMessage();
const [hasChanged, setHasChanged] = useState(false);
const extraFields = useGetFields(EntityType.filament);
const currency = useCurrency();
const [colorType, setColorType] = React.useState<"single" | "multi">("single");
const [colorType, setColorType] = useState<"single" | "multi">("single");
const { formProps, saveButtonProps } = useForm<IFilament, HttpError, IFilament, IFilament>({
liveMode: "manual",
@@ -41,6 +40,7 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
const { selectProps } = useSelect<IVendor>({
resource: "vendor",
optionLabel: "name",
pagination: { mode: "off" },
});
// Add the vendor_id field to the form
@@ -52,8 +52,7 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
}
// Update colorType state
React.useEffect(() => {
console.log(formProps.initialValues?.multi_color_hexes);
useEffect(() => {
if (formProps.initialValues?.multi_color_hexes) {
setColorType("multi");
} else {
@@ -65,6 +64,9 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
const originalOnFinish = formProps.onFinish;
formProps.onFinish = (allValues: IFilamentParsedExtras) => {
if (allValues !== undefined && allValues !== null) {
if (colorType == "single") {
allValues.multi_color_hexes = "";
}
// Lot of stupidity here to make types work
const stringifiedAllValues = StringifiedExtras<IFilamentParsedExtras>(allValues);
originalOnFinish?.({
@@ -168,7 +170,7 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
return e?.toHex();
}}
>
<ColorPicker format="hex" />
<ColorPicker />
</Form.Item>
)}
{colorType == "multi" && (
@@ -227,8 +229,8 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
<InputNumber
addonAfter={getCurrencySymbol(undefined, currency)}
precision={2}
formatter={numberFormatter}
parser={numberParser}
formatter={formatNumberOnUserInput}
parser={numberParserAllowEmpty}
/>
</Form.Item>
<Form.Item
@@ -243,7 +245,7 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
},
]}
>
<InputNumber addonAfter="g/cm³" precision={2} formatter={numberFormatter} parser={numberParser} />
<InputNumber addonAfter="g/cm³" precision={2} formatter={formatNumberOnUserInput} parser={numberParser} />
</Form.Item>
<Form.Item
label={t("filament.fields.diameter")}
@@ -257,7 +259,7 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
},
]}
>
<InputNumber addonAfter="mm" precision={2} formatter={numberFormatter} parser={numberParser} />
<InputNumber addonAfter="mm" precision={2} formatter={formatNumberOnUserInput} parser={numberParser} />
</Form.Item>
<Form.Item
label={t("filament.fields.weight")}
@@ -325,6 +327,17 @@ export const FilamentEdit: React.FC<IResourceComponentsProps> = () => {
>
<Input maxLength={64} />
</Form.Item>
<Form.Item
label={t("filament.fields.external_id")}
name={["external_id"]}
rules={[
{
required: false,
},
]}
>
<Input maxLength={64} />
</Form.Item>
<Form.Item
label={t("filament.fields.comment")}
name={["comment"]}
+7 -3
View File
@@ -10,12 +10,14 @@ import { IFilament } from "./model";
export async function createFilamentFromExternal(externalFilament: ExternalFilament): Promise<IFilament> {
const vendor = await getOrCreateVendorFromExternal(externalFilament.manufacturer);
let color_hex = undefined;
let color_hex: string | undefined = undefined;
let multi_color_hexes: string | undefined = undefined;
let multi_color_direction: string | undefined = undefined;
if (externalFilament.color_hex) {
color_hex = externalFilament.color_hex;
} else if (externalFilament.color_hexes && externalFilament.color_hexes.length > 0) {
// TODO: Support for multi-color filaments
color_hex = externalFilament.color_hexes[0];
multi_color_hexes = externalFilament.color_hexes.join(",");
multi_color_direction = externalFilament.multi_color_direction;
}
const body: Omit<IFilament, "id" | "registered" | "extra"> & { vendor_id: number } = {
@@ -27,6 +29,8 @@ export async function createFilamentFromExternal(externalFilament: ExternalFilam
weight: externalFilament.weight,
spool_weight: externalFilament.spool_weight || undefined,
color_hex: color_hex,
multi_color_hexes: multi_color_hexes,
multi_color_direction: multi_color_direction,
settings_extruder_temp: externalFilament.extruder_temp || undefined,
settings_bed_temp: externalFilament.bed_temp || undefined,
external_id: externalFilament.id,
+30 -31
View File
@@ -1,33 +1,33 @@
import React from "react";
import { IResourceComponentsProps, useTranslate, useInvalidate, useNavigation } from "@refinedev/core";
import { useTable, List } from "@refinedev/antd";
import { Table, Button, Dropdown } from "antd";
import { EditOutlined, EyeOutlined, FileOutlined, FilterOutlined, PlusSquareOutlined } from "@ant-design/icons";
import { List, useTable } from "@refinedev/antd";
import { useInvalidate, useNavigation, useTranslate } from "@refinedev/core";
import { Button, Dropdown, Table } from "antd";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { IFilament } from "./model";
import { EditOutlined, EyeOutlined, FileOutlined, FilterOutlined, PlusSquareOutlined } from "@ant-design/icons";
import { TableState, useInitialTableState, useStoreInitialState } from "../../utils/saveload";
import { useMemo, useState } from "react";
import { useNavigate } from "react-router";
import {
ActionsColumn,
CustomFieldColumn,
DateColumn,
FilteredQueryColumn,
NumberColumn,
RichColumn,
SortedColumn,
SpoolIconColumn,
ActionsColumn,
CustomFieldColumn,
} from "../../components/column";
import { useLiveify } from "../../components/liveify";
import {
useSpoolmanArticleNumbers,
useSpoolmanFilamentNames,
useSpoolmanMaterials,
useSpoolmanVendors,
} from "../../components/otherModels";
import { useLiveify } from "../../components/liveify";
import { removeUndefined } from "../../utils/filtering";
import { EntityType, useGetFields } from "../../utils/queryFields";
import { useNavigate } from "react-router-dom";
import { useCurrency } from "../../utils/settings";
import { TableState, useInitialTableState, useStoreInitialState } from "../../utils/saveload";
import { useCurrencyFormatter } from "../../utils/settings";
import { IFilament } from "./model";
dayjs.extend(utc);
@@ -69,15 +69,15 @@ const allColumns: (keyof IFilamentCollapsed & string)[] = [
"comment",
];
const defaultColumns = allColumns.filter(
(column_id) => ["registered", "density", "diameter", "spool_weight"].indexOf(column_id) === -1
(column_id) => ["registered", "density", "diameter", "spool_weight"].indexOf(column_id) === -1,
);
export const FilamentList: React.FC<IResourceComponentsProps> = () => {
export const FilamentList = () => {
const t = useTranslate();
const invalidate = useInvalidate();
const navigate = useNavigate();
const extraFields = useGetFields(EntityType.filament);
const currency = useCurrency();
const currencyFormatter = useCurrencyFormatter();
const allColumnsWithExtraFields = [...allColumns, ...(extraFields.data?.map((field) => "extra." + field.key) ?? [])];
@@ -88,12 +88,12 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
// To provide the live updates, we use a custom solution (useLiveify) instead of the built-in refine "liveMode" feature.
// This is because the built-in feature does not call the liveProvider subscriber with a list of IDs, but instead
// calls it with a list of filters, sorters, etc. This means the server-side has to support this, which is quite hard.
const { tableProps, sorters, setSorters, filters, setFilters, current, pageSize, setCurrent } =
const { tableProps, sorters, setSorters, filters, setFilters, currentPage, pageSize, setCurrentPage } =
useTable<IFilamentCollapsed>({
syncWithLocation: false,
pagination: {
mode: "server",
current: initialState.pagination.current,
currentPage: initialState.pagination.currentPage,
pageSize: initialState.pagination.pageSize,
},
sorters: {
@@ -125,21 +125,21 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
});
// Create state for the columns to show
const [showColumns, setShowColumns] = React.useState<string[]>(initialState.showColumns ?? defaultColumns);
const [showColumns, setShowColumns] = useState<string[]>(initialState.showColumns ?? defaultColumns);
// Store state in local storage
const tableState: TableState = {
sorters,
filters,
pagination: { current, pageSize },
pagination: { currentPage: currentPage, pageSize },
showColumns,
};
useStoreInitialState(namespace, tableState);
// Collapse the dataSource to a mutable list
const queryDataSource: IFilamentCollapsed[] = React.useMemo(
const queryDataSource: IFilamentCollapsed[] = useMemo(
() => (tableProps.dataSource || []).map((record) => ({ ...record })),
[tableProps.dataSource]
[tableProps.dataSource],
);
const dataSource = useLiveify("filament", queryDataSource, collapseFilament);
@@ -175,7 +175,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
onClick={() => {
setFilters([], "replace");
setSorters([{ field: "id", order: "asc" }]);
setCurrent(1);
setCurrentPage(1);
}}
>
{t("buttons.clearFilters")}
@@ -260,14 +260,13 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
...commonProps,
id: "price",
i18ncat: "filament",
align: "right",
width: 80,
render: (_, obj: IFilamentCollapsed) => {
return obj.price?.toLocaleString(undefined, {
style: "currency",
currencyDisplay: "narrowSymbol",
currency: currency,
notation: "compact",
});
if (obj.price === undefined) {
return "";
}
return currencyFormatter.format(obj.price);
},
}),
NumberColumn({
@@ -291,7 +290,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
id: "weight",
i18ncat: "filament",
unit: "g",
maxDecimals: 1,
maxDecimals: 0,
width: 100,
}),
NumberColumn({
@@ -299,7 +298,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
id: "spool_weight",
i18ncat: "filament",
unit: "g",
maxDecimals: 1,
maxDecimals: 0,
width: 100,
}),
FilteredQueryColumn({
@@ -342,7 +341,7 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
i18ncat: "filament",
width: 150,
}),
ActionsColumn(actions),
ActionsColumn(t("table.actions"), actions),
])}
/>
</List>
+15 -23
View File
@@ -1,30 +1,29 @@
import React from "react";
import { IResourceComponentsProps, useShow, useTranslate } from "@refinedev/core";
import { Show, NumberField, DateField, TextField } from "@refinedev/antd";
import { DateField, NumberField, Show, TextField } from "@refinedev/antd";
import { useShow, useTranslate } from "@refinedev/core";
import { Button, Typography } from "antd";
import { NumberFieldUnit } from "../../components/numberField";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { IFilament } from "./model";
import { enrichText } from "../../utils/parsing";
import { useNavigate } from "react-router-dom";
import { EntityType, useGetFields } from "../../utils/queryFields";
import { useNavigate } from "react-router";
import { ExtraFieldDisplay } from "../../components/extraFields";
import { useCurrency } from "../../utils/settings";
import { NumberFieldUnit } from "../../components/numberField";
import SpoolIcon from "../../components/spoolIcon";
import { enrichText } from "../../utils/parsing";
import { EntityType, useGetFields } from "../../utils/queryFields";
import { useCurrencyFormatter } from "../../utils/settings";
import { IFilament } from "./model";
dayjs.extend(utc);
const { Title } = Typography;
export const FilamentShow: React.FC<IResourceComponentsProps> = () => {
export const FilamentShow = () => {
const t = useTranslate();
const navigate = useNavigate();
const extraFields = useGetFields(EntityType.filament);
const currency = useCurrency();
const { queryResult } = useShow<IFilament>({
const currencyFormatter = useCurrencyFormatter();
const { query } = useShow<IFilament>({
liveMode: "auto",
});
const { data, isLoading } = queryResult;
const { data, isLoading } = query;
const record = data?.data;
@@ -88,19 +87,12 @@ export const FilamentShow: React.FC<IResourceComponentsProps> = () => {
<Title level={5}>{t("filament.fields.name")}</Title>
<TextField value={record?.name} />
<Title level={5}>{t("filament.fields.color_hex")}</Title>
{colorObj && <SpoolIcon color={colorObj} size="large" />}
{colorObj && <SpoolIcon color={colorObj} size="large" no_margin />}
{record?.color_hex && <TextField value={`#${record?.color_hex}`} />}
<Title level={5}>{t("filament.fields.material")}</Title>
<TextField value={record?.material} />
<Title level={5}>{t("filament.fields.price")}</Title>
<NumberField
value={record?.price ?? ""}
options={{
style: "currency",
currency: currency,
currencyDisplay: "narrowSymbol",
notation: "compact",
}}
/>
<TextField value={record?.price ? currencyFormatter.format(record.price) : ""} />
<Title level={5}>{t("filament.fields.density")}</Title>
<NumberFieldUnit
value={record?.density ?? ""}
+7 -8
View File
@@ -1,19 +1,18 @@
import React from "react";
import { IResourceComponentsProps, useTranslate } from "@refinedev/core";
import { FileOutlined, HighlightOutlined, UserOutlined } from "@ant-design/icons";
import { useTranslate } from "@refinedev/core";
import { List, theme } from "antd";
import { Content } from "antd/es/layout/layout";
import Title from "antd/es/typography/Title";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { Content } from "antd/es/layout/layout";
import { List, theme } from "antd";
import Title from "antd/es/typography/Title";
import { FileOutlined, HighlightOutlined, UserOutlined } from "@ant-design/icons";
import { Link } from "react-router-dom";
import { Trans } from "react-i18next";
import { Link } from "react-router";
dayjs.extend(utc);
const { useToken } = theme;
export const Help: React.FC<IResourceComponentsProps> = () => {
export const Help = () => {
const { token } = useToken();
const t = useTranslate();
+25 -20
View File
@@ -1,20 +1,21 @@
import React, { ReactNode } from "react";
import { IResourceComponentsProps, useList, useTranslate } from "@refinedev/core";
import { FileOutlined, HighlightOutlined, PlusOutlined, UnorderedListOutlined, UserOutlined } from "@ant-design/icons";
import { useList, useTranslate } from "@refinedev/core";
import { Card, Col, Row, Statistic, theme } from "antd";
import { Content } from "antd/es/layout/layout";
import Title from "antd/es/typography/Title";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { Content } from "antd/es/layout/layout";
import { Card, Col, Row, Statistic, theme } from "antd";
import Title from "antd/es/typography/Title";
import { ReactNode } from "react";
import { Trans } from "react-i18next";
import { Link } from "react-router";
import Logo from "../../icon.svg?react";
import { FileOutlined, HighlightOutlined, PlusOutlined, UnorderedListOutlined, UserOutlined } from "@ant-design/icons";
import { ISpool } from "../spools/model";
import { Link } from "react-router-dom";
dayjs.extend(utc);
const { useToken } = theme;
export const Home: React.FC<IResourceComponentsProps> = () => {
export const Home = () => {
const { token } = useToken();
const t = useTranslate();
@@ -31,17 +32,17 @@ export const Home: React.FC<IResourceComponentsProps> = () => {
pagination: { pageSize: 1 },
});
const hasSpools = !spools.data || spools.data.data.length > 0;
const hasSpools = !spools.result || spools.result.data.length > 0;
const ResourceStatsCard = (props: { loading: boolean; value: number; resource: string; icon: ReactNode }) => (
<Col xs={12} md={6}>
<Card
loading={props.loading}
actions={[
<Link to={`/${props.resource}`}>
<Link to={`/${props.resource}`} key="resource">
<UnorderedListOutlined />
</Link>,
<Link to={`/${props.resource}/create`}>
<Link to={`/${props.resource}/create`} key="create">
<PlusOutlined />
</Link>,
]}
@@ -88,29 +89,33 @@ export const Home: React.FC<IResourceComponentsProps> = () => {
<Row justify="center" gutter={[16, 16]} style={{ marginTop: "3em" }}>
<ResourceStatsCard
resource="spool"
value={spools.data?.total || 0}
loading={spools.isLoading}
value={spools.result?.total || 0}
loading={spools.query.isLoading}
icon={<FileOutlined />}
/>
<ResourceStatsCard
resource="filament"
value={filaments.data?.total || 0}
loading={filaments.isLoading}
value={filaments.result?.total || 0}
loading={filaments.query.isLoading}
icon={<HighlightOutlined />}
/>
<ResourceStatsCard
resource="vendor"
value={vendors.data?.total || 0}
loading={vendors.isLoading}
value={vendors.result?.total || 0}
loading={vendors.query.isLoading}
icon={<UserOutlined />}
/>
</Row>
{!hasSpools && (
<>
<p style={{ marginTop: 32 }}>Welcome to your Spoolman instance!</p>
<p style={{ marginTop: 32 }}>{t("home.welcome")}</p>
<p>
It looks like you haven't added any spools yet. See the <Link to="/help">Help page</Link> for help getting
started.
<Trans
i18nKey="home.description"
components={{
helpPageLink: <Link to="/help" />,
}}
/>
</p>
</>
)}
@@ -0,0 +1,185 @@
import { Button, Input, theme } from "antd";
import type { Identifier, XYCoord } from "dnd-core";
import { useRef, useState } from "react";
import { DragSourceMonitor, useDrag, useDrop } from "react-dnd";
import { DeleteOutlined } from "@ant-design/icons";
import { useTranslate, useUpdate } from "@refinedev/core";
import { ISpool } from "../../spools/model";
import { DragItem, ItemTypes, SpoolDragItem } from "../dnd";
import { EMPTYLOC } from "../functions";
import { SpoolList } from "./spoolList";
const { useToken } = theme;
export function Location({
index,
title,
spools,
showDelete,
onDelete,
moveLocation,
onEditTitle,
locationSpoolOrder,
setLocationSpoolOrder,
}: {
index: number;
title: string;
spools: ISpool[];
showDelete?: boolean;
onDelete?: () => void;
moveLocation: (dragIndex: number, hoverIndex: number) => void;
onEditTitle: (newTitle: string) => void;
locationSpoolOrder: number[];
setLocationSpoolOrder: (spoolOrder: number[]) => void;
}) {
const { token } = useToken();
const t = useTranslate();
const [editTitle, setEditTitle] = useState(false);
const [newTitle, setNewTitle] = useState(title);
const { mutate: updateSpool } = useUpdate({
resource: "spool",
mutationMode: "optimistic",
successNotification: false,
});
const moveSpoolLocation = (spool_id: number, location: string) => {
updateSpool({
id: spool_id,
values: {
location: location,
},
});
};
const dropTypes = title == EMPTYLOC ? [ItemTypes.SPOOL] : [ItemTypes.CONTAINER, ItemTypes.SPOOL];
const ref = useRef<HTMLDivElement>(null);
const [{ handlerId }, drop] = useDrop<DragItem, void, { handlerId: Identifier | null }>({
accept: dropTypes,
collect(monitor) {
return {
handlerId: monitor.getHandlerId(),
};
},
hover(item, monitor) {
if (!ref.current) {
return null;
}
if ("spool" in item) {
// Only allow dropping spools on the container if it's empty.
if (spools.length > 0) {
return null;
}
const spoolitem = item as SpoolDragItem;
if (spoolitem.spool.location !== title) {
moveSpoolLocation(spoolitem.spool.id, title);
spoolitem.spool.location = title;
}
return null;
}
const dragIndex = item.index;
const hoverIndex = index;
// Don't replace items with themselves
if (dragIndex === hoverIndex) {
return;
}
// Determine rectangle on screen
const hoverBoundingRect = ref.current?.getBoundingClientRect();
// Get horizontal middle
const hoverMiddleX = (hoverBoundingRect.right - hoverBoundingRect.left) / 2;
// Determine mouse position
const clientOffset = monitor.getClientOffset();
// Get pixels to the left
const hoverClientX = (clientOffset as XYCoord).x - hoverBoundingRect.left;
// Dragging downwards
if (dragIndex < hoverIndex && hoverClientX < hoverMiddleX) {
return;
}
// Dragging upwards
if (dragIndex > hoverIndex && hoverClientX > hoverMiddleX) {
return;
}
// Time to actually perform the action
moveLocation(dragIndex, hoverIndex);
item.index = hoverIndex;
},
});
const [{ isDragging }, drag] = useDrag({
type: ItemTypes.CONTAINER,
canDrag: !editTitle && title != EMPTYLOC,
item: () => {
return { title, index };
},
collect: (monitor: DragSourceMonitor<{ title: string; index: number }>) => ({
isDragging: monitor.isDragging(),
}),
});
const displayTitle = title == EMPTYLOC ? t("locations.no_location") : title;
const opacity = isDragging ? 0 : 1;
drag(drop(ref));
const canEditTitle = title != EMPTYLOC;
const titleStyle = {
color: canEditTitle ? undefined : token.colorTextTertiary,
};
const spoolCountStyle = {
color: token.colorTextQuaternary,
};
return (
<div
className={"loc-container " + (title != EMPTYLOC ? "grabable" : "")}
ref={ref}
style={{ opacity }}
data-handler-id={handlerId}
>
<h3>
{editTitle ? (
<Input
autoFocus
variant="borderless"
value={newTitle}
onBlur={() => setEditTitle(false)}
onChange={(e) => setNewTitle(e.target.value)}
onPressEnter={() => {
setEditTitle(false);
return onEditTitle(newTitle);
}}
/>
) : (
<span
className={canEditTitle ? "editable" : ""}
onClick={() => {
if (!canEditTitle) return;
setNewTitle(title);
setEditTitle(true);
}}
style={titleStyle}
>
{displayTitle}
{<span style={spoolCountStyle}> ({spools.length})</span>}
</span>
)}
{showDelete && <Button icon={<DeleteOutlined />} size="small" type="text" onClick={onDelete} />}
</h3>
<SpoolList spools={spools} spoolOrder={locationSpoolOrder} setSpoolOrder={setLocationSpoolOrder} />
</div>
);
}
@@ -0,0 +1,198 @@
import { PlusOutlined } from "@ant-design/icons";
import { useList, useTranslate } from "@refinedev/core";
import { Button } from "antd";
import { useEffect, useMemo } from "react";
import { useSetSetting } from "../../../utils/querySettings";
import { ISpool } from "../../spools/model";
import { EMPTYLOC, useLocations, useLocationsSpoolOrders, useRenameSpoolLocation } from "../functions";
import { Location } from "./location";
export function LocationContainer() {
const t = useTranslate();
const renameSpoolLocation = useRenameSpoolLocation();
const settingsLocations = useLocations();
const setLocationsSetting = useSetSetting<string[]>("locations");
const locationsSpoolOrders = useLocationsSpoolOrders();
const setLocationsSpoolOrders = useSetSetting<Record<string, number[]>>("locations_spoolorders");
const { result: spoolData, query } = useList<ISpool>({
resource: "spool",
meta: {
queryParams: {
["allow_archived"]: false,
},
},
pagination: {
mode: "off",
},
});
const isLoading = query.isLoading;
const isError = query.isError;
// Group spools by location
const spoolLocations = (() => {
const spools = spoolData?.data ?? [];
spools.sort((a, b) => a.id - b.id);
const grouped: Record<string, ISpool[]> = {};
spools.forEach((spool) => {
const loc = spool.location ?? EMPTYLOC;
if (!grouped[loc]) {
grouped[loc] = [];
}
grouped[loc].push(spool);
});
// Sort spools in the locations by the spool order
for (const loc of Object.keys(grouped)) {
if (!locationsSpoolOrders[loc]) {
continue;
}
grouped[loc].sort((a, b) => {
let aidx = locationsSpoolOrders[loc].indexOf(a.id);
if (aidx === -1) {
aidx = 999999;
}
let bidx = locationsSpoolOrders[loc].indexOf(b.id);
if (bidx === -1) {
bidx = 999999;
}
return aidx - bidx;
});
}
return grouped;
})();
// Create list of locations that's sorted
const locationsList = useMemo(() => {
// Start with the default loc
const allLocs = [];
if (EMPTYLOC in spoolLocations) {
allLocs.push(EMPTYLOC);
}
// Add from the locations setting
if (settingsLocations) allLocs.push(...settingsLocations);
// Add any missing locations from the spools
for (const loc of Object.keys(spoolLocations)) {
if (loc != EMPTYLOC && !allLocs.includes(loc)) {
allLocs.push(loc);
}
}
return allLocs;
}, [spoolLocations, settingsLocations]);
const moveLocation = (dragIndex: number, hoverIndex: number) => {
const newLocs = [...locationsList];
newLocs.splice(dragIndex, 1);
newLocs.splice(hoverIndex, 0, locationsList[dragIndex]);
setLocationsSetting.mutate(newLocs.filter((loc) => loc != EMPTYLOC));
};
const onEditTitle = async (location: string, newTitle: string) => {
if (location == "") return; // Can't edit the default location
if (newTitle == location) return; // No change
if (newTitle == "") return; // Can't have an empty location
if (locationsList.includes(newTitle)) return; // Location already exists
// Update all spool locations in the database
if (spoolLocations[location] && spoolLocations[location].length > 0) {
renameSpoolLocation.mutate({ old: location, new: newTitle });
}
// Update the value in the settings
const newLocs = [...locationsList].filter((loc) => loc != EMPTYLOC);
newLocs[newLocs.indexOf(location)] = newTitle;
setLocationsSetting.mutate(newLocs);
};
const setLocationSpoolOrder = (location: string, spoolOrder: number[]) => {
setLocationsSpoolOrders.mutate({
...locationsSpoolOrders,
[location]: spoolOrder,
});
};
// Create containers
const containers = locationsList.map((loc, idx) => {
const spools = spoolLocations[loc] ?? [];
const spoolOrder = locationsSpoolOrders[loc] ?? [];
return (
<Location
key={loc}
index={idx}
title={loc}
spools={spools}
showDelete={spools.length == 0}
onDelete={() => {
setLocationsSetting.mutate(locationsList.filter((l) => l !== loc));
}}
moveLocation={moveLocation}
onEditTitle={(newTitle: string) => onEditTitle(loc, newTitle)}
locationSpoolOrder={spoolOrder}
setLocationSpoolOrder={(spoolOrder: number[]) => setLocationSpoolOrder(loc, spoolOrder)}
/>
);
});
// Update locations settings so it always includes all spool locations
useEffect(() => {
// Check if they're not the same
const curLocList = locationsList.filter((l) => l != EMPTYLOC);
if (settingsLocations != null && JSON.stringify(curLocList) !== JSON.stringify(settingsLocations)) {
setLocationsSetting.mutate(curLocList);
}
}, [locationsList, settingsLocations, setLocationsSetting]);
if (isLoading) {
return <div>Loading...</div>;
}
if (isError) {
return <div>Failed to load spools</div>;
}
const addNewLocation = () => {
const baseLocationName = t("locations.new_location");
let newLocationName = baseLocationName;
const newLocs = [...locationsList];
let i = 1;
while (newLocs.includes(newLocationName)) {
newLocationName = baseLocationName + " " + i;
i++;
}
newLocs.push(newLocationName);
setLocationsSetting.mutate(newLocs);
};
return (
<div>
{!isLoading && spoolData.data.length == 0 && (
<div className="no-locations">{t("locations.no_locations_help")}</div>
)}
<div className="loc-metacontainer">
{containers}
<div className="newLocContainer">
<Button
type="dashed"
shape="circle"
icon={<PlusOutlined />}
size="large"
style={{
margin: "1em",
}}
onClick={addNewLocation}
/>
</div>
</div>
</div>
);
}
@@ -0,0 +1,187 @@
import { useNavigation, useTranslate, useUpdate } from "@refinedev/core";
import { Button, theme } from "antd";
import type { Identifier, XYCoord } from "dnd-core";
import { DragSourceMonitor, useDrag, useDrop } from "react-dnd";
import { EditOutlined, EyeOutlined } from "@ant-design/icons";
import dayjs from "dayjs";
import relativeTime from "dayjs/plugin/relativeTime";
import utc from "dayjs/plugin/utc";
import { useEffect, useRef } from "react";
import { Link } from "react-router";
import SpoolIcon from "../../../components/spoolIcon";
import { formatWeight } from "../../../utils/parsing";
import { ISpool } from "../../spools/model";
import { ItemTypes, SpoolDragItem, useCurrentDraggedSpool } from "../dnd";
dayjs.extend(utc);
dayjs.extend(relativeTime);
const { useToken } = theme;
export function SpoolCard({
index,
spool,
moveSpoolOrder,
}: {
index: number;
spool: ISpool;
moveSpoolOrder: (dragIndex: number, hoverIndex: number) => void;
}) {
const { token } = useToken();
const t = useTranslate();
const { showUrl } = useNavigation();
// Using a global state for this, because the drag handlers are reset when the spool changes location
const { draggedSpoolId, setDraggedSpoolId } = useCurrentDraggedSpool();
const { mutate: updateSpool } = useUpdate({
resource: "spool",
mutationMode: "optimistic",
successNotification: false,
});
const moveSpoolLocation = (spool_id: number, location: string) => {
updateSpool({
id: spool_id,
values: {
location: location,
},
});
};
const ref = useRef<HTMLDivElement>(null);
const [{ handlerId }, drop] = useDrop<SpoolDragItem, void, { handlerId: Identifier | null }>({
accept: ItemTypes.SPOOL,
collect(monitor) {
return {
handlerId: monitor.getHandlerId(),
};
},
hover(item, monitor) {
if (!ref.current || item.spool.id === spool.id) {
return null;
}
if (item.spool.location !== spool.location && spool.location) {
moveSpoolLocation(item.spool.id, spool.location);
item.spool.location = spool.location;
return;
}
const dragIndex = item.index;
const hoverIndex = index;
// Determine rectangle on screen
const hoverBoundingRect = ref.current?.getBoundingClientRect();
// Get horizontal middle
const hoverMiddleY = (hoverBoundingRect.bottom - hoverBoundingRect.top) / 2;
// Determine mouse position
const clientOffset = monitor.getClientOffset();
// Get pixels to the top
const hoverClientY = (clientOffset as XYCoord).y - hoverBoundingRect.top;
// Dragging downwards
if (dragIndex < hoverIndex && hoverClientY < hoverMiddleY) {
return;
}
// Dragging upwards
if (dragIndex > hoverIndex && hoverClientY > hoverMiddleY) {
return;
}
// Time to actually perform the action
moveSpoolOrder(item.spool.id, hoverIndex);
item.index = hoverIndex;
},
});
const [{ isDragging }, drag] = useDrag({
type: ItemTypes.SPOOL,
item: () => {
return { spool, index };
},
collect: (monitor: DragSourceMonitor<{ spool: ISpool; index: number }>) => ({
isDragging: monitor.isDragging(),
}),
end() {
setDraggedSpoolId(-1);
},
});
useEffect(() => {
if (isDragging) {
setDraggedSpoolId(spool.id);
}
}, [isDragging]);
const colorObj = spool.filament.multi_color_hexes
? {
colors: spool.filament.multi_color_hexes.split(","),
vertical: spool.filament.multi_color_direction === "longitudinal",
}
: spool.filament.color_hex || "#000000";
let filament_name: string;
if (spool.filament.vendor && "name" in spool.filament.vendor) {
filament_name = `${spool.filament.vendor.name} - ${spool.filament.name}`;
} else {
filament_name = spool.filament.name ?? spool.filament.id.toString();
}
const opacity = draggedSpoolId === spool.id ? 0 : 1;
const style = {
opacity,
backgroundColor: token.colorBgContainerDisabled,
};
drag(drop(ref));
function formatSubtitle(spool: ISpool) {
let str = "";
if (spool.filament.material) str += spool.filament.material + " - ";
if (spool.filament.weight) {
const remaining_weight = spool.remaining_weight ?? spool.filament.weight;
str += `${formatWeight(remaining_weight, 0)} / ${formatWeight(spool.filament.weight, 0)}`;
}
if (spool.last_used) {
// Format like "last used X time ago"
const dt = dayjs(spool.last_used);
str += ` - ${t("spool.formats.last_used", { date: dt.fromNow() })}`;
}
return str;
}
return (
<div className="spool" ref={ref} style={style} data-handler-id={handlerId}>
<SpoolIcon color={colorObj} />
<div className="info">
<div className="title">
<span>
#{spool.id} {filament_name}
</span>
<div>
<Link to={`/spool/edit/${spool.id}?return=` + encodeURIComponent(window.location.pathname)}>
<Button icon={<EditOutlined />} title={t("buttons.edit")} size="small" type="text" />
</Link>
<Link to={showUrl("spool", spool.id)}>
<Button icon={<EyeOutlined />} title={t("buttons.show")} size="small" type="text" />
</Link>
</div>
</div>
<div
className="subtitle"
style={{
color: token.colorTextSecondary,
}}
>
{formatSubtitle(spool)}
</div>
</div>
</div>
);
}
@@ -0,0 +1,54 @@
import { theme } from "antd";
import { ISpool } from "../../spools/model";
import { SpoolCard } from "./spoolCard";
const { useToken } = theme;
export function SpoolList({
spools,
spoolOrder,
setSpoolOrder,
}: {
spools: ISpool[];
spoolOrder: number[];
setSpoolOrder: (spoolOrder: number[]) => void;
}) {
const { token } = useToken();
// Make sure all spools are in the spoolOrders array
const finalSpoolOrder = [...spoolOrder].filter((id) => spools.find((spool) => spool.id === id)); // Remove any spools that are not in the spools array
spools.forEach((spool) => {
if (!finalSpoolOrder.includes(spool.id)) finalSpoolOrder.push(spool.id);
});
const moveSpoolOrder = (spool_id: number, hoverIndex: number) => {
// Move spool spool_id to position hoverIndex
let curIdx = finalSpoolOrder.indexOf(spool_id);
if (curIdx === -1) {
// Spool is missing from spool order array, add it to the end of the array
finalSpoolOrder.push(spool_id);
curIdx = finalSpoolOrder.length - 1;
} else if (curIdx === hoverIndex) {
// Spool is already in the right position
return;
}
const newSpoolOrder = [...finalSpoolOrder];
newSpoolOrder.splice(curIdx, 1);
newSpoolOrder.splice(hoverIndex, 0, finalSpoolOrder[curIdx]);
setSpoolOrder(newSpoolOrder);
};
const style = {
backgroundColor: token.colorBgContainer,
borderRadius: token.borderRadiusLG,
};
return (
<div className="loc-spools" style={style}>
{spools.map((spool, idx) => (
<SpoolCard key={spool.id} index={idx} spool={spool} moveSpoolOrder={moveSpoolOrder} />
))}
</div>
);
}
+29
View File
@@ -0,0 +1,29 @@
import { create } from "zustand";
import { ISpool } from "../spools/model";
export const ItemTypes = {
SPOOL: "spool",
CONTAINER: "spool-container",
};
export interface DragItem {
index: number;
}
export interface SpoolDragItem extends DragItem {
spool: ISpool;
}
export interface ContainerDragItem extends DragItem {
title: string;
}
interface CurrentDraggedSpool {
draggedSpoolId: number;
setDraggedSpoolId: (spoolid: number) => void;
}
export const useCurrentDraggedSpool = create<CurrentDraggedSpool>((set) => ({
draggedSpoolId: -1,
setDraggedSpoolId: (spoolid: number) => set({ draggedSpoolId: spoolid }),
}));
+113
View File
@@ -0,0 +1,113 @@
import { GetListResponse } from "@refinedev/core";
import { useMutation, useQueryClient } from "@tanstack/react-query";
import { useMemo } from "react";
import { useGetSetting } from "../../utils/querySettings";
import { getAPIURL } from "../../utils/url";
import { ISpool } from "../spools/model";
export const EMPTYLOC = "";
interface LocationRename {
old: string;
new: string;
}
export function useRenameSpoolLocation() {
const queryClient = useQueryClient();
const queryKey = ["default", "spool"];
const queryKeyList = ["default", "spool", "list"];
return useMutation<string, unknown, LocationRename, undefined>({
mutationFn: async (value) => {
const response = await fetch(getAPIURL() + "/location/" + value.old, {
method: "PATCH",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
name: value.new,
}),
});
if (!response.ok) {
throw new Error("Network response was not ok");
}
return await response.text();
},
onMutate: async (value) => {
await queryClient.cancelQueries({
queryKey: queryKeyList,
});
// Optimistically update all spools with matching location to the new one
queryClient.setQueriesData<GetListResponse<ISpool>>({ queryKey: queryKeyList }, (old) => {
if (old) {
return {
data: old.data.map((spool) => {
if (spool.location === value.old) {
return { ...spool, location: value.new };
}
return spool;
}),
total: old.total,
};
}
return old;
});
},
onError: (_error, value) => {
// Mutation failed, reset spools with matching location to the old one
queryClient.setQueriesData<GetListResponse<ISpool>>({ queryKey: queryKeyList }, (old) => {
if (old) {
return {
data: old.data.map((spool) => {
if (spool.location === value.new) {
return { ...spool, location: value.old };
}
return spool;
}),
total: old.total,
};
}
return old;
});
},
onSuccess: () => {
// Mutation succeeded, refetch
queryClient.invalidateQueries({
queryKey: queryKey,
});
},
});
}
export function useLocations(): string[] | null {
const query = useGetSetting("locations");
return useMemo(() => {
if (!query.data) return null;
try {
let data = (JSON.parse(query.data.value) ?? []) as string[];
data = data.filter((location) => location != null && location.length > 0);
return data;
} catch {
console.warn("Failed to parse locations", query.data.value);
return null;
}
}, [query.data]);
}
export function useLocationsSpoolOrders(): Record<string, number[]> {
const query = useGetSetting("locations_spoolorders");
return useMemo(() => {
if (!query.data) return {};
try {
return (JSON.parse(query.data.value) ?? {}) as Record<string, number[]>;
} catch {
console.warn("Failed to parse locations spool orders", query.data.value);
return {};
}
}, [query.data]);
}
Loaded 100 of 346 files, more files were not shown because too many files have changed in this diff. Show more