diff --git a/i18n/en/Common.resx b/i18n/en/Common.resx index 9dd84635..43d62770 100644 --- a/i18n/en/Common.resx +++ b/i18n/en/Common.resx @@ -8,7 +8,7 @@ Auto · {0}{0} advisor value curvecontrol type read by screen readers, lower case Point {0} of {1}: {2}{0} position; {1} point count; {2} coordinates (Common.CurveReadout) - {0} → {1}{0} horizontal value; {1} vertical value; right-to-left languages point the arrow left + {0} → {1}invariant; drawn left to right in every language; {0} horizontal value; {1} vertical value {0} d {1} h {0} h {1} m {0} min diff --git a/i18n/en/Jobs.resx b/i18n/en/Jobs.resx index 9e6c4cd8..1bd5a967 100644 --- a/i18n/en/Jobs.resx +++ b/i18n/en/Jobs.resx @@ -67,6 +67,8 @@ queued running {0} · {1} + {0} → {1}invariant; {0} sequence title; {1} export preset + {0} ← {1}invariant; right-to-left languages: the arrow points from the sequence to the preset this PC Workers {0} / {1} diff --git a/src/Titano.Data/Processing/ProcessingJobs.cs b/src/Titano.Data/Processing/ProcessingJobs.cs index bc990d70..8f124c46 100644 --- a/src/Titano.Data/Processing/ProcessingJobs.cs +++ b/src/Titano.Data/Processing/ProcessingJobs.cs @@ -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); }