From 70aa878b78c3972ae4491938577985648999ae15 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 30 Dec 2024 11:07:48 +0000 Subject: [PATCH] Update languages --- resources/lang/en.json | 6 +++--- src/Enums/ComponentGroupVisibilityEnum.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/lang/en.json b/resources/lang/en.json index 420422e6..1e5116f2 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -5,11 +5,11 @@ "Add Component": "Add Component", "Admin": "Admin", "Always Hidden": "Always Hidden", - "Always collapsed": "Always collapsed", - "Always expanded": "Always expanded", + "Always Collapsed": "Always Collapsed", + "Always Expanded": "Always Expanded", "An optional link to the component.": "An optional link to the component.", "Average": "Average", - "Collapsed unless active incident": "Collapsed unless active incident", + "Collapsed Unless Ongoing Incident": "Collapsed Unless Ongoing Incident", "Complete Maintenance": "Complete Maintenance", "Complete": "Complete", "Component Group": "Component Group", diff --git a/src/Enums/ComponentGroupVisibilityEnum.php b/src/Enums/ComponentGroupVisibilityEnum.php index 4bfb8abb..878f4861 100644 --- a/src/Enums/ComponentGroupVisibilityEnum.php +++ b/src/Enums/ComponentGroupVisibilityEnum.php @@ -15,9 +15,9 @@ enum ComponentGroupVisibilityEnum: int implements HasColor, HasIcon, HasLabel public function getLabel(): string { return match ($this) { - self::expanded => __('Always expanded'), - self::collapsed => __('Always collapsed'), - self::collapsed_unless_incident => __('Collapsed unless active incident'), + self::expanded => __('Always Expanded'), + self::collapsed => __('Always Collapsed'), + self::collapsed_unless_incident => __('Collapsed Unless Ongoing Incident'), }; }