Change "New" to "Add" (#3271)

This commit is contained in:
boc-the-git 2024-03-10 03:26:55 +11:00 committed by GitHub
parent 457d8c93ce
commit 980b3c634b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 4 deletions

View File

@ -24,7 +24,7 @@
</div> </div>
<div v-if="edit" class="d-flex justify-end"> <div v-if="edit" class="d-flex justify-end">
<BaseButton class="ml-auto my-2" @click="addNote"> {{ $t("general.new") }}</BaseButton> <BaseButton class="ml-auto my-2" @click="addNote"> {{ $t("general.add") }}</BaseButton>
</div> </div>
</div> </div>
</template> </template>

View File

@ -51,7 +51,7 @@
/> />
<div v-if="isEditForm" class="d-flex"> <div v-if="isEditForm" class="d-flex">
<RecipeDialogBulkAdd class="ml-auto my-2 mr-1" @bulk-data="addStep" /> <RecipeDialogBulkAdd class="ml-auto my-2 mr-1" @bulk-data="addStep" />
<BaseButton class="my-2" @click="addStep()"> {{ $t("general.new") }}</BaseButton> <BaseButton class="my-2" @click="addStep()"> {{ $t("general.add") }}</BaseButton>
</div> </div>
<div v-if="!$vuetify.breakpoint.mdAndUp"> <div v-if="!$vuetify.breakpoint.mdAndUp">
<RecipePageOrganizers :recipe="recipe" /> <RecipePageOrganizers :recipe="recipe" />

View File

@ -47,7 +47,7 @@
<span>{{ parserToolTip }}</span> <span>{{ parserToolTip }}</span>
</v-tooltip> </v-tooltip>
<RecipeDialogBulkAdd class="mx-1 mb-1" @bulk-data="addIngredient" /> <RecipeDialogBulkAdd class="mx-1 mb-1" @bulk-data="addIngredient" />
<BaseButton class="mb-1" @click="addIngredient" > {{ $t("general.new") }} </BaseButton> <BaseButton class="mb-1" @click="addIngredient" > {{ $t("general.add") }} </BaseButton>
</div> </div>
</div> </div>
</template> </template>

View File

@ -80,6 +80,7 @@
"recipe-events": "Recipe Events" "recipe-events": "Recipe Events"
}, },
"general": { "general": {
"add": "Add",
"cancel": "Cancel", "cancel": "Cancel",
"clear": "Clear", "clear": "Clear",
"close": "Close", "close": "Close",

View File

@ -107,7 +107,7 @@
<template #icon> {{ $globals.icons.tags }} </template> <template #icon> {{ $globals.icons.tags }} </template>
{{ $t('shopping-list.reorder-labels') }} {{ $t('shopping-list.reorder-labels') }}
</BaseButton> </BaseButton>
<BaseButton create @click="createEditorOpen = true" /> <BaseButton create @click="createEditorOpen = true" > {{ $t('general.add') }} </BaseButton>
</div> </div>
<!-- Action Bar --> <!-- Action Bar -->