feat(app): taskbar progress, Windows notifications, job toasts, rail badges and section shortcuts
UI-05: the main window's TaskbarItemInfo mirrors the job bar (progress, sliding while the total is unknown) and turns red while a failure waits on the Jobs screen. UI-06: the Uploader's tray icon moves to Titano.Ui (Interop/TrayIcon, with a balloon click callback and error balloons) and the Uploader keeps using it. While the main window is minimised, hidden or behind another program, every toast (card inserted, auto-import, job ended, server messages) also becomes a Windows notification; clicking it restores the window and runs the toast's action. The icon exists only while such a notification can be clicked. Settings › General gains Notifications (on by default) and Startup: Start with Windows writes the HKCU Run value "Titano" with --minimized, and the window then waits minimised on the taskbar. UI-07: Ctrl+1…6 and Ctrl+, navigate from anywhere in the window, as the rail tooltips say (not behind the first-run dialog). The editor's 1:1 view moves to Ctrl+Shift+1; its tooltip key is renamed so no translation keeps the old shortcut. UI-08: the Jobs screen raises one toast when a long operation ends (render, deep analysis, verify, rebuild, maintenance, upload: Open; failures: Retry, or Import for a failed import), whichever screen started it. Background work and scans end silently, and a finished render of the sequence open in the editor is left to the editor's own toast with its output file. UI-10: the Jobs badge adds failures not seen on the Jobs screen yet; the Server badge counts settings conflicts waiting for a choice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
60 files changed
+836
-108
No files matched your search
@@ -12,7 +12,7 @@ Companion to `docs/BRIEF.md` (scope, behaviour) and `docs/ui/DESIGN.md` (looks).
|
||||
| `src/Titano.Data` | net10.0 | `IDatabase`, SQLite binding, PostgreSQL wire client, migrations, repositories, the job engine, the archive engine (`Archiving`), the analysis/render engine (`Processing`) and the client sync engine (`Sync`) |
|
||||
| `src/Titano.Protocol` | net10.0 | API v1 DTOs, source-generated JSON context, typed `TitanoClient` with certificate pinning and bandwidth limiting |
|
||||
| `src/Titano.Server` | net10.0 (Web SDK) | ASP.NET Core minimal API, auth, uploads, sync, jobs, render nodes, events, embedded admin panel, Windows service host |
|
||||
| `src/Titano.Ui` | net10.0-windows (WPF) | Theme (DESIGN tokens), icons, standard and custom controls, visuals (charts, filmstrip, preview, curve editor, virtualizing grid), `Loc` markup extension, MVVM helpers |
|
||||
| `src/Titano.Ui` | net10.0-windows (WPF) | Theme (DESIGN tokens), icons, standard and custom controls, visuals (charts, filmstrip, preview, curve editor, virtualizing grid), `Loc` markup extension, MVVM helpers, notification-area icon |
|
||||
| `src/Titano.App` | WPF exe `Titano.exe` | Desktop client |
|
||||
| `src/Titano.Uploader` | WPF exe | Uploader (tray, watch folders, resumable queue) |
|
||||
| `src/Titano.Setup` | WPF exe | In-house installer/uninstaller (TPK1 payload) |
|
||||
@@ -64,14 +64,14 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
|
||||
| Folder | Content |
|
||||
|---|---|
|
||||
| `Shell` | `MainWindow`, `ShellViewModel` (rail, sections, first run), dialogs, `ErrorText` (the sentence of an error toast), `ScreenCapture` (`--capture` scenes), `SectionTemplates.xaml` (view model → view) |
|
||||
| `Shell` | `MainWindow` (rail and its shortcuts, taskbar progress), `ShellViewModel` (rail, sections, first run), `OsNotifications` (toasts as Windows notifications while the window is minimised or in the background), dialogs, `ErrorText` (the sentence of an error toast), `ScreenCapture` (`--capture` scenes), `SectionTemplates.xaml` (view model → view) |
|
||||
| `Sections` | One `XxxView.xaml` + `XxxViewModel` per screen: Welcome, Library, Sequence (editor), Import, Archive, Jobs, Server, Settings, About |
|
||||
| `Library` | Filter, facets, pager, timeline, saved views, quick and mass actions, remote cards and thumbnails, thumbnail cache, list export |
|
||||
| `Editor` | `EditorSession` (project, undo/redo, saving, merges), `ISequenceSource` (`LocalSequenceSource`, `RemoteSequenceSource`), tabs (Frames, Exposure, Camera, Motion, Export), `PreviewRenderer`, `ExportPlanner`, `ExportSync`, `SavedCopies`, `SequenceJobs` |
|
||||
| `Import` | `CardPool` (inserted cards, remembered cards, folders), camera profiles, plans and choices, destinations (archive, folder, server through `ServerImportSink`), card actions (verified delete, format, eject) |
|
||||
| `Archive` | `CurrentArchive`, `ArchiveTree`, figures for the charts, maintenance reports, mass rename and move, delete and trash dialogs (`SequenceDeletion`, `DeletePlans`), `ArchiveFailures` |
|
||||
| `Server` | `ServerSession`, `ConnectFlow` (trust on first use), `SyncHost` (sync engine, agent, metered hold, editor connections, Export Sync), sync table, `RemoteSequenceApi` |
|
||||
| `Jobs`, `Settings`, `About` | Job list and buffering; settings rows, encoder inventory, language catalog, naming preview; update check and download |
|
||||
| `Jobs`, `Settings`, `About` | Job list and buffering, `JobNotices` (which job endings raise a toast); settings rows, encoder inventory, language catalog, naming preview; update check and download |
|
||||
| `Infrastructure` | `AppServices` (composition root), `AppSettings`, `AppEnvironment` (installed or portable), `UiLanguage`, `LiveRegion`, `RenderNodeHost`, `DiagnosticsBundle`, `ShellActions` (BRIEF §8.6), device monitor |
|
||||
| `DesignTime` | `SampleData`: the archive, jobs and server the screenshots and smoke tests run on |
|
||||
|
||||
@@ -81,6 +81,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
|---|---|
|
||||
| `Ui/Themes`, `Ui/Theming` | DESIGN tokens (light, dark), typography, control styles, `ThemeManager` |
|
||||
| `Ui/Controls` | `TitanoWindow` (chrome, language direction), `NavRail`, `JobBar`, `ToastHost`, `Field` (placeholder, icon, error), `Chip`, `AutoSlider`, `StatusGlyph`, `EmptyState`, `Icon`, `Bidi` (right-to-left rules) |
|
||||
| `Ui/Interop` | DWM calls of the window chrome; `TrayIcon` (`Shell_NotifyIconW`: the Uploader's tray, the client's Windows notifications) |
|
||||
| `Ui/Visuals` | `DrawingElement` (hover readout, item keyboard and activation) and its charts (`BarChart`, `SeriesChart`, `StackedBar`, `HeatmapStrip`, `TimelineBands`), `Filmstrip`, `PreviewViewport`, `CurveEditor`, `SequenceCard`, `VirtualizingWrapPanel`, `SegmentedControl`, `SplitButton` |
|
||||
| `Server/Api`, `Server/Events` | Endpoint groups (`XxxEndpoints.Map`), API errors, the WebSocket `EventHub` |
|
||||
| `Server/Security` | Accounts, password hashing, tokens, session cookies, login guard, access rules, audit log |
|
||||
|
||||
@@ -200,7 +200,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>جلب النسخ الوكيلة مجددًا وإعادة فتح التسلسل؛ ويُظهر شريط المهام الجارية التنزيل</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>إيقاف مؤقت · مفتاح المسافة</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>تشغيل الإطارات · مفتاح المسافة؛ ومفاتيح الأسهم تنتقل إطارًا واحدًا</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>إظهار البكسلات بنسبة 1:1 دون استيفاء · Ctrl+1؛ Ctrl+0 للملاءمة</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>تشغيل عشر ثوانٍ من إطارات الفيديو بالإعدادات الحالية</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>مقارنة بخط فاصل: الأصلي على اليسار والمصحَّح على اليمين؛ اسحب الخط</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>تعتيم ما يقتطعه الإخراج (ما سأفقده)</value></data>
|
||||
@@ -564,7 +563,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>فتح مجلد البيانات في مستكشف الملفات</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>الوضع المحمول، والسجلات، والتشخيص، والنسخ الاحتياطي لقاعدة البيانات</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>مجلد الأرشيف، وقوالب التسمية، وحجم النسخ الوكيلة</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>اللغة، والسمة، وإحصاءات الاستخدام</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>ملف تعريف الجودة، وميزانية الذاكرة، والتوازي، والمرمّزات</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>الخادم الافتراضي، وعقدة التصيير، والشهادات الموثوقة</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>مجلد التخزين المؤقت، والصور المصغرة في الذاكرة، وحد التخزين المؤقت</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Изтегля отново прокси файловете и отваря серията наново; лентата с текущите задачи показва изтеглянето</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Пауза · Интервал</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Възпроизвежда кадрите · Интервал; стрелките преместват с един кадър</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Показва пикселите 1:1 без интерполация · Ctrl+1; Ctrl+0 побира в прозореца</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Възпроизвежда десет секунди от кадрите на видеото с текущите настройки</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Сравнение с плъзгаща се линия: оригиналът е отляво, коригираният – отдясно; плъзнете линията</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Затъмнява това, което изходът изрязва (какво губя)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Отваря папката с данни във файловия мениджър</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Преносим режим, журнали, диагностика, резервно копие на базата данни</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Папка на архива, шаблони за имена, размер на прокси</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Език, тема, статистика за използване</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Профил на качеството, бюджет на паметта, паралелизъм, кодери</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Сървър по подразбиране, възел за рендериране, доверени сертификати</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Папка на кеша, миниатюри в паметта, лимит на кеша</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Znovu stáhne proxy a znovu otevře sekvenci; stahování je vidět na panelu úloh</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pozastaví přehrávání · Mezerník</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Přehraje snímky · Mezerník; šipky posunou o jeden snímek</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Zobrazí pixely v poměru 1:1 bez interpolace · Ctrl+1; Ctrl+0 přizpůsobí oknu</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Přehraje deset sekund snímků videa s aktuálním nastavením</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Porovnání s předělem: originál vlevo, opravený obraz vpravo; táhněte dělicí čáru</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Ztmaví, co výstup odřízne (co ztratím)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Otevře datovou složku v Průzkumníkovi</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Přenosný režim, protokoly, diagnostika, záloha databáze</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Složka archivu, šablony pojmenování, velikost proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jazyk, motiv, statistiky používání</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil kvality, limit paměti, paralelismus, kodéry</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Výchozí server, renderovací uzel, důvěryhodné certifikáty</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Složka mezipaměti, miniatury v paměti, limit mezipaměti</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Hent proxyerne igen, og genåbn sekvensen; jobbjælken viser downloaden</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pause · Mellemrum</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Afspil billederne · Mellemrum; piletasterne går ét billede ad gangen</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Vis pixel i 1:1 uden interpolation · Ctrl+1; Ctrl+0 tilpasser</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Afspil ti sekunder af videoens billeder med de aktuelle indstillinger</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Sammenligning med skillelinje: original til venstre, korrigeret til højre; træk i linjen</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Dæmp det, som outputtet skærer væk (hvad jeg mister)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Åbn datamappen i Stifinder</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabel tilstand, logge, diagnosticering, sikkerhedskopi af databasen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkivmappe, navngivningsskabeloner, proxystørrelse</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Sprog, tema, brugsstatistik</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kvalitetsprofil, hukommelsesbudget, parallelitet, encodere</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Standardserver, renderingsnode, betroede certifikater</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cachemappe, miniaturer i hukommelsen, cachegrænse</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Proxys erneut abrufen und die Sequenz neu öffnen; die Auftragsleiste zeigt den Download</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Anhalten · Leertaste</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Frames abspielen · Leertaste; Pfeiltasten gehen einen Frame weiter</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Pixel 1:1 ohne Interpolation anzeigen · Ctrl+1; Ctrl+0 passt ein</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Zehn Sekunden der Videoframes mit den aktuellen Einstellungen abspielen</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Wischvergleich: Original links, korrigiert rechts; ziehen Sie die Linie</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Abdunkeln, was die Ausgabe abschneidet (was verloren geht)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Datenordner im Explorer öffnen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabler Modus, Protokolle, Diagnose, Datenbanksicherung</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archivordner, Namensvorlagen, Proxygröße</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Sprache, Design, Nutzungsstatistik</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Qualitätsprofil, Arbeitsspeicher-Budget, Parallelität, Encoder</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Standardserver, Render-Knoten, vertrauenswürdige Zertifikate</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cache-Ordner, Miniaturansichten im Arbeitsspeicher, Cache-Limit</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Νέα λήψη των proxy και νέο άνοιγμα της ακολουθίας. Η γραμμή προόδου εργασιών δείχνει τη λήψη</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Παύση · πλήκτρο διαστήματος</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Αναπαραγωγή των καρέ · πλήκτρο διαστήματος. Τα βέλη μετακινούν κατά ένα καρέ</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Εμφάνιση των pixel σε 1:1 χωρίς παρεμβολή · Ctrl+1. Με Ctrl+0 προσαρμόζεται στο παράθυρο</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Αναπαραγωγή δέκα δευτερολέπτων από τα καρέ του βίντεο με τις τρέχουσες ρυθμίσεις</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Σύγκριση με διαχωριστική γραμμή: το πρωτότυπο αριστερά, το διορθωμένο δεξιά. Σύρετε τη γραμμή</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Σκίαση όσων αποκόπτει η έξοδος (τι χάνεται)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Άνοιγμα του φακέλου δεδομένων στην Εξερεύνηση αρχείων</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Φορητή λειτουργία, αρχεία καταγραφής, διαγνωστικά, αντίγραφο ασφαλείας της βάσης δεδομένων</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Φάκελος αρχειοθήκης, πρότυπα ονοματοδοσίας, μέγεθος proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Γλώσσα, θέμα, στατιστικά χρήσης</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Προφίλ ποιότητας, όριο μνήμης, παραλληλισμός, κωδικοποιητές</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Προεπιλεγμένος διακομιστής, κόμβος απόδοσης, αξιόπιστα πιστοποιητικά</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Φάκελος κρυφής μνήμης, μικρογραφίες στη μνήμη, όριο κρυφής μνήμης</value></data>
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
<data name="Settings.Export.Title" xml:space="preserve"><value>Export the settings to</value></data>
|
||||
<data name="Settings.General.CheckOnStart" xml:space="preserve"><value>Check on start</value></data>
|
||||
<data name="Settings.General.Language" xml:space="preserve"><value>Language</value></data>
|
||||
<data name="Settings.General.Notifications" xml:space="preserve"><value>Notifications</value></data>
|
||||
<data name="Settings.General.OsNotifications" xml:space="preserve"><value>Windows notifications</value></data>
|
||||
<data name="Settings.General.StartWithWindows" xml:space="preserve"><value>Start with Windows</value></data>
|
||||
<data name="Settings.General.Startup" xml:space="preserve"><value>Startup</value></data>
|
||||
<data name="Settings.General.Theme" xml:space="preserve"><value>Theme</value></data>
|
||||
<data name="Settings.General.Theme.Dark" xml:space="preserve"><value>Dark</value></data>
|
||||
<data name="Settings.General.Theme.Light" xml:space="preserve"><value>Light</value></data>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<data name="Shell.AppName" xml:space="preserve"><value>Titano</value><comment>invariant</comment></data>
|
||||
<data name="Shell.Job.Done" xml:space="preserve"><value>Job finished</value></data>
|
||||
<data name="Shell.Job.Failed" xml:space="preserve"><value>Job failed</value></data>
|
||||
<data name="Shell.JobBar.Idle" xml:space="preserve"><value>Ready</value></data>
|
||||
<data name="Shell.JobBar.Pause" xml:space="preserve"><value>Pause job</value></data>
|
||||
<data name="Shell.JobBar.Ready" xml:space="preserve"><value>Ready · {0} jobs queued</value></data>
|
||||
@@ -29,6 +31,7 @@
|
||||
<data name="Shell.Status.Photos.other" xml:space="preserve"><value>{0:N0} photos</value></data>
|
||||
<data name="Shell.Status.Sequences.one" xml:space="preserve"><value>{0:N0} sequence</value></data>
|
||||
<data name="Shell.Status.Sequences.other" xml:space="preserve"><value>{0:N0} sequences</value></data>
|
||||
<data name="Shell.Tray.Show" xml:space="preserve"><value>Show Titano</value></data>
|
||||
<data name="Shell.Welcome.Adopt" xml:space="preserve"><value>Adopt an existing folder</value></data>
|
||||
<data name="Shell.Welcome.Change" xml:space="preserve"><value>Change…</value></data>
|
||||
<data name="Shell.Welcome.Choose" xml:space="preserve"><value>Choose…</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Fetch the proxies again and reopen the sequence; the job bar shows the download</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pause · Space</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Play the frames · Space; arrows step one frame</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Show pixels at 1:1 without interpolation · Ctrl+1; Ctrl+0 fits</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Play ten seconds of the video’s frames with the current settings</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Wipe compare: original on the left, corrected on the right; drag the line</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Dim what the output cuts (what I lose)</value></data>
|
||||
@@ -206,6 +205,7 @@
|
||||
<data name="Tooltips.Editor.Preview.CropResult" xml:space="preserve"><value>Hide what the output cuts (how it will look)</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ExitFullScreen" xml:space="preserve"><value>Close full screen · Esc</value></data>
|
||||
<data name="Tooltips.Editor.Preview.FullScreen" xml:space="preserve"><value>Full screen at native resolution · Esc closes</value></data>
|
||||
<data name="Tooltips.Editor.Preview.OneToOne" xml:space="preserve"><value>Show pixels at 1:1 without interpolation · Ctrl+Shift+1; Ctrl+0 fits</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Regions" xml:space="preserve"><value>Show the sky and landscape boundary used by region deflicker</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ShotData" xml:space="preserve"><value>Show or hide the shot data</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Vectors" xml:space="preserve"><value>Overlay the motion to the next frame measured by the engine</value></data>
|
||||
@@ -532,9 +532,10 @@
|
||||
<data name="Tooltips.Settings.MemoryAuto" xml:space="preserve"><value>Auto: a quarter of installed memory</value></data>
|
||||
<data name="Tooltips.Settings.MemoryReset" xml:space="preserve"><value>Back to Auto: a quarter of installed memory</value></data>
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Open the data folder in Explorer</value></data>
|
||||
<data name="Tooltips.Settings.OsNotifications" xml:space="preserve"><value>While Titano is minimised or in the background, inserted cards, finished jobs and server messages also appear as Windows notifications</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portable mode, logs, diagnostics, database backup</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archive folder, naming templates, proxy size</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Language, theme, usage counts</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Language, theme, startup, notifications</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Quality profile, memory budget, parallelism, encoders</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Default server, render node, trusted certificates</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cache folder, thumbnails in memory, cache limit</value></data>
|
||||
@@ -554,6 +555,7 @@
|
||||
<data name="Tooltips.Settings.SelfTest" xml:space="preserve"><value>Encode a short synthetic clip with every encoder and report pass or fail and speed · about a minute</value></data>
|
||||
<data name="Tooltips.Settings.SelfTestResult" xml:space="preserve"><value>Speed on the synthetic 1280×720 test clip</value></data>
|
||||
<data name="Tooltips.Settings.SoftwareOnly" xml:space="preserve"><value>Always the Microsoft software H.264 encoder; slower, identical everywhere</value></data>
|
||||
<data name="Tooltips.Settings.StartWithWindows" xml:space="preserve"><value>Start minimised when you sign in to Windows, so inserted cards are noticed</value></data>
|
||||
<data name="Tooltips.Settings.ThemeDark" xml:space="preserve"><value>Dark interface (default)</value></data>
|
||||
<data name="Tooltips.Settings.ThemeLight" xml:space="preserve"><value>Light interface</value></data>
|
||||
<data name="Tooltips.Settings.ThemeSystem" xml:space="preserve"><value>Follow the Windows app mode</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Vuelve a obtener los proxies y reabre la secuencia; la barra de tareas de Titano muestra la descarga</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pausa · Espacio</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Reproduce los fotogramas · Espacio; las flechas avanzan de uno en uno</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Muestra los píxeles a 1:1 sin interpolación · Ctrl+1; Ctrl+0 ajusta a la ventana</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Reproduce diez segundos de fotogramas del vídeo con los ajustes actuales</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Comparación con cortinilla: original a la izquierda, corregido a la derecha; arrastra la línea</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Atenúa lo que corta la salida (lo que pierdo)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Abre la carpeta de datos en el Explorador</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modo portátil, registros, diagnóstico, copia de seguridad de la base de datos</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Carpeta de la fototeca, plantillas de nombres, tamaño de proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Idioma, tema, estadísticas de uso</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Perfil de calidad, memoria asignada, paralelismo, codificadores</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Servidor predeterminado, nodo de renderizado, certificados de confianza</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Carpeta de caché, miniaturas en memoria, límite de caché</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Hankige proksid uuesti ja avage jada taas; allalaadimist näitab tööde riba</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Peatage · Tühik</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Esitage kaadrid · Tühik; nooltega liigute kaadri kaupa</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Kuvage pikslid suhtes 1:1 ilma interpoleerimiseta · Ctrl+1; Ctrl+0 sobitab</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Esitage praeguste sätetega kümme sekundit video kaadreid</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Liugvõrdlus: originaal vasakul, korrigeeritud paremal; lohistage joont</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Tumendage osa, mille väljund ära lõikab (mida ma kaotan)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Avage andmekaust failihalduris</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Kaasaskantav režiim, logid, diagnostika, andmebaasi varundamine</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arhiivikaust, nimemallid, proksi suurus</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Keel, kujundus, kasutusstatistika</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kvaliteediprofiil, mälueelarve, paralleelsus, kodeerijad</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Vaikeserver, renderdussõlm, usaldatud sertifikaadid</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Vahemälu kaust, pisipildid mälus, vahemälu piirang</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Hae proxyt uudelleen ja avaa sarja uudestaan; työpalkissa näkyy lataus</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Keskeytä · Välilyönti</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Toista kuvat · Välilyönti; nuolinäppäimet siirtävät yhden kuvan kerrallaan</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Näytä pikselit suhteessa 1:1 ilman interpolointia · Ctrl+1; Ctrl+0 sovittaa</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Toista kymmenen sekuntia videon kuvia nykyisillä asetuksilla</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Pyyhkäisyvertailu: alkuperäinen vasemmalla, korjattu oikealla; vedä viivaa</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Himmennä se, minkä tuloste rajaa pois (mitä menetän)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Avaa datakansio Resurssienhallinnassa</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Kannettava tila, lokit, diagnostiikka, tietokannan varmuuskopio</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkistokansio, nimeämismallit, proxyn koko</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Kieli, teema, käyttötilastot</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Laatuprofiili, muistibudjetti, rinnakkaisuus, kooderit</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Oletuspalvelin, renderöintisolmu, luotetut varmenteet</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Välimuistikansio, pikkukuvat muistissa, välimuistin raja</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Récupérer de nouveau les proxys et rouvrir la séquence ; la barre de suivi des tâches affiche le téléchargement</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pause · Espace</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Lire les images · Espace ; les flèches avancent d'une image</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Afficher les pixels à 1:1 sans interpolation · Ctrl+1 ; Ctrl+0 ajuste à la fenêtre</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Lire dix secondes des images de la vidéo avec les paramètres actuels</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Comparaison par volet : l'original à gauche, la version corrigée à droite ; faites glisser la ligne</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Assombrir ce que la sortie coupe (ce que je perds)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Ouvrir le dossier de données dans l'Explorateur</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mode portable, journaux, diagnostic, sauvegarde de la base de données</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Dossier de l'archive, modèles de nommage, taille des proxys</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Langue, thème, statistiques d'utilisation</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil de qualité, budget mémoire, parallélisme, encodeurs</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Serveur par défaut, nœud de rendu, certificats approuvés</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Dossier du cache, miniatures en mémoire, limite du cache</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>הורדה חוזרת של קובצי הפרוקסי ופתיחה מחדש של הרצף; סרגל המשימות מציג את ההורדה</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>השהיה · רווח</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>הפעלת הפריימים · רווח; מקשי החצים מזיזים פריים אחד בכל פעם</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>הצגת הפיקסלים ב-1:1 ללא אינטרפולציה · Ctrl+1; Ctrl+0 מתאים לחלון</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>הפעלת עשר שניות מפריימי הסרטון עם ההגדרות הנוכחיות</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>השוואה במסך מפוצל: המקור משמאל, המתוקן מימין; יש לגרור את הקו המפריד</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>הכהיית מה שהפלט חותך (מה שאאבד)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>פתיחת תיקיית הנתונים בסייר הקבצים</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>מצב נייד, יומנים, אבחון, גיבוי מסד הנתונים</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>תיקיית הארכיון, תבניות שמות, גודל פרוקסי</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>שפה, ערכת נושא, נתוני שימוש</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>פרופיל איכות, תקציב זיכרון, מקביליות, מקודדים</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>שרת ברירת מחדל, צומת רינדור, תעודות מהימנות</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>תיקיית מטמון, תמונות ממוזערות בזיכרון, מגבלת מטמון</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>प्रॉक्सी फिर से प्राप्त करें और सीक्वेंस फिर से खोलें; कार्य बार डाउनलोड दिखाता है</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>विराम दें · Space</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>फ़्रेम चलाएँ · Space; तीर एक-एक फ़्रेम आगे-पीछे करते हैं</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>बिना इंटरपोलेशन के 1:1 पर पिक्सेल दिखाएँ · Ctrl+1; Ctrl+0 फ़िट करता है</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>वर्तमान सेटिंग्स के साथ वीडियो के दस सेकंड के फ़्रेम चलाएँ</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>वाइप तुलना: बाईं ओर मूल, दाईं ओर सुधारित; रेखा खींचें</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>आउटपुट जो काटता है उसे मंद करें (क्या खो जाएगा)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>डेटा फ़ोल्डर को एक्सप्लोरर में खोलें</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>पोर्टेबल मोड, लॉग, निदान, डेटाबेस बैकअप</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>संग्रह फ़ोल्डर, नामकरण टेम्पलेट, प्रॉक्सी आकार</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>भाषा, थीम, उपयोग गणना</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>गुणवत्ता प्रोफ़ाइल, मेमोरी बजट, समानांतरता, एनकोडर</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>डिफ़ॉल्ट सर्वर, रेंडर नोड, विश्वसनीय प्रमाणपत्र</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>कैश फ़ोल्डर, मेमोरी में थंबनेल, कैश सीमा</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Ponovno preuzima proxy kopije i ponovno otvara sekvencu; traka zadataka prikazuje preuzimanje</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pauzira · razmaknica</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Reproducira kadrove · razmaknica; strelice pomiču za jedan kadar</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Prikazuje piksele u omjeru 1:1 bez interpolacije · Ctrl+1; Ctrl+0 prilagođava prikaz</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Reproducira deset sekundi kadrova videozapisa s trenutačnim postavkama</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Usporedba brisanjem: izvornik lijevo, korigirano desno; povucite crtu</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Zatamnjuje ono što izlaz odrezuje (što gubim)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Otvara mapu s podacima u Eksploreru za datoteke</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Prijenosni način, zapisnici, dijagnostika, sigurnosna kopija baze podataka</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Mapa arhive, predlošci naziva, veličina proxy kopija</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jezik, tema, statistika korištenja</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil kvalitete, dopuštena memorija, paralelizam, koderi</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Zadani poslužitelj, čvor za renderiranje, pouzdani certifikati</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Mapa predmemorije, minijature u memoriji, ograničenje predmemorije</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Újra lekéri a proxykat, és újra megnyitja a sorozatot; a letöltést a feladatsáv mutatja</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Szüneteltetés · Szóköz</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Lejátssza a képkockákat · Szóköz; a nyilak egy képkockát léptetnek</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>A képpontokat 1:1 arányban, interpoláció nélkül mutatja · Ctrl+1; Ctrl+0: igazítás az ablakhoz</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Lejátssza a videó tíz másodpercnyi képkockáját az aktuális beállításokkal</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Osztott összehasonlítás: balra az eredeti, jobbra a korrigált kép; húzza a vonalat</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Elhalványítja, amit a kimenet levág (mi vész el)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Megnyitja az adatmappát a Fájlkezelőben</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Hordozható mód, naplók, diagnosztika, adatbázis-mentés</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archívummappa, elnevezési sablonok, proxyméret</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Nyelv, téma, használati statisztika</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Minőségi profil, memóriakeret, párhuzamosság, kódolók</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Alapértelmezett szerver, renderelő csomópont, megbízható tanúsítványok</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Gyorsítótár mappája, miniatűrök a memóriában, gyorsítótár korlátja</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Ambil lagi proksi dan buka ulang sekuens; bilah status tugas menampilkan unduhannya</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Jeda · Spasi</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Putar bingkai · Spasi; tombol panah berpindah satu bingkai</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Tampilkan piksel 1:1 tanpa interpolasi · Ctrl+1; Ctrl+0 menyesuaikan ukuran</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Putar sepuluh detik bingkai video dengan pengaturan saat ini</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Perbandingan geser: asli di kiri, dikoreksi di kanan; seret garisnya</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Redupkan bagian yang terpangkas dari output (yang hilang)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Buka folder data di Explorer</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mode portabel, log, diagnostik, cadangan basis data</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folder arsip, templat penamaan, ukuran proksi</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Bahasa, tema, hitungan penggunaan</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil kualitas, anggaran memori, paralelisme, encoder</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Server default, node render, sertifikat tepercaya</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Folder cache, gambar mini di memori, batas cache</value></data>
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
<data name="Settings.Export.Title" xml:space="preserve"><value>Esporta le impostazioni in</value></data>
|
||||
<data name="Settings.General.CheckOnStart" xml:space="preserve"><value>Controlla all'avvio</value></data>
|
||||
<data name="Settings.General.Language" xml:space="preserve"><value>Lingua</value></data>
|
||||
<data name="Settings.General.Notifications" xml:space="preserve"><value>Notifiche</value></data>
|
||||
<data name="Settings.General.OsNotifications" xml:space="preserve"><value>Notifiche di Windows</value></data>
|
||||
<data name="Settings.General.StartWithWindows" xml:space="preserve"><value>Avvia con Windows</value></data>
|
||||
<data name="Settings.General.Startup" xml:space="preserve"><value>Avvio</value></data>
|
||||
<data name="Settings.General.Theme" xml:space="preserve"><value>Tema</value></data>
|
||||
<data name="Settings.General.Theme.Dark" xml:space="preserve"><value>Scuro</value></data>
|
||||
<data name="Settings.General.Theme.Light" xml:space="preserve"><value>Chiaro</value></data>
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
<resheader name="version"><value>2.0</value></resheader>
|
||||
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<data name="Shell.Job.Done" xml:space="preserve"><value>Attività completata</value></data>
|
||||
<data name="Shell.Job.Failed" xml:space="preserve"><value>Attività non riuscita</value></data>
|
||||
<data name="Shell.JobBar.Idle" xml:space="preserve"><value>Pronto</value></data>
|
||||
<data name="Shell.JobBar.Pause" xml:space="preserve"><value>Pausa attività</value></data>
|
||||
<data name="Shell.JobBar.Ready" xml:space="preserve"><value>Pronto · {0} attività in coda</value></data>
|
||||
@@ -28,6 +30,7 @@
|
||||
<data name="Shell.Status.Photos.other" xml:space="preserve"><value>{0:N0} foto</value></data>
|
||||
<data name="Shell.Status.Sequences.one" xml:space="preserve"><value>{0:N0} sequenza</value></data>
|
||||
<data name="Shell.Status.Sequences.other" xml:space="preserve"><value>{0:N0} sequenze</value></data>
|
||||
<data name="Shell.Tray.Show" xml:space="preserve"><value>Mostra Titano</value></data>
|
||||
<data name="Shell.Welcome.Adopt" xml:space="preserve"><value>Adotta una cartella esistente</value></data>
|
||||
<data name="Shell.Welcome.Change" xml:space="preserve"><value>Cambia…</value></data>
|
||||
<data name="Shell.Welcome.Choose" xml:space="preserve"><value>Scegli…</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Scarica di nuovo i proxy e riapri la sequenza; la barra delle attività mostra lo scaricamento</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pausa · Spazio</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Riproduce i fotogrammi · Spazio; le frecce avanzano di uno</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Mostra i pixel 1:1 senza interpolazione · Ctrl+1; Ctrl+0 adatta</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Riproduce dieci secondi dei fotogrammi del video con le impostazioni attuali</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Confronto a tendina: originale a sinistra, corretto a destra; trascina la linea</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Scurisce ciò che l’uscita taglia (cosa perdo)</value></data>
|
||||
@@ -206,6 +205,7 @@
|
||||
<data name="Tooltips.Editor.Preview.CropResult" xml:space="preserve"><value>Nasconde ciò che l’uscita taglia (come apparirà)</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ExitFullScreen" xml:space="preserve"><value>Chiudi schermo intero · Esc</value></data>
|
||||
<data name="Tooltips.Editor.Preview.FullScreen" xml:space="preserve"><value>Schermo intero alla risoluzione nativa · Esc chiude</value></data>
|
||||
<data name="Tooltips.Editor.Preview.OneToOne" xml:space="preserve"><value>Mostra i pixel 1:1 senza interpolazione · Ctrl+Maiusc+1; Ctrl+0 adatta</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Regions" xml:space="preserve"><value>Mostra il confine tra cielo e paesaggio usato dal deflicker per regioni</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ShotData" xml:space="preserve"><value>Mostra o nasconde i dati di scatto</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Vectors" xml:space="preserve"><value>Sovrappone il movimento verso il fotogramma successivo misurato dal motore</value></data>
|
||||
@@ -532,9 +532,10 @@
|
||||
<data name="Tooltips.Settings.MemoryAuto" xml:space="preserve"><value>Auto: un quarto della memoria installata</value></data>
|
||||
<data name="Tooltips.Settings.MemoryReset" xml:space="preserve"><value>Torna ad Auto: un quarto della memoria installata</value></data>
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Apri la cartella dati in Esplora file</value></data>
|
||||
<data name="Tooltips.Settings.OsNotifications" xml:space="preserve"><value>Quando Titano è ridotto a icona o in secondo piano, schede inserite, attività finite e messaggi del server compaiono anche come notifiche di Windows</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modalità portatile, log, diagnostica, backup del database</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Cartella dell'archivio, modelli dei nomi, dimensione dei proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Lingua, tema, statistiche d'uso</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Lingua, tema, avvio, notifiche</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profilo di qualità, memoria, parallelismo, encoder</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Server predefinito, nodo di rendering, certificati attendibili</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cartella della cache, miniature in memoria, limite della cache</value></data>
|
||||
@@ -554,6 +555,7 @@
|
||||
<data name="Tooltips.Settings.SelfTest" xml:space="preserve"><value>Codifica una breve clip sintetica con ogni encoder e ne riporta esito e velocità · circa un minuto</value></data>
|
||||
<data name="Tooltips.Settings.SelfTestResult" xml:space="preserve"><value>Velocità sulla clip di prova sintetica 1280×720</value></data>
|
||||
<data name="Tooltips.Settings.SoftwareOnly" xml:space="preserve"><value>Sempre l'encoder software H.264 di Microsoft; più lento, identico ovunque</value></data>
|
||||
<data name="Tooltips.Settings.StartWithWindows" xml:space="preserve"><value>Avvia ridotto a icona all’accesso a Windows, così le schede inserite vengono notate</value></data>
|
||||
<data name="Tooltips.Settings.ThemeDark" xml:space="preserve"><value>Interfaccia scura (predefinita)</value></data>
|
||||
<data name="Tooltips.Settings.ThemeLight" xml:space="preserve"><value>Interfaccia chiara</value></data>
|
||||
<data name="Tooltips.Settings.ThemeSystem" xml:space="preserve"><value>Segui la modalità app di Windows</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>プロキシをもう一度取得して、シーケンスを開き直します。ダウンロードの状況はジョブバーに表示されます。</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>一時停止 · Space</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>フレームを再生 · Space、矢印キーで 1 フレームずつ移動</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>補間せずにピクセルを 1:1 で表示 · Ctrl+1、Ctrl+0 で全体表示</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>現在の設定で、動画の 10 秒分のフレームを再生します。</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>ワイプ比較: 左がオリジナル、右が補正後です。線をドラッグしてください。</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>出力で切り取られる部分 (失われる部分) を暗く表示します。</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>エクスプローラーでデータフォルダーを開きます。</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>ポータブルモード、ログ、診断、データベースのバックアップ</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>アーカイブフォルダー、名前のテンプレート、プロキシのサイズ</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>言語、テーマ、利用状況の集計</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>品質プロファイル、メモリ割り当て、並列処理、エンコーダー</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>既定のサーバー、レンダリングノード、信頼済みの証明書</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>キャッシュフォルダー、メモリ内のサムネイル、キャッシュの上限</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>프록시를 다시 받고 시퀀스를 다시 엽니다. 다운로드 진행 상황은 작업 막대에 표시됩니다.</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>일시 중지 · Space</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>프레임을 재생합니다 · Space, 화살표 키로 한 프레임씩 이동</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>보간 없이 픽셀을 1:1로 표시합니다 · Ctrl+1, Ctrl+0으로 창에 맞춤</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>현재 설정으로 영상 프레임 10초 분량을 재생합니다.</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>와이프 비교: 왼쪽은 원본, 오른쪽은 보정 결과입니다. 선을 끌어 조정하십시오.</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>출력에서 잘리는 부분을 어둡게 표시합니다(잃는 부분).</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>탐색기에서 데이터 폴더를 엽니다.</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>포터블 모드, 로그, 진단, 데이터베이스 백업</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>아카이브 폴더, 이름 템플릿, 프록시 크기</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>언어, 테마, 사용 통계</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>품질 프로필, 메모리 한도, 병렬 처리, 인코더</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>기본 서버, 렌더링 노드, 신뢰하는 인증서</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>캐시 폴더, 메모리 내 썸네일, 캐시 한도</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Iš naujo gauti tarpines kopijas ir vėl atidaryti seką; atsisiuntimas rodomas užduočių juostoje</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pristabdyti · Tarpas</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Leisti kadrus · Tarpas; rodyklės pereina po vieną kadrą</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Rodyti pikselius 1:1 be interpoliacijos · Ctrl+1; Ctrl+0 pritaiko prie lango</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Paleisti dešimt sekundžių vaizdo įrašo kadrų su dabartiniais parametrais</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Palyginimas su slankiąja riba: originalas kairėje, pataisytas dešinėje; vilkite liniją</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Pritemdyti tai, ką išvestis nukerpa (ką prarandu)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Atidaryti duomenų aplanką failų naršyklėje</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Nešiojamasis režimas, žurnalai, diagnostika, duomenų bazės atsarginė kopija</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archyvo aplankas, pavadinimų šablonai, tarpinių kopijų dydis</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Kalba, tema, naudojimo statistika</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kokybės profilis, atminties limitas, lygiagretumas, koduotuvai</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Numatytasis serveris, atvaizdavimo mazgas, patikimi sertifikatai</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Talpyklos aplankas, miniatiūros atmintyje, talpyklos riba</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Vēlreiz saņemt proxy attēlus un atkārtoti atvērt secību; lejupielāde redzama darbu joslā</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pauzēt · Atstarpe</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Atskaņot kadrus · Atstarpe; bultiņas pārslēdz pa vienam kadram</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Rādīt pikseļus mērogā 1:1 bez interpolācijas · Ctrl+1; Ctrl+0 ietilpina</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Atskaņot desmit video sekunžu kadrus ar pašreizējiem iestatījumiem</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Salīdzināšana ar dalījuma līniju: pa kreisi oriģināls, pa labi koriģētais; velciet līniju</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Aptumšot to, ko izvade nogriež (ko es zaudēju)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Atvērt datu mapi failu pārlūkā</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portatīvais režīms, žurnāli, diagnostika, datu bāzes dublēšana</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arhīva mape, nosaukumu veidnes, proxy izmērs</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Valoda, motīvs, lietojuma statistika</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kvalitātes profils, atmiņas budžets, paralēlisms, kodētāji</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Noklusējuma serveris, renderēšanas mezgls, uzticamie sertifikāti</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Kešatmiņas mape, sīktēli atmiņā, kešatmiņas ierobežojums</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Ambil proksi sekali lagi dan buka semula jujukan; bar status tugas menunjukkan muat turun</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Jeda · Space</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Mainkan bingkai · Space; anak panah untuk melangkah satu bingkai</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Tunjukkan piksel pada 1:1 tanpa interpolasi · Ctrl+1; Ctrl+0 untuk muat ke skrin</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Mainkan sepuluh saat bingkai video dengan tetapan semasa</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Perbandingan sapuan: asal di kiri, dibetulkan di kanan; seret garisan</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Malapkan bahagian yang dipotong oleh output (apa yang hilang)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Buka folder data dalam Penjelajah Fail</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mod mudah alih, log, diagnostik, sandaran pangkalan data</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folder arkib, templat penamaan, saiz proksi</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Bahasa, tema, kiraan penggunaan</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil kualiti, bajet memori, keselarian, pengekod</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Pelayan lalai, nod render, sijil dipercayai</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Folder cache, lakaran kecil dalam memori, had cache</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Hent proxyene på nytt og åpne sekvensen igjen; jobblinjen viser nedlastingen</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pause · Mellomrom</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Spill av bildene · Mellomrom; piltastene går ett bilde om gangen</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Vis piksler i 1:1 uten interpolering · Ctrl+1; Ctrl+0 tilpasser</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Spill av ti sekunder av videoens bilder med gjeldende innstillinger</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Sammenligning med skillelinje: originalen til venstre, korrigert til høyre; dra linjen</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Demp det som skjæres bort i utdataene (det jeg mister)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Åpne datamappen i Filutforsker</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabel modus, logger, diagnostikk, sikkerhetskopi av databasen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkivmappe, navnemaler, proxystørrelse</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Språk, tema, bruksstatistikk</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kvalitetsprofil, minnebudsjett, parallellitet, kodere</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Standardserver, renderingsnode, klarerte sertifikater</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Hurtigbuffermappe, miniatyrbilder i minnet, hurtigbuffergrense</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Haal de proxy's opnieuw op en open de reeks opnieuw; de takenbalk toont de download</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Onderbreken · Spatiebalk</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Speel de frames af · Spatiebalk; pijltoetsen gaan één frame verder of terug</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Toon pixels op 1:1 zonder interpolatie · Ctrl+1; Ctrl+0 past in het venster</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Speel tien seconden van de videoframes af met de huidige instellingen</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Schuifvergelijking: origineel links, gecorrigeerd rechts; sleep de lijn</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Maak donkerder wat de uitvoer wegsnijdt (wat ik verlies)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Open de gegevensmap in Verkenner</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Draagbare modus, logboeken, diagnose, databaseback-up</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archiefmap, naamsjablonen, proxygrootte</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Taal, thema, gebruikstellingen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kwaliteitsprofiel, geheugenbudget, parallellisme, encoders</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Standaardserver, renderknooppunt, vertrouwde certificaten</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cachemap, miniaturen in geheugen, cachelimiet</value></data>
|
||||
|
||||
@@ -200,7 +200,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Pobierz ponownie pliki proxy i otwórz sekwencję od nowa; pobieranie widać na pasku zadań</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Wstrzymaj · Spacja</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Odtwórz klatki · Spacja; strzałki przechodzą o jedną klatkę</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Pokaż piksele w skali 1:1 bez interpolacji · Ctrl+1; Ctrl+0 dopasowuje</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Odtwórz dziesięć sekund klatek wideo z bieżącymi ustawieniami</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Porównanie z kurtyną: oryginał po lewej, wersja po korekcji po prawej; przeciągnij linię</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Przyciemnij to, co wyjście odcina (co tracę)</value></data>
|
||||
@@ -564,7 +563,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Otwórz folder danych w Eksploratorze</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Tryb przenośny, dzienniki, diagnostyka, kopia zapasowa bazy danych</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folder archiwum, szablony nazw, rozmiar proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Język, motyw, statystyki użycia</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil jakości, budżet pamięci, równoległość, enkodery</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Serwer domyślny, węzeł renderowania, zaufane certyfikaty</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Folder pamięci podręcznej, miniatury w pamięci, limit pamięci podręcznej</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Baixa os proxies de novo e reabre a sequência; a barra inferior mostra o download</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pausa · Espaço</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Reproduz os quadros · Espaço; as setas avançam um quadro</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Mostra os pixels em 1:1 sem interpolação · Ctrl+1; Ctrl+0 ajusta à janela</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Reproduz dez segundos dos quadros do vídeo com as configurações atuais</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Comparação deslizante: original à esquerda, corrigido à direita; arraste a linha</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Escurece o que a saída recorta (o que eu perco)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Abre a pasta de dados no Explorador de Arquivos</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modo portátil, logs, diagnóstico, backup do banco de dados</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Pasta do acervo, modelos de nomes, tamanho do proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Idioma, tema, contagens de uso</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Perfil de qualidade, limite de memória, paralelismo, codificadores</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Servidor padrão, nó de renderização, certificados confiáveis</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Pasta do cache, miniaturas na memória, limite do cache</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Obter novamente os proxies e reabrir a sequência; a barra de tarefas do Titano mostra a transferência</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pausar · Espaço</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Reproduzir os fotogramas · Espaço; as setas avançam um fotograma</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Mostrar os píxeis a 1:1 sem interpolação · Ctrl+1; Ctrl+0 ajusta à janela</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Reproduzir dez segundos dos fotogramas do vídeo com as definições atuais</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Comparação com cortina: original à esquerda, corrigido à direita; arraste a linha</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Escurecer o que a saída corta (o que perco)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Abrir a pasta de dados no Explorador de Ficheiros</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modo portátil, registos, diagnóstico, cópia de segurança da base de dados</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Pasta do arquivo, modelos de nomes, tamanho do proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Idioma, tema, contagens de utilização</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Perfil de qualidade, limite de memória, paralelismo, codificadores</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Servidor predefinido, nó de renderização, certificados fidedignos</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Pasta da cache, miniaturas em memória, limite da cache</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Preluați din nou proxy-urile și redeschideți secvența; bara de lucrări afișează descărcarea</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pauză · Spațiu</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Redați cadrele · Spațiu; săgețile avansează câte un cadru</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Afișați pixelii la 1:1 fără interpolare · Ctrl+1; Ctrl+0 potrivește în fereastră</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Redați zece secunde din cadrele videoclipului cu setările curente</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Comparare cu cortină: originalul în stânga, varianta corectată în dreapta; trageți linia</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Estompați ce taie ieșirea (ce se pierde)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Deschideți folderul de date în Explorer</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mod portabil, jurnale, diagnosticare, copie de rezervă a bazei de date</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folderul arhivei, șabloane de denumire, dimensiunea proxy-urilor</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Limbă, temă, statistici de utilizare</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil de calitate, limită de memorie, paralelism, codificatoare</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Server implicit, nod de randare, certificate de încredere</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Folderul cache, miniaturi în memorie, limita cache</value></data>
|
||||
|
||||
@@ -200,7 +200,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Заново получить прокси и снова открыть серию; ход скачивания виден в панели заданий</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Пауза · Пробел</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Воспроизвести кадры · Пробел; стрелки — на один кадр</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Показать пиксели 1:1 без интерполяции · Ctrl+1; Ctrl+0 — по размеру окна</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Воспроизвести десять секунд кадров видео с текущими параметрами</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Сравнение шторкой: оригинал слева, после коррекции справа; перетащите линию</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Затемнить то, что обрезается при выводе (что теряется)</value></data>
|
||||
@@ -564,7 +563,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Открыть папку данных в проводнике</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Портативный режим, журналы, диагностика, резервная копия базы данных</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Папка архива, шаблоны имён, размер прокси</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Язык, тема, статистика использования</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Профиль качества, лимит памяти, параллелизм, кодировщики</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Сервер по умолчанию, узел рендеринга, доверенные сертификаты</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Папка кэша, эскизы в памяти, лимит кэша</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Znova stiahne proxy a znova otvorí sekvenciu; sťahovanie sa zobrazuje v pruhu úloh</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pozastaví prehrávanie · medzerník</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Prehrá snímky · medzerník; šípky posunú o jednu snímku</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Zobrazí pixely v pomere 1:1 bez interpolácie · Ctrl+1; Ctrl+0 prispôsobí veľkosť</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Prehrá desať sekúnd snímok videa s aktuálnymi nastaveniami</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Porovnanie deliacou čiarou: originál vľavo, upravená verzia vpravo; čiaru môžete posúvať</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Stmaví časť, ktorú výstup oreže (čo sa stratí)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Otvorí priečinok údajov v Prieskumníkovi</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Prenosný režim, denníky, diagnostika, záloha databázy</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Priečinok archívu, šablóny názvov, veľkosť proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jazyk, motív, štatistiky používania</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil kvality, limit pamäte, paralelizmus, kodéry</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Predvolený server, renderovací uzol, dôveryhodné certifikáty</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Priečinok vyrovnávacej pamäte, miniatúry v pamäti, limit vyrovnávacej pamäte</value></data>
|
||||
|
||||
@@ -199,7 +199,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Znova prenesi proxyje in znova odpri sekvenco; prenos je prikazan v vrstici opravil</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Začasno ustavi · preslednica</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Predvajaj sličice · preslednica; puščice premaknejo za eno sličico</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Pokaži slikovne pike v razmerju 1:1 brez interpolacije · Ctrl+1; Ctrl+0 prilagodi</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Predvajaj deset sekund video sličic s trenutnimi nastavitvami</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Primerjava z zaveso: izvirnik levo, popravljeno desno; povlecite črto</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Zatemni, kar izhod odreže (kaj izgubim)</value></data>
|
||||
@@ -549,7 +548,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Odpri mapo s podatki v Raziskovalcu</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Prenosni način, dnevniki, diagnostika, varnostna kopija zbirke podatkov</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Mapa arhiva, predloge za poimenovanje, velikost proxyjev</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jezik, tema, statistika uporabe</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Profil kakovosti, omejitev pomnilnika, vzporednost, kodirniki</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Privzeti strežnik, vozlišče za upodabljanje, zaupanja vredna potrdila</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Mapa predpomnilnika, miniature v pomnilniku, omejitev predpomnilnika</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Hämta proxyerna igen och öppna sekvensen på nytt; jobbfältet visar nedladdningen</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pausa · Blanksteg</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Spela upp bildrutorna · Blanksteg; piltangenterna flyttar en bildruta i taget</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Visa pixlar i 1:1 utan interpolering · Ctrl+1; Ctrl+0 anpassar</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Spela upp tio sekunder av videons bildrutor med de aktuella inställningarna</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Jämförelse med delad vy: originalet till vänster, korrigerat till höger; dra linjen</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Tona ned det som utdatan skär bort (det som går förlorat)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Öppna datamappen i Utforskaren</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabelt läge, loggar, diagnostik, säkerhetskopiering av databasen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkivmapp, namngivningsmallar, proxystorlek</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Språk, tema, användningsstatistik</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kvalitetsprofil, minnesbudget, parallellitet, kodare</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Standardserver, renderingsnod, betrodda certifikat</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cachemapp, miniatyrer i minnet, cachegräns</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>รับพร็อกซีอีกครั้งแล้วเปิดซีเควนซ์นี้ขึ้นมาใหม่ แถบงานจะแสดงการดาวน์โหลด</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>หยุดชั่วคราว · Space</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>เล่นเฟรม · Space กดลูกศรเพื่อเลื่อนทีละเฟรม</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>แสดงพิกเซลแบบ 1:1 โดยไม่ประมาณค่า · Ctrl+1 ส่วน Ctrl+0 จะปรับให้พอดี</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>เล่นเฟรมของวิดีโอสิบวินาทีด้วยการตั้งค่าปัจจุบัน</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>เปรียบเทียบแบบเลื่อน: ต้นฉบับอยู่ทางซ้าย ภาพที่แก้ไขแล้วอยู่ทางขวา ลากเส้นเพื่อเลื่อน</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>หรี่ส่วนที่เอาต์พุตตัดออก (ส่วนที่จะเสียไป)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>เปิดโฟลเดอร์ข้อมูลในตัวสำรวจไฟล์</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>โหมดพกพา ไฟล์บันทึก การวินิจฉัย การสำรองฐานข้อมูล</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>โฟลเดอร์คลังภาพ เทมเพลตการตั้งชื่อ ขนาดพร็อกซี</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>ภาษา ธีม สถิติการใช้งาน</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>โปรไฟล์คุณภาพ งบหน่วยความจำ การประมวลผลแบบขนาน ตัวเข้ารหัส</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>เซิร์ฟเวอร์เริ่มต้น โหนดเรนเดอร์ ใบรับรองที่เชื่อถือ</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>โฟลเดอร์แคช ภาพขนาดย่อในหน่วยความจำ ขีดจำกัดแคช</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Proxy'leri yeniden alır ve sekansı yeniden açar; indirme görev çubuğunda görünür</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Duraklatır · Ara Çubuğu</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Kareleri oynatır · Ara Çubuğu; ok tuşları birer kare ilerletir</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Pikselleri ara değerleme olmadan 1:1 gösterir · Ctrl+1; Ctrl+0 sığdırır</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Videonun on saniyelik karelerini geçerli ayarlarla oynatır</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Kaydırmalı karşılaştırma: solda orijinal, sağda düzeltilmiş; çizgiyi sürükleyin</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Çıktının kestiği alanı soluklaştırır (kaybedilen kısım)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Veri klasörünü Dosya Gezgini'nde açar</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Taşınabilir mod, günlükler, tanılama, veritabanı yedeği</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arşiv klasörü, adlandırma şablonları, proxy boyutu</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Dil, tema, kullanım sayıları</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Kalite profili, bellek bütçesi, paralellik, kodlayıcılar</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Varsayılan sunucu, işleme düğümü, güvenilen sertifikalar</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Önbellek klasörü, bellekteki küçük resimler, önbellek sınırı</value></data>
|
||||
|
||||
@@ -200,7 +200,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Ще раз отримати проксі й знову відкрити послідовність; завантаження видно в рядку завдань</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Призупинити · Пробіл</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Відтворити кадри · Пробіл; стрілки переходять на один кадр</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Показати пікселі 1:1 без інтерполяції · Ctrl+1; Ctrl+0 вписує</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Відтворити десять секунд відеокадрів із поточними налаштуваннями</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Порівняння шторкою: оригінал ліворуч, виправлене праворуч; перетягніть лінію</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Затемнити те, що обрізає вивід (що я втрачаю)</value></data>
|
||||
@@ -564,7 +563,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Відкрити папку даних у Провіднику</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Портативний режим, журнали, діагностика, резервна копія бази даних</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Папка архіву, шаблони імен, розмір проксі</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Мова, тема, статистика використання</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Профіль якості, бюджет пам’яті, паралелізм, кодувальники</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Сервер за замовчуванням, вузол рендерингу, довірені сертифікати</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Папка кешу, мініатюри в пам’яті, ліміт кешу</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Lấy lại proxy và mở lại chuỗi ảnh; thanh tác vụ hiển thị tiến trình tải xuống</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Tạm dừng · Space</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Phát các khung hình · Space; phím mũi tên để đi từng khung hình</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>Hiển thị điểm ảnh ở tỷ lệ 1:1 không nội suy · Ctrl+1; Ctrl+0 để vừa khung</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Phát mười giây khung hình của video với cài đặt hiện tại</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>So sánh kiểu gạt: bản gốc bên trái, đã hiệu chỉnh bên phải; kéo đường phân chia</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>Làm mờ phần đầu ra cắt bỏ (phần bị mất)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Mở thư mục dữ liệu trong Explorer</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Chế độ di động, nhật ký, chẩn đoán, sao lưu cơ sở dữ liệu</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Thư mục kho lưu trữ, mẫu đặt tên, kích thước proxy</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Ngôn ngữ, chủ đề, số liệu sử dụng</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Hồ sơ chất lượng, giới hạn bộ nhớ, mức song song, bộ mã hóa</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Máy chủ mặc định, nút kết xuất, chứng chỉ tin cậy</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Thư mục bộ nhớ đệm, hình thu nhỏ trong bộ nhớ, giới hạn bộ nhớ đệm</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>重新获取代理并重新打开序列;任务进度栏会显示下载进度</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>暂停 · 空格键</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>播放帧 · 空格键;方向键逐帧移动</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>以 1:1 显示像素,不做插值 · Ctrl+1;Ctrl+0 适应窗口</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>以当前设置播放十秒的视频帧</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>划像对比:左侧为原始,右侧为校正后;拖动分割线</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>调暗输出将裁掉的部分(会丢失的内容)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>在资源管理器中打开数据文件夹</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>便携模式、日志、诊断、数据库备份</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>档案库文件夹、命名模板、代理尺寸</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>语言、主题、使用统计</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>质量模式、内存预算、并行度、编码器</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>默认服务器、渲染节点、受信任的证书</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>缓存文件夹、内存中的缩略图、缓存上限</value></data>
|
||||
|
||||
@@ -198,7 +198,6 @@
|
||||
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>重新取得代理檔並重新開啟序列;工作進度列會顯示下載進度</value></data>
|
||||
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>暫停 · 空白鍵</value></data>
|
||||
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>播放影格 · 空白鍵;方向鍵可逐格移動</value></data>
|
||||
<data name="Tooltips.Editor.Preview.ActualSize" xml:space="preserve"><value>以 1:1 顯示像素,不進行內插 · Ctrl+1;Ctrl+0 可符合視窗大小</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>以目前的設定播放十秒鐘的影片影格</value></data>
|
||||
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>分割比較:左側為原始,右側為已修正;拖曳分隔線即可比較</value></data>
|
||||
<data name="Tooltips.Editor.Preview.CropLoss" xml:space="preserve"><value>調暗輸出會裁掉的部分(檢視會失去的內容)</value></data>
|
||||
@@ -534,7 +533,6 @@
|
||||
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>在檔案總管中開啟資料位置</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>可攜式模式、記錄、診斷、資料庫備份</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>典藏庫資料夾、命名範本、代理檔大小</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>語言、佈景主題、使用統計</value></data>
|
||||
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>品質設定檔、記憶體上限、平行處理、編碼器</value></data>
|
||||
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>預設伺服器、算圖節點、信任的憑證</value></data>
|
||||
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>快取資料夾、記憶體中的縮圖、快取上限</value></data>
|
||||
|
||||
@@ -60,6 +60,9 @@ public sealed class AppSettings
|
||||
/// <summary>The first-run consent of BRIEF §21; offered only by builds with <see cref="ProductFeatures.AdsEnabled"/>.</summary>
|
||||
public bool AnonymousUsageCounts { get; set; }
|
||||
|
||||
/// <summary>Toasts also appear as Windows notifications while the window is minimised or in the background (BRIEF §12.1).</summary>
|
||||
public bool OsNotifications { get; set; } = true;
|
||||
|
||||
public WindowPlacement? Window { get; set; }
|
||||
|
||||
/// <summary>The first-run choice (local archive, adopted folder or server) was made.</summary>
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
using System.Security;
|
||||
using Microsoft.Win32;
|
||||
using Titano.Core.Diagnostics;
|
||||
|
||||
namespace Titano.App.Infrastructure;
|
||||
|
||||
/// <summary>Settings › General › Startup: Titano starts when the user signs in to Windows.</summary>
|
||||
public interface IStartWithWindows
|
||||
{
|
||||
bool IsEnabled { get; }
|
||||
|
||||
void SetEnabled(bool enabled);
|
||||
|
||||
/// <summary>Points an existing entry at the current executable (after an update moved it).</summary>
|
||||
void Refresh();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <c>HKCU\Software\Microsoft\Windows\CurrentVersion\Run</c> value that starts Titano minimised at sign-in, so inserted
|
||||
/// cards are noticed (BRIEF §12.4) without a window in the way. The registry stays the source of truth because Task
|
||||
/// Manager can turn it off; the uninstaller removes it with the Uploader's.
|
||||
/// </summary>
|
||||
public sealed class RunKeyStartWithWindows : IStartWithWindows
|
||||
{
|
||||
/// <summary>Starts the main window minimised on the taskbar.</summary>
|
||||
public const string MinimizedOption = "--minimized";
|
||||
|
||||
private const string RunKey = @"Software\Microsoft\Windows\CurrentVersion\Run";
|
||||
private const string ValueName = "Titano";
|
||||
|
||||
public bool IsEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
using var key = Registry.CurrentUser.OpenSubKey(RunKey);
|
||||
return key?.GetValue(ValueName) is string { Length: > 0 };
|
||||
}
|
||||
catch (SecurityException)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static string Command => $"\"{Environment.ProcessPath}\" {MinimizedOption}";
|
||||
|
||||
public void SetEnabled(bool enabled)
|
||||
{
|
||||
try
|
||||
{
|
||||
using var key = Registry.CurrentUser.CreateSubKey(RunKey, writable: true);
|
||||
if (enabled) key.SetValue(ValueName, Command, RegistryValueKind.String);
|
||||
else key.DeleteValue(ValueName, throwOnMissingValue: false);
|
||||
}
|
||||
catch (Exception ex) when (ex is SecurityException or UnauthorizedAccessException)
|
||||
{
|
||||
Log.Warning("startup", "Run key not updated", ex);
|
||||
}
|
||||
}
|
||||
|
||||
public void Refresh()
|
||||
{
|
||||
if (IsEnabled) SetEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Screenshots and tests never touch the user's sign-in programs.</summary>
|
||||
public sealed class MemoryStartWithWindows : IStartWithWindows
|
||||
{
|
||||
public bool IsEnabled { get; private set; }
|
||||
|
||||
public void SetEnabled(bool enabled) => IsEnabled = enabled;
|
||||
|
||||
public void Refresh()
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using Titano.Core.Model;
|
||||
|
||||
namespace Titano.App.Jobs;
|
||||
|
||||
/// <summary>What the shell says when a job of this PC ends.</summary>
|
||||
public enum JobNotice
|
||||
{
|
||||
None,
|
||||
Done,
|
||||
Failed,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Which job endings raise a toast (BRIEF §12.1 "toasts for job completion"): the long operations the user asked for
|
||||
/// end with one toast, whichever screen started them. Background work (thumbnails, proxies, light analysis, the
|
||||
/// analysis queued after an import) and scans (the archive is rescanned every 10 minutes) end silently; an import
|
||||
/// has its own toast when it ends well, and the Import screen holds its retry. Cancelled jobs were stopped on purpose.
|
||||
/// </summary>
|
||||
public static class JobNotices
|
||||
{
|
||||
/// <summary>
|
||||
/// The notice for <paramref name="job"/> after a change from <paramref name="before"/> (null: not seen before).
|
||||
/// A job already finished before the change (a repeated event, a page read again) says nothing.
|
||||
/// </summary>
|
||||
public static JobNotice For(JobState? before, Job job)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(job);
|
||||
if (before is JobState.Done or JobState.Failed or JobState.Cancelled || job.Priority == JobPriority.Background) return JobNotice.None;
|
||||
return job.State switch
|
||||
{
|
||||
JobState.Done when Announces(job.Kind) => JobNotice.Done,
|
||||
JobState.Failed when Announces(job.Kind) || job.Kind == JobKind.Import => JobNotice.Failed,
|
||||
_ => JobNotice.None,
|
||||
};
|
||||
}
|
||||
|
||||
private static bool Announces(JobKind kind) =>
|
||||
kind is JobKind.Render or JobKind.DeepAnalyse or JobKind.Verify or JobKind.Rebuild or JobKind.Maintenance or JobKind.UploadCommit;
|
||||
}
|
||||
@@ -10,6 +10,7 @@ using Titano.Core.Localization;
|
||||
using Titano.Core.Model;
|
||||
using Titano.Data;
|
||||
using Titano.Data.Jobs;
|
||||
using Titano.Ui.Controls;
|
||||
using Titano.Ui.Mvvm;
|
||||
|
||||
namespace Titano.App.Sections;
|
||||
@@ -49,7 +50,8 @@ public sealed class JobFilterChip(JobFilter filter, Action<JobFilter> select) :
|
||||
/// <summary>
|
||||
/// Jobs (BRIEF §12.6, Jobs.html): queue and history with live progress from the engine (batched to about 10
|
||||
/// updates a second), filters, queue order, an expandable log tail per job, and the row actions. Also feeds the
|
||||
/// shell's job bar, the status strip and the rail badge.
|
||||
/// shell's job bar, the status strip and the rail badge (running jobs, and failures not seen on this screen yet), and
|
||||
/// raises the toast of a long operation that ends (<see cref="JobNotices"/>), whichever screen started it.
|
||||
/// </summary>
|
||||
public sealed class JobsViewModel : SectionViewModel
|
||||
{
|
||||
@@ -59,6 +61,7 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
private readonly JobListModel _model = new();
|
||||
private readonly JobUpdateBuffer _buffer = new();
|
||||
private readonly Dictionary<Guid, JobRowViewModel> _rows = [];
|
||||
private readonly HashSet<Guid> _unseenFailures = [];
|
||||
private readonly JobActions _actions;
|
||||
private CoalescingThrottle? _throttle;
|
||||
private IJobQueue? _queue;
|
||||
@@ -217,13 +220,73 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
internal void Flush()
|
||||
{
|
||||
var (jobs, progress) = _buffer.Drain();
|
||||
foreach (var job in jobs) _model.Apply(job);
|
||||
foreach (var job in jobs)
|
||||
{
|
||||
var before = _model[job.Id]?.State;
|
||||
_model.Apply(job);
|
||||
Follow(before, job);
|
||||
}
|
||||
foreach (var p in progress) _model.Apply(p);
|
||||
SyncRows();
|
||||
UpdateShell();
|
||||
}
|
||||
|
||||
private void OnJobChanged(Job job)
|
||||
/// <summary>Failures seen on this screen no longer count on the rail.</summary>
|
||||
protected override void OnActivated()
|
||||
{
|
||||
if (_unseenFailures.Count == 0) return;
|
||||
_unseenFailures.Clear();
|
||||
UpdateShell();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A change the engine reported (these are live, never pages read again): a failure counts on the rail until this
|
||||
/// screen is opened, and a long operation that ends says so in a toast with one action (BRIEF §12.1, §0.2 rule 6).
|
||||
/// </summary>
|
||||
private void Follow(JobState? before, Job job)
|
||||
{
|
||||
if (job.State != JobState.Failed) _unseenFailures.Remove(job.Id);
|
||||
else if (before != JobState.Failed && !IsSelected) _unseenFailures.Add(job.Id);
|
||||
var notice = JobNotices.For(before, job);
|
||||
if (notice == JobNotice.None || (notice == JobNotice.Done && EditorAnnounces(job))) return;
|
||||
Shell.ShowToast(notice == JobNotice.Done
|
||||
? new Toast
|
||||
{
|
||||
Title = Loc.L("Shell.Job.Done"),
|
||||
Message = JobText.Name(job),
|
||||
ActionText = Loc.L("Jobs.Action.Open"),
|
||||
ActionToolTip = Loc.L("Tooltips.Jobs.Open"),
|
||||
ActionCommand = new AsyncRelayCommand(() => OpenTargetAsync(job)),
|
||||
}
|
||||
: job.Kind == JobKind.Import
|
||||
// The Import screen resumes an import with its plan and card; it holds the retry.
|
||||
? new Toast
|
||||
{
|
||||
Title = Loc.L("Shell.Job.Failed"),
|
||||
Message = JobText.Name(job),
|
||||
ActionText = Loc.L("Shell.Nav.Import"),
|
||||
ActionToolTip = Loc.L("Tooltips.Nav.Import"),
|
||||
ActionCommand = new RelayCommand(() => Shell.Navigate(SectionKey.Import)),
|
||||
IsError = true,
|
||||
}
|
||||
: new Toast
|
||||
{
|
||||
Title = Loc.L("Shell.Job.Failed"),
|
||||
Message = JobText.Name(job),
|
||||
ActionText = Loc.L("Jobs.Action.Retry"),
|
||||
ActionToolTip = Loc.L("Tooltips.Jobs.Retry"),
|
||||
ActionCommand = new AsyncRelayCommand(() => _queue?.ResumeAsync(job.Id) ?? Task.CompletedTask),
|
||||
IsError = true,
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>A finished render of the sequence open in the editor: the editor says it, with its output file.</summary>
|
||||
private bool EditorAnnounces(Job job) =>
|
||||
job is { Kind: JobKind.Render, State: JobState.Done } && Shell.Sequence.Editor is { IsRemote: false } editor
|
||||
&& job.TargetIds.Contains(editor.Session.Content.Sequence.Id);
|
||||
|
||||
/// <summary>A job changed state (any thread; tests feed it too): buffered until the next flush.</summary>
|
||||
internal void OnJobChanged(Job job)
|
||||
{
|
||||
_buffer.Post(job);
|
||||
_throttle?.Signal();
|
||||
@@ -274,10 +337,12 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
Shell.SetJob(JobText.Bar(current), current.Fraction ?? 0, indeterminate: current.Fraction is null, name: JobText.Name(current.Job));
|
||||
else
|
||||
Shell.SetJob(null, 0);
|
||||
// The rail badge, the status strip and the Running chip count the same jobs: running or paused (Jobs.html).
|
||||
// The status strip and the Running chip count the same jobs: running or paused (Jobs.html). The rail badge adds the
|
||||
// failures not seen here yet, which also turn the taskbar button red while no job runs.
|
||||
var active = _model.CountOf(JobFilter.Running);
|
||||
Shell.SetJobCount(active, _model.QueuedCount);
|
||||
Badge = active;
|
||||
Shell.SetUnseenFailures(_unseenFailures.Count);
|
||||
Badge = active + _unseenFailures.Count;
|
||||
OnPropertyChanged(nameof(WorkersText));
|
||||
OnPropertyChanged(nameof(HasWorkers));
|
||||
CommandManager.InvalidateRequerySuggested();
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<KeyBinding Key="Z" Modifiers="Control" Command="{Binding UndoCommand}" />
|
||||
<KeyBinding Key="Y" Modifiers="Control" Command="{Binding RedoCommand}" />
|
||||
<KeyBinding Key="D0" Modifiers="Control" Command="{Binding FitCommand}" />
|
||||
<KeyBinding Key="D1" Modifiers="Control" Command="{Binding ActualSizeCommand}" />
|
||||
<KeyBinding Key="D1" Modifiers="Control+Shift" Command="{Binding ActualSizeCommand}" />
|
||||
<KeyBinding Key="R" Modifiers="Control" Command="{Binding RenderCommand}" />
|
||||
<KeyBinding Key="A" Modifiers="Control+Shift" Command="{Binding AnalyseCommand}" />
|
||||
</Grid.InputBindings>
|
||||
@@ -141,7 +141,7 @@
|
||||
IsChecked="{Binding IsCropResult}" ui:ButtonIcon.Glyph="{StaticResource Icon.Eye}" ToolTip="{Binding CropModeToolTip}"
|
||||
AutomationProperties.Name="{l:Loc Editor.Preview.CropResult}" />
|
||||
<ToggleButton Visibility="{Binding IsExportTab, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" Style="{StaticResource ToggleButton.PreviewTool}"
|
||||
IsChecked="{Binding IsActualSize}" Content="{l:Loc Editor.Preview.ActualSize}" ToolTip="{l:Loc Tooltips.Editor.Preview.ActualSize}" />
|
||||
IsChecked="{Binding IsActualSize}" Content="{l:Loc Editor.Preview.ActualSize}" ToolTip="{l:Loc Tooltips.Editor.Preview.OneToOne}" />
|
||||
<Button Visibility="{Binding IsExportTab, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" Style="{StaticResource Button.PreviewToolIcon}"
|
||||
ui:ButtonIcon.Glyph="{StaticResource Icon.Fullscreen}" Click="OnFullScreen" ToolTip="{l:Loc Tooltips.Editor.Preview.FullScreen}"
|
||||
AutomationProperties.Name="{l:Loc Editor.Preview.FullScreen}" />
|
||||
|
||||
@@ -15,9 +15,11 @@ namespace Titano.App.Sections;
|
||||
/// Server (BRIEF §12.7, Server.html): address with LAN-discovered servers, connect with trust-on-first-use and login,
|
||||
/// status (name, version, latency, certificate), account and quota, sign out, the options of this PC (render node,
|
||||
/// proxies kept offline, automatic project sync, uploads paused on metered networks) and the sync table (<see cref="Sync"/>).
|
||||
/// The rail badge counts the settings conflicts waiting for a choice.
|
||||
/// </summary>
|
||||
public sealed class ServerViewModel : SectionViewModel
|
||||
{
|
||||
private readonly SyncFilterChip _conflicts;
|
||||
private string _address;
|
||||
private string? _errorText;
|
||||
private ServerSession? _session;
|
||||
@@ -37,6 +39,8 @@ public sealed class ServerViewModel : SectionViewModel
|
||||
});
|
||||
CertificateCommand = new RelayCommand(ShowCertificate, () => Fingerprint is not null);
|
||||
Sync = new SyncTableViewModel(shell);
|
||||
_conflicts = Sync.Chips.Single(c => c.Filter == SyncFilter.Conflicts);
|
||||
_conflicts.PropertyChanged += OnConflictsChanged;
|
||||
}
|
||||
|
||||
/// <summary>Sequences of this PC and of the server, where they stand and what can be done.</summary>
|
||||
@@ -213,6 +217,7 @@ public sealed class ServerViewModel : SectionViewModel
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
_conflicts.PropertyChanged -= OnConflictsChanged;
|
||||
if (_session is not null) _session.PropertyChanged -= OnSessionChanged;
|
||||
Shell.Settings.Encoders.CollectionChanged -= OnEncodersChanged;
|
||||
Sync.Dispose();
|
||||
@@ -225,6 +230,11 @@ public sealed class ServerViewModel : SectionViewModel
|
||||
if (Shell.Settings.Encoders.Count == 0 && !Shell.Settings.IsDetecting) _ = Shell.Settings.DetectEncodersAsync();
|
||||
}
|
||||
|
||||
private void OnConflictsChanged(object? sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.PropertyName is nameof(SyncFilterChip.Count) or "" or null) Badge = _conflicts.Count;
|
||||
}
|
||||
|
||||
private void SetSyncOption(bool value, bool current, Action<bool> store, [System.Runtime.CompilerServices.CallerMemberName] string? name = null)
|
||||
{
|
||||
if (value == current) return;
|
||||
|
||||
@@ -134,6 +134,12 @@
|
||||
<RadioButton Content="{l:Loc Settings.General.Theme.System}" IsChecked="{Binding IsSystemTheme}" ToolTip="{l:Loc Tooltips.Settings.ThemeSystem}" />
|
||||
</WrapPanel>
|
||||
</HeaderedContentControl>
|
||||
<HeaderedContentControl Style="{StaticResource Setting.Row}" Header="{l:Loc Settings.General.Startup}">
|
||||
<CheckBox Content="{l:Loc Settings.General.StartWithWindows}" IsChecked="{Binding StartWithWindows}" ToolTip="{l:Loc Tooltips.Settings.StartWithWindows}" Margin="0,4,0,0" />
|
||||
</HeaderedContentControl>
|
||||
<HeaderedContentControl Style="{StaticResource Setting.Row}" Header="{l:Loc Settings.General.Notifications}">
|
||||
<CheckBox Content="{l:Loc Settings.General.OsNotifications}" IsChecked="{Binding OsNotifications}" ToolTip="{l:Loc Tooltips.Settings.OsNotifications}" Margin="0,4,0,0" />
|
||||
</HeaderedContentControl>
|
||||
<!-- Monetization consent (BRIEF §21): only in builds made with TitanoAdsEnabled=true. -->
|
||||
<HeaderedContentControl Style="{StaticResource Setting.Row}" Header="{l:Loc Settings.General.Usage}"
|
||||
Visibility="{Binding ShowsUsageCounts, Converter={StaticResource BoolToVisibility}}">
|
||||
|
||||
@@ -41,9 +41,11 @@ public sealed class SettingsViewModel : SectionViewModel
|
||||
{
|
||||
Shell = shell;
|
||||
_s = shell.Services.Settings;
|
||||
Startup = shell.Services.Environment.IsCapture ? new MemoryStartWithWindows() : new RunKeyStartWithWindows();
|
||||
AllPages =
|
||||
[
|
||||
new(SettingsPage.General, ["Settings.General.Language", "Settings.General.Theme", .. ProductFeatures.AdsEnabled ? (string[])["Settings.General.Usage"] : []]),
|
||||
new(SettingsPage.General, ["Settings.General.Language", "Settings.General.Theme", "Settings.General.Startup", "Settings.General.Notifications",
|
||||
.. ProductFeatures.AdsEnabled ? (string[])["Settings.General.Usage"] : []]),
|
||||
new(SettingsPage.Archive, ["Settings.Archive.Root", "Settings.Archive.Folders", "Settings.Archive.Files", "Settings.Archive.Proxies"]),
|
||||
new(SettingsPage.Rendering, ["Settings.Rendering.Quality", "Settings.Rendering.Memory", "Settings.Rendering.Parallelism", "Settings.Rendering.Hardware", "Settings.Rendering.Encoders"]),
|
||||
new(SettingsPage.Storage, ["Settings.Storage.Folder", "Settings.Storage.Thumbnails", "Settings.Storage.Limit"]),
|
||||
@@ -247,6 +249,34 @@ public sealed class SettingsViewModel : SectionViewModel
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Where "Start with Windows" is kept (the Run key); screenshots and tests keep it in memory.</summary>
|
||||
internal IStartWithWindows Startup { get; set; }
|
||||
|
||||
/// <summary>Titano starts minimised when the user signs in to Windows.</summary>
|
||||
public bool StartWithWindows
|
||||
{
|
||||
get => Startup.IsEnabled;
|
||||
set
|
||||
{
|
||||
if (Startup.IsEnabled == value) return;
|
||||
Startup.SetEnabled(value);
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Toasts also appear as Windows notifications while the window is minimised or in the background.</summary>
|
||||
public bool OsNotifications
|
||||
{
|
||||
get => _s.OsNotifications;
|
||||
set
|
||||
{
|
||||
if (_s.OsNotifications == value) return;
|
||||
_s.OsNotifications = value;
|
||||
Save();
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>The usage counts consent belongs to monetization (BRIEF §21): only builds with it enabled offer it.</summary>
|
||||
public bool ShowsUsageCounts => ProductFeatures.AdsEnabled;
|
||||
|
||||
@@ -503,6 +533,7 @@ public sealed class SettingsViewModel : SectionViewModel
|
||||
}
|
||||
LoadCertificates();
|
||||
Shell.Services.Server.PropertyChanged += OnServerChanged;
|
||||
Startup.Refresh();
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
@@ -709,6 +740,8 @@ public sealed class SettingsViewModel : SectionViewModel
|
||||
{
|
||||
case SettingsPage.General:
|
||||
_s.AnonymousUsageCounts = defaults.AnonymousUsageCounts;
|
||||
_s.OsNotifications = defaults.OsNotifications;
|
||||
Startup.SetEnabled(false);
|
||||
ApplyTheme(defaults.Theme);
|
||||
_s.Language = null;
|
||||
UiLanguage.Apply(null);
|
||||
|
||||
@@ -9,6 +9,26 @@
|
||||
Title="{Binding WindowTitle}"
|
||||
Width="1440" Height="900" MinWidth="1200" MinHeight="760"
|
||||
WindowStartupLocation="CenterScreen">
|
||||
<!-- The taskbar button mirrors the job bar (BRIEF §11.5); red while a failure waits on the Jobs screen. -->
|
||||
<ui:TitanoWindow.TaskbarItemInfo>
|
||||
<TaskbarItemInfo ProgressState="{Binding TaskbarState}" ProgressValue="{Binding TaskbarProgress}" />
|
||||
</ui:TitanoWindow.TaskbarItemInfo>
|
||||
<!-- Sections by keyboard, as the rail tooltips list them (BRIEF §12.1): Ctrl+1…6 down the rail, Ctrl+, for Settings. -->
|
||||
<ui:TitanoWindow.InputBindings>
|
||||
<KeyBinding Key="D1" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Library}" />
|
||||
<KeyBinding Key="D2" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Import}" />
|
||||
<KeyBinding Key="D3" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Sequence}" />
|
||||
<KeyBinding Key="D4" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Archive}" />
|
||||
<KeyBinding Key="D5" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Jobs}" />
|
||||
<KeyBinding Key="D6" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Server}" />
|
||||
<KeyBinding Key="NumPad1" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Library}" />
|
||||
<KeyBinding Key="NumPad2" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Import}" />
|
||||
<KeyBinding Key="NumPad3" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Sequence}" />
|
||||
<KeyBinding Key="NumPad4" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Archive}" />
|
||||
<KeyBinding Key="NumPad5" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Jobs}" />
|
||||
<KeyBinding Key="NumPad6" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Server}" />
|
||||
<KeyBinding Key="OemComma" Modifiers="Control" Command="{Binding NavigateCommand}" CommandParameter="{x:Static shell:SectionKey.Settings}" />
|
||||
</ui:TitanoWindow.InputBindings>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
|
||||
@@ -9,9 +9,15 @@ using Titano.Ui.Controls;
|
||||
|
||||
namespace Titano.App.Shell;
|
||||
|
||||
/// <summary>
|
||||
/// The client's window (BRIEF §12.1): rail, job bar, section, status strip, the first-run dialog and the toasts, which
|
||||
/// also become Windows notifications while nobody sees the window (<see cref="OsNotifications"/>).
|
||||
/// </summary>
|
||||
public partial class MainWindow : TitanoWindow
|
||||
{
|
||||
private readonly ShellViewModel _shell;
|
||||
private readonly OsNotifications _notifications;
|
||||
private WindowState? _restoreTo;
|
||||
|
||||
public MainWindow(ShellViewModel shell)
|
||||
{
|
||||
@@ -24,10 +30,26 @@ public partial class MainWindow : TitanoWindow
|
||||
if (e.PropertyName is nameof(ShellViewModel.IsConnected) or "") UpdateConnection();
|
||||
if (e.PropertyName is nameof(ShellViewModel.IsWelcomeOpen) or "") FocusWelcome();
|
||||
};
|
||||
// Screenshots and tests run off screen and never activated: they must not reach the notification area.
|
||||
_notifications = new OsNotifications(this, () => shell.Services.Settings.OsNotifications && !shell.Services.Environment.IsCapture, t => Toasts.Dismiss(t));
|
||||
shell.PendingToasts.CollectionChanged += OnToastRequested;
|
||||
Loaded += (_, _) => FocusWelcome();
|
||||
RestorePlacement();
|
||||
Closing += (_, _) => SavePlacement();
|
||||
Closed += (_, _) => _notifications.Dispose();
|
||||
}
|
||||
|
||||
/// <summary>Started at sign-in (Settings › General › Startup): the window waits minimised on the taskbar.</summary>
|
||||
internal static bool StartsMinimized(IReadOnlyList<string> arguments) =>
|
||||
arguments.Any(a => a.Equals(RunKeyStartWithWindows.MinimizedOption, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
/// <summary>The first restore of a window started minimised brings back the saved maximised state.</summary>
|
||||
protected override void OnStateChanged(EventArgs e)
|
||||
{
|
||||
base.OnStateChanged(e);
|
||||
if (_restoreTo is not { } state || WindowState == WindowState.Minimized) return;
|
||||
_restoreTo = null;
|
||||
if (WindowState != state) WindowState = state;
|
||||
}
|
||||
|
||||
/// <summary>F6 moves the keyboard to the newest notification (as in Windows apps), Esc there dismisses it.</summary>
|
||||
@@ -66,14 +88,25 @@ public partial class MainWindow : TitanoWindow
|
||||
private void OnToastRequested(object? sender, NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
if (e.Action != NotifyCollectionChangedAction.Add || e.NewItems is null) return;
|
||||
foreach (Toast t in e.NewItems) Toasts.Show(t);
|
||||
foreach (Toast t in e.NewItems)
|
||||
{
|
||||
Toasts.Show(t);
|
||||
_notifications.Show(t);
|
||||
}
|
||||
Dispatcher.BeginInvoke(() => _shell.PendingToasts.Clear());
|
||||
}
|
||||
|
||||
private void RestorePlacement()
|
||||
{
|
||||
if (_shell.Services.Environment.IsCapture) return;
|
||||
var p = _shell.Services.Settings.Window;
|
||||
if (p is null || p.Width < MinWidth || p.Height < MinHeight || _shell.Services.Environment.IsCapture) return;
|
||||
var maximized = p?.Maximized == true;
|
||||
if (StartsMinimized(Environment.GetCommandLineArgs()))
|
||||
{
|
||||
WindowState = WindowState.Minimized;
|
||||
_restoreTo = maximized ? WindowState.Maximized : WindowState.Normal;
|
||||
}
|
||||
if (p is null || p.Width < MinWidth || p.Height < MinHeight) return;
|
||||
var virtualScreen = new Rect(SystemParameters.VirtualScreenLeft, SystemParameters.VirtualScreenTop, SystemParameters.VirtualScreenWidth, SystemParameters.VirtualScreenHeight);
|
||||
var rect = new Rect(p.Left, p.Top, p.Width, p.Height);
|
||||
if (!virtualScreen.IntersectsWith(rect)) return;
|
||||
@@ -82,7 +115,7 @@ public partial class MainWindow : TitanoWindow
|
||||
Top = p.Top;
|
||||
Width = p.Width;
|
||||
Height = p.Height;
|
||||
if (p.Maximized) WindowState = WindowState.Maximized;
|
||||
if (maximized && _restoreTo is null) WindowState = WindowState.Maximized;
|
||||
}
|
||||
|
||||
private void SavePlacement()
|
||||
@@ -95,7 +128,8 @@ public partial class MainWindow : TitanoWindow
|
||||
Top = b.Top,
|
||||
Width = b.Width,
|
||||
Height = b.Height,
|
||||
Maximized = WindowState == WindowState.Maximized,
|
||||
// Started minimised and never opened: the saved state stays the one it would have been restored to.
|
||||
Maximized = WindowState == WindowState.Maximized || (WindowState == WindowState.Minimized && _restoreTo == WindowState.Maximized),
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
using System.Windows;
|
||||
using Titano.Core.Localization;
|
||||
using Titano.Ui.Controls;
|
||||
using Titano.Ui.Interop;
|
||||
|
||||
namespace Titano.App.Shell;
|
||||
|
||||
/// <summary>
|
||||
/// Windows notifications for the toasts nobody would see (BRIEF §12.1 "optional OS toast when minimised", §12.4 "Card
|
||||
/// X detected — Import"): while the main window is minimised, hidden or behind another program, every toast also goes
|
||||
/// to a tray balloon, which Windows 10/11 shows as a notification, when Settings › General allows it. Clicking it
|
||||
/// brings the window back and runs the toast's action. The tray icon exists only while such a notification can be
|
||||
/// clicked: it goes once a window of Titano is active again. Create, use and dispose it on the UI thread.
|
||||
/// </summary>
|
||||
public sealed class OsNotifications : IDisposable
|
||||
{
|
||||
private const int MenuShow = 1;
|
||||
|
||||
private readonly Window _window;
|
||||
private readonly Func<bool> _enabled;
|
||||
private readonly Action<Toast> _dismiss;
|
||||
private TrayIcon? _tray;
|
||||
private Toast? _latest;
|
||||
private bool _disposed;
|
||||
|
||||
/// <param name="window">The main window, restored by a click.</param>
|
||||
/// <param name="enabled">Settings › General › Notifications (never during screenshots and tests).</param>
|
||||
/// <param name="dismiss">Closes the in-window toast whose action a click ran.</param>
|
||||
public OsNotifications(Window window, Func<bool> enabled, Action<Toast> dismiss)
|
||||
{
|
||||
_window = window;
|
||||
_enabled = enabled;
|
||||
_dismiss = dismiss;
|
||||
_window.Activated += OnActivated;
|
||||
}
|
||||
|
||||
/// <summary>The tray icon is in the notification area (tests).</summary>
|
||||
internal bool HasTrayIcon => _tray is not null;
|
||||
|
||||
/// <summary>Mirrors <paramref name="toast"/> as a Windows notification when nobody sees the window; true when it did.</summary>
|
||||
public bool Show(Toast toast)
|
||||
{
|
||||
// A toast raised while the app closes (the window is hidden by then) needs no icon that would outlive it.
|
||||
if (_disposed || !_enabled() || !IsUnseen(_window.WindowState, _window.IsVisible, AnyWindowActive())) return false;
|
||||
_tray ??= new TrayIcon(Loc.L("Shell.AppName"), Menu, OnMenu, Restore, OnBalloonClicked);
|
||||
_latest = toast;
|
||||
_tray.ShowBalloon(toast.Title, BalloonText(toast), toast.IsError);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_disposed = true;
|
||||
_window.Activated -= OnActivated;
|
||||
RemoveIcon();
|
||||
}
|
||||
|
||||
/// <summary>Nobody sees the main window: minimised, hidden, or no window of Titano has the foreground.</summary>
|
||||
public static bool IsUnseen(WindowState state, bool isVisible, bool anyWindowActive) =>
|
||||
state == WindowState.Minimized || !isVisible || !anyWindowActive;
|
||||
|
||||
/// <summary>
|
||||
/// The notification's text: the toast's message, then its action ("Import"), which a click on it runs; the title
|
||||
/// alone when there is neither (Windows needs a text to show a notification at all).
|
||||
/// </summary>
|
||||
public static string BalloonText(Toast toast)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(toast);
|
||||
var lines = new[] { toast.Message, toast.ActionText }.Where(l => !string.IsNullOrWhiteSpace(l));
|
||||
return string.Join(Environment.NewLine, lines) is { Length: > 0 } text ? text : toast.Title;
|
||||
}
|
||||
|
||||
private static bool AnyWindowActive() => Application.Current?.Windows.OfType<Window>().Any(w => w.IsActive) ?? false;
|
||||
|
||||
private IReadOnlyList<TrayMenuItem> Menu() => [new(MenuShow, Loc.L("Shell.Tray.Show"))];
|
||||
|
||||
private void OnMenu(int id)
|
||||
{
|
||||
if (id == MenuShow) Restore();
|
||||
}
|
||||
|
||||
/// <summary>The window as it was before it was minimised (maximised stays maximised), in front.</summary>
|
||||
private void Restore()
|
||||
{
|
||||
_window.Show();
|
||||
if (_window.WindowState == WindowState.Minimized) SystemCommands.RestoreWindow(_window);
|
||||
_window.Activate();
|
||||
}
|
||||
|
||||
private void OnBalloonClicked()
|
||||
{
|
||||
var toast = _latest;
|
||||
_latest = null;
|
||||
Restore();
|
||||
if (toast?.ActionCommand is not { } command || !command.CanExecute(null)) return;
|
||||
command.Execute(null);
|
||||
_dismiss(toast);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Back in front: the notifications have done their job. The icon goes after the current message, since activation
|
||||
/// may come from a click the icon's own window is still handling, unless the window went to the background again.
|
||||
/// </summary>
|
||||
private void OnActivated(object? sender, EventArgs e)
|
||||
{
|
||||
if (_tray is null) return;
|
||||
_window.Dispatcher.BeginInvoke(() =>
|
||||
{
|
||||
if (!IsUnseen(_window.WindowState, _window.IsVisible, AnyWindowActive())) RemoveIcon();
|
||||
});
|
||||
}
|
||||
|
||||
private void RemoveIcon()
|
||||
{
|
||||
_latest = null;
|
||||
_tray?.Dispose();
|
||||
_tray = null;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Shell;
|
||||
using Titano.App.Infrastructure;
|
||||
using Titano.App.Sections;
|
||||
using Titano.Core.Diagnostics;
|
||||
@@ -26,6 +27,7 @@ public sealed class ShellViewModel : LocalizedViewModel
|
||||
private string? _serverName;
|
||||
private int _jobCount;
|
||||
private int _queuedCount;
|
||||
private int _unseenFailures;
|
||||
private WelcomeViewModel? _welcome;
|
||||
private Guid? _currentSequenceId;
|
||||
|
||||
@@ -48,12 +50,13 @@ public sealed class ShellViewModel : LocalizedViewModel
|
||||
Library.IsSelected = true;
|
||||
Library.PropertyChanged += OnCurrentChanged;
|
||||
|
||||
// The rail and its shortcuts (Ctrl+1…6, Ctrl+,) navigate only while no first-run dialog covers the shell.
|
||||
NavigateCommand = new RelayCommand(p =>
|
||||
{
|
||||
if (p is SectionViewModel s) Navigate(s.Key);
|
||||
else if (p is SectionKey k) Navigate(k);
|
||||
else if (p is string name && Enum.TryParse<SectionKey>(name, out var key)) Navigate(key);
|
||||
});
|
||||
}, _ => IsShellEnabled);
|
||||
ToggleRailCommand = new RelayCommand(() => IsRailCollapsed = !IsRailCollapsed);
|
||||
services.Server.PropertyChanged += (_, _) => SetConnection(services.Server.ServerName);
|
||||
if (!_settings.FirstRunCompleted) _welcome = new WelcomeViewModel(this);
|
||||
@@ -89,6 +92,7 @@ public sealed class ShellViewModel : LocalizedViewModel
|
||||
if (!Set(ref _welcome, value)) return;
|
||||
OnPropertyChanged(nameof(IsWelcomeOpen));
|
||||
OnPropertyChanged(nameof(IsShellEnabled));
|
||||
CommandManager.InvalidateRequerySuggested();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,8 +200,20 @@ public sealed class ShellViewModel : LocalizedViewModel
|
||||
public string JobAnnouncement => _jobActive && _jobName is not null ? _jobName : JobText;
|
||||
|
||||
/// <summary>
|
||||
/// Updates the global job bar (and the taskbar progress through the window). <paramref name="name"/> says which job
|
||||
/// it is without its progress ("Render: Harbour sunset"); null reads <paramref name="text"/>.
|
||||
/// The taskbar button mirrors the job bar (BRIEF §11.5): the running job's progress, sliding while its total is
|
||||
/// unknown; red while no job runs and a failure waits on the Jobs screen; nothing otherwise.
|
||||
/// </summary>
|
||||
public TaskbarItemProgressState TaskbarState =>
|
||||
_jobActive ? _jobIndeterminate ? TaskbarItemProgressState.Indeterminate : TaskbarItemProgressState.Normal
|
||||
: _unseenFailures > 0 ? TaskbarItemProgressState.Error
|
||||
: TaskbarItemProgressState.None;
|
||||
|
||||
/// <summary>0…1 for <see cref="TaskbarState"/>; a waiting failure fills the button.</summary>
|
||||
public double TaskbarProgress => _jobActive ? _jobProgress : _unseenFailures > 0 ? 1 : 0;
|
||||
|
||||
/// <summary>
|
||||
/// Updates the global job bar and the taskbar button. <paramref name="name"/> says which job it is without its
|
||||
/// progress ("Render: Harbour sunset"); null reads <paramref name="text"/>.
|
||||
/// </summary>
|
||||
public void SetJob(string? text, double progress, bool indeterminate = false, string? name = null)
|
||||
{
|
||||
@@ -208,6 +224,17 @@ public sealed class ShellViewModel : LocalizedViewModel
|
||||
IsJobIndeterminate = indeterminate;
|
||||
OnPropertyChanged(nameof(JobText));
|
||||
OnPropertyChanged(nameof(JobAnnouncement));
|
||||
OnPropertyChanged(nameof(TaskbarState));
|
||||
OnPropertyChanged(nameof(TaskbarProgress));
|
||||
}
|
||||
|
||||
/// <summary>Failed jobs not seen on the Jobs screen yet (the taskbar button turns red while no job runs).</summary>
|
||||
public void SetUnseenFailures(int count)
|
||||
{
|
||||
if (_unseenFailures == count) return;
|
||||
_unseenFailures = count;
|
||||
OnPropertyChanged(nameof(TaskbarState));
|
||||
OnPropertyChanged(nameof(TaskbarProgress));
|
||||
}
|
||||
|
||||
// ---- Status strip ----
|
||||
|
||||
@@ -3,14 +3,16 @@ using System.Windows.Interop;
|
||||
using Titano.Core.Diagnostics;
|
||||
using Titano.Core.Localization;
|
||||
|
||||
namespace Titano.Uploader.Interop;
|
||||
namespace Titano.Ui.Interop;
|
||||
|
||||
/// <summary>One entry of the tray menu; an id of 0 is a separator.</summary>
|
||||
public readonly record struct TrayMenuItem(int Id, string? Text);
|
||||
|
||||
/// <summary>
|
||||
/// Notification-area icon through <c>Shell_NotifyIconW</c>: the program icon from the executable's resources, a tooltip,
|
||||
/// a native context menu and balloons. A hidden window receives the callbacks and re-adds the icon after Explorer restarts.
|
||||
/// a native context menu and balloons (Windows notifications on Windows 10/11). A hidden window receives the callbacks
|
||||
/// and re-adds the icon after Explorer restarts. Used by the Uploader (tray) and the client (notifications while
|
||||
/// minimised); create, use and dispose it on the UI thread.
|
||||
/// </summary>
|
||||
public sealed unsafe partial class TrayIcon : IDisposable
|
||||
{
|
||||
@@ -21,6 +23,7 @@ public sealed unsafe partial class TrayIcon : IDisposable
|
||||
private const uint NifIcon = 0x2;
|
||||
private const uint NifTip = 0x4;
|
||||
private const uint NifInfo = 0x10;
|
||||
private const uint NiifError = 0x3;
|
||||
private const uint NiifUser = 0x4;
|
||||
private const int CallbackMessage = 0x8000 + 1; // WM_APP + 1
|
||||
private const int WmContextMenu = 0x007B;
|
||||
@@ -42,21 +45,24 @@ public sealed unsafe partial class TrayIcon : IDisposable
|
||||
private readonly Func<IReadOnlyList<TrayMenuItem>> _menu;
|
||||
private readonly Action<int> _command;
|
||||
private readonly Action _show;
|
||||
private readonly Action? _balloonClicked;
|
||||
private string _toolTip;
|
||||
private bool _added;
|
||||
|
||||
/// <param name="toolTip">Hover text (up to 127 characters).</param>
|
||||
/// <param name="menu">Builds the context menu when it opens.</param>
|
||||
/// <param name="command">Runs a chosen menu id.</param>
|
||||
/// <param name="show">Left click or balloon click.</param>
|
||||
public TrayIcon(string toolTip, Func<IReadOnlyList<TrayMenuItem>> menu, Action<int> command, Action show)
|
||||
/// <param name="show">Left click, and balloon click when <paramref name="balloonClicked"/> is null.</param>
|
||||
/// <param name="balloonClicked">Click on the last balloon (or its Windows notification).</param>
|
||||
public TrayIcon(string toolTip, Func<IReadOnlyList<TrayMenuItem>> menu, Action<int> command, Action show, Action? balloonClicked = null)
|
||||
{
|
||||
_toolTip = toolTip;
|
||||
_menu = menu;
|
||||
_command = command;
|
||||
_show = show;
|
||||
_balloonClicked = balloonClicked;
|
||||
// A hidden top-level window: message-only windows miss the TaskbarCreated broadcast.
|
||||
_window = new HwndSource(new HwndSourceParameters("TitanoUploaderTray") { Width = 0, Height = 0, WindowStyle = 0 });
|
||||
_window = new HwndSource(new HwndSourceParameters("TitanoTray") { Width = 0, Height = 0, WindowStyle = 0 });
|
||||
_window.AddHook(WndProc);
|
||||
_taskbarCreated = RegisterWindowMessageW("TaskbarCreated");
|
||||
(_icon, _ownsIcon) = LoadProgramIcon();
|
||||
@@ -71,13 +77,16 @@ public sealed unsafe partial class TrayIcon : IDisposable
|
||||
Notify(NimModify, &data);
|
||||
}
|
||||
|
||||
/// <summary>Shows a balloon (a toast on Windows 10/11) with the program icon.</summary>
|
||||
public void ShowBalloon(string title, string text)
|
||||
/// <summary>
|
||||
/// Shows a balloon (a Windows notification on Windows 10/11) with the program icon, or the error icon when
|
||||
/// <paramref name="isError"/>. <paramref name="text"/> must not be empty: an empty text removes the balloon.
|
||||
/// </summary>
|
||||
public void ShowBalloon(string title, string text, bool isError = false)
|
||||
{
|
||||
var data = NewData(NifInfo);
|
||||
Copy(title, data.InfoTitle, 64);
|
||||
Copy(text, data.Info, 256);
|
||||
data.InfoFlags = NiifUser;
|
||||
data.InfoFlags = isError ? NiifError : NiifUser;
|
||||
Notify(NimModify, &data);
|
||||
}
|
||||
|
||||
@@ -108,9 +117,12 @@ public sealed unsafe partial class TrayIcon : IDisposable
|
||||
{
|
||||
switch ((int)(lParam.ToInt64() & 0xFFFF))
|
||||
{
|
||||
case WmLButtonUp or WmLButtonDblClk or NinBalloonUserClick:
|
||||
case WmLButtonUp or WmLButtonDblClk:
|
||||
_show();
|
||||
break;
|
||||
case NinBalloonUserClick:
|
||||
(_balloonClicked ?? _show)();
|
||||
break;
|
||||
case WmRButtonUp or WmContextMenu:
|
||||
ShowMenu();
|
||||
break;
|
||||
@@ -172,7 +184,7 @@ public sealed unsafe partial class TrayIcon : IDisposable
|
||||
destination[length] = '\0';
|
||||
}
|
||||
|
||||
/// <summary>The generated titano-uploader icon embedded in the executable; the stock icon if it cannot be read.</summary>
|
||||
/// <summary>The program's generated icon embedded in its executable; the stock icon if it cannot be read.</summary>
|
||||
private static (IntPtr Icon, bool Owned) LoadProgramIcon()
|
||||
{
|
||||
if (Environment.ProcessPath is { } exe)
|
||||
@@ -42,8 +42,9 @@ public readonly record struct MotionVector(float X, float Y, float Dx, float Dy)
|
||||
/// polyline) and a crop mask (normalised <see cref="CropRect"/>; dims or hides what the output loses). Tools go
|
||||
/// bottom-left (<see cref="ToolsContent"/>), the shot data pill bottom-right (<see cref="InfoText"/>). Images and
|
||||
/// overlays are retained visuals under one shared transform, so panning re-renders nothing. Double-click toggles
|
||||
/// Fit and 1:1; Ctrl+0 fits, Ctrl+1 shows 1:1. Screen readers see an image (named by AutomationProperties.Name)
|
||||
/// whose status is the zoom and whose help text is the shot data, holding the tools.
|
||||
/// Fit and 1:1; Ctrl+0 fits, Ctrl+Shift+1 shows 1:1 (Ctrl+1 to Ctrl+6 switch the client's sections). Screen readers
|
||||
/// see an image (named by AutomationProperties.Name) whose status is the zoom and whose help text is the shot data,
|
||||
/// holding the tools.
|
||||
/// </summary>
|
||||
[TemplatePart(Name = PartSurface, Type = typeof(FrameworkElement))]
|
||||
[TemplatePart(Name = PartTools, Type = typeof(FrameworkElement))]
|
||||
@@ -55,7 +56,7 @@ public class PreviewViewport : Control
|
||||
public const string PartInfo = "PART_Info";
|
||||
|
||||
public static readonly RoutedCommand FitCommand = new(nameof(FitCommand), typeof(PreviewViewport), [new KeyGesture(Key.D0, ModifierKeys.Control)]);
|
||||
public static readonly RoutedCommand ActualSizeCommand = new(nameof(ActualSizeCommand), typeof(PreviewViewport), [new KeyGesture(Key.D1, ModifierKeys.Control)]);
|
||||
public static readonly RoutedCommand ActualSizeCommand = new(nameof(ActualSizeCommand), typeof(PreviewViewport), [new KeyGesture(Key.D1, ModifierKeys.Control | ModifierKeys.Shift)]);
|
||||
|
||||
public static readonly DependencyProperty SourceProperty = DependencyProperty.Register(
|
||||
nameof(Source), typeof(ImageSource), typeof(PreviewViewport), new PropertyMetadata(null, OnImagesChanged));
|
||||
|
||||
@@ -5,10 +5,10 @@ using System.Windows;
|
||||
using System.Windows.Threading;
|
||||
using Titano.Core.Diagnostics;
|
||||
using Titano.Core.Localization;
|
||||
using Titano.Ui.Interop;
|
||||
using Titano.Ui.Mvvm;
|
||||
using Titano.Ui.Theming;
|
||||
using Titano.Uploader.Infrastructure;
|
||||
using Titano.Uploader.Interop;
|
||||
using Titano.Uploader.Server;
|
||||
using Titano.Uploader.Shell;
|
||||
using Titano.Uploader.Uploads;
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
using Titano.App.Jobs;
|
||||
using Titano.Core.Model;
|
||||
using Titano.Testing;
|
||||
|
||||
namespace Titano.App.Tests.Jobs;
|
||||
|
||||
/// <summary>UI-08: which job endings raise the shell's toast, whichever screen started the job.</summary>
|
||||
public sealed class JobNoticesTests
|
||||
{
|
||||
[Theory]
|
||||
[Case(JobKind.Render)]
|
||||
[Case(JobKind.DeepAnalyse)]
|
||||
[Case(JobKind.Verify)]
|
||||
[Case(JobKind.Rebuild)]
|
||||
[Case(JobKind.Maintenance)]
|
||||
[Case(JobKind.UploadCommit)]
|
||||
public void ALongOperationThatEndsSaysSo(JobKind kind)
|
||||
{
|
||||
Assert.Equal(JobNotice.Done, JobNotices.For(JobState.Running, Job(kind, JobState.Done)));
|
||||
Assert.Equal(JobNotice.Failed, JobNotices.For(JobState.Running, Job(kind, JobState.Failed)));
|
||||
// Queued and finished between two flushes of the Jobs screen: still one notice.
|
||||
Assert.Equal(JobNotice.Done, JobNotices.For(JobState.Queued, Job(kind, JobState.Done)));
|
||||
Assert.Equal(JobNotice.Done, JobNotices.For(null, Job(kind, JobState.Done)));
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[Case(JobKind.Scan)]
|
||||
[Case(JobKind.LightAnalyse)]
|
||||
[Case(JobKind.Thumbs)]
|
||||
[Case(JobKind.Proxies)]
|
||||
[Case(JobKind.Download)]
|
||||
public void BackgroundWorkAndScansEndSilently(JobKind kind)
|
||||
{
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Running, Job(kind, JobState.Done)));
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Running, Job(kind, JobState.Failed)));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AnImportSaysOnlyThatItFailed()
|
||||
{
|
||||
// The Import screen announces a finished import with its result.
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Running, Job(JobKind.Import, JobState.Done)));
|
||||
Assert.Equal(JobNotice.Failed, JobNotices.For(JobState.Running, Job(JobKind.Import, JobState.Failed)));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void BackgroundPriorityCancelledAndRepeatedEndingsSayNothing()
|
||||
{
|
||||
// The deep analysis queued after an import runs in the background.
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Running, Job(JobKind.DeepAnalyse, JobState.Done, JobPriority.Background)));
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Running, Job(JobKind.Render, JobState.Cancelled)));
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Done, Job(JobKind.Render, JobState.Done)));
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Failed, Job(JobKind.Render, JobState.Failed)));
|
||||
Assert.Equal(JobNotice.None, JobNotices.For(JobState.Queued, Job(JobKind.Render, JobState.Running)));
|
||||
// "Add to queue" renders have Normal priority: they are announced too.
|
||||
Assert.Equal(JobNotice.Done, JobNotices.For(JobState.Running, Job(JobKind.Render, JobState.Done, JobPriority.Normal)));
|
||||
}
|
||||
|
||||
private static Job Job(JobKind kind, JobState state, JobPriority priority = JobPriority.User) => new()
|
||||
{
|
||||
Id = Guid.CreateVersion7(),
|
||||
Kind = kind,
|
||||
State = state,
|
||||
Priority = priority,
|
||||
TargetLabel = "Harbour sunset",
|
||||
Created = DateTimeOffset.UtcNow,
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,265 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Shell;
|
||||
using Titano.App.Infrastructure;
|
||||
using Titano.App.Sections;
|
||||
using Titano.App.Settings;
|
||||
using Titano.App.Shell;
|
||||
using Titano.Core.Localization;
|
||||
using Titano.Core.Model;
|
||||
using Titano.Testing;
|
||||
using Titano.Ui.Controls;
|
||||
using Titano.Ui.Mvvm;
|
||||
using Titano.Ui.Visuals;
|
||||
|
||||
namespace Titano.App.Tests.Windows;
|
||||
|
||||
/// <summary>
|
||||
/// The shell's ways of telling what happens outside the screen in front: the taskbar button (UI-05), Windows
|
||||
/// notifications (UI-06), section shortcuts (UI-07), job toasts (UI-08), rail badges (UI-10), and the General settings
|
||||
/// that drive them; the usage counts consent stays hidden in builds without monetization (RF-3).
|
||||
/// </summary>
|
||||
[WindowsOnly]
|
||||
[Serial]
|
||||
[Timeout(300_000)]
|
||||
public sealed class ShellNotificationTests
|
||||
{
|
||||
[Test]
|
||||
public Task TheTaskbarButtonMirrorsTheJobBar() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
await using var app = await ScreenSmokeTests.SampleApp.StartAsync();
|
||||
var shell = app.Shell;
|
||||
await JobsLoadedAsync(shell);
|
||||
var taskbar = Assert.NotNull(app.Window.TaskbarItemInfo);
|
||||
|
||||
shell.SetJob("Render · Harbour sunset", 0.25, name: "Render: Harbour sunset");
|
||||
Assert.Equal(TaskbarItemProgressState.Normal, taskbar.ProgressState);
|
||||
Assert.Approximately(0.25, taskbar.ProgressValue, 1e-9);
|
||||
|
||||
shell.SetJob("Scan · Archive", 0, indeterminate: true);
|
||||
Assert.Equal(TaskbarItemProgressState.Indeterminate, taskbar.ProgressState);
|
||||
|
||||
shell.SetJob(null, 0);
|
||||
Assert.Equal(TaskbarItemProgressState.None, taskbar.ProgressState);
|
||||
|
||||
// A failure nobody has seen on the Jobs screen turns the idle button red.
|
||||
shell.SetUnseenFailures(1);
|
||||
Assert.Equal(TaskbarItemProgressState.Error, taskbar.ProgressState);
|
||||
Assert.Approximately(1, taskbar.ProgressValue, 1e-9);
|
||||
shell.SetJob("Render · Harbour sunset", 0.5);
|
||||
Assert.Equal(TaskbarItemProgressState.Normal, taskbar.ProgressState, "a running job comes first");
|
||||
shell.SetUnseenFailures(0);
|
||||
shell.SetJob(null, 0);
|
||||
Assert.Equal(TaskbarItemProgressState.None, taskbar.ProgressState);
|
||||
});
|
||||
|
||||
[Test]
|
||||
public Task TheRailShortcutsOfTheTooltipsNavigate() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
await using var app = await ScreenSmokeTests.SampleApp.StartAsync(firstRun: true);
|
||||
var shell = app.Shell;
|
||||
var bindings = app.Window.InputBindings.OfType<KeyBinding>().ToList();
|
||||
var expected = new (Key Key, SectionKey Section)[]
|
||||
{
|
||||
(Key.D1, SectionKey.Library), (Key.D2, SectionKey.Import), (Key.D3, SectionKey.Sequence), (Key.D4, SectionKey.Archive),
|
||||
(Key.D5, SectionKey.Jobs), (Key.D6, SectionKey.Server), (Key.OemComma, SectionKey.Settings),
|
||||
};
|
||||
|
||||
// The first-run dialog keeps the shell behind it: no shortcut moves it.
|
||||
var library = bindings.Single(b => b.Key == Key.D1 && b.Modifiers == ModifierKeys.Control);
|
||||
Assert.False(library.Command.CanExecute(library.CommandParameter), "no navigation behind the first-run dialog");
|
||||
shell.CompleteWelcome();
|
||||
|
||||
foreach (var (key, section) in expected)
|
||||
{
|
||||
var binding = bindings.Single(b => b.Key == key && b.Modifiers == ModifierKeys.Control);
|
||||
Assert.True(binding.Command.CanExecute(binding.CommandParameter), $"Ctrl+{key}");
|
||||
binding.Command.Execute(binding.CommandParameter);
|
||||
Assert.Equal(section, shell.Current.Key, $"Ctrl+{key}");
|
||||
// The rail tooltip lists the shortcut it answers to.
|
||||
var shortcut = key == Key.OemComma ? "Ctrl+," : "Ctrl+" + (char)('1' + (key - Key.D1));
|
||||
Assert.True(shell.Current.ToolTip.EndsWith(shortcut, StringComparison.Ordinal), $"{section} tooltip ends with {shortcut}");
|
||||
}
|
||||
|
||||
// The editor's 1:1 view no longer takes Ctrl+1 from the Library.
|
||||
var gestures = PreviewViewport.ActualSizeCommand.InputGestures.OfType<KeyGesture>().ToList();
|
||||
Assert.True(gestures.All(g => g is not { Key: Key.D1, Modifiers: ModifierKeys.Control }), "the preview keeps away from Ctrl+1");
|
||||
Assert.Contains(gestures, g => g is { Key: Key.D1, Modifiers: ModifierKeys.Control | ModifierKeys.Shift });
|
||||
Assert.Contains("Ctrl+Shift+1", Loc.L("Tooltips.Editor.Preview.OneToOne"));
|
||||
});
|
||||
|
||||
[Test]
|
||||
public Task JobsThatEndRaiseOneToastAndFailuresCountUntilSeen() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
await using var app = await ScreenSmokeTests.SampleApp.StartAsync();
|
||||
var shell = app.Shell;
|
||||
shell.CompleteWelcome();
|
||||
await JobsLoadedAsync(shell);
|
||||
var jobs = shell.Jobs;
|
||||
var raised = new List<Toast>();
|
||||
shell.PendingToasts.CollectionChanged += (_, e) => raised.AddRange(e.NewItems?.Cast<Toast>() ?? []);
|
||||
var badge = jobs.Badge;
|
||||
|
||||
// A deep analysis started from the Library ends: one toast whose action opens what it worked on.
|
||||
var analysis = Job(JobKind.DeepAnalyse, JobState.Running, Guid.CreateVersion7());
|
||||
jobs.OnJobChanged(analysis);
|
||||
jobs.Flush();
|
||||
jobs.OnJobChanged(analysis with { State = JobState.Done });
|
||||
jobs.Flush();
|
||||
var done = raised.Single(t => t.Title == Loc.L("Shell.Job.Done"));
|
||||
Assert.Equal(Loc.L("Jobs.Action.Open"), done.ActionText);
|
||||
Assert.False(done.IsError);
|
||||
// The same ending reported again says nothing more.
|
||||
jobs.OnJobChanged(analysis with { State = JobState.Done });
|
||||
jobs.Flush();
|
||||
Assert.Equal(1, raised.Count(t => t.Title == Loc.L("Shell.Job.Done")));
|
||||
|
||||
// A failed verify: an error toast with Retry, a badge on the rail and a red taskbar button until Jobs is opened.
|
||||
var verify = Job(JobKind.Verify, JobState.Running, Guid.CreateVersion7());
|
||||
jobs.OnJobChanged(verify);
|
||||
jobs.Flush();
|
||||
jobs.OnJobChanged(verify with { State = JobState.Failed, Error = "Disk read error" });
|
||||
jobs.Flush();
|
||||
var failed = raised.Single(t => t.Title == Loc.L("Shell.Job.Failed"));
|
||||
Assert.True(failed.IsError);
|
||||
Assert.Equal(Loc.L("Jobs.Action.Retry"), failed.ActionText);
|
||||
Assert.Equal(badge + 1, jobs.Badge);
|
||||
Assert.Equal(TaskbarItemProgressState.Error, shell.TaskbarState);
|
||||
shell.Navigate(SectionKey.Jobs);
|
||||
Assert.Equal(badge, jobs.Badge);
|
||||
Assert.NotEqual(TaskbarItemProgressState.Error, shell.TaskbarState);
|
||||
|
||||
// The editor announces the renders of its own sequence, with their output: the shell says nothing then.
|
||||
var id = await app.Sample.FillEditorAsync();
|
||||
shell.OpenSequence(id);
|
||||
await shell.Sequence.OpenAsync(id);
|
||||
Assert.NotNull(shell.Sequence.Editor);
|
||||
raised.Clear();
|
||||
var render = Job(JobKind.Render, JobState.Running, id);
|
||||
jobs.OnJobChanged(render);
|
||||
jobs.Flush();
|
||||
jobs.OnJobChanged(render with { State = JobState.Done });
|
||||
jobs.Flush();
|
||||
Assert.False(raised.Any(t => t.Title == Loc.L("Shell.Job.Done")), "the editor's own render toast is not doubled");
|
||||
// A render of another sequence is the shell's to announce.
|
||||
var other = Job(JobKind.Render, JobState.Running, Guid.CreateVersion7());
|
||||
jobs.OnJobChanged(other);
|
||||
jobs.Flush();
|
||||
jobs.OnJobChanged(other with { State = JobState.Done });
|
||||
jobs.Flush();
|
||||
Assert.Equal(1, raised.Count(t => t.Title == Loc.L("Shell.Job.Done")));
|
||||
await shell.Sequence.CloseAsync();
|
||||
});
|
||||
|
||||
[Test]
|
||||
public Task ToastsBecomeWindowsNotificationsOnlyWhileNobodySeesTheWindow() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
Assert.True(OsNotifications.IsUnseen(WindowState.Minimized, isVisible: true, anyWindowActive: true));
|
||||
Assert.True(OsNotifications.IsUnseen(WindowState.Normal, isVisible: true, anyWindowActive: false));
|
||||
Assert.True(OsNotifications.IsUnseen(WindowState.Maximized, isVisible: false, anyWindowActive: true));
|
||||
Assert.False(OsNotifications.IsUnseen(WindowState.Maximized, isVisible: true, anyWindowActive: true));
|
||||
|
||||
// The card prompt of BRIEF §12.4 reads "Card X detected", then its action, which a click runs.
|
||||
var card = new Toast { Title = "EOS R5 card A inserted", Message = "SD 128 GB", ActionText = "Import" };
|
||||
Assert.Equal("SD 128 GB" + Environment.NewLine + "Import", OsNotifications.BalloonText(card));
|
||||
Assert.Equal("Job finished", OsNotifications.BalloonText(new Toast { Title = "Job finished" }));
|
||||
|
||||
Assert.True(MainWindow.StartsMinimized(["Titano.exe", "--minimized"]));
|
||||
Assert.False(MainWindow.StartsMinimized(["Titano.exe"]));
|
||||
|
||||
await using var app = await ScreenSmokeTests.SampleApp.StartAsync();
|
||||
app.Shell.CompleteWelcome();
|
||||
// Minimised: nobody sees the window.
|
||||
app.Window.WindowState = WindowState.Minimized;
|
||||
var enabled = false;
|
||||
using var notifications = new OsNotifications(app.Window, () => enabled, _ => { });
|
||||
Assert.False(notifications.Show(card), "Settings › General › Notifications is off");
|
||||
Assert.False(notifications.HasTrayIcon);
|
||||
enabled = true;
|
||||
Assert.True(notifications.Show(new Toast { Title = "Job finished", Message = "Render · Harbour sunset", ActionCommand = new RelayCommand(() => { }) }));
|
||||
Assert.True(notifications.HasTrayIcon, "the notification area holds the icon while a notification can be clicked");
|
||||
notifications.Dispose();
|
||||
Assert.False(notifications.HasTrayIcon);
|
||||
app.Window.WindowState = WindowState.Normal;
|
||||
});
|
||||
|
||||
[Test]
|
||||
public Task GeneralSettingsHoldStartupAndNotificationsButNoConsent() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
// Monetization (BRIEF §21) ships disabled: the default build offers no usage counts consent.
|
||||
Assert.False(ProductFeatures.AdsEnabled);
|
||||
|
||||
await using var app = await ScreenSmokeTests.SampleApp.StartAsync(firstRun: true);
|
||||
var shell = app.Shell;
|
||||
await app.ExpectAsync<WelcomeView>("welcome");
|
||||
Assert.False(app.FindAll<CheckBox>().Any(c => c.IsVisible && Equals(c.Content, Loc.L("Settings.General.UsageCounts"))), "no consent on the first-run dialog");
|
||||
shell.CompleteWelcome();
|
||||
|
||||
var settings = shell.Settings;
|
||||
var startup = new MemoryStartWithWindows();
|
||||
settings.Startup = startup;
|
||||
shell.Navigate(SectionKey.Settings);
|
||||
settings.Page = SettingsPage.General;
|
||||
await app.ExpectAsync<SettingsView>("settings-general");
|
||||
var boxes = app.FindAll<CheckBox>().Where(c => c.IsVisible).ToList();
|
||||
Assert.False(boxes.Any(c => Equals(c.Content, Loc.L("Settings.General.UsageCounts"))), "no consent in Settings");
|
||||
var start = boxes.Single(c => Equals(c.Content, Loc.L("Settings.General.StartWithWindows")));
|
||||
Assert.Equal(Loc.L("Tooltips.Settings.StartWithWindows"), start.ToolTip);
|
||||
var notify = boxes.Single(c => Equals(c.Content, Loc.L("Settings.General.OsNotifications")));
|
||||
Assert.Equal(Loc.L("Tooltips.Settings.OsNotifications"), notify.ToolTip);
|
||||
Assert.True(notify.IsChecked == true, "Windows notifications are on by default");
|
||||
|
||||
settings.StartWithWindows = true;
|
||||
Assert.True(startup.IsEnabled);
|
||||
settings.OsNotifications = false;
|
||||
Assert.False(shell.Services.Settings.OsNotifications);
|
||||
settings.ResetSectionCommand.Execute(null);
|
||||
Assert.False(startup.IsEnabled, "Reset section turns Start with Windows off");
|
||||
Assert.True(shell.Services.Settings.OsNotifications, "Reset section turns notifications back on");
|
||||
// Reset section also returned the language to the system's.
|
||||
UiLanguage.Apply("en");
|
||||
|
||||
// The search finds General by its new rows, not by the hidden consent.
|
||||
settings.SearchText = Loc.L("Settings.General.Startup");
|
||||
Assert.Contains(settings.VisiblePages, p => p.Page == SettingsPage.General);
|
||||
settings.SearchText = Loc.L("Settings.General.Usage");
|
||||
Assert.False(settings.VisiblePages.Any(p => p.Page == SettingsPage.General), "the hidden consent does not match");
|
||||
settings.SearchText = string.Empty;
|
||||
});
|
||||
|
||||
[Test]
|
||||
public Task TheServerBadgeCountsConflicts() => ScreenHost.RunAsync(async () =>
|
||||
{
|
||||
await using var app = await ScreenSmokeTests.SampleApp.StartAsync();
|
||||
var shell = app.Shell;
|
||||
shell.CompleteWelcome();
|
||||
Assert.Equal(0, shell.Server.Badge);
|
||||
await app.Sample.FillAsync();
|
||||
await shell.Services.Server.RestoreAsync();
|
||||
Assert.NotNull(await shell.Services.Sync.RefreshAsync());
|
||||
await shell.Server.Sync.ReloadAsync();
|
||||
// The sample server holds one sequence whose settings changed on both sides.
|
||||
Assert.Equal(1, shell.Server.Sync.Chips.Single(c => c.Filter == Titano.App.Server.SyncFilter.Conflicts).Count);
|
||||
Assert.Equal(1, shell.Server.Badge);
|
||||
});
|
||||
|
||||
/// <summary>The Jobs screen read its first page (it would set the job bar and the badge again).</summary>
|
||||
private static async Task JobsLoadedAsync(ShellViewModel shell)
|
||||
{
|
||||
for (var i = 0; i < 200 && !shell.Jobs.IsEmpty && !shell.Jobs.HasRows; i++) await Task.Delay(20);
|
||||
Assert.True(shell.Jobs.IsEmpty || shell.Jobs.HasRows, "the job list loaded");
|
||||
}
|
||||
|
||||
private static Job Job(JobKind kind, JobState state, Guid target) => new()
|
||||
{
|
||||
Id = Guid.CreateVersion7(),
|
||||
Kind = kind,
|
||||
State = state,
|
||||
Priority = JobPriority.User,
|
||||
TargetIds = [target],
|
||||
TargetLabel = "Harbour sunset",
|
||||
Created = DateTimeOffset.UtcNow,
|
||||
Started = DateTimeOffset.UtcNow,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user