Merge branch 'dev' of https://github.com/hay-kot/mealie into feature/backend-events

This commit is contained in:
hay-kot 2021-05-07 12:53:26 -08:00
commit 5188b543e0
41 changed files with 141 additions and 84 deletions

View file

@ -36,11 +36,11 @@ export default {
}, },
users: { users: {
value: true, value: true,
text: this.$t("general.users"), text: this.$t("user.users"),
}, },
groups: { groups: {
value: true, value: true,
text: this.$t("general.groups"), text: this.$t("group.groups"),
}, },
}, },
}; };

View file

@ -29,8 +29,8 @@
<v-tab>{{ $t("general.themes") }}</v-tab> <v-tab>{{ $t("general.themes") }}</v-tab>
<v-tab>{{ $t("general.settings") }}</v-tab> <v-tab>{{ $t("general.settings") }}</v-tab>
<v-tab> {{ $t("settings.pages") }} </v-tab> <v-tab> {{ $t("settings.pages") }} </v-tab>
<v-tab>{{ $t("general.users") }}</v-tab> <v-tab>{{ $t("user.users") }}</v-tab>
<v-tab>{{ $t("general.groups") }}</v-tab> <v-tab>{{ $t("group.groups") }}</v-tab>
</v-tabs> </v-tabs>
<v-tabs-items v-model="tab"> <v-tabs-items v-model="tab">
<v-tab-item v-for="(table, index) in allTables" :key="index"> <v-tab-item v-for="(table, index) in allTables" :key="index">
@ -92,10 +92,10 @@ export default {
return this.calculateNumbers(this.$t("general.themes"), this.themeData); return this.calculateNumbers(this.$t("general.themes"), this.themeData);
}, },
userNumbers() { userNumbers() {
return this.calculateNumbers(this.$t("general.users"), this.userData); return this.calculateNumbers(this.$t("user.users"), this.userData);
}, },
groupNumbers() { groupNumbers() {
return this.calculateNumbers(this.$t("general.groups"), this.groupData); return this.calculateNumbers(this.$t("group.groups"), this.groupData);
}, },
pageNumbers() { pageNumbers() {
return this.calculateNumbers(this.$t("settings.pages"), this.pageData); return this.calculateNumbers(this.$t("settings.pages"), this.pageData);

View file

@ -8,7 +8,7 @@
:loading="loading" :loading="loading"
> >
<template v-slot:open="{ open }"> <template v-slot:open="{ open }">
<v-btn @click="open" class="mx-2" small :color="color"> <v-icon left> mdi-plus </v-icon> Custom </v-btn> <v-btn @click="open" class="mx-2" small :color="color"> <v-icon left> mdi-plus </v-icon> {{$t('general.custom')}} </v-btn>
</template> </template>
<v-card-text class="mt-6"> <v-card-text class="mt-6">
<v-text-field dense :label="$t('settings.backup.backup-tag')" v-model="tag"></v-text-field> <v-text-field dense :label="$t('settings.backup.backup-tag')" v-model="tag"></v-text-field>

View file

@ -12,7 +12,7 @@
<v-list-item-content> <v-list-item-content>
<v-list-item-title> {{ user.fullName }}</v-list-item-title> <v-list-item-title> {{ user.fullName }}</v-list-item-title>
<v-list-item-subtitle> {{ user.admin ? "Admin" : "User" }}</v-list-item-subtitle> <v-list-item-subtitle> {{ user.admin ? $t('user.admin') : $t('user.user') }}</v-list-item-subtitle>
</v-list-item-content> </v-list-item-content>
</v-list-item> </v-list-item>
</template> </template>
@ -155,7 +155,7 @@ export default {
{ {
icon: "mdi-account-group", icon: "mdi-account-group",
to: "/admin/manage-users", to: "/admin/manage-users",
title: this.$t("settings.manage-users"), title: this.$t("user.manage-users"),
}, },
{ {
icon: "mdi-database-import", icon: "mdi-database-import",

View file

@ -16,7 +16,6 @@
"day": "numeric", "day": "numeric",
"weekday": "long", "weekday": "long",
"hour": "numeric", "hour": "numeric",
"minute": "numeric", "minute": "numeric"
"hour12": true
} }
} }

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Gem", "save": "Gem",
"settings": "Indstillinger", "settings": "Indstillinger",
"sort": "Sorter", "sort": "Sorter",
"sort-alphabetically": "A", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Indsend", "submit": "Indsend",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Søndag", "sunday": "Søndag",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Temaer", "themes": "Temaer",
"thursday": "Torsdag", "thursday": "Torsdag",

View file

@ -74,11 +74,12 @@
"save": "Speichern", "save": "Speichern",
"settings": "Einstellungen", "settings": "Einstellungen",
"sort": "Sortierung", "sort": "Sortierung",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetisch",
"status": "Status", "status": "Status",
"submit": "Einfügen", "submit": "Einfügen",
"success-count": "Erfolgreich: {count}", "success-count": "Erfolgreich: {count}",
"sunday": "Sonntag", "sunday": "Sonntag",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themen", "themes": "Themen",
"thursday": "Donnerstag", "thursday": "Donnerstag",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -9,6 +9,7 @@
"api-port": "API Port", "api-port": "API Port",
"application-mode": "Application Mode", "application-mode": "Application Mode",
"database-type": "Database Type", "database-type": "Database Type",
"database-url": "Database URL",
"default-group": "Default Group", "default-group": "Default Group",
"demo": "Demo", "demo": "Demo",
"demo-status": "Demo Status", "demo-status": "Demo Status",
@ -17,10 +18,10 @@
"download-recipe-json": "Last Scraped JSON", "download-recipe-json": "Last Scraped JSON",
"not-demo": "Not Demo", "not-demo": "Not Demo",
"production": "Production", "production": "Production",
"database-url": "Database URL",
"version": "Version" "version": "Version"
}, },
"category": { "category": {
"category": "Category",
"category-created": "Category created", "category-created": "Category created",
"category-creation-failed": "Category creation failed", "category-creation-failed": "Category creation failed",
"category-deleted": "Category Deleted", "category-deleted": "Category Deleted",
@ -28,16 +29,18 @@
"category-filter": "Category Filter", "category-filter": "Category Filter",
"category-update-failed": "Category update failed", "category-update-failed": "Category update failed",
"category-updated": "Category updated", "category-updated": "Category updated",
"category": "Category" "uncategorized-count": "Uncategorized {count}"
}, },
"general": { "general": {
"apply": "Apply", "apply": "Apply",
"cancel": "Cancel", "cancel": "Cancel",
"clear": "Clear",
"close": "Close", "close": "Close",
"confirm": "Confirm", "confirm": "Confirm",
"create": "Create", "create": "Create",
"created": "Created", "created": "Created",
"current-parenthesis": "(Current)", "current-parenthesis": "(Current)",
"custom": "Custom",
"dashboard": "Dashboard", "dashboard": "Dashboard",
"delete": "Delete", "delete": "Delete",
"disabled": "Disabled", "disabled": "Disabled",
@ -53,7 +56,6 @@
"filter": "Filter", "filter": "Filter",
"friday": "Friday", "friday": "Friday",
"get": "Get", "get": "Get",
"groups": "Groups",
"image": "Image", "image": "Image",
"image-upload-failed": "Image upload failed", "image-upload-failed": "Image upload failed",
"import": "Import", "import": "Import",
@ -61,11 +63,12 @@
"link": "Link", "link": "Link",
"monday": "Monday", "monday": "Monday",
"name": "Name", "name": "Name",
"new": "New",
"no": "No", "no": "No",
"ok": "OK", "ok": "OK",
"options": "Options:", "options": "Options:",
"rating": "Rating",
"random": "Random", "random": "Random",
"rating": "Rating",
"recent": "Recent", "recent": "Recent",
"recipes": "Recipes", "recipes": "Recipes",
"rename-object": "Rename {0}", "rename-object": "Rename {0}",
@ -73,13 +76,13 @@
"saturday": "Saturday", "saturday": "Saturday",
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"shuffle": "Shuffle",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "Alphabetical", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",
@ -89,7 +92,6 @@
"updated": "Updated", "updated": "Updated",
"upload": "Upload", "upload": "Upload",
"url": "URL", "url": "URL",
"users": "Users",
"wednesday": "Wednesday", "wednesday": "Wednesday",
"yes": "Yes" "yes": "Yes"
}, },
@ -108,6 +110,7 @@
"group-not-found": "Group not found", "group-not-found": "Group not found",
"groups": "Groups", "groups": "Groups",
"groups-can-only-be-set-by-administrators": "Groups can only be set by administrators", "groups-can-only-be-set-by-administrators": "Groups can only be set by administrators",
"manage-groups": "Manage Groups",
"user-group": "User Group", "user-group": "User Group",
"user-group-created": "User Group Created", "user-group-created": "User Group Created",
"user-group-creation-failed": "User Group Creation Failed" "user-group-creation-failed": "User Group Creation Failed"
@ -116,15 +119,18 @@
"create-a-new-meal-plan": "Create a New Meal Plan", "create-a-new-meal-plan": "Create a New Meal Plan",
"dinner-this-week": "Dinner This Week", "dinner-this-week": "Dinner This Week",
"dinner-today": "Dinner Today", "dinner-today": "Dinner Today",
"dinner-tonight": "DINNER TONIGHT",
"edit-meal-plan": "Edit Meal Plan", "edit-meal-plan": "Edit Meal Plan",
"end-date": "End Date", "end-date": "End Date",
"group": "Group (Beta)", "group": "Group (Beta)",
"meal-planner": "Meal Planner", "meal-planner": "Meal Planner",
"meal-plans": "Meal Plans", "meal-plans": "Meal Plans",
"mealplan-categories": "MEALPLAN CATEGORIES",
"mealplan-created": "Mealplan created", "mealplan-created": "Mealplan created",
"mealplan-creation-failed": "Mealplan creation failed", "mealplan-creation-failed": "Mealplan creation failed",
"mealplan-deleted": "Mealplan Deleted", "mealplan-deleted": "Mealplan Deleted",
"mealplan-deletion-failed": "Mealplan deletion failed", "mealplan-deletion-failed": "Mealplan deletion failed",
"mealplan-settings": "Mealplan Settings",
"mealplan-update-failed": "Mealplan update failed", "mealplan-update-failed": "Mealplan update failed",
"mealplan-updated": "Mealplan Updated", "mealplan-updated": "Mealplan Updated",
"no-meal-plan-defined-yet": "No meal plan defined yet", "no-meal-plan-defined-yet": "No meal plan defined yet",
@ -254,6 +260,7 @@
"current": "Version:", "current": "Version:",
"custom-pages": "Custom Pages", "custom-pages": "Custom Pages",
"edit-page": "Edit Page", "edit-page": "Edit Page",
"events": "Events",
"first-day-of-week": "First day of the week", "first-day-of-week": "First day of the week",
"group-settings-updated": "Group Settings Updated", "group-settings-updated": "Group Settings Updated",
"homepage": { "homepage": {
@ -267,7 +274,6 @@
"latest": "Latest", "latest": "Latest",
"local-api": "Local API", "local-api": "Local API",
"locale-settings": "Locale settings", "locale-settings": "Locale settings",
"manage-users": "Manage Users",
"migrations": "Migrations", "migrations": "Migrations",
"new-page": "New Page", "new-page": "New Page",
"page-name": "Page Name", "page-name": "Page Name",
@ -305,6 +311,14 @@
"theme-updated": "Theme updated", "theme-updated": "Theme updated",
"warning": "Warning" "warning": "Warning"
}, },
"token": {
"active-tokens": "ACTIVE TOKENS",
"api-token": "API Token",
"api-tokens": "API Tokens",
"copy-this-token-for-use-with-an-external-application-this-token-will-not-be-viewable-again": "Copy this token for use with an external application. This token will not be viewable again.",
"create-an-api-token": "Create an API Token",
"token-name": "Token Name"
},
"toolbox": { "toolbox": {
"assign-all": "Assign All", "assign-all": "Assign All",
"bulk-assign": "Bulk Assign", "bulk-assign": "Bulk Assign",
@ -319,7 +333,8 @@
"meal-planner-webhooks": "Meal Planner Webhooks", "meal-planner-webhooks": "Meal Planner Webhooks",
"test-webhooks": "Test Webhooks", "test-webhooks": "Test Webhooks",
"the-urls-listed-below-will-recieve-webhooks-containing-the-recipe-data-for-the-meal-plan-on-its-scheduled-day-currently-webhooks-will-execute-at": "The URLs listed below will receive webhooks containing the recipe data for the meal plan on it's scheduled day. Currently Webhooks will execute at", "the-urls-listed-below-will-recieve-webhooks-containing-the-recipe-data-for-the-meal-plan-on-its-scheduled-day-currently-webhooks-will-execute-at": "The URLs listed below will receive webhooks containing the recipe data for the meal plan on it's scheduled day. Currently Webhooks will execute at",
"webhook-url": "Webhook URL" "webhook-url": "Webhook URL",
"webhooks-caps": "WEBHOOKS"
} }
}, },
"signup": { "signup": {
@ -340,7 +355,8 @@
"tag-deletion-failed": "Tag deletion failed", "tag-deletion-failed": "Tag deletion failed",
"tag-update-failed": "Tag update failed", "tag-update-failed": "Tag update failed",
"tag-updated": "Tag updated", "tag-updated": "Tag updated",
"tags": "Tags" "tags": "Tags",
"untagged-count": "Untagged {count}"
}, },
"user": { "user": {
"admin": "Admin", "admin": "Admin",
@ -364,6 +380,7 @@
"link-name": "Link Name", "link-name": "Link Name",
"login": "Login", "login": "Login",
"logout": "Logout", "logout": "Logout",
"manage-users": "Manage Users",
"new-password": "New Password", "new-password": "New Password",
"new-user": "New User", "new-user": "New User",
"password": "Password", "password": "Password",
@ -377,6 +394,7 @@
"total-users": "Total Users", "total-users": "Total Users",
"upload-photo": "Upload Photo", "upload-photo": "Upload Photo",
"use-8-characters-or-more-for-your-password": "Use 8 characters or more for your password", "use-8-characters-or-more-for-your-password": "Use 8 characters or more for your password",
"user": "User",
"user-created": "User created", "user-created": "User created",
"user-creation-failed": "User creation failed", "user-creation-failed": "User creation failed",
"user-deleted": "User deleted", "user-deleted": "User deleted",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -33,7 +33,7 @@
"general": { "general": {
"apply": "Appliquer", "apply": "Appliquer",
"cancel": "Annuler", "cancel": "Annuler",
"close": "Supprimer", "close": "Fermer",
"confirm": "Confirmer", "confirm": "Confirmer",
"create": "Créer", "create": "Créer",
"created": "Créé", "created": "Créé",
@ -74,11 +74,12 @@
"save": "Sauvegarder", "save": "Sauvegarder",
"settings": "Paramètres", "settings": "Paramètres",
"sort": "Trier", "sort": "Trier",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabétique",
"status": "Statut", "status": "Statut",
"submit": "Soumettre", "submit": "Soumettre",
"success-count": "Succès : {count}", "success-count": "Succès : {count}",
"sunday": "Dimanche", "sunday": "Dimanche",
"shuffle": "Aléatoire",
"templates": "Modèles :", "templates": "Modèles :",
"themes": "Thèmes", "themes": "Thèmes",
"thursday": "Jeudi", "thursday": "Jeudi",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Salva", "save": "Salva",
"settings": "Impostazioni", "settings": "Impostazioni",
"sort": "Ordina", "sort": "Ordina",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Stato", "status": "Stato",
"submit": "Invia", "submit": "Invia",
"success-count": "Successo: {count}", "success-count": "Successo: {count}",
"sunday": "Domenica", "sunday": "Domenica",
"shuffle": "Shuffle",
"templates": "Modelli:", "templates": "Modelli:",
"themes": "Temi", "themes": "Temi",
"thursday": "Giovedì", "thursday": "Giovedì",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -14,7 +14,7 @@
"demo-status": "Demo status", "demo-status": "Demo status",
"development": "Versies in ontwikkeling", "development": "Versies in ontwikkeling",
"download-log": "Logbestand downloaden", "download-log": "Logbestand downloaden",
"download-recipe-json": "Last Scraped JSON", "download-recipe-json": "Laatste Ingelezen JSON",
"not-demo": "Niet Demo", "not-demo": "Niet Demo",
"production": "Productie", "production": "Productie",
"database-url": "Database URL", "database-url": "Database URL",
@ -28,7 +28,7 @@
"category-filter": "Categorie Filter", "category-filter": "Categorie Filter",
"category-update-failed": "Categorie bijwerken mislukt", "category-update-failed": "Categorie bijwerken mislukt",
"category-updated": "Categorie bijgewerkt", "category-updated": "Categorie bijgewerkt",
"category": "Category" "category": "Categorie"
}, },
"general": { "general": {
"apply": "Toepassen", "apply": "Toepassen",
@ -36,7 +36,7 @@
"close": "Sluiten", "close": "Sluiten",
"confirm": "Bevestigen", "confirm": "Bevestigen",
"create": "Maak", "create": "Maak",
"created": "Created", "created": "Aangemaakt op",
"current-parenthesis": "(Huidig)", "current-parenthesis": "(Huidig)",
"dashboard": "Dashboard", "dashboard": "Dashboard",
"delete": "Verwijderen", "delete": "Verwijderen",
@ -58,13 +58,13 @@
"image-upload-failed": "Afbeelding uploaden mislukt", "image-upload-failed": "Afbeelding uploaden mislukt",
"import": "Importeren", "import": "Importeren",
"keyword": "Trefwoord", "keyword": "Trefwoord",
"link": "Link", "link": "Koppeling",
"monday": "Maandag", "monday": "Maandag",
"name": "Naam", "name": "Naam",
"no": "Nee", "no": "Nee",
"ok": "Ok", "ok": "Ok",
"options": "Opties:", "options": "Opties:",
"rating": "Rating", "rating": "Beoordeling",
"random": "Willekeurig", "random": "Willekeurig",
"recent": "Recent(e)", "recent": "Recent(e)",
"recipes": "Recepten", "recipes": "Recepten",
@ -74,18 +74,19 @@
"save": "Opslaan", "save": "Opslaan",
"settings": "Instellingen", "settings": "Instellingen",
"sort": "Sorteren", "sort": "Sorteren",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alfabetisch",
"status": "Status", "status": "Status",
"submit": "Verzenden", "submit": "Verzenden",
"success-count": "Succes: {count}", "success-count": "Succes: {count}",
"sunday": "Zondag", "sunday": "Zondag",
"shuffle": "Willekeurig",
"templates": "Sjablonen:", "templates": "Sjablonen:",
"themes": "Thema's", "themes": "Thema's",
"thursday": "Donderdag", "thursday": "Donderdag",
"token": "Token", "token": "Token",
"tuesday": "Dinsdag", "tuesday": "Dinsdag",
"update": "Bijwerken", "update": "Bijwerken",
"updated": "Updated", "updated": "Bijgewerkt",
"upload": "Uploaden", "upload": "Uploaden",
"url": "URL", "url": "URL",
"users": "Gebruikers", "users": "Gebruikers",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Zapisz", "save": "Zapisz",
"settings": "Ustawienia", "settings": "Ustawienia",
"sort": "Sortuj", "sort": "Sortuj",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Zatwierdź", "submit": "Zatwierdź",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Niedziela", "sunday": "Niedziela",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Motywy", "themes": "Motywy",
"thursday": "Czwartek", "thursday": "Czwartek",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Guardar", "save": "Guardar",
"settings": "Definições", "settings": "Definições",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submeter", "submit": "Submeter",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Temas", "themes": "Temas",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Spara", "save": "Spara",
"settings": "Inställningar", "settings": "Inställningar",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Skicka", "submit": "Skicka",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "Save", "save": "Save",
"settings": "Settings", "settings": "Settings",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "Submit", "submit": "Submit",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "Themes", "themes": "Themes",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "保存", "save": "保存",
"settings": "设定", "settings": "设定",
"sort": "排序", "sort": "排序",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "提交", "submit": "提交",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "布景主题", "themes": "布景主题",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -74,11 +74,12 @@
"save": "保存", "save": "保存",
"settings": "設定", "settings": "設定",
"sort": "Sort", "sort": "Sort",
"sort-alphabetically": "A-Z", "sort-alphabetically": "Alphabetical",
"status": "Status", "status": "Status",
"submit": "提交", "submit": "提交",
"success-count": "Success: {count}", "success-count": "Success: {count}",
"sunday": "Sunday", "sunday": "Sunday",
"shuffle": "Shuffle",
"templates": "Templates:", "templates": "Templates:",
"themes": "佈景主題", "themes": "佈景主題",
"thursday": "Thursday", "thursday": "Thursday",

View file

@ -11,7 +11,9 @@
<StatCard icon="mdi-backup-restore" :color="color"> <StatCard icon="mdi-backup-restore" :color="color">
<template v-slot:after-heading> <template v-slot:after-heading>
<div class="ml-auto text-right"> <div class="ml-auto text-right">
<div class="body-3 grey--text font-weight-light" v-text="'Backups'" /> <h2 class="body-3 grey--text font-weight-light">
{{$t('settings.backup-and-exports')}}
</h2>
<h3 class="display-2 font-weight-light text--primary"> <h3 class="display-2 font-weight-light text--primary">
<small> {{ total }}</small> <small> {{ total }}</small>
@ -22,14 +24,14 @@
<TheUploadBtn url="/api/backups/upload" @uploaded="getAvailableBackups"> <TheUploadBtn url="/api/backups/upload" @uploaded="getAvailableBackups">
<template v-slot="{ isSelecting, onButtonClick }"> <template v-slot="{ isSelecting, onButtonClick }">
<v-btn :loading="isSelecting" class="mx-2" small :color="color" @click="onButtonClick"> <v-btn :loading="isSelecting" class="mx-2" small :color="color" @click="onButtonClick">
<v-icon left> mdi-cloud-upload </v-icon> Upload <v-icon left> mdi-cloud-upload </v-icon> {{$t('general.upload')}}
</v-btn> </v-btn>
</template> </template>
</TheUploadBtn> </TheUploadBtn>
<BackupDialog :color="color" /> <BackupDialog :color="color" />
<v-btn :loading="loading" class="mx-2" small :color="color" @click="createBackup"> <v-btn :loading="loading" class="mx-2" small :color="color" @click="createBackup">
<v-icon left> mdi-plus </v-icon> Create <v-icon left> mdi-plus </v-icon> {{$t('general.create')}}
</v-btn> </v-btn>
</div> </div>
<template v-slot:bottom> <template v-slot:bottom>

View file

@ -3,7 +3,9 @@
<StatCard icon="mdi-bell-ring" :color="color"> <StatCard icon="mdi-bell-ring" :color="color">
<template v-slot:after-heading> <template v-slot:after-heading>
<div class="ml-auto text-right"> <div class="ml-auto text-right">
<div class="body-3 grey--text font-weight-light" v-text="'Events'" /> <h2 class="body-3 grey--text font-weight-light">
{{$t('settings.events')}}
</h2>
<h3 class="display-2 font-weight-light text--primary"> <h3 class="display-2 font-weight-light text--primary">
<small> {{ total }} </small> <small> {{ total }} </small>
@ -11,8 +13,8 @@
</div> </div>
</template> </template>
<div class="d-flex row py-3 justify-end"> <div class="d-flex row py-3 justify-end">
<v-btn class="mx-2" small color="error lighten-1" @click="deleteAll"> <v-btn class="mx-2" small :color="color" @click="deleteAll">
<v-icon left> mdi-notification-clear-all </v-icon> Clear <v-icon left> mdi-notification-clear-all </v-icon> {{$t('general.clear')}}
</v-btn> </v-btn>
</div> </div>
<template v-slot:bottom> <template v-slot:bottom>

View file

@ -5,7 +5,9 @@
<StatCard icon="mdi-silverware-fork-knife"> <StatCard icon="mdi-silverware-fork-knife">
<template v-slot:after-heading> <template v-slot:after-heading>
<div class="ml-auto text-right"> <div class="ml-auto text-right">
<div class="body-3 grey--text font-weight-light" v-text="'Recipes'" /> <h2 class="body-3 grey--text font-weight-light">
{{$t('general.recipes')}}
</h2>
<h3 class="display-2 font-weight-light text--primary"> <h3 class="display-2 font-weight-light text--primary">
<small> {{ statistics.totalRecipes }}</small> <small> {{ statistics.totalRecipes }}</small>
@ -15,14 +17,14 @@
<template v-slot:actions> <template v-slot:actions>
<div class="d-flex row py-3 justify-space-around"> <div class="d-flex row py-3 justify-space-around">
<v-btn small color="primary" :to="{ path: '/admin/toolbox/', query: { tab: 'organize', filter: 'tag' } }"> <v-btn small color="primary" :to="{ path: '/admin/toolbox/', query: { tab: 'organize', filter: 'tag' } }">
<v-icon left> mdi-tag </v-icon> Untagged {{ statistics.untaggedRecipes }} <v-icon left> mdi-tag </v-icon> {{$tc('tag.untagged-count', [statistics.untaggedRecipes])}}
</v-btn> </v-btn>
<v-btn <v-btn
small small
color="primary" color="primary"
:to="{ path: '/admin/toolbox/', query: { tab: 'organize', filter: 'category' } }" :to="{ path: '/admin/toolbox/', query: { tab: 'organize', filter: 'category' } }"
> >
<v-icon left> mdi-tag </v-icon> Uncategorized {{ statistics.uncategorizedRecipes }} <v-icon left> mdi-tag </v-icon> {{$tc('category.uncategorized-count', [statistics.uncategorizedRecipes])}}
</v-btn> </v-btn>
</div> </div>
</template> </template>
@ -32,8 +34,9 @@
<StatCard icon="mdi-account"> <StatCard icon="mdi-account">
<template v-slot:after-heading> <template v-slot:after-heading>
<div class="ml-auto text-right"> <div class="ml-auto text-right">
<div class="body-3 grey--text font-weight-light" v-text="'Users'" /> <h2 class="body-3 grey--text font-weight-light">
{{$t('user.users')}}
</h2>
<h3 class="display-2 font-weight-light text--primary"> <h3 class="display-2 font-weight-light text--primary">
<small> {{ statistics.totalUsers }}</small> <small> {{ statistics.totalUsers }}</small>
</h3> </h3>
@ -43,7 +46,7 @@
<div class="ml-auto"> <div class="ml-auto">
<v-btn color="primary" small to="/admin/manage-users?tab=users"> <v-btn color="primary" small to="/admin/manage-users?tab=users">
<v-icon left>mdi-account</v-icon> <v-icon left>mdi-account</v-icon>
Manage Users {{$t('user.manage-users')}}
</v-btn> </v-btn>
</div> </div>
</template> </template>
@ -53,7 +56,9 @@
<StatCard icon="mdi-account-group"> <StatCard icon="mdi-account-group">
<template v-slot:after-heading> <template v-slot:after-heading>
<div class="ml-auto text-right"> <div class="ml-auto text-right">
<div class="body-3 grey--text font-weight-light" v-text="'Groups'" /> <h2 class="body-3 grey--text font-weight-light">
{{$t('group.groups')}}
</h2>
<h3 class="display-2 font-weight-light text--primary"> <h3 class="display-2 font-weight-light text--primary">
<small> {{ statistics.totalGroups }}</small> <small> {{ statistics.totalGroups }}</small>
@ -64,7 +69,7 @@
<div class="ml-auto"> <div class="ml-auto">
<v-btn color="primary" small to="/admin/manage-users?tab=groups"> <v-btn color="primary" small to="/admin/manage-users?tab=groups">
<v-icon left>mdi-account-group</v-icon> <v-icon left>mdi-account-group</v-icon>
Manage Groups {{$t('group.manage-groups')}}
</v-btn> </v-btn>
</div> </div>
</template> </template>

View file

@ -2,14 +2,16 @@
<StatCard icon="mdi-api" color="accent"> <StatCard icon="mdi-api" color="accent">
<template v-slot:after-heading> <template v-slot:after-heading>
<div class="ml-auto text-right"> <div class="ml-auto text-right">
<div class="body-3 grey--text font-weight-light" v-text="'API Tokens'" /> <h2 class="body-3 grey--text font-weight-light">
{{$t('settings.token.api-tokens')}}
</h2>
<h3 class="display-2 font-weight-light text--primary"> <h3 class="display-2 font-weight-light text--primary">
<small> {{ user.tokens.length }} </small> <small> {{ user.tokens.length }} </small>
</h3> </h3>
</div> </div>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<v-subheader class="mb-n2">ACTIVE TOKENS</v-subheader> <v-subheader class="mb-n2">{{$t('settings.token.active-tokens')}}</v-subheader>
<v-virtual-scroll height="210" item-height="70" :items="user.tokens" class="mt-2"> <v-virtual-scroll height="210" item-height="70" :items="user.tokens" class="mt-2">
<template v-slot:default="{ item }"> <template v-slot:default="{ item }">
<v-divider></v-divider> <v-divider></v-divider>
@ -38,7 +40,7 @@
<v-card-actions class="pb-1 pt-3"> <v-card-actions class="pb-1 pt-3">
<v-spacer></v-spacer> <v-spacer></v-spacer>
<BaseDialog <BaseDialog
:title="'Create an API Token'" :title="$t('settings.token.create-an-api-token')"
title-icon="mdi-api" title-icon="mdi-api"
@submit="createToken" @submit="createToken"
:submit-text="buttonText" :submit-text="buttonText"
@ -46,13 +48,13 @@
> >
<v-card-text> <v-card-text>
<v-form ref="newTokenForm"> <v-form ref="newTokenForm">
<v-text-field v-model="name" label="Token Name" required> </v-text-field> <v-text-field v-model="name" :label="$t('settings.token.token-name')" required> </v-text-field>
</v-form> </v-form>
<div v-if="createdToken != ''"> <div v-if="createdToken != ''">
<v-textarea <v-textarea
class="mb-0 pb-0" class="mb-0 pb-0"
label="API Token" :label="$t('settings.token.api-token')"
readonly readonly
v-model="createdToken" v-model="createdToken"
append-outer-icon="mdi-content-copy" append-outer-icon="mdi-content-copy"
@ -60,7 +62,7 @@
> >
</v-textarea> </v-textarea>
<v-subheader class="text-center"> <v-subheader class="text-center">
Copy this token for use with an external application. This token will not be viewable again. {{$t('settings.token.copy-this-token-for-use-with-an-external-application-this-token-will-not-be-viewable-again')}}
</v-subheader> </v-subheader>
</div> </div>
</v-card-text> </v-card-text>
@ -107,9 +109,9 @@ export default {
}, },
buttonText() { buttonText() {
if (this.createdToken === "") { if (this.createdToken === "") {
return "Create"; return this.$t('general.create');
} else { } else {
return "Close"; return this.$t('general.close');
} }
}, },
}, },

View file

@ -11,7 +11,7 @@
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<div v-if="todaysMeal"> <div v-if="todaysMeal">
<v-subheader>DINNER TONIGHT</v-subheader> <v-subheader>{{$t('meal-plan.dinner-tonight')}}</v-subheader>
<MobileRecipeCard <MobileRecipeCard
:name="todaysMeal.name" :name="todaysMeal.name"
:slug="todaysMeal.slug" :slug="todaysMeal.slug"
@ -48,12 +48,12 @@
<v-icon x-large> <v-icon x-large>
mdi-food-variant mdi-food-variant
</v-icon> </v-icon>
<small> Mealplan Settings </small> <small> {{$t('meal-plan.mealplan-settings')}} </small>
</h3> </h3>
</div> </div>
<v-divider></v-divider> <v-divider></v-divider>
<v-subheader>MEALPLAN CATEGORIES</v-subheader> <v-subheader>{{$t('meal-plan.mealplan-categories')}}</v-subheader>
<v-card-text class="mt-0 pt-0"> <v-card-text class="mt-0 pt-0">
{{ $t("meal-plan.only-recipes-with-these-categories-will-be-used-in-meal-plans") }} {{ $t("meal-plan.only-recipes-with-these-categories-will-be-used-in-meal-plans") }}
</v-card-text> </v-card-text>
@ -66,7 +66,7 @@
/> />
<v-divider></v-divider> <v-divider></v-divider>
<v-subheader>WEBHOOKS</v-subheader> <v-subheader>{{$t('settings.webhooks.webhooks-caps')}}</v-subheader>
<v-card-text class="mt-0 pt-0"> <v-card-text class="mt-0 pt-0">
{{ {{
$t( $t(
@ -93,7 +93,7 @@
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn small color="success" @click="addWebhook"> <v-btn small color="success" @click="addWebhook">
<v-icon left> mdi-webhook </v-icon> <v-icon left> mdi-webhook </v-icon>
New {{$t('general.new')}}
</v-btn> </v-btn>
</v-card-actions> </v-card-actions>
</v-card-text> </v-card-text>

View file

@ -39,7 +39,7 @@ export const adminRoutes = {
path: "manage-users", path: "manage-users",
component: ManageUsers, component: ManageUsers,
meta: { meta: {
title: "settings.manage-users", title: "user.manage-users",
}, },
}, },
{ {