@@ -25,7 +25,7 @@ extension ItemType {
25
25
return " com.toxblh.mtmr.appleScriptButton. "
26
26
case . shellScriptTitledButton( source: _) :
27
27
return " com.toxblh.mtmr.shellScriptButton. "
28
- case . timeButton( formatTemplate: _, timeZone: _) :
28
+ case . timeButton( formatTemplate: _, timeZone: _, locale : _ ) :
29
29
return " com.toxblh.mtmr.timeButton. "
30
30
case . battery( ) :
31
31
return " com.toxblh.mtmr.battery. "
@@ -255,8 +255,8 @@ class TouchBarController: NSObject, NSTouchBarDelegate {
255
255
barItem = AppleScriptTouchBarItem ( identifier: identifier, source: source, interval: interval)
256
256
case let . shellScriptTitledButton( source: source, refreshInterval: interval) :
257
257
barItem = ShellScriptTouchBarItem ( identifier: identifier, source: source, interval: interval)
258
- case let . timeButton( formatTemplate: template, timeZone: timeZone) :
259
- barItem = TimeTouchBarItem ( identifier: identifier, formatTemplate: template, timeZone: timeZone)
258
+ case let . timeButton( formatTemplate: template, timeZone: timeZone, locale : locale ) :
259
+ barItem = TimeTouchBarItem ( identifier: identifier, formatTemplate: template, timeZone: timeZone, locale : locale )
260
260
case . battery( ) :
261
261
barItem = BatteryBarItem ( identifier: identifier)
262
262
case let . dock( autoResize: autoResize) :
0 commit comments