mealie/frontend/composables/use-locales/available-locales.ts
Hayden 71f8c1066a
feat: server side search (#2112) (#2117)
* feat: server side search API (#2112)

* refactor repository_recipes filter building

* add food filter to recipe repository page_all

* fix query type annotations

* working search

* add tests and make sure title matches are ordered correctly

* remove instruction matching again

* fix formatting and small issues

* fix another linting error

* make search test no rely on actual words

* fix failing postgres compiled query

* revise incorrectly ordered migration

* automatically extract latest migration version

* test migration orderes

* run type generators

* new search function

* wip: new search page

* sortable field options

* fix virtual scroll issue

* fix search casing bug

* finalize search filters/sorts

* remove old composable

* fix type errors

---------

Co-authored-by: Sören <fleshgolem@gmx.net>
2023-02-11 21:26:10 -09:00

184 lines
2.9 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// This Code is auto generated by gen_global_components.py
export const LOCALES = [
{
name: "繁體中文 (Chinese traditional)",
value: "zh-TW",
progress: 50,
},
{
name: "简体中文 (Chinese simplified)",
value: "zh-CN",
progress: 41,
},
{
name: "Tiếng Việt (Vietnamese)",
value: "vi-VN",
progress: 0,
},
{
name: "Українська (Ukrainian)",
value: "uk-UA",
progress: 88,
},
{
name: "Türkçe (Turkish)",
value: "tr-TR",
progress: 41,
},
{
name: "Svenska (Swedish)",
value: "sv-SE",
progress: 66,
},
{
name: "српски (Serbian)",
value: "sr-SP",
progress: 8,
},
{
name: "Slovenian",
value: "sl-SI",
progress: 73,
},
{
name: "Slovak",
value: "sk-SK",
progress: 78,
},
{
name: "Pусский (Russian)",
value: "ru-RU",
progress: 49,
},
{
name: "Română (Romanian)",
value: "ro-RO",
progress: 7,
},
{
name: "Português (Portuguese)",
value: "pt-PT",
progress: 27,
},
{
name: "Português do Brasil (Brazilian Portuguese)",
value: "pt-BR",
progress: 31,
},
{
name: "Polski (Polish)",
value: "pl-PL",
progress: 69,
},
{
name: "Norsk (Norwegian)",
value: "no-NO",
progress: 73,
},
{
name: "Nederlands (Dutch)",
value: "nl-NL",
progress: 81,
},
{
name: "Lithuanian",
value: "lt-LT",
progress: 65,
},
{
name: "한국어 (Korean)",
value: "ko-KR",
progress: 0,
},
{
name: "日本語 (Japanese)",
value: "ja-JP",
progress: 0,
},
{
name: "Italiano (Italian)",
value: "it-IT",
progress: 81,
},
{
name: "Magyar (Hungarian)",
value: "hu-HU",
progress: 60,
},
{
name: "עברית (Hebrew)",
value: "he-IL",
progress: 24,
},
{
name: "Français (French)",
value: "fr-FR",
progress: 100,
},
{
name: "French, Canada",
value: "fr-CA",
progress: 61,
},
{
name: "Suomi (Finnish)",
value: "fi-FI",
progress: 45,
},
{
name: "Español (Spanish)",
value: "es-ES",
progress: 70,
},
{
name: "American English",
value: "en-US",
progress: 100.0,
},
{
name: "British English",
value: "en-GB",
progress: 23,
},
{
name: "Ελληνικά (Greek)",
value: "el-GR",
progress: 51,
},
{
name: "Deutsch (German)",
value: "de-DE",
progress: 99,
},
{
name: "Dansk (Danish)",
value: "da-DK",
progress: 76,
},
{
name: "Čeština (Czech)",
value: "cs-CZ",
progress: 75,
},
{
name: "Català (Catalan)",
value: "ca-ES",
progress: 69,
},
{
name: "Bulgarian",
value: "bg-BG",
progress: 25,
},
{
name: "العربية (Arabic)",
value: "ar-SA",
progress: 18,
},
{
name: "Afrikaans (Afrikaans)",
value: "af-ZA",
progress: 6,
},
]