mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-04 05:39:00 -05:00
Merge branch 'develop' into feature/unit-conversion
This commit is contained in:
@@ -61,9 +61,12 @@
|
||||
|
||||
<bottom-navigation-bar>
|
||||
<template #custom_create_functions>
|
||||
<div class="dropdown-divider" ></div>
|
||||
<h6 class="dropdown-header">{{ $t('Books')}}</h6>
|
||||
|
||||
<a class="dropdown-item" @click="createNew()"><i
|
||||
class="fa fa-book"></i> {{$t("Create")}}</a>
|
||||
<div class="dropdown-divider" ></div>
|
||||
|
||||
</template>
|
||||
</bottom-navigation-bar>
|
||||
</div>
|
||||
|
||||
@@ -95,9 +95,9 @@
|
||||
style="text-overflow: ellipsis; overflow-wrap: anywhere;">
|
||||
<span class="two-row-text">
|
||||
<a :href="resolveDjangoUrl('view_recipe', plan.entry.recipe.id)" v-if="plan.entry.recipe">{{ plan.entry.recipe.name }}</a>
|
||||
<span v-else>{{ plan.entry.title }}</span>
|
||||
<span v-else>{{ plan.entry.title }}</span> <br/>
|
||||
</span>
|
||||
<span v-if="plan.entry.note">
|
||||
<span v-if="plan.entry.note" class="two-row-text">
|
||||
<small>{{ plan.entry.note }}</small> <br/>
|
||||
</span>
|
||||
<small class="text-muted">
|
||||
@@ -293,8 +293,9 @@
|
||||
|
||||
<bottom-navigation-bar :create_links="[{label:$t('Export_To_ICal'), url: iCalUrl, icon:'fas fa-download'}]">
|
||||
<template #custom_create_functions>
|
||||
<h6 class="dropdown-header">{{ $t('Meal_Plan')}}</h6>
|
||||
<a class="dropdown-item" @click="createEntryClick(new Date())"><i
|
||||
class="fas fa-calendar-plus"></i> {{ $t("Create") }}</a>
|
||||
class="fas fa-calendar-plus fa-fw"></i> {{ $t("Create") }}</a>
|
||||
</template>
|
||||
</bottom-navigation-bar>
|
||||
</div>
|
||||
@@ -425,7 +426,7 @@ export default {
|
||||
mobileSimpleGrid() {
|
||||
let grid = []
|
||||
|
||||
if (useMealPlanStore().plan_list.length > 0 && this.current_period !== null) {
|
||||
if (this.current_period !== null) {
|
||||
for (const x of Array(7).keys()) {
|
||||
let moment_date = moment(this.current_period.periodStart).add(x, "d")
|
||||
grid.push({
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<loading-spinner></loading-spinner>
|
||||
</template>
|
||||
|
||||
<div v-if="!loading">
|
||||
<div v-if="!loading" style="padding-bottom: 60px">
|
||||
<RecipeSwitcher ref="ref_recipe_switcher" @switch="quickSwitch($event)"/>
|
||||
<div class="row">
|
||||
<div class="col-12" style="text-align: center">
|
||||
|
||||
@@ -569,8 +569,10 @@
|
||||
<bottom-navigation-bar>
|
||||
<template #custom_create_functions>
|
||||
|
||||
<a class="dropdown-item" @click="entrymode = !entrymode; "
|
||||
><i class="fas fa-cart-plus"></i>
|
||||
<div class="dropdown-divider"></div>
|
||||
<h6 class="dropdown-header">{{ $t('Shopping_list')}}</h6>
|
||||
|
||||
<a class="dropdown-item" @click="entrymode = !entrymode; " ><i class="fas fa-cart-plus"></i>
|
||||
{{ $t("New_Entry") }}
|
||||
</a>
|
||||
|
||||
@@ -583,7 +585,7 @@
|
||||
<CopyToClipboard :items="csvData" :settings="settings" format="table"
|
||||
:label="$t('copy_markdown_table')" icon="fab fa-markdown fa-fw"/>
|
||||
|
||||
<div class="dropdown-divider"></div>
|
||||
|
||||
</template>
|
||||
</bottom-navigation-bar>
|
||||
</div>
|
||||
|
||||
@@ -23,6 +23,13 @@
|
||||
aria-haspopup="true" aria-expanded="false"><i class="fas fa-plus-circle fa-2x bottom-nav-link"></i>
|
||||
</a>
|
||||
<div class="dropdown-menu center-dropup" aria-labelledby="navbarDropdownMenuLink">
|
||||
|
||||
<a class="dropdown-item" v-bind:href="resolveDjangoUrl('new_recipe')"><i
|
||||
class="fas fa-fw fa-plus"></i> {{ $t('Create Recipe') }}</a>
|
||||
<a class="dropdown-item" v-bind:href="resolveDjangoUrl('data_import_url')"><i
|
||||
class="fas fa-fw fa-file-import"></i> {{ $t('Import Recipe') }}</a>
|
||||
<div class="dropdown-divider" v-if="create_links.length > 0"></div>
|
||||
|
||||
<slot name="custom_create_functions">
|
||||
|
||||
</slot>
|
||||
@@ -30,13 +37,9 @@
|
||||
<a class="dropdown-item" v-bind:href="cl.url" v-for="cl in create_links" v-bind:key="cl.label">
|
||||
<i :class="cl.icon + ' fa-fw'"></i> {{ cl.label }}
|
||||
</a>
|
||||
<div class="dropdown-divider" v-if="create_links.length > 0"></div>
|
||||
|
||||
<a class="dropdown-item" v-bind:href="resolveDjangoUrl('new_recipe')"><i
|
||||
class="fas fa-fw fa-plus"></i> {{ $t('Create Recipe') }}</a>
|
||||
<a class="dropdown-item" v-bind:href="resolveDjangoUrl('data_import_url')"><i
|
||||
class="fas fa-fw fa-file-import"></i> {{ $t('Import Recipe') }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</slot>
|
||||
|
||||
|
||||
@@ -459,11 +459,24 @@
|
||||
"Message": "Besked",
|
||||
"Sticky_Nav": "Fastlåst navigation",
|
||||
"reset_food_inheritance": "Nulstil nedarvning",
|
||||
"Plural": "",
|
||||
"plural_short": "",
|
||||
"Use_Plural_Unit_Always": "",
|
||||
"Use_Plural_Unit_Simple": "",
|
||||
"Use_Plural_Food_Always": "",
|
||||
"Use_Plural_Food_Simple": "",
|
||||
"plural_usage_info": ""
|
||||
"Plural": "Flertal",
|
||||
"plural_short": "flertal",
|
||||
"Use_Plural_Unit_Always": "Benyt altid flertalsform for enheder",
|
||||
"Use_Plural_Unit_Simple": "Brug flertalsform dynamisk for enheder",
|
||||
"Use_Plural_Food_Always": "Brug altid flertalsform for mad",
|
||||
"Use_Plural_Food_Simple": "Brug flertalsform dynamisk for mad",
|
||||
"plural_usage_info": "Brug flertalsform for enheder og mad på denne placering.",
|
||||
"Original_Text": "Original tekst",
|
||||
"Import Recipe": "Importer opskrift",
|
||||
"Amount": "Mængde",
|
||||
"Split_All_Steps": "Opdel rækker i separate trin.",
|
||||
"Create Recipe": "Opret opskrift",
|
||||
"Description_Replace": "Erstat beskrivelse",
|
||||
"Instruction_Replace": "Erstat instruktion",
|
||||
"Auto_Sort_Help": "Flyt alle ingredienser til mest egnede trin.",
|
||||
"Auto_Sort": "Sortér automatisk",
|
||||
"Unpin": "Frigør",
|
||||
"PinnedConfirmation": "{recipe} er fastgjort.",
|
||||
"UnpinnedConfirmation": "{recipe} er frigjort.",
|
||||
"Combine_All_Steps": "Kombiner alle trin til ét felt."
|
||||
}
|
||||
|
||||
@@ -167,8 +167,8 @@
|
||||
"Create_New_Keyword": "Añadir nueva Etiqueta",
|
||||
"Create_New_Unit": "Añadir nueva unidad",
|
||||
"Create_New_Meal_Type": "Añadir nuevo Tipo de Comida",
|
||||
"and_up": "",
|
||||
"and_down": "",
|
||||
"and_up": "& Arriba",
|
||||
"and_down": "& Abajo",
|
||||
"Instructions": "Instrucciones",
|
||||
"Unrated": "Sin puntuar",
|
||||
"Automate": "Automatizar",
|
||||
@@ -443,5 +443,14 @@
|
||||
"Use_Plural_Unit_Simple": "",
|
||||
"Use_Plural_Food_Always": "",
|
||||
"Use_Plural_Food_Simple": "",
|
||||
"plural_usage_info": ""
|
||||
"plural_usage_info": "",
|
||||
"Original_Text": "Texto original",
|
||||
"Use_Fractions_Help": "Convertir automáticamente los decimales en fracciones al ver una receta.",
|
||||
"Description_Replace": "Reemplazar Descripción",
|
||||
"Instruction_Replace": "Reemplazar Instrucción",
|
||||
"plan_share_desc": "Las Nuevas entradas del Plan de Comidas se compartirán automáticamente con los usuarios seleccionados.",
|
||||
"Auto_Sort": "Ordenar Automáticamente",
|
||||
"Auto_Sort_Help": "Mueva todos los ingredientes al paso que mejor se adapte.",
|
||||
"Unpin": "Desanclar",
|
||||
"Amount": "Cantidad"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"err_fetching_resource": "Erreur lors de la récupération d’une ressource !",
|
||||
"err_fetching_resource": "Il y a eu une erreur lors de la récupération d'une ressource !",
|
||||
"err_creating_resource": "Erreur lors de la création d’une ressource !",
|
||||
"err_updating_resource": "Erreur lors de la mise à jour d’une ressource !",
|
||||
"err_deleting_resource": "Erreur lors de la suppression d’une ressource !",
|
||||
@@ -30,7 +30,7 @@
|
||||
"Reset_Search": "Réinitialiser la recherche",
|
||||
"Recently_Viewed": "Vu récemment",
|
||||
"Load_More": "Charger plus",
|
||||
"Keywords": "Mots-clés",
|
||||
"Keywords": "mots-clés",
|
||||
"Books": "Livres",
|
||||
"Proteins": "Protéines",
|
||||
"Fats": "Matières grasses",
|
||||
@@ -62,11 +62,11 @@
|
||||
"Size": "Taille",
|
||||
"Files": "Fichiers",
|
||||
"File": "Fichier",
|
||||
"Edit": "Modifier",
|
||||
"Edit": "modifier",
|
||||
"Cancel": "Annuler",
|
||||
"Delete": "Supprimer",
|
||||
"Open": "Ouvrir",
|
||||
"Ok": "Ouvrir",
|
||||
"Ok": "D'accord",
|
||||
"Save": "Sauvegarder",
|
||||
"Step": "Étape",
|
||||
"Search": "Rechercher",
|
||||
@@ -119,7 +119,7 @@
|
||||
"merge_selection": "Remplacer toutes les occurrences de {source} par {type}.",
|
||||
"move_title": "Déplacer {type}",
|
||||
"del_confirmation_tree": "Êtes-vous sûr de vouloir supprimer {source} et tous ses enfants ?",
|
||||
"warning_feature_beta": "Cette fonctionnalité est actuellement en phase BETA (test). Veuillez vous attendre à des bugs et éventuellement à des modifications conséquentes à l’avenir (perte éventuelle de données liées à la fonctionnalité) lorsque vous utilisez cette fonctionnalité.",
|
||||
"warning_feature_beta": "Cette fonctionnalité est actuellement en état BETA (de test). Veuillez vous attendre à des bogues et éventuellement à des modifications majeures à l'avenir (pouvant entraîner une perte de données liées à la fonctionnalité) lors de l'utilisation de cette fonctionnalité.",
|
||||
"confirm_delete": "Voulez-vous vraiment supprimer {objet} ?",
|
||||
"Note": "Notes",
|
||||
"Add_Step": "Ajouter une étape",
|
||||
@@ -449,5 +449,16 @@
|
||||
"Import_Not_Yet_Supported": "Importation pas encore prise en charge",
|
||||
"Export_Not_Yet_Supported": "Exportation pas encore prise en charge",
|
||||
"Import_Result_Info": "{imported} sur {total} recettes ont été importées",
|
||||
"API": "API"
|
||||
"API": "API",
|
||||
"not": "pas",
|
||||
"Create Recipe": "Créer une recette",
|
||||
"Import Recipe": "Importer une recette",
|
||||
"Copy Token": "Copier le jeton",
|
||||
"Description_Replace": "Remplacer la Description",
|
||||
"Cosmetic": "Cosmétique",
|
||||
"explain": "Expliquer",
|
||||
"Unpin": "Détacher",
|
||||
"Split_All_Steps": "Diviser toutes les lignes en étapes séparées.",
|
||||
"Warning_Delete_Supermarket_Category": "Supprimer une catégorie de supermarché supprimera également toutes les relations avec les aliments. Êtes-vous sûr ?",
|
||||
"Instruction_Replace": "Instruction Remplacer"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"warning_feature_beta": "Fitur ini saat ini dalam status BETA (pengujian). Harap perkirakan bug dan kemungkinan kerusakan perubahan di masa mendatang (mungkin kehilangan data terkait fitur) saat menggunakan fitur ini.",
|
||||
"err_fetching_resource": "Terjadi kesalahan saat mengambil sumber daya!",
|
||||
"warning_feature_beta": "Fitur ini saat ini dalam status BETA (pengujian). Mungkin terdapat bug dan perubahan yang penting di masa mendatang (sehingga mungkin terjadi kehilangan data terkait fitur) saat menggunakan fitur ini.",
|
||||
"err_fetching_resource": "Terjadi kesalahan saat memperoleh sumber daya!",
|
||||
"err_creating_resource": "Terjadi kesalahan saat membuat sumber daya!",
|
||||
"err_updating_resource": "Terjadi kesalahan saat mengupdate sumber daya!",
|
||||
"err_updating_resource": "Terjadi kesalahan saat memperbarui sumber daya!",
|
||||
"err_deleting_resource": "Terjadi kesalahan saat menghapus sumber daya!",
|
||||
"err_deleting_protected_resource": "Objek yang Anda coba hapus masih digunakan dan tidak dapat dihapus.",
|
||||
"err_moving_resource": "Terjadi kesalahan saat memindahkan sumber daya!",
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
"success_deleting_resource": "Hulpbron succesvol verwijderd!",
|
||||
"Cancel": "Annuleer",
|
||||
"Delete": "Verwijder",
|
||||
"Ok": "Open",
|
||||
"Ok": "Ok",
|
||||
"Load_More": "Laad meer",
|
||||
"Manage_Books": "Beheer boeken",
|
||||
"Create": "Voeg toe",
|
||||
@@ -162,7 +162,7 @@
|
||||
"del_confirmation_tree": "Weet je zeker dat je {source} en al zijn kinderen wil verwijderen?",
|
||||
"Create_New_Food": "Voeg nieuw Eten toe",
|
||||
"Time": "Tijd",
|
||||
"warning_feature_beta": "Deze functie zit op dit moment in de BETA (test) fase. Verwacht hier bugs en toekomstige wijzigingen die tot het verlies van data gaan leiden bij het gebruik.",
|
||||
"warning_feature_beta": "Deze functie zit op dit moment in de BETA (test) fase. Verwacht hier bugs en toekomstige wijzigingen die tot het verlies van data kunnen leiden bij het gebruik.",
|
||||
"Table_of_Contents": "Inhoudsopgave",
|
||||
"Create_New_Meal_Type": "Voeg Nieuw Maaltijdtype toe",
|
||||
"Empty": "Leeg",
|
||||
@@ -376,7 +376,7 @@
|
||||
"substitute_children_help": "Alle ingrediënten die kinderen zijn van dit ingrediënt worden beschouwd als vervangers.",
|
||||
"SubstituteOnHand": "Je hebt een vervanger op voorraad.",
|
||||
"ChildInheritFields": "Kinderen erven velden",
|
||||
"InheritFields_help": "De waarden van deze velden worden geërfd van een ouder (uitzondering: lege boodschappencategorieën)",
|
||||
"InheritFields_help": "De waarden van deze velden worden overgenomen van de bovenliggende waarden (uitzondering: lege boodschappencategorieën)",
|
||||
"no_pinned_recipes": "Je hebt geen vastgepinde recepten!",
|
||||
"Internal": "Interne",
|
||||
"Reset": "Herstel",
|
||||
@@ -467,11 +467,18 @@
|
||||
"facet_count_info": "Geef receptenaantal bij zoekfilters weer.",
|
||||
"Split_All_Steps": "Splits alle rijen in apparte stappen.",
|
||||
"Combine_All_Steps": "Voeg alle stappen samen tot een veld.",
|
||||
"Plural": "",
|
||||
"plural_short": "",
|
||||
"Use_Plural_Unit_Always": "",
|
||||
"Use_Plural_Unit_Simple": "",
|
||||
"Use_Plural_Food_Always": "",
|
||||
"Use_Plural_Food_Simple": "",
|
||||
"plural_usage_info": ""
|
||||
"Plural": "Meervoud",
|
||||
"plural_short": "meervoud",
|
||||
"Use_Plural_Unit_Always": "Gebruik altijd de meervoudsvorm voor eenheden",
|
||||
"Use_Plural_Unit_Simple": "Gebruik meervoudsvorm voor eenheden dynamisch",
|
||||
"Use_Plural_Food_Always": "Gebruik altijd meervoudsvorm voor voedsel",
|
||||
"Use_Plural_Food_Simple": "Gebruik meervoudsvorm voor voedsels dynamisch",
|
||||
"plural_usage_info": "Gebruik de meervoudsvorm voor eenheden en voedsels in deze ruimte.",
|
||||
"Amount": "Hoeveelheid",
|
||||
"Original_Text": "Originele tekst",
|
||||
"reset_food_inheritance_info": "Herstel alle voedingsmiddelen naar de standaard overgenomen velden en hun bovenliggende waarden.",
|
||||
"Description_Replace": "Vervang beschrijving",
|
||||
"Instruction_Replace": "Vervang instructie",
|
||||
"Auto_Sort_Help": "Verplaats alle ingrediënten naar de best passende stap.",
|
||||
"Auto_Sort": "Automatisch sorteren"
|
||||
}
|
||||
|
||||
@@ -478,5 +478,7 @@
|
||||
"Amount": "Ilość",
|
||||
"Original_Text": "Tekst oryginalny",
|
||||
"Description_Replace": "Zmień opis",
|
||||
"Instruction_Replace": "Zmień instrukcję"
|
||||
"Instruction_Replace": "Zmień instrukcję",
|
||||
"Import Recipe": "Importuj przepis",
|
||||
"Create Recipe": "Utwórz przepis"
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
"Cancel": "取消",
|
||||
"Delete": "删除",
|
||||
"Open": "打开",
|
||||
"Ok": "打开",
|
||||
"Ok": "确认",
|
||||
"Save": "保存",
|
||||
"Step": "步骤",
|
||||
"Search": "搜索",
|
||||
@@ -477,5 +477,7 @@
|
||||
"UnpinnedConfirmation": "{recipe} 已取消固定。",
|
||||
"Unpin": "取消固定",
|
||||
"Auto_Sort": "自动分类",
|
||||
"Auto_Sort_Help": "将所有食材移动到最恰当的步骤。"
|
||||
"Auto_Sort_Help": "将所有食材移动到最恰当的步骤。",
|
||||
"Create Recipe": "创建食谱",
|
||||
"Import Recipe": "导入食谱"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user