mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-12 11:59:58 -05:00
i18n: Refactor string formatting to use arg() method for translations
This commit is contained in:
@@ -27,7 +27,7 @@ Singleton {
|
||||
return arr.concat([key, root.properties[key]]);
|
||||
}, []
|
||||
)
|
||||
property string keyringLabel: StringUtils.format(Translation.tr("{0} Safe Storage"), "illogical-impulse")
|
||||
property string keyringLabel: Translation.tr("%1 Safe Storage").arg("illogical-impulse")
|
||||
|
||||
function setNestedField(path, value) {
|
||||
if (!root.keyringData) root.keyringData = {};
|
||||
|
||||
Reference in New Issue
Block a user