mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
The Ukrainian locale was authored before #2622 landed and merged dev in without picking up the five slice.designSettings* keys that came with it, so check:i18n failed at 5675 leaves against en's 5680. This is invisible on the PR because ci.yml only triggers for pull requests targeting main, and this one targets dev - the only checks that ran were the security workflow's. Adds the five missing keys, following the file's own convention of rendering "designer" as "автора" as it already does in slice.useEmbeddedHint. Two values were still English and the parity gate could not see them, because check 4 only fires on leaves byte-identical to en: profiles.localProfiles. pressureAdvance and inventory.paProfileTab both read "Pressure Advance (PA)" where en has "Pressure Advance" and "PA Profile". The added "(PA)" was enough to walk past the equality test. Both are now translated, the second as a tab label matching the Russian. Inline mentions of the term in profiles.subtitle and kProfilesDescription stay in English, which is what ru does too. failureDetection.mlUrl is translated rather than allow-listed, and the dead '{{weight}} г' entry is dropped from UK_COGNATES - that list matches against the English value, so an entry spelled in Ukrainian could never fire, and since the unit is now localized no entry is needed at all. Four straight apostrophes normalized to the typographic form used by the other 186 in the file. Locale count in the README and the two wiki pages corrected from 11 to 13; it had already been wrong, omitting Russian.
41 lines
1.8 KiB
HTML
41 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
<!-- L-4: Restrict Referer header to origin-only on cross-origin navigation so
|
|
sensitive tokens in query parameters are not leaked to third-party servers. -->
|
|
<meta name="referrer" content="strict-origin-when-cross-origin" />
|
|
<title>Bambuddy</title>
|
|
|
|
<!-- PWA Meta Tags -->
|
|
<meta name="description" content="Monitor and manage your Bambu Lab 3D printers" />
|
|
<meta name="theme-color" content="#00ae42" />
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
<meta name="apple-mobile-web-app-title" content="Bambuddy" />
|
|
|
|
<!-- Manifest -->
|
|
<link rel="manifest" href="/manifest.json" />
|
|
|
|
<!-- Favicons -->
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png" />
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png" />
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png" />
|
|
|
|
<!-- Splash screens for iOS -->
|
|
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
|
|
<script type="module" crossorigin src="/assets/index-B4oB3n1m.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-D4bpNaiw.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
|
|
<!-- Service Worker Registration (skip on SpoolBuddy kiosk).
|
|
Kept as an external file so the CSP `script-src 'self'` covers it
|
|
without needing 'unsafe-inline' or per-build hashes. -->
|
|
<script src="/sw-register.js"></script>
|
|
</body>
|
|
</html>
|