Skip to content

Commit 01a9f84

Browse files
committed
fix: translation and uppercase
1 parent 5bd486e commit 01a9f84

File tree

5 files changed

+33
-4
lines changed

5 files changed

+33
-4
lines changed

meteor/i18n/nb.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,15 @@ msgstr "Planlagt varighet"
699699
msgid "Planned End"
700700
msgstr "Planlagt slutt"
701701

702+
msgid "Time to planned end"
703+
msgstr "Tid til planlagt slutt"
704+
705+
msgid "Time since planned end"
706+
msgstr "Tid siden planlagt slutt"
707+
708+
msgid "Over/Under"
709+
msgstr "Over/Under"
710+
702711
msgid ""
703712
"The rundown \"{{rundownName}}\" is not published or activated in "
704713
"{{nrcsName}}! No data updates will currently come through."

meteor/i18n/nn.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,15 @@ msgstr "Planlagt varigheit"
700700
msgid "Planned End"
701701
msgstr "Planlagt slutt"
702702

703+
msgid "Time to planned end"
704+
msgstr "Tid til planlagt slutt"
705+
706+
msgid "Time since planned end"
707+
msgstr "Tid sidan planlagt slutt"
708+
709+
msgid "Over/Under"
710+
msgstr "Over/Under"
711+
703712
msgid ""
704713
"The rundown \"{{rundownName}}\" is not published or activated in "
705714
"{{nrcsName}}! No data updates will currently come through."

meteor/i18n/template.pot

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,15 @@ msgstr ""
660660
msgid "Planned End"
661661
msgstr ""
662662

663+
msgid "Time to planned end"
664+
msgstr ""
665+
666+
msgid "Time since planned end"
667+
msgstr ""
668+
669+
msgid "Over/Under"
670+
msgstr ""
671+
663672
msgid ""
664673
"The rundown \"{{rundownName}}\" is not published or activated in "
665674
"{{nrcsName}}! No data updates will currently come through."

packages/webui/src/client/styles/countdown/director.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ $hold-status-color: $liveline-timecode-color;
3333
color: #888;
3434
font-size: 2.6em;
3535
padding: 0 0.2em;
36+
text-transform: uppercase;
3637

3738
.director-screen__top__planned-end {
3839
text-align: left;
@@ -293,6 +294,7 @@ $hold-status-color: $liveline-timecode-color;
293294
.director-screen__body__part__next-icon,
294295
.director-screen__body__part__auto-icon {
295296
background-color: $general-next-color;
297+
text-transform: uppercase;
296298
justify-content: left;
297299
position: relative;
298300
grid-row: 1;

packages/webui/src/client/ui/ClockView/DirectorScreen.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,29 +366,29 @@ function DirectorScreenRender({
366366
<div>
367367
<PlannedEndComponent value={expectedEnd} />
368368
</div>
369-
PLANNED END
369+
{t('Planned End')}
370370
</div>
371371
) : null}
372372
{expectedEnd ? (
373373
<div>
374374
<div>
375375
<TimeToPlannedEndComponent value={now - expectedEnd} />
376376
</div>
377-
<span className="director-screen__top__planned-to">TIME TO PLANNED END</span>
377+
<span className="director-screen__top__planned-to">{t('Time to planned end')}</span>
378378
</div>
379379
) : (
380380
<div>
381381
<div>
382382
<TimeSincePlannedEndComponent value={getCurrentTime() - (expectedStart + expectedDuration)} />
383-
<span className="director-screen__top__planned-since">TIME SINCE PLANNED END</span>
383+
<span className="director-screen__top__planned-since">{t('Time since planned end')}</span>
384384
</div>
385385
</div>
386386
)}
387387
<div>
388388
<div>
389389
<OverUnderClockComponent value={overUnderClock} />
390390
</div>
391-
<span className="director-screen__top__over-under">OVER/UNDER</span>
391+
<span className="director-screen__top__over-under">{t('Over/Under')}</span>
392392
</div>
393393
</div>
394394
<div className="director-screen__body">

0 commit comments

Comments
 (0)