From ba87725519e0236e9297752d1e82198ab2fdc736 Mon Sep 17 00:00:00 2001
From: MM20 <15646950+MM2-0@users.noreply.github.com>
Date: Sun, 16 Apr 2023 14:08:59 +0200
Subject: [PATCH] Add missing localization
---
.../mm20/launcher2/ui/launcher/sheets/ConfigureWidgetSheet.kt | 2 +-
core/i18n/src/main/res/values/strings.xml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/ui/src/main/java/de/mm20/launcher2/ui/launcher/sheets/ConfigureWidgetSheet.kt b/app/ui/src/main/java/de/mm20/launcher2/ui/launcher/sheets/ConfigureWidgetSheet.kt
index de96a8c9..d411301b 100644
--- a/app/ui/src/main/java/de/mm20/launcher2/ui/launcher/sheets/ConfigureWidgetSheet.kt
+++ b/app/ui/src/main/java/de/mm20/launcher2/ui/launcher/sheets/ConfigureWidgetSheet.kt
@@ -530,7 +530,7 @@ fun ColumnScope.ConfigureCalendarWidget(
modifier = Modifier.padding(top = 8.dp, bottom = 16.dp),
style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onSurfaceVariant,
- text = "No calendars found"
+ text = stringResource(R.string.widget_config_calendar_no_calendars)
)
}
}
\ No newline at end of file
diff --git a/core/i18n/src/main/res/values/strings.xml b/core/i18n/src/main/res/values/strings.xml
index 18b15541..7cfa7898 100644
--- a/core/i18n/src/main/res/values/strings.xml
+++ b/core/i18n/src/main/res/values/strings.xml
@@ -784,6 +784,7 @@
Borderless
Configure widget
Weather integration settings
+ No calendars found
App widget failed to load.
Media control integration settings
\ No newline at end of file