From f4be611c51473359e6d41780f0313c446079e9d3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 09 Jun 2026 15:19:24 +0000
Subject: [PATCH] =Switched the /base/options.php to the same pattern as Site.php: a class based approached rather than a filter. Updated Meta.php to play along with the defined fields from there in Meta::forOptions. Had to change openingHoursSpecificationsTrait.php to not use the translater functions __('text','textdomain') for now, as we load before init.

---
 inc/managers/SEO/render/Traits/_Properties/openingHoursSpecificationTrait.php |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/inc/managers/SEO/render/Traits/_Properties/openingHoursSpecificationTrait.php b/inc/managers/SEO/render/Traits/_Properties/openingHoursSpecificationTrait.php
index 594ae51..b21a54b 100644
--- a/inc/managers/SEO/render/Traits/_Properties/openingHoursSpecificationTrait.php
+++ b/inc/managers/SEO/render/Traits/_Properties/openingHoursSpecificationTrait.php
@@ -47,11 +47,11 @@
 	{
 		$fields->addField('openingHours', [
 			'type'	=> 'repeater',
-			'label'	=> __('Opening Hours', 'jvb'),
+			'label'	=> 'Opening Hours',
 			'fields'	=> [
 				'dayOfWeek'	=> [
 					'type'		=> 'set',
-					'label'		=> __('Day(s) of Week', 'jvb'),
+					'label'		=> 'Day(s) of Week',
 					'options'	=> [
 						'Mo'	=> 'Monday',
 						'Tu'	=> 'Tuesday',
@@ -65,23 +65,23 @@
 				],
 				'opens'	=> [
 					'type'	=> 'time',
-					'label'	=> __('Opens at', 'jvb'),
+					'label'	=> 'Opens at',
 					'required'	=> true
 				],
 				'closes'	=> [
 					'type'	=> 'time',
-					'label'	=> __('Closes at', 'jvb'),
+					'label'	=> 'Closes at',
 					'required'	=> true
 				]
 			]
 		]);
 		$fields->addField('by_appointment', [
 			'type'	=> 'true_false',
-			'label'	=> __('By Appointment Only', 'jvb'),
+			'label'	=> 'By Appointment Only',
 		]);
 		$fields->addField('allow_walkins', [
 			'type'	=> 'true_false',
-			'label'	=> __('Walk Ins Welcome', 'jvb')
+			'label'	=> 'Walk Ins Welcome'
 		]);
 	}
 	public function formatOpeningHoursSpecificationField(Meta $meta):void

--
Gitblit v1.10.0