From d6cd5df44918794c9e172512eff7b653f72c6e77 Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Thu, 16 Dec 2021 01:32:52 +0100 Subject: [PATCH] Add support for fr-CA language (#865) Fixes #816 --- frontend/src/plugins/vuetify.js | 1 + frontend/src/store/modules/language.js | 4 ++++ mealie/schema/settings.py | 1 + 3 files changed, 6 insertions(+) diff --git a/frontend/src/plugins/vuetify.js b/frontend/src/plugins/vuetify.js index 5bde96c862af..d2a559af5c7a 100644 --- a/frontend/src/plugins/vuetify.js +++ b/frontend/src/plugins/vuetify.js @@ -54,6 +54,7 @@ const vuetify = new Vuetify({ "en-GB": en, "es-ES": es, "fr-FR": fr, + "fr-CA": fr, "hu-HU": hu, "it-IT": it, "nl-NL": nl, diff --git a/frontend/src/store/modules/language.js b/frontend/src/store/modules/language.js index c089c09e3e3e..bd5d4dacb78a 100644 --- a/frontend/src/store/modules/language.js +++ b/frontend/src/store/modules/language.js @@ -29,6 +29,10 @@ const state = { name: "Français (French)", value: "fr-FR", }, + { + name: "Français Canadien (Canadian French)", + value: "fr-CA", + }, { name: "Magyar (Hungarian)", value: "hu-HU", diff --git a/mealie/schema/settings.py b/mealie/schema/settings.py index 4d4468faa284..9d0d24696e22 100644 --- a/mealie/schema/settings.py +++ b/mealie/schema/settings.py @@ -29,6 +29,7 @@ langs = { "ca-ES", "sr-SP", "cs-CZ", + "fr-CA", "fr-FR", "zh-TW", "af-ZA",