Skip to content

Commit

Permalink
fix: add program translated title
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrstrom committed Mar 22, 2023
1 parent d6dcbec commit 50026a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
"icecast": "https://stream.next.openbroadcast.ch/256.mp3",
}

STREAM_LATENCY = 20.5 # seconds
STREAM_LATENCY = 32.5 # seconds

MEDIA_ENDPOINTS = {
"dash": "https://media.next.openbroadcast.ch/encoded/",
Expand Down
5 changes: 4 additions & 1 deletion src/views/Program.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
import { defineComponent } from "vue";
import { useI18n } from "vue-i18n";
import { useRouter } from "vue-router";
import { DateTime } from "luxon";
Expand All @@ -22,6 +23,7 @@ export default defineComponent({
Program,
},
setup() {
const { t } = useI18n();
const router = useRouter();
const onDateUpdate = (date: DateTime) => {
router.push({
Expand All @@ -32,6 +34,7 @@ export default defineComponent({
});
};
return {
t,
onDateUpdate,
};
},
Expand All @@ -40,7 +43,7 @@ export default defineComponent({

<template>
<div class="program-view">
<Program :title="`Programm`" :date="date" @date-update="onDateUpdate" />
<Program :title="t('menu.program')" :date="date" @date-update="onDateUpdate" />
</div>
</template>

Expand Down

0 comments on commit 50026a1

Please sign in to comment.