File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
packages/webui/src/client Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,8 @@ $hold-status-color: $liveline-timecode-color;
304304 color : #000 ;
305305 padding-top : 5px ;
306306 padding-left : 8px ;
307- max-width : 120px ;
307+ padding-right : 20px ;
308+ width : fit-content ;
308309 max-height : 50px ;
309310 z-index : 1 ;
310311 font-stretch : 25 ;
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import {
4444} from '../../lib/Components/CounterComponents'
4545import { AdjustLabelFit } from '../util/AdjustLabelFit'
4646import { AutoNextStatus } from '../RundownView/RundownTiming/AutoNextStatus'
47+ import { useTranslation } from 'react-i18next'
4748
4849interface SegmentUi extends DBSegment {
4950 items : Array < PartUi >
@@ -347,6 +348,7 @@ function DirectorScreenRender({
347348 rundownIds,
348349} : Readonly < WithTiming < DirectorScreenProps & DirectorScreenTrackedProps > > ) {
349350 useSetDocumentClass ( 'dark' , 'xdark' )
351+ const { t } = useTranslation ( )
350352
351353 if ( playlist && playlistId && segments ) {
352354 const expectedStart = PlaylistTiming . getExpectedStart ( playlist . timing ) || 0
@@ -513,7 +515,7 @@ function DirectorScreenRender({
513515 nextSegment === undefined || nextSegment ?. _id === currentSegment ?. _id ,
514516 } ) }
515517 >
516- AUTO
518+ { t ( 'Auto' ) }
517519 </ span >
518520 ) : (
519521 < span
@@ -522,7 +524,7 @@ function DirectorScreenRender({
522524 nextSegment === undefined || nextSegment ?. _id === currentSegment ?. _id ,
523525 } ) }
524526 >
525- NEXT
527+ { t ( 'Next' ) }
526528 </ span >
527529 ) }
528530 < div className = "director-screen__body__part__piece-icon" >
You can’t perform that action at this time.
0 commit comments