chore(TemplatesSubTab): format

This commit is contained in:
Spyridon Siarapis
2026-03-28 12:11:07 +01:00
parent 348ccbf0ed
commit f15609b590
@@ -13,18 +13,17 @@ ColumnLayout {
spacing: Style.marginL
Layout.fillWidth: true
// Helper to format path description
// Helper to format path description
function getDesc(fallbackPath) {
return I18n.tr("panels.color-scheme.templates-write-path", {
"filepath": fallbackPath
});
}
"filepath": fallbackPath
});
}
// Build a combined list of all available templates from TemplateRegistry, sorted alphabetically
readonly property var allTemplates: {
var templates = [];
// Add terminals with category "terminal"
for (var i = 0; i < TemplateRegistry.terminals.length; i++) {
var t = TemplateRegistry.terminals[i];