fix(data): the render job's label points from the sequence to the preset in the reading direction
The label (shown in the job bar and the Jobs list) comes from Jobs.Target.Render, or Jobs.Target.RenderRtl in right-to-left languages, as Import.Session.Time does. The curve readout stays an invariant left-to-right pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
3 files changed
+7
-2
No files matched your search
@@ -37,7 +37,10 @@ public static class ProcessingJobs
|
||||
ArgumentNullException.ThrowIfNull(sequence);
|
||||
ArgumentNullException.ThrowIfNull(export);
|
||||
var parameters = Parameters(export, sourceWidth, sourceHeight, project?.ToJson(), useProxies);
|
||||
return new ArchiveJobRequest(JobKind.Render, [sequence.Id], $"{sequence.DisplayTitle} → {parameters.PresetName}",
|
||||
// The label is stored as written, in the language of the moment like the preset name: its arrow points from the
|
||||
// sequence to the preset in that language's reading direction.
|
||||
var label = Loc.L(Loc.IsRightToLeft ? "Jobs.Target.RenderRtl" : "Jobs.Target.Render", sequence.DisplayTitle, parameters.PresetName);
|
||||
return new ArchiveJobRequest(JobKind.Render, [sequence.Id], label,
|
||||
JsonSerializer.Serialize(parameters, ProtocolJson.Default.RenderJobParameters), JobPriority.User);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user