Skip to content

Commit

Permalink
update logs-book sidebars, fix build with i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
xbgmsharp committed Aug 22, 2024
1 parent fd87e12 commit bee4fdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/pages/logs-book/sidebars/Observations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<template>
<!-- observations section -->
<div v-if="isLoggedIn && logbook.id > 0" class="">
<div class="text-xs uppercase mt-4">{{ $t('logs.log.sea_state') }}</div>
<div class="text-xs uppercase mt-4">{{ t('logs.log.sea_state') }}</div>
<div class="text-sm">
<template v-if="isLoggedIn">
<MySelect
Expand All @@ -101,7 +101,7 @@
{{ logbook.seaState }}
</template>
</div>
<div class="text-xs uppercase my-2">{{ $t('logs.log.cloud_coverage') }}</div>
<div class="text-xs uppercase my-2">{{ t('logs.log.cloud_coverage') }}</div>
<div class="text-sm m-4">
<template v-if="isLoggedIn">
<va-slider
Expand All @@ -121,7 +121,7 @@
{{ cloudCoverage }}
</template>
</div>
<div class="text-xs uppercase my-2">{{ $t('logs.log.visibility') }}</div>
<div class="text-xs uppercase my-2">{{ t('logs.log.visibility') }}</div>
<div class="text-sm">
<template v-if="isLoggedIn">
<MySelect
Expand Down
6 changes: 3 additions & 3 deletions src/pages/logs-book/sidebars/Summary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
</svg>
</div>
<div class="ps-8 gap-6">
<div class="text-xs uppercase">{{ $t('logs.log.from') }}</div>
<div class="text-xs uppercase">{{ t('logs.log.from') }}</div>
<div class="text-base">
<router-link
v-if="typeof logbook.id !== 'undefined'"
Expand All @@ -124,7 +124,7 @@
</div>
<div class="text-sm">{{ logbook.fromTime }}</div>
<br />
<div class="text-xs uppercase">{{ $t('logs.log.to') }}</div>
<div class="text-xs uppercase">{{ t('logs.log.to') }}</div>
<div class="text-base">
<router-link
v-if="typeof logbook.id !== 'undefined'"
Expand Down Expand Up @@ -186,7 +186,7 @@
<va-textarea
v-model="$props.formData.notes"
outline
:placeholder="$t('logs.log.remarks')"
:placeholder="t('logs.log.remarks')"
class="text-sm w-full"
@change="$emit('save', logbook as Trip)"
/> </template
Expand Down

0 comments on commit bee4fdb

Please sign in to comment.