1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

Added plural support (#1750)

* Update it.json

* Enhance SettingsSliderRow: add resetText property and update reset button styling

* added i18n strings

* adjust reset button width to be dynamic based on content size

* added i18n strings

* Update template.json

* reverted changes

* Update it.json

* Update template.json

* Update NotificationSettings.qml

* added plurar support

* Update it.json

* Update ThemeColorsTab.qml
This commit is contained in:
Youseffo13
2026-02-26 15:36:42 +01:00
committed by GitHub
parent b4e7c4a4cd
commit 5d09acca4c
10 changed files with 136 additions and 45 deletions

View File

@@ -34,51 +34,51 @@ Rectangle {
readonly property var timeoutOptions: [
{
"text": "Never",
"text": I18n.tr("Never"),
"value": 0
},
{
"text": "1 second",
"text": I18n.tr("1 second"),
"value": 1000
},
{
"text": "3 seconds",
"text": I18n.tr("3 seconds"),
"value": 3000
},
{
"text": "5 seconds",
"text": I18n.tr("5 seconds"),
"value": 5000
},
{
"text": "8 seconds",
"text": I18n.tr("8 seconds"),
"value": 8000
},
{
"text": "10 seconds",
"text": I18n.tr("10 seconds"),
"value": 10000
},
{
"text": "15 seconds",
"text": I18n.tr("15 seconds"),
"value": 15000
},
{
"text": "30 seconds",
"text": I18n.tr("30 seconds"),
"value": 30000
},
{
"text": "1 minute",
"text": I18n.tr("1 minute"),
"value": 60000
},
{
"text": "2 minutes",
"text": I18n.tr("2 minutes"),
"value": 120000
},
{
"text": "5 minutes",
"text": I18n.tr("5 minutes"),
"value": 300000
},
{
"text": "10 minutes",
"text": I18n.tr("10 minutes"),
"value": 600000
}
]