From c117d9903a00ed7ff42b8af36db8a364bfa2b3dd Mon Sep 17 00:00:00 2001 From: fb24m Date: Wed, 25 Mar 2026 19:19:19 +0400 Subject: [PATCH] add translation keys for cookie clocks settings --- .../quickshell/ii/modules/settings/BackgroundConfig.qml | 8 ++++---- dots/.config/quickshell/ii/translations/en_US.json | 6 +++++- dots/.config/quickshell/ii/translations/ru_RU.json | 4 ++++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/settings/BackgroundConfig.qml b/dots/.config/quickshell/ii/modules/settings/BackgroundConfig.qml index 80814146f..78e0473a2 100644 --- a/dots/.config/quickshell/ii/modules/settings/BackgroundConfig.qml +++ b/dots/.config/quickshell/ii/modules/settings/BackgroundConfig.qml @@ -303,7 +303,7 @@ ContentPage { Config.options.background.widgets.clock.cookie.useSineCookie = checked; } StyledToolTip { - text: "Looks a bit softer and more consistent with different number of sides,\nbut has less impressive morphing" + text: Translation.tr("Looks a bit softer and more consistent with different number of sides,\nbut has less impressive morphing") } } @@ -327,7 +327,7 @@ ContentPage { Config.options.background.widgets.clock.cookie.constantlyRotate = checked; } StyledToolTip { - text: "Makes the clock always rotate. This is extremely expensive\n(expect 50% usage on Intel UHD Graphics) and thus impractical." + text: Translation.tr("Makes the clock always rotate. This is extremely expensive\n(expect 50% usage on Intel UHD Graphics) and thus impractical.") } } @@ -345,7 +345,7 @@ ContentPage { Config.options.background.widgets.clock.cookie.hourMarks = checked; } StyledToolTip { - text: "Can only be turned on using the 'Dots' or 'Full' dial style for aesthetic reasons" + text: Translation.tr("Can only be turned on using the 'Dots' or 'Full' dial style for aesthetic reasons") } } @@ -361,7 +361,7 @@ ContentPage { Config.options.background.widgets.clock.cookie.timeIndicators = checked; } StyledToolTip { - text: "Can't be turned on when using 'Numbers' dial style for aesthetic reasons" + text: Translation.tr("Can't be turned on when using 'Numbers' dial style for aesthetic reasons") } } } diff --git a/dots/.config/quickshell/ii/translations/en_US.json b/dots/.config/quickshell/ii/translations/en_US.json index 01569de04..15e5d85d3 100644 --- a/dots/.config/quickshell/ii/translations/en_US.json +++ b/dots/.config/quickshell/ii/translations/en_US.json @@ -360,6 +360,10 @@ "Connect to Wi-Fi": "Connect to Wi-Fi", "... and %1 more": "... and %1 more", "Cookie clock settings": "Cookie clock settings", + "Looks a bit softer and more consistent with different number of sides,\nbut has less impressive morphing": "Looks a bit softer and more consistent with different number of sides,\nbut has less impressive morphing", + "Makes the clock always rotate. This is extremely expensive\n(expect 50% usage on Intel UHD Graphics) and thus impractical.": "Makes the clock always rotate. This is extremely expensive\n(expect 50% usage on Intel UHD Graphics) and thus impractical.", + "Can only be turned on using the 'Dots' or 'Full' dial style for aesthetic reasons": "Can only be turned on using the 'Dots' or 'Full' dial style for aesthetic reasons", + "Can't be turned on when using 'Numbers' dial style for aesthetic reasons": "Can't be turned on when using 'Numbers' dial style for aesthetic reasons", "Brightness and volume": "Brightness and volume", "Choose file": "Choose file", "Invalid model. Supported: \n```": "Invalid model. Supported: \n```", @@ -608,4 +612,4 @@ "Battery full": "Battery full", "Pin": "Pin", "Unpin": "Unpin" -} \ No newline at end of file +} diff --git a/dots/.config/quickshell/ii/translations/ru_RU.json b/dots/.config/quickshell/ii/translations/ru_RU.json index db3a6d901..0e0a0283b 100644 --- a/dots/.config/quickshell/ii/translations/ru_RU.json +++ b/dots/.config/quickshell/ii/translations/ru_RU.json @@ -330,6 +330,10 @@ "Connect to Wi-Fi": "Подкл. к Wi-Fi", "... and %1 more": "... и ещё %1", "Cookie clock settings": "Настройки «Cookie»-часов", + "Looks a bit softer and more consistent with different number of sides,\nbut has less impressive morphing": "Выглядит мягче и уместнее с разным количеством углов,\nно сжатие может выглядить менее впечатляюще", + "Makes the clock always rotate. This is extremely expensive\n(expect 50% usage on Intel UHD Graphics) and thus impractical.": "Часы будут постоянно вращаться. Это крайне ресурсозатратно\n(ок. 50% использования Intel UHD Graphics) и фактически бесполезно.", + "Can only be turned on using the 'Dots' or 'Full' dial style for aesthetic reasons": "Может быть активировано только в режимах 'С точками' и 'Полностью залитый' по эстетическим причинам", + "Can't be turned on when using 'Numbers' dial style for aesthetic reasons": "Не может быть включено, когда используется стиль 'С числами' по эстетическим причинам", "Brightness and volume": "Яркость и громкость", "Choose file": "Выбор обоев", "Invalid model. Supported: \n```": "Неверная модель. Поддерживаемые: \n```",