Unify config into shell.json and add Noctalia plugin support

This commit is contained in:
Ryan Hughes
2026-05-14 02:21:48 -04:00
parent 5c0f5669c9
commit bcbe12b075
49 changed files with 2178 additions and 350 deletions
@@ -0,0 +1,15 @@
pragma Singleton
import QtQuick
// Noctalia compat shim. Their plugins normally route translations through
// pluginApi.tr(), not this singleton, so the stub here mostly exists to
// satisfy `import qs.Commons` style usage.
QtObject {
readonly property string langCode: "en"
function tr(key, interp) { return String(key === undefined ? "" : key) }
function trp(key, count, interp) { return String(key === undefined ? "" : key) }
function hasTranslation(key) { return false }
signal translationsLoaded()
}