Skip to content

Commit 29fa048

Browse files
committed
added better work-in-progress messages on favorites/info pages
1 parent 5f0d46c commit 29fa048

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

mobile/src/i18n/en/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ const en = {
3333
Add_from_the_list_below: `Add from the list below`,
3434
Today: 'Today',
3535
Tomorrow: 'Tomorrow',
36+
Favorited_schedule_not_implemented_yet: 'Favorited schedule not implemented (yet)',
37+
Info_page_still_under_construction: 'Info page still under construction'
3638
} satisfies BaseTranslation
3739

3840
export default en

mobile/src/i18n/i18n-types.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@ type RootTranslation = {
144144
* T​o​m​o​r​r​o​w
145145
*/
146146
Tomorrow: string
147+
/**
148+
* F​a​v​o​r​i​t​e​d​ ​s​c​h​e​d​u​l​e​ ​n​o​t​ ​i​m​p​l​e​m​e​n​t​e​d​ ​(​y​e​t​)
149+
*/
150+
Favorited_schedule_not_implemented_yet: string
151+
/**
152+
* I​n​f​o​ ​p​a​g​e​ ​s​t​i​l​l​ ​u​n​d​e​r​ ​c​o​n​s​t​r​u​c​t​i​o​n
153+
*/
154+
Info_page_still_under_construction: string
147155
}
148156

149157
export type TranslationFunctions = {
@@ -275,6 +283,14 @@ export type TranslationFunctions = {
275283
* Tomorrow
276284
*/
277285
Tomorrow: () => LocalizedString
286+
/**
287+
* Favorited schedule not implemented (yet)
288+
*/
289+
Favorited_schedule_not_implemented_yet: () => LocalizedString
290+
/**
291+
* Info page still under construction
292+
*/
293+
Info_page_still_under_construction: () => LocalizedString
278294
}
279295

280296
export type Formatters = {}

mobile/src/views/event/FavoritesPage.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<div class="infoMessage ion-text-center">
1616
<ion-icon class="infoMessage-iconIllu" src="/assets/images/svg/illu-no-favorites.svg"></ion-icon>
17-
<span class="infoMessage-title">No favorites yet</span>
17+
<span class="infoMessage-title">🚧 {{ LL.Favorited_schedule_not_implemented_yet() }}</span>
1818
</div>
1919

2020
</ion-content>
@@ -28,6 +28,9 @@
2828
import {getRouteParamsValue} from "@/views/vue-utils";
2929
import {useSharedConferenceDescriptor} from "@/state/useConferenceDescriptor";
3030
import {computed, ref} from "vue";
31+
import {typesafeI18n} from "@/i18n/i18n-vue";
32+
33+
const { LL } = typesafeI18n()
3134
3235
const route = useRoute();
3336
const eventId = ref(new EventId(getRouteParamsValue(route, 'eventId')));

mobile/src/views/event/InfosPage.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</ion-header>
1414

1515
<p>
16-
Infos planned here !
16+
🚧 {{ LL.Info_page_still_under_construction() }}
1717
</p>
1818
</ion-content>
1919
</ion-page>
@@ -26,6 +26,9 @@
2626
import {getRouteParamsValue} from "@/views/vue-utils";
2727
import {useSharedConferenceDescriptor} from "@/state/useConferenceDescriptor";
2828
import {computed, ref} from "vue";
29+
import {typesafeI18n} from "@/i18n/i18n-vue";
30+
31+
const { LL } = typesafeI18n()
2932
3033
const route = useRoute();
3134
const eventId = ref(new EventId(getRouteParamsValue(route, 'eventId')));

0 commit comments

Comments
 (0)