mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-07 12:36:25 -05:00
* Fix missing string * Localize "loading recipes" * Remove unmaintained languages Remove support for Danish, Portuguese and Chinese Traditional, since their current translation state is <20%
47 lines
815 B
JavaScript
47 lines
815 B
JavaScript
// This is the data store for the options for language selection. Property is reference only, you cannot set this property.
|
|
const state = {
|
|
allLangs: [
|
|
{
|
|
name: "English",
|
|
value: "en-US",
|
|
},
|
|
{
|
|
name: "Deutsch (German)",
|
|
value: "de-DE",
|
|
},
|
|
{
|
|
name: "Español (Spanish)",
|
|
value: "es-ES",
|
|
},
|
|
{
|
|
name: "Français (French)",
|
|
value: "fr-FR",
|
|
},
|
|
{
|
|
name: "Nederlands (Dutch)",
|
|
value: "nl-NL",
|
|
},
|
|
{
|
|
name: "Polski (Polish)",
|
|
value: "pl-PL",
|
|
},
|
|
{
|
|
name: "Svenska (Swedish)",
|
|
value: "sv-SE",
|
|
},
|
|
{
|
|
name: "简体中文 (Chinese simplified)",
|
|
value: "zh-CN",
|
|
},
|
|
],
|
|
};
|
|
|
|
const getters = {
|
|
getAllLangs: state => state.allLangs,
|
|
};
|
|
|
|
export default {
|
|
state,
|
|
getters,
|
|
};
|