Skip to content

Commit b7c5ee0

Browse files
Extract more strings as translatable
Signed-off-by: Marcel Robitaille <[email protected]>
1 parent 2d547ad commit b7c5ee0

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/components/AppControls.vue

+12-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
<!-- Use $store.state.page for page matching to make sure everything else has been set beforehand! -->
44
<div class="status-header">
55
<ModeIndicator v-if="isSearch" :title="searchTitle" />
6-
<ModeIndicator v-else-if="isEdit" title="Editing recipe" />
7-
<ModeIndicator v-else-if="isRecipe" title="Viewing recipe" />
6+
<ModeIndicator
7+
v-else-if="isEdit"
8+
:title="t('cookbook', 'Editing recipe')"
9+
/>
10+
<ModeIndicator
11+
v-else-if="isRecipe"
12+
:title="t('cookbook', 'Viewing recipe')"
13+
/>
814
<!-- INDEX PAGE -->
915
<Location v-if="isIndex" :title="t('cookbook', 'All recipes')" />
1016
<Location
@@ -41,7 +47,10 @@
4147
:title="t('cookbook', 'Page not found')"
4248
/>
4349
<!-- Create new recipe -->
44-
<Location v-else-if="isCreate" title="Creating new recipe" />
50+
<Location
51+
v-else-if="isCreate"
52+
:title="t('cookbook', 'Creating new recipe')"
53+
/>
4554
</div>
4655
{{/* Primary buttons */}}
4756
<SimpleButton

0 commit comments

Comments
 (0)