✨ 🌐 Add Localization feature
This commit is contained in:
@ -53,18 +53,14 @@ function isCancelled(substitution) {
|
||||
<template>
|
||||
<TimetableSetup
|
||||
v-show="!classFilter || classFilter == 'none'"
|
||||
title="No Class Selected"
|
||||
description="Please select your class so you can view your timetable and only see substitutions that affect you. You can change this later in the settings."
|
||||
selectPrompt="Select a class"
|
||||
:options="classList"
|
||||
v-model="classFilter"
|
||||
/>
|
||||
<div class="timetable">
|
||||
<div class="container">
|
||||
<div class="trust-warning" v-if="!timetable.trusted">
|
||||
<b>Warning:</b> The Data source of the Timetable data
|
||||
<b>({{ timetable.source }})</b> is not trustworthy, which means the
|
||||
timetable may be incorrect!
|
||||
<b>{{ $t("timetable.warning") }}</b>
|
||||
{{ $t("timetable.trustWarning", { source: timetable.source }) }}
|
||||
</div>
|
||||
</div>
|
||||
<template v-for="(lesson, index) in linkedTimetable" :key="index">
|
||||
@ -98,7 +94,7 @@ function isCancelled(substitution) {
|
||||
>
|
||||
<!-- Show notes if available -->
|
||||
<span class="info" v-if="getNotes(lesson.substitution)"
|
||||
>, Notes: {{ getNotes(lesson.substitution) }}
|
||||
>, {{ $t("timetable.notes") }} {{ getNotes(lesson.substitution) }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user