mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 21:24:11 +00:00
many hotfixes (#465)
* style: disable menu bar in run mode * fix: external devices in dev mode * fix: add missing elements to translations * ux: improve translation strings * refactor: improve typing * style: blink on event change * refactor: param options is object --------- Co-authored-by: Hannes Rüger <hannesrueger@gmx.de>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { TranslationObject } from '../Translation.types';
|
||||
import { TranslationObject } from './en';
|
||||
|
||||
export const langDe: TranslationObject = {
|
||||
'common.end_time': 'Endzeit',
|
||||
@@ -15,4 +15,5 @@ export const langDe: TranslationObject = {
|
||||
'countdown.select_event': 'Wählen Sie eine Veranstaltung aus, um sie zu verfolgen',
|
||||
'countdown.to_start': 'Zeit bis zum Start',
|
||||
'countdown.waiting': 'Warten auf den Veranstaltungsbeginn',
|
||||
'countdown.overtime': 'überfällig',
|
||||
};
|
||||
|
||||
@@ -13,4 +13,7 @@ export const langEn = {
|
||||
'countdown.select_event': 'Select an event to follow',
|
||||
'countdown.to_start': 'Time to start',
|
||||
'countdown.waiting': 'Waiting for event start',
|
||||
'countdown.overtime': 'in overtime',
|
||||
};
|
||||
|
||||
export type TranslationObject = Record<keyof typeof langEn, string>;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TranslationObject } from '../Translation.types';
|
||||
import { TranslationObject } from './en';
|
||||
|
||||
export const langEs: TranslationObject = {
|
||||
'common.end_time': 'Hora de finalización',
|
||||
@@ -9,10 +9,11 @@ export const langEs: TranslationObject = {
|
||||
'common.start_time': 'Hora de inicio',
|
||||
'common.stage_timer': 'Temporizador de presentador',
|
||||
'common.started_at': 'Iniciado en',
|
||||
'common.time_now': 'Hora actual',
|
||||
'common.time_now': 'Ahora',
|
||||
'countdown.ended': 'Evento finalizado a las',
|
||||
'countdown.running': 'Evento en curso',
|
||||
'countdown.select_event': 'Seleccionar un evento para seguir',
|
||||
'countdown.to_start': 'Tiempo para comenzar',
|
||||
'countdown.waiting': 'Esperando el inicio del evento',
|
||||
'countdown.overtime': 'en tiempo extra',
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TranslationObject } from '../Translation.types';
|
||||
import { TranslationObject } from './en';
|
||||
|
||||
export const langNo: TranslationObject = {
|
||||
'common.end_time': 'Sluttid',
|
||||
@@ -9,10 +9,11 @@ export const langNo: TranslationObject = {
|
||||
'common.start_time': 'Starttid',
|
||||
'common.stage_timer': 'Scenetimer',
|
||||
'common.started_at': 'Startet',
|
||||
'common.time_now': 'Tid nå',
|
||||
'common.time_now': 'Klokken nå',
|
||||
'countdown.ended': 'Hendelse avsluttet',
|
||||
'countdown.running': 'Hendelse pågår',
|
||||
'countdown.select_event': 'Velg en hendelse å følge',
|
||||
'countdown.to_start': 'Tid til start',
|
||||
'countdown.waiting': 'Venter på start',
|
||||
'countdown.overtime': 'i overtiden',
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TranslationObject } from '../Translation.types';
|
||||
import { TranslationObject } from './en';
|
||||
|
||||
export const langPt: TranslationObject = {
|
||||
'common.end_time': 'Hora de término',
|
||||
@@ -15,4 +15,5 @@ export const langPt: TranslationObject = {
|
||||
'countdown.select_event': 'Selecione um evento para acompanhar',
|
||||
'countdown.to_start': 'Tempo para iniciar',
|
||||
'countdown.waiting': 'Aguardando o início do evento',
|
||||
'countdown.overtime': 'em tempo extra',
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { TranslationObject } from '../Translation.types';
|
||||
import { TranslationObject } from './en';
|
||||
|
||||
export const langSv: TranslationObject = {
|
||||
'common.end_time': 'Sluttid',
|
||||
@@ -9,10 +9,11 @@ export const langSv: TranslationObject = {
|
||||
'common.start_time': 'Starttid',
|
||||
'common.stage_timer': 'Timer för scenen',
|
||||
'common.started_at': 'Började vid',
|
||||
'common.time_now': 'Tid nu',
|
||||
'common.time_now': 'Klockan nu',
|
||||
'countdown.ended': 'Evenemanget avslutades vid',
|
||||
'countdown.running': 'Evenemang pågår',
|
||||
'countdown.select_event': 'Välj ett evenemang att följa',
|
||||
'countdown.to_start': 'Tid till start',
|
||||
'countdown.waiting': '"Väntar på att evenemanget ska starta',
|
||||
'countdown.overtime': 'i övertid',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user