translations: add untranslated text, fix some originals

This commit is contained in:
end-4
2025-07-17 13:09:35 +07:00
parent fec4990506
commit 4660a154d0
3 changed files with 4 additions and 3 deletions
@@ -98,7 +98,8 @@ Rectangle {
property int remainingTasks: Todo.list.filter(task => !task.done).length;
Layout.margins: 10
Layout.leftMargin: 0
text: `${DateTime.collapsedCalendarFormat} ${remainingTasks} task${remainingTasks > 1 ? "s" : ""}`
// text: `${DateTime.collapsedCalendarFormat} • ${remainingTasks} task${remainingTasks > 1 ? "s" : ""}`
text: Translation.tr("%1 • %2 tasks").arg(DateTime.collapsedCalendarFormat).arg(remainingTasks)
font.pixelSize: Appearance.font.pixelSize.large
color: Appearance.colors.colOnLayer1
}
@@ -179,7 +179,7 @@ Item {
Layout.alignment: Qt.AlignLeft
color: Appearance.m3colors.m3onSurface
font.pixelSize: Appearance.font.pixelSize.larger
text: `Select ${root.deviceSelectorInput ? "input" : "output"} device`
text: root.deviceSelectorInput ? Translation.tr("Select input device") : Translation.tr("Select output device")
}
Rectangle {
+1 -1
View File
@@ -372,7 +372,7 @@ Singleton {
// See if policy prevents online models
if (Config.options.policies.ai === 2 && !model.endpoint.includes("localhost")) {
root.addMessage(
Translation.tr("Online models disallowed for \n\nControlled by `policies.ai` config option"),
Translation.tr("Online models disallowed\n\nControlled by `policies.ai` config option"),
root.interfaceRole
);
return;