feat(app): Jobs › Scheduled and the desktop scheduler
Owner review 2, R10 on the desktop: every timer that queued work out of sight is now a visible, editable schedule of this PC. - DesktopScheduleHost implements IScheduleHost: the PC's time zone, the archive at Settings › Archive's folder (refreshed from archive.json, none while it is offline), and three system schedules: archive-scan (every:<ScanIntervalMinutes>m, seeded once from the old setting, no catch-up), index-backup (every day with catch-up, replacing DatabaseBackups.RunDailyAsync) and housekeeping (daily 04:00 with catch-up: job history 90 days and the new cache-trim step). - AppServices starts the Scheduler after the engine, once the archive was reopened; an unplugged archive is looked for every minute and the scheduler woken when it is back. The rescan loop and the daily backup loop are gone; ApplyJobSettings wakes the scheduler. - CacheStore.Trim brings the cache to Settings › Storage › Cache limit, oldest files first, skipping files in use and the proxies, render-node and server-import folders; CacheTrimStep runs it as a clean-up step. - Jobs gets a Queue | Scheduled segmented control. Scheduled lists the schedules (switch, name, action, when, next run, last result) with Run now, Edit, Reset (system) or Delete (user's, confirmed), the selected schedule's last runs with Show in queue, and an in-window editor that checks every field with the scheduler's limits. Jobs a schedule queued carry a "Scheduled" pill; the history line follows the housekeeping's job-history days. - JobNotices: a scheduled background run raises a toast only when it fails (upkeep stays silent). - Settings › Archive › Rescan every is removed; ScanIntervalMinutes stays only as the seed. Strings in en and it; the others are retranslated. - The capture shows jobs-scheduled and jobs-schedule-editor on a stopped scheduler clock with sample schedules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit e25d812feb3f417cb9251c748c29e8035fd9b03c)
This commit is contained in:
1 parent
75daab7275
commit
bc786c12c4
108 files changed
+3724
-490
No files matched your search
@@ -67,13 +67,13 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
| Folder | Content |
|
||||
|---|---|
|
||||
| `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 (the Edit section: the editor, and `SequencePickerView` choosing the sequence in place), Import, Archive, Jobs, Server, Settings (its last page is About) |
|
||||
| `Sections` | One `XxxView.xaml` + `XxxViewModel` per screen: Welcome, Library, Sequence (the Edit section: the editor, and `SequencePickerView` choosing the sequence in place), Import, Archive, Jobs (two tabs, Queue and Scheduled: `SchedulesView` shows `Jobs/SchedulesViewModel`), Server, Settings (its last page is 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`), the steps of the Edit path (`EditPath`: their order, each step's state, the step of each finding, the memory of the step shown; tabs Analysis, Frames, Exposure, Motion, Camera, Time, Stack, Export), `PreviewRenderer`, `ExportPlanner`, `ExportSync`, `SavedCopies`, `SequenceJobs`, `ProjectFiles` (save and open `.chronos` project files) |
|
||||
| `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, `JobNotices` (which job endings raise a toast; `JobEndings` lets a batch speak once); settings rows (`LogSettingsRows`: Advanced's log rows), encoder and format inventories, `ProcessingTuning` (Settings › Rendering and Analysis applied to each job: parallelism, memory budget, quality), `InterfacePriority`, language catalog, naming preview; `AboutViewModel` (owned by the shell, not a section: Settings › About, the update notice of Settings › Updates and the update check on start), update check and download |
|
||||
| `Jobs`, `Settings`, `About` | Job list and buffering, `JobNotices` (which job endings raise a toast; `JobEndings` lets a batch speak once); the schedules of Jobs › Scheduled (`DesktopScheduleHost`: the desktop's `IScheduleHost` and its system schedules `archive-scan`, `index-backup`, `housekeeping`; `CacheTrimStep`, the host's clean-up step; `SchedulesViewModel`, `ScheduleRowViewModel`, `ScheduleEditorViewModel` and `ScheduleDialogs.xaml`, the in-window editor; `ScheduleText`); settings rows (`LogSettingsRows`: Advanced's log rows), encoder and format inventories, `ProcessingTuning` (Settings › Rendering and Analysis applied to each job: parallelism, memory budget, quality), `InterfacePriority`, language catalog, naming preview; `AboutViewModel` (owned by the shell, not a section: Settings › About, the update notice of Settings › Updates and the update check on start), update check and download |
|
||||
| `Infrastructure` | `AppServices` (composition root), `AppSettings`, `AppLogging` (Settings › Advanced › Logs applied to the log files at start and at every save), `AppEnvironment` (installed or portable), `AppClock` (today's date, frozen by `--capture`), `StartWithWindows` (this copy's sign-in entry), `UiLanguage`, `LiveRegion`, `RenderNodeHost`, `DiagnosticsBundle`, `ShellActions` (BRIEF §8.6), `SingleInstance` (one Chronos per data folder; a later launch hands its file over a named pipe, or waits for a closing one to exit and starts in its place), device monitor |
|
||||
| `DesignTime` | `SampleData`: the archive, jobs and server the screenshots and smoke tests run on, dated from the fixed `SampleData.Now` |
|
||||
|
||||
@@ -94,7 +94,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
|
||||
| Host | Composition root | What it runs |
|
||||
|---|---|---|
|
||||
| Chronos (desktop) | `App/Infrastructure/AppServices` | SQLite index in `%LOCALAPPDATA%\Chronos` (or `.\data` when portable, unless the copy is in a OneDrive folder); `ArchiveService` with WIC first, then managed decoders; `ProcessingService` with Media Foundation, then managed encoders; one `JobEngine` with the handlers of both; thumbnails; `ServerSession`; `SyncHost` while signed in (sync engine and agent, upload and download handlers, metered hold, editors of server sequences); the render node while opted in and signed in; update check and download (`About/UpdateCheck`, `About/UpdateDownload`, `About/UpdateFlow`: the setup, or the portable zip for a portable copy, verified against `SHA256SUMS`, resumable, cancellable, failing after 60 s without data); diagnostics bundle; daily index backups and the restore staged in Settings › Advanced (`DatabaseBackups`) |
|
||||
| Chronos (desktop) | `App/Infrastructure/AppServices` | SQLite index in `%LOCALAPPDATA%\Chronos` (or `.\data` when portable, unless the copy is in a OneDrive folder); `ArchiveService` with WIC first, then managed decoders; `ProcessingService` with Media Foundation, then managed encoders; one `JobEngine` with the handlers of both; thumbnails; `ServerSession`; `SyncHost` while signed in (sync engine and agent, upload and download handlers, metered hold, editors of server sequences); the render node while opted in and signed in; update check and download (`About/UpdateCheck`, `About/UpdateDownload`, `About/UpdateFlow`: the setup, or the portable zip for a portable copy, verified against `SHA256SUMS`, resumable, cancellable, failing after 60 s without data); diagnostics bundle; the `Scheduler` on `DesktopScheduleHost`, started once the archive was reopened (an unplugged one is looked for every minute), whose system schedules replaced the rescan timer, the daily backup loop and the job-history purge; the restore staged in Settings › Advanced (`DatabaseBackups`) |
|
||||
| Chronos Server | `Server/Hosting/ServerHost.Build` | Options from `server.json` + `CHRONOS_*`; PostgreSQL (or SQLite on Windows); `ArchiveModule` then `ProcessingModule` register job handler providers; `JobEngineHost` (renders only managed formats and MP4 jobs no render node can take, BRIEF §14.7); `RenderNodeService`/`RenderNodeMonitor`; `UploadService`; `VolumeSpace` (free space of the archive, the space path and `/data`, file system and mount from `/proc/self/mountinfo`; tests replace it); `EventHub` (WebSocket); embedded admin panel; LAN discovery beacon; Windows service host; `SchedulerHost` with the system schedules `archive-scan` (every 10 minutes, also once at start), `upload-cleanup` (every 30 minutes), `index-backup` (SQLite only, 03:00), `housekeeping` (job history, 04:00) and `audit-cleanup` (04:30), no other timer queues work |
|
||||
| Chronos Uploader | `Uploader/App.xaml.cs` | `ChronosClient`, persisted queue, watch folders; no database |
|
||||
| Chronos Setup | `Setup/Program` | TPK1 payload extraction, registry, shortcuts, file types named in setup's language, silent mode, uninstaller; only what starts a program its log or payload lists is changed: Windows services of those programs stopped once the programs have closed, started again (also after a failure) or deleted through the Service Control Manager (an elevated `/SERVICES … /NAMES` step when needed), sign-in entries of those programs moved to the program an upgrade renamed or removed, shared shortcuts handed to the product that keeps the program; the Server only for all users inside Program Files; "Remove my data" limited to the programs no other installed product uses |
|
||||
|
||||
+2
-2
@@ -124,7 +124,7 @@ from the SVG geometry (no raster assets checked in as sources). Badges only at
|
||||
| `Export.html` | §12.3 / §11.4 | the Export step: step bar with Export current, preset cards with size/time estimate, Output panel, batch, Previous · 8 / 8 · Next sequence |
|
||||
| `Import.html` | §12.4 / §13 | card profile, sessions, plan, verification, after-import actions |
|
||||
| `Archive.html` | §12.5 | tree, mass operations, stats, verify/rebuild, maintenance |
|
||||
| `Jobs.html` | §12.6 | filters, queue order, expandable log, retry/open/folder |
|
||||
| `Jobs.html` | §12.6 | filters, queue order, expandable log, retry/open/folder; a `Queue · Scheduled` segmented control first in the toolbar (owner review 2, R10): Scheduled is a table (on switch, name, action, when, next run, last result, Run now · Edit · Reset or Delete), the selected schedule's last runs under it (Show in queue), New schedule at the toolbar's end and the editor as an in-window dialog; jobs a schedule queued carry an Accent `Scheduled` pill after their target |
|
||||
| `Server.html` | §12.7 / §14 | connection with TOFU fingerprint, account and quota, render node, sync table, conflicts |
|
||||
| `Settings.html` | §12.8 | section list (About last, §12.9), Rendering section, encoder table, self-test |
|
||||
| `Welcome.html` | §12.1 | first run: local archive / adopt folder / connect; consent line; card toast |
|
||||
@@ -134,6 +134,6 @@ from the SVG geometry (no raster assets checked in as sources). Badges only at
|
||||
| `Components.html` | §12.1 | the control kit above, with hex values and state rules |
|
||||
| `Icon.html` | §17 | construction, sizes, variants, wordmark |
|
||||
|
||||
Missing on purpose (build from the brief and this kit): the Settings › About page, Login dialog, the Edit picker
|
||||
Missing on purpose (build from the brief and this kit): the Settings › About page, Login dialog, Jobs › Scheduled and its editor, the Edit picker
|
||||
and the other steps (Analysis, Frames, Motion, Camera, Time, Stack), Import "Show plan",
|
||||
Archive rebuild dialog, the admin Archive/Jobs/Settings/Logs pages. Reuse the shell and the kit; do not invent new colours.
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>بلا نسخ وكيلة</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>لم تُحفظ إعدادات الأرشيف</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>اختيار مجلد الأرشيف</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>إعادة الفحص كل</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>معاينة</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>حجم النسخ الوكيلة</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>إعادة تعيين الأرشيف</value></data>
|
||||
|
||||
@@ -343,7 +343,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>تعمل الآن أو متوقفة مؤقتًا</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>إظهار المجلد في مستكشف الملفات</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>إخفاء السجل</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>تُزال المهام المنتهية الأقدم من ذلك عند بدء تشغيل Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>جلب الصور من بطاقة أو مجلد؛ ثم تظهر هنا عمليات الاستيراد والتحليل والتصيير</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>رفع الأولوية: تعمل قبل المهام ذات الأولوية الأدنى</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>فتح ما عملت عليه هذه المهمة</value></data>
|
||||
@@ -616,7 +615,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>الإصدار، والبنية، والنظام، والترخيص، وشيفرة جهات خارجية</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>الوضع المحمول، والسجلات، والتشخيص، والنسخ الاحتياطي لقاعدة البيانات واستعادتها، وإعادة التعيين</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>عرض التحليل، وحدود الليل والنجوم، والتحليل المعمّق</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>مجلد الأرشيف، وقوالب التسمية، وحجم النسخ الوكيلة والصور المصغرة، وإعادة الفحص</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>أداة فك الترميز التي تعالج كل تنسيق على هذا الكمبيوتر، وروابط تثبيت برامج الترميز</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>اللغة، والسمة، وبدء التشغيل، والإشعارات</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>قواعد الجلسات، والتحقق، والتكرارات، والإجراءات بعد الاستيراد</value></data>
|
||||
@@ -627,7 +625,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>عدد الصور التي تعالجها المهمة الجارية في وقت واحد؛ وتعمل المهام واحدة تلو الأخرى. العدد الأقل يترك مجالًا أكبر للبرامج الأخرى · Enter للتطبيق، Esc للتراجع</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>تلقائي: نصف النوى المنطقية</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>العودة إلى «تلقائي»: نصف النوى المنطقية</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>مدى تكرار إعادة Chronos فحص الأرشيف بحثًا عن تغييرات أُجريت في مكان آخر، كالتي يُجريها خادم يتشاركه</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>مفعّل عند وجود portable.txt بجانب Chronos.exe: تبقى كل البيانات في مجلد البيانات الخاص به</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>استخدام مرمّز عتادي عندما يدعم الإعداد المسبق، وإلا فالمرمّز البرمجي</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>أول ثلاثة أسماء لاستيراد تجريبي بهذه القوالب</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Няма</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Настройките на архива не са записани</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Изберете папката на архива</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Повторно сканиране на всеки</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Визуализация</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Размер на прокси</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Нулиране на архива</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Работят в момента или са на пауза</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Показва папката във файловия мениджър</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Скрива журнала</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Завършените задачи, по-стари от това, се премахват при стартиране на Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Импортира снимки от карта или папка; след това импортиранията, анализите и рендериранията се показват тук</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Повишава приоритета: задачата се изпълнява преди задачите с по-нисък приоритет</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Отваря това, върху което е работила задачата</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Версия, компилация, система, лиценз, код на трети страни</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Преносим режим, журнали, диагностика, резервно копие и възстановяване на базата данни, нулиране</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Ширина за анализ, прагове за нощ и звезди, задълбочен анализ</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Папка на архива, шаблони за имена, размер на прокси и миниатюри, повторни сканирания</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Кой декодер обработва всеки формат на този компютър, връзки за инсталиране на кодеци</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Език, тема, стартиране, известия</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Правила за сесиите, проверка, дубликати, действия след импортиране</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Снимки, които изпълняваната задача обработва наведнъж; задачите се изпълняват една по една. По-малък брой оставя повече ресурси за другите програми · Enter прилага, Esc връща</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Авто: половината от логическите ядра</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Връщане към „Авто“: половината от логическите ядра</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Колко често Chronos сканира отново архива за промени, направени другаде, например от сървър, който го споделя</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Включен, когато portable.txt е до Chronos.exe: всички данни остават в неговата папка с данни</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Използва хардуерен кодер, когато някой поддържа пресета; иначе софтуерен</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Първите три имена от примерно импортиране с тези шаблони</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Žádné</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Nastavení archivu nebylo uloženo</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Vyberte složku archivu</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Interval prohledávání</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Náhled</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Velikost proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Resetovat archiv</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Právě běží nebo jsou pozastavené</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Zobrazí složku v Průzkumníkovi</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Skryje protokol</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Dokončené úlohy starší než tato doba se při spuštění Chronos odstraní</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Importuje fotografie z karty nebo složky; importy, analýzy a rendery se pak zobrazí zde</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Zvýší prioritu: úloha poběží před úlohami s nižší prioritou</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Otevře to, na čem úloha pracovala</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Verze, sestavení, systém, licence, kód třetích stran</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Přenosný režim, protokoly, diagnostika, záloha a obnovení databáze, resetování</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Šířka analýzy, prahy noci a hvězd, hloubková analýza</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Složka archivu, šablony pojmenování, velikost proxy a miniatur, opakované prohledávání</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Který dekodér zpracovává jednotlivé formáty v tomto počítači, odkazy na instalaci kodeků</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jazyk, motiv, spuštění, oznámení</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Pravidla úseků, ověření, duplikáty, akce po importu</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Počet fotografií, které běžící úloha zpracovává najednou; úlohy běží jedna po druhé. Menší počet ponechá více prostoru jiným programům · Enter použije, Esc vrátí zpět</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: polovina logických jader</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Zpět na Auto: polovina logických jader</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Jak často Chronos znovu prohledává archiv kvůli změnám provedeným jinde, například serverem, který ho sdílí</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Zapnuto, když vedle souboru Chronos.exe leží portable.txt: všechna data zůstávají v jeho datové složce</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Použije hardwarový kodér, pokud předvolbu podporuje; jinak softwarový</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>První tři názvy ukázkového importu s těmito šablonami</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Ingen</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Arkivindstillingerne blev ikke gemt</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Vælg arkivmappen</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Scanningsinterval</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Forhåndsvisning</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxystørrelse</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Nulstil arkiv</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Arbejder nu eller er sat på pause</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Vis mappen i Stifinder</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Skjul loggen</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Færdige job, der er ældre end dette, fjernes, når Chronos starter</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Hent fotos ind fra et kort eller en mappe; importer, analyser og renderinger vises derefter her</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Hæv prioriteten: jobbet kører før job med lavere prioritet</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Åbn det, som dette job arbejdede på</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Version, build, system, licens, tredjepartskode</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabel tilstand, logge, diagnosticering, sikkerhedskopiering og gendannelse af databasen, nulstilling</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analysebredde, tærskler for nat og stjerner, dybdeanalyse</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkivmappe, navneskabeloner, proxy- og miniaturestørrelse, scanningsinterval</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Hvilken dekoder der læser hvert format på denne pc, links til installation af codecs</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Sprog, tema, opstart, meddelelser</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Sessionsregler, verificering, dubletter, handlinger efter import</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotos, som det kørende job behandler samtidig; job kører ét ad gangen. Færre giver mere plads til andre programmer · Enter anvender, Esc fortryder</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: halvdelen af de logiske kerner</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Tilbage til Auto: halvdelen af de logiske kerner</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Hvor ofte Chronos scanner arkivet igen for ændringer foretaget andre steder, f.eks. af en server, der deler det</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Til, når portable.txt ligger ved siden af Chronos.exe: alle data bliver i programmets datamappe</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Brug en hardwareencoder, når en understøtter forudindstillingen; ellers software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>De tre første navne fra en prøveimport med disse skabeloner</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Keine</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Die Archiveinstellungen wurden nicht gespeichert</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Archivordner auswählen</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Erneut scannen alle</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Vorschau</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxygröße</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Archiv zurücksetzen</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Laufen gerade oder sind angehalten</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Ordner im Explorer anzeigen</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Protokoll ausblenden</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Abgeschlossene Aufträge, die älter sind, werden beim Start von Chronos entfernt</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Fotos von einer Karte oder aus einem Ordner importieren; Importe, Analysen und Renderings erscheinen dann hier</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Priorität erhöhen: Der Auftrag läuft vor Aufträgen mit niedrigerer Priorität</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Öffnen, woran dieser Auftrag gearbeitet hat</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Version, Build, System, Lizenz, Code von Drittanbietern</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabler Modus, Protokolle, Diagnose, Sicherung und Wiederherstellung der Datenbank, Zurücksetzen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analysebreite, Schwellenwerte für Nacht und Sterne, Tiefenanalyse</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archivordner, Namensvorlagen, Proxy- und Miniaturgröße, erneutes Scannen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Welcher Decoder jedes Format auf diesem PC verarbeitet, Links zur Codec-Installation</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Sprache, Design, Start, Benachrichtigungen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Sitzungsregeln, Prüfung, Duplikate, Aktionen nach dem Import</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotos, die der laufende Auftrag gleichzeitig verarbeitet; Aufträge laufen nacheinander. Weniger lassen anderen Programmen mehr Raum · Enter übernimmt, Esc macht rückgängig</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: die Hälfte der logischen Kerne</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Zurück zu Auto: die Hälfte der logischen Kerne</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Wie oft Chronos das Archiv erneut nach Änderungen scannt, die anderswo vorgenommen wurden, etwa von einem Server, der es mitbenutzt</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Aktiv, wenn portable.txt neben Chronos.exe liegt: Alle Daten bleiben im Datenordner daneben</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Einen Hardware-Encoder verwenden, wenn einer die Vorgabe unterstützt, sonst Software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Die ersten drei Namen eines Beispielimports mit diesen Vorlagen</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Κανένα</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Οι ρυθμίσεις της αρχειοθήκης δεν αποθηκεύτηκαν</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Επιλέξτε τον φάκελο της αρχειοθήκης</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Νέα σάρωση κάθε</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Προεπισκόπηση</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Μέγεθος proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Επαναφορά ρυθμίσεων</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Εκτελούνται τώρα ή είναι σε παύση</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Εμφάνιση του φακέλου στην Εξερεύνηση αρχείων</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Απόκρυψη της καταγραφής</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Οι ολοκληρωμένες εργασίες που είναι παλαιότερες από αυτό το διάστημα καταργούνται κατά την εκκίνηση του Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Εισαγωγή φωτογραφιών από κάρτα ή φάκελο. Οι εισαγωγές, οι αναλύσεις και οι αποδόσεις εμφανίζονται στη συνέχεια εδώ</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Αύξηση της προτεραιότητας: εκτελείται πριν από εργασίες χαμηλότερης προτεραιότητας</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Άνοιγμα του αντικειμένου αυτής της εργασίας</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Έκδοση, δομή, σύστημα, άδεια χρήσης, κώδικας τρίτων</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Φορητή λειτουργία, αρχεία καταγραφής, διαγνωστικά, αντίγραφο ασφαλείας και επαναφορά της βάσης δεδομένων, προεπιλογές</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Πλάτος ανάλυσης, όρια νύχτας και αστεριών, ανάλυση σε βάθος</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Φάκελος αρχειοθήκης, πρότυπα ονοματοδοσίας, μέγεθος proxy και μικρογραφιών, νέες σαρώσεις</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Ποιος αποκωδικοποιητής χειρίζεται κάθε μορφή σε αυτόν τον υπολογιστή, σύνδεσμοι εγκατάστασης codec</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Γλώσσα, θέμα, εκκίνηση, ειδοποιήσεις</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Κανόνες συνεδριών, επαλήθευση, διπλότυπα, ενέργειες μετά την εισαγωγή</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Φωτογραφίες που επεξεργάζεται ταυτόχρονα η εργασία σε εκτέλεση. Οι εργασίες εκτελούνται μία τη φορά. Λιγότερες αφήνουν περισσότερο χώρο σε άλλα προγράμματα · Enter για εφαρμογή, Esc για αναίρεση</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Αυτόματο: οι μισοί λογικοί πυρήνες</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Επαναφορά σε Αυτόματο: οι μισοί λογικοί πυρήνες</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Πόσο συχνά το Chronos σαρώνει ξανά την αρχειοθήκη για αλλαγές που έγιναν αλλού, για παράδειγμα από έναν διακομιστή που τη μοιράζεται</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Ενεργή όταν το portable.txt βρίσκεται δίπλα στο Chronos.exe: όλα τα δεδομένα μένουν στον φάκελο δεδομένων του</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Χρήση κωδικοποιητή υλικού όταν κάποιος υποστηρίζει την προρύθμιση, διαφορετικά κωδικοποιητή λογισμικού</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Τα τρία πρώτα ονόματα μιας δοκιμαστικής εισαγωγής με αυτά τα πρότυπα</value></data>
|
||||
|
||||
@@ -24,6 +24,39 @@
|
||||
<data name="Jobs.Column.Target" xml:space="preserve"><value>Target</value></data>
|
||||
<data name="Jobs.Column.Where" xml:space="preserve"><value>Where</value></data>
|
||||
<data name="Jobs.Counter" xml:space="preserve"><value>{0} / {1}</value></data>
|
||||
<data name="Jobs.Editor.Action" xml:space="preserve"><value>Action</value></data>
|
||||
<data name="Jobs.Editor.CatchUp" xml:space="preserve"><value>Catch up</value></data>
|
||||
<data name="Jobs.Editor.Daily" xml:space="preserve"><value>Daily</value></data>
|
||||
<data name="Jobs.Editor.DayOfMonth" xml:space="preserve"><value>Day of month</value></data>
|
||||
<data name="Jobs.Editor.Days" xml:space="preserve"><value>Days</value></data>
|
||||
<data name="Jobs.Editor.DaysUnit" xml:space="preserve"><value>days</value></data>
|
||||
<data name="Jobs.Editor.Deep" xml:space="preserve"><value>Deep analysis</value></data>
|
||||
<data name="Jobs.Editor.DryRun" xml:space="preserve"><value>Report only</value></data>
|
||||
<data name="Jobs.Editor.Enabled" xml:space="preserve"><value>On</value></data>
|
||||
<data name="Jobs.Editor.Every" xml:space="preserve"><value>Every</value></data>
|
||||
<data name="Jobs.Editor.FullScan" xml:space="preserve"><value>Full scan</value></data>
|
||||
<data name="Jobs.Editor.Heading" xml:space="preserve"><value>Edit {0}</value><comment>long</comment></data>
|
||||
<data name="Jobs.Editor.Interval" xml:space="preserve"><value>Interval</value></data>
|
||||
<data name="Jobs.Editor.Keep" xml:space="preserve"><value>Copies kept</value></data>
|
||||
<data name="Jobs.Editor.Monthly" xml:space="preserve"><value>Monthly</value></data>
|
||||
<data name="Jobs.Editor.Name" xml:space="preserve"><value>Name</value></data>
|
||||
<data name="Jobs.Editor.OlderThan" xml:space="preserve"><value>Older than</value></data>
|
||||
<data name="Jobs.Editor.Percent" xml:space="preserve"><value>At most</value></data>
|
||||
<data name="Jobs.Editor.PercentUnit" xml:space="preserve"><value>% of sequences</value></data>
|
||||
<data name="Jobs.Editor.Priority" xml:space="preserve"><value>Priority</value></data>
|
||||
<data name="Jobs.Editor.RebuildAll" xml:space="preserve"><value>Rebuild all</value></data>
|
||||
<data name="Jobs.Editor.Refused" xml:space="preserve"><value>Not accepted</value></data>
|
||||
<data name="Jobs.Editor.Repeat" xml:space="preserve"><value>Repeat</value></data>
|
||||
<data name="Jobs.Editor.Save" xml:space="preserve"><value>Save</value></data>
|
||||
<data name="Jobs.Editor.SaveFailed" xml:space="preserve"><value>Not saved</value></data>
|
||||
<data name="Jobs.Editor.Steps" xml:space="preserve"><value>Steps</value></data>
|
||||
<data name="Jobs.Editor.Time" xml:space="preserve"><value>Time</value></data>
|
||||
<data name="Jobs.Editor.Unit" xml:space="preserve"><value>Unit</value></data>
|
||||
<data name="Jobs.Editor.Unit.Days" xml:space="preserve"><value>days</value></data>
|
||||
<data name="Jobs.Editor.Unit.Hours" xml:space="preserve"><value>hours</value></data>
|
||||
<data name="Jobs.Editor.Unit.Minutes" xml:space="preserve"><value>minutes</value></data>
|
||||
<data name="Jobs.Editor.Unverified" xml:space="preserve"><value>Unverified for</value></data>
|
||||
<data name="Jobs.Editor.Weekly" xml:space="preserve"><value>Weekly</value></data>
|
||||
<data name="Jobs.Empty" xml:space="preserve"><value>No jobs yet</value></data>
|
||||
<data name="Jobs.Filter.All" xml:space="preserve"><value>All · {0}</value></data>
|
||||
<data name="Jobs.Filter.Done" xml:space="preserve"><value>Done · {0}</value></data>
|
||||
@@ -32,6 +65,7 @@
|
||||
<data name="Jobs.Filter.Running" xml:space="preserve"><value>Running · {0}</value></data>
|
||||
<data name="Jobs.History.one" xml:space="preserve"><value>History keeps {0} day</value></data>
|
||||
<data name="Jobs.History.other" xml:space="preserve"><value>History keeps {0} days</value></data>
|
||||
<data name="Jobs.HistoryKept" xml:space="preserve"><value>Full history kept</value></data>
|
||||
<data name="Jobs.Kind.Adopt" xml:space="preserve"><value>Adopt folder</value></data>
|
||||
<data name="Jobs.Kind.Backup" xml:space="preserve"><value>Index backup</value></data>
|
||||
<data name="Jobs.Kind.Cleanup" xml:space="preserve"><value>Clean-up</value></data>
|
||||
@@ -53,6 +87,9 @@
|
||||
<data name="Jobs.Left.After" xml:space="preserve"><value>after {0}</value></data>
|
||||
<data name="Jobs.Left.Next" xml:space="preserve"><value>next</value></data>
|
||||
<data name="Jobs.Line.Yielded" xml:space="preserve"><value>Paused for a higher-priority job ({0}); resumes by itself</value><comment>long: job log line</comment></data>
|
||||
<data name="Jobs.Log.CacheKept" xml:space="preserve"><value>Cache: {0} of {1} used, nothing to free</value><comment>long</comment></data>
|
||||
<data name="Jobs.Log.CacheNotOwned" xml:space="preserve"><value>Cache not trimmed: the folder is not a Chronos cache folder</value><comment>long</comment></data>
|
||||
<data name="Jobs.Log.CacheTrimmed" xml:space="preserve"><value>Cache trimmed: {0} of {1} used, freed: {2}</value><comment>long</comment></data>
|
||||
<data name="Jobs.Log.Empty" xml:space="preserve"><value>No log lines yet</value></data>
|
||||
<data name="Jobs.Log.Hide" xml:space="preserve"><value>Hide log</value></data>
|
||||
<data name="Jobs.Log.Show" xml:space="preserve"><value>Show log</value></data>
|
||||
@@ -63,6 +100,73 @@
|
||||
<data name="Jobs.RenderingSettings" xml:space="preserve"><value>Rendering settings</value></data>
|
||||
<data name="Jobs.Row.Name" xml:space="preserve"><value>{0} · {1}</value></data>
|
||||
<data name="Jobs.Row.State" xml:space="preserve"><value>{0}: {1}</value><comment>invariant</comment></data>
|
||||
<data name="Jobs.Schedule.Action.Analysis" xml:space="preserve"><value>Analysis</value></data>
|
||||
<data name="Jobs.Schedule.Action.Backup" xml:space="preserve"><value>Index backup</value></data>
|
||||
<data name="Jobs.Schedule.Action.Cleanup" xml:space="preserve"><value>Clean-up</value></data>
|
||||
<data name="Jobs.Schedule.Action.Duplicates" xml:space="preserve"><value>Duplicates report</value></data>
|
||||
<data name="Jobs.Schedule.Action.Maintenance" xml:space="preserve"><value>Maintenance</value></data>
|
||||
<data name="Jobs.Schedule.Action.Orphans" xml:space="preserve"><value>Orphans report</value></data>
|
||||
<data name="Jobs.Schedule.Action.Proxies" xml:space="preserve"><value>Proxies</value></data>
|
||||
<data name="Jobs.Schedule.Action.Scan" xml:space="preserve"><value>Archive scan</value></data>
|
||||
<data name="Jobs.Schedule.Action.Thumbnails" xml:space="preserve"><value>Thumbnails</value></data>
|
||||
<data name="Jobs.Schedule.Action.Verify" xml:space="preserve"><value>Integrity check</value></data>
|
||||
<data name="Jobs.Schedule.Column.Action" xml:space="preserve"><value>Action</value></data>
|
||||
<data name="Jobs.Schedule.Column.Last" xml:space="preserve"><value>Last result</value></data>
|
||||
<data name="Jobs.Schedule.Column.Name" xml:space="preserve"><value>Name</value></data>
|
||||
<data name="Jobs.Schedule.Column.Next" xml:space="preserve"><value>Next run</value></data>
|
||||
<data name="Jobs.Schedule.Column.On" xml:space="preserve"><value>On</value></data>
|
||||
<data name="Jobs.Schedule.Column.When" xml:space="preserve"><value>When</value></data>
|
||||
<data name="Jobs.Schedule.DayList" xml:space="preserve"><value>{0}, {1}</value></data>
|
||||
<data name="Jobs.Schedule.Delete" xml:space="preserve"><value>Delete</value></data>
|
||||
<data name="Jobs.Schedule.DeleteHeading" xml:space="preserve"><value>Delete {0}?</value><comment>long</comment></data>
|
||||
<data name="Jobs.Schedule.DeleteMessage" xml:space="preserve"><value>The schedule stops for good; the jobs it queued stay in the history.</value><comment>long</comment></data>
|
||||
<data name="Jobs.Schedule.Edit" xml:space="preserve"><value>Edit</value></data>
|
||||
<data name="Jobs.Schedule.Enabled" xml:space="preserve"><value>On</value></data>
|
||||
<data name="Jobs.Schedule.Failed" xml:space="preserve"><value>Schedule not changed</value></data>
|
||||
<data name="Jobs.Schedule.JobHidden" xml:space="preserve"><value>Job hidden</value></data>
|
||||
<data name="Jobs.Schedule.Keep" xml:space="preserve"><value>Keep</value></data>
|
||||
<data name="Jobs.Schedule.LastRun" xml:space="preserve"><value>Last run {0}</value></data>
|
||||
<data name="Jobs.Schedule.New" xml:space="preserve"><value>New schedule</value></data>
|
||||
<data name="Jobs.Schedule.NoRuns" xml:space="preserve"><value>No runs yet</value></data>
|
||||
<data name="Jobs.Schedule.NotRunning" xml:space="preserve"><value>Schedules not running</value></data>
|
||||
<data name="Jobs.Schedule.Off" xml:space="preserve"><value>Off</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Failed" xml:space="preserve"><value>failed</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Never" xml:space="preserve"><value>never run</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Queued" xml:space="preserve"><value>queued</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.SkippedNothing" xml:space="preserve"><value>nothing to do</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.SkippedOffline" xml:space="preserve"><value>skipped: offline</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.SkippedPending" xml:space="preserve"><value>skipped: busy</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Unavailable" xml:space="preserve"><value>not available</value></data>
|
||||
<data name="Jobs.Schedule.Priority.Background" xml:space="preserve"><value>Background</value></data>
|
||||
<data name="Jobs.Schedule.Priority.Normal" xml:space="preserve"><value>Normal</value></data>
|
||||
<data name="Jobs.Schedule.Priority.User" xml:space="preserve"><value>High</value></data>
|
||||
<data name="Jobs.Schedule.Reset" xml:space="preserve"><value>Reset</value></data>
|
||||
<data name="Jobs.Schedule.ResetHeading" xml:space="preserve"><value>Reset {0}?</value><comment>long</comment></data>
|
||||
<data name="Jobs.Schedule.ResetMessage" xml:space="preserve"><value>Its recurrence, parameters and options go back to the defaults of this PC; its history stays.</value><comment>long</comment></data>
|
||||
<data name="Jobs.Schedule.RunNow" xml:space="preserve"><value>Run now</value></data>
|
||||
<data name="Jobs.Schedule.Runs" xml:space="preserve"><value>Last runs</value></data>
|
||||
<data name="Jobs.Schedule.ShowJob" xml:space="preserve"><value>Show in queue</value></data>
|
||||
<data name="Jobs.Schedule.Step.Audit" xml:space="preserve"><value>Audit log</value></data>
|
||||
<data name="Jobs.Schedule.Step.CacheTrim" xml:space="preserve"><value>Cache trim</value></data>
|
||||
<data name="Jobs.Schedule.Step.JobHistory" xml:space="preserve"><value>Job history</value></data>
|
||||
<data name="Jobs.Schedule.Step.TrashReport" xml:space="preserve"><value>Trash report</value></data>
|
||||
<data name="Jobs.Schedule.System.ArchiveScan" xml:space="preserve"><value>Archive scan</value></data>
|
||||
<data name="Jobs.Schedule.System.Housekeeping" xml:space="preserve"><value>Housekeeping</value></data>
|
||||
<data name="Jobs.Schedule.System.IndexBackup" xml:space="preserve"><value>Index backup</value></data>
|
||||
<data name="Jobs.Schedule.Today" xml:space="preserve"><value>Today {0}</value></data>
|
||||
<data name="Jobs.Schedule.Tomorrow" xml:space="preserve"><value>Tomorrow {0}</value></data>
|
||||
<data name="Jobs.Schedule.When.Daily" xml:space="preserve"><value>Daily at {0}</value></data>
|
||||
<data name="Jobs.Schedule.When.Days.one" xml:space="preserve"><value>Every day</value></data>
|
||||
<data name="Jobs.Schedule.When.Days.other" xml:space="preserve"><value>Every {0} days</value></data>
|
||||
<data name="Jobs.Schedule.When.Hours.one" xml:space="preserve"><value>Every hour</value></data>
|
||||
<data name="Jobs.Schedule.When.Hours.other" xml:space="preserve"><value>Every {0} hours</value></data>
|
||||
<data name="Jobs.Schedule.When.Invalid" xml:space="preserve"><value>Invalid recurrence</value></data>
|
||||
<data name="Jobs.Schedule.When.Minutes.one" xml:space="preserve"><value>Every {0} minute</value></data>
|
||||
<data name="Jobs.Schedule.When.Minutes.other" xml:space="preserve"><value>Every {0} minutes</value></data>
|
||||
<data name="Jobs.Schedule.When.Monthly" xml:space="preserve"><value>Monthly, day {0} at {1}</value></data>
|
||||
<data name="Jobs.Schedule.When.Weekly" xml:space="preserve"><value>{0} at {1}</value></data>
|
||||
<data name="Jobs.Schedule.Yesterday" xml:space="preserve"><value>Yesterday {0}</value></data>
|
||||
<data name="Jobs.Scheduled" xml:space="preserve"><value>Scheduled</value></data>
|
||||
<data name="Jobs.Search" xml:space="preserve"><value>Search target or kind</value></data>
|
||||
<data name="Jobs.Speed.Fps" xml:space="preserve"><value>{0} fps</value></data>
|
||||
<data name="Jobs.Speed.PerSecond" xml:space="preserve"><value>{0}/s</value></data>
|
||||
@@ -74,6 +178,9 @@
|
||||
<data name="Jobs.State.Queued" xml:space="preserve"><value>queued</value></data>
|
||||
<data name="Jobs.State.Running" xml:space="preserve"><value>running</value></data>
|
||||
<data name="Jobs.State.WithDetail" xml:space="preserve"><value>{0} · {1}</value></data>
|
||||
<data name="Jobs.Tab.Name" xml:space="preserve"><value>Jobs view</value></data>
|
||||
<data name="Jobs.Tab.Queue" xml:space="preserve"><value>Queue</value></data>
|
||||
<data name="Jobs.Tab.Scheduled" xml:space="preserve"><value>Scheduled</value></data>
|
||||
<data name="Jobs.Target.Render" xml:space="preserve"><value>{0} → {1}</value><comment>invariant; {0} sequence title; {1} export preset</comment></data>
|
||||
<data name="Jobs.Target.RenderRtl" xml:space="preserve"><value>{0} ← {1}</value><comment>invariant; right-to-left languages: the arrow points from the sequence to the preset</comment></data>
|
||||
<data name="Jobs.Where.ThisPc" xml:space="preserve"><value>this PC</value></data>
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>None</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>The archive settings were not saved</value><comment>long</comment></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Choose the archive folder</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Rescan every</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Preview</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxy size</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Reset archive</value></data>
|
||||
|
||||
+86
-3
@@ -333,6 +333,40 @@
|
||||
<data name="Tooltips.Import.WholeFolder" xml:space="preserve"><value>One sequence per file format for the whole folder, subfolders included when scanned; cameras and pauses are ignored</value></data>
|
||||
<data name="Tooltips.Jobs.Cancel" xml:space="preserve"><value>Stop this job; Retry continues later from its last checkpoint</value></data>
|
||||
<data name="Tooltips.Jobs.ClearDone" xml:space="preserve"><value>Hide finished jobs from the list; they stay in the history</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Cancel" xml:space="preserve"><value>Close without saving</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.CatchUp" xml:space="preserve"><value>A run missed while Chronos was closed happens once when it starts</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Create" xml:space="preserve"><value>Create the schedule</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DayOfMonth" xml:space="preserve"><value>Day 1 to 28, which every month has</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DeepAfterScan" xml:space="preserve"><value>Sequences the scan indexes also get a deep analysis</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DeepAnalysis" xml:space="preserve"><value>A deep analysis of the sequences without one, instead of a light one</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DryRun" xml:space="preserve"><value>Lists what the maintenance would do without changing anything</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Enabled" xml:space="preserve"><value>Off, the schedule never runs by itself</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Every" xml:space="preserve"><value>How many minutes (5 to 1,440), hours (1 to 168) or days (1 to 366)</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.FullScan" xml:space="preserve"><value>Reads every file again, not only those whose date or size changed</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Keep" xml:space="preserve"><value>How many copies of the index are kept; older ones are deleted</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindDaily" xml:space="preserve"><value>Every day at a time</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindEvery" xml:space="preserve"><value>At a fixed interval: every n minutes, hours or days</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindMonthly" xml:space="preserve"><value>On one day of the month at a time</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindWeekly" xml:space="preserve"><value>On some days of the week at a time</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Name" xml:space="preserve"><value>Shown in the list of schedules</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NameLong" xml:space="preserve"><value>At most {0} characters</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NameMissing" xml:space="preserve"><value>Give the schedule a name</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NoDays" xml:space="preserve"><value>Choose at least one day</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NoSteps" xml:space="preserve"><value>Choose at least one step</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Number" xml:space="preserve"><value>A whole number from {0} to {1}</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.OlderThan" xml:space="preserve"><value>Removes entries older than this many days; 0 keeps everything</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Percent" xml:space="preserve"><value>At most this share of the archive's sequences per run, the least recently verified first</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Priority" xml:space="preserve"><value>Background jobs wait for the others; High ones run before normal ones</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.RebuildAll" xml:space="preserve"><value>Makes them again for every sequence, not only those without</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Refused" xml:space="preserve"><value>Chronos did not accept this schedule (field {0})</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Save" xml:space="preserve"><value>Save the changes</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.SystemAction" xml:space="preserve"><value>A system schedule keeps its action</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.SystemName" xml:space="preserve"><value>A system schedule keeps its name</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Time" xml:space="preserve"><value>Time of day on this PC's clock, as hours and minutes (03:00)</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.TimeInvalid" xml:space="preserve"><value>A time of day as hours and minutes, such as 03:00</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Unit" xml:space="preserve"><value>Minutes, hours or days</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Unverified" xml:space="preserve"><value>Only sequences not verified for this many days; 0 checks any</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.When" xml:space="preserve"><value>When it runs, as the list shows it</value></data>
|
||||
<data name="Tooltips.Jobs.Filter.All" xml:space="preserve"><value>Every job</value></data>
|
||||
<data name="Tooltips.Jobs.Filter.Done" xml:space="preserve"><value>Finished jobs</value></data>
|
||||
<data name="Tooltips.Jobs.Filter.Failed" xml:space="preserve"><value>Stopped with an error or cancelled</value></data>
|
||||
@@ -340,7 +374,7 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Working now or paused</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Show the folder in Explorer</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Hide the log</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Finished jobs older than this are removed when Chronos starts</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Finished jobs older than this are removed by the Housekeeping schedule (Scheduled tab)</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Bring photos in from a card or a folder; imports, analyses and renders then show up here</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Raise the priority: it runs before jobs of lower priority</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Open what this job worked on</value></data>
|
||||
@@ -353,6 +387,54 @@
|
||||
<data name="Tooltips.Jobs.RenderingSettings" xml:space="preserve"><value>Parallelism, hardware preference, memory budget</value></data>
|
||||
<data name="Tooltips.Jobs.Resume" xml:space="preserve"><value>Put the job back in the queue; it continues from its checkpoint</value></data>
|
||||
<data name="Tooltips.Jobs.Retry" xml:space="preserve"><value>Run again from the last checkpoint</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Analysis" xml:space="preserve"><value>Analyses the sequences without a current analysis</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Backup" xml:space="preserve"><value>Copies the index into the backups folder and keeps the newest copies</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Cleanup" xml:space="preserve"><value>Removes what Chronos no longer needs, such as old job history; never your photos</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Duplicates" xml:space="preserve"><value>Lists the duplicate photos in the job log</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Maintenance" xml:space="preserve"><value>Runs the archive maintenance; Report only lists what it would do</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Orphans" xml:space="preserve"><value>Lists in the job log where the index and the disk disagree</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Proxies" xml:space="preserve"><value>Makes the proxies of the sequences without them</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Scan" xml:space="preserve"><value>Incremental scan of the archive for changes made elsewhere</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Thumbnails" xml:space="preserve"><value>Makes the thumbnails of the sequences without them</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Verify" xml:space="preserve"><value>Checks the hashes of the originals, the least recently verified first</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.CatchUpOff" xml:space="preserve"><value>A run missed while Chronos was closed is skipped</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.CatchUpOn" xml:space="preserve"><value>A run missed while Chronos was closed happens when it starts</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Delete" xml:space="preserve"><value>Delete this schedule; the jobs it queued stay in the history</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Edit" xml:space="preserve"><value>Change when it runs and its options</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.EnabledOff" xml:space="preserve"><value>Off: it never runs by itself · click to turn it on</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.EnabledOn" xml:space="preserve"><value>On: it runs by itself · click to turn it off (Run now still works)</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.JobHidden" xml:space="preserve"><value>Clear done hides it from the queue; it stays in the history</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Keep" xml:space="preserve"><value>Keep the schedule</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.KeepEdits" xml:space="preserve"><value>Keep your changes</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.New" xml:space="preserve"><value>Create a schedule: an action, when it runs and its options</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Next" xml:space="preserve"><value>Next run {0}</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.NextOff" xml:space="preserve"><value>Off: it runs only with Run now</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.NextPending" xml:space="preserve"><value>The next run is computed at the next check</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.NotRunning" xml:space="preserve"><value>Schedules run once the index is open; the log says why they did not start</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Failed" xml:space="preserve"><value>The run could not queue its jobs: {0}</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Never" xml:space="preserve"><value>Not run yet</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Queued" xml:space="preserve"><value>Its jobs were queued</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.SkippedNothing" xml:space="preserve"><value>Nothing was left to do</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.SkippedOffline" xml:space="preserve"><value>Skipped: the archive was offline, unplugged or read-only</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.SkippedPending" xml:space="preserve"><value>Skipped: the previous run, or the same work, was still waiting or running</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Unavailable" xml:space="preserve"><value>This PC cannot run this action</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.PriorityIs" xml:space="preserve"><value>Its jobs run at priority {0}</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Reset" xml:space="preserve"><value>Put this schedule back to the defaults of this PC; asks first</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.RunNow" xml:space="preserve"><value>Run it once now, as its next run would; the next run stays as it is</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.RunWhen" xml:space="preserve"><value>When the run queued the job</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Runs" xml:space="preserve"><value>The jobs this schedule queued, newest first</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.ShowJob" xml:space="preserve"><value>Show this job in the queue with its log</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.Audit" xml:space="preserve"><value>Removes audit entries older than the limit</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.CacheTrim" xml:space="preserve"><value>Trims the cache to Settings › Storage › Cache limit, oldest files first</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.JobHistory" xml:space="preserve"><value>Removes finished jobs older than the limit</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.TrashReport" xml:space="preserve"><value>Lists trash entries older than the limit; nothing is deleted</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.System" xml:space="preserve"><value>{0} is one of this PC's own schedules: it can be edited, turned off or reset, not deleted</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.NoHandler" xml:space="preserve"><value>This PC has no worker for this action</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.NoIndexFile" xml:space="preserve"><value>The index has no file to copy</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.Other" xml:space="preserve"><value>Not available on this PC</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.Postgres" xml:space="preserve"><value>The index is on PostgreSQL, which its own tools back up</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.ProxiesDisabled" xml:space="preserve"><value>The archive makes no proxies (Settings › Archive › Proxies)</value></data>
|
||||
<data name="Tooltips.Jobs.Scheduled" xml:space="preserve"><value>Queued by a schedule (Scheduled tab)</value></data>
|
||||
<data name="Tooltips.Jobs.Search" xml:space="preserve"><value>Filter by target or kind as you type</value></data>
|
||||
<data name="Tooltips.Jobs.Show" xml:space="preserve"><value>Open what this job worked on to see the problem</value></data>
|
||||
<data name="Tooltips.Jobs.ShowLog" xml:space="preserve"><value>Show the last lines of the log</value></data>
|
||||
@@ -362,6 +444,8 @@
|
||||
<data name="Tooltips.Jobs.State.Paused" xml:space="preserve"><value>Resume continues from the checkpoint</value></data>
|
||||
<data name="Tooltips.Jobs.State.Queued" xml:space="preserve"><value>Waits for its turn on this PC</value></data>
|
||||
<data name="Tooltips.Jobs.State.Running" xml:space="preserve"><value>Progress is saved at each checkpoint</value></data>
|
||||
<data name="Tooltips.Jobs.Tab.Queue" xml:space="preserve"><value>Jobs waiting, running and finished</value></data>
|
||||
<data name="Tooltips.Jobs.Tab.Scheduled" xml:space="preserve"><value>Recurring jobs this PC queues by itself: scans, backups, checks and clean-ups</value></data>
|
||||
<data name="Tooltips.Library.Adopt" xml:space="preserve"><value>Index photos you already have, in place; choose their top folder</value></data>
|
||||
<data name="Tooltips.Library.Analyse" xml:space="preserve"><value>Deep analysis of every frame · runs as a job in the background</value></data>
|
||||
<data name="Tooltips.Library.AnalyseAll" xml:space="preserve"><value>Deep analysis of the selected sequences · runs as one job</value></data>
|
||||
@@ -586,7 +670,7 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Version, build, system, licence, third-party code</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portable mode, logs, diagnostics, database backup and restore, reset</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analysis width, night and star thresholds, deep analysis</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archive folder, naming templates, proxy and thumbnail size, rescans</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archive folder, naming templates, proxy and thumbnail size</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Which decoder handles each format on this PC, codec install links</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Language, theme, startup, notifications</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Session rules, verification, duplicates, after-import actions</value></data>
|
||||
@@ -598,7 +682,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Photos the running job processes at once; jobs run one at a time. Fewer leave more room to other programs · Enter applies, Esc reverts</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: half the logical cores</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Back to Auto: half the logical cores</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>How often Chronos rescans the archive for changes made elsewhere, such as by a server sharing it</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>On when portable.txt sits next to Chronos.exe: all data stays in its data folder</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Use a hardware encoder when one supports the preset; software otherwise</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>First three names of a sample import with these templates</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Ninguno</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>No se guardó la configuración de la fototeca</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Elegir la carpeta de la fototeca</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Volver a escanear cada</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Vista previa</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Tamaño de proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Restablecer fototeca</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>En ejecución ahora o en pausa</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Muestra la carpeta en el Explorador</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Oculta el registro</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Las tareas terminadas más antiguas que esto se eliminan al iniciar Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Importa fotos de una tarjeta o una carpeta; las importaciones, los análisis y los renderizados aparecerán aquí</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Sube la prioridad: se ejecuta antes que las tareas de menor prioridad</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Abre aquello en lo que trabajó esta tarea</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versión, compilación, sistema, licencia, código de terceros</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modo portátil, registros, diagnóstico, copia de seguridad y restauración de la base de datos, restablecimiento</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Ancho de análisis, umbrales de noche y de estrellas, análisis profundo</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Carpeta de la fototeca, plantillas de nombres, tamaño de proxy y de miniatura, escaneos periódicos</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Qué decodificador lee cada formato en este equipo, enlaces para instalar códecs</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Idioma, tema, inicio, notificaciones</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Reglas de sesión, verificación, duplicados, acciones tras la importación</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotos que la tarea en curso procesa a la vez; las tareas se ejecutan de una en una. Cuantas menos, más margen queda para otros programas · Enter aplica, Esc revierte</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: la mitad de los núcleos lógicos</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Volver a Auto: la mitad de los núcleos lógicos</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Con qué frecuencia Chronos vuelve a escanear la fototeca en busca de cambios hechos en otro lugar, por ejemplo por un servidor que la comparte</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Activado cuando portable.txt está junto a Chronos.exe: todos los datos se quedan en su carpeta de datos</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Usa un codificador por hardware cuando alguno admite el preajuste; si no, por software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Primeros tres nombres de una importación de ejemplo con estas plantillas</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Proksideta</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Arhiivi sätteid ei salvestatud</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Vali arhiivikaust</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Uuesti skannimise intervall</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Eelvaade</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proksi suurus</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Lähtesta arhiivi sätted</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Praegu töös või peatatud</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Kuvage kaust failihalduris</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Peitke logi</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Sellest vanemad lõpetatud tööd eemaldatakse Chronose käivitumisel</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Tooge fotod kaardilt või kaustast; impordid, analüüsid ja renderdused ilmuvad seejärel siia</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Tõstke prioriteeti: töö käivitub enne madalama prioriteediga töid</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Avage see, millega töö tegeles</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versioon, järk, süsteem, litsents, kolmanda osapoole kood</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Kaasaskantav režiim, logid, diagnostika, andmebaasi varundamine ja taastamine, lähtestamine</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analüüsi laius, öö- ja tähelävendid, süvaanalüüs</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arhiivikaust, nimemallid, prokside ja pisipiltide suurus, uuesti skannimine</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Milline dekodeerija käsitleb selles arvutis iga vormingut, koodekite installilingid</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Keel, kujundus, käivitus, teatised</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Seansireeglid, kontrollimine, duplikaadid, toimingud pärast importimist</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotod, mida käimasolev töö korraga töötleb; tööd käivad ükshaaval. Väiksem arv jätab teistele programmidele rohkem ruumi · Enter rakendab, Esc taastab</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: pool loogilistest tuumadest</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Tagasi režiimile Auto: pool loogilistest tuumadest</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Kui tihti Chronos skannib arhiivi uuesti, et leida mujal (näiteks arhiivi jagavas serveris) tehtud muudatusi</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Sees, kui portable.txt asub Chronos.exe kõrval: kõik andmed jäävad selle andmekausta</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Kasutab riistvarakodeerijat, kui see toetab eelseadistust; muul juhul tarkvara</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Nende mallidega näidisimpordi kolm esimest nime</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Ei proxyja</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Arkiston asetuksia ei tallennettu</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Valitse arkistokansio</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Uudelleenskannauksen väli</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Esikatselu</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxyn koko</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Palauta arkiston oletukset</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Käynnissä tai keskeytetty</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Näytä kansio Resurssienhallinnassa</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Piilota loki</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Tätä vanhemmat valmiit työt poistetaan, kun Chronos käynnistyy</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Tuo kuvia kortilta tai kansiosta; tuonnit, analyysit ja renderöinnit näkyvät sitten täällä</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Nosta prioriteettia: työ suoritetaan ennen alemman prioriteetin töitä</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Avaa kohde, jota tämä työ käsitteli</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versio, koontiversio, järjestelmä, lisenssi, kolmannen osapuolen koodi</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Kannettava tila, lokit, diagnostiikka, tietokannan varmuuskopiointi ja palautus, oletusasetukset</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analyysin leveys, yö- ja tähtirajat, syväanalyysi</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkistokansio, nimeämismallit, proxyjen ja pikkukuvien koko, uudelleenskannaukset</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Mikä dekooderi käsittelee kunkin tiedostomuodon tällä tietokoneella, koodekkien asennuslinkit</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Kieli, teema, käynnistys, ilmoitukset</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Istuntosäännöt, tarkistus, kaksoiskappaleet, tuonnin jälkeiset toiminnot</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Kuvat, jotka käynnissä oleva työ käsittelee samanaikaisesti; työt suoritetaan yksi kerrallaan. Pienempi määrä jättää enemmän tilaa muille ohjelmille · Enter ottaa käyttöön, Esc palauttaa</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Automaattinen: puolet loogisista ytimistä</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Palauta automaattinen: puolet loogisista ytimistä</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Kuinka usein Chronos skannaa arkiston uudelleen muualla (esimerkiksi arkistoa jakavalla palvelimella) tehtyjen muutosten varalta</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Käytössä, kun portable.txt on Chronos.exe-tiedoston vieressä: kaikki tiedot pysyvät sen datakansiossa</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Käytä laitteistokooderia, kun jokin tukee esiasetusta; muuten ohjelmistoa</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Näillä malleilla tehdyn esimerkkituonnin kolme ensimmäistä nimeä</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Aucun</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Les paramètres de l'archive n'ont pas été enregistrés</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Choisir le dossier de l'archive</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Rescanner toutes les</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Aperçu</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Taille des proxys</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Réinitialiser l'archive</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>En cours d'exécution ou en pause</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Afficher le dossier dans l'Explorateur</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Masquer le journal</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Les tâches terminées plus anciennes sont supprimées au démarrage de Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Importer des photos depuis une carte ou un dossier ; les importations, analyses et rendus s'affichent ensuite ici</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Augmenter la priorité : la tâche passe avant celles de priorité inférieure</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Ouvrir l'élément traité par cette tâche</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Version, build, système, licence, code tiers</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mode portable, journaux, diagnostic, sauvegarde et restauration de la base de données, réinitialisation</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Largeur d'analyse, seuils de nuit et d'étoiles, analyse approfondie</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Dossier de l'archive, modèles de nommage, taille des proxys et des miniatures, nouveaux scans</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Décodeur utilisé pour chaque format sur ce PC, liens d'installation des codecs</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Langue, thème, démarrage, notifications</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Règles de session, vérification, doublons, actions après l'importation</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Photos traitées simultanément par la tâche en cours ; les tâches s'exécutent une par une. Une valeur plus faible laisse plus de place aux autres programmes · Enter pour appliquer, Esc pour rétablir</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto : la moitié des cœurs logiques</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Revenir à Auto : la moitié des cœurs logiques</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Fréquence à laquelle Chronos rescanne l'archive pour détecter les modifications faites ailleurs, par exemple par un serveur qui la partage</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Activé quand portable.txt se trouve à côté de Chronos.exe : toutes les données restent dans son dossier de données</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Utiliser un encodeur matériel s'il prend en charge le préréglage, sinon l'encodeur logiciel</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Trois premiers noms d'un exemple d'importation avec ces modèles</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>ללא פרוקסי</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>הגדרות הארכיון לא נשמרו</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>בחירת תיקיית הארכיון</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>סריקה מחדש כל</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>תצוגה מקדימה</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>גודל פרוקסי</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>אפס ארכיון</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>משימות שפועלות כעת או מושהות</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>הצגת התיקייה בסייר הקבצים</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>הסתרת היומן</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>משימות שהסתיימו וישנות יותר מכך יוסרו בעת הפעלת Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>הבאת תמונות מכרטיס או מתיקייה; ייבואים, ניתוחים ורינדורים יופיעו כאן</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>העלאת העדיפות: המשימה תפעל לפני משימות בעדיפות נמוכה יותר</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>פתיחת הפריט שהמשימה עבדה עליו</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>גרסה, גרסת Build, מערכת, רישיון, קוד צד שלישי</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>מצב נייד, יומנים, אבחון, גיבוי ושחזור של מסד הנתונים, איפוס</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>רוחב ניתוח, ספי לילה וכוכבים, ניתוח מעמיק</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>תיקיית הארכיון, תבניות שמות, גודל פרוקסי ותמונות ממוזערות, סריקות חוזרות</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>איזה מפענח מטפל בכל פורמט במחשב הזה, קישורים להתקנת קודקים</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>שפה, ערכת נושא, הפעלה, הודעות</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>כללי סשנים, אימות, כפילויות, פעולות אחרי ייבוא</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>מספר התמונות שהמשימה הפועלת מעבדת בו-זמנית; המשימות פועלות אחת בכל פעם. מספר קטן יותר משאיר יותר מקום לתוכניות אחרות · Enter מחיל, Esc מבטל</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>אוטומטי: מחצית מהליבות הלוגיות</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>חזרה לאוטומטי: מחצית מהליבות הלוגיות</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>באיזו תדירות Chronos סורק מחדש את הארכיון לאיתור שינויים שנעשו במקום אחר, למשל על ידי שרת שמשתף אותו</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>פעיל כאשר portable.txt נמצא לצד Chronos.exe: כל הנתונים נשמרים בתיקיית הנתונים שלו</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>שימוש במקודד חומרה כאשר יש כזה שתומך בפריסט; אחרת, קידוד בתוכנה</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>שלושת השמות הראשונים בייבוא לדוגמה עם התבניות האלה</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>कोई नहीं</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>संग्रह सेटिंग्स सहेजी नहीं गईं</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>संग्रह फ़ोल्डर चुनें</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>पुनः स्कैन अंतराल</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>पूर्वावलोकन</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>प्रॉक्सी आकार</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>संग्रह रीसेट करें</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>अभी चल रहे या विराम पर</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>फ़ोल्डर को एक्सप्लोरर में दिखाएँ</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>लॉग छिपाएँ</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>इससे पुराने पूर्ण कार्य Chronos शुरू होने पर हटा दिए जाते हैं</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>किसी कार्ड या फ़ोल्डर से फ़ोटो लाएँ; फिर आयात, विश्लेषण और रेंडर यहाँ दिखते हैं</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>प्राथमिकता बढ़ाएँ: यह कम प्राथमिकता वाले कार्यों से पहले चलता है</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>इस कार्य ने जिस पर काम किया, उसे खोलें</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>संस्करण, बिल्ड, सिस्टम, लाइसेंस, तृतीय-पक्ष कोड</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>पोर्टेबल मोड, लॉग, निदान, डेटाबेस बैकअप और पुनर्स्थापना, रीसेट</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>विश्लेषण चौड़ाई, रात और तारों की सीमाएँ, गहन विश्लेषण</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>संग्रह फ़ोल्डर, नामकरण टेम्पलेट, प्रॉक्सी और थंबनेल आकार, पुनः स्कैन</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>इस PC पर हर फ़ॉर्मेट को कौन-सा डिकोडर संभालता है, कोडेक इंस्टॉल लिंक</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>भाषा, थीम, स्टार्टअप, सूचनाएँ</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>सत्र नियम, सत्यापन, डुप्लिकेट, आयात के बाद की क्रियाएँ</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>चल रहा कार्य एक साथ कितनी फ़ोटो संसाधित करता है; कार्य एक-एक करके चलते हैं। कम होने पर अन्य प्रोग्रामों के लिए अधिक जगह बचती है · Enter से लागू, Esc से पूर्ववत</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>ऑटो: आधे तार्किक कोर</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>ऑटो पर लौटें: आधे तार्किक कोर</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Chronos कितनी बार संग्रह को कहीं और किए गए बदलावों के लिए फिर से स्कैन करता है, जैसे इसे साझा करने वाले किसी सर्वर द्वारा</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>जब portable.txt, Chronos.exe के बगल में हो तब चालू: सारा डेटा उसके डेटा फ़ोल्डर में रहता है</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>जब कोई हार्डवेयर एनकोडर प्रीसेट को सपोर्ट करे तो उसका उपयोग करें; अन्यथा सॉफ़्टवेयर</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>इन टेम्पलेट के साथ नमूना आयात के पहले तीन नाम</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Bez proxy kopija</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Postavke arhive nisu spremljene</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Odaberite mapu arhive</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Interval ponovnog skeniranja</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Pretpregled</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Veličina proxy kopija</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Vrati zadano</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Upravo se izvode ili su pauzirani</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Prikazuje mapu u Eksploreru za datoteke</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Skriva zapisnik</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Dovršeni zadaci stariji od ovoga uklanjaju se pri pokretanju programa Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Uvozi fotografije s kartice ili iz mape; ovdje se zatim prikazuju uvozi, analize i renderiranja</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Povisuje prioritet: zadatak se izvodi prije zadataka nižeg prioriteta</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Otvara ono na čemu je zadatak radio</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Verzija, međuverzija, sustav, licenca, kôd trećih strana</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Prijenosni način, zapisnici, dijagnostika, sigurnosna kopija i vraćanje baze podataka, zadane postavke</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Širina analize, pragovi za noć i zvijezde, dubinska analiza</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Mapa arhive, predlošci naziva, veličina proxy kopija i minijatura, ponovna skeniranja</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Koji dekoder obrađuje pojedini format na ovom računalu, poveznice za instalaciju kodeka</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jezik, tema, pokretanje, obavijesti</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Pravila serija, provjera, duplikati, radnje nakon uvoza</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Broj fotografija koje zadatak u tijeku obrađuje odjednom; zadaci se izvode jedan po jedan. Manji broj ostavlja više prostora drugim programima · Enter primjenjuje, Esc vraća</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: polovica logičkih jezgri</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Vraća na Auto: polovica logičkih jezgri</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Koliko često Chronos ponovno skenira arhivu radi promjena napravljenih drugdje, npr. s poslužitelja koji je dijeli</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Uključeno kada se portable.txt nalazi pokraj datoteke Chronos.exe: svi podaci ostaju u njezinoj mapi data</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Upotrebljava hardverski koder kada podržava preset; inače softverski</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Prva tri naziva oglednog uvoza s ovim predlošcima</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Nincs</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Az archívum beállításainak mentése sikertelen</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Archívummappa kiválasztása</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Átvizsgálási időköz</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Előnézet</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxyméret</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Archívum alaphelyzetbe állítása</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Éppen fut vagy szüneteltetve van</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Megjeleníti a mappát a Fájlkezelőben</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Elrejti a naplót</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Az ennél régebbi befejezett feladatok a Chronos indításakor törlődnek</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Fotók importálása kártyáról vagy mappából; az importálások, elemzések és renderelések ezután itt jelennek meg</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Megemeli a prioritást: az alacsonyabb prioritású feladatok előtt fut</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Megnyitja azt, amin a feladat dolgozott</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Verzió, build, rendszer, licenc, külső kód</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Hordozható mód, naplók, diagnosztika, az adatbázis biztonsági mentése és visszaállítása, alaphelyzetbe állítás</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Elemzési szélesség, éjszakai és csillagküszöb, részletes elemzés</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archívummappa, elnevezési sablonok, proxy- és miniatűrméret, újbóli átvizsgálás</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Melyik dekóder kezeli az egyes formátumokat ezen a számítógépen, kodektelepítési hivatkozások</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Nyelv, téma, indítás, értesítések</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Szakaszszabályok, ellenőrzés, duplikátumok, importálás utáni műveletek</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Ennyi fotót dolgoz fel egyszerre a futó feladat; a feladatok egyenként futnak. A kisebb érték több erőforrást hagy a többi programnak · Enter: alkalmaz, Esc: visszavon</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: a logikai magok fele</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Vissza Auto értékre: a logikai magok fele</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Ilyen gyakran vizsgálja át újra a Chronos az archívumot, hogy észlelje a máshol (például egy azt közösen használó szerveren) végzett módosításokat</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Bekapcsolva, ha a portable.txt a Chronos.exe mellett van: minden adat a saját data mappájában marad</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Hardveres kódolót használ, ha valamelyik támogatja az előbeállítást; egyébként szoftverest</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Egy mintaimportálás első három neve ezekkel a sablonokkal</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Tidak ada</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Pengaturan arsip gagal disimpan</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Pilih folder arsip</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Pindai ulang setiap</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Pratinjau</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Ukuran proksi</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Reset arsip</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Sedang berjalan atau dijeda</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Tampilkan folder di Explorer</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Sembunyikan log</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Tugas selesai yang lebih lama dari ini dihapus saat Chronos dimulai</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Impor foto dari kartu atau folder; impor, analisis, dan render kemudian muncul di sini</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Naikkan prioritas: tugas ini berjalan sebelum tugas berprioritas lebih rendah</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Buka hal yang dikerjakan tugas ini</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versi, build, sistem, lisensi, kode pihak ketiga</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mode portabel, log, diagnostik, pencadangan dan pemulihan basis data, reset</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Lebar analisis, ambang malam dan bintang, analisis mendalam</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folder arsip, templat penamaan, ukuran proksi dan gambar mini, pindai ulang</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Dekoder yang menangani setiap format di PC ini, tautan instalasi codec</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Bahasa, tema, startup, pemberitahuan</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Aturan sesi, verifikasi, duplikat, tindakan setelah impor</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Jumlah foto yang diproses sekaligus oleh tugas yang sedang berjalan; tugas berjalan satu per satu. Makin sedikit, makin banyak ruang untuk program lain · Enter menerapkan, Esc membatalkan</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Otomatis: setengah dari inti logis</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Kembali ke Otomatis: setengah dari inti logis</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Seberapa sering Chronos memindai ulang arsip untuk mencari perubahan yang dibuat di tempat lain, misalnya oleh server yang berbagi arsip ini</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Aktif bila portable.txt berada di samping Chronos.exe: semua data tetap di folder data miliknya</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Gunakan encoder perangkat keras jika ada yang mendukung preset; jika tidak, gunakan perangkat lunak</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Tiga nama pertama dari contoh impor dengan templat ini</value></data>
|
||||
|
||||
@@ -24,6 +24,39 @@
|
||||
<data name="Jobs.Column.Target" xml:space="preserve"><value>Oggetto</value></data>
|
||||
<data name="Jobs.Column.Where" xml:space="preserve"><value>Dove</value></data>
|
||||
<data name="Jobs.Counter" xml:space="preserve"><value>{0} / {1}</value></data>
|
||||
<data name="Jobs.Editor.Action" xml:space="preserve"><value>Azione</value></data>
|
||||
<data name="Jobs.Editor.CatchUp" xml:space="preserve"><value>Recupera</value></data>
|
||||
<data name="Jobs.Editor.Daily" xml:space="preserve"><value>Ogni giorno</value></data>
|
||||
<data name="Jobs.Editor.DayOfMonth" xml:space="preserve"><value>Giorno del mese</value></data>
|
||||
<data name="Jobs.Editor.Days" xml:space="preserve"><value>Giorni</value></data>
|
||||
<data name="Jobs.Editor.DaysUnit" xml:space="preserve"><value>giorni</value></data>
|
||||
<data name="Jobs.Editor.Deep" xml:space="preserve"><value>Analisi approfondita</value></data>
|
||||
<data name="Jobs.Editor.DryRun" xml:space="preserve"><value>Solo rapporto</value></data>
|
||||
<data name="Jobs.Editor.Enabled" xml:space="preserve"><value>Attiva</value></data>
|
||||
<data name="Jobs.Editor.Every" xml:space="preserve"><value>Intervallo</value></data>
|
||||
<data name="Jobs.Editor.FullScan" xml:space="preserve"><value>Scansione completa</value></data>
|
||||
<data name="Jobs.Editor.Heading" xml:space="preserve"><value>Modifica {0}</value></data>
|
||||
<data name="Jobs.Editor.Interval" xml:space="preserve"><value>Ogni</value></data>
|
||||
<data name="Jobs.Editor.Keep" xml:space="preserve"><value>Copie mantenute</value></data>
|
||||
<data name="Jobs.Editor.Monthly" xml:space="preserve"><value>Ogni mese</value></data>
|
||||
<data name="Jobs.Editor.Name" xml:space="preserve"><value>Nome</value></data>
|
||||
<data name="Jobs.Editor.OlderThan" xml:space="preserve"><value>Più vecchie di</value></data>
|
||||
<data name="Jobs.Editor.Percent" xml:space="preserve"><value>Al massimo</value></data>
|
||||
<data name="Jobs.Editor.PercentUnit" xml:space="preserve"><value>% delle sequenze</value></data>
|
||||
<data name="Jobs.Editor.Priority" xml:space="preserve"><value>Priorità</value></data>
|
||||
<data name="Jobs.Editor.RebuildAll" xml:space="preserve"><value>Ricrea tutto</value></data>
|
||||
<data name="Jobs.Editor.Refused" xml:space="preserve"><value>Non accettata</value></data>
|
||||
<data name="Jobs.Editor.Repeat" xml:space="preserve"><value>Ripeti</value></data>
|
||||
<data name="Jobs.Editor.Save" xml:space="preserve"><value>Salva</value></data>
|
||||
<data name="Jobs.Editor.SaveFailed" xml:space="preserve"><value>Non salvata</value></data>
|
||||
<data name="Jobs.Editor.Steps" xml:space="preserve"><value>Passaggi</value></data>
|
||||
<data name="Jobs.Editor.Time" xml:space="preserve"><value>Ora</value></data>
|
||||
<data name="Jobs.Editor.Unit" xml:space="preserve"><value>Unità</value></data>
|
||||
<data name="Jobs.Editor.Unit.Days" xml:space="preserve"><value>giorni</value></data>
|
||||
<data name="Jobs.Editor.Unit.Hours" xml:space="preserve"><value>ore</value></data>
|
||||
<data name="Jobs.Editor.Unit.Minutes" xml:space="preserve"><value>minuti</value></data>
|
||||
<data name="Jobs.Editor.Unverified" xml:space="preserve"><value>Non verificate da</value></data>
|
||||
<data name="Jobs.Editor.Weekly" xml:space="preserve"><value>Ogni settimana</value></data>
|
||||
<data name="Jobs.Empty" xml:space="preserve"><value>Nessuna attività</value></data>
|
||||
<data name="Jobs.Filter.All" xml:space="preserve"><value>Tutte · {0}</value></data>
|
||||
<data name="Jobs.Filter.Done" xml:space="preserve"><value>Concluse · {0}</value></data>
|
||||
@@ -32,6 +65,7 @@
|
||||
<data name="Jobs.Filter.Running" xml:space="preserve"><value>In corso · {0}</value></data>
|
||||
<data name="Jobs.History.one" xml:space="preserve"><value>Cronologia di {0} giorno</value></data>
|
||||
<data name="Jobs.History.other" xml:space="preserve"><value>Cronologia di {0} giorni</value></data>
|
||||
<data name="Jobs.HistoryKept" xml:space="preserve"><value>Cronologia completa</value></data>
|
||||
<data name="Jobs.Kind.Adopt" xml:space="preserve"><value>Adozione cartella</value></data>
|
||||
<data name="Jobs.Kind.Backup" xml:space="preserve"><value>Copia dell'indice</value></data>
|
||||
<data name="Jobs.Kind.Cleanup" xml:space="preserve"><value>Pulizia</value></data>
|
||||
@@ -53,6 +87,9 @@
|
||||
<data name="Jobs.Left.After" xml:space="preserve"><value>dopo {0}</value></data>
|
||||
<data name="Jobs.Left.Next" xml:space="preserve"><value>prossima</value></data>
|
||||
<data name="Jobs.Line.Yielded" xml:space="preserve"><value>In pausa per un'attività con priorità più alta ({0}); riprende da sola</value></data>
|
||||
<data name="Jobs.Log.CacheKept" xml:space="preserve"><value>Cache: {0} usati di {1}, niente da liberare</value></data>
|
||||
<data name="Jobs.Log.CacheNotOwned" xml:space="preserve"><value>Cache non ridotta: la cartella non è una cartella cache di Chronos</value></data>
|
||||
<data name="Jobs.Log.CacheTrimmed" xml:space="preserve"><value>Cache ridotta: {0} usati di {1}, liberati: {2}</value></data>
|
||||
<data name="Jobs.Log.Empty" xml:space="preserve"><value>Ancora nessuna riga di log</value></data>
|
||||
<data name="Jobs.Log.Hide" xml:space="preserve"><value>Nascondi log</value></data>
|
||||
<data name="Jobs.Log.Show" xml:space="preserve"><value>Mostra log</value></data>
|
||||
@@ -63,6 +100,73 @@
|
||||
<data name="Jobs.RenderingSettings" xml:space="preserve"><value>Impostazioni di rendering</value></data>
|
||||
<data name="Jobs.Row.Name" xml:space="preserve"><value>{0} · {1}</value></data>
|
||||
<data name="Jobs.Row.State" xml:space="preserve"><value>{0}: {1}</value></data>
|
||||
<data name="Jobs.Schedule.Action.Analysis" xml:space="preserve"><value>Analisi</value></data>
|
||||
<data name="Jobs.Schedule.Action.Backup" xml:space="preserve"><value>Copia dell'indice</value></data>
|
||||
<data name="Jobs.Schedule.Action.Cleanup" xml:space="preserve"><value>Pulizia</value></data>
|
||||
<data name="Jobs.Schedule.Action.Duplicates" xml:space="preserve"><value>Rapporto duplicati</value></data>
|
||||
<data name="Jobs.Schedule.Action.Maintenance" xml:space="preserve"><value>Manutenzione</value></data>
|
||||
<data name="Jobs.Schedule.Action.Orphans" xml:space="preserve"><value>Rapporto file orfani</value></data>
|
||||
<data name="Jobs.Schedule.Action.Proxies" xml:space="preserve"><value>Proxy</value></data>
|
||||
<data name="Jobs.Schedule.Action.Scan" xml:space="preserve"><value>Scansione archivio</value></data>
|
||||
<data name="Jobs.Schedule.Action.Thumbnails" xml:space="preserve"><value>Miniature</value></data>
|
||||
<data name="Jobs.Schedule.Action.Verify" xml:space="preserve"><value>Verifica integrità</value></data>
|
||||
<data name="Jobs.Schedule.Column.Action" xml:space="preserve"><value>Azione</value></data>
|
||||
<data name="Jobs.Schedule.Column.Last" xml:space="preserve"><value>Ultimo esito</value></data>
|
||||
<data name="Jobs.Schedule.Column.Name" xml:space="preserve"><value>Nome</value></data>
|
||||
<data name="Jobs.Schedule.Column.Next" xml:space="preserve"><value>Prossima</value></data>
|
||||
<data name="Jobs.Schedule.Column.On" xml:space="preserve"><value>Attiva</value></data>
|
||||
<data name="Jobs.Schedule.Column.When" xml:space="preserve"><value>Quando</value></data>
|
||||
<data name="Jobs.Schedule.DayList" xml:space="preserve"><value>{0}, {1}</value></data>
|
||||
<data name="Jobs.Schedule.Delete" xml:space="preserve"><value>Elimina</value></data>
|
||||
<data name="Jobs.Schedule.DeleteHeading" xml:space="preserve"><value>Eliminare {0}?</value></data>
|
||||
<data name="Jobs.Schedule.DeleteMessage" xml:space="preserve"><value>La pianificazione si ferma per sempre; le attività che ha messo in coda restano nella cronologia.</value></data>
|
||||
<data name="Jobs.Schedule.Edit" xml:space="preserve"><value>Modifica</value></data>
|
||||
<data name="Jobs.Schedule.Enabled" xml:space="preserve"><value>Attiva</value></data>
|
||||
<data name="Jobs.Schedule.Failed" xml:space="preserve"><value>Pianificazione non modificata</value></data>
|
||||
<data name="Jobs.Schedule.JobHidden" xml:space="preserve"><value>Attività nascosta</value></data>
|
||||
<data name="Jobs.Schedule.Keep" xml:space="preserve"><value>Mantieni</value></data>
|
||||
<data name="Jobs.Schedule.LastRun" xml:space="preserve"><value>Ultima esecuzione {0}</value></data>
|
||||
<data name="Jobs.Schedule.New" xml:space="preserve"><value>Nuova pianificazione</value></data>
|
||||
<data name="Jobs.Schedule.NoRuns" xml:space="preserve"><value>Ancora nessuna esecuzione</value></data>
|
||||
<data name="Jobs.Schedule.NotRunning" xml:space="preserve"><value>Pianificazioni non attive</value></data>
|
||||
<data name="Jobs.Schedule.Off" xml:space="preserve"><value>Disattivata</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Failed" xml:space="preserve"><value>non riuscita</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Never" xml:space="preserve"><value>mai eseguita</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Queued" xml:space="preserve"><value>in coda</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.SkippedNothing" xml:space="preserve"><value>niente da fare</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.SkippedOffline" xml:space="preserve"><value>saltata: non in linea</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.SkippedPending" xml:space="preserve"><value>saltata: occupata</value></data>
|
||||
<data name="Jobs.Schedule.Outcome.Unavailable" xml:space="preserve"><value>non disponibile</value></data>
|
||||
<data name="Jobs.Schedule.Priority.Background" xml:space="preserve"><value>In background</value></data>
|
||||
<data name="Jobs.Schedule.Priority.Normal" xml:space="preserve"><value>Normale</value></data>
|
||||
<data name="Jobs.Schedule.Priority.User" xml:space="preserve"><value>Alta</value></data>
|
||||
<data name="Jobs.Schedule.Reset" xml:space="preserve"><value>Ripristina</value></data>
|
||||
<data name="Jobs.Schedule.ResetHeading" xml:space="preserve"><value>Ripristinare {0}?</value></data>
|
||||
<data name="Jobs.Schedule.ResetMessage" xml:space="preserve"><value>Ricorrenza, parametri e opzioni tornano ai valori predefiniti di questo PC; la cronologia resta.</value></data>
|
||||
<data name="Jobs.Schedule.RunNow" xml:space="preserve"><value>Esegui ora</value></data>
|
||||
<data name="Jobs.Schedule.Runs" xml:space="preserve"><value>Ultime esecuzioni</value></data>
|
||||
<data name="Jobs.Schedule.ShowJob" xml:space="preserve"><value>Mostra in coda</value></data>
|
||||
<data name="Jobs.Schedule.Step.Audit" xml:space="preserve"><value>Registro di controllo</value></data>
|
||||
<data name="Jobs.Schedule.Step.CacheTrim" xml:space="preserve"><value>Riduzione cache</value></data>
|
||||
<data name="Jobs.Schedule.Step.JobHistory" xml:space="preserve"><value>Cronologia attività</value></data>
|
||||
<data name="Jobs.Schedule.Step.TrashReport" xml:space="preserve"><value>Rapporto cestino</value></data>
|
||||
<data name="Jobs.Schedule.System.ArchiveScan" xml:space="preserve"><value>Scansione archivio</value></data>
|
||||
<data name="Jobs.Schedule.System.Housekeeping" xml:space="preserve"><value>Pulizia periodica</value></data>
|
||||
<data name="Jobs.Schedule.System.IndexBackup" xml:space="preserve"><value>Copia dell'indice</value></data>
|
||||
<data name="Jobs.Schedule.Today" xml:space="preserve"><value>Oggi {0}</value></data>
|
||||
<data name="Jobs.Schedule.Tomorrow" xml:space="preserve"><value>Domani {0}</value></data>
|
||||
<data name="Jobs.Schedule.When.Daily" xml:space="preserve"><value>Ogni giorno alle {0}</value></data>
|
||||
<data name="Jobs.Schedule.When.Days.one" xml:space="preserve"><value>Ogni giorno</value></data>
|
||||
<data name="Jobs.Schedule.When.Days.other" xml:space="preserve"><value>Ogni {0} giorni</value></data>
|
||||
<data name="Jobs.Schedule.When.Hours.one" xml:space="preserve"><value>Ogni ora</value></data>
|
||||
<data name="Jobs.Schedule.When.Hours.other" xml:space="preserve"><value>Ogni {0} ore</value></data>
|
||||
<data name="Jobs.Schedule.When.Invalid" xml:space="preserve"><value>Ricorrenza non valida</value></data>
|
||||
<data name="Jobs.Schedule.When.Minutes.one" xml:space="preserve"><value>Ogni minuto</value></data>
|
||||
<data name="Jobs.Schedule.When.Minutes.other" xml:space="preserve"><value>Ogni {0} minuti</value></data>
|
||||
<data name="Jobs.Schedule.When.Monthly" xml:space="preserve"><value>Ogni mese il {0} alle {1}</value></data>
|
||||
<data name="Jobs.Schedule.When.Weekly" xml:space="preserve"><value>{0} alle {1}</value></data>
|
||||
<data name="Jobs.Schedule.Yesterday" xml:space="preserve"><value>Ieri {0}</value></data>
|
||||
<data name="Jobs.Scheduled" xml:space="preserve"><value>Pianificata</value></data>
|
||||
<data name="Jobs.Search" xml:space="preserve"><value>Cerca oggetto o tipo</value></data>
|
||||
<data name="Jobs.Speed.Bytes" xml:space="preserve"><value>{0}/s</value></data>
|
||||
<data name="Jobs.Speed.Fps" xml:space="preserve"><value>{0} fps</value></data>
|
||||
@@ -74,5 +178,8 @@
|
||||
<data name="Jobs.State.Queued" xml:space="preserve"><value>in coda</value></data>
|
||||
<data name="Jobs.State.Running" xml:space="preserve"><value>in corso</value></data>
|
||||
<data name="Jobs.State.WithDetail" xml:space="preserve"><value>{0} · {1}</value></data>
|
||||
<data name="Jobs.Tab.Name" xml:space="preserve"><value>Vista attività</value></data>
|
||||
<data name="Jobs.Tab.Queue" xml:space="preserve"><value>Coda</value></data>
|
||||
<data name="Jobs.Tab.Scheduled" xml:space="preserve"><value>Pianificate</value></data>
|
||||
<data name="Jobs.Where.ThisPc" xml:space="preserve"><value>questo PC</value></data>
|
||||
</root>
|
||||
@@ -72,7 +72,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Nessuno</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Le impostazioni dell'archivio non sono state salvate</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Scegli la cartella dell'archivio</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Riscansiona ogni</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Anteprima</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Dimensione proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Reimposta archivio</value></data>
|
||||
|
||||
@@ -332,6 +332,40 @@
|
||||
<data name="Tooltips.Import.WholeFolder" xml:space="preserve"><value>Una sequenza per formato di file per l'intera cartella, sottocartelle comprese se incluse; fotocamere e pause sono ignorate</value></data>
|
||||
<data name="Tooltips.Jobs.Cancel" xml:space="preserve"><value>Ferma questa attività; Riprova la continua più tardi dall'ultimo punto di ripresa</value></data>
|
||||
<data name="Tooltips.Jobs.ClearDone" xml:space="preserve"><value>Nasconde le attività concluse dall'elenco; restano nella cronologia</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Cancel" xml:space="preserve"><value>Chiudi senza salvare</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.CatchUp" xml:space="preserve"><value>Un'esecuzione persa mentre Chronos era chiuso avviene una volta all'avvio</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Create" xml:space="preserve"><value>Crea la pianificazione</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DayOfMonth" xml:space="preserve"><value>Giorno da 1 a 28, che ogni mese ha</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DeepAfterScan" xml:space="preserve"><value>Le sequenze che la scansione indicizza ricevono anche un'analisi approfondita</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DeepAnalysis" xml:space="preserve"><value>Un'analisi approfondita delle sequenze che non ne hanno una, invece di una rapida</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.DryRun" xml:space="preserve"><value>Elenca cosa farebbe la manutenzione senza cambiare niente</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Enabled" xml:space="preserve"><value>Disattivata, la pianificazione non viene mai eseguita da sola</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Every" xml:space="preserve"><value>Quanti minuti (da 5 a 1.440), ore (da 1 a 168) o giorni (da 1 a 366)</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.FullScan" xml:space="preserve"><value>Rilegge ogni file, non solo quelli con data o dimensione cambiate</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Keep" xml:space="preserve"><value>Quante copie dell'indice vengono mantenute; le più vecchie vengono eliminate</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindDaily" xml:space="preserve"><value>Ogni giorno a un'ora</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindEvery" xml:space="preserve"><value>A intervallo fisso: ogni n minuti, ore o giorni</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindMonthly" xml:space="preserve"><value>In un giorno del mese a un'ora</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.KindWeekly" xml:space="preserve"><value>In alcuni giorni della settimana a un'ora</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Name" xml:space="preserve"><value>Mostrato nella lista delle pianificazioni</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NameLong" xml:space="preserve"><value>Al massimo {0} caratteri</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NameMissing" xml:space="preserve"><value>Dai un nome alla pianificazione</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NoDays" xml:space="preserve"><value>Scegli almeno un giorno</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.NoSteps" xml:space="preserve"><value>Scegli almeno un passaggio</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Number" xml:space="preserve"><value>Un numero intero da {0} a {1}</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.OlderThan" xml:space="preserve"><value>Rimuove le voci più vecchie di questi giorni; 0 conserva tutto</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Percent" xml:space="preserve"><value>Al massimo questa parte delle sequenze dell'archivio per esecuzione, prima quelle verificate da più tempo</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Priority" xml:space="preserve"><value>Le attività in background aspettano le altre; quelle Alta passano prima delle normali</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.RebuildAll" xml:space="preserve"><value>Le ricrea per ogni sequenza, non solo per quelle che non le hanno</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Refused" xml:space="preserve"><value>Chronos non ha accettato questa pianificazione (campo {0})</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Save" xml:space="preserve"><value>Salva le modifiche</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.SystemAction" xml:space="preserve"><value>Una pianificazione di sistema mantiene la sua azione</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.SystemName" xml:space="preserve"><value>Una pianificazione di sistema mantiene il suo nome</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Time" xml:space="preserve"><value>Ora del giorno sull'orologio di questo PC, in ore e minuti (03:00)</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.TimeInvalid" xml:space="preserve"><value>Un'ora del giorno in ore e minuti, come 03:00</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Unit" xml:space="preserve"><value>Minuti, ore o giorni</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.Unverified" xml:space="preserve"><value>Solo le sequenze non verificate da questi giorni; 0 controlla qualsiasi</value></data>
|
||||
<data name="Tooltips.Jobs.Editor.When" xml:space="preserve"><value>Quando viene eseguita, come la mostra la lista</value></data>
|
||||
<data name="Tooltips.Jobs.Filter.All" xml:space="preserve"><value>Tutte le attività</value></data>
|
||||
<data name="Tooltips.Jobs.Filter.Done" xml:space="preserve"><value>Attività concluse</value></data>
|
||||
<data name="Tooltips.Jobs.Filter.Failed" xml:space="preserve"><value>Fermate per un errore o annullate</value></data>
|
||||
@@ -339,7 +373,7 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>In esecuzione o in pausa</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Mostra la cartella in Esplora file</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Nasconde il log</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Le attività concluse più vecchie vengono rimosse all'avvio di Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Le attività concluse più vecchie di così vengono rimosse dalla pianificazione Pulizia periodica (scheda Pianificate)</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Porta dentro le foto da una scheda o da una cartella; importazioni, analisi e rendering compaiono poi qui</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Alza la priorità: verrà eseguita prima delle attività a priorità più bassa</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Apre l'oggetto di questa attività</value></data>
|
||||
@@ -352,6 +386,54 @@
|
||||
<data name="Tooltips.Jobs.RenderingSettings" xml:space="preserve"><value>Parallelismo, preferenza hardware, memoria disponibile</value></data>
|
||||
<data name="Tooltips.Jobs.Resume" xml:space="preserve"><value>Rimette l'attività in coda; riparte dal suo punto di ripresa</value></data>
|
||||
<data name="Tooltips.Jobs.Retry" xml:space="preserve"><value>Esegue di nuovo dall'ultimo punto di ripresa</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Analysis" xml:space="preserve"><value>Analizza le sequenze senza un'analisi aggiornata</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Backup" xml:space="preserve"><value>Copia l'indice nella cartella dei backup e mantiene le copie più recenti</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Cleanup" xml:space="preserve"><value>Rimuove ciò che a Chronos non serve più, come la vecchia cronologia attività; mai le tue foto</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Duplicates" xml:space="preserve"><value>Elenca le foto duplicate nel log dell'attività</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Maintenance" xml:space="preserve"><value>Esegue la manutenzione dell'archivio; Solo rapporto elenca cosa farebbe</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Orphans" xml:space="preserve"><value>Elenca nel log dell'attività dove indice e disco non coincidono</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Proxies" xml:space="preserve"><value>Crea i proxy delle sequenze che non li hanno</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Scan" xml:space="preserve"><value>Scansione incrementale dell'archivio per le modifiche fatte altrove</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Thumbnails" xml:space="preserve"><value>Crea le miniature delle sequenze che non le hanno</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Action.Verify" xml:space="preserve"><value>Controlla gli hash degli originali, prima quelli verificati da più tempo</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.CatchUpOff" xml:space="preserve"><value>Un'esecuzione persa mentre Chronos era chiuso viene saltata</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.CatchUpOn" xml:space="preserve"><value>Un'esecuzione persa mentre Chronos era chiuso avviene all'avvio</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Delete" xml:space="preserve"><value>Elimina questa pianificazione; le attività che ha messo in coda restano nella cronologia</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Edit" xml:space="preserve"><value>Cambia quando viene eseguita e le sue opzioni</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.EnabledOff" xml:space="preserve"><value>Disattivata: non viene mai eseguita da sola · fai clic per attivarla</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.EnabledOn" xml:space="preserve"><value>Attiva: viene eseguita da sola · fai clic per disattivarla (Esegui ora funziona comunque)</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.JobHidden" xml:space="preserve"><value>Cancella concluse la nasconde dalla coda; resta nella cronologia</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Keep" xml:space="preserve"><value>Mantieni la pianificazione</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.KeepEdits" xml:space="preserve"><value>Mantieni le tue modifiche</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.New" xml:space="preserve"><value>Crea una pianificazione: un'azione, quando viene eseguita e le sue opzioni</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Next" xml:space="preserve"><value>Prossima esecuzione {0}</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.NextOff" xml:space="preserve"><value>Disattivata: viene eseguita solo con Esegui ora</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.NextPending" xml:space="preserve"><value>La prossima esecuzione viene calcolata al prossimo controllo</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.NotRunning" xml:space="preserve"><value>Le pianificazioni partono quando l'indice è aperto; il log dice perché non sono partite</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Failed" xml:space="preserve"><value>L'esecuzione non ha potuto mettere in coda le sue attività: {0}</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Never" xml:space="preserve"><value>Non ancora eseguita</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Queued" xml:space="preserve"><value>Le sue attività sono state messe in coda</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.SkippedNothing" xml:space="preserve"><value>Non restava niente da fare</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.SkippedOffline" xml:space="preserve"><value>Saltata: l'archivio era non in linea, scollegato o di sola lettura</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.SkippedPending" xml:space="preserve"><value>Saltata: l'esecuzione precedente, o lo stesso lavoro, era ancora in attesa o in corso</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Outcome.Unavailable" xml:space="preserve"><value>Questo PC non può eseguire quest'azione</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.PriorityIs" xml:space="preserve"><value>Le sue attività hanno priorità {0}</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Reset" xml:space="preserve"><value>Riporta questa pianificazione ai valori predefiniti di questo PC; chiede prima</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.RunNow" xml:space="preserve"><value>Eseguila una volta ora, come la prossima esecuzione; la prossima esecuzione resta com'è</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.RunWhen" xml:space="preserve"><value>Quando l'esecuzione ha messo in coda l'attività</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Runs" xml:space="preserve"><value>Le attività che questa pianificazione ha messo in coda, dalla più recente</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.ShowJob" xml:space="preserve"><value>Mostra questa attività nella coda con il suo log</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.Audit" xml:space="preserve"><value>Rimuove le voci del registro di controllo più vecchie del limite</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.CacheTrim" xml:space="preserve"><value>Riduce la cache a Impostazioni › Archiviazione › Limite cache, prima i file più vecchi</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.JobHistory" xml:space="preserve"><value>Rimuove le attività concluse più vecchie del limite</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Step.TrashReport" xml:space="preserve"><value>Elenca le voci del cestino più vecchie del limite; non elimina niente</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.System" xml:space="preserve"><value>{0} è una pianificazione propria di questo PC: si può modificare, disattivare o ripristinare, non eliminare</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.NoHandler" xml:space="preserve"><value>Questo PC non ha un esecutore per quest'azione</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.NoIndexFile" xml:space="preserve"><value>L'indice non ha un file da copiare</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.Other" xml:space="preserve"><value>Non disponibile su questo PC</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.Postgres" xml:space="preserve"><value>L'indice è su PostgreSQL, che si copia con i propri strumenti</value></data>
|
||||
<data name="Tooltips.Jobs.Schedule.Unavailable.ProxiesDisabled" xml:space="preserve"><value>L'archivio non crea proxy (Impostazioni › Archivio › Proxy)</value></data>
|
||||
<data name="Tooltips.Jobs.Scheduled" xml:space="preserve"><value>Messa in coda da una pianificazione (scheda Pianificate)</value></data>
|
||||
<data name="Tooltips.Jobs.Search" xml:space="preserve"><value>Filtra per oggetto o tipo mentre scrivi</value></data>
|
||||
<data name="Tooltips.Jobs.Show" xml:space="preserve"><value>Apre l'oggetto dell'attività per vedere il problema</value></data>
|
||||
<data name="Tooltips.Jobs.ShowLog" xml:space="preserve"><value>Mostra le ultime righe del log</value></data>
|
||||
@@ -361,6 +443,8 @@
|
||||
<data name="Tooltips.Jobs.State.Paused" xml:space="preserve"><value>Riprendi continua dal punto di ripresa</value></data>
|
||||
<data name="Tooltips.Jobs.State.Queued" xml:space="preserve"><value>Attende il suo turno su questo PC</value></data>
|
||||
<data name="Tooltips.Jobs.State.Running" xml:space="preserve"><value>L'avanzamento viene salvato a ogni punto di ripresa</value></data>
|
||||
<data name="Tooltips.Jobs.Tab.Queue" xml:space="preserve"><value>Attività in attesa, in corso e concluse</value></data>
|
||||
<data name="Tooltips.Jobs.Tab.Scheduled" xml:space="preserve"><value>Attività ricorrenti che questo PC mette in coda da solo: scansioni, copie, verifiche e pulizie</value></data>
|
||||
<data name="Tooltips.Library.Adopt" xml:space="preserve"><value>Indicizza le foto che hai già, dove si trovano; scegli la loro cartella principale</value></data>
|
||||
<data name="Tooltips.Library.Analyse" xml:space="preserve"><value>Analisi approfondita di ogni fotogramma · viene eseguita come attività in background</value></data>
|
||||
<data name="Tooltips.Library.AnalyseAll" xml:space="preserve"><value>Analisi approfondita delle sequenze selezionate · un'unica attività</value></data>
|
||||
@@ -585,7 +669,7 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versione, build, sistema, licenza, codice di terze parti</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modalità portatile, log, diagnostica, backup e ripristino del database, valori predefiniti</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Larghezza di analisi, soglie di notte e stelle, analisi profonda</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Cartella dell'archivio, modelli dei nomi, dimensione di proxy e miniature, riscansioni</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Cartella archivio, modelli di nome, dimensione di proxy e miniature</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Quale decodificatore legge ogni formato su questo PC, link per installare i codec</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Lingua, tema, avvio, notifiche</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Regole delle sessioni, verifica, duplicati, azioni dopo l'importazione</value></data>
|
||||
@@ -596,7 +680,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Foto che l'attività in corso elabora insieme; le attività girano una alla volta. Meno lasciano più spazio agli altri programmi · Invio applica, Esc annulla</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: metà dei core logici</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Torna ad Auto: metà dei core logici</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Ogni quanto Chronos riscansiona l'archivio per le modifiche fatte altrove, per esempio da un server che lo condivide</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Attiva quando portable.txt si trova accanto a Chronos.exe: tutti i dati restano nella sua cartella data</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Usa un encoder hardware quando supporta il preset; altrimenti il software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>I primi tre nomi di un'importazione di esempio con questi modelli</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>なし</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>アーカイブの設定を保存できませんでした</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>アーカイブフォルダーの選択</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>再スキャンの間隔</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>プレビュー</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>プロキシのサイズ</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>アーカイブをリセット</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>実行中または一時停止中のジョブ</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>エクスプローラーでフォルダーを表示します。</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>ログを非表示にします。</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>これより古い完了済みのジョブは、Chronos の起動時に削除されます。</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>カードまたはフォルダーから写真を取り込みます。その後、インポート、分析、レンダリングがここに表示されます。</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>優先度を上げます。優先度の低いジョブより先に実行されます。</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>このジョブの対象を開きます。</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>バージョン、ビルド、システム、ライセンス、サードパーティコード</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>ポータブルモード、ログ、診断、データベースのバックアップと復元、リセット</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>分析の幅、夜と星のしきい値、詳細分析</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>アーカイブフォルダー、名前のテンプレート、プロキシとサムネイルのサイズ、再スキャン</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>この PC で各形式を処理するデコーダー、コーデックのインストールリンク</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>言語、テーマ、スタートアップ、通知</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>セッションのルール、検証、重複、インポート後の操作</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>実行中のジョブが同時に処理する写真の枚数です。ジョブは 1 件ずつ実行されます。少ないほど他のプログラムに余裕ができます · Enter で適用、Esc で元に戻す</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>自動: 論理コア数の半分</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>自動に戻す: 論理コア数の半分</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>他の場所 (アーカイブを共有するサーバーなど) で行われた変更を確認するために、Chronos がアーカイブを再スキャンする間隔です。</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Chronos.exe と同じ場所に portable.txt があるとオンになります。すべてのデータはそのデータフォルダーに保存されます。</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>プリセットに対応するハードウェアエンコーダーがあればそれを使用し、なければソフトウェアを使用します。</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>これらのテンプレートでインポートした場合の、最初の 3 つの名前の例</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>없음</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>아카이브 설정을 저장하지 못했습니다</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>아카이브 폴더 선택</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>다시 스캔 간격</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>미리 보기</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>프록시 크기</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>아카이브 설정 초기화</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>실행 중이거나 일시 중지된 작업</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>탐색기에서 폴더를 표시합니다.</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>로그를 숨깁니다.</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>이보다 오래된 완료 작업은 Chronos를 시작할 때 제거됩니다.</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>카드나 폴더에서 사진을 가져옵니다. 가져오기, 분석, 렌더링 작업이 여기에 표시됩니다.</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>우선순위를 높입니다. 우선순위가 낮은 작업보다 먼저 실행됩니다.</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>이 작업의 대상을 엽니다.</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>버전, 빌드, 시스템, 라이선스, 타사 코드</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>포터블 모드, 로그, 진단, 데이터베이스 백업 및 복원, 초기화</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>분석 너비, 야간 및 별 임계값, 정밀 분석</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>아카이브 폴더, 이름 지정 템플릿, 프록시 및 썸네일 크기, 다시 스캔</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>이 PC에서 각 형식을 처리하는 디코더, 코덱 설치 링크</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>언어, 테마, 시작, 알림</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>세션 규칙, 검증, 중복, 가져온 후 동작</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>실행 중인 작업이 동시에 처리하는 사진 수입니다. 작업은 한 번에 하나씩 실행됩니다. 적을수록 다른 프로그램에 여유가 생깁니다 · Enter로 적용, Esc로 되돌리기</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>자동: 논리 코어 수의 절반</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>자동으로 되돌리기: 논리 코어 수의 절반</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>다른 곳(예: 아카이브를 공유하는 서버)에서 변경한 내용을 찾기 위해 Chronos가 아카이브를 다시 스캔하는 간격입니다.</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Chronos.exe 옆에 portable.txt가 있으면 켜집니다. 모든 데이터가 해당 데이터 폴더에 보관됩니다.</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>프리셋을 지원하는 하드웨어 인코더가 있으면 사용하고, 없으면 소프트웨어를 사용합니다.</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>이 템플릿으로 가져올 때의 처음 세 이름 예시</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Nėra</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Archyvo parametrai neįrašyti</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Pasirinkite archyvo aplanką</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Pakartotinio nuskaitymo intervalas</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Peržiūra</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Tarpinių kopijų dydis</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Atkurti archyvo parametrus</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Vykdomos dabar arba pristabdytos</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Rodyti aplanką failų naršyklėje</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Slėpti žurnalą</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Senesnės baigtos užduotys pašalinamos paleidžiant Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Importuoti nuotraukas iš kortelės ar aplanko; importavimo, analizės ir atvaizdavimo užduotys tada rodomos čia</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Padidinti prioritetą: užduotis vykdoma prieš žemesnio prioriteto užduotis</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Atidaryti tai, ką apdorojo ši užduotis</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versija, kompiliacija, sistema, licencija, trečiųjų šalių kodas</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Nešiojamasis režimas, žurnalai, diagnostika, duomenų bazės atsarginė kopija ir atkūrimas, numatytieji parametrai</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analizės plotis, nakties ir žvaigždžių slenksčiai, išsami analizė</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archyvo aplankas, pavadinimų šablonai, tarpinių kopijų ir miniatiūrų dydis, pakartotinis nuskaitymas</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Kuris iškoduotuvas apdoroja kiekvieną formatą šiame kompiuteryje, kodekų diegimo nuorodos</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Kalba, tema, paleistis, pranešimai</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Sesijų taisyklės, patikra, dublikatai, veiksmai po importavimo</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Kiek nuotraukų vykdoma užduotis apdoroja vienu metu; užduotys vykdomos po vieną. Kuo mažiau, tuo daugiau vietos kitoms programoms · Enter – taikyti, Esc – atšaukti</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: pusė loginių branduolių</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Grįžti į Auto: pusė loginių branduolių</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Kaip dažnai Chronos iš naujo nuskaito archyvą ieškant kitur atliktų pakeitimų, pvz., jį bendrai naudojančio serverio</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Įjungta, kai šalia Chronos.exe yra portable.txt: visi duomenys lieka programos duomenų aplanke</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Naudoti aparatinį koduotuvą, kai jis palaiko išankstinę nuostatą; kitu atveju – programinį</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Pirmieji trys pavyzdinio importavimo pavadinimai pagal šiuos šablonus</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Nav</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Arhīva iestatījumi netika saglabāti</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Izvēlieties arhīva mapi</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Pārskenēšanas intervāls</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Priekšskatījums</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxy izmērs</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Atiestatīt arhīva iestatījumus</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Darbojas tagad vai ir pauzēti</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Rādīt mapi failu pārlūkā</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Paslēpt žurnālu</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Pabeigtie darbi, kas vecāki par šo, tiek noņemti, kad Chronos startē</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Ienest fotoattēlus no kartes vai mapes; importēšanas, analīzes un renderēšanas darbi pēc tam parādās šeit</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Paaugstināt prioritāti: darbs tiek izpildīts pirms zemākas prioritātes darbiem</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Atvērt to, ar ko strādāja šis darbs</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versija, būvējums, sistēma, licence, trešo pušu kods</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portatīvais režīms, žurnāli, diagnostika, datu bāzes dublēšana un atjaunošana, atiestatīšana</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analīzes platums, nakts un zvaigžņu sliekšņi, padziļinātā analīze</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arhīva mape, nosaukumu veidnes, proxy attēlu un sīktēlu izmērs, pārskenēšana</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Kurš dekodētājs apstrādā katru formātu šajā datorā, kodeku instalēšanas saites</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Valoda, motīvs, startēšana, paziņojumi</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Sesiju noteikumi, verificēšana, dublikāti, darbības pēc importēšanas</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotoattēli, ko aktīvais darbs apstrādā vienlaikus; darbi tiek izpildīti pa vienam. Mazāks skaits atstāj vairāk vietas citām programmām · Enter piemēro, Esc atsauc</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: puse no loģiskajiem kodoliem</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Atpakaļ uz Auto: puse no loģiskajiem kodoliem</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Cik bieži Chronos atkārtoti skenē arhīvu, meklējot izmaiņas, kas veiktas citur, piemēram, serverī, kas to koplieto</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Ieslēgts, ja blakus Chronos.exe atrodas portable.txt: visi dati paliek tā datu mapē</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Izmantot aparatūras kodētāju, ja kāds atbalsta priekšiestatījumu; citādi programmatūras</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Pirmie trīs nosaukumi parauga importēšanai ar šīm veidnēm</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Tiada</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Tetapan arkib tidak disimpan</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Pilih folder arkib</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Imbas semula setiap</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Pratonton</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Saiz proksi</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Tetapkan semula arkib</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Sedang berjalan atau dijeda</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Tunjukkan folder dalam Penjelajah Fail</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Sembunyikan log</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Tugas selesai yang lebih lama daripada ini dialih keluar apabila Chronos bermula</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Bawa masuk foto daripada kad atau folder; import, analisis dan render kemudian dipaparkan di sini</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Naikkan keutamaan: tugas ini berjalan sebelum tugas yang berkeutamaan lebih rendah</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Buka perkara yang dikerjakan oleh tugas ini</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versi, binaan, sistem, lesen, kod pihak ketiga</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mod mudah alih, log, diagnostik, sandaran dan pemulihan pangkalan data, tetapkan semula</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Lebar analisis, ambang malam dan bintang, analisis mendalam</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folder arkib, templat penamaan, saiz proksi dan lakaran kecil, imbasan semula</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Penyahkod yang mengendalikan setiap format pada PC ini, pautan pemasangan kodek</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Bahasa, tema, permulaan, pemberitahuan</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Peraturan sesi, pengesahan, pendua, tindakan selepas import</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Bilangan foto yang diproses serentak oleh tugas yang sedang berjalan; tugas berjalan satu per satu. Lebih sedikit memberi lebih banyak ruang kepada program lain · Enter untuk menggunakan, Esc untuk membatalkan</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: separuh daripada bilangan teras logik</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Kembali ke Auto: separuh daripada bilangan teras logik</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Kekerapan Chronos mengimbas semula arkib untuk perubahan yang dibuat di tempat lain, contohnya oleh pelayan yang berkongsi arkib itu</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Hidup apabila portable.txt terletak di sebelah Chronos.exe: semua data kekal dalam folder datanya</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Gunakan pengekod perkakasan apabila ada yang menyokong praset; jika tidak, gunakan perisian</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Tiga nama pertama bagi contoh import dengan templat ini</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Ingen</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Arkivinnstillingene ble ikke lagret</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Velg arkivmappen</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Skanneintervall</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Forhåndsvisning</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxystørrelse</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Tilbakestill arkivet</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Arbeider nå eller er satt på pause</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Vis mappen i Filutforsker</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Skjul loggen</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Fullførte jobber som er eldre enn dette, fjernes når Chronos starter</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Hent inn bilder fra et kort eller en mappe; importjobber, analyser og renderinger vises deretter her</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Øk prioriteten: jobben kjører før jobber med lavere prioritet</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Åpne det denne jobben arbeidet med</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versjon, bygg, system, lisens, tredjepartskode</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabel modus, logger, diagnostikk, sikkerhetskopiering og gjenoppretting av databasen, tilbakestilling</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analysebredde, terskler for natt og stjerner, dybdeanalyse</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkivmappe, navnemaler, størrelse på proxyer og miniatyrbilder, skanneintervall</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Hvilken dekoder som leser hvert format på denne PC-en, lenker for å installere kodeker</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Språk, tema, oppstart, varsler</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Regler for økter, verifisering, duplikater, handlinger etter import</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Bilder som den kjørende jobben behandler samtidig; jobber kjører én om gangen. Færre gir mer plass til andre programmer · Enter tar i bruk, Esc angrer</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: halvparten av de logiske kjernene</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Tilbake til Auto: halvparten av de logiske kjernene</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Hvor ofte Chronos skanner arkivet på nytt etter endringer gjort andre steder, for eksempel av en server som deler det</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>På når portable.txt ligger ved siden av Chronos.exe: alle data blir liggende i programmets egen datamappe</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Bruk en maskinvarekoder når en støtter forhåndsinnstillingen, ellers programvare</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>De tre første navnene fra en eksempelimport med disse malene</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Geen</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>De archiefinstellingen zijn niet opgeslagen</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Kies de archiefmap</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Opnieuw scannen elke</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Voorbeeld</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxygrootte</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Archief herstellen</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Nu bezig of onderbroken</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Toon de map in Verkenner</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Verberg het logboek</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Voltooide taken die ouder zijn dan dit, worden verwijderd wanneer Chronos start</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Haal foto's binnen van een kaart of uit een map; imports, analyses en renders verschijnen daarna hier</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Verhoog de prioriteit: de taak wordt uitgevoerd vóór taken met een lagere prioriteit</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Open waaraan deze taak heeft gewerkt</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versie, build, systeem, licentie, code van derden</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Draagbare modus, logboeken, diagnose, back-up en terugzetten van de database, herstellen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analysebreedte, drempels voor nacht en sterren, diepgaande analyse</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archiefmap, naamsjablonen, proxy- en miniatuurgrootte, opnieuw scannen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Welke decoder elke indeling op deze pc verwerkt, links om codecs te installeren</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Taal, thema, opstarten, meldingen</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Sessieregels, verificatie, duplicaten, acties na import</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Foto's die de lopende taak tegelijk verwerkt; taken worden één voor één uitgevoerd. Minder laat meer ruimte voor andere programma's · Enter past toe, Esc maakt ongedaan</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: de helft van de logische kernen</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Terug naar Auto: de helft van de logische kernen</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Hoe vaak Chronos het archief opnieuw scant op wijzigingen die elders zijn aangebracht, bijvoorbeeld door een server die het deelt</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Aan wanneer portable.txt naast Chronos.exe staat: alle gegevens blijven in de bijbehorende gegevensmap</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Gebruik een hardware-encoder als die de voorinstelling ondersteunt; anders software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Eerste drie namen van een voorbeeldimport met deze sjablonen</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Brak</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Nie zapisano ustawień archiwum</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Wybierz folder archiwum</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Skanuj ponownie co</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Podgląd</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Rozmiar proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Resetuj archiwum</value></data>
|
||||
|
||||
@@ -343,7 +343,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Wykonywane teraz lub wstrzymane</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Pokaż folder w Eksploratorze</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Ukryj dziennik</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Zakończone zadania starsze niż ten okres są usuwane przy uruchomieniu programu Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Zaimportuj zdjęcia z karty lub folderu; zadania importu, analizy i renderowania pojawią się potem tutaj</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Podnieś priorytet: zadanie zostanie uruchomione przed zadaniami o niższym priorytecie</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Otwórz element, na którym działało to zadanie</value></data>
|
||||
@@ -616,7 +615,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Wersja, kompilacja, system, licencja, kod innych firm</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Tryb przenośny, dzienniki, diagnostyka, kopia zapasowa i przywracanie bazy danych, resetowanie</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Szerokość analizy, progi nocy i gwiazd, dogłębna analiza</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folder archiwum, szablony nazw, rozmiar proxy i miniatur, ponowne skanowanie</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Który dekoder obsługuje każdy format na tym komputerze, linki do instalacji kodeków</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Język, motyw, uruchamianie, powiadomienia</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Reguły sesji, weryfikacja, duplikaty, działania po imporcie</value></data>
|
||||
@@ -627,7 +625,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Liczba zdjęć przetwarzanych naraz przez wykonywane zadanie; zadania są wykonywane po jednym. Mniejsza wartość zostawia więcej zasobów innym programom · Enter stosuje, Esc przywraca</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: połowa rdzeni logicznych</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Przywróć Auto: połowa rdzeni logicznych</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Jak często Chronos ponownie skanuje archiwum w poszukiwaniu zmian wprowadzonych gdzie indziej, np. przez serwer, który je współdzieli</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Włączony, gdy obok Chronos.exe znajduje się plik portable.txt: wszystkie dane pozostają w jego folderze danych</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Używaj enkodera sprzętowego, jeśli obsługuje on preset; w przeciwnym razie programowego</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Pierwsze trzy nazwy przykładowego importu z tymi szablonami</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Nenhum</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>As configurações do acervo não foram salvas</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Escolha a pasta do acervo</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Examinar de novo a cada</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Prévia</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Tamanho do proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Redefinir acervo</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Em execução ou pausadas</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Mostra a pasta no Explorador de Arquivos</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Oculta o log</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Tarefas concluídas mais antigas que isso são removidas quando o Chronos inicia</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Importa fotos de um cartão ou de uma pasta; importações, análises e renderizações aparecem aqui depois</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Aumenta a prioridade: a tarefa é executada antes das de prioridade mais baixa</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Abre o que esta tarefa processou</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versão, compilação, sistema, licença, código de terceiros</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modo portátil, logs, diagnóstico, backup e restauração do banco de dados, redefinição</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Largura da análise, limites de noite e de estrelas, análise aprofundada</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Pasta do acervo, modelos de nomes, tamanho do proxy e das miniaturas, varreduras periódicas</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Qual decodificador lê cada formato neste PC, links para instalar codecs</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Idioma, tema, inicialização, notificações</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Regras de sessão, verificação, duplicatas, ações após a importação</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotos que a tarefa em execução processa ao mesmo tempo; as tarefas são executadas uma por vez. Menos deixa mais espaço para outros programas · Enter aplica, Esc reverte</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: metade dos núcleos lógicos</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Volta para Auto: metade dos núcleos lógicos</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Com que frequência o Chronos examina o acervo de novo em busca de alterações feitas em outro lugar, por exemplo por um servidor que o compartilha</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Ativado quando portable.txt está ao lado de Chronos.exe: todos os dados ficam na pasta data dele</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Usa um codificador de hardware quando algum suporta a predefinição; caso contrário, software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Os três primeiros nomes de uma importação de exemplo com estes modelos</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Nenhum</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>As definições do arquivo não foram guardadas</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Escolher a pasta do arquivo</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Intervalo entre exames</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Pré-visualização</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Tamanho do proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Repor arquivo</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Em curso ou em pausa</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Mostrar a pasta no Explorador de Ficheiros</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Ocultar o registo</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>As tarefas terminadas mais antigas do que isto são removidas quando o Chronos inicia</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Importar fotografias de um cartão ou de uma pasta; as importações, as análises e as renderizações aparecem depois aqui</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Aumentar a prioridade: é executada antes das tarefas de prioridade inferior</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Abrir aquilo em que esta tarefa trabalhou</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versão, compilação, sistema, licença, código de terceiros</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Modo portátil, registos, diagnóstico, cópia de segurança e restauro da base de dados, reposição</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Largura de análise, limiares de noite e de estrelas, análise aprofundada</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Pasta do arquivo, modelos de nomes, tamanho dos proxies e das miniaturas, exames periódicos</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Que descodificador trata cada formato neste PC, ligações para instalar codecs</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Idioma, tema, arranque, notificações</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Regras de sessão, verificação, duplicados, ações após a importação</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotografias que a tarefa em curso processa em simultâneo; as tarefas são executadas uma de cada vez. Menos deixam mais espaço a outros programas · Enter aplica, Esc reverte</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: metade dos núcleos lógicos</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Voltar a Auto: metade dos núcleos lógicos</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Com que frequência o Chronos examina de novo o arquivo à procura de alterações feitas noutro local, por exemplo por um servidor que o partilha</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Ativado quando o portable.txt está junto ao Chronos.exe: todos os dados ficam na respetiva pasta de dados</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Utilizar um codificador de hardware quando algum suporta a predefinição; caso contrário, software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Os três primeiros nomes de uma importação de exemplo com estes modelos</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Fără proxy-uri</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Setările arhivei nu au fost salvate</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Alegeți folderul arhivei</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Interval de rescanare</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Previzualizare</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Dimensiune proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Resetare arhivă</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Rulează acum sau sunt în pauză</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Afișați folderul în Explorer</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Ascundeți jurnalul</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Lucrările finalizate mai vechi de atât sunt eliminate la pornirea Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Aduceți fotografii de pe un card sau dintr-un folder; importurile, analizele și randările apar apoi aici</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Creșteți prioritatea: lucrarea rulează înaintea lucrărilor cu prioritate mai mică</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Deschideți obiectul acestei lucrări</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Versiune, build, sistem, licență, cod terț</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Mod portabil, jurnale, diagnosticare, copie de rezervă și restaurare a bazei de date, resetare</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Lățime de analiză, praguri pentru noapte și stele, analiză aprofundată</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Folderul arhivei, șabloane de denumire, dimensiunea proxy-urilor și a miniaturilor, rescanări</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Ce decodificator gestionează fiecare format pe acest PC, linkuri de instalare a codecurilor</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Limbă, temă, pornire, notificări</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Reguli pentru sesiuni, verificare, duplicate, acțiuni după import</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Fotografiile pe care lucrarea în curs le procesează simultan; lucrările rulează pe rând. Mai puține lasă mai mult loc altor programe · Enter aplică, Esc anulează</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: jumătate din nucleele logice</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Revenire la Auto: jumătate din nucleele logice</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Cât de des rescanează Chronos arhiva pentru modificări făcute în altă parte, de exemplu de un server care o partajează</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Activat când portable.txt se află lângă Chronos.exe: toate datele rămân în folderul său de date</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Folosiți un codificator hardware când acesta acceptă presetarea; altfel, software</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Primele trei nume ale unui import de probă cu aceste șabloane</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Нет</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Параметры архива не сохранены</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Выберите папку архива</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Пересканировать каждые</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Предпросмотр</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Размер прокси</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Сбросить параметры</value></data>
|
||||
|
||||
@@ -343,7 +343,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Выполняются сейчас или приостановлены</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Показать папку в проводнике</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Скрыть журнал</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Завершённые задания старше этого срока удаляются при запуске Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Импортировать фото с карты или из папки; затем здесь появятся задания импорта, анализа и рендеринга</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Повысить приоритет: задание выполнится раньше заданий с более низким приоритетом</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Открыть то, с чем работало это задание</value></data>
|
||||
@@ -616,7 +615,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Версия, сборка, система, лицензия, сторонний код</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Портативный режим, журналы, диагностика, резервное копирование и восстановление базы данных, сброс</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Ширина анализа, пороги ночи и звёзд, глубокий анализ</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Папка архива, шаблоны имён, размер прокси и эскизов, пересканирование</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Какой декодер обрабатывает каждый формат на этом ПК, ссылки для установки кодеков</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Язык, тема, автозапуск, уведомления</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Правила сеансов, проверка, дубликаты, действия после импорта</value></data>
|
||||
@@ -627,7 +625,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Сколько фото выполняемое задание обрабатывает одновременно; задания выполняются по одному. Меньшее число оставляет больше ресурсов другим программам · Enter — применить, Esc — отменить</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Авто: половина логических ядер</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Вернуть «Авто»: половина логических ядер</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Как часто Chronos пересканирует архив в поисках изменений, сделанных в другом месте, например сервером, который тоже его использует</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Включён, если рядом с Chronos.exe лежит portable.txt: все данные хранятся в его папке данных</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Использовать аппаратный кодировщик, если он поддерживает пресет; иначе программный</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Первые три имени примерного импорта с этими шаблонами</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Bez proxy</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Nastavenia archívu sa neuložili</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Vyberte priečinok archívu</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Interval skenovania</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Ukážka</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Veľkosť proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Resetovať nastavenia</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Práve bežia alebo sú pozastavené</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Zobrazí priečinok v Prieskumníkovi</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Skryje denník</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Dokončené úlohy staršie ako toto obdobie sa pri spustení Chronos odstránia</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Prenesie fotografie z karty alebo priečinka; importy, analýzy a renderovania sa potom zobrazia tu</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Zvýši prioritu: úloha sa spustí pred úlohami s nižšou prioritou</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Otvorí to, na čom úloha pracovala</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Verzia, zostava, systém, licencia, kód tretích strán</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Prenosný režim, denníky, diagnostika, záloha a obnovenie databázy, resetovanie</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Šírka analýzy, prahy pre noc a hviezdy, hĺbková analýza</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Priečinok archívu, šablóny názvov, veľkosť proxy a miniatúr, opätovné skenovanie</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Ktorý dekodér spracúva jednotlivé formáty na tomto počítači, odkazy na inštaláciu kodekov</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jazyk, motív, spúšťanie, oznámenia</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Pravidlá sérií, overenie, duplikáty, akcie po importe</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Počet fotografií, ktoré bežiaca úloha spracúva naraz; úlohy bežia jedna po druhej. Menší počet ponechá viac priestoru iným programom · Enter použije, Esc vráti späť</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: polovica logických jadier</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Späť na Auto: polovica logických jadier</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Ako často Chronos znova skenuje archív kvôli zmenám vykonaným inde, napríklad serverom, ktorý ho zdieľa</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Zapnutý, keď je vedľa Chronos.exe súbor portable.txt: všetky údaje zostávajú v jeho priečinku údajov</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Použije hardvérový kodér, ak niektorý podporuje predvoľbu; inak softvérový</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Prvé tri názvy vzorového importu s týmito šablónami</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Brez</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Nastavitve arhiva niso bile shranjene</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Izberite mapo arhiva</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Interval ponovnega pregleda</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Predogled</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Velikost proxyjev</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Ponastavi nastavitve</value></data>
|
||||
|
||||
@@ -341,7 +341,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Se izvajajo ali so začasno ustavljena</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Pokaži mapo v Raziskovalcu</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Skrij dnevnik</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Končana opravila, starejša od tega, se odstranijo ob zagonu programa Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Uvozi fotografije s kartice ali iz mape; opravila uvoza, analize in upodabljanja se nato prikažejo tukaj</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Zvišaj prednost: opravilo se izvede pred opravili z nižjo prednostjo</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Odpri, na čemer je delalo to opravilo</value></data>
|
||||
@@ -598,7 +597,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Različica, gradnja, sistem, licenca, koda tretjih oseb</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Prenosni način, dnevniki, diagnostika, varnostno kopiranje in obnovitev zbirke podatkov, ponastavitev</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Širina analize, pragova za noč in zvezde, poglobljena analiza</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Mapa arhiva, predloge za poimenovanje, velikost proxyjev in miniatur, ponovni pregledi</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Kateri dekodirnik obdela posamezen format v tem računalniku, povezave za namestitev kodekov</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Jezik, tema, zagon, obvestila</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Pravila snemanj, preverjanje, dvojniki, dejanja po uvozu</value></data>
|
||||
@@ -609,7 +607,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Število fotografij, ki jih opravilo v teku obdeluje hkrati; opravila se izvajajo eno za drugim. Manj jih pusti več prostora drugim programom · Enter uveljavi, Esc razveljavi</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Samodejno: polovica logičnih jeder</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Nazaj na samodejno: polovica logičnih jeder</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Kako pogosto Chronos znova pregleda arhiv za spremembe, narejene drugje, na primer na strežniku, ki uporablja isti arhiv</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Vklopljeno, ko je portable.txt poleg Chronos.exe: vsi podatki ostanejo v njegovi mapi s podatki</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Uporabi strojni kodirnik, kadar podpira prednastavitev, sicer programskega</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Prva tri imena vzorčnega uvoza s temi predlogami</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Inga</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Arkivinställningarna sparades inte</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Välj arkivmappen</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Genomsökningsintervall</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Förhandsvisning</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxystorlek</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Återställ arkiv</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Arbetar nu eller pausade</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Visa mappen i Utforskaren</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Dölj loggen</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Slutförda jobb som är äldre än så tas bort när Chronos startar</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Hämta in foton från ett kort eller en mapp; importer, analyser och renderingar visas sedan här</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Höj prioriteten: jobbet körs före jobb med lägre prioritet</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Öppna det som jobbet arbetade med</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Version, bygge, system, licens, tredjepartskod</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portabelt läge, loggar, diagnostik, säkerhetskopiering och återställning av databasen, återställning av inställningar</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analysbredd, tröskelvärden för natt och stjärnor, djupanalys</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arkivmapp, namngivningsmallar, proxy- och miniatyrstorlek, genomsökningsintervall</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Vilken avkodare som hanterar varje format på den här datorn, länkar för att installera codecs</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Språk, tema, start, aviseringar</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Sessionsregler, verifiering, dubbletter, åtgärder efter import</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Foton som det pågående jobbet bearbetar samtidigt; jobb körs ett i taget. Färre lämnar mer utrymme åt andra program · Enter tillämpar, Esc återställer</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: hälften av de logiska kärnorna</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Tillbaka till Auto: hälften av de logiska kärnorna</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Hur ofta Chronos genomsöker arkivet igen efter ändringar som gjorts på annat håll, till exempel av en server som delar det</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>På när portable.txt ligger bredvid Chronos.exe: alla data stannar i dess datamapp</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Använd en maskinvarukodare när någon stöder förinställningen; annars programvara</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>De tre första namnen i en exempelimport med de här mallarna</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>ไม่มี</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>ไม่ได้บันทึกการตั้งค่าคลังภาพ</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>เลือกโฟลเดอร์คลังภาพ</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>สแกนใหม่ทุก</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>ตัวอย่าง</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>ขนาดพร็อกซี</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>รีเซ็ตคลังภาพ</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>กำลังทำงานหรือหยุดชั่วคราว</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>แสดงโฟลเดอร์ในตัวสำรวจไฟล์</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>ซ่อนบันทึก</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>งานที่เสร็จแล้วซึ่งเก่ากว่านี้จะถูกลบเมื่อ Chronos เริ่มทำงาน</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>นำภาพเข้าจากการ์ดหรือโฟลเดอร์ จากนั้นการนำเข้า การวิเคราะห์ และการเรนเดอร์จะแสดงที่นี่</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>เพิ่มลำดับความสำคัญ: งานนี้จะทำงานก่อนงานที่มีลำดับความสำคัญต่ำกว่า</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>เปิดสิ่งที่งานนี้ดำเนินการ</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>เวอร์ชัน บิลด์ ระบบ สัญญาอนุญาต โค้ดของบุคคลที่สาม</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>โหมดพกพา บันทึกระบบ การวินิจฉัย การสำรองและกู้คืนฐานข้อมูล การรีเซ็ต</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>ความกว้างการวิเคราะห์ เกณฑ์กลางคืนและดาว การวิเคราะห์เชิงลึก</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>โฟลเดอร์คลังภาพ เทมเพลตการตั้งชื่อ ขนาดพร็อกซีและภาพขนาดย่อ การสแกนใหม่</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>ตัวถอดรหัสที่จัดการแต่ละรูปแบบไฟล์บนพีซีเครื่องนี้ ลิงก์ติดตั้งโคเดก</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>ภาษา ธีม การเริ่มต้น การแจ้งเตือน</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>กฎการแบ่งรอบการถ่าย การตรวจสอบ ภาพซ้ำ การดำเนินการหลังนำเข้า</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>จำนวนภาพที่งานที่กำลังทำงานประมวลผลพร้อมกัน งานจะทำทีละงาน ค่าน้อยจะเหลือทรัพยากรให้โปรแกรมอื่นมากขึ้น · Enter เพื่อใช้ Esc เพื่อย้อนกลับ</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>อัตโนมัติ: ครึ่งหนึ่งของคอร์เชิงตรรกะ</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>กลับเป็นอัตโนมัติ: ครึ่งหนึ่งของคอร์เชิงตรรกะ</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>ความถี่ที่ Chronos สแกนคลังภาพใหม่เพื่อหาการเปลี่ยนแปลงจากที่อื่น เช่น จากเซิร์ฟเวอร์ที่ใช้คลังภาพร่วมกัน</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>เปิดเมื่อมี portable.txt อยู่ข้าง Chronos.exe: ข้อมูลทั้งหมดจะอยู่ในโฟลเดอร์ข้อมูลของโปรแกรม</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>ใช้ตัวเข้ารหัสฮาร์ดแวร์เมื่อมีตัวที่รองรับพรีเซ็ต มิฉะนั้นใช้ซอฟต์แวร์</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>สามชื่อแรกของการนำเข้าตัวอย่างด้วยเทมเพลตเหล่านี้</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Yok</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Arşiv ayarları kaydedilmedi</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Arşiv klasörünü seçin</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Yeniden tarama aralığı</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Önizleme</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Proxy boyutu</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Arşivi sıfırla</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Şu anda çalışıyor veya duraklatıldı</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Klasörü Dosya Gezgini'nde gösterir</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Günlüğü gizler</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Bundan eski biten görevler Chronos başlarken kaldırılır</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Bir karttan veya klasörden fotoğraf içe aktarır; içe aktarmalar, analizler ve işlemeler ardından burada görünür</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Önceliği yükseltir: görev, daha düşük öncelikli görevlerden önce çalışır</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Bu görevin üzerinde çalıştığı öğeyi açar</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Sürüm, derleme, sistem, lisans, üçüncü taraf kodu</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Taşınabilir mod, günlükler, tanılama, veritabanı yedekleme ve geri yükleme, sıfırlama</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analiz genişliği, gece ve yıldız eşikleri, ayrıntılı analiz</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Arşiv klasörü, ad şablonları, proxy ve küçük resim boyutu, yeniden taramalar</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Bu bilgisayarda her biçimi hangi kod çözücünün işlediği, codec kurulum bağlantıları</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Dil, tema, başlangıç, bildirimler</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Oturum kuralları, doğrulama, yinelenenler, içe aktarma sonrası eylemler</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Çalışan görevin aynı anda işlediği fotoğraf sayısı; görevler tek tek çalışır. Daha düşük değer diğer programlara daha fazla yer bırakır · Enter uygular, Esc geri alır</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Otomatik: mantıksal çekirdeklerin yarısı</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Otomatiğe dön: mantıksal çekirdeklerin yarısı</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Chronos'un, başka yerde (örneğin arşivi paylaşan bir sunucuda) yapılan değişiklikleri bulmak için arşivi ne sıklıkla yeniden taradığı</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Chronos.exe dosyasının yanında portable.txt varsa açıktır: tüm veriler onun veri klasöründe kalır</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Hazır ayarı destekleyen bir donanım kodlayıcısı varsa onu, yoksa yazılımı kullanır</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Bu şablonlarla örnek bir içe aktarmanın ilk üç adı</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Немає</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Налаштування архіву не збережено</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Виберіть папку архіву</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Пересканувати раз на</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Попередній перегляд</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Розмір проксі</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Скинути архів</value></data>
|
||||
|
||||
@@ -343,7 +343,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Виконуються зараз або призупинені</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Показати папку в Провіднику</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Приховати журнал</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Завершені завдання, старші за цей термін, видаляються під час запуску Chronos</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Імпортувати фото з картки або папки; після цього завдання імпорту, аналізу й рендерингу з’являтимуться тут</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Підвищити пріоритет: завдання виконається раніше за завдання з нижчим пріоритетом</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Відкрити те, з чим працювало це завдання</value></data>
|
||||
@@ -616,7 +615,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Версія, збірка, система, ліцензія, сторонній код</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Портативний режим, журнали, діагностика, резервне копіювання й відновлення бази даних, скидання</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Ширина аналізу, пороги ночі й зір, глибокий аналіз</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Папка архіву, шаблони імен, розмір проксі й мініатюр, пересканування</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Який декодер обробляє кожен формат на цьому ПК, посилання для інсталяції кодеків</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Мова, тема, запуск, сповіщення</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Правила сесій, перевірка, дублікати, дії після імпорту</value></data>
|
||||
@@ -627,7 +625,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Скільки фото активне завдання обробляє одночасно; завдання виконуються по одному. Менше значення залишає більше ресурсів іншим програмам · Enter застосовує, Esc скасовує</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Авто: половина логічних ядер</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Повернути «Авто»: половина логічних ядер</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Як часто Chronos повторно сканує архів, шукаючи зміни, зроблені деінде, наприклад сервером, що спільно його використовує</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Увімкнено, коли portable.txt лежить поруч із Chronos.exe: усі дані зберігаються в його папці даних</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Використовувати апаратний кодувальник, якщо він підтримує пресет; інакше — програмний</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Перші три імені зразкового імпорту з цими шаблонами</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>Không có</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>Chưa lưu được cài đặt kho lưu trữ</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>Chọn thư mục kho lưu trữ</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>Quét lại mỗi</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>Xem trước</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>Kích thước proxy</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>Đặt lại kho lưu trữ</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>Đang chạy hoặc đã tạm dừng</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>Hiển thị thư mục trong Explorer</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>Ẩn nhật ký</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Các tác vụ đã hoàn tất cũ hơn mức này sẽ bị loại bỏ khi Chronos khởi động</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>Đưa ảnh vào từ thẻ nhớ hoặc thư mục; các lượt nhập, phân tích và kết xuất sau đó sẽ hiện ở đây</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>Tăng mức ưu tiên: tác vụ sẽ chạy trước các tác vụ có mức ưu tiên thấp hơn</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>Mở đối tượng mà tác vụ này đã xử lý</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Phiên bản, bản dựng, hệ thống, giấy phép, mã bên thứ ba</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 và khôi phục cơ sở dữ liệu, đặt lại</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Độ rộng phân tích, ngưỡng ban đêm và sao, phân tích sâ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 và hình thu nhỏ, quét lại</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Bộ giải mã xử lý từng định dạng trên máy tính này, liên kết cài đặt codec</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Ngôn ngữ, chủ đề, khởi động, thông báo</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Quy tắc phiên, xác minh, trùng lặp, thao tác sau khi nhập</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Số ảnh mà tác vụ đang chạy xử lý cùng lúc; các tác vụ chạy lần lượt từng cái một. Ít hơn sẽ chừa nhiều tài nguyên hơn cho chương trình khác · Enter để áp dụng, Esc để hoàn tác</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Tự động: một nửa số lõi logic</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Về Tự động: một nửa số lõi logic</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Tần suất Chronos quét lại kho lưu trữ để tìm thay đổi được thực hiện ở nơi khác, chẳng hạn bởi một máy chủ dùng chung kho</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Bật khi có portable.txt nằm cạnh Chronos.exe: mọi dữ liệu nằm trong thư mục dữ liệu của nó</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Dùng bộ mã hóa phần cứng khi có bộ hỗ trợ cài đặt sẵn; nếu không thì dùng phần mềm</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>Ba tên đầu tiên của một lượt nhập mẫu với các mẫu này</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>无</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>档案库设置未保存</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>选择档案库文件夹</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>重新扫描间隔</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>预览</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>代理尺寸</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>重置档案库设置</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>正在运行或已暂停</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>在资源管理器中显示文件夹</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>隐藏日志</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>早于此期限的已完成任务会在 Chronos 启动时删除</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>从存储卡或文件夹导入照片;导入、分析和渲染随后会显示在这里</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>提高优先级:它将先于优先级较低的任务运行</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>打开此任务处理的对象</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>版本、内部版本、系统、许可证、第三方代码</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>便携模式、日志、诊断、数据库备份与恢复、重置</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>分析宽度、夜间和星空阈值、深度分析</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>档案库文件夹、命名模板、代理和缩略图尺寸、重新扫描</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>此电脑上处理各格式的解码器、编解码器安装链接</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>语言、主题、启动、通知</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>时段规则、校验、重复项、导入后操作</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>正在运行的任务同时处理的照片数;任务逐个运行。越少则为其他程序留出越多空间 · Enter 应用,Esc 还原</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>自动:逻辑核心数的一半</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>恢复自动:逻辑核心数的一半</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Chronos 重新扫描档案库以发现在别处(例如共享该档案库的服务器)所做更改的频率</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>当 portable.txt 与 Chronos.exe 位于同一文件夹时开启:所有数据都保存在其数据文件夹中</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>有硬件编码器支持该预设时使用硬件编码器,否则使用软件编码</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>使用这些模板时示例导入的前三个名称</value></data>
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>無</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>典藏庫設定未儲存</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>選擇典藏庫資料夾</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>重新掃描間隔</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>預覽</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>代理檔大小</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>重設典藏庫</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>正在執行或已暫停</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>在檔案總管中顯示資料夾</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>隱藏記錄</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Chronos 啟動時,會移除超過此期限的已完成工作</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>從記憶卡或資料夾匯入相片;匯入、分析與算圖接著會顯示在這裡</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>提高優先順序:此工作會在優先順序較低的工作之前執行</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>開啟此工作所處理的項目</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>版本、組建、系統、授權、第三方程式碼</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>可攜式模式、記錄、診斷、資料庫備份與還原、重設</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>分析寬度、夜間與星空門檻、深度分析</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>典藏庫資料夾、命名範本、代理檔與縮圖大小、重新掃描</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>此電腦上各格式由哪個解碼器處理、編解碼器安裝連結</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>語言、佈景主題、啟動、通知</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>拍攝時段規則、驗證、重複項目、匯入後動作</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>執行中的工作同時處理的相片數;工作會逐一執行。數量越少,留給其他程式的資源越多 · Enter 套用,Esc 還原</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>自動:一半的邏輯核心</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>恢復自動:一半的邏輯核心</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Chronos 重新掃描典藏庫的頻率,以偵測在他處(例如共用此典藏庫的伺服器)所做的變更</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>當 portable.txt 與 Chronos.exe 位於同一資料夾時開啟:所有資料都保留在其 data 資料夾中</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>預設集支援時使用硬體編碼器;否則使用軟體</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>以這些範本進行範例匯入時的前三個名稱</value></data>
|
||||
|
||||
@@ -24,6 +24,7 @@ using Chronos.Core.Video;
|
||||
using Chronos.Data;
|
||||
using Chronos.Data.Archiving;
|
||||
using Chronos.Data.Jobs;
|
||||
using Chronos.Data.Scheduling;
|
||||
using Chronos.Data.Sync;
|
||||
using Chronos.Protocol;
|
||||
using Chronos.Protocol.Client;
|
||||
@@ -33,8 +34,8 @@ namespace Chronos.App.DesignTime;
|
||||
/// <summary>
|
||||
/// Synthetic content for <c>--capture</c> screenshots and the screen smoke tests ONLY: a temporary SQLite index
|
||||
/// with an archive of generated JPEGs (one sequence stores its thumbnail as an embedded preview inside a fake RAW
|
||||
/// file), jobs in every state, a fake signed-in server with sequences to compare (one in conflict) and a fake
|
||||
/// encoder inventory. Everything lives in the
|
||||
/// file), jobs in every state, schedules (the system ones with runs, a weekly integrity check, a monthly report turned
|
||||
/// off), a fake signed-in server with sequences to compare (one in conflict) and a fake encoder inventory. Everything lives in the
|
||||
/// capture environment's temporary folder; nothing touches the network or the user's data.
|
||||
/// </summary>
|
||||
public sealed class SampleData
|
||||
@@ -55,6 +56,8 @@ public sealed class SampleData
|
||||
private ChronosDatabase? _db;
|
||||
private Guid _sunrise;
|
||||
private Guid _lakeComo;
|
||||
private Guid _weeklyVerify = Guid.CreateVersion7();
|
||||
private Guid? _scanSchedule;
|
||||
private Permissions _permissions = RolePermissions.Default(UserRole.Editor);
|
||||
|
||||
private SampleData(AppServices services) => _services = services;
|
||||
@@ -77,6 +80,8 @@ public sealed class SampleData
|
||||
services.Devices = new SampleDeviceMonitor();
|
||||
services.Sync.RemoteFactory = (_, _, _) => sample._remote;
|
||||
services.Sync.EditorFactory = (_, _, _) => sample._remote;
|
||||
// The schedules keep the sample's moment: nothing becomes due while the screenshots are taken.
|
||||
services.SchedulerTime = new FixedTime(Now);
|
||||
return sample;
|
||||
}
|
||||
|
||||
@@ -109,7 +114,10 @@ public sealed class SampleData
|
||||
await db.Sequences.SetTagsAsync(sequences[0].Sequence.Id, ["sunset", "harbour"]);
|
||||
await db.Sequences.SetTagsAsync(sequences[9].Sequence.Id, ["holy grail"]);
|
||||
|
||||
foreach (var job in Jobs(sequences.Select(s => s.Sequence).ToList(), archive.Id)) await db.Jobs.EnqueueAsync(job);
|
||||
_scanSchedule = (await db.Schedules.GetBySystemKeyAsync(DesktopScheduleHost.ArchiveScan))?.Id;
|
||||
var jobs = Jobs(sequences.Select(s => s.Sequence).ToList(), archive.Id).ToList();
|
||||
foreach (var job in jobs) await db.Jobs.EnqueueAsync(job);
|
||||
await FillSchedulesAsync(db, jobs);
|
||||
await FillServerAsync(db, sequences.Select(s => s.Sequence).ToList());
|
||||
await SampleCards.InsertAsync(db, (SampleDeviceMonitor)_services.Devices, _services.Environment.DataDirectory);
|
||||
await FillViewsAsync(db);
|
||||
@@ -126,6 +134,53 @@ public sealed class SampleData
|
||||
settings.FirstRunCompleted = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Jobs › Scheduled (owner review 2, R10): the archive scan ran 4 minutes ago (its scan is in the history), the index
|
||||
/// backup yesterday, the housekeeping never yet; a weekly integrity check the user made, whose run waits in the queue, and
|
||||
/// a monthly orphans report turned off.
|
||||
/// </summary>
|
||||
private async Task FillSchedulesAsync(ChronosDatabase db, IReadOnlyList<Job> jobs)
|
||||
{
|
||||
var verify = jobs.First(j => j.ScheduleId == _weeklyVerify);
|
||||
var weekly = ScheduleRecurrence.WeeklyAt([DayOfWeek.Sunday], new TimeOnly(2, 0));
|
||||
var created = Now.AddDays(-40);
|
||||
await db.Schedules.InsertAsync(new Schedule
|
||||
{
|
||||
Id = _weeklyVerify,
|
||||
Name = "Weekly integrity check",
|
||||
Action = ScheduleActions.Verify,
|
||||
ParametersJson = ScheduleMapping.ParametersJson(ScheduleActions.Verify, new ScheduleParametersDto(OlderThanDays: 30, Percent: 25)),
|
||||
Recurrence = weekly.Format(),
|
||||
NextRun = weekly.Next(Now, TimeZoneInfo.Local),
|
||||
LastRun = verify.Created,
|
||||
LastJobId = verify.Id,
|
||||
LastOutcome = ScheduleOutcome.Queued,
|
||||
Created = created,
|
||||
Updated = created,
|
||||
});
|
||||
var monthly = ScheduleRecurrence.MonthlyAt(1, new TimeOnly(5, 0));
|
||||
await db.Schedules.InsertAsync(new Schedule
|
||||
{
|
||||
Id = Guid.CreateVersion7(),
|
||||
Name = "Monthly orphans report",
|
||||
Action = ScheduleActions.Orphans,
|
||||
Recurrence = monthly.Format(),
|
||||
Enabled = false,
|
||||
Created = created.AddMinutes(5),
|
||||
Updated = created.AddMinutes(5),
|
||||
});
|
||||
if (_scanSchedule is { } scan && jobs.FirstOrDefault(j => j.ScheduleId == scan) is { } scanned)
|
||||
await db.Schedules.RecordOutcomeAsync(scan, scanned.Id, ScheduleOutcome.Queued, scanned.Created);
|
||||
if (await db.Schedules.GetBySystemKeyAsync(DesktopScheduleHost.IndexBackup) is { } backup)
|
||||
await db.Schedules.RecordOutcomeAsync(backup.Id, null, ScheduleOutcome.SkippedNothing, Now.AddDays(-1).AddHours(-2));
|
||||
}
|
||||
|
||||
/// <summary>A clock stopped at one moment (the schedules of the capture).</summary>
|
||||
private sealed class FixedTime(DateTimeOffset now) : TimeProvider
|
||||
{
|
||||
public override DateTimeOffset GetUtcNow() => now;
|
||||
}
|
||||
|
||||
/// <summary>Two saved views of the Library ("Not analysed, largest" and one camera), BRIEF §12.2.</summary>
|
||||
private static async Task FillViewsAsync(ChronosDatabase db)
|
||||
{
|
||||
@@ -636,10 +691,11 @@ public sealed class SampleData
|
||||
var here = _services.WorkerId;
|
||||
Job Make(JobKind kind, Sequence? target, string label, JobState state, long done, long total, double? rate = null, TimeSpan? eta = null,
|
||||
TimeSpan? startedAgo = null, TimeSpan? runFor = null, string? node = null, string? error = null, string? log = null,
|
||||
JobPriority priority = JobPriority.Normal, TimeSpan? createdAgo = null) => new()
|
||||
JobPriority priority = JobPriority.Normal, TimeSpan? createdAgo = null, Guid? schedule = null) => new()
|
||||
{
|
||||
Id = Guid.CreateVersion7(),
|
||||
Kind = kind,
|
||||
ScheduleId = schedule,
|
||||
TargetIds = target is null ? [archiveId] : [target.Id],
|
||||
TargetLabel = label,
|
||||
State = state,
|
||||
@@ -671,9 +727,14 @@ public sealed class SampleData
|
||||
yield return Make(JobKind.Proxies, s[1], s[1].DisplayTitle, JobState.Paused, 915, 1_005, startedAgo: TimeSpan.FromMinutes(14),
|
||||
priority: JobPriority.Background);
|
||||
yield return Make(JobKind.Render, s[3], "Aurora, Tromsø → 1080p share H.264", JobState.Queued, 0, 0, createdAgo: TimeSpan.FromMinutes(12));
|
||||
yield return Make(JobKind.Verify, null, "Archive · 2024", JobState.Queued, 0, 0, priority: JobPriority.Background, createdAgo: TimeSpan.FromMinutes(30));
|
||||
// The weekly integrity check the user scheduled waits behind the user's jobs.
|
||||
yield return Make(JobKind.Verify, null, "Archive · 2024", JobState.Queued, 0, 0, priority: JobPriority.Background, createdAgo: TimeSpan.FromMinutes(30),
|
||||
schedule: _weeklyVerify);
|
||||
yield return Make(JobKind.Verify, s[7], s[7].DisplayTitle, JobState.Failed, 640, 640, 900, startedAgo: TimeSpan.FromMinutes(25), runFor: TimeSpan.FromSeconds(43),
|
||||
error: "2 files whose hash no longer matches the sidecar", log: "09:58:01 verify 640 files\n09:58:43 2 hash mismatches: 2025-08-02_0213.ARW, 2025-08-02_0214.ARW");
|
||||
// The archive scan schedule's latest run.
|
||||
yield return Make(JobKind.Scan, null, "ChronosArchive", JobState.Done, 412, 412, 640, startedAgo: TimeSpan.FromMinutes(4), runFor: TimeSpan.FromSeconds(1),
|
||||
priority: JobPriority.Background, schedule: _scanSchedule);
|
||||
yield return Make(JobKind.Render, s[5], "Milan skyline dusk → 4K HEVC", JobState.Done, 2_400, 2_400, 14.8, startedAgo: TimeSpan.FromMinutes(70),
|
||||
runFor: new TimeSpan(0, 2, 41), node: "studio-pc");
|
||||
yield return Make(JobKind.Import, s[0], "EOS R5 · card A → Archive · 4,812 photos", JobState.Done, 4_812, 4_812, 7.1, startedAgo: TimeSpan.FromMinutes(110),
|
||||
|
||||
@@ -22,19 +22,22 @@ using Chronos.Data;
|
||||
using Chronos.Data.Archiving;
|
||||
using Chronos.Data.Jobs;
|
||||
using Chronos.Data.Processing;
|
||||
using Chronos.Data.Scheduling;
|
||||
using Chronos.Protocol.Client;
|
||||
|
||||
namespace Chronos.App.Infrastructure;
|
||||
|
||||
/// <summary>
|
||||
/// Composition root of local mode (BRIEF §4.4): the SQLite index under the data folder (migrated on open, a restore
|
||||
/// staged in Settings › Advanced carried out first, then copied once a day into the backups folder), the archive engine
|
||||
/// (WIC first, then managed decoders), the analysis and render engine (the same decoders; Media Foundation, then
|
||||
/// managed encoders), the one <see cref="JobEngine"/> of this PC with the handlers of <see cref="CreateJobHandlers"/>,
|
||||
/// thumbnails, the server session, the render node, the encoder and format inventories, the update check and the sync
|
||||
/// with the signed-in server (<see cref="SyncHost"/>). Started after the window shows, stopped when the app exits. The
|
||||
/// archive at Settings › Archive's folder is reopened at start and rescanned every <see cref="ScanInterval"/>, as is one
|
||||
/// chosen later (BRIEF §7: polling, no file-system watchers). Jobs follow Settings › Rendering and Analysis from the
|
||||
/// staged in Settings › Advanced carried out first), the archive engine (WIC first, then managed decoders), the analysis
|
||||
/// and render engine (the same decoders; Media Foundation, then managed encoders), the one <see cref="JobEngine"/> of
|
||||
/// this PC with the handlers of <see cref="CreateJobHandlers"/>, the <see cref="Data.Scheduling.Scheduler"/> that queues the
|
||||
/// recurring work (owner review 2, R10: the archive scan, the daily index backup and the housekeeping are its system
|
||||
/// schedules, <see cref="DesktopScheduleHost"/>), thumbnails, the server session, the render node, the encoder and format
|
||||
/// inventories, the update check and the sync with the signed-in server (<see cref="SyncHost"/>). Started after the
|
||||
/// window shows, stopped when the app exits. The archive at Settings › Archive's folder is reopened at start before the
|
||||
/// scheduler starts, and while it is unplugged every <see cref="ReopenInterval"/> until it is back; the schedules follow
|
||||
/// the folder, also one chosen later (BRIEF §7: polling, no file-system watchers). Jobs follow Settings › Rendering and Analysis from the
|
||||
/// next one on (memory budget, quality profile, analysis parameters through <see cref="ProcessingTuning"/>; parallelism
|
||||
/// as the engine's workers). The render node runs while the user offers this PC (<see cref="AppSettings.RenderNodeOptIn"/>)
|
||||
/// and a server session is open (never in capture mode). Renders and the render node use hardware encoders as
|
||||
@@ -52,9 +55,8 @@ public sealed class AppServices : IAsyncDisposable
|
||||
private static readonly Lazy<HttpClient> DownloadHttp = new(() => new HttpClient { Timeout = Timeout.InfiniteTimeSpan });
|
||||
private readonly CancellationTokenSource _stopping = new();
|
||||
private readonly Dictionary<Guid, Guid> _scans = [];
|
||||
private Task _polling = Task.CompletedTask;
|
||||
private Task _backups = Task.CompletedTask;
|
||||
private PeriodicTimer? _pollTimer;
|
||||
private readonly TaskCompletionSource<bool> _schedulerReady = new(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
private Task _schedules = Task.CompletedTask;
|
||||
private WicDecoderProvider? _wic;
|
||||
private readonly RenderNodeHost _renderNode;
|
||||
private ServerSession _server = null!;
|
||||
@@ -68,6 +70,7 @@ public sealed class AppServices : IAsyncDisposable
|
||||
_renderNode = new RenderNodeHost(StartRenderNode);
|
||||
ArchiveSetup = new EngineArchiveSetup(this);
|
||||
Sync = new SyncHost(this);
|
||||
ScheduleHost = new DesktopScheduleHost(settings, () => Database, () => Archives);
|
||||
Server = new ServerSession(settings, saveSettings, new ChronosServerApiFactory(), new DpapiTokenProtector());
|
||||
Encoders = new MediaFoundationInventory();
|
||||
Formats = new WicFormatInventory(() => _wic);
|
||||
@@ -113,8 +116,20 @@ public sealed class AppServices : IAsyncDisposable
|
||||
/// <summary>Decode tier per format on this PC and the missing codec extensions (Settings › Formats).</summary>
|
||||
public IFormatInventory Formats { get; set; }
|
||||
|
||||
/// <summary>Time between the rescans of the open archive (Settings › Archive).</summary>
|
||||
public TimeSpan ScanInterval => TimeSpan.FromMinutes(int.Clamp(Settings.ScanIntervalMinutes, 1, 24 * 60));
|
||||
/// <summary>How often an archive that was unplugged at start is looked for again, until it is back.</summary>
|
||||
public static TimeSpan ReopenInterval { get; } = TimeSpan.FromMinutes(1);
|
||||
|
||||
/// <summary>What the scheduler works with on this PC: its zone, the current archive, the system schedules.</summary>
|
||||
public DesktopScheduleHost ScheduleHost { get; }
|
||||
|
||||
/// <summary>The schedules of this PC (Jobs › Scheduled); null until they run (<see cref="SchedulerReady"/>).</summary>
|
||||
public Scheduler? Scheduler { get; private set; }
|
||||
|
||||
/// <summary>True once <see cref="Scheduler"/> runs; false when it never will (no index, no engine, it failed, the app stops).</summary>
|
||||
public Task<bool> SchedulerReady => _schedulerReady.Task;
|
||||
|
||||
/// <summary>The clock of the schedules; the capture stops it at its sample moment.</summary>
|
||||
public TimeProvider SchedulerTime { get; set; } = TimeProvider.System;
|
||||
|
||||
/// <summary>How the restore staged in Settings › Advanced went when the index opened; null when none was staged.</summary>
|
||||
public StagedRestoreResult? StagedRestore { get; private set; }
|
||||
@@ -186,13 +201,13 @@ public sealed class AppServices : IAsyncDisposable
|
||||
public void SavePreferences() => SaveSettingsAction();
|
||||
|
||||
/// <summary>
|
||||
/// The archive's rescan interval, now, and a review of the priority queue (Settings › Rendering): turned on, it may make
|
||||
/// the running job yield at once. The parallelism applies from the next sequence or job.
|
||||
/// A review of the priority queue (Settings › Rendering): turned on, it may make the running job yield at once; and a
|
||||
/// pass of the schedules, whose runs read the settings. The parallelism applies from the next sequence or job.
|
||||
/// </summary>
|
||||
public void ApplyJobSettings()
|
||||
{
|
||||
Engine?.Wake();
|
||||
if (_pollTimer is { } timer && timer.Period != ScanInterval) timer.Period = ScanInterval;
|
||||
Scheduler?.Wake();
|
||||
}
|
||||
|
||||
/// <summary>Photos the running job of this PC processes at once (Settings › Rendering › Parallelism, Auto: half the logical cores).</summary>
|
||||
@@ -216,8 +231,8 @@ public sealed class AppServices : IAsyncDisposable
|
||||
|
||||
/// <summary>
|
||||
/// Opens (or creates) the index at <paramref name="databasePath"/>, migrates it (after a restore staged in Settings ›
|
||||
/// Advanced replaced it, which needs no open index: it also recovers one that no longer opens), starts the job engine
|
||||
/// and the daily backups.
|
||||
/// Advanced replaced it, which needs no open index: it also recovers one that no longer opens), starts the job engine,
|
||||
/// then in the background reopens the archive and starts the schedules (<see cref="SchedulerReady"/>).
|
||||
/// </summary>
|
||||
public async Task OpenAsync(string databasePath, CancellationToken ct = default)
|
||||
{
|
||||
@@ -236,26 +251,29 @@ public sealed class AppServices : IAsyncDisposable
|
||||
await StartJobsAsync(Database, startEngine: true, ct);
|
||||
Thumbnails = new ThumbnailService(Database, Settings.ThumbnailMemoryItems);
|
||||
Devices.Start();
|
||||
var database = Database;
|
||||
_backups = Task.Run(() => DatabaseBackups.RunDailyAsync(database, Environment.BackupDirectory, null, _stopping.Token));
|
||||
_polling = PollAsync(_stopping.Token);
|
||||
_schedules = RunSchedulesAsync(_stopping.Token);
|
||||
}
|
||||
|
||||
/// <summary>Uses an already open index (capture, tests) instead of opening one; sample data keeps the engine stopped.</summary>
|
||||
/// <summary>
|
||||
/// Uses an already open index (capture, tests) instead of opening one, and starts the schedules (no archive to reopen);
|
||||
/// sample data keeps the engine stopped.
|
||||
/// </summary>
|
||||
public async Task AttachAsync(ChronosDatabase database, bool startEngine = true, CancellationToken ct = default)
|
||||
{
|
||||
Database = database;
|
||||
await StartJobsAsync(database, startEngine, ct);
|
||||
Thumbnails = new ThumbnailService(database, Settings.ThumbnailMemoryItems);
|
||||
await StartSchedulerAsync(ct);
|
||||
}
|
||||
|
||||
/// <summary>Stops polling, the render node and the engine, then closes the index. The app's exit waits for this on the UI
|
||||
/// thread, so nothing here continues on it.</summary>
|
||||
/// <summary>Stops the schedules, the render node and the engine, then closes the index. The app's exit waits for this on
|
||||
/// the UI thread, so nothing here continues on it.</summary>
|
||||
public async ValueTask DisposeAsync()
|
||||
{
|
||||
await _stopping.CancelAsync().ConfigureAwait(false);
|
||||
await _polling.ConfigureAwait(false);
|
||||
await _backups.ConfigureAwait(false);
|
||||
await _schedules.ConfigureAwait(false);
|
||||
_schedulerReady.TrySetResult(false);
|
||||
if (Scheduler is not null) await Scheduler.DisposeAsync().ConfigureAwait(false);
|
||||
_stopping.Dispose();
|
||||
_server.PropertyChanged -= OnServerChanged;
|
||||
await _renderNode.DisposeAsync().ConfigureAwait(false);
|
||||
@@ -268,66 +286,77 @@ public sealed class AppServices : IAsyncDisposable
|
||||
if (Database is not null) await Database.DisposeAsync().ConfigureAwait(false);
|
||||
}
|
||||
|
||||
/// <summary>The period of the rescans while they run (Settings › Archive › Rescan every); null before the index opens.</summary>
|
||||
internal TimeSpan? PollingPeriod => _pollTimer?.Period;
|
||||
|
||||
/// <summary>
|
||||
/// One rescan of the polling, off the UI thread: the archive the Import and Archive screens work on
|
||||
/// (<see cref="CurrentArchive"/>, the one at Settings › Archive's folder) first takes the settings another process
|
||||
/// sharing it wrote into its archive.json (also on a read-only share), then gets an incremental scan while it is
|
||||
/// online. Returns that archive; null when the index holds none.
|
||||
/// At start, off the UI thread: reopens the archive at Settings › Archive's folder (a moved one relinked, interrupted
|
||||
/// renames finished), then starts the schedules, whose first pass settles the runs missed while Chronos was closed. An
|
||||
/// archive whose archive.json is not there (an unplugged drive) is looked for every <see cref="ReopenInterval"/> until
|
||||
/// it is back, then the schedules look at once for a due run; unless the folder changed meanwhile: whatever changed it
|
||||
/// opened the new archive. The app's exit waits for this on the UI thread.
|
||||
/// </summary>
|
||||
internal Task<Archive?> RescanAsync(CancellationToken ct = default) => Task.Run(async () =>
|
||||
{
|
||||
if (Database is not { } db || Archives is not { } archives) return null;
|
||||
var archive = CurrentArchive.Pick(await db.Archives.ListAsync(ct).ConfigureAwait(false), Settings.LastArchivePath);
|
||||
if (archive is null) return null;
|
||||
var availability = ArchiveService.GetAvailability(archive);
|
||||
if (availability != ArchiveAvailability.Offline) await archives.RefreshSettingsAsync(archive.Id, ct).ConfigureAwait(false);
|
||||
if (availability == ArchiveAvailability.Online) await QueueScanAsync(archive, full: false, ct).ConfigureAwait(false);
|
||||
return archive;
|
||||
}, ct);
|
||||
|
||||
/// <summary>
|
||||
/// Rescans the archive now and every <see cref="ScanInterval"/> (<see cref="RescanAsync"/>) until the app exits, which
|
||||
/// waits for it on the UI thread. Each rescan follows the archive folder: one chosen on the first run, in Settings or
|
||||
/// by a relink is rescanned from the next tick on, the one before no longer. The archive at the folder of the start is
|
||||
/// first reopened (a moved one relinked, interrupted renames finished), at each tick until its archive.json is there
|
||||
/// (an unplugged drive), unless the folder changed meanwhile: whatever changed it opened the new archive.
|
||||
/// </summary>
|
||||
private async Task PollAsync(CancellationToken ct)
|
||||
private async Task RunSchedulesAsync(CancellationToken ct)
|
||||
{
|
||||
var reopen = Settings.LastArchivePath is { Length: > 0 } start ? start : null;
|
||||
// Settings › Archive changes the period of this timer (ApplyJobSettings).
|
||||
using var timer = _pollTimer = new PeriodicTimer(ScanInterval);
|
||||
try
|
||||
{
|
||||
do
|
||||
if (reopen is not null && await ReopenAsync(reopen, ct).ConfigureAwait(false)) reopen = null;
|
||||
await StartSchedulerAsync(ct).ConfigureAwait(false);
|
||||
if (reopen is null) return;
|
||||
using var timer = new PeriodicTimer(ReopenInterval);
|
||||
while (await timer.WaitForNextTickAsync(ct).ConfigureAwait(false))
|
||||
{
|
||||
if (reopen is not null
|
||||
&& (!string.Equals(reopen, Settings.LastArchivePath, StringComparison.OrdinalIgnoreCase) || await ReopenAsync(reopen, ct).ConfigureAwait(false)))
|
||||
reopen = null;
|
||||
try
|
||||
{
|
||||
await RescanAsync(ct).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or InvalidDataException or DatabaseException or ArgumentException)
|
||||
{
|
||||
// The next tick tries again (a share that dropped, an archive removed from the index meanwhile).
|
||||
Log.Warning("archive", "The archive could not be rescanned", ex);
|
||||
}
|
||||
if (!string.Equals(reopen, Settings.LastArchivePath, StringComparison.OrdinalIgnoreCase)) return;
|
||||
if (!await ReopenAsync(reopen, ct).ConfigureAwait(false)) continue;
|
||||
Scheduler?.Wake();
|
||||
return;
|
||||
}
|
||||
while (await timer.WaitForNextTickAsync(ct).ConfigureAwait(false));
|
||||
}
|
||||
catch (OperationCanceledException) when (ct.IsCancellationRequested)
|
||||
{
|
||||
}
|
||||
catch (Exception ex) when (ex is not OperationCanceledException)
|
||||
{
|
||||
// The exit waits for this task: nothing it throws may stop the app from closing.
|
||||
Log.Error("schedules", "The archive could not be reopened or the schedules started", ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
_pollTimer = null;
|
||||
_schedulerReady.TrySetResult(false);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Starts <see cref="Scheduler"/> on this PC's engine: it seeds the system schedules and runs its first pass before
|
||||
/// <see cref="SchedulerReady"/> turns true. Without an engine, or when the schedules cannot be read, there is none.
|
||||
/// </summary>
|
||||
private async Task StartSchedulerAsync(CancellationToken ct)
|
||||
{
|
||||
if (Database is not { } db || Engine is not { } engine || Scheduler is not null)
|
||||
{
|
||||
_schedulerReady.TrySetResult(Scheduler is not null);
|
||||
return;
|
||||
}
|
||||
var scheduler = new Scheduler(db, engine, new SchedulerOptions { Time = SchedulerTime });
|
||||
try
|
||||
{
|
||||
await Task.Run(() => scheduler.StartAsync(ScheduleHost, ct), ct).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex) when (ex is DatabaseException or IOException or InvalidOperationException or ArgumentException)
|
||||
{
|
||||
Log.Error("schedules", "The schedules could not be started; nothing recurring runs until the next start", ex);
|
||||
await scheduler.DisposeAsync().ConfigureAwait(false);
|
||||
_schedulerReady.TrySetResult(false);
|
||||
return;
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
await scheduler.DisposeAsync().ConfigureAwait(false);
|
||||
throw;
|
||||
}
|
||||
Scheduler = scheduler;
|
||||
Log.Info("schedules", "Schedules started");
|
||||
_schedulerReady.TrySetResult(true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Registers the archive at <paramref name="root"/> again as at open; false while its archive.json is not there. A
|
||||
/// damaged or newer one is not tried again: the archive the index holds at the folder is still rescanned.
|
||||
@@ -385,6 +414,9 @@ public sealed class AppServices : IAsyncDisposable
|
||||
Decoder = DecoderFactory.CreateClient(_wic),
|
||||
Parallelism = () => Parallelism,
|
||||
MemoryBudget = () => ProcessingTuning.MemoryBudget(Settings, GC.GetGCMemoryInfo().TotalAvailableMemoryBytes),
|
||||
// The housekeeping schedule trims the cache to Settings › Storage › Cache limit (owner review 2, R10).
|
||||
CleanupSteps = [new CacheTrimStep(() => CacheStore.Folder(Environment, Settings), () => Settings.CacheLimitGb * (1L << 30))],
|
||||
BackupDirectory = Environment.BackupDirectory,
|
||||
};
|
||||
Archives = new ArchiveService(database, archive);
|
||||
Processing = new ProcessingService(database, ProcessingOptions(archive));
|
||||
|
||||
@@ -97,7 +97,11 @@ public sealed class AppSettings
|
||||
/// <summary>Thumbnail long edge of new archives (also written into the open archive), BRIEF §8.5.</summary>
|
||||
public int ThumbnailLongEdge { get; set; } = 320;
|
||||
|
||||
/// <summary>Minutes between the rescans of the open archive (BRIEF §7: polling by mtime and size, no file-system watchers).</summary>
|
||||
/// <summary>
|
||||
/// Obsolete (owner review 2, R10): the former Settings › Archive › Rescan every. Nothing edits it any more; it only seeds
|
||||
/// the interval of the <c>archive-scan</c> schedule (<see cref="Jobs.DesktopScheduleHost"/>) the first time it is created,
|
||||
/// and is what Reset puts that schedule back to. The schedule's own interval is edited in Jobs › Scheduled.
|
||||
/// </summary>
|
||||
public int ScanIntervalMinutes { get; set; } = DefaultScanIntervalMinutes;
|
||||
|
||||
// ---- Import (defaults of new cards and folders; a card's own profile wins) ----
|
||||
|
||||
@@ -116,8 +116,15 @@ public static class DiagnosticsBundle
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>What <see cref="CacheStore.Trim"/> did: the cache's size before, the bytes and files it deleted.</summary>
|
||||
public sealed record CacheTrimResult(long Before, long Freed, int Deleted)
|
||||
{
|
||||
/// <summary>The cache's size afterwards.</summary>
|
||||
public long After => Before - Freed;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The disk cache (spilled frames, thumbnails): its folder, its size and clearing it. Only a folder Chronos created
|
||||
/// The disk cache (spilled frames, thumbnails): its folder, its size, trimming and clearing it. Only a folder Chronos created
|
||||
/// (it carries a marker file) is ever emptied, so pointing the cache at a folder with user files cannot delete them.
|
||||
/// </summary>
|
||||
public static class CacheStore
|
||||
@@ -181,6 +188,69 @@ public static class CacheStore
|
||||
return freed;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Brings an owned cache folder down to <paramref name="limitBytes"/> (owner review 2, R10: the housekeeping
|
||||
/// schedule's cache step): the least recently written files go first, files in use stay (a render spilling, an import
|
||||
/// staging), and so does everything under the <paramref name="keep"/> folders (relative to the cache: sets that must
|
||||
/// stay whole), which still counts towards the size. Null when the folder is not a Chronos cache folder: nothing is
|
||||
/// deleted there.
|
||||
/// </summary>
|
||||
public static CacheTrimResult? Trim(string folder, long limitBytes, IReadOnlyCollection<string>? keep = null, CancellationToken ct = default)
|
||||
{
|
||||
if (!Directory.Exists(folder)) return new CacheTrimResult(0, 0, 0);
|
||||
if (!IsOwned(folder)) return null;
|
||||
var root = new DirectoryInfo(folder);
|
||||
var kept = (keep ?? []).Select(k => Path.TrimEndingDirectorySeparator(Path.GetFullPath(Path.Combine(root.FullName, k))) + Path.DirectorySeparatorChar).ToList();
|
||||
var marker = Path.Combine(root.FullName, MarkerFile);
|
||||
var options = new EnumerationOptions { RecurseSubdirectories = true, IgnoreInaccessible = true, AttributesToSkip = FileAttributes.ReparsePoint };
|
||||
var candidates = new List<FileInfo>();
|
||||
long size = 0;
|
||||
foreach (var file in root.EnumerateFiles("*", options))
|
||||
{
|
||||
size += file.Length;
|
||||
if (file.FullName.Equals(marker, StringComparison.OrdinalIgnoreCase)
|
||||
|| kept.Any(k => file.FullName.StartsWith(k, StringComparison.OrdinalIgnoreCase))) continue;
|
||||
candidates.Add(file);
|
||||
}
|
||||
var before = size;
|
||||
long freed = 0;
|
||||
var deleted = 0;
|
||||
foreach (var file in candidates.OrderBy(f => f.LastWriteTimeUtc))
|
||||
{
|
||||
if (size <= limitBytes) break;
|
||||
ct.ThrowIfCancellationRequested();
|
||||
// Read before the delete: a deleted file has no length.
|
||||
var length = file.Length;
|
||||
if (!TryDeleteUnused(file)) continue;
|
||||
size -= length;
|
||||
freed += length;
|
||||
deleted++;
|
||||
}
|
||||
return new CacheTrimResult(before, freed, deleted);
|
||||
}
|
||||
|
||||
/// <summary>Deletes a file nobody has open; false for one in use or protected.</summary>
|
||||
private static bool TryDeleteUnused(FileInfo file)
|
||||
{
|
||||
try
|
||||
{
|
||||
// A file open anywhere else (written, read or mapped) cannot be opened exclusively: it stays.
|
||||
using (new FileStream(file.FullName, FileMode.Open, FileAccess.ReadWrite, FileShare.None))
|
||||
{
|
||||
}
|
||||
file.Delete();
|
||||
return true;
|
||||
}
|
||||
catch (IOException)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
catch (UnauthorizedAccessException)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private static long TryDelete(FileInfo file)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -0,0 +1,119 @@
|
||||
using System.IO;
|
||||
using Chronos.App.Archiving;
|
||||
using Chronos.App.Infrastructure;
|
||||
using Chronos.Core.Archiving;
|
||||
using Chronos.Core.Diagnostics;
|
||||
using Chronos.Core.Localization;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Data;
|
||||
using Chronos.Data.Archiving;
|
||||
using Chronos.Data.Archiving.Jobs;
|
||||
using Chronos.Data.Housekeeping;
|
||||
using Chronos.Data.Scheduling;
|
||||
using Chronos.Protocol;
|
||||
|
||||
namespace Chronos.App.Jobs;
|
||||
|
||||
/// <summary>
|
||||
/// The desktop's <see cref="IScheduleHost"/> (owner review 2, R10). Times are the PC's; schedules work on the archive at
|
||||
/// Settings › Archive's folder (<see cref="CurrentArchive"/>), which first takes the settings another process sharing it
|
||||
/// wrote into its archive.json, as the rescans before it did, and counts as none while it is offline (an unplugged
|
||||
/// drive). The system schedules stand for the timers the desktop used to run out of sight: the archive scan (its interval
|
||||
/// carried over from the former Settings › Archive › Rescan every, <see cref="AppSettings.ScanIntervalMinutes"/>, once:
|
||||
/// a row that exists keeps the user's edits), the daily index backup, and the housekeeping clean-up at 04:00 (job history,
|
||||
/// cache trim). Thread-safe: the scheduler calls it from its loop.
|
||||
/// </summary>
|
||||
public sealed class DesktopScheduleHost(AppSettings settings, Func<ChronosDatabase?> database, Func<ArchiveService?> archives) : IScheduleHost
|
||||
{
|
||||
/// <summary>Incremental scan of the archive, every <see cref="AppSettings.ScanIntervalMinutes"/> (10) minutes, no catch-up.</summary>
|
||||
public const string ArchiveScan = "archive-scan";
|
||||
|
||||
/// <summary>Copy of the index into the backups folder, every day, with catch-up (it replaced the daily backup loop).</summary>
|
||||
public const string IndexBackup = "index-backup";
|
||||
|
||||
/// <summary>Clean-up of the job history and the cache, daily at 04:00, with catch-up.</summary>
|
||||
public const string Housekeeping = "housekeeping";
|
||||
|
||||
/// <summary>When the housekeeping runs.</summary>
|
||||
public static readonly TimeOnly HousekeepingTime = new(4, 0);
|
||||
|
||||
/// <summary>The PC's zone; tests set another.</summary>
|
||||
public TimeZoneInfo TimeZone { get; init; } = TimeZoneInfo.Local;
|
||||
|
||||
public IReadOnlyList<SystemSchedule> SystemSchedules =>
|
||||
[
|
||||
new(ArchiveScan, "Archive scan", ScheduleActions.Scan, ScheduleRecurrence.Interval(ScanMinutes(settings), RecurrenceUnit.Minutes),
|
||||
new ScheduleParametersDto(Force: false, Deep: settings.DeepAnalysisAfterScan), CatchUp: false),
|
||||
new(IndexBackup, "Index backup", ScheduleActions.Backup, ScheduleRecurrence.Interval(1, RecurrenceUnit.Days),
|
||||
new ScheduleParametersDto(Keep: DatabaseBackups.Keep)),
|
||||
new(Housekeeping, "Housekeeping", ScheduleActions.Cleanup, ScheduleRecurrence.DailyAt(HousekeepingTime),
|
||||
new ScheduleParametersDto(Steps: [Chronos.Data.Housekeeping.CleanupSteps.JobHistory, CacheTrimStep.StepName],
|
||||
OlderThanDays: Chronos.Data.Housekeeping.CleanupSteps.DefaultHistoryDays)),
|
||||
];
|
||||
|
||||
public IReadOnlyList<string> CleanupSteps => archives()?.CleanupSteps.Select(s => s.Name).ToList() ?? [];
|
||||
|
||||
/// <summary>
|
||||
/// The interval the scan schedule is seeded with (and reset to): the former rescan setting, within what an interval
|
||||
/// accepts (5 minutes to a day).
|
||||
/// </summary>
|
||||
public static int ScanMinutes(AppSettings settings)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(settings);
|
||||
return int.Clamp(settings.ScanIntervalMinutes, ScheduleRecurrence.MinMinutes, ScheduleRecurrence.MaxMinutes);
|
||||
}
|
||||
|
||||
public async ValueTask<Archive?> GetArchiveAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
if (database() is not { } db || archives() is not { } service) return null;
|
||||
var archive = CurrentArchive.Pick(await db.Archives.ListAsync(cancellationToken).ConfigureAwait(false), settings.LastArchivePath);
|
||||
if (archive is null || ArchiveService.GetAvailability(archive) == ArchiveAvailability.Offline) return null;
|
||||
try
|
||||
{
|
||||
await service.RefreshSettingsAsync(archive.Id, cancellationToken).ConfigureAwait(false);
|
||||
return await db.Archives.GetAsync(archive.Id, cancellationToken).ConfigureAwait(false) ?? archive;
|
||||
}
|
||||
catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or InvalidDataException or DatabaseException or NewerFormatException)
|
||||
{
|
||||
// The settings as last read: the run still works on the archive, the next one reads them again.
|
||||
Log.Warning("schedules", $"The settings of {archive.RootPath} could not be read again", ex);
|
||||
return archive;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>The desktop runs every action its engine has a handler for.</summary>
|
||||
public string? Unavailable(string action) => null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The desktop's clean-up step <c>cache-trim</c> (owner review 2, R10): brings the cache folder down to Settings › Storage ›
|
||||
/// Cache limit, oldest files first, skipping files in use (<see cref="CacheStore.Trim"/>). The proxies of server sequences
|
||||
/// (complete sets the sync keeps), the render node's folder (it trims its own downloads to the same limit) and the copies an
|
||||
/// import to the server stages are never trimmed; Settings › Storage › Clear still empties everything.
|
||||
/// </summary>
|
||||
public sealed class CacheTrimStep(Func<string> folder, Func<long> limitBytes) : ICleanupStep
|
||||
{
|
||||
public const string StepName = "cache-trim";
|
||||
|
||||
/// <summary>Folders of the cache the trim leaves whole.</summary>
|
||||
public static IReadOnlyList<string> Kept { get; } = ["proxies", "render-node", "server-import"];
|
||||
|
||||
public string Name => StepName;
|
||||
|
||||
public Task<string> RunAsync(CleanupContext context, CleanupParameters parameters)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(context);
|
||||
var limit = limitBytes();
|
||||
return Task.Run(() =>
|
||||
{
|
||||
var result = CacheStore.Trim(folder(), limit, Kept, context.Cancellation);
|
||||
if (result is null) return Loc.L("Jobs.Log.CacheNotOwned");
|
||||
return result.Deleted == 0
|
||||
? Loc.L("Jobs.Log.CacheKept", Gigabytes(result.After), Gigabytes(limit))
|
||||
: Loc.L("Jobs.Log.CacheTrimmed", Gigabytes(result.After), Gigabytes(limit), Gigabytes(result.Freed));
|
||||
}, context.Cancellation);
|
||||
}
|
||||
|
||||
/// <summary>"12.4 GB" in the binary gigabytes of Settings › Storage › Cache limit.</summary>
|
||||
private static string Gigabytes(long bytes) => Loc.L("Common.Size.GB", (bytes / (double)(1L << 30)).ToString("0.#", Loc.Culture));
|
||||
}
|
||||
@@ -13,9 +13,10 @@ public enum JobNotice
|
||||
/// <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
|
||||
/// analysis queued after an import) and scans (the archive scan schedule runs every 10 minutes) end silently; an import
|
||||
/// has its own toast when it ends well, and a download shows on its Library card and Server row. Every other failure
|
||||
/// is said. Cancelled jobs were stopped on purpose.
|
||||
/// is said. A schedule's background run (owner review 2, R10: the index backup, a weekly verify) is said only when it
|
||||
/// fails, unless it is upkeep the next run repeats. Cancelled jobs were stopped on purpose.
|
||||
/// </summary>
|
||||
public static class JobNotices
|
||||
{
|
||||
@@ -26,7 +27,9 @@ public static class JobNotices
|
||||
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;
|
||||
if (before is JobState.Done or JobState.Failed or JobState.Cancelled) return JobNotice.None;
|
||||
if (job.Priority == JobPriority.Background)
|
||||
return job.ScheduleId is not null && job.State == JobState.Failed && !IsUpkeep(job.Kind) ? JobNotice.Failed : JobNotice.None;
|
||||
return job.State switch
|
||||
{
|
||||
JobState.Done when Announces(job.Kind) => JobNotice.Done,
|
||||
|
||||
@@ -36,6 +36,9 @@ public sealed class JobRowViewModel : ObservableObject
|
||||
|
||||
public string Target => _entry.Job.TargetLabel ?? string.Empty;
|
||||
|
||||
/// <summary>A schedule queued the job (owner review 2, R10): the row shows a "Scheduled" pill.</summary>
|
||||
public bool IsScheduled => _entry.Job.ScheduleId is not null;
|
||||
|
||||
/// <summary>"Render · Harbour sunset → 4K HEVC": the row's name for screen readers.</summary>
|
||||
public string AccessibleName => JobText.Name(_entry.Job);
|
||||
|
||||
|
||||
@@ -0,0 +1,245 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="clr-namespace:Chronos.Ui.Controls;assembly=Chronos.Ui"
|
||||
xmlns:v="clr-namespace:Chronos.Ui.Visuals;assembly=Chronos.Ui"
|
||||
xmlns:l="clr-namespace:Chronos.Ui.Localization;assembly=Chronos.Ui"
|
||||
xmlns:j="clr-namespace:Chronos.App.Jobs"
|
||||
xmlns:infra="clr-namespace:Chronos.App.Infrastructure">
|
||||
<!-- The in-window schedule editor of Jobs › Scheduled (owner review 2, R10), with the dialog kit of the Archive screen. -->
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/Chronos;component/Archive/ArchiveDialogs.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<!-- One editor row: the label column grows with the longest label (DESIGN §2), the controls take the rest. -->
|
||||
<Style x:Key="Grid.EditorRow" TargetType="Grid">
|
||||
<Setter Property="Margin" Value="0,0,0,10" />
|
||||
<Setter Property="MinHeight" Value="32" />
|
||||
</Style>
|
||||
|
||||
<!-- A choice of the action list: one this PC cannot run is disabled, its reason in the tooltip. -->
|
||||
<Style x:Key="ComboBoxItem.Action" TargetType="ComboBoxItem" BasedOn="{StaticResource {x:Type ComboBoxItem}}">
|
||||
<Setter Property="IsEnabled" Value="{Binding IsAvailable}" />
|
||||
<Setter Property="ToolTip" Value="{Binding ToolTip}" />
|
||||
<Setter Property="ToolTipService.ShowOnDisabled" Value="True" />
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding Label}" />
|
||||
<Setter Property="AutomationProperties.HelpText" Value="{Binding ToolTip}" />
|
||||
</Style>
|
||||
|
||||
<!-- A day of the week: a 44 px toggle, its full name in the tooltip. -->
|
||||
<Style x:Key="ToggleButton.Day" TargetType="ToggleButton" BasedOn="{StaticResource {x:Type ToggleButton}}">
|
||||
<Setter Property="MinWidth" Value="44" />
|
||||
<Setter Property="Padding" Value="8,0" />
|
||||
<Setter Property="Margin" Value="0,0,6,6" />
|
||||
</Style>
|
||||
|
||||
<DataTemplate DataType="{x:Type j:ScheduleEditorViewModel}">
|
||||
<Border Style="{StaticResource Border.Dialog}" Width="600" MaxHeight="720">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Text="{Binding Heading}" Style="{StaticResource Text.Title}" TextTrimming="CharacterEllipsis" ToolTip="{Binding Heading}" />
|
||||
<ScrollViewer Grid.Row="1" Margin="0,14,0,0" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled" Focusable="False">
|
||||
<StackPanel Grid.IsSharedSizeScope="True">
|
||||
<!-- Name: a system schedule keeps its own. -->
|
||||
<Grid Style="{StaticResource Grid.EditorRow}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Name}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<TextBox Grid.Column="1" Text="{Binding Name.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}" ToolTip="{Binding Name.ToolTip}"
|
||||
MaxLength="100" AutomationProperties.Name="{l:Loc Jobs.Editor.Name}"
|
||||
Visibility="{Binding IsSystem, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" />
|
||||
<TextBlock Grid.Column="1" Text="{Binding SystemName}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding Name.ToolTip}"
|
||||
Visibility="{Binding IsSystem, Converter={StaticResource BoolToVisibility}}" />
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Action}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<ComboBox Grid.Column="1" Width="240" HorizontalAlignment="Left" ItemsSource="{Binding ActionOptions}" SelectedItem="{Binding SelectedAction}"
|
||||
DisplayMemberPath="Label" ItemContainerStyle="{StaticResource ComboBoxItem.Action}" ToolTip="{Binding ActionToolTip}"
|
||||
ToolTipService.ShowOnDisabled="True" IsEnabled="{Binding CanChangeAction}"
|
||||
AutomationProperties.Name="{l:Loc Jobs.Editor.Action}" />
|
||||
</Grid>
|
||||
|
||||
<!-- When: the kind, then its own fields. -->
|
||||
<Grid Style="{StaticResource Grid.EditorRow}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Repeat}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<v:SegmentedControl Grid.Column="1" HorizontalAlignment="Left" SelectedIndex="{Binding KindIndex}" AutomationProperties.Name="{l:Loc Jobs.Editor.Repeat}">
|
||||
<v:SegmentedItem Content="{l:Loc Jobs.Editor.Every}" ToolTip="{l:Loc Tooltips.Jobs.Editor.KindEvery}" AutomationProperties.Name="{l:Loc Jobs.Editor.Every}" />
|
||||
<v:SegmentedItem Content="{l:Loc Jobs.Editor.Daily}" ToolTip="{l:Loc Tooltips.Jobs.Editor.KindDaily}" AutomationProperties.Name="{l:Loc Jobs.Editor.Daily}" />
|
||||
<v:SegmentedItem Content="{l:Loc Jobs.Editor.Weekly}" ToolTip="{l:Loc Tooltips.Jobs.Editor.KindWeekly}" AutomationProperties.Name="{l:Loc Jobs.Editor.Weekly}" />
|
||||
<v:SegmentedItem Content="{l:Loc Jobs.Editor.Monthly}" ToolTip="{l:Loc Tooltips.Jobs.Editor.KindMonthly}" AutomationProperties.Name="{l:Loc Jobs.Editor.Monthly}" />
|
||||
</v:SegmentedControl>
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding IsEvery, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Interval}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal">
|
||||
<TextBox Style="{StaticResource TextBox.Number}" Text="{Binding Every.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}"
|
||||
ToolTip="{Binding Every.ToolTip}" AutomationProperties.Name="{l:Loc Jobs.Editor.Interval}" />
|
||||
<ComboBox Width="120" Margin="8,0,0,0" ItemsSource="{Binding Units}" SelectedItem="{Binding SelectedUnit}" DisplayMemberPath="Label"
|
||||
ToolTip="{l:Loc Tooltips.Jobs.Editor.Unit}" AutomationProperties.Name="{l:Loc Jobs.Editor.Unit}" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding IsWeekly, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Days}" Style="{StaticResource Text.DialogLabel}" VerticalAlignment="Top" Margin="0,7,14,0" />
|
||||
<ItemsControl Grid.Column="1" ItemsSource="{Binding Days}" Focusable="False" AutomationProperties.Name="{l:Loc Jobs.Editor.Days}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<WrapPanel />
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ToggleButton Style="{StaticResource ToggleButton.Day}" Content="{Binding Label}" IsChecked="{Binding IsChecked}" ToolTip="{Binding ToolTip}"
|
||||
AutomationProperties.Name="{Binding ToolTip}" />
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding IsMonthly, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.DayOfMonth}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<TextBox Grid.Column="1" Style="{StaticResource TextBox.Number}" HorizontalAlignment="Left"
|
||||
Text="{Binding DayOfMonth.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}" ToolTip="{Binding DayOfMonth.ToolTip}"
|
||||
AutomationProperties.Name="{l:Loc Jobs.Editor.DayOfMonth}" />
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding HasTime, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Time}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<!-- Hours and minutes stay in their order in every language. -->
|
||||
<TextBox Grid.Column="1" Style="{StaticResource TextBox.Number}" HorizontalAlignment="Left" FlowDirection="LeftToRight"
|
||||
Text="{Binding Time.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}" ToolTip="{Binding Time.ToolTip}"
|
||||
AutomationProperties.Name="{l:Loc Jobs.Editor.Time}" />
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<!-- The recurrence as the table will show it. -->
|
||||
<TextBlock Grid.Column="1" Text="{Binding WhenText}" Foreground="{DynamicResource Brush.TextMuted}" VerticalAlignment="Center" TextTrimming="CharacterEllipsis"
|
||||
ToolTip="{l:Loc Tooltips.Jobs.Editor.When}" AutomationProperties.LiveSetting="Polite" infra:LiveRegion.Text="{Binding WhenText}" />
|
||||
</Grid>
|
||||
|
||||
<!-- The action's parameters. -->
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding ShowsOlderThan, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{Binding OlderThanLabel}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal">
|
||||
<TextBox Style="{StaticResource TextBox.Number}" Text="{Binding OlderThan.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}"
|
||||
ToolTip="{Binding OlderThan.ToolTip}" AutomationProperties.Name="{Binding OlderThanLabel}" />
|
||||
<TextBlock Style="{StaticResource Text.Hint}" Text="{l:Loc Jobs.Editor.DaysUnit}" Margin="8,0,0,0" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding ShowsPercent, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Percent}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal">
|
||||
<TextBox Style="{StaticResource TextBox.Number}" Text="{Binding Percent.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}"
|
||||
ToolTip="{Binding Percent.ToolTip}" AutomationProperties.Name="{l:Loc Jobs.Editor.Percent}" />
|
||||
<TextBlock Style="{StaticResource Text.Hint}" Text="{l:Loc Jobs.Editor.PercentUnit}" Margin="8,0,0,0" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding ShowsKeep, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Keep}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<TextBox Grid.Column="1" Style="{StaticResource TextBox.Number}" HorizontalAlignment="Left"
|
||||
Text="{Binding Keep.Text, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True}" ToolTip="{Binding Keep.ToolTip}"
|
||||
AutomationProperties.Name="{l:Loc Jobs.Editor.Keep}" />
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding ShowsSteps, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Steps}" Style="{StaticResource Text.DialogLabel}" VerticalAlignment="Top" Margin="0,4,14,0" />
|
||||
<ItemsControl Grid.Column="1" ItemsSource="{Binding Steps}" Focusable="False" AutomationProperties.Name="{l:Loc Jobs.Editor.Steps}">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<CheckBox Content="{Binding Label}" IsChecked="{Binding IsChecked}" ToolTip="{Binding ToolTip}" Margin="0,0,0,6" />
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Visibility="{Binding HasSwitches, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<WrapPanel Grid.Column="1" VerticalAlignment="Center">
|
||||
<CheckBox Content="{Binding ForceLabel}" IsChecked="{Binding Force}" ToolTip="{Binding ForceToolTip}" Margin="0,0,20,6"
|
||||
Visibility="{Binding ShowsForce, Converter={StaticResource BoolToVisibility}}" />
|
||||
<CheckBox Content="{l:Loc Jobs.Editor.Deep}" IsChecked="{Binding Deep}" ToolTip="{Binding DeepToolTip}" Margin="0,0,20,6"
|
||||
Visibility="{Binding ShowsDeep, Converter={StaticResource BoolToVisibility}}" />
|
||||
<CheckBox Content="{l:Loc Jobs.Editor.DryRun}" IsChecked="{Binding DryRun}" ToolTip="{l:Loc Tooltips.Jobs.Editor.DryRun}" Margin="0,0,20,6"
|
||||
Visibility="{Binding ShowsDryRun, Converter={StaticResource BoolToVisibility}}" />
|
||||
</WrapPanel>
|
||||
</Grid>
|
||||
|
||||
<!-- How its jobs run. -->
|
||||
<Grid Style="{StaticResource Grid.EditorRow}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{l:Loc Jobs.Editor.Priority}" Style="{StaticResource Text.DialogLabel}" />
|
||||
<ComboBox Grid.Column="1" Width="160" HorizontalAlignment="Left" ItemsSource="{Binding Priorities}" SelectedItem="{Binding SelectedPriority}"
|
||||
DisplayMemberPath="Label" ToolTip="{l:Loc Tooltips.Jobs.Editor.Priority}" AutomationProperties.Name="{l:Loc Jobs.Editor.Priority}" />
|
||||
</Grid>
|
||||
<Grid Style="{StaticResource Grid.EditorRow}" Margin="0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" MinWidth="116" SharedSizeGroup="EditorLabel" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<WrapPanel Grid.Column="1" VerticalAlignment="Center">
|
||||
<CheckBox Content="{l:Loc Jobs.Editor.CatchUp}" IsChecked="{Binding CatchUp}" ToolTip="{l:Loc Tooltips.Jobs.Editor.CatchUp}" Margin="0,0,20,0" />
|
||||
<CheckBox Content="{l:Loc Jobs.Editor.Enabled}" IsChecked="{Binding Enabled}" ToolTip="{l:Loc Tooltips.Jobs.Editor.Enabled}" />
|
||||
</WrapPanel>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
<DockPanel Grid.Row="2" Margin="0,18,0,0">
|
||||
<Button DockPanel.Dock="Right" Style="{StaticResource Button.Primary}" Content="{l:Loc Jobs.Editor.Save}" Command="{Binding SaveCommand}"
|
||||
ToolTip="{Binding SaveToolTip}" ToolTipService.ShowOnDisabled="True" MinWidth="96" Margin="8,0,0,0" />
|
||||
<Button DockPanel.Dock="Right" Content="{l:Loc Archive.Dialog.Cancel}" Command="{Binding CloseCommand}" ToolTip="{l:Loc Tooltips.Jobs.Editor.Cancel}" IsCancel="True"
|
||||
MinWidth="96" />
|
||||
<ui:StatusGlyph Style="{StaticResource Status.DialogError}" Margin="0,0,12,0" HorizontalAlignment="Left" />
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</DataTemplate>
|
||||
</ResourceDictionary>
|
||||
@@ -0,0 +1,545 @@
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Windows.Input;
|
||||
using Chronos.App.Settings;
|
||||
using Chronos.Core.Diagnostics;
|
||||
using Chronos.Core.Localization;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Data;
|
||||
using Chronos.Data.Jobs;
|
||||
using Chronos.Data.Scheduling;
|
||||
using Chronos.Protocol;
|
||||
using Chronos.Ui.Mvvm;
|
||||
|
||||
namespace Chronos.App.Jobs;
|
||||
|
||||
/// <summary>A text field of the schedule editor: checked as it is typed, its problem in the tooltip (DESIGN §4 inputs).</summary>
|
||||
public sealed class ScheduleField : ObservableObject, INotifyDataErrorInfo
|
||||
{
|
||||
private readonly Func<string, string?> _validate;
|
||||
private readonly Func<string> _toolTip;
|
||||
private string _text;
|
||||
private string? _error;
|
||||
|
||||
public ScheduleField(string text, Func<string, string?> validate, Func<string> toolTip)
|
||||
{
|
||||
_text = text;
|
||||
_validate = validate;
|
||||
_toolTip = toolTip;
|
||||
_error = validate(text);
|
||||
}
|
||||
|
||||
/// <summary>The text changed, or its problem did.</summary>
|
||||
public event Action? Changed;
|
||||
|
||||
public event EventHandler<DataErrorsChangedEventArgs>? ErrorsChanged;
|
||||
|
||||
public string Text
|
||||
{
|
||||
get => _text;
|
||||
set
|
||||
{
|
||||
if (!Set(ref _text, value ?? string.Empty)) return;
|
||||
Validate();
|
||||
Changed?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>The problem of the text; null when it is valid.</summary>
|
||||
public string? Error => _error;
|
||||
|
||||
public bool HasErrors => _error is not null;
|
||||
|
||||
/// <summary>The problem while invalid, otherwise what the field is for.</summary>
|
||||
public string ToolTip => _error ?? _toolTip();
|
||||
|
||||
public IEnumerable GetErrors(string? propertyName) =>
|
||||
_error is not null && propertyName is null or "" or nameof(Text) ? new[] { _error } : Array.Empty<string>();
|
||||
|
||||
/// <summary>Checks the text again (a rule it depends on changed: the interval's unit).</summary>
|
||||
public void Validate()
|
||||
{
|
||||
var error = _validate(_text);
|
||||
if (error == _error) return;
|
||||
_error = error;
|
||||
OnPropertyChanged(nameof(Error));
|
||||
OnPropertyChanged(nameof(HasErrors));
|
||||
OnPropertyChanged(nameof(ToolTip));
|
||||
ErrorsChanged?.Invoke(this, new DataErrorsChangedEventArgs(nameof(Text)));
|
||||
Changed?.Invoke();
|
||||
}
|
||||
|
||||
internal void Refresh()
|
||||
{
|
||||
_error = _validate(_text);
|
||||
OnPropertyChanged(string.Empty);
|
||||
ErrorsChanged?.Invoke(this, new DataErrorsChangedEventArgs(nameof(Text)));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>An action of the editor's list: unavailable ones are shown disabled, their reason in the tooltip.</summary>
|
||||
public sealed record ScheduleActionOption(string Name, bool IsAvailable, string? Reason)
|
||||
{
|
||||
public string Label => ScheduleText.Action(Name);
|
||||
|
||||
public string ToolTip => IsAvailable ? ScheduleText.ActionToolTip(Name) : ScheduleText.Unavailable(Reason);
|
||||
|
||||
public override string ToString() => Label;
|
||||
}
|
||||
|
||||
/// <summary>A checkable choice of the editor (a day of the week, a clean-up step).</summary>
|
||||
public sealed class ScheduleChoice<T>(T value, Func<string> label, Func<string> toolTip, bool isChecked, Action changed) : ObservableObject
|
||||
{
|
||||
private bool _isChecked = isChecked;
|
||||
|
||||
public T Value { get; } = value;
|
||||
|
||||
public string Label => label();
|
||||
|
||||
public string ToolTip => toolTip();
|
||||
|
||||
public bool IsChecked
|
||||
{
|
||||
get => _isChecked;
|
||||
set
|
||||
{
|
||||
if (Set(ref _isChecked, value)) changed();
|
||||
}
|
||||
}
|
||||
|
||||
internal void Refresh() => OnAllPropertiesChanged();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The in-window editor of a schedule (owner review 2, R10): its name (a system schedule keeps its own), its action (those
|
||||
/// this PC cannot run are disabled, their reason in the tooltip), when it runs (every n minutes, hours or days; daily,
|
||||
/// weekly or monthly at a time of this PC's zone), the action's parameters, the priority of its jobs, catch-up and on/off.
|
||||
/// Every field is checked as it is typed with the scheduler's own limits; Save stays off while one is invalid and its
|
||||
/// tooltip names the first problem. One primary action, one way out (Cancel, Esc).
|
||||
/// </summary>
|
||||
public sealed class ScheduleEditorViewModel : LocalizedViewModel
|
||||
{
|
||||
private readonly SchedulesViewModel _owner;
|
||||
private readonly ScheduleDto? _schedule;
|
||||
private ScheduleActionOption _action;
|
||||
private int _kindIndex;
|
||||
private SettingsOption<RecurrenceUnit> _unit;
|
||||
private SettingsOption<JobPriority> _priority;
|
||||
private bool _catchUp;
|
||||
private bool _enabled;
|
||||
private bool _force;
|
||||
private bool _deep;
|
||||
private bool _dryRun;
|
||||
private bool _isBusy;
|
||||
private string? _errorText;
|
||||
private string? _errorToolTip;
|
||||
private IReadOnlyList<ScheduleChoice<string>> _steps = [];
|
||||
|
||||
internal ScheduleEditorViewModel(SchedulesViewModel owner, ScheduleDto? schedule)
|
||||
{
|
||||
_owner = owner;
|
||||
_schedule = schedule;
|
||||
var available = owner.Actions;
|
||||
ActionOptions = [.. ScheduleActions.All.Select(a => available.FirstOrDefault(x => x.Name == a) is { } info
|
||||
? new ScheduleActionOption(a, info.Available, info.Reason)
|
||||
: new ScheduleActionOption(a, true, null))];
|
||||
_action = schedule is not null
|
||||
? ActionOptions.FirstOrDefault(o => o.Name == schedule.Action) ?? new ScheduleActionOption(schedule.Action, false, null)
|
||||
: ActionOptions.FirstOrDefault(o => o.IsAvailable) ?? ActionOptions[0];
|
||||
|
||||
Name = new ScheduleField(schedule is null ? string.Empty : schedule.Name, ValidateName, () => Loc.L(IsSystem ? "Tooltips.Jobs.Editor.SystemName" : "Tooltips.Jobs.Editor.Name"));
|
||||
|
||||
// When: the stored recurrence, or every day at 03:00 for a new schedule.
|
||||
var recurrence = ScheduleMapping.FromDto(schedule?.Recurrence) ?? ScheduleRecurrence.DailyAt(new TimeOnly(3, 0));
|
||||
_kindIndex = (int)recurrence.Kind;
|
||||
Units = [.. Enum.GetValues<RecurrenceUnit>().Select(u => new SettingsOption<RecurrenceUnit>(u, Loc.L("Jobs.Editor.Unit." + u)))];
|
||||
_unit = Units.First(u => u.Value == (recurrence.Kind == RecurrenceKind.Every ? recurrence.Unit : RecurrenceUnit.Hours));
|
||||
Every = new ScheduleField(Number(recurrence.Kind == RecurrenceKind.Every ? recurrence.Every : 6), ValidateEvery, () => Loc.L("Tooltips.Jobs.Editor.Every"));
|
||||
Time = new ScheduleField(recurrence.Time.ToString("HH:mm", CultureInfo.InvariantCulture), ValidateTime, () => Loc.L("Tooltips.Jobs.Editor.Time"));
|
||||
var weekly = recurrence.Kind == RecurrenceKind.Weekly ? recurrence.Days : [DayOfWeek.Monday];
|
||||
var first = Loc.Culture.DateTimeFormat.FirstDayOfWeek;
|
||||
Days = [.. Enumerable.Range(0, 7).Select(i => (DayOfWeek)(((int)first + i) % 7)).Select(d =>
|
||||
new ScheduleChoice<DayOfWeek>(d, () => ScheduleText.DayShort(d), () => ScheduleText.DayLong(d), weekly.Contains(d), OnChanged))];
|
||||
DayOfMonth = new ScheduleField(Number(recurrence.Kind == RecurrenceKind.Monthly ? recurrence.DayOfMonth : 1), ValidateDayOfMonth,
|
||||
() => Loc.L("Tooltips.Jobs.Editor.DayOfMonth"));
|
||||
|
||||
OlderThan = new ScheduleField(string.Empty, v => ValidateNumber(v, 0, ScheduleActions.MaxDays), () => Loc.L(IsVerify ? "Tooltips.Jobs.Editor.Unverified" : "Tooltips.Jobs.Editor.OlderThan"));
|
||||
Percent = new ScheduleField(string.Empty, v => ValidateNumber(v, 1, 100), () => Loc.L("Tooltips.Jobs.Editor.Percent"));
|
||||
Keep = new ScheduleField(string.Empty, v => ValidateNumber(v, 1, 100), () => Loc.L("Tooltips.Jobs.Editor.Keep"));
|
||||
LoadParameters(schedule?.Parameters ?? ScheduleActions.Defaults(_action.Name));
|
||||
|
||||
Priorities = [.. new[] { JobPriority.Background, JobPriority.Normal, JobPriority.User }.Select(p => new SettingsOption<JobPriority>(p, ScheduleText.Priority(p)))];
|
||||
var priority = schedule is not null && JobWire.TryParsePriority(schedule.Priority, out var stored) ? stored : JobPriority.Background;
|
||||
_priority = Priorities.First(p => p.Value == priority);
|
||||
_catchUp = schedule?.CatchUp ?? true;
|
||||
_enabled = schedule?.Enabled ?? true;
|
||||
|
||||
foreach (var field in new[] { Name, Every, Time, DayOfMonth, OlderThan, Percent, Keep }) field.Changed += OnChanged;
|
||||
SaveCommand = new AsyncRelayCommand(SaveAsync, () => !_isBusy && Problem() is null);
|
||||
CloseCommand = new RelayCommand(() => _owner.CloseEditor(this), () => !_isBusy);
|
||||
}
|
||||
|
||||
/// <summary>The schedule edited; null for a new one.</summary>
|
||||
public Guid? ScheduleId => _schedule?.Id;
|
||||
|
||||
public bool IsNew => _schedule is null;
|
||||
|
||||
/// <summary>A system schedule keeps its name and action.</summary>
|
||||
public bool IsSystem => _schedule?.SystemKey is not null;
|
||||
|
||||
public string Heading => _schedule is null ? Loc.L("Jobs.Schedule.New") : Loc.L("Jobs.Editor.Heading", ScheduleText.Name(_schedule));
|
||||
|
||||
public ScheduleField Name { get; }
|
||||
|
||||
/// <summary>The name shown for a system schedule, which is not edited.</summary>
|
||||
public string SystemName => _schedule is null ? string.Empty : ScheduleText.Name(_schedule);
|
||||
|
||||
public IReadOnlyList<ScheduleActionOption> ActionOptions { get; }
|
||||
|
||||
public ScheduleActionOption SelectedAction
|
||||
{
|
||||
get => _action;
|
||||
set
|
||||
{
|
||||
if (value is null || !value.IsAvailable || IsSystem || !Set(ref _action, value)) return;
|
||||
// Another action starts from its own defaults, as the scheduler does.
|
||||
LoadParameters(ScheduleActions.Defaults(value.Name));
|
||||
OnPropertyChanged(string.Empty);
|
||||
OnChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public string ActionToolTip => IsSystem ? Loc.L("Tooltips.Jobs.Editor.SystemAction") : _action.ToolTip;
|
||||
|
||||
/// <summary>The action can be chosen (not for a system schedule).</summary>
|
||||
public bool CanChangeAction => !IsSystem;
|
||||
|
||||
// ---------------- When ----------------
|
||||
|
||||
/// <summary>0 every, 1 daily, 2 weekly, 3 monthly (the segmented control's index; <see cref="RecurrenceKind"/> order).</summary>
|
||||
public int KindIndex
|
||||
{
|
||||
get => _kindIndex;
|
||||
set
|
||||
{
|
||||
if (value is < 0 or > 3 || !Set(ref _kindIndex, value)) return;
|
||||
OnPropertyChanged(nameof(IsEvery));
|
||||
OnPropertyChanged(nameof(HasTime));
|
||||
OnPropertyChanged(nameof(IsWeekly));
|
||||
OnPropertyChanged(nameof(IsMonthly));
|
||||
OnChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public RecurrenceKind Kind => (RecurrenceKind)_kindIndex;
|
||||
|
||||
public bool IsEvery => Kind == RecurrenceKind.Every;
|
||||
public bool HasTime => Kind != RecurrenceKind.Every;
|
||||
public bool IsWeekly => Kind == RecurrenceKind.Weekly;
|
||||
public bool IsMonthly => Kind == RecurrenceKind.Monthly;
|
||||
|
||||
public ScheduleField Every { get; }
|
||||
|
||||
public IReadOnlyList<SettingsOption<RecurrenceUnit>> Units { get; }
|
||||
|
||||
public SettingsOption<RecurrenceUnit> SelectedUnit
|
||||
{
|
||||
get => _unit;
|
||||
set
|
||||
{
|
||||
if (value is null || !Set(ref _unit, value)) return;
|
||||
Every.Validate();
|
||||
OnChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public ScheduleField Time { get; }
|
||||
|
||||
/// <summary>The days of a weekly schedule, from the first day of the UI language's week.</summary>
|
||||
public IReadOnlyList<ScheduleChoice<DayOfWeek>> Days { get; }
|
||||
|
||||
public ScheduleField DayOfMonth { get; }
|
||||
|
||||
/// <summary>"Daily at 03:00": the recurrence as the table will show it; "—" while a field is invalid.</summary>
|
||||
public string WhenText => Recurrence() is { } recurrence ? ScheduleText.When(recurrence) : "—";
|
||||
|
||||
// ---------------- Parameters ----------------
|
||||
|
||||
public bool ShowsForce => _action.Name is ScheduleActions.Scan or ScheduleActions.Thumbnails or ScheduleActions.Proxies;
|
||||
public bool ShowsDeep => _action.Name is ScheduleActions.Scan or ScheduleActions.Analysis;
|
||||
public bool ShowsOlderThan => _action.Name is ScheduleActions.Verify or ScheduleActions.Cleanup;
|
||||
public bool ShowsPercent => _action.Name == ScheduleActions.Verify;
|
||||
public bool ShowsDryRun => _action.Name == ScheduleActions.Maintenance;
|
||||
public bool ShowsKeep => _action.Name == ScheduleActions.Backup;
|
||||
public bool ShowsSteps => _action.Name == ScheduleActions.Cleanup;
|
||||
|
||||
/// <summary>The action has on/off parameters (full scan, deep analysis, report only), shown together on one row.</summary>
|
||||
public bool HasSwitches => ShowsForce || ShowsDeep || ShowsDryRun;
|
||||
|
||||
public bool Force
|
||||
{
|
||||
get => _force;
|
||||
set => Set(ref _force, value);
|
||||
}
|
||||
|
||||
public string ForceLabel => Loc.L(_action.Name == ScheduleActions.Scan ? "Jobs.Editor.FullScan" : "Jobs.Editor.RebuildAll");
|
||||
|
||||
public string ForceToolTip => Loc.L(_action.Name == ScheduleActions.Scan ? "Tooltips.Jobs.Editor.FullScan" : "Tooltips.Jobs.Editor.RebuildAll");
|
||||
|
||||
public bool Deep
|
||||
{
|
||||
get => _deep;
|
||||
set => Set(ref _deep, value);
|
||||
}
|
||||
|
||||
public string DeepToolTip => Loc.L(_action.Name == ScheduleActions.Scan ? "Tooltips.Jobs.Editor.DeepAfterScan" : "Tooltips.Jobs.Editor.DeepAnalysis");
|
||||
|
||||
public bool DryRun
|
||||
{
|
||||
get => _dryRun;
|
||||
set => Set(ref _dryRun, value);
|
||||
}
|
||||
|
||||
public ScheduleField OlderThan { get; }
|
||||
|
||||
public string OlderThanLabel => Loc.L(IsVerify ? "Jobs.Editor.Unverified" : "Jobs.Editor.OlderThan");
|
||||
|
||||
public ScheduleField Percent { get; }
|
||||
|
||||
public ScheduleField Keep { get; }
|
||||
|
||||
/// <summary>The clean-up steps this PC runs, those of the schedule checked.</summary>
|
||||
public IReadOnlyList<ScheduleChoice<string>> Steps
|
||||
{
|
||||
get => _steps;
|
||||
private set => Set(ref _steps, value);
|
||||
}
|
||||
|
||||
// ---------------- Options ----------------
|
||||
|
||||
public IReadOnlyList<SettingsOption<JobPriority>> Priorities { get; }
|
||||
|
||||
public SettingsOption<JobPriority> SelectedPriority
|
||||
{
|
||||
get => _priority;
|
||||
set
|
||||
{
|
||||
if (value is not null) Set(ref _priority, value);
|
||||
}
|
||||
}
|
||||
|
||||
public bool CatchUp
|
||||
{
|
||||
get => _catchUp;
|
||||
set => Set(ref _catchUp, value);
|
||||
}
|
||||
|
||||
public bool Enabled
|
||||
{
|
||||
get => _enabled;
|
||||
set => Set(ref _enabled, value);
|
||||
}
|
||||
|
||||
// ---------------- Save ----------------
|
||||
|
||||
public ICommand SaveCommand { get; }
|
||||
|
||||
/// <summary>Cancel: closes without saving.</summary>
|
||||
public ICommand CloseCommand { get; }
|
||||
|
||||
public string SaveToolTip => Problem() ?? Loc.L(IsNew ? "Tooltips.Jobs.Editor.Create" : "Tooltips.Jobs.Editor.Save");
|
||||
|
||||
public bool IsBusy
|
||||
{
|
||||
get => _isBusy;
|
||||
private set
|
||||
{
|
||||
if (!Set(ref _isBusy, value)) return;
|
||||
CommandManager.InvalidateRequerySuggested();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Why the last save did not happen; null when nothing failed.</summary>
|
||||
public string? ErrorText
|
||||
{
|
||||
get => _errorText;
|
||||
private set => Set(ref _errorText, value);
|
||||
}
|
||||
|
||||
public string? ErrorToolTip
|
||||
{
|
||||
get => _errorToolTip;
|
||||
private set => Set(ref _errorToolTip, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The first invalid field's problem, in the order of the dialog (name, when, parameters); null when the schedule can
|
||||
/// be saved.
|
||||
/// </summary>
|
||||
public string? Problem()
|
||||
{
|
||||
if (!IsSystem && Name.Error is { } name) return name;
|
||||
switch (Kind)
|
||||
{
|
||||
case RecurrenceKind.Every when Every.Error is { } every:
|
||||
return every;
|
||||
case RecurrenceKind.Every:
|
||||
break;
|
||||
default:
|
||||
if (Time.Error is { } time) return time;
|
||||
if (Kind == RecurrenceKind.Weekly && !Days.Any(d => d.IsChecked)) return Loc.L("Tooltips.Jobs.Editor.NoDays");
|
||||
if (Kind == RecurrenceKind.Monthly && DayOfMonth.Error is { } day) return day;
|
||||
break;
|
||||
}
|
||||
if (ShowsOlderThan && OlderThan.Error is { } older) return older;
|
||||
if (ShowsPercent && Percent.Error is { } percent) return percent;
|
||||
if (ShowsKeep && Keep.Error is { } keep) return keep;
|
||||
if (ShowsSteps && !Steps.Any(s => s.IsChecked)) return Loc.L("Tooltips.Jobs.Editor.NoSteps");
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>The recurrence the fields describe; null while one of them is invalid.</summary>
|
||||
public RecurrenceDto? Recurrence()
|
||||
{
|
||||
var time = Time.Error is null && TryTime(Time.Text, out var at) ? at.ToString("HH:mm", CultureInfo.InvariantCulture) : null;
|
||||
RecurrenceDto? dto = Kind switch
|
||||
{
|
||||
RecurrenceKind.Every when TryNumber(Every.Text, out var every) => new RecurrenceDto("every", Every: every, Unit: ScheduleMapping.Unit(_unit.Value)),
|
||||
RecurrenceKind.Daily when time is not null => new RecurrenceDto("daily", Time: time),
|
||||
RecurrenceKind.Weekly when time is not null && Days.Any(d => d.IsChecked) =>
|
||||
new RecurrenceDto("weekly", Time: time, Days: [.. Days.Where(d => d.IsChecked).Select(d => ScheduleRecurrence.DayName(d.Value))]),
|
||||
RecurrenceKind.Monthly when time is not null && TryNumber(DayOfMonth.Text, out var day) => new RecurrenceDto("monthly", Time: time, DayOfMonth: day),
|
||||
_ => null,
|
||||
};
|
||||
return ScheduleMapping.FromDto(dto) is not null ? dto : null;
|
||||
}
|
||||
|
||||
/// <summary>The action's parameters as the fields hold them (only the action's own).</summary>
|
||||
public ScheduleParametersDto Parameters() => ScheduleActions.Normalize(_action.Name, new ScheduleParametersDto(
|
||||
OlderThanDays: ShowsOlderThan && TryNumber(OlderThan.Text, out var days) ? days : null,
|
||||
Percent: ShowsPercent && TryNumber(Percent.Text, out var percent) ? percent : null,
|
||||
Deep: ShowsDeep ? _deep : null,
|
||||
DryRun: ShowsDryRun ? _dryRun : null,
|
||||
Force: ShowsForce ? _force : null,
|
||||
Steps: ShowsSteps ? [.. Steps.Where(s => s.IsChecked).Select(s => s.Value)] : null,
|
||||
Keep: ShowsKeep && TryNumber(Keep.Text, out var keep) ? keep : null));
|
||||
|
||||
internal CreateScheduleRequest BuildCreate() =>
|
||||
new(Name.Text.Trim(), _action.Name, Recurrence()!, Parameters(), _catchUp, JobWire.Priority(_priority.Value), _enabled);
|
||||
|
||||
/// <summary>Every field the dialog shows; a system schedule's name and action are left out (they stay).</summary>
|
||||
internal UpdateScheduleRequest BuildUpdate() =>
|
||||
new(IsSystem ? null : Name.Text.Trim(), IsSystem ? null : _action.Name, Recurrence(), Parameters(), _catchUp, JobWire.Priority(_priority.Value), _enabled);
|
||||
|
||||
protected override void OnLanguageChanged()
|
||||
{
|
||||
foreach (var field in new[] { Name, Every, Time, DayOfMonth, OlderThan, Percent, Keep }) field.Refresh();
|
||||
foreach (var day in Days) day.Refresh();
|
||||
foreach (var step in Steps) step.Refresh();
|
||||
base.OnLanguageChanged();
|
||||
}
|
||||
|
||||
private bool IsVerify => _action.Name == ScheduleActions.Verify;
|
||||
|
||||
/// <summary>Save: the schedule as the fields hold it; the editor closes once it is stored, or says why it was not.</summary>
|
||||
internal async Task SaveAsync()
|
||||
{
|
||||
if (Problem() is not null) return;
|
||||
IsBusy = true;
|
||||
ErrorText = null;
|
||||
ErrorToolTip = null;
|
||||
try
|
||||
{
|
||||
var result = await _owner.SaveAsync(this);
|
||||
if (result.Problem is { } problem)
|
||||
{
|
||||
ErrorText = Loc.L("Jobs.Editor.Refused");
|
||||
ErrorToolTip = Loc.L("Tooltips.Jobs.Editor.Refused", problem);
|
||||
return;
|
||||
}
|
||||
IsBusy = false;
|
||||
_owner.CloseEditor(this);
|
||||
}
|
||||
catch (Exception ex) when (ex is DatabaseException or IOException or InvalidOperationException)
|
||||
{
|
||||
Log.Warning("schedules", "A schedule could not be saved", ex);
|
||||
ErrorText = Loc.L("Jobs.Editor.SaveFailed");
|
||||
ErrorToolTip = ex.Message;
|
||||
}
|
||||
finally
|
||||
{
|
||||
IsBusy = false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Fills the parameter fields from <paramref name="parameters"/> (normalised for the current action).</summary>
|
||||
private void LoadParameters(ScheduleParametersDto parameters)
|
||||
{
|
||||
var p = ScheduleActions.Normalize(_action.Name, parameters);
|
||||
var defaults = ScheduleActions.Defaults(ScheduleActions.Verify);
|
||||
_force = p.Force ?? false;
|
||||
_deep = p.Deep ?? false;
|
||||
_dryRun = p.DryRun ?? false;
|
||||
OlderThan.Text = Number(p.OlderThanDays ?? defaults.OlderThanDays ?? 30);
|
||||
// Its tooltip names what the days count (unverified, or older), which follows the action.
|
||||
OlderThan.Refresh();
|
||||
Percent.Text = Number(p.Percent ?? defaults.Percent ?? 100);
|
||||
Keep.Text = Number(p.Keep ?? DatabaseBackups.Keep);
|
||||
var chosen = p.Steps ?? [];
|
||||
// The steps this PC runs, then any the schedule names that it does not (kept, shown by their wire name).
|
||||
var names = _owner.Steps.Concat(chosen.Where(s => !_owner.Steps.Contains(s))).ToList();
|
||||
Steps = [.. names.Select(s => new ScheduleChoice<string>(s, () => ScheduleText.Step(s), () => ScheduleText.StepToolTip(s), chosen.Contains(s), OnChanged))];
|
||||
}
|
||||
|
||||
private void OnChanged()
|
||||
{
|
||||
OnPropertyChanged(nameof(WhenText));
|
||||
OnPropertyChanged(nameof(SaveToolTip));
|
||||
CommandManager.InvalidateRequerySuggested();
|
||||
}
|
||||
|
||||
private string? ValidateName(string text)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(text)) return Loc.L("Tooltips.Jobs.Editor.NameMissing");
|
||||
return text.Trim().Length > Scheduler.MaxNameLength ? Loc.L("Tooltips.Jobs.Editor.NameLong", Scheduler.MaxNameLength) : null;
|
||||
}
|
||||
|
||||
private string? ValidateEvery(string text)
|
||||
{
|
||||
var (min, max) = _unit.Value switch
|
||||
{
|
||||
RecurrenceUnit.Minutes => (ScheduleRecurrence.MinMinutes, ScheduleRecurrence.MaxMinutes),
|
||||
RecurrenceUnit.Days => (1, ScheduleRecurrence.MaxDays),
|
||||
_ => (1, ScheduleRecurrence.MaxHours),
|
||||
};
|
||||
return ValidateNumber(text, min, max);
|
||||
}
|
||||
|
||||
private static string? ValidateDayOfMonth(string text) => ValidateNumber(text, 1, ScheduleRecurrence.MaxDayOfMonth);
|
||||
|
||||
private static string? ValidateTime(string text) => TryTime(text, out _) ? null : Loc.L("Tooltips.Jobs.Editor.TimeInvalid");
|
||||
|
||||
private static string? ValidateNumber(string text, int min, int max) =>
|
||||
TryNumber(text, out var value) && value >= min && value <= max ? null : Loc.L("Tooltips.Jobs.Editor.Number", Number(min), Number(max));
|
||||
|
||||
private static string Number(int value) => value.ToString(CultureInfo.CurrentCulture);
|
||||
|
||||
/// <summary>A whole number as the user's culture writes it (no sign, no thousands).</summary>
|
||||
private static bool TryNumber(string text, out int value) =>
|
||||
int.TryParse(text.Trim(), NumberStyles.None, CultureInfo.CurrentCulture, out value) || int.TryParse(text.Trim(), NumberStyles.None, CultureInfo.InvariantCulture, out value);
|
||||
|
||||
/// <summary>"03:00", "3:00", "3.00": hours and minutes of a 24-hour clock.</summary>
|
||||
internal static bool TryTime(string text, out TimeOnly time)
|
||||
{
|
||||
time = default;
|
||||
var parts = text.Trim().Split(':', '.');
|
||||
if (parts is not [var h, var m] || h.Length is < 1 or > 2 || m.Length != 2) return false;
|
||||
if (!int.TryParse(h, NumberStyles.None, CultureInfo.InvariantCulture, out var hour) || !int.TryParse(m, NumberStyles.None, CultureInfo.InvariantCulture, out var minute)
|
||||
|| hour > 23 || minute > 59)
|
||||
return false;
|
||||
time = new TimeOnly(hour, minute);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
using System.Windows.Input;
|
||||
using Chronos.App.Infrastructure;
|
||||
using Chronos.Core.Localization;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Data.Jobs;
|
||||
using Chronos.Protocol;
|
||||
using Chronos.Ui.Controls;
|
||||
using Chronos.Ui.Mvvm;
|
||||
|
||||
namespace Chronos.App.Jobs;
|
||||
|
||||
/// <summary>
|
||||
/// One row of Jobs › Scheduled (owner review 2, R10): the on/off switch, name, action, when it runs, the next run and the
|
||||
/// last result, and its commands (Run now, Edit, then Reset for a system schedule or Delete for one the user created).
|
||||
/// </summary>
|
||||
public sealed class ScheduleRowViewModel : ObservableObject
|
||||
{
|
||||
private readonly SchedulesViewModel _owner;
|
||||
private ScheduleDto _schedule;
|
||||
private Job? _lastJob;
|
||||
private bool _isEnabled;
|
||||
|
||||
internal ScheduleRowViewModel(ScheduleDto schedule, SchedulesViewModel owner)
|
||||
{
|
||||
_schedule = schedule;
|
||||
_owner = owner;
|
||||
_isEnabled = schedule.Enabled;
|
||||
RunNowCommand = new AsyncRelayCommand(() => owner.RunNowAsync(this), () => IsAvailable);
|
||||
EditCommand = new RelayCommand(() => owner.Edit(this));
|
||||
DeleteCommand = new AsyncRelayCommand(() => owner.DeleteAsync(this), () => !IsSystem);
|
||||
ResetCommand = new AsyncRelayCommand(() => owner.ResetAsync(this), () => IsSystem);
|
||||
}
|
||||
|
||||
public ScheduleDto Schedule => _schedule;
|
||||
public Guid Id => _schedule.Id;
|
||||
|
||||
/// <summary>A system schedule: one of the host's timers, reset instead of deleted.</summary>
|
||||
public bool IsSystem => _schedule.SystemKey is not null;
|
||||
|
||||
/// <summary>The job the last run queued, when it is known.</summary>
|
||||
public Job? LastJob => _lastJob;
|
||||
|
||||
public string Name => ScheduleText.Name(_schedule);
|
||||
|
||||
public string NameToolTip => IsSystem ? Loc.L("Tooltips.Jobs.Schedule.System", Name) : Name;
|
||||
|
||||
public string ActionText => ScheduleText.Action(_schedule.Action);
|
||||
|
||||
/// <summary>What the action does, or why this PC does not run it.</summary>
|
||||
public string ActionToolTip => IsAvailable ? ScheduleText.ActionToolTip(_schedule.Action) : ScheduleText.Unavailable(_owner.UnavailableReason(_schedule.Action));
|
||||
|
||||
/// <summary>This PC runs the schedule's action.</summary>
|
||||
public bool IsAvailable => _owner.IsAvailable(_schedule.Action);
|
||||
|
||||
public string WhenText => ScheduleText.When(_schedule.Recurrence);
|
||||
|
||||
/// <summary>When it runs, whether a missed run is caught up, and the priority of its jobs.</summary>
|
||||
public string WhenToolTip => string.Join(Loc.Separator, WhenText,
|
||||
Loc.L(_schedule.CatchUp ? "Tooltips.Jobs.Schedule.CatchUpOn" : "Tooltips.Jobs.Schedule.CatchUpOff"),
|
||||
Loc.L("Tooltips.Jobs.Schedule.PriorityIs", ScheduleText.Priority(Priority)));
|
||||
|
||||
public string NextText => ScheduleText.Next(_schedule.NextRun, _schedule.Enabled);
|
||||
|
||||
public string NextToolTip => !_schedule.Enabled ? Loc.L("Tooltips.Jobs.Schedule.NextOff")
|
||||
: _schedule.NextRun is { } next ? Loc.L("Tooltips.Jobs.Schedule.Next", Formatting.Date(next) + " " + Formatting.TimeOfDay(next))
|
||||
: Loc.L("Tooltips.Jobs.Schedule.NextPending");
|
||||
|
||||
public string LastText => ScheduleText.Outcome(_schedule.LastOutcome, _lastJob);
|
||||
|
||||
public string LastToolTip => ScheduleText.OutcomeToolTip(_schedule.LastOutcome, _schedule.LastRun, _lastJob);
|
||||
|
||||
public StatusKind LastKind => ScheduleText.OutcomeKind(_schedule.LastOutcome, _lastJob);
|
||||
|
||||
/// <summary>Off, a schedule never runs by itself (Run now still runs it). Turning it on or off saves at once.</summary>
|
||||
public bool IsEnabled
|
||||
{
|
||||
get => _isEnabled;
|
||||
set
|
||||
{
|
||||
if (Set(ref _isEnabled, value)) _ = _owner.SetEnabledAsync(this, value);
|
||||
}
|
||||
}
|
||||
|
||||
public string EnabledToolTip => Loc.L(_isEnabled ? "Tooltips.Jobs.Schedule.EnabledOn" : "Tooltips.Jobs.Schedule.EnabledOff");
|
||||
|
||||
/// <summary>"Index backup · Index backup · Daily at 03:00": the row's name for screen readers.</summary>
|
||||
public string AccessibleName => string.Join(Loc.Separator, Name, ActionText, WhenText);
|
||||
|
||||
public ICommand RunNowCommand { get; }
|
||||
public ICommand EditCommand { get; }
|
||||
public ICommand DeleteCommand { get; }
|
||||
public ICommand ResetCommand { get; }
|
||||
|
||||
public string RunNowToolTip => IsAvailable ? Loc.L("Tooltips.Jobs.Schedule.RunNow") : ScheduleText.Unavailable(_owner.UnavailableReason(_schedule.Action));
|
||||
|
||||
/// <summary>"Run now: Index backup", what each row button is called for screen readers.</summary>
|
||||
public string RunNowName => Loc.L("Jobs.ActionFor", Loc.L("Jobs.Schedule.RunNow"), Name);
|
||||
public string EditName => Loc.L("Jobs.ActionFor", Loc.L("Jobs.Schedule.Edit"), Name);
|
||||
public string DeleteName => Loc.L("Jobs.ActionFor", Loc.L("Jobs.Schedule.Delete"), Name);
|
||||
public string ResetName => Loc.L("Jobs.ActionFor", Loc.L("Jobs.Schedule.Reset"), Name);
|
||||
public string EnabledName => Loc.L("Jobs.ActionFor", Loc.L("Jobs.Schedule.Enabled"), Name);
|
||||
|
||||
private JobPriority Priority => JobWire.TryParsePriority(_schedule.Priority, out var priority) ? priority : JobPriority.Background;
|
||||
|
||||
/// <summary>A newer copy of the schedule (an edit, a run, a correction of its next run).</summary>
|
||||
internal void Update(ScheduleDto schedule)
|
||||
{
|
||||
if (schedule.LastJobId != _schedule.LastJobId) _lastJob = null;
|
||||
_schedule = schedule;
|
||||
_isEnabled = schedule.Enabled;
|
||||
OnAllPropertiesChanged();
|
||||
}
|
||||
|
||||
/// <summary>The job the last run queued changed (or was read): the last result follows its state.</summary>
|
||||
internal void SetLastJob(Job? job)
|
||||
{
|
||||
if (job is not null && job.Id != _schedule.LastJobId) return;
|
||||
_lastJob = job;
|
||||
OnPropertyChanged(nameof(LastJob));
|
||||
OnPropertyChanged(nameof(LastText));
|
||||
OnPropertyChanged(nameof(LastToolTip));
|
||||
OnPropertyChanged(nameof(LastKind));
|
||||
}
|
||||
|
||||
/// <summary>The switch goes back to the stored state (the change was refused).</summary>
|
||||
internal void RevertEnabled()
|
||||
{
|
||||
_isEnabled = _schedule.Enabled;
|
||||
OnPropertyChanged(nameof(IsEnabled));
|
||||
OnPropertyChanged(nameof(EnabledToolTip));
|
||||
}
|
||||
|
||||
internal void Refresh() => OnAllPropertiesChanged();
|
||||
}
|
||||
|
||||
/// <summary>A job a schedule queued, in the selected schedule's last runs: kind, target, when, state, and Show in queue.</summary>
|
||||
public sealed class ScheduleRunViewModel : ObservableObject
|
||||
{
|
||||
private Job _job;
|
||||
|
||||
internal ScheduleRunViewModel(Job job, Func<Guid, Task> show)
|
||||
{
|
||||
_job = job;
|
||||
ShowCommand = new AsyncRelayCommand(() => show(_job.Id));
|
||||
}
|
||||
|
||||
public Job Job => _job;
|
||||
public Guid Id => _job.Id;
|
||||
|
||||
public string Kind => JobText.Kind(_job.Kind);
|
||||
|
||||
public string Target => _job.TargetLabel ?? string.Empty;
|
||||
|
||||
/// <summary>When the run queued it ("Today 03:00").</summary>
|
||||
public string WhenText => ScheduleText.Moment(_job.Created);
|
||||
|
||||
public string StateText => JobText.State(new JobEntry(_job));
|
||||
|
||||
public string StateToolTip => string.Join(Loc.Separator, StateText,
|
||||
_job.Error is { Length: > 0 } error ? error : Loc.L("Tooltips.Jobs.State." + _job.State));
|
||||
|
||||
public StatusKind StateKind => _job.State switch
|
||||
{
|
||||
JobState.Running => StatusKind.Running,
|
||||
JobState.Queued => StatusKind.Queued,
|
||||
JobState.Paused => StatusKind.Paused,
|
||||
JobState.Done => StatusKind.Done,
|
||||
JobState.Failed => StatusKind.Failed,
|
||||
_ => StatusKind.Offline,
|
||||
};
|
||||
|
||||
/// <summary>"Verify · Archive · 2024: done": the row for screen readers.</summary>
|
||||
public string AccessibleName => Loc.L("Jobs.Row.State", JobText.Name(_job), StateText);
|
||||
|
||||
public string ShowName => Loc.L("Jobs.ActionFor", Loc.L("Jobs.Schedule.ShowJob"), JobText.Name(_job));
|
||||
|
||||
public ICommand ShowCommand { get; }
|
||||
|
||||
internal void Update(Job job)
|
||||
{
|
||||
_job = job;
|
||||
OnAllPropertiesChanged();
|
||||
}
|
||||
|
||||
internal void Refresh() => OnAllPropertiesChanged();
|
||||
}
|
||||
@@ -0,0 +1,187 @@
|
||||
using Chronos.App.Infrastructure;
|
||||
using Chronos.Core.Localization;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Data.Housekeeping;
|
||||
using Chronos.Data.Scheduling;
|
||||
using Chronos.Protocol;
|
||||
using Chronos.Ui.Controls;
|
||||
|
||||
namespace Chronos.App.Jobs;
|
||||
|
||||
/// <summary>
|
||||
/// Localized texts of schedules (Jobs › Scheduled, owner review 2, R10): names, actions, clean-up steps, when they run,
|
||||
/// their next run and what their last run did. Wire names (<c>scan</c>, <c>skipped-pending</c>, <c>job-history</c>) never
|
||||
/// reach the screen; an unknown one (a newer build's) is shown as it is.
|
||||
/// </summary>
|
||||
public static class ScheduleText
|
||||
{
|
||||
/// <summary>A system schedule by its key in the user's language; a user's schedule by the name they gave it.</summary>
|
||||
public static string Name(ScheduleDto schedule)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(schedule);
|
||||
return schedule.SystemKey is { } key && SystemKeyName(key) is { } name ? Loc.L(name) : schedule.Name;
|
||||
}
|
||||
|
||||
/// <summary>"Archive scan", "Index backup", …</summary>
|
||||
public static string Action(string action) => ScheduleActions.IsKnown(action) ? Loc.L("Jobs.Schedule.Action." + Pascal(action)) : action;
|
||||
|
||||
/// <summary>What the action does.</summary>
|
||||
public static string ActionToolTip(string action) =>
|
||||
ScheduleActions.IsKnown(action) ? Loc.L("Tooltips.Jobs.Schedule.Action." + Pascal(action)) : Loc.L("Tooltips.Jobs.Schedule.Unavailable.Other");
|
||||
|
||||
/// <summary>Why this PC does not run an action (<see cref="ScheduleUnavailable"/>, or a code of the host's own).</summary>
|
||||
public static string Unavailable(string? reason) => reason switch
|
||||
{
|
||||
ScheduleUnavailable.NoHandler => Loc.L("Tooltips.Jobs.Schedule.Unavailable.NoHandler"),
|
||||
ScheduleUnavailable.Postgres => Loc.L("Tooltips.Jobs.Schedule.Unavailable.Postgres"),
|
||||
ScheduleUnavailable.NoIndexFile => Loc.L("Tooltips.Jobs.Schedule.Unavailable.NoIndexFile"),
|
||||
ScheduleUnavailable.ProxiesDisabled => Loc.L("Tooltips.Jobs.Schedule.Unavailable.ProxiesDisabled"),
|
||||
_ => Loc.L("Tooltips.Jobs.Schedule.Unavailable.Other"),
|
||||
};
|
||||
|
||||
/// <summary>"Job history", "Cache trim", …: a clean-up step; an unknown one by its wire name.</summary>
|
||||
public static string Step(string step) => StepKey(step) is { } key ? Loc.L("Jobs.Schedule.Step." + key) : step;
|
||||
|
||||
public static string StepToolTip(string step) => StepKey(step) is { } key ? Loc.L("Tooltips.Jobs.Schedule.Step." + key) : step;
|
||||
|
||||
/// <summary>"Every 10 minutes", "Daily at 03:00", "Mon, Thu at 02:30", "Monthly, day 1 at 04:00".</summary>
|
||||
public static string When(RecurrenceDto? recurrence) =>
|
||||
ScheduleMapping.FromDto(recurrence) is { } parsed ? When(parsed) : Loc.L("Jobs.Schedule.When.Invalid");
|
||||
|
||||
/// <inheritdoc cref="When(RecurrenceDto?)"/>
|
||||
public static string When(ScheduleRecurrence recurrence)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(recurrence);
|
||||
return recurrence.Kind switch
|
||||
{
|
||||
RecurrenceKind.Every => Loc.Plural("Jobs.Schedule.When." + recurrence.Unit, recurrence.Every),
|
||||
RecurrenceKind.Daily => Loc.L("Jobs.Schedule.When.Daily", Time(recurrence.Time)),
|
||||
RecurrenceKind.Weekly when recurrence.Days.Count == 7 => Loc.L("Jobs.Schedule.When.Daily", Time(recurrence.Time)),
|
||||
RecurrenceKind.Weekly => Loc.L("Jobs.Schedule.When.Weekly", Days(recurrence.Days), Time(recurrence.Time)),
|
||||
_ => Loc.L("Jobs.Schedule.When.Monthly", recurrence.DayOfMonth, Time(recurrence.Time)),
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>"Mon, Thu": the days in the order of the week, short names of the UI language.</summary>
|
||||
public static string Days(IEnumerable<DayOfWeek> days) =>
|
||||
days.Select(DayShort).Aggregate((a, b) => Loc.L("Jobs.Schedule.DayList", a, b));
|
||||
|
||||
/// <summary>"Mon" in the UI language.</summary>
|
||||
public static string DayShort(DayOfWeek day) => Loc.Culture.DateTimeFormat.GetAbbreviatedDayName(day);
|
||||
|
||||
/// <summary>"Monday" in the UI language.</summary>
|
||||
public static string DayLong(DayOfWeek day) => Loc.Culture.DateTimeFormat.GetDayName(day);
|
||||
|
||||
/// <summary>A wall-clock time in the UI language's short format ("03:00", "3:00 AM").</summary>
|
||||
public static string Time(TimeOnly time) => DateTime.MinValue.Add(time.ToTimeSpan()).ToString("t", Loc.Culture);
|
||||
|
||||
/// <summary>
|
||||
/// The next run as the table shows it: "Today 03:00", "Tomorrow 03:00", a date and time further away, "Off" for a
|
||||
/// disabled schedule, "—" while it has none yet.
|
||||
/// </summary>
|
||||
public static string Next(DateTimeOffset? next, bool enabled)
|
||||
{
|
||||
if (!enabled) return Loc.L("Jobs.Schedule.Off");
|
||||
return next is { } at ? Moment(at) : "—";
|
||||
}
|
||||
|
||||
/// <summary>"Today 03:00", "Tomorrow 03:00", "Yesterday 03:00", or the short date and time.</summary>
|
||||
public static string Moment(DateTimeOffset at)
|
||||
{
|
||||
var local = at.ToLocalTime();
|
||||
var days = (local.Date - AppClock.Today).Days;
|
||||
var time = Formatting.TimeOfDay(at);
|
||||
return days switch
|
||||
{
|
||||
0 => Loc.L("Jobs.Schedule.Today", time),
|
||||
1 => Loc.L("Jobs.Schedule.Tomorrow", time),
|
||||
-1 => Loc.L("Jobs.Schedule.Yesterday", time),
|
||||
_ => Formatting.Date(at) + " " + time,
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// What the last run did: the state of the job it queued when that is known ("done", "failed", "running"), else the
|
||||
/// outcome ("skipped: busy", "nothing to do", …); "never run" before the first run.
|
||||
/// </summary>
|
||||
public static string Outcome(string? outcome, Job? lastJob)
|
||||
{
|
||||
if (outcome is null) return Loc.L("Jobs.Schedule.Outcome.Never");
|
||||
if (outcome == ScheduleOutcome.Queued && lastJob is not null) return Loc.L("Jobs.State." + lastJob.State);
|
||||
if (ScheduleOutcome.IsFailed(outcome, out _)) return Loc.L("Jobs.Schedule.Outcome.Failed");
|
||||
return OutcomeKey(outcome) is { } key ? Loc.L("Jobs.Schedule.Outcome." + key) : outcome;
|
||||
}
|
||||
|
||||
/// <summary>The outcome explained, with when the last run was and the reason of a failure.</summary>
|
||||
public static string OutcomeToolTip(string? outcome, DateTimeOffset? lastRun, Job? lastJob)
|
||||
{
|
||||
if (outcome is null || lastRun is not { } at) return Loc.L("Tooltips.Jobs.Schedule.Outcome.Never");
|
||||
var when = Loc.L("Jobs.Schedule.LastRun", Moment(at));
|
||||
string why;
|
||||
if (ScheduleOutcome.IsFailed(outcome, out var reason)) why = Loc.L("Tooltips.Jobs.Schedule.Outcome.Failed", reason);
|
||||
else if (outcome == ScheduleOutcome.Queued && lastJob is { Error: { Length: > 0 } error }) why = error;
|
||||
else if (outcome == ScheduleOutcome.Queued && lastJob is not null) why = Loc.L("Tooltips.Jobs.State." + lastJob.State);
|
||||
else why = OutcomeKey(outcome) is { } key ? Loc.L("Tooltips.Jobs.Schedule.Outcome." + key) : outcome;
|
||||
return string.Join(Loc.Separator, when, why);
|
||||
}
|
||||
|
||||
/// <summary>Glyph of the last result, paired with its word.</summary>
|
||||
public static StatusKind OutcomeKind(string? outcome, Job? lastJob)
|
||||
{
|
||||
if (outcome is null) return StatusKind.Offline;
|
||||
if (ScheduleOutcome.IsFailed(outcome, out _)) return StatusKind.Failed;
|
||||
if (outcome == ScheduleOutcome.Queued && lastJob is not null)
|
||||
{
|
||||
return lastJob.State switch
|
||||
{
|
||||
JobState.Running => StatusKind.Running,
|
||||
JobState.Queued => StatusKind.Queued,
|
||||
JobState.Paused => StatusKind.Paused,
|
||||
JobState.Done => StatusKind.Done,
|
||||
JobState.Failed => StatusKind.Failed,
|
||||
_ => StatusKind.Offline,
|
||||
};
|
||||
}
|
||||
return outcome switch
|
||||
{
|
||||
ScheduleOutcome.Queued => StatusKind.Queued,
|
||||
ScheduleOutcome.SkippedNothing => StatusKind.Done,
|
||||
ScheduleOutcome.SkippedPending => StatusKind.Paused,
|
||||
ScheduleOutcome.Unavailable => StatusKind.Warning,
|
||||
_ => StatusKind.Offline,
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>"Background", "Normal", "High": the priority of the jobs a schedule queues.</summary>
|
||||
public static string Priority(JobPriority priority) => Loc.L("Jobs.Schedule.Priority." + priority);
|
||||
|
||||
private static string? SystemKeyName(string key) => key switch
|
||||
{
|
||||
DesktopScheduleHost.ArchiveScan => "Jobs.Schedule.System.ArchiveScan",
|
||||
DesktopScheduleHost.IndexBackup => "Jobs.Schedule.System.IndexBackup",
|
||||
DesktopScheduleHost.Housekeeping => "Jobs.Schedule.System.Housekeeping",
|
||||
_ => null,
|
||||
};
|
||||
|
||||
private static string? StepKey(string step) => step switch
|
||||
{
|
||||
CleanupSteps.JobHistory => "JobHistory",
|
||||
CleanupSteps.Audit => "Audit",
|
||||
CleanupSteps.TrashReport => "TrashReport",
|
||||
CacheTrimStep.StepName => "CacheTrim",
|
||||
_ => null,
|
||||
};
|
||||
|
||||
private static string? OutcomeKey(string outcome) => outcome switch
|
||||
{
|
||||
ScheduleOutcome.Queued => "Queued",
|
||||
ScheduleOutcome.SkippedPending => "SkippedPending",
|
||||
ScheduleOutcome.SkippedOffline => "SkippedOffline",
|
||||
ScheduleOutcome.SkippedNothing => "SkippedNothing",
|
||||
ScheduleOutcome.Unavailable => "Unavailable",
|
||||
_ => null,
|
||||
};
|
||||
|
||||
/// <summary><c>scan</c> → <c>Scan</c>: the resource name of a wire name.</summary>
|
||||
private static string Pascal(string name) => string.Concat(name.Split('-').Select(p => p.Length == 0 ? p : char.ToUpperInvariant(p[0]) + p[1..]));
|
||||
}
|
||||
@@ -0,0 +1,512 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
using System.Windows.Input;
|
||||
using Chronos.App.Infrastructure;
|
||||
using Chronos.Core.Diagnostics;
|
||||
using Chronos.Core.Localization;
|
||||
using Chronos.Core.Model;
|
||||
using Chronos.Data;
|
||||
using Chronos.Data.Housekeeping;
|
||||
using Chronos.Data.Scheduling;
|
||||
using Chronos.Protocol;
|
||||
using Chronos.Ui.Mvvm;
|
||||
|
||||
namespace Chronos.App.Jobs;
|
||||
|
||||
/// <summary>
|
||||
/// Jobs › Scheduled (owner review 2, R10): every schedule of this PC's <see cref="Scheduler"/> (the system ones that stand
|
||||
/// for its timers first), each with its switch, next run and last result, kept current by the scheduler's events and by
|
||||
/// the jobs its runs queued; the selected schedule's last runs, each one shown in the queue on request; the in-window
|
||||
/// editor of a new or existing schedule. Calls to the scheduler run off the UI thread; their results and its events are
|
||||
/// applied on it. WPF-free apart from the commands: tests drive it with a scheduler of their own.
|
||||
/// </summary>
|
||||
public sealed class SchedulesViewModel : LocalizedViewModel
|
||||
{
|
||||
/// <summary>Runs listed for the selected schedule.</summary>
|
||||
public const int RunsShown = 20;
|
||||
|
||||
private readonly Func<Scheduler?> _scheduler;
|
||||
private readonly Func<ChronosDatabase?> _database;
|
||||
private readonly Func<ConfirmRequest, bool> _confirm;
|
||||
private readonly Action<string, string?, bool> _notify;
|
||||
private readonly Func<Guid, Task> _showJob;
|
||||
private readonly Dictionary<Guid, ScheduleRowViewModel> _rows = [];
|
||||
private SynchronizationContext? _context;
|
||||
private Scheduler? _attached;
|
||||
private IReadOnlyList<ScheduleActionDto> _actions = [];
|
||||
private IReadOnlyList<string> _steps = [];
|
||||
private ScheduleRowViewModel? _selected;
|
||||
private ScheduleEditorViewModel? _editor;
|
||||
private bool _isLoaded;
|
||||
private int _runsRequest;
|
||||
private Task? _attach;
|
||||
|
||||
/// <param name="scheduler">The running scheduler (once <see cref="AttachAsync"/> was told it runs).</param>
|
||||
/// <param name="database">The index, to read the jobs the runs queued.</param>
|
||||
/// <param name="confirm">Asks before a delete or a reset.</param>
|
||||
/// <param name="notify">A toast: title, message, whether something did not happen.</param>
|
||||
/// <param name="showJob">Shows a job in the queue tab.</param>
|
||||
public SchedulesViewModel(Func<Scheduler?> scheduler, Func<ChronosDatabase?> database, Func<ConfirmRequest, bool> confirm,
|
||||
Action<string, string?, bool> notify, Func<Guid, Task> showJob)
|
||||
{
|
||||
_scheduler = scheduler;
|
||||
_database = database;
|
||||
_confirm = confirm;
|
||||
_notify = notify;
|
||||
_showJob = showJob;
|
||||
NewCommand = new RelayCommand(New, () => IsRunning && _editor is null);
|
||||
}
|
||||
|
||||
/// <summary>A schedule changed in a way the history text depends on (the housekeeping's job-history days).</summary>
|
||||
public event Action? HistoryChanged;
|
||||
|
||||
/// <summary>System schedules first, then the user's, oldest first (the scheduler's order).</summary>
|
||||
public ObservableCollection<ScheduleRowViewModel> Rows { get; } = [];
|
||||
|
||||
/// <summary>The jobs the selected schedule queued, newest first.</summary>
|
||||
public ObservableCollection<ScheduleRunViewModel> Runs { get; } = [];
|
||||
|
||||
public ICommand NewCommand { get; }
|
||||
|
||||
public string NewToolTip => IsRunning ? Loc.L("Tooltips.Jobs.Schedule.New") : Loc.L("Tooltips.Jobs.Schedule.NotRunning");
|
||||
|
||||
/// <summary>The scheduler of this PC runs (it does not without an index, or while it failed to start).</summary>
|
||||
public bool IsRunning => _attached is not null;
|
||||
|
||||
/// <summary>The schedules were read, or it is known that there are none to read.</summary>
|
||||
public bool IsLoaded => _isLoaded;
|
||||
|
||||
public bool HasRows => Rows.Count > 0;
|
||||
|
||||
/// <summary>The empty state: the scheduler does not run here.</summary>
|
||||
public bool IsUnavailable => _isLoaded && !IsRunning;
|
||||
|
||||
public ScheduleRowViewModel? Selected
|
||||
{
|
||||
get => _selected;
|
||||
set
|
||||
{
|
||||
if (!Set(ref _selected, value)) return;
|
||||
OnPropertyChanged(nameof(HasSelection));
|
||||
OnPropertyChanged(nameof(RunsHeading));
|
||||
RunsLoading = LoadRunsAsync();
|
||||
}
|
||||
}
|
||||
|
||||
public bool HasSelection => _selected is not null;
|
||||
|
||||
/// <summary>"Last runs · Index backup".</summary>
|
||||
public string RunsHeading => _selected is { } row ? Loc.L("Jobs.Row.Name", Loc.L("Jobs.Schedule.Runs"), row.Name) : Loc.L("Jobs.Schedule.Runs");
|
||||
|
||||
public bool HasRuns => Runs.Count > 0;
|
||||
|
||||
public bool IsRunsEmpty => _selected is not null && Runs.Count == 0;
|
||||
|
||||
/// <summary>The open editor; null when none.</summary>
|
||||
public ScheduleEditorViewModel? Editor
|
||||
{
|
||||
get => _editor;
|
||||
private set
|
||||
{
|
||||
if (!Set(ref _editor, value)) return;
|
||||
OnPropertyChanged(nameof(IsEditorOpen));
|
||||
OnPropertyChanged(nameof(IsContentEnabled));
|
||||
CommandManager.InvalidateRequerySuggested();
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsEditorOpen => _editor is not null;
|
||||
|
||||
/// <summary>The screen behind an open editor takes neither clicks nor keyboard focus.</summary>
|
||||
public bool IsContentEnabled => _editor is null;
|
||||
|
||||
/// <summary>The actions with whether this PC runs them, as last read.</summary>
|
||||
public IReadOnlyList<ScheduleActionDto> Actions => _actions;
|
||||
|
||||
/// <summary>The clean-up steps this PC's clean-up jobs run.</summary>
|
||||
public IReadOnlyList<string> Steps => _steps;
|
||||
|
||||
/// <summary>
|
||||
/// Days of job history the housekeeping schedule keeps: its age limit while it is on and removes job history; null
|
||||
/// while it keeps every job; the product's default before the schedules are read.
|
||||
/// </summary>
|
||||
public int? HistoryDays
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!_isLoaded || !IsRunning) return CleanupSteps.DefaultHistoryDays;
|
||||
var housekeeping = Rows.FirstOrDefault(r => r.Schedule.SystemKey == DesktopScheduleHost.Housekeeping)?.Schedule;
|
||||
if (housekeeping is not { Enabled: true, Action: ScheduleActions.Cleanup } || housekeeping.Parameters.Steps?.Contains(CleanupSteps.JobHistory) != true)
|
||||
return null;
|
||||
return housekeeping.Parameters.OlderThanDays is > 0 and var days ? days : null;
|
||||
}
|
||||
}
|
||||
|
||||
internal Scheduler? Scheduler => _attached;
|
||||
|
||||
/// <summary>The last read of the selected schedule's runs (capture, tests).</summary>
|
||||
internal Task RunsLoading { get; private set; } = Task.CompletedTask;
|
||||
|
||||
/// <summary>Completes once <see cref="AttachAsync"/> has read the schedules, or knows there are none.</summary>
|
||||
public Task Attached => _attach ?? Task.CompletedTask;
|
||||
|
||||
/// <summary>
|
||||
/// Waits for the scheduler (<paramref name="ready"/>: true once it runs), then follows its events and reads the
|
||||
/// schedules. Call on the UI thread, once: events are brought back to it.
|
||||
/// </summary>
|
||||
public Task AttachAsync(Task<bool> ready)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(ready);
|
||||
return _attach ??= AttachCoreAsync(ready);
|
||||
}
|
||||
|
||||
private async Task AttachCoreAsync(Task<bool> ready)
|
||||
{
|
||||
_context = SynchronizationContext.Current;
|
||||
bool running;
|
||||
try
|
||||
{
|
||||
running = await ready;
|
||||
}
|
||||
catch (Exception ex) when (ex is not OutOfMemoryException)
|
||||
{
|
||||
Log.Warning("schedules", "The schedules did not start", ex);
|
||||
running = false;
|
||||
}
|
||||
if (!running || _scheduler() is not { } scheduler)
|
||||
{
|
||||
_isLoaded = true;
|
||||
RaiseState();
|
||||
return;
|
||||
}
|
||||
_attached = scheduler;
|
||||
scheduler.ScheduleChanged += OnScheduleChanged;
|
||||
scheduler.ScheduleDeleted += OnScheduleDeleted;
|
||||
await ReloadAsync();
|
||||
}
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
if (_attached is not null)
|
||||
{
|
||||
_attached.ScheduleChanged -= OnScheduleChanged;
|
||||
_attached.ScheduleDeleted -= OnScheduleDeleted;
|
||||
}
|
||||
_editor?.Dispose();
|
||||
base.Dispose();
|
||||
}
|
||||
|
||||
/// <summary>Reads every schedule, the actions' availability and the jobs of the last runs again.</summary>
|
||||
public async Task ReloadAsync()
|
||||
{
|
||||
if (_attached is not { } scheduler) return;
|
||||
SchedulesDto list;
|
||||
try
|
||||
{
|
||||
list = await Task.Run(() => scheduler.ListAsync());
|
||||
}
|
||||
catch (Exception ex) when (ex is DatabaseException or IOException or InvalidOperationException)
|
||||
{
|
||||
Log.Warning("schedules", "The schedules could not be read", ex);
|
||||
_isLoaded = true;
|
||||
RaiseState();
|
||||
return;
|
||||
}
|
||||
_actions = list.Actions;
|
||||
_steps = list.Steps ?? [];
|
||||
var wanted = list.Items.Select(s => s.Id).ToHashSet();
|
||||
foreach (var gone in _rows.Keys.Where(id => !wanted.Contains(id)).ToList()) Remove(gone);
|
||||
for (var i = 0; i < list.Items.Count; i++)
|
||||
{
|
||||
var dto = list.Items[i];
|
||||
if (!_rows.TryGetValue(dto.Id, out var row))
|
||||
{
|
||||
row = new ScheduleRowViewModel(dto, this);
|
||||
_rows[dto.Id] = row;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Every text again: the actions' availability may have changed too.
|
||||
row.Update(dto);
|
||||
}
|
||||
var at = Rows.IndexOf(row);
|
||||
if (at == i) continue;
|
||||
if (at >= 0) Rows.Move(at, i);
|
||||
else Rows.Insert(i, row);
|
||||
}
|
||||
_isLoaded = true;
|
||||
RaiseState();
|
||||
HistoryChanged?.Invoke();
|
||||
foreach (var row in Rows.ToList()) await LoadLastJobAsync(row);
|
||||
if (_selected is not null) await LoadRunsAsync();
|
||||
}
|
||||
|
||||
/// <summary>A job changed (UI thread, from the Jobs screen's flush): the last result and the last runs follow it.</summary>
|
||||
public void OnJob(Job job)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(job);
|
||||
if (job.ScheduleId is not { } id || !_rows.TryGetValue(id, out var row)) return;
|
||||
if (row.Schedule.LastJobId == job.Id) row.SetLastJob(job);
|
||||
if (!ReferenceEquals(_selected, row)) return;
|
||||
if (Runs.FirstOrDefault(r => r.Id == job.Id) is { } run)
|
||||
{
|
||||
run.Update(job);
|
||||
}
|
||||
else
|
||||
{
|
||||
Runs.Insert(0, new ScheduleRunViewModel(job, _showJob));
|
||||
while (Runs.Count > RunsShown) Runs.RemoveAt(Runs.Count - 1);
|
||||
RaiseRuns();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Whether this PC runs <paramref name="action"/> (unknown until the list is read: yes).</summary>
|
||||
public bool IsAvailable(string action) => _actions.FirstOrDefault(a => a.Name == action) is not { Available: false };
|
||||
|
||||
public string? UnavailableReason(string action) => _actions.FirstOrDefault(a => a.Name == action)?.Reason;
|
||||
|
||||
protected override void OnLanguageChanged()
|
||||
{
|
||||
foreach (var row in Rows) row.Refresh();
|
||||
foreach (var run in Runs) run.Refresh();
|
||||
HistoryChanged?.Invoke();
|
||||
base.OnLanguageChanged();
|
||||
}
|
||||
|
||||
// ---------------- Row commands ----------------
|
||||
|
||||
/// <summary>Runs the schedule now, as its next run would; says so when nothing was queued.</summary>
|
||||
internal async Task RunNowAsync(ScheduleRowViewModel row)
|
||||
{
|
||||
if (_attached is not { } scheduler) return;
|
||||
var run = await Call(() => scheduler.RunNowAsync(row.Id, null));
|
||||
if (run is null)
|
||||
{
|
||||
await ReloadAsync();
|
||||
return;
|
||||
}
|
||||
Apply(run.Schedule);
|
||||
if (run.Outcome == ScheduleOutcome.Queued) return;
|
||||
_notify(Loc.L("Jobs.Row.Name", row.Name, ScheduleText.Outcome(run.Outcome, null)), ScheduleText.OutcomeToolTip(run.Outcome, run.Schedule.LastRun, null),
|
||||
ScheduleOutcome.IsFailed(run.Outcome, out _) || run.Outcome == ScheduleOutcome.Unavailable);
|
||||
}
|
||||
|
||||
/// <summary>Turns a schedule on or off (its switch); a refused change puts the switch back.</summary>
|
||||
internal async Task SetEnabledAsync(ScheduleRowViewModel row, bool enabled)
|
||||
{
|
||||
if (_attached is not { } scheduler) return;
|
||||
var result = await Call(() => scheduler.UpdateAsync(row.Id, new UpdateScheduleRequest(Enabled: enabled)));
|
||||
if (result?.Schedule is { } saved)
|
||||
{
|
||||
Apply(saved);
|
||||
return;
|
||||
}
|
||||
row.RevertEnabled();
|
||||
if (result is { NotFound: true }) await ReloadAsync();
|
||||
}
|
||||
|
||||
internal void Edit(ScheduleRowViewModel row)
|
||||
{
|
||||
if (_editor is not null) return;
|
||||
Editor = new ScheduleEditorViewModel(this, row.Schedule);
|
||||
}
|
||||
|
||||
/// <summary>Deletes a schedule the user created, after asking.</summary>
|
||||
internal async Task DeleteAsync(ScheduleRowViewModel row)
|
||||
{
|
||||
if (_attached is not { } scheduler || row.IsSystem) return;
|
||||
var confirmed = _confirm(new ConfirmRequest
|
||||
{
|
||||
Heading = Loc.L("Jobs.Schedule.DeleteHeading", row.Name),
|
||||
Message = Loc.L("Jobs.Schedule.DeleteMessage"),
|
||||
SafeText = Loc.L("Jobs.Schedule.Keep"),
|
||||
SafeToolTip = Loc.L("Tooltips.Jobs.Schedule.Keep"),
|
||||
ActionText = Loc.L("Jobs.Schedule.Delete"),
|
||||
ActionToolTip = Loc.L("Tooltips.Jobs.Schedule.Delete"),
|
||||
IsDestructive = true,
|
||||
});
|
||||
if (!confirmed) return;
|
||||
var outcome = await Call(() => scheduler.DeleteAsync(row.Id));
|
||||
if (outcome is ScheduleDeleteOutcome.Deleted or ScheduleDeleteOutcome.NotFound) Remove(row.Id);
|
||||
}
|
||||
|
||||
/// <summary>Puts a system schedule back to this PC's defaults, after asking.</summary>
|
||||
internal async Task ResetAsync(ScheduleRowViewModel row)
|
||||
{
|
||||
if (_attached is not { } scheduler || !row.IsSystem) return;
|
||||
var confirmed = _confirm(new ConfirmRequest
|
||||
{
|
||||
Heading = Loc.L("Jobs.Schedule.ResetHeading", row.Name),
|
||||
Message = Loc.L("Jobs.Schedule.ResetMessage"),
|
||||
SafeText = Loc.L("Jobs.Schedule.Keep"),
|
||||
SafeToolTip = Loc.L("Tooltips.Jobs.Schedule.KeepEdits"),
|
||||
ActionText = Loc.L("Jobs.Schedule.Reset"),
|
||||
ActionToolTip = Loc.L("Tooltips.Jobs.Schedule.Reset"),
|
||||
});
|
||||
if (!confirmed) return;
|
||||
var result = await Call(() => scheduler.ResetAsync(row.Id));
|
||||
if (result?.Schedule is { } saved) Apply(saved);
|
||||
else await ReloadAsync();
|
||||
}
|
||||
|
||||
// ---------------- Editor ----------------
|
||||
|
||||
private void New()
|
||||
{
|
||||
if (_editor is not null || !IsRunning) return;
|
||||
Editor = new ScheduleEditorViewModel(this, null);
|
||||
}
|
||||
|
||||
/// <summary>Saves what the editor holds: a new schedule, or the fields of the one it edits.</summary>
|
||||
internal async Task<ScheduleEditResult> SaveAsync(ScheduleEditorViewModel editor)
|
||||
{
|
||||
if (_attached is not { } scheduler) return new ScheduleEditResult(null, null);
|
||||
var result = editor.ScheduleId is { } id
|
||||
? await Task.Run(() => scheduler.UpdateAsync(id, editor.BuildUpdate()))
|
||||
: await Task.Run(() => scheduler.CreateAsync(editor.BuildCreate(), null));
|
||||
if (result.Schedule is { } saved)
|
||||
{
|
||||
Apply(saved);
|
||||
if (editor.ScheduleId is null && _rows.TryGetValue(saved.Id, out var created)) Selected = created;
|
||||
}
|
||||
else if (result.NotFound)
|
||||
{
|
||||
await ReloadAsync();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>Closes <paramref name="editor"/> if it is still the open one.</summary>
|
||||
internal void CloseEditor(ScheduleEditorViewModel editor)
|
||||
{
|
||||
if (!ReferenceEquals(_editor, editor)) return;
|
||||
editor.Dispose();
|
||||
Editor = null;
|
||||
}
|
||||
|
||||
// ---------------- Events and rows ----------------
|
||||
|
||||
private void OnScheduleChanged(ScheduleDto schedule) => Post(() => Apply(schedule));
|
||||
|
||||
private void OnScheduleDeleted(Guid id) => Post(() => Remove(id));
|
||||
|
||||
private void Post(Action action)
|
||||
{
|
||||
if (_context is null || SynchronizationContext.Current == _context) action();
|
||||
else _context.Post(_ => action(), null);
|
||||
}
|
||||
|
||||
/// <summary>A schedule as the scheduler returned or announced it: its row changes, or joins the list in the scheduler's order.</summary>
|
||||
private void Apply(ScheduleDto schedule)
|
||||
{
|
||||
if (_rows.TryGetValue(schedule.Id, out var row))
|
||||
{
|
||||
var newRun = row.Schedule.LastRun != schedule.LastRun;
|
||||
var newJob = schedule.LastJobId is { } job && job != row.LastJob?.Id;
|
||||
row.Update(schedule);
|
||||
if (newJob) _ = LoadLastJobAsync(row);
|
||||
if (newRun && ReferenceEquals(_selected, row)) RunsLoading = LoadRunsAsync();
|
||||
}
|
||||
else
|
||||
{
|
||||
row = new ScheduleRowViewModel(schedule, this);
|
||||
_rows[schedule.Id] = row;
|
||||
Rows.Insert(InsertionIndex(schedule), row);
|
||||
_ = LoadLastJobAsync(row);
|
||||
RaiseState();
|
||||
}
|
||||
if (schedule.SystemKey == DesktopScheduleHost.Housekeeping) HistoryChanged?.Invoke();
|
||||
}
|
||||
|
||||
/// <summary>Where a new row goes: system schedules first, then by creation.</summary>
|
||||
private int InsertionIndex(ScheduleDto schedule)
|
||||
{
|
||||
for (var i = 0; i < Rows.Count; i++)
|
||||
{
|
||||
var other = Rows[i].Schedule;
|
||||
var before = (schedule.SystemKey is not null, other.SystemKey is not null) switch
|
||||
{
|
||||
(true, false) => true,
|
||||
(false, true) => false,
|
||||
_ => schedule.Created < other.Created,
|
||||
};
|
||||
if (before) return i;
|
||||
}
|
||||
return Rows.Count;
|
||||
}
|
||||
|
||||
private void Remove(Guid id)
|
||||
{
|
||||
if (!_rows.Remove(id, out var row)) return;
|
||||
Rows.Remove(row);
|
||||
if (ReferenceEquals(_selected, row)) Selected = null;
|
||||
RaiseState();
|
||||
}
|
||||
|
||||
private async Task LoadLastJobAsync(ScheduleRowViewModel row)
|
||||
{
|
||||
if (row.Schedule.LastJobId is not { } id || _database() is not { } db) return;
|
||||
try
|
||||
{
|
||||
row.SetLastJob(await db.Jobs.GetAsync(id));
|
||||
}
|
||||
catch (DatabaseException ex)
|
||||
{
|
||||
Log.Warning("schedules", $"The last job of schedule {row.Id} could not be read", ex);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>The selected schedule's jobs, newest first; a later selection wins over a slower read.</summary>
|
||||
private async Task LoadRunsAsync()
|
||||
{
|
||||
var request = ++_runsRequest;
|
||||
var row = _selected;
|
||||
IReadOnlyList<Job> jobs = [];
|
||||
if (row is not null && _database() is { } db)
|
||||
{
|
||||
try
|
||||
{
|
||||
jobs = await db.Jobs.ListByScheduleAsync(row.Id, RunsShown);
|
||||
}
|
||||
catch (DatabaseException ex)
|
||||
{
|
||||
Log.Warning("schedules", $"The runs of schedule {row.Id} could not be read", ex);
|
||||
}
|
||||
}
|
||||
if (request != _runsRequest) return;
|
||||
Runs.Clear();
|
||||
foreach (var job in jobs) Runs.Add(new ScheduleRunViewModel(job, _showJob));
|
||||
RaiseRuns();
|
||||
}
|
||||
|
||||
/// <summary>Runs a scheduler call off the UI thread; a failure becomes a toast and null.</summary>
|
||||
private async Task<T?> Call<T>(Func<Task<T>> call)
|
||||
{
|
||||
try
|
||||
{
|
||||
return await Task.Run(call);
|
||||
}
|
||||
catch (Exception ex) when (ex is DatabaseException or IOException or InvalidOperationException)
|
||||
{
|
||||
Log.Warning("schedules", "A schedule could not be changed", ex);
|
||||
_notify(Loc.L("Jobs.Schedule.Failed"), ex.Message, true);
|
||||
return default;
|
||||
}
|
||||
}
|
||||
|
||||
private void RaiseState()
|
||||
{
|
||||
OnPropertyChanged(nameof(IsRunning));
|
||||
OnPropertyChanged(nameof(IsLoaded));
|
||||
OnPropertyChanged(nameof(HasRows));
|
||||
OnPropertyChanged(nameof(IsUnavailable));
|
||||
OnPropertyChanged(nameof(NewToolTip));
|
||||
CommandManager.InvalidateRequerySuggested();
|
||||
}
|
||||
|
||||
private void RaiseRuns()
|
||||
{
|
||||
OnPropertyChanged(nameof(HasRuns));
|
||||
OnPropertyChanged(nameof(IsRunsEmpty));
|
||||
}
|
||||
}
|
||||
@@ -2,229 +2,268 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="clr-namespace:Chronos.Ui.Controls;assembly=Chronos.Ui"
|
||||
xmlns:v="clr-namespace:Chronos.Ui.Visuals;assembly=Chronos.Ui"
|
||||
xmlns:l="clr-namespace:Chronos.Ui.Localization;assembly=Chronos.Ui"
|
||||
xmlns:s="clr-namespace:Chronos.App.Sections"
|
||||
xmlns:infra="clr-namespace:Chronos.App.Infrastructure"
|
||||
xmlns:j="clr-namespace:Chronos.App.Jobs">
|
||||
<UserControl.Resources>
|
||||
<Style x:Key="Text.Muted" TargetType="TextBlock" BasedOn="{StaticResource Text.Cell}">
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding IsDimmed}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<!-- Numbers stay right-aligned in both reading directions (DESIGN §4 tables). -->
|
||||
<Style x:Key="Text.MutedNumber" TargetType="TextBlock" BasedOn="{StaticResource Text.Muted}">
|
||||
<Setter Property="TextAlignment" Value="Right" />
|
||||
<Setter Property="FlowDirection" Value="LeftToRight" />
|
||||
</Style>
|
||||
<!-- Speeds and times left carry the language's unit ("2 د"): they read in its direction, at the end of the cell like their header. -->
|
||||
<Style x:Key="Text.MutedEnd" TargetType="TextBlock" BasedOn="{StaticResource Text.Muted}">
|
||||
<Setter Property="TextAlignment" Value="Right" />
|
||||
</Style>
|
||||
<Style x:Key="Text.HeaderEnd" TargetType="TextBlock" BasedOn="{StaticResource Text.Header}">
|
||||
<Setter Property="TextAlignment" Value="Right" />
|
||||
</Style>
|
||||
<Style x:Key="ProgressBar.Job" TargetType="ProgressBar" BasedOn="{StaticResource {x:Type ProgressBar}}">
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding IsDone}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Success}" />
|
||||
</DataTrigger>
|
||||
<DataTrigger Binding="{Binding IsFailed}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Error}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<ItemsPanelTemplate x:Key="Panel.Row">
|
||||
<StackPanel Orientation="Horizontal" />
|
||||
</ItemsPanelTemplate>
|
||||
<ItemsPanelTemplate x:Key="Panel.Wrap">
|
||||
<WrapPanel />
|
||||
</ItemsPanelTemplate>
|
||||
<!-- Filter chip (Jobs.html, aria-pressed): one of a group, so screen readers hear which filter is on. -->
|
||||
<Style x:Key="RadioButton.Chip" TargetType="RadioButton" BasedOn="{StaticResource Button.Base}">
|
||||
<Setter Property="Height" Value="30" />
|
||||
<Setter Property="Padding" Value="12,0" />
|
||||
<Setter Property="Typography.NumeralAlignment" Value="Tabular" />
|
||||
<Setter Property="ui:ControlState.CornerRadius" Value="15" />
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Accent}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Accent}" />
|
||||
<Setter Property="ui:ControlState.HoverBorderBrush" Value="{DynamicResource Brush.Accent}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<!-- A row reads as its job and state; Tab goes to its buttons. -->
|
||||
<Style x:Key="ListBoxItem.Job" TargetType="ListBoxItem" BasedOn="{StaticResource ListBoxItem.PlainRow}">
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding AccessibleName}" />
|
||||
<Setter Property="AutomationProperties.ItemStatus" Value="{Binding StateText}" />
|
||||
</Style>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<!-- The schedule editor (Jobs › Scheduled) opens over the whole screen. -->
|
||||
<ResourceDictionary Source="pack://application:,,,/Chronos;component/Jobs/ScheduleDialogs.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<Style x:Key="Text.Muted" TargetType="TextBlock" BasedOn="{StaticResource Text.Cell}">
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding IsDimmed}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<!-- Numbers stay right-aligned in both reading directions (DESIGN §4 tables). -->
|
||||
<Style x:Key="Text.MutedNumber" TargetType="TextBlock" BasedOn="{StaticResource Text.Muted}">
|
||||
<Setter Property="TextAlignment" Value="Right" />
|
||||
<Setter Property="FlowDirection" Value="LeftToRight" />
|
||||
</Style>
|
||||
<!-- Speeds and times left carry the language's unit ("2 د"): they read in its direction, at the end of the cell like their header. -->
|
||||
<Style x:Key="Text.MutedEnd" TargetType="TextBlock" BasedOn="{StaticResource Text.Muted}">
|
||||
<Setter Property="TextAlignment" Value="Right" />
|
||||
</Style>
|
||||
<Style x:Key="Text.HeaderEnd" TargetType="TextBlock" BasedOn="{StaticResource Text.Header}">
|
||||
<Setter Property="TextAlignment" Value="Right" />
|
||||
</Style>
|
||||
<Style x:Key="ProgressBar.Job" TargetType="ProgressBar" BasedOn="{StaticResource {x:Type ProgressBar}}">
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding IsDone}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Success}" />
|
||||
</DataTrigger>
|
||||
<DataTrigger Binding="{Binding IsFailed}" Value="True">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Error}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<ItemsPanelTemplate x:Key="Panel.Row">
|
||||
<StackPanel Orientation="Horizontal" />
|
||||
</ItemsPanelTemplate>
|
||||
<ItemsPanelTemplate x:Key="Panel.Wrap">
|
||||
<WrapPanel />
|
||||
</ItemsPanelTemplate>
|
||||
<!-- Filter chip (Jobs.html, aria-pressed): one of a group, so screen readers hear which filter is on. -->
|
||||
<Style x:Key="RadioButton.Chip" TargetType="RadioButton" BasedOn="{StaticResource Button.Base}">
|
||||
<Setter Property="Height" Value="30" />
|
||||
<Setter Property="Padding" Value="12,0" />
|
||||
<Setter Property="Typography.NumeralAlignment" Value="Tabular" />
|
||||
<Setter Property="ui:ControlState.CornerRadius" Value="15" />
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource Brush.Accent}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.Accent}" />
|
||||
<Setter Property="ui:ControlState.HoverBorderBrush" Value="{DynamicResource Brush.Accent}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<!-- A row reads as its job and state; Tab goes to its buttons. -->
|
||||
<Style x:Key="ListBoxItem.Job" TargetType="ListBoxItem" BasedOn="{StaticResource ListBoxItem.PlainRow}">
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding AccessibleName}" />
|
||||
<Setter Property="AutomationProperties.ItemStatus" Value="{Binding StateText}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid IsEnabled="{Binding IsContentEnabled}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Toolbar in visual (and Tab) order: state chips · search, then workers, Pause all, Clear done. The search moves under
|
||||
the chips before anything is cut (+40 % text at 1200 px). -->
|
||||
<Grid Margin="20,12">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<WrapPanel VerticalAlignment="Center">
|
||||
<ItemsControl ItemsSource="{Binding Chips}" ItemsPanel="{StaticResource Panel.Wrap}" Focusable="False" VerticalAlignment="Center">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type s:JobFilterChip}">
|
||||
<RadioButton Style="{StaticResource RadioButton.Chip}" GroupName="JobFilters" Content="{Binding Text}" IsChecked="{Binding IsSelected, Mode=OneWay}"
|
||||
Command="{Binding SelectCommand}" ToolTip="{Binding ToolTip}" Margin="0,1,8,1" />
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,1,0,1">
|
||||
<Border Width="1" Height="22" Background="{DynamicResource Brush.Stroke}" Margin="6,0,14,0" VerticalAlignment="Center" />
|
||||
<TextBox Width="240" Text="{Binding SearchText, UpdateSourceTrigger=PropertyChanged}" ui:Field.Glyph="{StaticResource Icon.Search}"
|
||||
ui:Field.Placeholder="{l:Loc Jobs.Search}" ToolTip="{l:Loc Tooltips.Jobs.Search}" AutomationProperties.Name="{l:Loc Jobs.Search}" />
|
||||
</StackPanel>
|
||||
</WrapPanel>
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="12,0,0,0" Visibility="{Binding HasEngine, Converter={StaticResource BoolToVisibility}}">
|
||||
<Border Style="{StaticResource Pill.Auto}" Margin="0,0,10,0" VerticalAlignment="Center" ToolTip="{l:Loc Tooltips.Jobs.PriorityQueue}"
|
||||
Visibility="{Binding IsPriorityQueueOn, Converter={StaticResource BoolToVisibility}}">
|
||||
<TextBlock Text="{l:Loc Jobs.PriorityQueue}" FontSize="{StaticResource Size.Chip}" Foreground="{DynamicResource Brush.Accent}" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
<TextBlock Text="{Binding ParallelismText}" Foreground="{DynamicResource Brush.TextMuted}" VerticalAlignment="Center"
|
||||
Typography.NumeralAlignment="Tabular" ToolTip="{l:Loc Tooltips.Jobs.Parallelism}" />
|
||||
</StackPanel>
|
||||
<Button Grid.Column="2" Content="{l:Loc Jobs.PauseAll}" Command="{Binding PauseAllCommand}" ToolTip="{l:Loc Tooltips.Jobs.PauseAll}" Margin="12,0,0,0" VerticalAlignment="Center" />
|
||||
<Button Grid.Column="3" Content="{l:Loc Jobs.ClearDone}" Command="{Binding ClearDoneCommand}" ToolTip="{l:Loc Tooltips.Jobs.ClearDone}" Margin="8,0,0,0" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
<!-- Toolbar: Queue | Scheduled (owner review 2, R10), then the tab's own tools. -->
|
||||
<DockPanel Margin="20,12">
|
||||
<v:SegmentedControl DockPanel.Dock="Left" VerticalAlignment="Center" SelectedIndex="{Binding TabIndex}" AutomationProperties.Name="{l:Loc Jobs.Tab.Name}">
|
||||
<v:SegmentedItem Content="{l:Loc Jobs.Tab.Queue}" ToolTip="{l:Loc Tooltips.Jobs.Tab.Queue}" AutomationProperties.Name="{l:Loc Jobs.Tab.Queue}" />
|
||||
<v:SegmentedItem Content="{l:Loc Jobs.Tab.Scheduled}" ToolTip="{l:Loc Tooltips.Jobs.Tab.Scheduled}" AutomationProperties.Name="{l:Loc Jobs.Tab.Scheduled}" />
|
||||
</v:SegmentedControl>
|
||||
<Border DockPanel.Dock="Left" Width="1" Height="22" Background="{DynamicResource Brush.Stroke}" Margin="14,0" VerticalAlignment="Center" />
|
||||
<Button DockPanel.Dock="Right" Content="{l:Loc Jobs.Schedule.New}" Command="{Binding Schedules.NewCommand}" ToolTip="{Binding Schedules.NewToolTip}"
|
||||
ToolTipService.ShowOnDisabled="True" VerticalAlignment="Center" Visibility="{Binding IsScheduled, Converter={StaticResource BoolToVisibility}}" />
|
||||
<!-- Queue toolbar in visual (and Tab) order: state chips · search, then workers, Pause all, Clear done. The search moves under
|
||||
the chips before anything is cut (+40 % text at 1200 px). -->
|
||||
<Grid Visibility="{Binding IsQueue, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<WrapPanel VerticalAlignment="Center">
|
||||
<ItemsControl ItemsSource="{Binding Chips}" ItemsPanel="{StaticResource Panel.Wrap}" Focusable="False" VerticalAlignment="Center">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type s:JobFilterChip}">
|
||||
<RadioButton Style="{StaticResource RadioButton.Chip}" GroupName="JobFilters" Content="{Binding Text}" IsChecked="{Binding IsSelected, Mode=OneWay}"
|
||||
Command="{Binding SelectCommand}" ToolTip="{Binding ToolTip}" Margin="0,1,8,1" />
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,1,0,1">
|
||||
<Border Width="1" Height="22" Background="{DynamicResource Brush.Stroke}" Margin="6,0,14,0" VerticalAlignment="Center" />
|
||||
<TextBox Width="240" Text="{Binding SearchText, UpdateSourceTrigger=PropertyChanged}" ui:Field.Glyph="{StaticResource Icon.Search}"
|
||||
ui:Field.Placeholder="{l:Loc Jobs.Search}" ToolTip="{l:Loc Tooltips.Jobs.Search}" AutomationProperties.Name="{l:Loc Jobs.Search}" />
|
||||
</StackPanel>
|
||||
</WrapPanel>
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="12,0,0,0" Visibility="{Binding HasEngine, Converter={StaticResource BoolToVisibility}}">
|
||||
<Border Style="{StaticResource Pill.Auto}" Margin="0,0,10,0" VerticalAlignment="Center" ToolTip="{l:Loc Tooltips.Jobs.PriorityQueue}"
|
||||
Visibility="{Binding IsPriorityQueueOn, Converter={StaticResource BoolToVisibility}}">
|
||||
<TextBlock Text="{l:Loc Jobs.PriorityQueue}" FontSize="{StaticResource Size.Chip}" Foreground="{DynamicResource Brush.Accent}" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
<TextBlock Text="{Binding ParallelismText}" Foreground="{DynamicResource Brush.TextMuted}" VerticalAlignment="Center"
|
||||
Typography.NumeralAlignment="Tabular" ToolTip="{l:Loc Tooltips.Jobs.Parallelism}" />
|
||||
</StackPanel>
|
||||
<Button Grid.Column="2" Content="{l:Loc Jobs.PauseAll}" Command="{Binding PauseAllCommand}" ToolTip="{l:Loc Tooltips.Jobs.PauseAll}" Margin="12,0,0,0" VerticalAlignment="Center" />
|
||||
<Button Grid.Column="3" Content="{l:Loc Jobs.ClearDone}" Command="{Binding ClearDoneCommand}" ToolTip="{l:Loc Tooltips.Jobs.ClearDone}" Margin="8,0,0,0" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
</DockPanel>
|
||||
|
||||
<Border Grid.Row="1" Style="{StaticResource Border.Panel}" Margin="20,0,20,12" Visibility="{Binding HasRows, Converter={StaticResource BoolToVisibility}}">
|
||||
<!-- Header and rows share their columns (Jobs.html grid-template-columns): the same 14 px padding, the actions column sized
|
||||
by its widest row in every row, and the list's scroll-bar gutter always kept (10 px), mirrored on the header's right. -->
|
||||
<Grid Grid.IsSharedSizeScope="True">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<!-- ===================== Queue ===================== -->
|
||||
<Grid Grid.Row="1" Visibility="{Binding IsQueue, Converter={StaticResource BoolToVisibility}}">
|
||||
<Border Style="{StaticResource Border.Panel}" Margin="20,0,20,12" Visibility="{Binding HasRows, Converter={StaticResource BoolToVisibility}}">
|
||||
<!-- Header and rows share their columns (Jobs.html grid-template-columns): the same 14 px padding, the actions column sized
|
||||
by its widest row in every row, and the list's scroll-bar gutter always kept (10 px), mirrored on the header's right. -->
|
||||
<Grid Grid.IsSharedSizeScope="True">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header -->
|
||||
<Border BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="14,8,24,8">
|
||||
<Grid>
|
||||
<!-- Kind, Where and State share the width with Target and Progress (Target, whose name is in its tooltip, gives way first), so the actions keep
|
||||
their room at 1200 px beside the 200 px rail in every language; a cut kind, place, state or header shows whole in its tooltip. On wide
|
||||
windows Kind, Where and State stop growing and Target takes the rest (Jobs.html). -->
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="28" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="90" MaxWidth="140" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="84" />
|
||||
<ColumnDefinition Width="*" MinWidth="104" MaxWidth="240" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="80" />
|
||||
<ColumnDefinition Width="0.6*" MinWidth="80" MaxWidth="140" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="116" MaxWidth="170" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="150" SharedSizeGroup="JobActions" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Kind}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Kind}" />
|
||||
<TextBlock Grid.Column="2" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Target}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Target}" />
|
||||
<TextBlock Grid.Column="3" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Progress}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Progress}" />
|
||||
<TextBlock Grid.Column="4" Style="{StaticResource Text.HeaderEnd}" Text="{l:Loc Jobs.Column.Speed}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Speed}" />
|
||||
<TextBlock Grid.Column="5" Style="{StaticResource Text.HeaderEnd}" Text="{l:Loc Jobs.Column.Left}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Left}" />
|
||||
<TextBlock Grid.Column="6" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Where}" Margin="16,0,0,0" ToolTip="{l:Loc Jobs.Column.Where}" />
|
||||
<TextBlock Grid.Column="7" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.State}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.State}" />
|
||||
<!-- Header -->
|
||||
<Border BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="14,8,24,8">
|
||||
<Grid>
|
||||
<!-- Kind, Where and State share the width with Target and Progress (Target, whose name is in its tooltip, gives way first), so the actions keep
|
||||
their room at 1200 px beside the 200 px rail in every language; a cut kind, place, state or header shows whole in its tooltip. On wide
|
||||
windows Kind, Where and State stop growing and Target takes the rest (Jobs.html). -->
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="28" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="90" MaxWidth="140" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="84" />
|
||||
<ColumnDefinition Width="*" MinWidth="104" MaxWidth="240" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="80" />
|
||||
<ColumnDefinition Width="0.6*" MinWidth="80" MaxWidth="140" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="116" MaxWidth="170" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="150" SharedSizeGroup="JobActions" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Kind}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Kind}" />
|
||||
<TextBlock Grid.Column="2" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Target}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Target}" />
|
||||
<TextBlock Grid.Column="3" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Progress}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Progress}" />
|
||||
<TextBlock Grid.Column="4" Style="{StaticResource Text.HeaderEnd}" Text="{l:Loc Jobs.Column.Speed}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Speed}" />
|
||||
<TextBlock Grid.Column="5" Style="{StaticResource Text.HeaderEnd}" Text="{l:Loc Jobs.Column.Left}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.Left}" />
|
||||
<TextBlock Grid.Column="6" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.Where}" Margin="16,0,0,0" ToolTip="{l:Loc Jobs.Column.Where}" />
|
||||
<TextBlock Grid.Column="7" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Column.State}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Column.State}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Rows: queue order, then the history; expandable log tail. Tab walks every row button (the rows take no focus). -->
|
||||
<ListBox x:Name="JobList" Grid.Row="1" ItemsSource="{Binding Rows}" ItemContainerStyle="{StaticResource ListBoxItem.Job}"
|
||||
VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" VirtualizingPanel.ScrollUnit="Pixel"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.ScrollChanged="OnScrollChanged"
|
||||
KeyboardNavigation.TabNavigation="Continue" AutomationProperties.Name="{l:Loc Shell.Nav.Jobs}">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type j:JobRowViewModel}">
|
||||
<StackPanel>
|
||||
<Border x:Name="Row" Height="38" Background="Transparent" Padding="14,0">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="28" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="90" MaxWidth="140" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="84" />
|
||||
<ColumnDefinition Width="*" MinWidth="104" MaxWidth="240" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="80" />
|
||||
<ColumnDefinition Width="0.6*" MinWidth="80" MaxWidth="140" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="116" MaxWidth="170" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="150" SharedSizeGroup="JobActions" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button x:Name="Toggle" Style="{StaticResource Button.IconSubtle}" Width="22" Height="22" MinWidth="22" HorizontalAlignment="Left"
|
||||
ui:ButtonIcon.Glyph="{StaticResource Icon.ChevronRight}" Command="{Binding ToggleLogCommand}"
|
||||
ToolTip="{Binding ToggleToolTip}" AutomationProperties.Name="{Binding ToggleName}" />
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.Muted}" Text="{Binding Kind}" Margin="10,0,0,0" ToolTip="{Binding Kind}" />
|
||||
<!-- A job a schedule queued carries the "Scheduled" pill after its target, which gives way first. -->
|
||||
<DockPanel Grid.Column="2" Margin="10,0,0,0">
|
||||
<Border DockPanel.Dock="Right" Style="{StaticResource Pill.Auto}" Height="20" Padding="7,0" Margin="8,0,0,0" VerticalAlignment="Center"
|
||||
ToolTip="{l:Loc Tooltips.Jobs.Scheduled}" Visibility="{Binding IsScheduled, Converter={StaticResource BoolToVisibility}}">
|
||||
<TextBlock Text="{l:Loc Jobs.Scheduled}" FontSize="{StaticResource Size.Chip}" Foreground="{DynamicResource Brush.Accent}" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
<TextBlock Style="{StaticResource Text.Cell}" Text="{Binding Target}" ToolTip="{Binding Target}" />
|
||||
</DockPanel>
|
||||
<Grid Grid.Column="3" Margin="10,0,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="44" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ProgressBar Style="{StaticResource ProgressBar.Job}" Maximum="1" Value="{Binding Progress, Mode=OneWay}" VerticalAlignment="Center"
|
||||
AutomationProperties.Name="{Binding AccessibleName}" />
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.MutedNumber}" Text="{Binding PercentText}" />
|
||||
</Grid>
|
||||
<TextBlock Grid.Column="4" Style="{StaticResource Text.MutedEnd}" Text="{Binding SpeedText}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="5" Style="{StaticResource Text.MutedEnd}" Text="{Binding LeftText}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="6" Style="{StaticResource Text.Muted}" Text="{Binding WhereText}" Margin="16,0,0,0" ToolTip="{Binding WhereText}" />
|
||||
<!-- A new state is announced with its job; progress ticks are not. -->
|
||||
<ui:StatusGlyph Grid.Column="7" Kind="{Binding StateKind}" Text="{Binding StateText}" ToolTip="{Binding StateToolTip}"
|
||||
FontSize="13" VerticalAlignment="Center" Margin="10,0,0,0"
|
||||
AutomationProperties.LiveSetting="Polite" infra:LiveRegion.Text="{Binding StateAnnouncement}" />
|
||||
<ItemsControl Grid.Column="8" ItemsSource="{Binding Actions}" ItemsPanel="{StaticResource Panel.Row}" Focusable="False"
|
||||
VerticalAlignment="Center" Margin="10,0,0,0">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type j:JobAction}">
|
||||
<Button Style="{StaticResource Button.Row}" Content="{Binding Text}" Command="{Binding Command}" ToolTip="{Binding ToolTip}"
|
||||
AutomationProperties.Name="{Binding AccessibleName}" />
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</Grid>
|
||||
</Border>
|
||||
<!-- The log keeps its left-to-right lines (times, paths, numbers) in every language. -->
|
||||
<Border x:Name="Log" Background="{DynamicResource Brush.Bg}" BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,1,0,0"
|
||||
Padding="52,10,14,12" Visibility="Collapsed">
|
||||
<TextBlock Style="{StaticResource Text.Log}" Text="{Binding LogText}" FlowDirection="LeftToRight" />
|
||||
</Border>
|
||||
</StackPanel>
|
||||
<DataTemplate.Triggers>
|
||||
<DataTrigger Binding="{Binding IsExpanded}" Value="True">
|
||||
<Setter TargetName="Log" Property="Visibility" Value="Visible" />
|
||||
<Setter TargetName="Row" Property="Background" Value="{DynamicResource Brush.Card}" />
|
||||
<Setter TargetName="Toggle" Property="ui:ButtonIcon.Glyph" Value="{StaticResource Icon.ChevronDown}" />
|
||||
</DataTrigger>
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
|
||||
<!-- Footer -->
|
||||
<Border Grid.Row="2" BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,1,0,0" Padding="14,8">
|
||||
<DockPanel LastChildFill="False" TextElement.FontSize="12">
|
||||
<Button DockPanel.Dock="Right" Style="{StaticResource Button.Link}" Content="{l:Loc Jobs.RenderingSettings}" Command="{Binding RenderingSettingsCommand}"
|
||||
ToolTip="{l:Loc Tooltips.Jobs.RenderingSettings}" />
|
||||
<TextBlock Text="{Binding HistoryText}" Foreground="{DynamicResource Brush.TextMuted}" ToolTip="{l:Loc Tooltips.Jobs.History}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Rows: queue order, then the history; expandable log tail. Tab walks every row button (the rows take no focus). -->
|
||||
<ListBox x:Name="JobList" Grid.Row="1" ItemsSource="{Binding Rows}" ItemContainerStyle="{StaticResource ListBoxItem.Job}"
|
||||
VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" VirtualizingPanel.ScrollUnit="Pixel"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.ScrollChanged="OnScrollChanged"
|
||||
KeyboardNavigation.TabNavigation="Continue" AutomationProperties.Name="{l:Loc Shell.Nav.Jobs}">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type j:JobRowViewModel}">
|
||||
<StackPanel>
|
||||
<Border x:Name="Row" Height="38" Background="Transparent" Padding="14,0">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="28" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="90" MaxWidth="140" />
|
||||
<ColumnDefinition Width="1.6*" MinWidth="84" />
|
||||
<ColumnDefinition Width="*" MinWidth="104" MaxWidth="240" />
|
||||
<ColumnDefinition Width="90" />
|
||||
<ColumnDefinition Width="80" />
|
||||
<ColumnDefinition Width="0.6*" MinWidth="80" MaxWidth="140" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="116" MaxWidth="170" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="150" SharedSizeGroup="JobActions" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button x:Name="Toggle" Style="{StaticResource Button.IconSubtle}" Width="22" Height="22" MinWidth="22" HorizontalAlignment="Left"
|
||||
ui:ButtonIcon.Glyph="{StaticResource Icon.ChevronRight}" Command="{Binding ToggleLogCommand}"
|
||||
ToolTip="{Binding ToggleToolTip}" AutomationProperties.Name="{Binding ToggleName}" />
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.Muted}" Text="{Binding Kind}" Margin="10,0,0,0" ToolTip="{Binding Kind}" />
|
||||
<TextBlock Grid.Column="2" Style="{StaticResource Text.Cell}" Text="{Binding Target}" Margin="10,0,0,0" ToolTip="{Binding Target}" />
|
||||
<Grid Grid.Column="3" Margin="10,0,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="44" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ProgressBar Style="{StaticResource ProgressBar.Job}" Maximum="1" Value="{Binding Progress, Mode=OneWay}" VerticalAlignment="Center"
|
||||
AutomationProperties.Name="{Binding AccessibleName}" />
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.MutedNumber}" Text="{Binding PercentText}" />
|
||||
</Grid>
|
||||
<TextBlock Grid.Column="4" Style="{StaticResource Text.MutedEnd}" Text="{Binding SpeedText}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="5" Style="{StaticResource Text.MutedEnd}" Text="{Binding LeftText}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="6" Style="{StaticResource Text.Muted}" Text="{Binding WhereText}" Margin="16,0,0,0" ToolTip="{Binding WhereText}" />
|
||||
<!-- A new state is announced with its job; progress ticks are not. -->
|
||||
<ui:StatusGlyph Grid.Column="7" Kind="{Binding StateKind}" Text="{Binding StateText}" ToolTip="{Binding StateToolTip}"
|
||||
FontSize="13" VerticalAlignment="Center" Margin="10,0,0,0"
|
||||
AutomationProperties.LiveSetting="Polite" infra:LiveRegion.Text="{Binding StateAnnouncement}" />
|
||||
<ItemsControl Grid.Column="8" ItemsSource="{Binding Actions}" ItemsPanel="{StaticResource Panel.Row}" Focusable="False"
|
||||
VerticalAlignment="Center" Margin="10,0,0,0">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type j:JobAction}">
|
||||
<Button Style="{StaticResource Button.Row}" Content="{Binding Text}" Command="{Binding Command}" ToolTip="{Binding ToolTip}"
|
||||
AutomationProperties.Name="{Binding AccessibleName}" />
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</Grid>
|
||||
</Border>
|
||||
<!-- The log keeps its left-to-right lines (times, paths, numbers) in every language. -->
|
||||
<Border x:Name="Log" Background="{DynamicResource Brush.Bg}" BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,1,0,0"
|
||||
Padding="52,10,14,12" Visibility="Collapsed">
|
||||
<TextBlock Style="{StaticResource Text.Log}" Text="{Binding LogText}" FlowDirection="LeftToRight" />
|
||||
</Border>
|
||||
</StackPanel>
|
||||
<DataTemplate.Triggers>
|
||||
<DataTrigger Binding="{Binding IsExpanded}" Value="True">
|
||||
<Setter TargetName="Log" Property="Visibility" Value="Visible" />
|
||||
<Setter TargetName="Row" Property="Background" Value="{DynamicResource Brush.Card}" />
|
||||
<Setter TargetName="Toggle" Property="ui:ButtonIcon.Glyph" Value="{StaticResource Icon.ChevronDown}" />
|
||||
</DataTrigger>
|
||||
</DataTemplate.Triggers>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
|
||||
<!-- Footer -->
|
||||
<Border Grid.Row="2" BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,1,0,0" Padding="14,8">
|
||||
<DockPanel LastChildFill="False" TextElement.FontSize="12">
|
||||
<Button DockPanel.Dock="Right" Style="{StaticResource Button.Link}" Content="{l:Loc Jobs.RenderingSettings}" Command="{Binding RenderingSettingsCommand}"
|
||||
ToolTip="{l:Loc Tooltips.Jobs.RenderingSettings}" />
|
||||
<TextBlock Text="{Binding HistoryText}" Foreground="{DynamicResource Brush.TextMuted}" ToolTip="{l:Loc Tooltips.Jobs.History}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
<ui:EmptyState Message="{l:Loc Jobs.Empty}" Visibility="{Binding IsEmpty, Converter={StaticResource BoolToVisibility}}">
|
||||
<Button Content="{l:Loc Shell.Nav.Import}" Command="{Binding ImportCommand}" ToolTip="{l:Loc Tooltips.Jobs.Import}" />
|
||||
</ui:EmptyState>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<ui:EmptyState Grid.Row="1" Message="{l:Loc Jobs.Empty}" Visibility="{Binding IsEmpty, Converter={StaticResource BoolToVisibility}}">
|
||||
<Button Content="{l:Loc Shell.Nav.Import}" Command="{Binding ImportCommand}" ToolTip="{l:Loc Tooltips.Jobs.Import}" />
|
||||
</ui:EmptyState>
|
||||
<!-- ===================== Scheduled ===================== -->
|
||||
<ContentControl Grid.Row="1" Content="{Binding Schedules}" Focusable="False" Visibility="{Binding IsScheduled, Converter={StaticResource BoolToVisibility}}" />
|
||||
</Grid>
|
||||
|
||||
<!-- The schedule editor over a scrim; the keyboard stays inside it. -->
|
||||
<Grid DataContext="{Binding Schedules}" Visibility="{Binding IsEditorOpen, Converter={StaticResource BoolToVisibility}}" KeyboardNavigation.TabNavigation="Cycle"
|
||||
KeyboardNavigation.ControlTabNavigation="Cycle" KeyboardNavigation.DirectionalNavigation="Contained">
|
||||
<Border Background="{DynamicResource Brush.Scrim}" />
|
||||
<ContentPresenter x:Name="DialogHost" Content="{Binding Editor}" Margin="20" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -1,10 +1,23 @@
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Threading;
|
||||
using Chronos.App.Jobs;
|
||||
|
||||
namespace Chronos.App.Sections;
|
||||
|
||||
public partial class JobsView : UserControl
|
||||
{
|
||||
public JobsView() => InitializeComponent();
|
||||
private JobsViewModel? _model;
|
||||
private IInputElement? _beforeDialog;
|
||||
|
||||
public JobsView()
|
||||
{
|
||||
InitializeComponent();
|
||||
DataContextChanged += OnDataContextChanged;
|
||||
}
|
||||
|
||||
/// <summary>Loads older history when the list scrolls near its end.</summary>
|
||||
private void OnScrollChanged(object sender, ScrollChangedEventArgs e)
|
||||
@@ -12,4 +25,51 @@ public partial class JobsView : UserControl
|
||||
if (DataContext is not JobsViewModel vm || e.ExtentHeight <= 0) return;
|
||||
if (e.VerticalOffset + e.ViewportHeight >= e.ExtentHeight - Math.Max(e.ViewportHeight, 200)) _ = vm.LoadMoreAsync();
|
||||
}
|
||||
|
||||
private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
if (_model is not null)
|
||||
{
|
||||
_model.RowRevealRequested -= OnRevealRequested;
|
||||
_model.Schedules.PropertyChanged -= OnSchedulesChanged;
|
||||
}
|
||||
_model = e.NewValue as JobsViewModel;
|
||||
if (_model is not null)
|
||||
{
|
||||
_model.RowRevealRequested += OnRevealRequested;
|
||||
_model.Schedules.PropertyChanged += OnSchedulesChanged;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>A job shown from Jobs › Scheduled: its row comes into view (the list is visible again by then) and takes the keyboard.</summary>
|
||||
private void OnRevealRequested(JobRowViewModel row) =>
|
||||
Dispatcher.BeginInvoke(DispatcherPriority.Loaded, () =>
|
||||
{
|
||||
JobList.ScrollIntoView(row);
|
||||
JobList.UpdateLayout();
|
||||
if (JobList.ItemContainerGenerator.ContainerFromItem(row) is ListBoxItem item) item.MoveFocus(new TraversalRequest(FocusNavigationDirection.First));
|
||||
});
|
||||
|
||||
/// <summary>
|
||||
/// The schedule editor takes the keyboard when it opens (its first field); when it closes, the keyboard goes back to the
|
||||
/// control that opened it while that can still take it.
|
||||
/// </summary>
|
||||
private void OnSchedulesChanged(object? sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.PropertyName != nameof(SchedulesViewModel.Editor) || _model is not { } model) return;
|
||||
if (model.Schedules.Editor is not null)
|
||||
{
|
||||
if (!IsVisible) return;
|
||||
_beforeDialog ??= Keyboard.FocusedElement is Visual focused && IsAncestorOf(focused) ? Keyboard.FocusedElement : null;
|
||||
Dispatcher.BeginInvoke(DispatcherPriority.Input, () => DialogHost.MoveFocus(new TraversalRequest(FocusNavigationDirection.First)));
|
||||
return;
|
||||
}
|
||||
var back = _beforeDialog;
|
||||
_beforeDialog = null;
|
||||
if (!IsVisible) return;
|
||||
Dispatcher.BeginInvoke(DispatcherPriority.Input, () =>
|
||||
{
|
||||
if (back is UIElement { IsVisible: true, IsEnabled: true, Focusable: true } element) element.Focus();
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -49,10 +49,11 @@ 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 (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.
|
||||
/// Jobs (BRIEF §12.6, Jobs.html), two tabs: Queue, the 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; Scheduled
|
||||
/// (owner review 2, R10), the schedules of this PC (<see cref="SchedulesViewModel"/>). Also feeds the 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
|
||||
{
|
||||
@@ -77,6 +78,7 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
private bool _hasMore;
|
||||
private bool _loading;
|
||||
private bool _hasLoaded;
|
||||
private int _tabIndex;
|
||||
|
||||
public JobsViewModel(ShellViewModel shell)
|
||||
: base(SectionKey.Jobs, "Icon.Jobs")
|
||||
@@ -94,10 +96,42 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
});
|
||||
LoadMoreCommand = new RelayCommand(() => _ = LoadMoreAsync());
|
||||
ImportCommand = new RelayCommand(() => Shell.Navigate(SectionKey.Import));
|
||||
Schedules = new SchedulesViewModel(() => Shell.Services.Scheduler, () => Shell.Services.Database, request => Shell.Services.Dialogs.Confirm(request),
|
||||
(title, message, isError) => Shell.Notify(title, message, isError: isError), ShowJobAsync);
|
||||
Schedules.HistoryChanged += () => OnPropertyChanged(nameof(HistoryText));
|
||||
Schedules.PropertyChanged += (_, e) =>
|
||||
{
|
||||
if (e.PropertyName is nameof(SchedulesViewModel.IsContentEnabled) or "" or null) OnPropertyChanged(nameof(IsContentEnabled));
|
||||
};
|
||||
}
|
||||
|
||||
/// <summary>A row the screen should bring into view and expand (a job shown from Jobs › Scheduled).</summary>
|
||||
public event Action<JobRowViewModel>? RowRevealRequested;
|
||||
|
||||
public ShellViewModel Shell { get; }
|
||||
|
||||
/// <summary>Jobs › Scheduled.</summary>
|
||||
public SchedulesViewModel Schedules { get; }
|
||||
|
||||
/// <summary>0 = Queue, 1 = Scheduled (the segmented control's index).</summary>
|
||||
public int TabIndex
|
||||
{
|
||||
get => _tabIndex;
|
||||
set
|
||||
{
|
||||
if (value is < 0 or > 1 || !Set(ref _tabIndex, value)) return;
|
||||
OnPropertyChanged(nameof(IsQueue));
|
||||
OnPropertyChanged(nameof(IsScheduled));
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsQueue => _tabIndex == 0;
|
||||
|
||||
public bool IsScheduled => _tabIndex == 1;
|
||||
|
||||
/// <summary>The screen behind the schedule editor takes neither clicks nor keyboard focus.</summary>
|
||||
public bool IsContentEnabled => Schedules.IsContentEnabled;
|
||||
|
||||
/// <summary>Rows in display order for the current filter and search.</summary>
|
||||
public ObservableCollection<JobRowViewModel> Rows { get; } = [];
|
||||
|
||||
@@ -141,8 +175,8 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
/// <summary>The priority queue of Settings › Rendering is on: higher jobs pause the running one.</summary>
|
||||
public bool IsPriorityQueueOn => HasEngine && Shell.Services.Settings.PriorityQueue;
|
||||
|
||||
/// <summary>"History keeps 90 days": the job-history step of the housekeeping schedule.</summary>
|
||||
public string HistoryText => Loc.Plural("Jobs.History", (long)Chronos.Data.Housekeeping.CleanupSteps.DefaultHistoryDays);
|
||||
/// <summary>"History keeps 90 days": the age limit of the housekeeping schedule's job-history step; "Full history kept" without one.</summary>
|
||||
public string HistoryText => Schedules.HistoryDays is { } days ? Loc.Plural("Jobs.History", days) : Loc.L("Jobs.HistoryKept");
|
||||
|
||||
public bool IsEmpty => _hasLoaded && Rows.Count == 0;
|
||||
|
||||
@@ -154,9 +188,11 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
|
||||
private DateTimeOffset? ClearedAt => Shell.Services.Settings.JobsClearedAt;
|
||||
|
||||
/// <summary>Subscribes to the engine and loads the first page of jobs.</summary>
|
||||
/// <summary>Subscribes to the engine and loads the first page of jobs; the Scheduled tab follows the schedules once they run.</summary>
|
||||
public void Attach()
|
||||
{
|
||||
// Without an index the Scheduled tab says the schedules do not run.
|
||||
_ = Schedules.AttachAsync(Shell.Services.SchedulerReady);
|
||||
_queue = Shell.Services.Jobs;
|
||||
if (_queue is null)
|
||||
{
|
||||
@@ -178,6 +214,7 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
_queue.Progress -= OnProgress;
|
||||
}
|
||||
_throttle?.Dispose();
|
||||
Schedules.Dispose();
|
||||
base.Dispose();
|
||||
}
|
||||
|
||||
@@ -234,6 +271,7 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
var before = _model[job.Id]?.State;
|
||||
_model.Apply(job);
|
||||
Follow(before, job);
|
||||
Schedules.OnJob(job);
|
||||
}
|
||||
foreach (var p in progress) _model.Apply(p);
|
||||
foreach (var ending in _endings.Take(_model.IsBusy)) Shell.ShowToast(ToastFor(ending));
|
||||
@@ -344,6 +382,38 @@ public sealed class JobsViewModel : SectionViewModel
|
||||
|
||||
private void SelectFilter(JobFilter filter) => Filter = filter;
|
||||
|
||||
/// <summary>
|
||||
/// Shows a job in the Queue tab (from a schedule's last runs): every filter off, its row read when the list has not
|
||||
/// loaded it yet, expanded with its log, and brought into view.
|
||||
/// </summary>
|
||||
internal async Task ShowJobAsync(Guid jobId)
|
||||
{
|
||||
TabIndex = 0;
|
||||
Filter = JobFilter.All;
|
||||
SearchText = string.Empty;
|
||||
if (_model[jobId] is null && _queue is not null)
|
||||
{
|
||||
var stamp = _model.Stamp;
|
||||
try
|
||||
{
|
||||
if (await _queue.GetAsync(jobId) is { } job) _model.ApplyLoaded(job, stamp);
|
||||
}
|
||||
catch (DatabaseException ex)
|
||||
{
|
||||
Log.Warning("jobs", $"Job {jobId} could not be read", ex);
|
||||
}
|
||||
SyncRows();
|
||||
}
|
||||
if (!_rows.TryGetValue(jobId, out var row) || !Rows.Contains(row))
|
||||
{
|
||||
// Hidden by Clear done: the history keeps it, the list no longer shows it.
|
||||
Shell.Notify(Loc.L("Jobs.Schedule.JobHidden"), Loc.L("Tooltips.Jobs.Schedule.JobHidden"));
|
||||
return;
|
||||
}
|
||||
row.IsExpanded = true;
|
||||
RowRevealRequested?.Invoke(row);
|
||||
}
|
||||
|
||||
/// <summary>Brings <see cref="Rows"/> to the model's order with moves (rows keep their expanded log).</summary>
|
||||
private void SyncRows()
|
||||
{
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
<UserControl x:Class="Chronos.App.Sections.SchedulesView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="clr-namespace:Chronos.Ui.Controls;assembly=Chronos.Ui"
|
||||
xmlns:l="clr-namespace:Chronos.Ui.Localization;assembly=Chronos.Ui"
|
||||
xmlns:infra="clr-namespace:Chronos.App.Infrastructure"
|
||||
xmlns:j="clr-namespace:Chronos.App.Jobs">
|
||||
<!-- Jobs › Scheduled (owner review 2, R10): the schedules of this PC, and the last runs of the selected one. -->
|
||||
<UserControl.Resources>
|
||||
<Style x:Key="Text.Muted" TargetType="TextBlock" BasedOn="{StaticResource Text.Cell}">
|
||||
<Setter Property="Foreground" Value="{DynamicResource Brush.TextMuted}" />
|
||||
</Style>
|
||||
<!-- A schedule row: selecting it shows its last runs; it reads as its name, action and recurrence, its last result as its status. -->
|
||||
<Style x:Key="ListBoxItem.Schedule" TargetType="ListBoxItem" BasedOn="{StaticResource ListBoxItem.Row}">
|
||||
<Setter Property="Padding" Value="0" />
|
||||
<Setter Property="FocusVisualStyle" Value="{StaticResource Focus.Inset}" />
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding AccessibleName}" />
|
||||
<Setter Property="AutomationProperties.ItemStatus" Value="{Binding LastText}" />
|
||||
</Style>
|
||||
<Style x:Key="ListBoxItem.Run" TargetType="ListBoxItem" BasedOn="{StaticResource ListBoxItem.PlainRow}">
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding AccessibleName}" />
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
|
||||
<Grid Margin="20,0,20,12">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" MinHeight="150" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Border Style="{StaticResource Border.Panel}" Visibility="{Binding HasRows, Converter={StaticResource BoolToVisibility}}">
|
||||
<!-- Header and rows share their columns: the same 14 px padding, the actions column sized by its widest row, the scroll-bar gutter kept. -->
|
||||
<Grid Grid.IsSharedSizeScope="True">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Border BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="14,8,24,8">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="56" />
|
||||
<ColumnDefinition Width="1.2*" MinWidth="120" />
|
||||
<ColumnDefinition Width="0.9*" MinWidth="100" MaxWidth="190" />
|
||||
<ColumnDefinition Width="1.1*" MinWidth="120" MaxWidth="240" />
|
||||
<ColumnDefinition Width="0.8*" MinWidth="110" MaxWidth="170" />
|
||||
<ColumnDefinition Width="0.8*" MinWidth="110" MaxWidth="180" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="200" SharedSizeGroup="ScheduleActions" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Schedule.Column.On}" ToolTip="{l:Loc Jobs.Schedule.Column.On}" />
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Schedule.Column.Name}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Schedule.Column.Name}" />
|
||||
<TextBlock Grid.Column="2" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Schedule.Column.Action}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Schedule.Column.Action}" />
|
||||
<TextBlock Grid.Column="3" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Schedule.Column.When}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Schedule.Column.When}" />
|
||||
<TextBlock Grid.Column="4" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Schedule.Column.Next}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Schedule.Column.Next}" />
|
||||
<TextBlock Grid.Column="5" Style="{StaticResource Text.Header}" Text="{l:Loc Jobs.Schedule.Column.Last}" Margin="10,0,0,0" ToolTip="{l:Loc Jobs.Schedule.Column.Last}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Rows: the arrow keys move the selection; Tab walks the switch and the buttons of each row. -->
|
||||
<ListBox x:Name="ScheduleList" Grid.Row="1" ItemsSource="{Binding Rows}" SelectedItem="{Binding Selected}" ItemContainerStyle="{StaticResource ListBoxItem.Schedule}"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible" KeyboardNavigation.TabNavigation="Continue"
|
||||
AutomationProperties.Name="{l:Loc Jobs.Tab.Scheduled}">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type j:ScheduleRowViewModel}">
|
||||
<Grid Height="38" Margin="14,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="56" />
|
||||
<ColumnDefinition Width="1.2*" MinWidth="120" />
|
||||
<ColumnDefinition Width="0.9*" MinWidth="100" MaxWidth="190" />
|
||||
<ColumnDefinition Width="1.1*" MinWidth="120" MaxWidth="240" />
|
||||
<ColumnDefinition Width="0.8*" MinWidth="110" MaxWidth="170" />
|
||||
<ColumnDefinition Width="0.8*" MinWidth="110" MaxWidth="180" />
|
||||
<ColumnDefinition Width="Auto" MinWidth="200" SharedSizeGroup="ScheduleActions" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<CheckBox Style="{StaticResource CheckBox.Switch}" IsChecked="{Binding IsEnabled}" ToolTip="{Binding EnabledToolTip}" VerticalAlignment="Center"
|
||||
HorizontalAlignment="Left" AutomationProperties.Name="{Binding EnabledName}" />
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.Cell}" Text="{Binding Name}" ToolTip="{Binding NameToolTip}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="2" Style="{StaticResource Text.Muted}" Text="{Binding ActionText}" ToolTip="{Binding ActionToolTip}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="3" Style="{StaticResource Text.Cell}" Text="{Binding WhenText}" ToolTip="{Binding WhenToolTip}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="4" Style="{StaticResource Text.Muted}" Text="{Binding NextText}" ToolTip="{Binding NextToolTip}" Margin="10,0,0,0" />
|
||||
<!-- A new result is announced with its schedule. -->
|
||||
<ui:StatusGlyph Grid.Column="5" Kind="{Binding LastKind}" Text="{Binding LastText}" ToolTip="{Binding LastToolTip}" FontSize="13" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" AutomationProperties.LiveSetting="Polite" infra:LiveRegion.Text="{Binding LastText}" />
|
||||
<StackPanel Grid.Column="6" Orientation="Horizontal" VerticalAlignment="Center" Margin="10,0,0,0">
|
||||
<Button Style="{StaticResource Button.Row}" Content="{l:Loc Jobs.Schedule.RunNow}" Command="{Binding RunNowCommand}" ToolTip="{Binding RunNowToolTip}"
|
||||
ToolTipService.ShowOnDisabled="True" AutomationProperties.Name="{Binding RunNowName}" />
|
||||
<Button Style="{StaticResource Button.Row}" Content="{l:Loc Jobs.Schedule.Edit}" Command="{Binding EditCommand}" ToolTip="{l:Loc Tooltips.Jobs.Schedule.Edit}"
|
||||
AutomationProperties.Name="{Binding EditName}" />
|
||||
<Button Style="{StaticResource Button.Row}" Content="{l:Loc Jobs.Schedule.Reset}" Command="{Binding ResetCommand}" ToolTip="{l:Loc Tooltips.Jobs.Schedule.Reset}"
|
||||
AutomationProperties.Name="{Binding ResetName}" Visibility="{Binding IsSystem, Converter={StaticResource BoolToVisibility}}" />
|
||||
<Button Style="{StaticResource Button.Row}" Content="{l:Loc Jobs.Schedule.Delete}" Command="{Binding DeleteCommand}" ToolTip="{l:Loc Tooltips.Jobs.Schedule.Delete}"
|
||||
AutomationProperties.Name="{Binding DeleteName}"
|
||||
Visibility="{Binding IsSystem, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- The selected schedule's last runs: Show in queue opens the job's row in the Queue tab. -->
|
||||
<Border Grid.Row="1" Style="{StaticResource Border.Panel}" Margin="0,12,0,0" MaxHeight="260" Visibility="{Binding HasSelection, Converter={StaticResource BoolToVisibility}}">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Border BorderBrush="{DynamicResource Brush.Stroke}" BorderThickness="0,0,0,1" Padding="14,8">
|
||||
<TextBlock Text="{Binding RunsHeading}" Style="{StaticResource Text.PanelTitle}" FontSize="13" TextTrimming="CharacterEllipsis" ToolTip="{l:Loc Tooltips.Jobs.Schedule.Runs}" />
|
||||
</Border>
|
||||
<ListBox Grid.Row="1" ItemsSource="{Binding Runs}" ItemContainerStyle="{StaticResource ListBoxItem.Run}" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
KeyboardNavigation.TabNavigation="Continue" AutomationProperties.Name="{Binding RunsHeading}"
|
||||
Visibility="{Binding HasRuns, Converter={StaticResource BoolToVisibility}}">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type j:ScheduleRunViewModel}">
|
||||
<Grid Height="34" Margin="14,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="0.6*" MinWidth="110" MaxWidth="170" />
|
||||
<ColumnDefinition Width="0.7*" MinWidth="90" MaxWidth="150" />
|
||||
<ColumnDefinition Width="1.4*" MinWidth="120" />
|
||||
<ColumnDefinition Width="0.8*" MinWidth="110" MaxWidth="190" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Style="{StaticResource Text.Muted}" Text="{Binding WhenText}" ToolTip="{l:Loc Tooltips.Jobs.Schedule.RunWhen}" />
|
||||
<TextBlock Grid.Column="1" Style="{StaticResource Text.Muted}" Text="{Binding Kind}" ToolTip="{Binding Kind}" Margin="10,0,0,0" />
|
||||
<TextBlock Grid.Column="2" Style="{StaticResource Text.Cell}" Text="{Binding Target}" ToolTip="{Binding Target}" Margin="10,0,0,0" />
|
||||
<ui:StatusGlyph Grid.Column="3" Kind="{Binding StateKind}" Text="{Binding StateText}" ToolTip="{Binding StateToolTip}" FontSize="13" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" />
|
||||
<Button Grid.Column="4" Style="{StaticResource Button.Row}" Content="{l:Loc Jobs.Schedule.ShowJob}" Command="{Binding ShowCommand}"
|
||||
ToolTip="{l:Loc Tooltips.Jobs.Schedule.ShowJob}" AutomationProperties.Name="{Binding ShowName}" VerticalAlignment="Center" Margin="10,0,0,0" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
<TextBlock Grid.Row="1" Text="{l:Loc Jobs.Schedule.NoRuns}" Foreground="{DynamicResource Brush.TextMuted}" Margin="14,10"
|
||||
Visibility="{Binding IsRunsEmpty, Converter={StaticResource BoolToVisibility}}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<ui:EmptyState Grid.RowSpan="2" Message="{l:Loc Jobs.Schedule.NotRunning}" Visibility="{Binding IsUnavailable, Converter={StaticResource BoolToVisibility}}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,9 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace Chronos.App.Sections;
|
||||
|
||||
/// <summary>Jobs › Scheduled: the view of <see cref="Jobs.SchedulesViewModel"/>.</summary>
|
||||
public partial class SchedulesView : UserControl
|
||||
{
|
||||
public SchedulesView() => InitializeComponent();
|
||||
}
|
||||
@@ -192,10 +192,6 @@
|
||||
<ComboBox Width="140" HorizontalAlignment="Left" ItemsSource="{Binding ThumbnailSizes}" SelectedItem="{Binding SelectedThumbnailSize}" DisplayMemberPath="Label"
|
||||
ToolTip="{l:Loc Tooltips.Settings.ThumbnailSize}" AutomationProperties.Name="{l:Loc Settings.Archive.Thumbnails}" />
|
||||
</HeaderedContentControl>
|
||||
<HeaderedContentControl Style="{StaticResource Setting.Row}" Header="{l:Loc Settings.Archive.Polling}">
|
||||
<ComboBox Width="140" HorizontalAlignment="Left" ItemsSource="{Binding ScanIntervals}" SelectedItem="{Binding SelectedScanInterval}" DisplayMemberPath="Label"
|
||||
ToolTip="{l:Loc Tooltips.Settings.Polling}" AutomationProperties.Name="{l:Loc Settings.Archive.Polling}" />
|
||||
</HeaderedContentControl>
|
||||
</StackPanel>
|
||||
|
||||
<!-- ================= Import: defaults of new cards and folders ================= -->
|
||||
|
||||
@@ -73,7 +73,7 @@ public sealed class SettingsViewModel : SectionViewModel
|
||||
new(SettingsPage.General, ["Settings.General.Language", "Settings.General.Theme", .. ShowsStartup ? (string[])["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",
|
||||
"Settings.Archive.Thumbnails", "Settings.Archive.Polling"]),
|
||||
"Settings.Archive.Thumbnails"]),
|
||||
new(SettingsPage.Import, ["Import.Scan.Sessions", "Import.Label.Scan", "Import.Scan.Subfolders", "Import.Scan.Verify", "Import.Label.Duplicates",
|
||||
"Import.Label.After", "Import.After.Eject"]),
|
||||
new(SettingsPage.Analysis, ["Settings.Analysis.Width", "Settings.Analysis.Night", "Settings.Analysis.Stars", "Settings.Analysis.Deep"]),
|
||||
@@ -440,23 +440,6 @@ public sealed class SettingsViewModel : SectionViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public IReadOnlyList<SettingsOption<int>> ScanIntervals =>
|
||||
[.. new[] { 5, 10, 15, 30, 60 }.Select(m => new SettingsOption<int>(m, Formatting.Duration(TimeSpan.FromMinutes(m))))];
|
||||
|
||||
/// <summary>How often this PC rescans the open archive for changes made elsewhere (BRIEF §7: polling).</summary>
|
||||
public SettingsOption<int> SelectedScanInterval
|
||||
{
|
||||
get => ScanIntervals.FirstOrDefault(p => p.Value == _s.ScanIntervalMinutes) ?? ScanIntervals[1];
|
||||
set
|
||||
{
|
||||
if (value is null || value.Value == _s.ScanIntervalMinutes) return;
|
||||
_s.ScanIntervalMinutes = value.Value;
|
||||
// Saving applies it: the running rescan timer takes the new period.
|
||||
Save();
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------- Import ----------------
|
||||
|
||||
public EditableField SessionGap { get; }
|
||||
@@ -1527,7 +1510,6 @@ public sealed class SettingsViewModel : SectionViewModel
|
||||
_s.FileTemplate = defaults.FileTemplate;
|
||||
_s.ProxyLongEdge = defaults.ProxyLongEdge;
|
||||
_s.ThumbnailLongEdge = defaults.ThumbnailLongEdge;
|
||||
_s.ScanIntervalMinutes = defaults.ScanIntervalMinutes;
|
||||
FolderTemplate.Load(_s.FolderTemplate);
|
||||
FileTemplate.Load(_s.FileTemplate);
|
||||
UpdatePreview();
|
||||
|
||||
@@ -70,6 +70,9 @@ public static class ScreenCapture
|
||||
await sample.FillAsync();
|
||||
await shell.Library.RefreshAsync();
|
||||
await shell.Jobs.ReloadAsync();
|
||||
// The sample wrote its schedules into the index, past the scheduler's events.
|
||||
await shell.Jobs.Schedules.Attached;
|
||||
await shell.Jobs.Schedules.ReloadAsync();
|
||||
await shell.Services.Server.RestoreAsync();
|
||||
await shell.Services.Sync.RefreshAsync();
|
||||
await shell.Server.Sync.ReloadAsync();
|
||||
@@ -103,6 +106,7 @@ public static class ScreenCapture
|
||||
shell.Navigate(SectionKey.Jobs);
|
||||
if (shell.Jobs.Rows.Count > 0) shell.Jobs.Rows[0].IsExpanded = true;
|
||||
written += await SaveAsync(window, directory, "jobs", theme);
|
||||
written += await CaptureSchedulesAsync(window, shell, directory, theme);
|
||||
|
||||
shell.Navigate(SectionKey.Server);
|
||||
written += await SaveAsync(window, directory, "server", theme);
|
||||
@@ -195,6 +199,29 @@ public static class ScreenCapture
|
||||
return written;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <c>jobs-scheduled</c> (owner review 2, R10: the Scheduled tab with the weekly integrity check selected and its last
|
||||
/// run) and <c>jobs-schedule-editor</c> (that schedule in the editor), then the Queue tab again.
|
||||
/// </summary>
|
||||
private static async Task<int> CaptureSchedulesAsync(MainWindow window, ShellViewModel shell, string directory, AppTheme theme)
|
||||
{
|
||||
var schedules = shell.Jobs.Schedules;
|
||||
shell.Jobs.TabIndex = 1;
|
||||
var written = 0;
|
||||
if ((schedules.Rows.FirstOrDefault(r => !r.IsSystem && r.IsEnabled) ?? schedules.Rows.FirstOrDefault()) is { } row)
|
||||
{
|
||||
schedules.Selected = row;
|
||||
await schedules.RunsLoading;
|
||||
written += await SaveAsync(window, directory, "jobs-scheduled", theme);
|
||||
row.EditCommand.Execute(null);
|
||||
written += await SaveAsync(window, directory, "jobs-schedule-editor", theme);
|
||||
schedules.Editor?.CloseCommand.Execute(null);
|
||||
schedules.Selected = null;
|
||||
}
|
||||
shell.Jobs.TabIndex = 0;
|
||||
return written;
|
||||
}
|
||||
|
||||
private static void SelectSyncFilter(ShellViewModel shell, SyncFilter filter) =>
|
||||
shell.Server.Sync.Chips.First(c => c.Filter == filter).SelectCommand.Execute(null);
|
||||
|
||||
|
||||
Loaded 100 of 108 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user