From d2e56cf23396752a9879dc6bb7cdea135f2984bb Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Fri, 30 Apr 2021 18:43:30 +0200 Subject: [PATCH 1/5] Api refactoring fixes (#372) * Fix JS error when logging in with bad credentials * Remove duplicate error message if bad credentials Error is already nicely displayed in LoginForm --- frontend/src/api/users.js | 2 +- frontend/src/components/Login/LoginForm.vue | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/api/users.js b/frontend/src/api/users.js index edf85bc3a..7d66798ee 100644 --- a/frontend/src/api/users.js +++ b/frontend/src/api/users.js @@ -32,7 +32,7 @@ export const userAPI = { let response = await apiReq.post( authURLs.token, formData, - function() { return i18n.t('user.incorrect-username-or-password'); }, + null, function() { return i18n.t('user.user-successfully-logged-in'); } ); return response; diff --git a/frontend/src/components/Login/LoginForm.vue b/frontend/src/components/Login/LoginForm.vue index 52eca4c54..4e66c3ac2 100644 --- a/frontend/src/components/Login/LoginForm.vue +++ b/frontend/src/components/Login/LoginForm.vue @@ -98,11 +98,10 @@ export default { this.clear(); this.$store.commit("setToken", response.data.access_token); this.$emit("logged-in"); + let user = await api.users.self(); + this.$store.commit("setUserData", user); } - let user = await api.users.self(); - this.$store.commit("setUserData", user); - this.loading = false; }, }, From b302e0ffd8994a20f382361983187eb352811e2c Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Fri, 30 Apr 2021 18:44:03 +0200 Subject: [PATCH 2/5] More localization (#373) * Translate missing string * Display language in original language + English * Translate assets * Translate recipe settings --- .../src/components/Recipe/Parts/Assets.vue | 2 +- .../Recipe/Parts/Helpers/SettingsMenu.vue | 22 +++++++++++-------- .../src/components/UI/Dialogs/BaseDialog.vue | 4 ++-- frontend/src/components/UI/TheSiteMenu.vue | 2 +- frontend/src/locales/messages/en-US.json | 6 +++++ frontend/src/store/modules/language.js | 16 +++++++------- 6 files changed, 31 insertions(+), 21 deletions(-) diff --git a/frontend/src/components/Recipe/Parts/Assets.vue b/frontend/src/components/Recipe/Parts/Assets.vue index 65d4ec0ae..c8a094d5b 100644 --- a/frontend/src/components/Recipe/Parts/Assets.vue +++ b/frontend/src/components/Recipe/Parts/Assets.vue @@ -38,7 +38,7 @@ diff --git a/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue b/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue index 75445f160..24464579f 100644 --- a/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue +++ b/frontend/src/components/Recipe/Parts/Helpers/SettingsMenu.vue @@ -12,7 +12,7 @@ - Recipe Settings + {{$t('recipe.recipe-settings')}} @@ -39,14 +39,18 @@ export default { props: { value: Object, }, - data: () => ({ - labels: { - public: "Public Recipe", - showNutrition: "Show Nutrition Values", - showAssets: "Show Assets", - landscapeView: "Landscape View (Coming Soon)", - }, - }), + + computed: { + labels() { + return { + public: this.$t('recipe.public-recipe'), + showNutrition: this.$t('recipe.show-nutrition-values'), + showAssets: this.$t('recipe.show-assets'), + landscapeView: this.$t('recipe.landscape-view-coming-soon'), + }; + } + }, + methods: {}, }; diff --git a/frontend/src/components/UI/Dialogs/BaseDialog.vue b/frontend/src/components/UI/Dialogs/BaseDialog.vue index 57e9335bd..4109d9a49 100644 --- a/frontend/src/components/UI/Dialogs/BaseDialog.vue +++ b/frontend/src/components/UI/Dialogs/BaseDialog.vue @@ -23,11 +23,11 @@ - Cancel + {{$t('general.cancel')}} - Submit + {{$t('general.submit')}} diff --git a/frontend/src/components/UI/TheSiteMenu.vue b/frontend/src/components/UI/TheSiteMenu.vue index d936b9b52..5f4255f75 100644 --- a/frontend/src/components/UI/TheSiteMenu.vue +++ b/frontend/src/components/UI/TheSiteMenu.vue @@ -49,7 +49,7 @@ export default { return [ { icon: "mdi-account", - title: "Login", + title: this.$t('user.login'), restricted: false, login: true, }, diff --git a/frontend/src/locales/messages/en-US.json b/frontend/src/locales/messages/en-US.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/en-US.json +++ b/frontend/src/locales/messages/en-US.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/store/modules/language.js b/frontend/src/store/modules/language.js index 364e6b298..aa98e3538 100644 --- a/frontend/src/store/modules/language.js +++ b/frontend/src/store/modules/language.js @@ -6,35 +6,35 @@ const state = { value: "en-US", }, { - name: "Danish", + name: "Dansk (Danish)", value: "da-DK", }, { - name: "French", + name: "Français (French)", value: "fr-FR", }, { - name: "Polish", + name: "Polski (Polish)", value: "pl-PL", }, { - name: "Swedish", + name: "Svenska (Swedish)", value: "sv-SE", }, { - name: "简体中文", + name: "简体中文 (Chinese simplified)", value: "zh-CN", }, { - name: "繁體中文", + name: "繁體中文 (Chinese traditional)", value: "zh-TW", }, { - name: "German", + name: "Deutsch (German)", value: "de-DE", }, { - name: "Português", + name: "Português (Portuguese)", value: "pt-PT", }, ], From 5e89903b2f67d1adf2d71db03db1cd4c49c1da29 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Fri, 30 Apr 2021 08:44:12 -0800 Subject: [PATCH 3/5] New Crowdin updates (#374) * New translations en-US.json (German) * New translations en-US.json (German) * New translations en-US.json (German) * New translations en-US.json (French) * New translations en-US.json (German) --- frontend/src/locales/messages/de-DE.json | 206 +++++++++++------------ frontend/src/locales/messages/fr-FR.json | 2 +- 2 files changed, 104 insertions(+), 104 deletions(-) diff --git a/frontend/src/locales/messages/de-DE.json b/frontend/src/locales/messages/de-DE.json index 811654a82..f82502ccd 100644 --- a/frontend/src/locales/messages/de-DE.json +++ b/frontend/src/locales/messages/de-DE.json @@ -13,21 +13,21 @@ "demo": "Demo", "demo-status": "Demostatus", "development": "Entwicklung", - "download-log": "Download Log", - "download-recipe-json": "Download Recipe JSON", + "download-log": "Protokoll herunterladen", + "download-recipe-json": "Rezept JSON herunterladen", "not-demo": "Keine Demo", "production": "Production", "sqlite-file": "SQLite Datei", "version": "Version" }, "category": { - "category-created": "Category created", - "category-creation-failed": "Category creation failed", - "category-deleted": "Category Deleted", - "category-deletion-failed": "Category deletion failed", - "category-filter": "Category Filter", - "category-update-failed": "Category update failed", - "category-updated": "Category updated" + "category-created": "Kategorie angelegt", + "category-creation-failed": "Anlegen der Kategorie fehlgeschlagen", + "category-deleted": "Kategorie entfernt", + "category-deletion-failed": "Entfernen der Kategorie fehlgeschlagen", + "category-filter": "Kategoriefilter", + "category-update-failed": "Aktualisieren der Kategorie fehlgeschlagen", + "category-updated": "Kategorie aktualisiert" }, "general": { "apply": "Anwenden", @@ -42,11 +42,11 @@ "edit": "Bearbeiten", "enabled": "Aktiviert", "exception": "Exception", - "failed-count": "Failed: {count}", - "failure-uploading-file": "Failure uploading file", + "failed-count": "Fehlgeschlagen: {count}", + "failure-uploading-file": "Fehler beim Hochladen der Datei", "field-required": "Erforderliches Feld", - "file-folder-not-found": "File/folder not found", - "file-uploaded": "File uploaded", + "file-folder-not-found": "Datei/Ordner nicht gefunden", + "file-uploaded": "Datei hochgeladen", "filter": "Filter", "friday": "Freitag", "get": "Holen", @@ -59,11 +59,11 @@ "name": "Name", "no": "Nein", "ok": "Okay", - "options": "Options:", + "options": "Optionen:", "random": "Zufall", "recent": "Neueste", "recipes": "Rezepte", - "rename-object": "Rename {0}", + "rename-object": "{0} umbenennen", "reset": "Zurücksetzen", "saturday": "Samstag", "save": "Speichern", @@ -72,7 +72,7 @@ "sort-alphabetically": "A-Z", "status": "Status", "submit": "Einfügen", - "success-count": "Success: {count}", + "success-count": "Erfolgreich: {count}", "sunday": "Sonntag", "templates": "Templates:", "themes": "Themen", @@ -87,23 +87,23 @@ "yes": "Ja" }, "group": { - "are-you-sure-you-want-to-delete-the-group": "Are you sure you want to delete {groupName}?", - "cannot-delete-default-group": "Cannot delete default group", - "cannot-delete-group-with-users": "Cannot delete group with users", - "confirm-group-deletion": "Confirm Group Deletion", - "create-group": "Create Group", - "error-updating-group": "Error updating group", - "group": "Group", - "group-deleted": "Group deleted", - "group-deletion-failed": "Group deletion failed", - "group-id-with-value": "Group ID: {groupID}", - "group-name": "Group Name", - "group-not-found": "Group not found", - "groups": "Groups", - "groups-can-only-be-set-by-administrators": "Groups can only be set by administrators", - "user-group": "User Group", - "user-group-created": "User Group Created", - "user-group-creation-failed": "User Group Creation Failed" + "are-you-sure-you-want-to-delete-the-group": "Bist du dir sicher, dass du die Gruppe {groupName} löschen möchtest?", + "cannot-delete-default-group": "Standardgruppe kann nicht gelöscht werden", + "cannot-delete-group-with-users": "Gruppe mit Benutzern kann nicht gelöscht werden", + "confirm-group-deletion": "Bestätige das Löschen der Gruppe", + "create-group": "Gruppe anlegen", + "error-updating-group": "Fehler beim Aktualisieren der Gruppe", + "group": "Gruppe", + "group-deleted": "Gruppe gelöscht", + "group-deletion-failed": "Löschen der Gruppe fehlgeschlagen", + "group-id-with-value": "Gruppenkennung: {groupID}", + "group-name": "Name der Gruppe", + "group-not-found": "Gruppe nicht gefunden", + "groups": "Gruppen", + "groups-can-only-be-set-by-administrators": "Gruppen können nur von Administratoren gesetzt werden", + "user-group": "Benutzergruppe", + "user-group-created": "Benutzergruppe angelegt", + "user-group-creation-failed": "Anlegen der Benutzergruppe fehlgeschlagen" }, "meal-plan": { "create-a-new-meal-plan": "Neuen Essensplan erstellen", @@ -114,14 +114,14 @@ "group": "Gruppe (Beta)", "meal-planner": "Essensplaner", "meal-plans": "Essenspläne", - "mealplan-created": "Mealplan created", - "mealplan-creation-failed": "Mealplan creation failed", - "mealplan-deleted": "Mealplan Deleted", - "mealplan-deletion-failed": "Mealplan deletion failed", - "mealplan-update-failed": "Mealplan update failed", - "mealplan-updated": "Mealplan Updated", - "no-meal-plan-defined-yet": "No meal plan defined yet", - "no-meal-planned-for-today": "No meal planned for today", + "mealplan-created": "Essensplan angelegt", + "mealplan-creation-failed": "Anlegen des Essensplans fehlgeschlagen", + "mealplan-deleted": "Essensplan entfernt", + "mealplan-deletion-failed": "Entfernen des Essensplans fehlgeschlagen", + "mealplan-update-failed": "Aktualisieren des Essensplans fehlgeschlagen", + "mealplan-updated": "Essensplan aktualisiert", + "no-meal-plan-defined-yet": "Noch kein Essensplan definiert", + "no-meal-planned-for-today": "Kein Essen für heute geplant", "only-recipes-with-these-categories-will-be-used-in-meal-plans": "Nur Rezepte dieser Kategorien werden in Essensplänen verwendet", "planner": "Planer", "quick-week": "Quick Week", @@ -133,7 +133,7 @@ "description": "Übertrage Daten aus Chowdown", "title": "Chowdown" }, - "migration-data-removed": "Migration data removed", + "migration-data-removed": "Migrationsdaten entfernt", "nextcloud": { "description": "Übertrage Daten aus einer Nextcloud Cookbook Instanz", "title": "Nextcloud Cookbook" @@ -152,20 +152,20 @@ "page": { "all-recipes": "Alle Rezepte", "home-page": "Startseite", - "new-page-created": "New page created", - "page-creation-failed": "Page creation failed", - "page-deleted": "Page deleted", - "page-deletion-failed": "Page deletion failed", - "page-update-failed": "Page update failed", - "page-updated": "Page updated", - "pages-update-failed": "Pages update failed", - "pages-updated": "Pages updated", + "new-page-created": "Neue Seite angelegt", + "page-creation-failed": "Anlegen der Seite fehlgeschlagen", + "page-deleted": "Seite entfernt", + "page-deletion-failed": "Entfernen der Seite fehlgeschlagen", + "page-update-failed": "Aktualisieren der Seite fehlgeschlagen", + "page-updated": "Seite aktualisiert", + "pages-update-failed": "Aktualisieren der Seiten fehlgeschlagen", + "pages-updated": "Seiten aktualisiert", "recent": "Neueste" }, "recipe": { "add-key": "Schlüssel hinzufügen", "api-extras": "API Extras", - "assets": "Assets", + "assets": "Anlagen", "calories": "Kalorien", "calories-suffix": "Kalorien", "carbohydrate-content": "Kohlenhydrate", @@ -192,21 +192,21 @@ "perform-time": "Kochzeit", "prep-time": "Vorbereitung", "protein-content": "Eiweiß", - "recipe-created": "Recipe created", - "recipe-creation-failed": "Recipe creation failed", - "recipe-deleted": "Recipe deleted", + "recipe-created": "Rezept angelegt", + "recipe-creation-failed": "Anlegen des Rezepts fehlgeschlagen", + "recipe-deleted": "Rezept entfernt", "recipe-image": "Rezeptbild", - "recipe-image-updated": "Recipe image updated", + "recipe-image-updated": "Rezeptbild aktualisiert", "recipe-name": "Rezeptname", - "recipe-update-failed": "Recipe update failed", - "recipe-updated": "Recipe updated", + "recipe-update-failed": "Aktualisieren des Rezepts fehlgeschlagen", + "recipe-updated": "Rezept aktualisiert", "servings": "Portionen", "sodium-content": "Natrium", "step-index": "Schritt {step}:", "sugar-content": "Zucker", "title": "Titel", "total-time": "Gesamtzeit", - "unable-to-delete-recipe": "Unable to Delete Recipe", + "unable-to-delete-recipe": "Rezept kann nicht gelöscht werden", "view-recipe": "Rezept anschauen" }, "search": { @@ -225,15 +225,15 @@ "admin-settings": "Admin Einstellungen", "available-backups": "Verfügbare Sicherungen", "backup": { - "backup-created-at-response-export_path": "Backup Created at {path}", - "backup-deleted": "Backup deleted", + "backup-created-at-response-export_path": "Sicherung erstellt unter {path}", + "backup-deleted": "Sicherung gelöscht", "backup-tag": "Sicherungsbeschreibung", "create-heading": "Sicherung erstellen", - "error-creating-backup-see-log-file": "Error Creating Backup. See Log File", + "error-creating-backup-see-log-file": "Fehler beim Erstellen der Sicherung. Siehe Protokolldatei", "full-backup": "Komplettsicherung", - "import-summary": "Import Summary", + "import-summary": "Zusammenfassung des Imports", "partial-backup": "Teilsicherung", - "unable-to-delete-backup": "Unable to Delete Backup." + "unable-to-delete-backup": "Sicherung kann nicht gelöscht werden." }, "backup-and-exports": "Sicherungen", "backup-info": "Sicherungen werden mitsamt aller Bilder im Standard-JSON-Format in das Dateisystem exportiert. In deinem Sicherungsordner findest du eine ZIP Datei, welche sämtliche JSON's deiner Rezepte und die Bilder aus der Datenbank enthält. Solltest du eine Markdown Datei auswählen werden diese ebenfalls im ZIP gespeichert. Um eine Sicherung zurückzuspielen muss die entsprechende ZIP-Datei im Sicherungsordner liegen. Automatische Sicherungen finden jeden Tag um 3 Uhr morgens statt.", @@ -242,7 +242,7 @@ "custom-pages": "Benutzerdefinierte Seiten", "edit-page": "Seite bearbeiten", "first-day-of-week": "Woche beginnt am", - "group-settings-updated": "Group Settings Updated", + "group-settings-updated": "Gruppeneinstellungen aktualisiert", "homepage": { "all-categories": "Alle Kategorien", "card-per-section": "Karten pro Bereich", @@ -258,12 +258,12 @@ "migrations": "Migrationen", "new-page": "Neue Seite", "page-name": "Seitenname", - "pages": "Pages", + "pages": "Seiten", "profile": "Profil", "remove-existing-entries-matching-imported-entries": "Entferne vorhandene Einträge passend zu importierten Einträgen", "set-new-time": "Neue Zeit einstellen", - "settings-update-failed": "Settings update failed", - "settings-updated": "Settings updated", + "settings-update-failed": "Aktualisieren der Einstellungen fehlgeschlagen", + "settings-updated": "Einstellungen aktualisiert", "site-settings": "Seiteneinstellungen", "theme": { "accent": "Akzent", @@ -274,9 +274,9 @@ "default-to-system": "Standardeinstellung", "delete-theme": "Thema löschen", "error": "Fehler", - "error-creating-theme-see-log-file": "Error creating theme. See log file.", - "error-deleting-theme": "Error deleting theme", - "error-updating-theme": "Error updating theme", + "error-creating-theme-see-log-file": "Fehler beim Erstellen des Themas. Siehe Protokolldatei.", + "error-deleting-theme": "Fehler beim Löschen des Themas", + "error-updating-theme": "Fehler beim Aktualisieren des Themas", "info": "Information", "light": "Hell", "primary": "Primär", @@ -284,12 +284,12 @@ "select-a-theme-from-the-dropdown-or-create-a-new-theme-note-that-the-default-theme-will-be-served-to-all-users-who-have-not-set-a-theme-preference": "Wähle ein Thema aus der Dropdown-Liste oder erstelle ein neues. Beachte, dass das Standard-Thema auf alle Benutzer angewandt wird die keine Einstellung für ein Thema getroffen haben.", "success": "Erfolg", "theme": "Thema", - "theme-deleted": "Theme deleted", + "theme-deleted": "Thema gelöscht", "theme-name": "Themenname", "theme-name-is-required": "Themenname wird benötigt.", - "theme-saved": "Theme Saved", + "theme-saved": "Thema gespeichert", "theme-settings": "Themeneinstellungen", - "theme-updated": "Theme updated", + "theme-updated": "Thema aktualisiert", "warning": "Warnung" }, "toolbox": { @@ -310,24 +310,24 @@ } }, "signup": { - "display-name": "Display Name", - "error-signing-up": "Error Signing Up", - "sign-up": "Sign Up", - "sign-up-link-created": "Sign up link created", - "sign-up-link-creation-failed": "Sign up link creation failed", - "sign-up-links": "Sign Up Links", - "sign-up-token-deleted": "Sign Up Token Deleted", - "sign-up-token-deletion-failed": "Sign up token deletion failed", - "welcome-to-mealie": "Welcome to Mealie! To become a user of this instance you are required to have a valid invitation link. If you haven't recieved an invitation you are unable to sign-up. To recieve a link, contact the sites administrator." + "display-name": "Anzeigename", + "error-signing-up": "Fehler beim Registrieren", + "sign-up": "Registrieren", + "sign-up-link-created": "Einladungslink angelegt", + "sign-up-link-creation-failed": "Anlegen des Einladungslinks fehlgeschlagen", + "sign-up-links": "Registrierungslinks", + "sign-up-token-deleted": "Registrierungs-Token entfernt", + "sign-up-token-deletion-failed": "Entfernen des Registrierungs-Tokens fehlgeschlagen", + "welcome-to-mealie": "Willkommen bei Mealie! Um ein Benutzer dieser Instanz zu werden musst du einen gültigen Einladungslink haben. Wenn du keine Einladung erhalten hast kannst du dich nicht registrieren. Wende dich an den Administrator, um einen Link zu erhalten." }, "tag": { - "tag-created": "Tag created", - "tag-creation-failed": "Tag creation failed", - "tag-deleted": "Tag deleted", - "tag-deletion-failed": "Tag deletion failed", - "tag-update-failed": "Tag update failed", - "tag-updated": "Tag updated", - "tags": "Tags" + "tag-created": "Schlagwort angelegt", + "tag-creation-failed": "Anlegen des Schlagworts fehlgeschlagen", + "tag-deleted": "Schlagwort entfernt", + "tag-deletion-failed": "Entfernen des Schlagworts fehlgeschlagen", + "tag-update-failed": "Aktualisieren des Schlagworts fehlgeschlagen", + "tag-updated": "Schlagwort aktualisiert", + "tags": "Schlagworte" }, "user": { "admin": "Admin", @@ -343,10 +343,10 @@ "e-mail-must-be-valid": "E-Mail muss valide sein", "edit-user": "Benutzer bearbeiten", "email": "E-Mail", - "error-cannot-delete-super-user": "Error! Cannot Delete Super User", - "existing-password-does-not-match": "Existing password does not match", + "error-cannot-delete-super-user": "Fehler! Super Benutzer kann nicht gelöscht werden", + "existing-password-does-not-match": "Bestehendes Passwort stimmt nicht überein", "full-name": "Vollständiger Name", - "incorrect-username-or-password": "Incorrect username or password", + "incorrect-username-or-password": "Ungültiger Benutzername oder Passwort", "link-id": "Linkkennung", "link-name": "Linkname", "login": "Anmeldung", @@ -354,29 +354,29 @@ "new-password": "Neues Passwort", "new-user": "Neuer Benutzer", "password": "Passwort", - "password-has-been-reset-to-the-default-password": "Password has been reset to the default password", + "password-has-been-reset-to-the-default-password": "Passwort wurde auf das Standardpasswort zurückgesetzt", "password-must-match": "Passwörter müssen übereinstimmen", - "password-reset-failed": "Password reset failed", - "password-updated": "Password updated", + "password-reset-failed": "Zurücksetzen des Passworts fehlgeschlagen", + "password-updated": "Passwort aktualisiert", "reset-password": "Passwort zurücksetzen", "sign-in": "Einloggen", "total-mealplans": "Alle Essenspläne", "total-users": "Alle Benutzer", "upload-photo": "Foto hochladen", "use-8-characters-or-more-for-your-password": "Benutze 8 oder mehr Zeichen für das Passwort", - "user-created": "User created", - "user-creation-failed": "User creation failed", - "user-deleted": "User deleted", + "user-created": "Benutzer angelegt", + "user-creation-failed": "Anlegen des Benutzers fehlgeschlagen", + "user-deleted": "Benutzer entfernt", "user-id": "Benutzerkennung", "user-id-with-value": "Benutzerkennung: {id}", "user-password": "Benutzerpasswort", - "user-successfully-logged-in": "User Successfully Logged In", - "user-update-failed": "User update failed", - "user-updated": "User updated", + "user-successfully-logged-in": "Benutzer erfolgreich angemeldet", + "user-update-failed": "Aktualisieren des Benutzers fehlgeschlagen", + "user-updated": "Benutzer aktualisiert", "users": "Benutzer", "webhook-time": "Webhook Zeit", "webhooks-enabled": "Webhooks aktiviert", - "you-are-not-allowed-to-create-a-user": "You are not allowed to create a user", - "you-are-not-allowed-to-delete-this-user": "You are not allowed to delete this user" + "you-are-not-allowed-to-create-a-user": "Sie sind nicht berechtigt, einen Benutzer anzulegen", + "you-are-not-allowed-to-delete-this-user": "Sie sind nicht berechtigt, diesen Benutzer zu entfernen" } } \ No newline at end of file diff --git a/frontend/src/locales/messages/fr-FR.json b/frontend/src/locales/messages/fr-FR.json index 5ee63a061..9b221f3f1 100644 --- a/frontend/src/locales/messages/fr-FR.json +++ b/frontend/src/locales/messages/fr-FR.json @@ -165,7 +165,7 @@ "recipe": { "add-key": "Ajouter une clé", "api-extras": "Extras API", - "assets": "Médias", + "assets": "Ressources", "calories": "Calories", "calories-suffix": "calories", "carbohydrate-content": "Glucides", From 72bc97eb2400b4c88e6dd79b596bbb5ef435c386 Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Fri, 30 Apr 2021 18:44:24 +0200 Subject: [PATCH 4/5] Shopping list fixes (#376) * Refactor recipe to snake case * Initialize raw ingredients Fixes #356 --- frontend/src/components/MealPlan/ShoppingListDialog.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/MealPlan/ShoppingListDialog.vue b/frontend/src/components/MealPlan/ShoppingListDialog.vue index 8bd2da175..a3b635402 100644 --- a/frontend/src/components/MealPlan/ShoppingListDialog.vue +++ b/frontend/src/components/MealPlan/ShoppingListDialog.vue @@ -22,7 +22,7 @@ @@ -75,8 +75,9 @@ export default { this.getRawIngredients(); }, getRawIngredients() { + this.rawIngredients = []; this.ingredients.forEach(element => { - this.rawIngredients.push(element.recipeIngredient); + this.rawIngredients.push(element.recipe_ingredient); }); this.rawIngredients = this.rawIngredients.flat(); From 89729c5eee9920c48a7cf44ad70d3831d69292fb Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Fri, 30 Apr 2021 08:45:45 -0800 Subject: [PATCH 5/5] New Crowdin updates (#377) * New translations en-US.json (German) * New translations en-US.json (Italian) * New translations en-US.json (Turkish) * New translations en-US.json (Swedish) * New translations en-US.json (Serbian (Cyrillic)) * New translations en-US.json (Russian) * New translations en-US.json (Portuguese) * New translations en-US.json (Polish) * New translations en-US.json (Norwegian) * New translations en-US.json (Dutch) * New translations en-US.json (Korean) * New translations en-US.json (French) * New translations en-US.json (Japanese) * New translations en-US.json (Hungarian) * New translations en-US.json (Arabic) * New translations en-US.json (Romanian) * New translations en-US.json (Spanish) * New translations en-US.json (Hebrew) * New translations en-US.json (Afrikaans) * New translations en-US.json (Catalan) * New translations en-US.json (Czech) * New translations en-US.json (Danish) * New translations en-US.json (Greek) * New translations en-US.json (Finnish) * New translations en-US.json (Chinese Simplified) * New translations en-US.json (Ukrainian) * New translations en-US.json (Chinese Traditional) * New translations en-US.json (Vietnamese) * New translations en-US.json (Portuguese, Brazilian) --- frontend/src/locales/messages/af-ZA.json | 6 ++++++ frontend/src/locales/messages/ar-SA.json | 6 ++++++ frontend/src/locales/messages/ca-ES.json | 6 ++++++ frontend/src/locales/messages/cs-CZ.json | 6 ++++++ frontend/src/locales/messages/da-DK.json | 6 ++++++ frontend/src/locales/messages/de-DE.json | 6 ++++++ frontend/src/locales/messages/el-GR.json | 6 ++++++ frontend/src/locales/messages/es-ES.json | 6 ++++++ frontend/src/locales/messages/fi-FI.json | 6 ++++++ frontend/src/locales/messages/fr-FR.json | 6 ++++++ frontend/src/locales/messages/he-IL.json | 6 ++++++ frontend/src/locales/messages/hu-HU.json | 6 ++++++ frontend/src/locales/messages/it-IT.json | 6 ++++++ frontend/src/locales/messages/ja-JP.json | 6 ++++++ frontend/src/locales/messages/ko-KR.json | 6 ++++++ frontend/src/locales/messages/nl-NL.json | 6 ++++++ frontend/src/locales/messages/no-NO.json | 6 ++++++ frontend/src/locales/messages/pl-PL.json | 6 ++++++ frontend/src/locales/messages/pt-BR.json | 6 ++++++ frontend/src/locales/messages/pt-PT.json | 6 ++++++ frontend/src/locales/messages/ro-RO.json | 6 ++++++ frontend/src/locales/messages/ru-RU.json | 6 ++++++ frontend/src/locales/messages/sr-SP.json | 6 ++++++ frontend/src/locales/messages/sv-SE.json | 6 ++++++ frontend/src/locales/messages/tr-TR.json | 6 ++++++ frontend/src/locales/messages/uk-UA.json | 6 ++++++ frontend/src/locales/messages/vi-VN.json | 6 ++++++ frontend/src/locales/messages/zh-CN.json | 6 ++++++ frontend/src/locales/messages/zh-TW.json | 6 ++++++ 29 files changed, 174 insertions(+) diff --git a/frontend/src/locales/messages/af-ZA.json b/frontend/src/locales/messages/af-ZA.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/af-ZA.json +++ b/frontend/src/locales/messages/af-ZA.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/ar-SA.json b/frontend/src/locales/messages/ar-SA.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/ar-SA.json +++ b/frontend/src/locales/messages/ar-SA.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/ca-ES.json b/frontend/src/locales/messages/ca-ES.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/ca-ES.json +++ b/frontend/src/locales/messages/ca-ES.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/cs-CZ.json b/frontend/src/locales/messages/cs-CZ.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/cs-CZ.json +++ b/frontend/src/locales/messages/cs-CZ.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/da-DK.json b/frontend/src/locales/messages/da-DK.json index 3e253e242..1d10a2fe5 100644 --- a/frontend/src/locales/messages/da-DK.json +++ b/frontend/src/locales/messages/da-DK.json @@ -180,7 +180,9 @@ "ingredients": "Ingredienser", "instructions": "Instruktioner", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Bemærk", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Opskriftens navn", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Portioner", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Trin: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/de-DE.json b/frontend/src/locales/messages/de-DE.json index f82502ccd..208d95aca 100644 --- a/frontend/src/locales/messages/de-DE.json +++ b/frontend/src/locales/messages/de-DE.json @@ -180,7 +180,9 @@ "ingredients": "Zutaten", "instructions": "Anweisungen", "key-name-required": "Schlüsselname benötigt", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "mg", + "new-asset": "New Asset", "new-key-name": "Neuer Schlüsselname", "no-white-space-allowed": "Kein Leerzeichen erlaubt", "note": "Notiz", @@ -192,15 +194,19 @@ "perform-time": "Kochzeit", "prep-time": "Vorbereitung", "protein-content": "Eiweiß", + "public-recipe": "Public Recipe", "recipe-created": "Rezept angelegt", "recipe-creation-failed": "Anlegen des Rezepts fehlgeschlagen", "recipe-deleted": "Rezept entfernt", "recipe-image": "Rezeptbild", "recipe-image-updated": "Rezeptbild aktualisiert", "recipe-name": "Rezeptname", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Aktualisieren des Rezepts fehlgeschlagen", "recipe-updated": "Rezept aktualisiert", "servings": "Portionen", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Natrium", "step-index": "Schritt {step}:", "sugar-content": "Zucker", diff --git a/frontend/src/locales/messages/el-GR.json b/frontend/src/locales/messages/el-GR.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/el-GR.json +++ b/frontend/src/locales/messages/el-GR.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/es-ES.json b/frontend/src/locales/messages/es-ES.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/es-ES.json +++ b/frontend/src/locales/messages/es-ES.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/fi-FI.json b/frontend/src/locales/messages/fi-FI.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/fi-FI.json +++ b/frontend/src/locales/messages/fi-FI.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/fr-FR.json b/frontend/src/locales/messages/fr-FR.json index 9b221f3f1..83610c72c 100644 --- a/frontend/src/locales/messages/fr-FR.json +++ b/frontend/src/locales/messages/fr-FR.json @@ -180,7 +180,9 @@ "ingredients": "Ingrédients", "instructions": "Instructions", "key-name-required": "Un nom de clé est requis", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrammes", + "new-asset": "New Asset", "new-key-name": "Nouveau nom de clé", "no-white-space-allowed": "Aucun espace blanc autorisé", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Temps de cuisson", "prep-time": "Temps de préparation", "protein-content": "Protéines", + "public-recipe": "Public Recipe", "recipe-created": "Recette créée", "recipe-creation-failed": "La création de la recette a échoué", "recipe-deleted": "Recette supprimée", "recipe-image": "Image de la recette", "recipe-image-updated": "L'image de la recette a été mise à jour", "recipe-name": "Nom de la recette", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "La mise à jour de la recette a échoué", "recipe-updated": "Recette mise à jour", "servings": "Portions", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Étape : {step}", "sugar-content": "Sucres", diff --git a/frontend/src/locales/messages/he-IL.json b/frontend/src/locales/messages/he-IL.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/he-IL.json +++ b/frontend/src/locales/messages/he-IL.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/hu-HU.json b/frontend/src/locales/messages/hu-HU.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/hu-HU.json +++ b/frontend/src/locales/messages/hu-HU.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/it-IT.json b/frontend/src/locales/messages/it-IT.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/it-IT.json +++ b/frontend/src/locales/messages/it-IT.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/ja-JP.json b/frontend/src/locales/messages/ja-JP.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/ja-JP.json +++ b/frontend/src/locales/messages/ja-JP.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/ko-KR.json b/frontend/src/locales/messages/ko-KR.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/ko-KR.json +++ b/frontend/src/locales/messages/ko-KR.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/nl-NL.json b/frontend/src/locales/messages/nl-NL.json index 968b5e7d2..4ef4c1a71 100644 --- a/frontend/src/locales/messages/nl-NL.json +++ b/frontend/src/locales/messages/nl-NL.json @@ -180,7 +180,9 @@ "ingredients": "Ingrediënten", "instructions": "Instructies", "key-name-required": "Sleutelnaam vereist", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligram", + "new-asset": "New Asset", "new-key-name": "Nieuwe sleutelnaam", "no-white-space-allowed": "Geen Witruimte Toegestaan", "note": "Opmerking", @@ -192,15 +194,19 @@ "perform-time": "Kook tijd", "prep-time": "Voorbereidings tijd", "protein-content": "Eiwitten", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recept afbeelding", "recipe-image-updated": "Recipe image updated", "recipe-name": "Receptnaam", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Porties", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Zout", "step-index": "Stap: {step}", "sugar-content": "Suiker", diff --git a/frontend/src/locales/messages/no-NO.json b/frontend/src/locales/messages/no-NO.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/no-NO.json +++ b/frontend/src/locales/messages/no-NO.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/pl-PL.json b/frontend/src/locales/messages/pl-PL.json index 06a5630b6..cfaeb48dd 100644 --- a/frontend/src/locales/messages/pl-PL.json +++ b/frontend/src/locales/messages/pl-PL.json @@ -180,7 +180,9 @@ "ingredients": "Składniki", "instructions": "Instrukcje", "key-name-required": "Nazwa klucza jest wymagana", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "miligram", + "new-asset": "New Asset", "new-key-name": "Nazwa nowego klucza", "no-white-space-allowed": "Znaki niedrukowalne są niedozwolone", "note": "Notatka", @@ -192,15 +194,19 @@ "perform-time": "Czas gotowania", "prep-time": "Czas przyrządzania", "protein-content": "Białka", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Zdjęcie do przepisu", "recipe-image-updated": "Recipe image updated", "recipe-name": "Nazwa przepisu", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Porcje", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sód", "step-index": "Krok: {step}", "sugar-content": "Cukry", diff --git a/frontend/src/locales/messages/pt-BR.json b/frontend/src/locales/messages/pt-BR.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/pt-BR.json +++ b/frontend/src/locales/messages/pt-BR.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/pt-PT.json b/frontend/src/locales/messages/pt-PT.json index af9fe93ca..b54a8d115 100644 --- a/frontend/src/locales/messages/pt-PT.json +++ b/frontend/src/locales/messages/pt-PT.json @@ -180,7 +180,9 @@ "ingredients": "Ingredientes", "instructions": "Instruções", "key-name-required": "Nome da Chave é Obrigatório", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "Novo nome da Chave", "no-white-space-allowed": "Espaço em Branco não Permitido", "note": "Nota", @@ -192,15 +194,19 @@ "perform-time": "Tempo de Cozedura", "prep-time": "Tempo de Preparação", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Nome da Receita", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Porções", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Passo: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/ro-RO.json b/frontend/src/locales/messages/ro-RO.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/ro-RO.json +++ b/frontend/src/locales/messages/ro-RO.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/ru-RU.json b/frontend/src/locales/messages/ru-RU.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/ru-RU.json +++ b/frontend/src/locales/messages/ru-RU.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/sr-SP.json b/frontend/src/locales/messages/sr-SP.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/sr-SP.json +++ b/frontend/src/locales/messages/sr-SP.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/sv-SE.json b/frontend/src/locales/messages/sv-SE.json index 77624ff38..94515b94d 100644 --- a/frontend/src/locales/messages/sv-SE.json +++ b/frontend/src/locales/messages/sv-SE.json @@ -180,7 +180,9 @@ "ingredients": "Ingredienser", "instructions": "Instruktioner", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Anteckning", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Receptets namn", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Portioner", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Steg: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/tr-TR.json b/frontend/src/locales/messages/tr-TR.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/tr-TR.json +++ b/frontend/src/locales/messages/tr-TR.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/uk-UA.json b/frontend/src/locales/messages/uk-UA.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/uk-UA.json +++ b/frontend/src/locales/messages/uk-UA.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/vi-VN.json b/frontend/src/locales/messages/vi-VN.json index 2c3a7e748..446fe4b86 100644 --- a/frontend/src/locales/messages/vi-VN.json +++ b/frontend/src/locales/messages/vi-VN.json @@ -180,7 +180,9 @@ "ingredients": "Ingredients", "instructions": "Instructions", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "Note", @@ -192,15 +194,19 @@ "perform-time": "Cook Time", "prep-time": "Prep Time", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "Recipe Name", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "Servings", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "Step: {step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/zh-CN.json b/frontend/src/locales/messages/zh-CN.json index e5419e049..a7f93f761 100644 --- a/frontend/src/locales/messages/zh-CN.json +++ b/frontend/src/locales/messages/zh-CN.json @@ -180,7 +180,9 @@ "ingredients": "材料", "instructions": "做法", "key-name-required": "必须输入关键字", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "不允许有空格", "note": "备注", @@ -192,15 +194,19 @@ "perform-time": "烹饪时间", "prep-time": "准备时间", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "食谱名称", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "份量", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "步骤:{step}", "sugar-content": "Sugar", diff --git a/frontend/src/locales/messages/zh-TW.json b/frontend/src/locales/messages/zh-TW.json index ed86cdf55..37b0ced6e 100644 --- a/frontend/src/locales/messages/zh-TW.json +++ b/frontend/src/locales/messages/zh-TW.json @@ -180,7 +180,9 @@ "ingredients": "材料", "instructions": "做法", "key-name-required": "Key Name Required", + "landscape-view-coming-soon": "Landscape View (Coming Soon)", "milligrams": "milligrams", + "new-asset": "New Asset", "new-key-name": "New Key Name", "no-white-space-allowed": "No White Space Allowed", "note": "貼士", @@ -192,15 +194,19 @@ "perform-time": "烹飪時間 / 執行時間", "prep-time": "準備時間", "protein-content": "Protein", + "public-recipe": "Public Recipe", "recipe-created": "Recipe created", "recipe-creation-failed": "Recipe creation failed", "recipe-deleted": "Recipe deleted", "recipe-image": "Recipe Image", "recipe-image-updated": "Recipe image updated", "recipe-name": "食譜名稱", + "recipe-settings": "Recipe Settings", "recipe-update-failed": "Recipe update failed", "recipe-updated": "Recipe updated", "servings": "份量", + "show-assets": "Show Assets", + "show-nutrition-values": "Show Nutrition Values", "sodium-content": "Sodium", "step-index": "步驟:{step}", "sugar-content": "Sugar",