forked from Shinonome/dots-hyprland
translations: add untranslated text, fix some originals
This commit is contained in:
@@ -98,7 +98,8 @@ Rectangle {
|
|||||||
property int remainingTasks: Todo.list.filter(task => !task.done).length;
|
property int remainingTasks: Todo.list.filter(task => !task.done).length;
|
||||||
Layout.margins: 10
|
Layout.margins: 10
|
||||||
Layout.leftMargin: 0
|
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
|
font.pixelSize: Appearance.font.pixelSize.large
|
||||||
color: Appearance.colors.colOnLayer1
|
color: Appearance.colors.colOnLayer1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ Item {
|
|||||||
Layout.alignment: Qt.AlignLeft
|
Layout.alignment: Qt.AlignLeft
|
||||||
color: Appearance.m3colors.m3onSurface
|
color: Appearance.m3colors.m3onSurface
|
||||||
font.pixelSize: Appearance.font.pixelSize.larger
|
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 {
|
Rectangle {
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ Singleton {
|
|||||||
// See if policy prevents online models
|
// See if policy prevents online models
|
||||||
if (Config.options.policies.ai === 2 && !model.endpoint.includes("localhost")) {
|
if (Config.options.policies.ai === 2 && !model.endpoint.includes("localhost")) {
|
||||||
root.addMessage(
|
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
|
root.interfaceRole
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user