Compare commits

..

1 Commits

Author SHA1 Message Date
Grant Lanham Jr 8f922e198b
Merge 81f0cb01e8 into b176323e89 2024-10-28 22:53:13 +01:00
29 changed files with 490 additions and 3592 deletions

View File

@ -45,6 +45,14 @@ jobs:
make V=1 gecko.driver make V=1 gecko.driver
- name: Run tests - name: Run tests
run: make V=1 ci.test run: make V=1 ci.test
- name: Test coverage
run: make V=1 test.coverage
- name: Store coverage result
uses: actions/upload-artifact@v3
with:
name: coverage-${{ matrix.python-version }}
path: coverage/
retention-days: 60
themes: themes:
name: Themes name: Themes

View File

@ -43,9 +43,16 @@ RUN apk add --no-cache -t build-dependencies \
tini \ tini \
uwsgi \ uwsgi \
uwsgi-python3 \ uwsgi-python3 \
brotli \ brotli
&& pip3 install --break-system-packages --no-cache -r requirements.txt \
&& apk del build-dependencies \ # For 32bit arm architecture install pydantic from the alpine repos instead of requirements.txt
ARG TARGETARCH
RUN if [ "$TARGETARCH" = "arm" ]; then \
apk add --no-cache py3-pydantic && pip install --no-cache --break-system-packages -r <(grep -v '^pydantic' requirements.txt); \
else \
pip install --no-cache --break-system-packages -r requirements.txt; \
fi
RUN apk del build-dependencies \
&& rm -rf /root/.cache && rm -rf /root/.cache
COPY --chown=searxng:searxng dockerfiles ./dockerfiles COPY --chown=searxng:searxng dockerfiles ./dockerfiles

View File

@ -16,6 +16,6 @@ redis==5.0.8
markdown-it-py==3.0.0 markdown-it-py==3.0.0
fasttext-predict==0.9.2.2 fasttext-predict==0.9.2.2
tomli==2.0.2; python_version < '3.11' tomli==2.0.2; python_version < '3.11'
msgspec==0.18.6 pydantic==2.9.2
eval_type_backport; python_version < '3.9' eval_type_backport; python_version < '3.9'
typer-slim==0.12.5 typer-slim==0.12.5

File diff suppressed because it is too large Load Diff

View File

@ -82,7 +82,7 @@
"af": "Albanese lek", "af": "Albanese lek",
"ar": "ليك ألباني", "ar": "ليك ألباني",
"bg": "Албански лек", "bg": "Албански лек",
"ca": "Lek (moneda)", "ca": "lek",
"cs": "Albánský lek", "cs": "Albánský lek",
"cy": "Lek", "cy": "Lek",
"da": "Lek", "da": "Lek",
@ -383,7 +383,6 @@
"nl": "Azerbeidzjaanse manat", "nl": "Azerbeidzjaanse manat",
"oc": "Manat", "oc": "Manat",
"pa": "ਅਜ਼ਰਬਾਈਜਾਨੀ ਮਨਾਤ", "pa": "ਅਜ਼ਰਬਾਈਜਾਨੀ ਮਨਾਤ",
"pap": "Manat Azerbaijano",
"pl": "Manat azerski", "pl": "Manat azerski",
"pt": "Manat azeri", "pt": "Manat azeri",
"ro": "Manat azer", "ro": "Manat azer",
@ -607,7 +606,6 @@
"pt": "Franco do Burúndi", "pt": "Franco do Burúndi",
"ro": "franc burundez", "ro": "franc burundez",
"ru": "бурундийский франк", "ru": "бурундийский франк",
"sk": "Burundský frank",
"sl": "burundijski frank", "sl": "burundijski frank",
"sr": "бурундски франак", "sr": "бурундски франак",
"sv": "Burundisk franc", "sv": "Burundisk franc",
@ -1329,7 +1327,6 @@
"pl": "escudo Zielonego Przylądka", "pl": "escudo Zielonego Przylądka",
"pt": "escudo cabo-verdiano", "pt": "escudo cabo-verdiano",
"ru": "Эскудо Кабо-Верде", "ru": "Эскудо Кабо-Верде",
"sk": "Kapverdské escudo",
"sl": "zelenortski eskudo", "sl": "zelenortski eskudo",
"sr": "зеленортски ескудо", "sr": "зеленортски ескудо",
"sv": "Kapverdisk escudo", "sv": "Kapverdisk escudo",
@ -1408,7 +1405,6 @@
"pl": "frank Dżibuti", "pl": "frank Dżibuti",
"pt": "franco do Jibuti", "pt": "franco do Jibuti",
"ru": "Франк Джибути", "ru": "Франк Джибути",
"sk": "Džibutský frank",
"sr": "џибутски франак", "sr": "џибутски франак",
"sv": "Djiboutisk franc", "sv": "Djiboutisk franc",
"tr": "Cibuti frangı", "tr": "Cibuti frangı",
@ -1522,7 +1518,6 @@
"pt": "dinar argelino", "pt": "dinar argelino",
"ro": "Dinar algerian", "ro": "Dinar algerian",
"ru": "алжирский динар", "ru": "алжирский динар",
"sk": "Alžírský dinár",
"sl": "alžirski dinar", "sl": "alžirski dinar",
"sr": "алжирски динар", "sr": "алжирски динар",
"sv": "Algerisk dinar", "sv": "Algerisk dinar",
@ -1974,7 +1969,6 @@
"pl": "frank gwinejski", "pl": "frank gwinejski",
"pt": "Franco da Guiné", "pt": "Franco da Guiné",
"ru": "Гвинейский франк", "ru": "Гвинейский франк",
"sk": "Guinejský frank",
"sl": "gvinejski frank", "sl": "gvinejski frank",
"sr": "гвинејски франак", "sr": "гвинејски франак",
"sv": "Guinesisk franc", "sv": "Guinesisk franc",
@ -2695,7 +2689,6 @@
"pt": "Franco comoriano", "pt": "Franco comoriano",
"ro": "Franc comorian", "ro": "Franc comorian",
"ru": "Франк Комор", "ru": "Франк Комор",
"sk": "Komorský frank",
"sr": "коморски франак", "sr": "коморски франак",
"sv": "Komoransk franc", "sv": "Komoransk franc",
"tr": "Komor frangı", "tr": "Komor frangı",
@ -2993,7 +2986,6 @@
"pt": "rúpia do Sri Lanka", "pt": "rúpia do Sri Lanka",
"ru": "ланкийская рупия", "ru": "ланкийская рупия",
"si": "ශ්රී ලංකා රුපියල", "si": "ශ්රී ලංකා රුපියල",
"sk": "Srílanská rupia",
"sl": "šrilanška rupija", "sl": "šrilanška rupija",
"sr": "шриланчанска рупија", "sr": "шриланчанска рупија",
"sv": "Lankesisk rupie", "sv": "Lankesisk rupie",
@ -3067,7 +3059,7 @@
"uk": "Лоті" "uk": "Лоті"
}, },
"LYD": { "LYD": {
"ar": "دينار ذهبي", "ar": "دينار ليبي",
"bg": "Либийски динар", "bg": "Либийски динар",
"ca": "dinar libi", "ca": "dinar libi",
"cs": "Libyjský dinár", "cs": "Libyjský dinár",
@ -3129,7 +3121,6 @@
"pt": "Dirham marroquino", "pt": "Dirham marroquino",
"ro": "Dirham marocan", "ro": "Dirham marocan",
"ru": "марокканский дирхам", "ru": "марокканский дирхам",
"sk": "Marocký dirham",
"sl": "maroški dirham", "sl": "maroški dirham",
"sr": "марокански дирхам", "sr": "марокански дирхам",
"sv": "Marockansk dirham", "sv": "Marockansk dirham",
@ -3149,7 +3140,6 @@
"et": "Moldova leu", "et": "Moldova leu",
"fi": "Moldovan leu", "fi": "Moldovan leu",
"fr": "leu moldave", "fr": "leu moldave",
"gl": "leu moldovo",
"he": "לאו מולדובני", "he": "לאו מולדובני",
"hr": "moldavski lej", "hr": "moldavski lej",
"hu": "moldován lej", "hu": "moldován lej",
@ -3381,7 +3371,6 @@
"pl": "Ugija", "pl": "Ugija",
"pt": "Uguia", "pt": "Uguia",
"ru": "Мавританская угия", "ru": "Мавританская угия",
"sk": "Mauritánska ukíjá",
"sr": "мауританска огија", "sr": "мауританска огија",
"sv": "Mauretansk ouguiya", "sv": "Mauretansk ouguiya",
"tr": "Ugiya", "tr": "Ugiya",
@ -3827,7 +3816,6 @@
"sl": "novozelandski dolar", "sl": "novozelandski dolar",
"sr": "новозеландски долар", "sr": "новозеландски долар",
"sv": "Nyzeeländsk dollar", "sv": "Nyzeeländsk dollar",
"th": "ดอลลาร์นิวซีแลนด์",
"tr": "Yeni Zelanda doları", "tr": "Yeni Zelanda doları",
"uk": "новозеландський долар", "uk": "новозеландський долар",
"vi": "Đô la New Zealand" "vi": "Đô la New Zealand"
@ -5398,14 +5386,12 @@
"ja": "スム", "ja": "スム",
"ko": "우즈베키스탄 숨", "ko": "우즈베키스탄 숨",
"lt": "Uzbekijos sumas", "lt": "Uzbekijos sumas",
"lv": "Uzbekistānas soms",
"nl": "Oezbeekse sum", "nl": "Oezbeekse sum",
"pa": "ਉਜ਼ਬੇਕਿਸਤਾਨੀ ਸੋਮ", "pa": "ਉਜ਼ਬੇਕਿਸਤਾਨੀ ਸੋਮ",
"pl": "Sum", "pl": "Sum",
"pt": "som usbeque", "pt": "som usbeque",
"ro": "Som uzbec", "ro": "Som uzbec",
"ru": "узбекский сум", "ru": "узбекский сум",
"sk": "Uzbecký som",
"sr": "узбекистански сом", "sr": "узбекистански сом",
"sv": "Uzbekistansk som", "sv": "Uzbekistansk som",
"tr": "Özbekistan somu", "tr": "Özbekistan somu",
@ -5659,7 +5645,7 @@
"eo": "specialaj rajtoj de enspezo", "eo": "specialaj rajtoj de enspezo",
"es": "Derechos Especiales de Giro", "es": "Derechos Especiales de Giro",
"eu": "igorpen eskubide bereziak", "eu": "igorpen eskubide bereziak",
"fi": "erityisnosto-oikeus", "fi": "Erityisnosto-oikeus",
"fr": "droits de tirage spéciaux", "fr": "droits de tirage spéciaux",
"hr": "Posebna prava vučenja", "hr": "Posebna prava vučenja",
"hu": "különleges lehívási jog", "hu": "különleges lehívási jog",
@ -5669,7 +5655,6 @@
"ko": "특별인출권", "ko": "특별인출권",
"lt": "Specialiosios skolinimosi teisės", "lt": "Specialiosios skolinimosi teisės",
"lv": "Speciālās aizņēmuma tiesības", "lv": "Speciālās aizņēmuma tiesības",
"ms": "hak pengeluaran khas",
"nl": "speciale trekkingsrechten", "nl": "speciale trekkingsrechten",
"oc": "Drechs de tiratge Especials", "oc": "Drechs de tiratge Especials",
"pl": "specjalne prawa ciągnienia", "pl": "specjalne prawa ciągnienia",
@ -5852,7 +5837,7 @@
"lt": "Randas", "lt": "Randas",
"lv": "Dienvidāfrikas rands", "lv": "Dienvidāfrikas rands",
"ml": "സൗത്ത് ആഫ്രിക്കൻ റാൻഡ്", "ml": "സൗത്ത് ആഫ്രിക്കൻ റാൻഡ്",
"ms": "Rand Afrika Selatan", "ms": "Rand",
"nl": "Zuid-Afrikaanse rand", "nl": "Zuid-Afrikaanse rand",
"oc": "Rand sudafrican", "oc": "Rand sudafrican",
"pl": "Rand", "pl": "Rand",
@ -5915,7 +5900,6 @@
"ko": "짐바브웨 골드", "ko": "짐바브웨 골드",
"nl": "Zimbabwe Gold", "nl": "Zimbabwe Gold",
"pl": "Złoto Zimbabwe", "pl": "Złoto Zimbabwe",
"pt": "Ouro do Zimbábue",
"ru": "зимбабвийский золотой", "ru": "зимбабвийский золотой",
"sk": "zimbabwiansky zlatý", "sk": "zimbabwiansky zlatý",
"sl": "zimbabvejski gold", "sl": "zimbabvejski gold",
@ -7833,7 +7817,6 @@
"eritrese nakfa": "ERN", "eritrese nakfa": "ERN",
"erityinen nosto oikeus": "XDR", "erityinen nosto oikeus": "XDR",
"erityiset nosto oikeudet": "XDR", "erityiset nosto oikeudet": "XDR",
"erityisnosto oikeudet": "XDR",
"erityisnosto oikeus": "XDR", "erityisnosto oikeus": "XDR",
"ermeni dramı": "AMD", "ermeni dramı": "AMD",
"ermenistan dramı": "AMD", "ermenistan dramı": "AMD",
@ -8389,8 +8372,6 @@
"haitský gourde": "HTG", "haitský gourde": "HTG",
"haïtiaanse gourde": "HTG", "haïtiaanse gourde": "HTG",
"hak penarikan khusus": "XDR", "hak penarikan khusus": "XDR",
"hak pengeluaran khas": "XDR",
"hak pengeluaran khusus": "XDR",
"halalas": "SAR", "halalas": "SAR",
"hegoafrikar rand": "ZAR", "hegoafrikar rand": "ZAR",
"heller": "CZK", "heller": "CZK",
@ -9134,7 +9115,6 @@
"leu da roménia": "RON", "leu da roménia": "RON",
"leu da romênia": "RON", "leu da romênia": "RON",
"leu de moldàvia": "MDL", "leu de moldàvia": "MDL",
"leu de moldova": "MDL",
"leu moldau": "MDL", "leu moldau": "MDL",
"leu moldave": "MDL", "leu moldave": "MDL",
"leu moldavo": "MDL", "leu moldavo": "MDL",
@ -9142,7 +9122,6 @@
"leu moldofa": "MDL", "leu moldofa": "MDL",
"leu moldova": "MDL", "leu moldova": "MDL",
"leu moldovenesc": "MDL", "leu moldovenesc": "MDL",
"leu moldovo": "MDL",
"leu romanès": "RON", "leu romanès": "RON",
"leu romanés": "RON", "leu romanés": "RON",
"leu romanian": "RON", "leu romanian": "RON",
@ -9458,7 +9437,6 @@
"manat azerbaijandar": "AZN", "manat azerbaijandar": "AZN",
"manat azerbaijanês": "AZN", "manat azerbaijanês": "AZN",
"manat azerbaijano": "AZN", "manat azerbaijano": "AZN",
"manat azerbaitjanés": "AZN",
"manat azerbaiyano": "AZN", "manat azerbaiyano": "AZN",
"manat azerbaïdjanais": "AZN", "manat azerbaïdjanais": "AZN",
"manat azerbejdżański": "AZN", "manat azerbejdżański": "AZN",
@ -9542,7 +9520,6 @@
"mauritanijska ouguja": "MRU", "mauritanijska ouguja": "MRU",
"mauritanijska uguija": "MRU", "mauritanijska uguija": "MRU",
"mauritániai ouguiya": "MRU", "mauritániai ouguiya": "MRU",
"mauritánska ukíjá": "MRU",
"mauritánská ukíjá": "MRU", "mauritánská ukíjá": "MRU",
"mauritānijas oguja": "MRU", "mauritānijas oguja": "MRU",
"mauritiaanse roepee": "MUR", "mauritiaanse roepee": "MUR",
@ -10008,7 +9985,6 @@
"ouguiya mauritana": "MRU", "ouguiya mauritana": "MRU",
"ouguiya mauritanien": "MRU", "ouguiya mauritanien": "MRU",
"ouguiya mawritania": "MRU", "ouguiya mawritania": "MRU",
"ouro do zimbábue": "ZWG",
"örmény dram": "AMD", "örmény dram": "AMD",
"östkaribisk dollar": "XCD", "östkaribisk dollar": "XCD",
"özbekistan somu": "UZS", "özbekistan somu": "UZS",
@ -10820,7 +10796,6 @@
"salomona dolaro": "SBD", "salomona dolaro": "SBD",
"salomondollar": "SBD", "salomondollar": "SBD",
"salomonen dollar": "SBD", "salomonen dollar": "SBD",
"salomoninsaarten dollari": "SBD",
"salomonsaarten dollari": "SBD", "salomonsaarten dollari": "SBD",
"salomonskootočni dolar": "SBD", "salomonskootočni dolar": "SBD",
"salüng": "THB", "salüng": "THB",
@ -11177,7 +11152,6 @@
"srilankansk rupee": "LKR", "srilankansk rupee": "LKR",
"srilankanske rupee": "LKR", "srilankanske rupee": "LKR",
"srí lanka i rúpia": "LKR", "srí lanka i rúpia": "LKR",
"srílanská rupia": "LKR",
"srílanská rupie": "LKR", "srílanská rupie": "LKR",
"srpski dinar": "RSD", "srpski dinar": "RSD",
"ssp": "SSP", "ssp": "SSP",
@ -11441,7 +11415,6 @@
"tengue": "KZT", "tengue": "KZT",
"tengue cazaque": "KZT", "tengue cazaque": "KZT",
"teňňe": "TMT", "teňňe": "TMT",
"tetri": "GEL",
"thai baht": "THB", "thai baht": "THB",
"thai bát": "THB", "thai bát": "THB",
"thailandiar baht": "THB", "thailandiar baht": "THB",
@ -11566,10 +11539,10 @@
"turkisk lira": "TRY", "turkisk lira": "TRY",
"turkiska lira": "TRY", "turkiska lira": "TRY",
"turkmeense manat": "TMT", "turkmeense manat": "TMT",
"turkmen manat": "TMT",
"turkmena manato": "TMT", "turkmena manato": "TMT",
"turkmenistan manat": "TMT", "turkmenistan manat": "TMT",
"turkmenistan new manat": "TMT", "turkmenistan new manat": "TMT",
"turkmenistani manat": "TMT",
"turkmenistani new manat": "TMT", "turkmenistani new manat": "TMT",
"turkmenistanin manat": "TMT", "turkmenistanin manat": "TMT",
"turkmenistansk manat": "TMT", "turkmenistansk manat": "TMT",
@ -11735,7 +11708,6 @@
"uzbekistano sumas": "UZS", "uzbekistano sumas": "UZS",
"uzbekistansk som": "UZS", "uzbekistansk som": "UZS",
"uzbekistanski som": "UZS", "uzbekistanski som": "UZS",
"uzbekistānas soms": "UZS",
"uzs": "UZS", "uzs": "UZS",
"új zélandi dollár": "NZD", "új zélandi dollár": "NZD",
"ürdün dinarı": "JOD", "ürdün dinarı": "JOD",
@ -11889,7 +11861,6 @@
"yuan cinese": "CNY", "yuan cinese": "CNY",
"yuan renmimbi": "CNY", "yuan renmimbi": "CNY",
"yuan renminbi": "CNY", "yuan renminbi": "CNY",
"yuan rmb": "CNY",
"yuans": "CNY", "yuans": "CNY",
"yuán chino": "CNY", "yuán chino": "CNY",
"z$": "ZWL", "z$": "ZWL",
@ -13763,7 +13734,6 @@
"دينار بحريني": "BHD", "دينار بحريني": "BHD",
"دينار تونسي": "TND", "دينار تونسي": "TND",
"دينار جزائري": "DZD", "دينار جزائري": "DZD",
"دينار ذهبي": "LYD",
"دينار سوداني": "SDG", "دينار سوداني": "SDG",
"دينار صربي": "RSD", "دينار صربي": "RSD",
"دينار عراقي": "IQD", "دينار عراقي": "IQD",
@ -14356,7 +14326,6 @@
"USD", "USD",
"TWD" "TWD"
], ],
"ดอลลาร์นิวซีแลนด์": "NZD",
"ดอลลาร์บรูไน": "BND", "ดอลลาร์บรูไน": "BND",
"ดอลลาร์สหรัฐ": "USD", "ดอลลาร์สหรัฐ": "USD",
"ดอลลาร์สิงคโปร์": "SGD", "ดอลลาร์สิงคโปร์": "SGD",
@ -15029,7 +14998,6 @@
"ボツワナ・プラ": "BWP", "ボツワナ・プラ": "BWP",
"ボリバル・ソベラノ": "VES", "ボリバル・ソベラノ": "VES",
"ボリビアーノ": "BOB", "ボリビアーノ": "BOB",
"ポンド・スターリング": "GBP",
"ポーランド・ズウォティ": [ "ポーランド・ズウォティ": [
"PLZ", "PLZ",
"PLN" "PLN"
@ -15095,6 +15063,7 @@
"中華人民共和国の通貨": "CNY", "中華人民共和国の通貨": "CNY",
"中部アフリカcfaフラン": "XAF", "中部アフリカcfaフラン": "XAF",
"人民元": "CNY", "人民元": "CNY",
"人民币": "CNY",
"人民幣": "CNY", "人民幣": "CNY",
"元": [ "元": [
"HKD", "HKD",

File diff suppressed because one or more lines are too long

View File

@ -180,7 +180,7 @@
"es": "es-es", "es": "es-es",
"et": "et-et", "et": "et-et",
"eu": "eu-eu", "eu": "eu-eu",
"fa": "fa-fa", "fa": "prs-prs",
"fi": "fi-fi", "fi": "fi-fi",
"fil": "fil-fil", "fil": "fil-fil",
"fr": "fr-fr", "fr": "fr-fr",
@ -188,12 +188,14 @@
"gd": "gd-gd", "gd": "gd-gd",
"gl": "gl-gl", "gl": "gl-gl",
"gu": "gu-gu", "gu": "gu-gu",
"ha": "ha-latn",
"he": "he-he", "he": "he-he",
"hi": "hi-hi", "hi": "hi-hi",
"hr": "hr-hr", "hr": "hr-hr",
"hu": "hu-hu", "hu": "hu-hu",
"hy": "hy-hy", "hy": "hy-hy",
"id": "id-id", "id": "id-id",
"ig": "ig-ig",
"is": "is-is", "is": "is-is",
"it": "it-it", "it": "it-it",
"ja": "ja-ja", "ja": "ja-ja",
@ -203,6 +205,8 @@
"kn": "kn-kn", "kn": "kn-kn",
"ko": "ko-ko", "ko": "ko-ko",
"kok": "kok-kok", "kok": "kok-kok",
"ku": "ku-arab",
"ky": "ky-ky",
"lb": "lb-lb", "lb": "lb-lb",
"lo": "lo-lo", "lo": "lo-lo",
"lt": "lt-lt", "lt": "lt-lt",
@ -210,6 +214,7 @@
"mi": "mi-mi", "mi": "mi-mi",
"mk": "mk-mk", "mk": "mk-mk",
"ml": "ml-ml", "ml": "ml-ml",
"mn": "mn-cyrl-mn",
"mr": "mr-mr", "mr": "mr-mr",
"ms": "ms-ms", "ms": "ms-ms",
"mt": "mt-mt", "mt": "mt-mt",
@ -217,22 +222,33 @@
"ne": "ne-ne", "ne": "ne-ne",
"nl": "nl-nl", "nl": "nl-nl",
"nn": "nn-nn", "nn": "nn-nn",
"nso": "nso-nso",
"or": "or-or", "or": "or-or",
"pa_Arab": "pa-arab",
"pa_Guru": "pa-guru", "pa_Guru": "pa-guru",
"pl": "pl-pl", "pl": "pl-pl",
"pt": "pt-br", "pt": "pt-br",
"qu": "quz-quz", "qu": "quz-quz",
"quc": "quc-quc",
"ro": "ro-ro", "ro": "ro-ro",
"ru": "ru-ru", "ru": "ru-ru",
"rw": "rw-rw",
"sd_Arab": "sd-arab",
"si": "si-si",
"sk": "sk-sk", "sk": "sk-sk",
"sl": "sl-sl", "sl": "sl-sl",
"sq": "sq-sq", "sq": "sq-sq",
"sr_Cyrl": "sr-cyrl", "sr_Cyrl": "sr-cyrl",
"sr_Latn": "sr-latn", "sr_Latn": "sr-latn",
"sv": "sv-sv", "sv": "sv-sv",
"sw": "sw-sw",
"ta": "ta-ta", "ta": "ta-ta",
"te": "te-te", "te": "te-te",
"tg": "tg-cyrl",
"th": "th-th", "th": "th-th",
"ti": "ti-ti",
"tk": "tk-tk",
"tn": "tn-tn",
"tr": "tr-tr", "tr": "tr-tr",
"tt": "tt-tt", "tt": "tt-tt",
"ug": "ug-ug", "ug": "ug-ug",
@ -240,9 +256,13 @@
"ur": "ur-ur", "ur": "ur-ur",
"uz_Latn": "uz-latn", "uz_Latn": "uz-latn",
"vi": "vi-vi", "vi": "vi-vi",
"wo": "wo-wo",
"xh": "xh-xh",
"yo": "yo-yo",
"zh": "zh-hans", "zh": "zh-hans",
"zh_Hans": "zh-hans", "zh_Hans": "zh-hans",
"zh_Hant": "zh-hant" "zh_Hant": "zh-hant",
"zu": "zu-zu"
}, },
"regions": { "regions": {
"am-ET": "am-et", "am-ET": "am-et",
@ -458,12 +478,14 @@
"kk-KZ": "kk-kz", "kk-KZ": "kk-kz",
"km-KH": "km-kh", "km-KH": "km-kh",
"ko-KR": "ko-kr", "ko-KR": "ko-kr",
"ky-KG": "ky-kg",
"lb-LU": "lb-lu", "lb-LU": "lb-lu",
"lo-LA": "lo-la", "lo-LA": "lo-la",
"lt-LT": "lt-lt", "lt-LT": "lt-lt",
"lv-LV": "lv-lv", "lv-LV": "lv-lv",
"mi-NZ": "mi-nz", "mi-NZ": "mi-nz",
"mk-MK": "mk-mk", "mk-MK": "mk-mk",
"mn-MN": "mn-mn",
"ms-BN": "ms-bn", "ms-BN": "ms-bn",
"ms-MY": "ms-my", "ms-MY": "ms-my",
"ms-SG": "ms-sg", "ms-SG": "ms-sg",
@ -497,6 +519,8 @@
"ru-KZ": "ru-kz", "ru-KZ": "ru-kz",
"ru-RU": "ru-ru", "ru-RU": "ru-ru",
"ru-UA": "ru-ua", "ru-UA": "ru-ua",
"rw-RW": "rw-rw",
"si-LK": "si-lk",
"sk-SK": "sk-sk", "sk-SK": "sk-sk",
"sl-SI": "sl-si", "sl-SI": "sl-si",
"sq-AL": "sq-al", "sq-AL": "sq-al",
@ -505,14 +529,23 @@
"sr-RS": "sr-rs", "sr-RS": "sr-rs",
"sv-FI": "sv-fi", "sv-FI": "sv-fi",
"sv-SE": "sv-se", "sv-SE": "sv-se",
"sw-KE": "sw-ke",
"sw-TZ": "sw-tz",
"sw-UG": "sw-ug",
"ta-LK": "ta-lk", "ta-LK": "ta-lk",
"ta-SG": "ta-sg", "ta-SG": "ta-sg",
"tg-TJ": "tg-tj",
"th-TH": "th-th", "th-TH": "th-th",
"ti-ER": "ti-er",
"tk-TM": "tk-tm",
"tn-BW": "tn-bw",
"tr-CY": "tr-cy", "tr-CY": "tr-cy",
"tr-TR": "tr-tr", "tr-TR": "tr-tr",
"uk-UA": "uk-ua", "uk-UA": "uk-ua",
"ur-PK": "ur-pk", "ur-PK": "ur-pk",
"vi-VN": "vi-vn", "vi-VN": "vi-vn",
"wo-SN": "wo-sn",
"yo-NG": "yo-ng",
"zh-CN": "zh-cn", "zh-CN": "zh-cn",
"zh-HK": "en-hk", "zh-HK": "en-hk",
"zh-MO": "zh-mo", "zh-MO": "zh-mo",
@ -545,7 +578,7 @@
"es": "es-es", "es": "es-es",
"et": "et-et", "et": "et-et",
"eu": "eu-eu", "eu": "eu-eu",
"fa": "fa-fa", "fa": "prs-prs",
"fi": "fi-fi", "fi": "fi-fi",
"fil": "fil-fil", "fil": "fil-fil",
"fr": "fr-fr", "fr": "fr-fr",
@ -553,12 +586,14 @@
"gd": "gd-gd", "gd": "gd-gd",
"gl": "gl-gl", "gl": "gl-gl",
"gu": "gu-gu", "gu": "gu-gu",
"ha": "ha-latn",
"he": "he-he", "he": "he-he",
"hi": "hi-hi", "hi": "hi-hi",
"hr": "hr-hr", "hr": "hr-hr",
"hu": "hu-hu", "hu": "hu-hu",
"hy": "hy-hy", "hy": "hy-hy",
"id": "id-id", "id": "id-id",
"ig": "ig-ig",
"is": "is-is", "is": "is-is",
"it": "it-it", "it": "it-it",
"ja": "ja-ja", "ja": "ja-ja",
@ -568,6 +603,8 @@
"kn": "kn-kn", "kn": "kn-kn",
"ko": "ko-ko", "ko": "ko-ko",
"kok": "kok-kok", "kok": "kok-kok",
"ku": "ku-arab",
"ky": "ky-ky",
"lb": "lb-lb", "lb": "lb-lb",
"lo": "lo-lo", "lo": "lo-lo",
"lt": "lt-lt", "lt": "lt-lt",
@ -575,6 +612,7 @@
"mi": "mi-mi", "mi": "mi-mi",
"mk": "mk-mk", "mk": "mk-mk",
"ml": "ml-ml", "ml": "ml-ml",
"mn": "mn-cyrl-mn",
"mr": "mr-mr", "mr": "mr-mr",
"ms": "ms-ms", "ms": "ms-ms",
"mt": "mt-mt", "mt": "mt-mt",
@ -582,22 +620,33 @@
"ne": "ne-ne", "ne": "ne-ne",
"nl": "nl-nl", "nl": "nl-nl",
"nn": "nn-nn", "nn": "nn-nn",
"nso": "nso-nso",
"or": "or-or", "or": "or-or",
"pa_Arab": "pa-arab",
"pa_Guru": "pa-guru", "pa_Guru": "pa-guru",
"pl": "pl-pl", "pl": "pl-pl",
"pt": "pt-br", "pt": "pt-br",
"qu": "quz-quz", "qu": "quz-quz",
"quc": "quc-quc",
"ro": "ro-ro", "ro": "ro-ro",
"ru": "ru-ru", "ru": "ru-ru",
"rw": "rw-rw",
"sd_Arab": "sd-arab",
"si": "si-si",
"sk": "sk-sk", "sk": "sk-sk",
"sl": "sl-sl", "sl": "sl-sl",
"sq": "sq-sq", "sq": "sq-sq",
"sr_Cyrl": "sr-cyrl", "sr_Cyrl": "sr-cyrl",
"sr_Latn": "sr-latn", "sr_Latn": "sr-latn",
"sv": "sv-sv", "sv": "sv-sv",
"sw": "sw-sw",
"ta": "ta-ta", "ta": "ta-ta",
"te": "te-te", "te": "te-te",
"tg": "tg-cyrl",
"th": "th-th", "th": "th-th",
"ti": "ti-ti",
"tk": "tk-tk",
"tn": "tn-tn",
"tr": "tr-tr", "tr": "tr-tr",
"tt": "tt-tt", "tt": "tt-tt",
"ug": "ug-ug", "ug": "ug-ug",
@ -605,9 +654,13 @@
"ur": "ur-ur", "ur": "ur-ur",
"uz_Latn": "uz-latn", "uz_Latn": "uz-latn",
"vi": "vi-vi", "vi": "vi-vi",
"wo": "wo-wo",
"xh": "xh-xh",
"yo": "yo-yo",
"zh": "zh-hans", "zh": "zh-hans",
"zh_Hans": "zh-hans", "zh_Hans": "zh-hans",
"zh_Hant": "zh-hant" "zh_Hant": "zh-hant",
"zu": "zu-zu"
}, },
"regions": { "regions": {
"am-ET": "am-et", "am-ET": "am-et",
@ -823,12 +876,14 @@
"kk-KZ": "kk-kz", "kk-KZ": "kk-kz",
"km-KH": "km-kh", "km-KH": "km-kh",
"ko-KR": "ko-kr", "ko-KR": "ko-kr",
"ky-KG": "ky-kg",
"lb-LU": "lb-lu", "lb-LU": "lb-lu",
"lo-LA": "lo-la", "lo-LA": "lo-la",
"lt-LT": "lt-lt", "lt-LT": "lt-lt",
"lv-LV": "lv-lv", "lv-LV": "lv-lv",
"mi-NZ": "mi-nz", "mi-NZ": "mi-nz",
"mk-MK": "mk-mk", "mk-MK": "mk-mk",
"mn-MN": "mn-mn",
"ms-BN": "ms-bn", "ms-BN": "ms-bn",
"ms-MY": "ms-my", "ms-MY": "ms-my",
"ms-SG": "ms-sg", "ms-SG": "ms-sg",
@ -862,6 +917,8 @@
"ru-KZ": "ru-kz", "ru-KZ": "ru-kz",
"ru-RU": "ru-ru", "ru-RU": "ru-ru",
"ru-UA": "ru-ua", "ru-UA": "ru-ua",
"rw-RW": "rw-rw",
"si-LK": "si-lk",
"sk-SK": "sk-sk", "sk-SK": "sk-sk",
"sl-SI": "sl-si", "sl-SI": "sl-si",
"sq-AL": "sq-al", "sq-AL": "sq-al",
@ -870,14 +927,23 @@
"sr-RS": "sr-rs", "sr-RS": "sr-rs",
"sv-FI": "sv-fi", "sv-FI": "sv-fi",
"sv-SE": "sv-se", "sv-SE": "sv-se",
"sw-KE": "sw-ke",
"sw-TZ": "sw-tz",
"sw-UG": "sw-ug",
"ta-LK": "ta-lk", "ta-LK": "ta-lk",
"ta-SG": "ta-sg", "ta-SG": "ta-sg",
"tg-TJ": "tg-tj",
"th-TH": "th-th", "th-TH": "th-th",
"ti-ER": "ti-er",
"tk-TM": "tk-tm",
"tn-BW": "tn-bw",
"tr-CY": "tr-cy", "tr-CY": "tr-cy",
"tr-TR": "tr-tr", "tr-TR": "tr-tr",
"uk-UA": "uk-ua", "uk-UA": "uk-ua",
"ur-PK": "ur-pk", "ur-PK": "ur-pk",
"vi-VN": "vi-vn", "vi-VN": "vi-vn",
"wo-SN": "wo-sn",
"yo-NG": "yo-ng",
"zh-CN": "zh-cn", "zh-CN": "zh-cn",
"zh-HK": "en-hk", "zh-HK": "en-hk",
"zh-MO": "zh-mo", "zh-MO": "zh-mo",
@ -910,7 +976,7 @@
"es": "es-es", "es": "es-es",
"et": "et-et", "et": "et-et",
"eu": "eu-eu", "eu": "eu-eu",
"fa": "fa-fa", "fa": "prs-prs",
"fi": "fi-fi", "fi": "fi-fi",
"fil": "fil-fil", "fil": "fil-fil",
"fr": "fr-fr", "fr": "fr-fr",
@ -918,12 +984,14 @@
"gd": "gd-gd", "gd": "gd-gd",
"gl": "gl-gl", "gl": "gl-gl",
"gu": "gu-gu", "gu": "gu-gu",
"ha": "ha-latn",
"he": "he-he", "he": "he-he",
"hi": "hi-hi", "hi": "hi-hi",
"hr": "hr-hr", "hr": "hr-hr",
"hu": "hu-hu", "hu": "hu-hu",
"hy": "hy-hy", "hy": "hy-hy",
"id": "id-id", "id": "id-id",
"ig": "ig-ig",
"is": "is-is", "is": "is-is",
"it": "it-it", "it": "it-it",
"ja": "ja-ja", "ja": "ja-ja",
@ -933,6 +1001,8 @@
"kn": "kn-kn", "kn": "kn-kn",
"ko": "ko-ko", "ko": "ko-ko",
"kok": "kok-kok", "kok": "kok-kok",
"ku": "ku-arab",
"ky": "ky-ky",
"lb": "lb-lb", "lb": "lb-lb",
"lo": "lo-lo", "lo": "lo-lo",
"lt": "lt-lt", "lt": "lt-lt",
@ -940,6 +1010,7 @@
"mi": "mi-mi", "mi": "mi-mi",
"mk": "mk-mk", "mk": "mk-mk",
"ml": "ml-ml", "ml": "ml-ml",
"mn": "mn-cyrl-mn",
"mr": "mr-mr", "mr": "mr-mr",
"ms": "ms-ms", "ms": "ms-ms",
"mt": "mt-mt", "mt": "mt-mt",
@ -947,22 +1018,33 @@
"ne": "ne-ne", "ne": "ne-ne",
"nl": "nl-nl", "nl": "nl-nl",
"nn": "nn-nn", "nn": "nn-nn",
"nso": "nso-nso",
"or": "or-or", "or": "or-or",
"pa_Arab": "pa-arab",
"pa_Guru": "pa-guru", "pa_Guru": "pa-guru",
"pl": "pl-pl", "pl": "pl-pl",
"pt": "pt-br", "pt": "pt-br",
"qu": "quz-quz", "qu": "quz-quz",
"quc": "quc-quc",
"ro": "ro-ro", "ro": "ro-ro",
"ru": "ru-ru", "ru": "ru-ru",
"rw": "rw-rw",
"sd_Arab": "sd-arab",
"si": "si-si",
"sk": "sk-sk", "sk": "sk-sk",
"sl": "sl-sl", "sl": "sl-sl",
"sq": "sq-sq", "sq": "sq-sq",
"sr_Cyrl": "sr-cyrl", "sr_Cyrl": "sr-cyrl",
"sr_Latn": "sr-latn", "sr_Latn": "sr-latn",
"sv": "sv-sv", "sv": "sv-sv",
"sw": "sw-sw",
"ta": "ta-ta", "ta": "ta-ta",
"te": "te-te", "te": "te-te",
"tg": "tg-cyrl",
"th": "th-th", "th": "th-th",
"ti": "ti-ti",
"tk": "tk-tk",
"tn": "tn-tn",
"tr": "tr-tr", "tr": "tr-tr",
"tt": "tt-tt", "tt": "tt-tt",
"ug": "ug-ug", "ug": "ug-ug",
@ -970,9 +1052,13 @@
"ur": "ur-ur", "ur": "ur-ur",
"uz_Latn": "uz-latn", "uz_Latn": "uz-latn",
"vi": "vi-vi", "vi": "vi-vi",
"wo": "wo-wo",
"xh": "xh-xh",
"yo": "yo-yo",
"zh": "zh-hans", "zh": "zh-hans",
"zh_Hans": "zh-hans", "zh_Hans": "zh-hans",
"zh_Hant": "zh-hant" "zh_Hant": "zh-hant",
"zu": "zu-zu"
}, },
"regions": { "regions": {
"am-ET": "am-et", "am-ET": "am-et",
@ -1188,12 +1274,14 @@
"kk-KZ": "kk-kz", "kk-KZ": "kk-kz",
"km-KH": "km-kh", "km-KH": "km-kh",
"ko-KR": "ko-kr", "ko-KR": "ko-kr",
"ky-KG": "ky-kg",
"lb-LU": "lb-lu", "lb-LU": "lb-lu",
"lo-LA": "lo-la", "lo-LA": "lo-la",
"lt-LT": "lt-lt", "lt-LT": "lt-lt",
"lv-LV": "lv-lv", "lv-LV": "lv-lv",
"mi-NZ": "mi-nz", "mi-NZ": "mi-nz",
"mk-MK": "mk-mk", "mk-MK": "mk-mk",
"mn-MN": "mn-mn",
"ms-BN": "ms-bn", "ms-BN": "ms-bn",
"ms-MY": "ms-my", "ms-MY": "ms-my",
"ms-SG": "ms-sg", "ms-SG": "ms-sg",
@ -1227,6 +1315,8 @@
"ru-KZ": "ru-kz", "ru-KZ": "ru-kz",
"ru-RU": "ru-ru", "ru-RU": "ru-ru",
"ru-UA": "ru-ua", "ru-UA": "ru-ua",
"rw-RW": "rw-rw",
"si-LK": "si-lk",
"sk-SK": "sk-sk", "sk-SK": "sk-sk",
"sl-SI": "sl-si", "sl-SI": "sl-si",
"sq-AL": "sq-al", "sq-AL": "sq-al",
@ -1235,14 +1325,23 @@
"sr-RS": "sr-rs", "sr-RS": "sr-rs",
"sv-FI": "sv-fi", "sv-FI": "sv-fi",
"sv-SE": "sv-se", "sv-SE": "sv-se",
"sw-KE": "sw-ke",
"sw-TZ": "sw-tz",
"sw-UG": "sw-ug",
"ta-LK": "ta-lk", "ta-LK": "ta-lk",
"ta-SG": "ta-sg", "ta-SG": "ta-sg",
"tg-TJ": "tg-tj",
"th-TH": "th-th", "th-TH": "th-th",
"ti-ER": "ti-er",
"tk-TM": "tk-tm",
"tn-BW": "tn-bw",
"tr-CY": "tr-cy", "tr-CY": "tr-cy",
"tr-TR": "tr-tr", "tr-TR": "tr-tr",
"uk-UA": "uk-ua", "uk-UA": "uk-ua",
"ur-PK": "ur-pk", "ur-PK": "ur-pk",
"vi-VN": "vi-vn", "vi-VN": "vi-vn",
"wo-SN": "wo-sn",
"yo-NG": "yo-ng",
"zh-CN": "en-hk", "zh-CN": "en-hk",
"zh-HK": "en-hk", "zh-HK": "en-hk",
"zh-MO": "zh-mo", "zh-MO": "zh-mo",
@ -1275,7 +1374,7 @@
"es": "es-es", "es": "es-es",
"et": "et-et", "et": "et-et",
"eu": "eu-eu", "eu": "eu-eu",
"fa": "fa-fa", "fa": "prs-prs",
"fi": "fi-fi", "fi": "fi-fi",
"fil": "fil-fil", "fil": "fil-fil",
"fr": "fr-fr", "fr": "fr-fr",
@ -1283,12 +1382,14 @@
"gd": "gd-gd", "gd": "gd-gd",
"gl": "gl-gl", "gl": "gl-gl",
"gu": "gu-gu", "gu": "gu-gu",
"ha": "ha-latn",
"he": "he-he", "he": "he-he",
"hi": "hi-hi", "hi": "hi-hi",
"hr": "hr-hr", "hr": "hr-hr",
"hu": "hu-hu", "hu": "hu-hu",
"hy": "hy-hy", "hy": "hy-hy",
"id": "id-id", "id": "id-id",
"ig": "ig-ig",
"is": "is-is", "is": "is-is",
"it": "it-it", "it": "it-it",
"ja": "ja-ja", "ja": "ja-ja",
@ -1298,6 +1399,8 @@
"kn": "kn-kn", "kn": "kn-kn",
"ko": "ko-ko", "ko": "ko-ko",
"kok": "kok-kok", "kok": "kok-kok",
"ku": "ku-arab",
"ky": "ky-ky",
"lb": "lb-lb", "lb": "lb-lb",
"lo": "lo-lo", "lo": "lo-lo",
"lt": "lt-lt", "lt": "lt-lt",
@ -1305,6 +1408,7 @@
"mi": "mi-mi", "mi": "mi-mi",
"mk": "mk-mk", "mk": "mk-mk",
"ml": "ml-ml", "ml": "ml-ml",
"mn": "mn-cyrl-mn",
"mr": "mr-mr", "mr": "mr-mr",
"ms": "ms-ms", "ms": "ms-ms",
"mt": "mt-mt", "mt": "mt-mt",
@ -1312,22 +1416,33 @@
"ne": "ne-ne", "ne": "ne-ne",
"nl": "nl-nl", "nl": "nl-nl",
"nn": "nn-nn", "nn": "nn-nn",
"nso": "nso-nso",
"or": "or-or", "or": "or-or",
"pa_Arab": "pa-arab",
"pa_Guru": "pa-guru", "pa_Guru": "pa-guru",
"pl": "pl-pl", "pl": "pl-pl",
"pt": "pt-br", "pt": "pt-br",
"qu": "quz-quz", "qu": "quz-quz",
"quc": "quc-quc",
"ro": "ro-ro", "ro": "ro-ro",
"ru": "ru-ru", "ru": "ru-ru",
"rw": "rw-rw",
"sd_Arab": "sd-arab",
"si": "si-si",
"sk": "sk-sk", "sk": "sk-sk",
"sl": "sl-sl", "sl": "sl-sl",
"sq": "sq-sq", "sq": "sq-sq",
"sr_Cyrl": "sr-cyrl", "sr_Cyrl": "sr-cyrl",
"sr_Latn": "sr-latn", "sr_Latn": "sr-latn",
"sv": "sv-sv", "sv": "sv-sv",
"sw": "sw-sw",
"ta": "ta-ta", "ta": "ta-ta",
"te": "te-te", "te": "te-te",
"tg": "tg-cyrl",
"th": "th-th", "th": "th-th",
"ti": "ti-ti",
"tk": "tk-tk",
"tn": "tn-tn",
"tr": "tr-tr", "tr": "tr-tr",
"tt": "tt-tt", "tt": "tt-tt",
"ug": "ug-ug", "ug": "ug-ug",
@ -1335,9 +1450,13 @@
"ur": "ur-ur", "ur": "ur-ur",
"uz_Latn": "uz-latn", "uz_Latn": "uz-latn",
"vi": "vi-vi", "vi": "vi-vi",
"wo": "wo-wo",
"xh": "xh-xh",
"yo": "yo-yo",
"zh": "zh-hans", "zh": "zh-hans",
"zh_Hans": "zh-hans", "zh_Hans": "zh-hans",
"zh_Hant": "zh-hant" "zh_Hant": "zh-hant",
"zu": "zu-zu"
}, },
"regions": { "regions": {
"am-ET": "am-et", "am-ET": "am-et",
@ -1553,12 +1672,14 @@
"kk-KZ": "kk-kz", "kk-KZ": "kk-kz",
"km-KH": "km-kh", "km-KH": "km-kh",
"ko-KR": "ko-kr", "ko-KR": "ko-kr",
"ky-KG": "ky-kg",
"lb-LU": "lb-lu", "lb-LU": "lb-lu",
"lo-LA": "lo-la", "lo-LA": "lo-la",
"lt-LT": "lt-lt", "lt-LT": "lt-lt",
"lv-LV": "lv-lv", "lv-LV": "lv-lv",
"mi-NZ": "mi-nz", "mi-NZ": "mi-nz",
"mk-MK": "mk-mk", "mk-MK": "mk-mk",
"mn-MN": "mn-mn",
"ms-BN": "ms-bn", "ms-BN": "ms-bn",
"ms-MY": "ms-my", "ms-MY": "ms-my",
"ms-SG": "ms-sg", "ms-SG": "ms-sg",
@ -1592,6 +1713,8 @@
"ru-KZ": "ru-kz", "ru-KZ": "ru-kz",
"ru-RU": "ru-ru", "ru-RU": "ru-ru",
"ru-UA": "ru-ua", "ru-UA": "ru-ua",
"rw-RW": "rw-rw",
"si-LK": "si-lk",
"sk-SK": "sk-sk", "sk-SK": "sk-sk",
"sl-SI": "sl-si", "sl-SI": "sl-si",
"sq-AL": "sq-al", "sq-AL": "sq-al",
@ -1600,14 +1723,23 @@
"sr-RS": "sr-rs", "sr-RS": "sr-rs",
"sv-FI": "sv-fi", "sv-FI": "sv-fi",
"sv-SE": "sv-se", "sv-SE": "sv-se",
"sw-KE": "sw-ke",
"sw-TZ": "sw-tz",
"sw-UG": "sw-ug",
"ta-LK": "ta-lk", "ta-LK": "ta-lk",
"ta-SG": "ta-sg", "ta-SG": "ta-sg",
"tg-TJ": "tg-tj",
"th-TH": "th-th", "th-TH": "th-th",
"ti-ER": "ti-er",
"tk-TM": "tk-tm",
"tn-BW": "tn-bw",
"tr-CY": "tr-cy", "tr-CY": "tr-cy",
"tr-TR": "tr-tr", "tr-TR": "tr-tr",
"uk-UA": "uk-ua", "uk-UA": "uk-ua",
"ur-PK": "ur-pk", "ur-PK": "ur-pk",
"vi-VN": "vi-vn", "vi-VN": "vi-vn",
"wo-SN": "wo-sn",
"yo-NG": "yo-ng",
"zh-CN": "zh-cn", "zh-CN": "zh-cn",
"zh-HK": "en-hk", "zh-HK": "en-hk",
"zh-MO": "zh-mo", "zh-MO": "zh-mo",
@ -1627,7 +1759,6 @@
"el": "el", "el": "el",
"en-CA": "en-ca", "en-CA": "en-ca",
"en-GB": "en-gb", "en-GB": "en-gb",
"en-IN": "en-in",
"en-US": "en-us", "en-US": "en-us",
"es": "es", "es": "es",
"et": "et", "et": "et",
@ -1638,6 +1769,7 @@
"hu": "hu", "hu": "hu",
"id": "id", "id": "id",
"it": "it", "it": "it",
"ja-JP": "ja-jp",
"ko": "ko", "ko": "ko",
"lt": "lt", "lt": "lt",
"lv": "lv", "lv": "lv",
@ -1728,7 +1860,6 @@
"el": "el", "el": "el",
"en-CA": "en-ca", "en-CA": "en-ca",
"en-GB": "en-gb", "en-GB": "en-gb",
"en-IN": "en-in",
"en-US": "en-us", "en-US": "en-us",
"es": "es", "es": "es",
"et": "et", "et": "et",
@ -1739,6 +1870,7 @@
"hu": "hu", "hu": "hu",
"id": "id", "id": "id",
"it": "it", "it": "it",
"ja-JP": "ja-jp",
"ko": "ko", "ko": "ko",
"lt": "lt", "lt": "lt",
"lv": "lv", "lv": "lv",
@ -1829,7 +1961,6 @@
"el": "el", "el": "el",
"en-CA": "en-ca", "en-CA": "en-ca",
"en-GB": "en-gb", "en-GB": "en-gb",
"en-IN": "en-in",
"en-US": "en-us", "en-US": "en-us",
"es": "es", "es": "es",
"et": "et", "et": "et",
@ -1840,6 +1971,7 @@
"hu": "hu", "hu": "hu",
"id": "id", "id": "id",
"it": "it", "it": "it",
"ja-JP": "ja-jp",
"ko": "ko", "ko": "ko",
"lt": "lt", "lt": "lt",
"lv": "lv", "lv": "lv",
@ -1930,7 +2062,6 @@
"el": "el", "el": "el",
"en-CA": "en-ca", "en-CA": "en-ca",
"en-GB": "en-gb", "en-GB": "en-gb",
"en-IN": "en-in",
"en-US": "en-us", "en-US": "en-us",
"es": "es", "es": "es",
"et": "et", "et": "et",
@ -1941,6 +2072,7 @@
"hu": "hu", "hu": "hu",
"id": "id", "id": "id",
"it": "it", "it": "it",
"ja-JP": "ja-jp",
"ko": "ko", "ko": "ko",
"lt": "lt", "lt": "lt",
"lv": "lv", "lv": "lv",
@ -7477,7 +7609,6 @@
"ami", "ami",
"an", "an",
"ang", "ang",
"ann",
"anp", "anp",
"ar", "ar",
"arc", "arc",
@ -7596,7 +7727,6 @@
"hy", "hy",
"hyw", "hyw",
"ia", "ia",
"iba",
"id", "id",
"ie", "ie",
"ig", "ig",
@ -7685,7 +7815,6 @@
"no", "no",
"nov", "nov",
"nqo", "nqo",
"nr",
"nrm", "nrm",
"nso", "nso",
"nv", "nv",
@ -7719,7 +7848,6 @@
"ro", "ro",
"roa-rup", "roa-rup",
"roa-tara", "roa-tara",
"rsk",
"ru", "ru",
"rue", "rue",
"rw", "rw",
@ -7758,7 +7886,6 @@
"ta", "ta",
"tay", "tay",
"tcy", "tcy",
"tdd",
"te", "te",
"tet", "tet",
"tg", "tg",

View File

@ -5,7 +5,7 @@
], ],
"ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}", "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}",
"versions": [ "versions": [
"132.0", "130.0",
"131.0" "129.0"
] ]
} }

View File

@ -832,7 +832,7 @@
"Q104907390": { "Q104907390": {
"si_name": "Q182429", "si_name": "Q182429",
"symbol": "nmi/h", "symbol": "nmi/h",
"to_si_factor": 0.5144444444444445 "to_si_factor": 0.514444
}, },
"Q104907398": { "Q104907398": {
"si_name": "Q215571", "si_name": "Q215571",
@ -1336,7 +1336,7 @@
}, },
"Q106636307": { "Q106636307": {
"si_name": "Q80842107", "si_name": "Q80842107",
"symbol": "μS/cm-1", "symbol": "μS/cm",
"to_si_factor": 0.0001 "to_si_factor": 0.0001
}, },
"Q106639711": { "Q106639711": {
@ -4142,7 +4142,7 @@
"Q23931103": { "Q23931103": {
"si_name": "Q25343", "si_name": "Q25343",
"symbol": "nmi²", "symbol": "nmi²",
"to_si_factor": 3429904.0 "to_si_factor": 3434290.0120544
}, },
"Q239830": { "Q239830": {
"si_name": "Q3395194", "si_name": "Q3395194",

View File

@ -34,10 +34,10 @@ Implementations
""" """
from typing import List, Dict, Any, Optional from typing import List, Dict, Any, Optional
from urllib.parse import urlencode from urllib.parse import quote
from lxml import html from lxml import html
from searx.utils import extract_text, eval_xpath, eval_xpath_getindex, eval_xpath_list from searx.utils import extract_text, eval_xpath, eval_xpath_list
from searx.enginelib.traits import EngineTraits from searx.enginelib.traits import EngineTraits
from searx.data import ENGINE_TRAITS from searx.data import ENGINE_TRAITS
@ -53,7 +53,7 @@ about: Dict[str, Any] = {
# engine dependent config # engine dependent config
categories: List[str] = ["files"] categories: List[str] = ["files"]
paging: bool = True paging: bool = False
# search-url # search-url
base_url: str = "https://annas-archive.org" base_url: str = "https://annas-archive.org"
@ -99,18 +99,9 @@ def init(engine_settings=None): # pylint: disable=unused-argument
def request(query, params: Dict[str, Any]) -> Dict[str, Any]: def request(query, params: Dict[str, Any]) -> Dict[str, Any]:
q = quote(query)
lang = traits.get_language(params["language"], traits.all_locale) # type: ignore lang = traits.get_language(params["language"], traits.all_locale) # type: ignore
args = { params["url"] = base_url + f"/search?lang={lang or ''}&content={aa_content}&ext={aa_ext}&sort={aa_sort}&q={q}"
'lang': lang,
'content': aa_content,
'ext': aa_ext,
'sort': aa_sort,
'q': query,
'page': params['pageno'],
}
# filter out None and empty values
filtered_args = dict((k, v) for k, v in args.items() if v)
params["url"] = f"{base_url}/search?{urlencode(filtered_args)}"
return params return params
@ -137,12 +128,12 @@ def response(resp) -> List[Dict[str, Optional[str]]]:
def _get_result(item): def _get_result(item):
return { return {
'template': 'paper.html', 'template': 'paper.html',
'url': base_url + extract_text(eval_xpath_getindex(item, './@href', 0)), 'url': base_url + item.xpath('./@href')[0],
'title': extract_text(eval_xpath(item, './/h3/text()[1]')), 'title': extract_text(eval_xpath(item, './/h3/text()[1]')),
'publisher': extract_text(eval_xpath(item, './/div[contains(@class, "text-sm")]')), 'publisher': extract_text(eval_xpath(item, './/div[contains(@class, "text-sm")]')),
'authors': [extract_text(eval_xpath(item, './/div[contains(@class, "italic")]'))], 'authors': [extract_text(eval_xpath(item, './/div[contains(@class, "italic")]'))],
'content': extract_text(eval_xpath(item, './/div[contains(@class, "text-xs")]')), 'content': extract_text(eval_xpath(item, './/div[contains(@class, "text-xs")]')),
'thumbnail': extract_text(eval_xpath_getindex(item, './/img/@src', 0, default=None), allow_none=True), 'thumbnail': item.xpath('.//img/@src')[0],
} }

View File

@ -18,6 +18,7 @@ from searx import (
) )
from searx.utils import ( from searx.utils import (
eval_xpath, eval_xpath,
eval_xpath_getindex,
extract_text, extract_text,
) )
from searx.network import get # see https://github.com/searxng/searxng/issues/762 from searx.network import get # see https://github.com/searxng/searxng/issues/762
@ -53,33 +54,31 @@ paging = True
time_range_support = True time_range_support = True
safesearch = True # user can't select but the results are filtered safesearch = True # user can't select but the results are filtered
url = "https://html.duckduckgo.com/html" url = 'https://lite.duckduckgo.com/lite/'
# url_ping = 'https://duckduckgo.com/t/sl_l'
time_range_dict = {'day': 'd', 'week': 'w', 'month': 'm', 'year': 'y'} time_range_dict = {'day': 'd', 'week': 'w', 'month': 'm', 'year': 'y'}
form_data = {'v': 'l', 'api': 'd.js', 'o': 'json'} form_data = {'v': 'l', 'api': 'd.js', 'o': 'json'}
__CACHE = []
def _cache_key(data: dict): def cache_vqd(query, value):
return 'SearXNG_ddg_web_vqd' + redislib.secret_hash(f"{data['q']}//{data['kl']}")
def cache_vqd(data: dict, value):
"""Caches a ``vqd`` value from a query.""" """Caches a ``vqd`` value from a query."""
c = redisdb.client() c = redisdb.client()
if c: if c:
logger.debug("cache vqd value: %s", value) logger.debug("cache vqd value: %s", value)
c.set(_cache_key(data), value, ex=600) key = 'SearXNG_ddg_web_vqd' + redislib.secret_hash(query)
c.set(key, value, ex=600)
else:
logger.debug("MEM cache vqd value: %s", value)
if len(__CACHE) > 100: # cache vqd from last 100 queries
__CACHE.pop(0)
__CACHE.append((_cache_key(data), value))
def get_vqd(data): def get_vqd(query):
"""Returns the ``vqd`` that fits to the *query* (``data`` from HTTP POST). """Returns the ``vqd`` that fits to the *query*. If there is no ``vqd`` cached
(:py:obj:`cache_vqd`) the query is sent to DDG to get a vqd value from the
response.
.. hint::
If an empty string is returned there are no results for the ``query`` and
therefore no ``vqd`` value.
DDG's bot detection is sensitive to the ``vqd`` value. For some search terms DDG's bot detection is sensitive to the ``vqd`` value. For some search terms
(such as extremely long search terms that are often sent by bots), no ``vqd`` (such as extremely long search terms that are often sent by bots), no ``vqd``
@ -107,23 +106,28 @@ def get_vqd(data):
- DuckDuckGo News: ``https://duckduckgo.com/news.js??q=...&vqd=...`` - DuckDuckGo News: ``https://duckduckgo.com/news.js??q=...&vqd=...``
""" """
key = _cache_key(data)
value = None value = None
c = redisdb.client() c = redisdb.client()
if c: if c:
key = 'SearXNG_ddg_web_vqd' + redislib.secret_hash(query)
value = c.get(key) value = c.get(key)
if value or value == b'': if value or value == b'':
value = value.decode('utf-8') value = value.decode('utf-8')
logger.debug("re-use CACHED vqd value: %s", value) logger.debug("re-use cached vqd value: %s", value)
return value return value
else: query_url = 'https://duckduckgo.com/?' + urlencode({'q': query})
for k, value in __CACHE: res = get(query_url)
if k == key: doc = lxml.html.fromstring(res.text)
logger.debug("MEM re-use CACHED vqd value: %s", value) for script in doc.xpath("//script[@type='text/javascript']"):
return value script = script.text
return None if 'vqd="' in script:
value = extr(script, 'vqd="', '"')
break
logger.debug("new vqd value: '%s'", value)
if value is not None:
cache_vqd(query, value)
return value
def get_ddg_lang(eng_traits: EngineTraits, sxng_locale, default='en_US'): def get_ddg_lang(eng_traits: EngineTraits, sxng_locale, default='en_US'):
@ -151,10 +155,9 @@ def get_ddg_lang(eng_traits: EngineTraits, sxng_locale, default='en_US'):
.. hint:: .. hint::
`DDG-lite <https://lite.duckduckgo.com/lite>`__ and the *no Javascript* `DDG-lite <https://lite.duckduckgo.com/lite>`__ does not offer a language
page https://html.duckduckgo.com/html do not offer a language selection selection to the user, only a region can be selected by the user
to the user, only a region can be selected by the user (``eng_region`` (``eng_region`` from the example above). DDG-lite stores the selected
from the example above). DDG-lite and *no Javascript* store the selected
region in a cookie:: region in a cookie::
params['cookies']['kl'] = eng_region # 'ar-es' params['cookies']['kl'] = eng_region # 'ar-es'
@ -238,25 +241,10 @@ def request(query, params):
query = quote_ddg_bangs(query) query = quote_ddg_bangs(query)
if len(query) >= 500: # request needs a vqd argument
# DDG does not accept queries with more than 499 chars vqd = get_vqd(query)
params["url"] = None
return
# Advanced search syntax ends in CAPTCHA
# https://duckduckgo.com/duckduckgo-help-pages/results/syntax/
query = [
x.removeprefix("site:").removeprefix("intitle:").removeprefix("inurl:").removeprefix("filetype:")
for x in query.split()
]
eng_region = traits.get_region(params['searxng_locale'], traits.all_locale) eng_region = traits.get_region(params['searxng_locale'], traits.all_locale)
if eng_region == "wt-wt":
# https://html.duckduckgo.com/html sets an empty value for "all".
eng_region = ""
params['data']['kl'] = eng_region
params['cookies']['kl'] = eng_region
# eng_lang = get_ddg_lang(traits, params['searxng_locale']) # eng_lang = get_ddg_lang(traits, params['searxng_locale'])
params['url'] = url params['url'] = url
@ -264,82 +252,54 @@ def request(query, params):
params['data']['q'] = query params['data']['q'] = query
# The API is not documented, so we do some reverse engineering and emulate # The API is not documented, so we do some reverse engineering and emulate
# what https://html.duckduckgo.com/html does when you press "next Page" link # what https://lite.duckduckgo.com/lite/ does when you press "next Page"
# again and again .. # link again and again ..
params['headers']['Content-Type'] = 'application/x-www-form-urlencoded' params['headers']['Content-Type'] = 'application/x-www-form-urlencoded'
params['data']['vqd'] = vqd
params['headers']['Sec-Fetch-Dest'] = "document" # initial page does not have an offset
params['headers']['Sec-Fetch-Mode'] = "navigate" # at least this one is used by ddg's bot detection
params['headers']['Sec-Fetch-Site'] = "same-origin"
params['headers']['Sec-Fetch-User'] = "?1"
# Form of the initial search page does have empty values in the form
if params['pageno'] == 1:
params['data']['b'] = ""
params['data']['df'] = ''
if params['time_range'] in time_range_dict:
params['data']['df'] = time_range_dict[params['time_range']]
params['cookies']['df'] = time_range_dict[params['time_range']]
if params['pageno'] == 2: if params['pageno'] == 2:
# second page does have an offset of 20 # second page does have an offset of 20
offset = (params['pageno'] - 1) * 20 offset = (params['pageno'] - 1) * 20
params['data']['s'] = offset params['data']['s'] = offset
params['data']['dc'] = offset + 1 params['data']['dc'] = offset + 1
elif params['pageno'] > 2: elif params['pageno'] > 2:
# third and following pages do have an offset of 20 + n*50 # third and following pages do have an offset of 20 + n*50
offset = 20 + (params['pageno'] - 2) * 50 offset = 20 + (params['pageno'] - 2) * 50
params['data']['s'] = offset params['data']['s'] = offset
params['data']['dc'] = offset + 1 params['data']['dc'] = offset + 1
# initial page does not have additional data in the input form
if params['pageno'] > 1: if params['pageno'] > 1:
# initial page does not have these additional data in the input form
params['data']['o'] = form_data.get('o', 'json') params['data']['o'] = form_data.get('o', 'json')
params['data']['api'] = form_data.get('api', 'd.js') params['data']['api'] = form_data.get('api', 'd.js')
params['data']['nextParams'] = form_data.get('nextParams', '') params['data']['nextParams'] = form_data.get('nextParams', '')
params['data']['v'] = form_data.get('v', 'l') params['data']['v'] = form_data.get('v', 'l')
params['headers']['Referer'] = url params['headers']['Referer'] = 'https://lite.duckduckgo.com/'
# from here on no more params['data'] shuld be set, since this dict is params['data']['kl'] = eng_region
# needed to get a vqd value from the cache .. params['cookies']['kl'] = eng_region
vqd = get_vqd(params['data']) params['data']['df'] = ''
if params['time_range'] in time_range_dict:
# Certain conditions must be met in order to call up one of the params['data']['df'] = time_range_dict[params['time_range']]
# following pages ... params['cookies']['df'] = time_range_dict[params['time_range']]
if vqd:
params['data']['vqd'] = vqd # follow up pages / requests needs a vqd argument
else:
# Don't try to call follow up pages without a vqd value. DDG
# recognizes this as a request from a bot. This lowers the
# reputation of the SearXNG IP and DDG starts to activate CAPTCHAs.
params["url"] = None
return
if params['searxng_locale'].startswith("zh"):
# Some locales (at least China) do not have a "next page" button and ddg
# will return a HTTP/2 403 Forbidden for a request of such a page.
params["url"] = None
return
logger.debug("param data: %s", params['data']) logger.debug("param data: %s", params['data'])
logger.debug("param cookies: %s", params['cookies']) logger.debug("param cookies: %s", params['cookies'])
return params
def is_ddg_captcha(dom): def detect_ddg_captcha(dom):
"""In case of CAPTCHA ddg response its own *not a Robot* dialog and is not """In case of CAPTCHA ddg open its own *not a Robot* dialog and is
redirected to a CAPTCHA page.""" not redirected to CAPTCHA page.
"""
return bool(eval_xpath(dom, "//form[@id='challenge-form']")) if eval_xpath(dom, "//form[@id='challenge-form']"):
# set suspend time to zero is OK --> ddg does not block the IP
raise SearxEngineCaptchaException(suspended_time=0)
def response(resp): def response(resp):
@ -349,34 +309,37 @@ def response(resp):
results = [] results = []
doc = lxml.html.fromstring(resp.text) doc = lxml.html.fromstring(resp.text)
detect_ddg_captcha(doc)
if is_ddg_captcha(doc): result_table = eval_xpath(doc, '//html/body/form/div[@class="filters"]/table')
# set suspend time to zero is OK --> ddg does not block the IP
raise SearxEngineCaptchaException(suspended_time=0, message=f"CAPTCHA ({resp.search_params['data'].get('kl')})")
form = eval_xpath(doc, '//input[@name="vqd"]/..') if len(result_table) == 2:
if len(form): # some locales (at least China) does not have a "next page" button and
# some locales (at least China) does not have a "next page" button # the layout of the HTML tables is different.
form = form[0] result_table = result_table[1]
form_vqd = eval_xpath(form, '//input[@name="vqd"]/@value')[0] elif not len(result_table) >= 3:
# no more results
return []
else:
result_table = result_table[2]
# update form data from response
form = eval_xpath(doc, '//html/body/form/div[@class="filters"]/table//input/..')
if len(form):
cache_vqd(resp.search_params["data"], form_vqd) form = form[0]
form_data['v'] = eval_xpath(form, '//input[@name="v"]/@value')[0]
form_data['api'] = eval_xpath(form, '//input[@name="api"]/@value')[0]
form_data['o'] = eval_xpath(form, '//input[@name="o"]/@value')[0]
logger.debug('form_data: %s', form_data)
# just select "web-result" and ignore results of class "result--ad result--ad--small" tr_rows = eval_xpath(result_table, './/tr')
for div_result in eval_xpath(doc, '//div[@id="links"]/div[contains(@class, "web-result")]'): # In the last <tr> is the form of the 'previous/next page' links
tr_rows = tr_rows[:-1]
item = {} len_tr_rows = len(tr_rows)
title = eval_xpath(div_result, './/h2/a') offset = 0
if not title:
# this is the "No results." item in the result list
continue
item["title"] = extract_text(title)
item["url"] = eval_xpath(div_result, './/h2/a/@href')[0]
item["content"] = extract_text(eval_xpath(div_result, './/a[contains(@class, "result__snippet")]')[0])
results.append(item) zero_click_info_xpath = '//html/body/form/div/table[2]/tr[2]/td/text()'
zero_click_info_xpath = '//div[@id="zero_click_abstract"]'
zero_click = extract_text(eval_xpath(doc, zero_click_info_xpath)).strip() zero_click = extract_text(eval_xpath(doc, zero_click_info_xpath)).strip()
if zero_click and "Your IP address is" not in zero_click and "Your user agent:" not in zero_click: if zero_click and "Your IP address is" not in zero_click and "Your user agent:" not in zero_click:
@ -389,6 +352,33 @@ def response(resp):
} }
) )
while len_tr_rows >= offset + 4:
# assemble table rows we need to scrap
tr_title = tr_rows[offset]
tr_content = tr_rows[offset + 1]
offset += 4
# ignore sponsored Adds <tr class="result-sponsored">
if tr_content.get('class') == 'result-sponsored':
continue
a_tag = eval_xpath_getindex(tr_title, './/td//a[@class="result-link"]', 0, None)
if a_tag is None:
continue
td_content = eval_xpath_getindex(tr_content, './/td[@class="result-snippet"]', 0, None)
if td_content is None:
continue
results.append(
{
'title': a_tag.text_content(),
'content': extract_text(td_content),
'url': a_tag.get('href'),
}
)
return results return results

View File

@ -62,7 +62,7 @@ filter_mapping = {0: 'off', 1: 'medium', 2: 'high'}
results_xpath = './/div[contains(@jscontroller, "SC7lYd")]' results_xpath = './/div[contains(@jscontroller, "SC7lYd")]'
title_xpath = './/a/h3[1]' title_xpath = './/a/h3[1]'
href_xpath = './/a[h3]/@href' href_xpath = './/a[h3]/@href'
content_xpath = './/div[contains(@data-sncf, "1")]' content_xpath = './/div[@data-sncf="1"]'
# Suggestions are links placed in a *card-section*, we extract only the text # Suggestions are links placed in a *card-section*, we extract only the text
# from the links not the links itself. # from the links not the links itself.

View File

@ -20,17 +20,17 @@
from __future__ import annotations from __future__ import annotations
from typing import Literal from typing import Literal
import os
import abc import abc
import dataclasses import dataclasses
import hashlib import hashlib
import logging import logging
import pathlib
import sqlite3 import sqlite3
import tempfile import tempfile
import time import time
import typer import typer
import msgspec from pydantic import BaseModel
from searx import sqlitedb from searx import sqlitedb
from searx import logger from searx import logger
@ -90,7 +90,7 @@ def init(cfg: "FaviconCacheConfig"):
raise NotImplementedError(f"favicons db_type '{cfg.db_type}' is unknown") raise NotImplementedError(f"favicons db_type '{cfg.db_type}' is unknown")
class FaviconCacheConfig(msgspec.Struct): # pylint: disable=too-few-public-methods class FaviconCacheConfig(BaseModel):
"""Configuration of the favicon cache.""" """Configuration of the favicon cache."""
db_type: Literal["sqlite", "mem"] = "sqlite" db_type: Literal["sqlite", "mem"] = "sqlite"
@ -103,7 +103,7 @@ class FaviconCacheConfig(msgspec.Struct): # pylint: disable=too-few-public-meth
:py:obj:`.cache.FaviconCacheMEM` (not recommended) :py:obj:`.cache.FaviconCacheMEM` (not recommended)
""" """
db_url: str = tempfile.gettempdir() + os.sep + "faviconcache.db" db_url: pathlib.Path = pathlib.Path(tempfile.gettempdir()) / "faviconcache.db"
"""URL of the SQLite DB, the path to the database file.""" """URL of the SQLite DB, the path to the database file."""
HOLD_TIME: int = 60 * 60 * 24 * 30 # 30 days HOLD_TIME: int = 60 * 60 * 24 * 30 # 30 days

View File

@ -4,8 +4,9 @@
from __future__ import annotations from __future__ import annotations
import pathlib import pathlib
import msgspec from pydantic import BaseModel
from searx.compat import tomllib
from .cache import FaviconCacheConfig from .cache import FaviconCacheConfig
from .proxy import FaviconProxyConfig from .proxy import FaviconProxyConfig
@ -18,7 +19,7 @@ TOML_CACHE_CFG: dict[str, "FaviconConfig"] = {}
DEFAULT_CFG_TOML_PATH = pathlib.Path(__file__).parent / "favicons.toml" DEFAULT_CFG_TOML_PATH = pathlib.Path(__file__).parent / "favicons.toml"
class FaviconConfig(msgspec.Struct): # pylint: disable=too-few-public-methods class FaviconConfig(BaseModel):
"""The class aggregates configurations of the favicon tools""" """The class aggregates configurations of the favicon tools"""
cfg_schema: int cfg_schema: int
@ -27,10 +28,10 @@ class FaviconConfig(msgspec.Struct): # pylint: disable=too-few-public-methods
By specifying a version, it is possible to ensure downward compatibility in By specifying a version, it is possible to ensure downward compatibility in
the event of future changes to the configuration schema""" the event of future changes to the configuration schema"""
cache: FaviconCacheConfig = msgspec.field(default_factory=FaviconCacheConfig) cache: FaviconCacheConfig = FaviconCacheConfig()
"""Setup of the :py:obj:`.cache.FaviconCacheConfig`.""" """Setup of the :py:obj:`.cache.FaviconCacheConfig`."""
proxy: FaviconProxyConfig = msgspec.field(default_factory=FaviconProxyConfig) proxy: FaviconProxyConfig = FaviconProxyConfig()
"""Setup of the :py:obj:`.proxy.FaviconProxyConfig`.""" """Setup of the :py:obj:`.proxy.FaviconProxyConfig`."""
@classmethod @classmethod
@ -44,22 +45,18 @@ class FaviconConfig(msgspec.Struct): # pylint: disable=too-few-public-methods
return cached return cached
with cfg_file.open("rb") as f: with cfg_file.open("rb") as f:
data = f.read()
cfg = msgspec.toml.decode(data, type=_FaviconConfig) cfg = tomllib.load(f)
schema = cfg.favicons.cfg_schema cfg = cfg.get("favicons", cfg)
if schema != CONFIG_SCHEMA:
raise ValueError(
f"config schema version {CONFIG_SCHEMA} is needed, version {schema} is given in {cfg_file}"
)
cfg = cfg.favicons schema = cfg.get("cfg_schema")
if use_cache and cached: if schema != CONFIG_SCHEMA:
TOML_CACHE_CFG[str(cfg_file.resolve())] = cfg raise ValueError(
f"config schema version {CONFIG_SCHEMA} is needed, version {schema} is given in {cfg_file}"
)
return cfg cfg = cls(**cfg)
if use_cache and cached:
TOML_CACHE_CFG[str(cfg_file.resolve())] = cfg
return cfg
class _FaviconConfig(msgspec.Struct): # pylint: disable=too-few-public-methods
# wrapper struct for root object "favicons."
favicons: FaviconConfig

View File

@ -12,7 +12,7 @@ import urllib.parse
import flask import flask
from httpx import HTTPError from httpx import HTTPError
import msgspec from pydantic import BaseModel
from searx import get_setting from searx import get_setting
@ -41,7 +41,7 @@ def _initial_resolver_map():
return d return d
class FaviconProxyConfig(msgspec.Struct): class FaviconProxyConfig(BaseModel):
"""Configuration of the favicon proxy.""" """Configuration of the favicon proxy."""
max_age: int = 60 * 60 * 24 * 7 # seven days max_age: int = 60 * 60 * 24 * 7 # seven days
@ -59,7 +59,7 @@ class FaviconProxyConfig(msgspec.Struct):
outgoing request of the resolver. By default, the value from outgoing request of the resolver. By default, the value from
:ref:`outgoing.request_timeout <settings outgoing>` setting is used.""" :ref:`outgoing.request_timeout <settings outgoing>` setting is used."""
resolver_map: dict[str, str] = msgspec.field(default_factory=_initial_resolver_map) resolver_map: dict[str, str] = _initial_resolver_map()
"""The resolver_map is a key / value dictionary where the key is the name of """The resolver_map is a key / value dictionary where the key is the name of
the resolver and the value is the fully qualifying name (fqn) of resolver's the resolver and the value is the fully qualifying name (fqn) of resolver's
function (the callable). The resolvers from the python module function (the callable). The resolvers from the python module

View File

@ -39,7 +39,7 @@ msgstr ""
"Project-Id-Version: searx\n" "Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-05 06:24+0000\n" "POT-Creation-Date: 2024-10-05 06:24+0000\n"
"PO-Revision-Date: 2024-10-26 21:13+0000\n" "PO-Revision-Date: 2024-10-06 14:31+0000\n"
"Last-Translator: Atul_Eterno <Atul_Eterno@users.noreply.translate.codeberg." "Last-Translator: Atul_Eterno <Atul_Eterno@users.noreply.translate.codeberg."
"org>\n" "org>\n"
"Language-Team: Spanish <https://translate.codeberg.org/projects/searxng/" "Language-Team: Spanish <https://translate.codeberg.org/projects/searxng/"
@ -49,7 +49,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.8.1\n" "X-Generator: Weblate 5.7.2\n"
"Generated-By: Babel 2.16.0\n" "Generated-By: Babel 2.16.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING'] #. CONSTANT_NAMES['NO_SUBGROUPING']
@ -155,7 +155,7 @@ msgstr "preguntas y respuestas"
#. CATEGORY_GROUPS['REPOS'] #. CATEGORY_GROUPS['REPOS']
#: searx/searxng.msg #: searx/searxng.msg
msgid "repos" msgid "repos"
msgstr "repositorios" msgstr "repos"
#. CATEGORY_GROUPS['SOFTWARE_WIKIS'] #. CATEGORY_GROUPS['SOFTWARE_WIKIS']
#: searx/searxng.msg #: searx/searxng.msg

View File

@ -22,14 +22,13 @@
# MVDW-Java <MVDW-Java@users.noreply.translate.codeberg.org>, 2024. # MVDW-Java <MVDW-Java@users.noreply.translate.codeberg.org>, 2024.
# notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org>, 2024. # notlmutsaers <notlmutsaers@users.noreply.translate.codeberg.org>, 2024.
# return42 <return42@users.noreply.translate.codeberg.org>, 2024. # return42 <return42@users.noreply.translate.codeberg.org>, 2024.
# ljansen <ljansen@users.noreply.translate.codeberg.org>, 2024.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: searx\n" "Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-05 06:24+0000\n" "POT-Creation-Date: 2024-10-05 06:24+0000\n"
"PO-Revision-Date: 2024-10-28 21:07+0000\n" "PO-Revision-Date: 2024-10-15 12:18+0000\n"
"Last-Translator: ljansen <ljansen@users.noreply.translate.codeberg.org>\n" "Last-Translator: return42 <return42@users.noreply.translate.codeberg.org>\n"
"Language-Team: Dutch <https://translate.codeberg.org/projects/searxng/" "Language-Team: Dutch <https://translate.codeberg.org/projects/searxng/"
"searxng/nl/>\n" "searxng/nl/>\n"
"Language: nl\n" "Language: nl\n"
@ -37,7 +36,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.8.1\n" "X-Generator: Weblate 5.7.2\n"
"Generated-By: Babel 2.16.0\n" "Generated-By: Babel 2.16.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING'] #. CONSTANT_NAMES['NO_SUBGROUPING']
@ -465,7 +464,7 @@ msgstr "Bereken {functions} van de opties"
#: searx/engines/mozhi.py:57 #: searx/engines/mozhi.py:57
msgid "Synonyms" msgid "Synonyms"
msgstr "Synoniemen" msgstr ""
#: searx/engines/openstreetmap.py:159 #: searx/engines/openstreetmap.py:159
msgid "Get directions" msgid "Get directions"
@ -1235,13 +1234,12 @@ msgid "Max time"
msgstr "Max. duur" msgstr "Max. duur"
#: searx/templates/simple/preferences/favicon.html:2 #: searx/templates/simple/preferences/favicon.html:2
#, fuzzy
msgid "Favicon Resolver" msgid "Favicon Resolver"
msgstr "favicon-resolver" msgstr ""
#: searx/templates/simple/preferences/favicon.html:15 #: searx/templates/simple/preferences/favicon.html:15
msgid "Display favicons near search results" msgid "Display favicons near search results"
msgstr "Vertoon zoekresultaten naast favicons" msgstr ""
#: searx/templates/simple/preferences/footer.html:2 #: searx/templates/simple/preferences/footer.html:2
msgid "" msgid ""

View File

@ -23,8 +23,8 @@ msgstr ""
"Project-Id-Version: searx\n" "Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-05 06:24+0000\n" "POT-Creation-Date: 2024-10-05 06:24+0000\n"
"PO-Revision-Date: 2024-10-28 21:07+0000\n" "PO-Revision-Date: 2024-10-15 12:18+0000\n"
"Last-Translator: Eryk Michalak <gnu.ewm@protonmail.com>\n" "Last-Translator: return42 <return42@users.noreply.translate.codeberg.org>\n"
"Language-Team: Polish <https://translate.codeberg.org/projects/searxng/" "Language-Team: Polish <https://translate.codeberg.org/projects/searxng/"
"searxng/pl/>\n" "searxng/pl/>\n"
"Language: pl\n" "Language: pl\n"
@ -34,7 +34,7 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (" "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && ("
"n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " "n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" "n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
"X-Generator: Weblate 5.8.1\n" "X-Generator: Weblate 5.7.2\n"
"Generated-By: Babel 2.16.0\n" "Generated-By: Babel 2.16.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING'] #. CONSTANT_NAMES['NO_SUBGROUPING']
@ -1230,7 +1230,7 @@ msgstr "Maksymalny czas"
#: searx/templates/simple/preferences/favicon.html:2 #: searx/templates/simple/preferences/favicon.html:2
msgid "Favicon Resolver" msgid "Favicon Resolver"
msgstr "Pobieranie favikony" msgstr ""
#: searx/templates/simple/preferences/favicon.html:15 #: searx/templates/simple/preferences/favicon.html:15
msgid "Display favicons near search results" msgid "Display favicons near search results"

View File

@ -19,14 +19,13 @@
# gvlx <gvlx@users.noreply.translate.codeberg.org>, 2024. # gvlx <gvlx@users.noreply.translate.codeberg.org>, 2024.
# ds451 <ds451@users.noreply.translate.codeberg.org>, 2024. # ds451 <ds451@users.noreply.translate.codeberg.org>, 2024.
# Pedro_Tresp <Pedro_Tresp@users.noreply.translate.codeberg.org>, 2024. # Pedro_Tresp <Pedro_Tresp@users.noreply.translate.codeberg.org>, 2024.
# saltsnorter <saltsnorter@users.noreply.translate.codeberg.org>, 2024.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: searx\n" "Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-05 06:24+0000\n" "POT-Creation-Date: 2024-10-05 06:24+0000\n"
"PO-Revision-Date: 2024-10-29 05:54+0000\n" "PO-Revision-Date: 2024-10-13 23:26+0000\n"
"Last-Translator: saltsnorter <saltsnorter@users.noreply.translate.codeberg." "Last-Translator: Pedro_Tresp <Pedro_Tresp@users.noreply.translate.codeberg."
"org>\n" "org>\n"
"Language-Team: Portuguese <https://translate.codeberg.org/projects/searxng/" "Language-Team: Portuguese <https://translate.codeberg.org/projects/searxng/"
"searxng/pt/>\n" "searxng/pt/>\n"
@ -35,7 +34,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Weblate 5.8.1\n" "X-Generator: Weblate 5.7.2\n"
"Generated-By: Babel 2.16.0\n" "Generated-By: Babel 2.16.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING'] #. CONSTANT_NAMES['NO_SUBGROUPING']
@ -176,7 +175,7 @@ msgstr "escuro"
#. STYLE_NAMES['BLACK'] #. STYLE_NAMES['BLACK']
#: searx/searxng.msg #: searx/searxng.msg
msgid "black" msgid "black"
msgstr "preto" msgstr ""
#. BRAND_CUSTOM_LINKS['UPTIME'] #. BRAND_CUSTOM_LINKS['UPTIME']
#: searx/searxng.msg #: searx/searxng.msg
@ -1229,11 +1228,11 @@ msgstr "Tempo máximo"
#: searx/templates/simple/preferences/favicon.html:2 #: searx/templates/simple/preferences/favicon.html:2
msgid "Favicon Resolver" msgid "Favicon Resolver"
msgstr "Solucionador do Favicon" msgstr ""
#: searx/templates/simple/preferences/favicon.html:15 #: searx/templates/simple/preferences/favicon.html:15
msgid "Display favicons near search results" msgid "Display favicons near search results"
msgstr "Monstra os favicons nos proximos os resultados" msgstr ""
#: searx/templates/simple/preferences/footer.html:2 #: searx/templates/simple/preferences/footer.html:2
msgid "" msgid ""

View File

@ -30,14 +30,13 @@
# Pyrbor <Pyrbor@users.noreply.translate.codeberg.org>, 2024. # Pyrbor <Pyrbor@users.noreply.translate.codeberg.org>, 2024.
# rodgui <rodgui@users.noreply.translate.codeberg.org>, 2024. # rodgui <rodgui@users.noreply.translate.codeberg.org>, 2024.
# rafablog77 <rafablog77@users.noreply.translate.codeberg.org>, 2024. # rafablog77 <rafablog77@users.noreply.translate.codeberg.org>, 2024.
# Juno Takano <jutty@users.noreply.translate.codeberg.org>, 2024.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: searx\n" "Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-05 06:24+0000\n" "POT-Creation-Date: 2024-10-05 06:24+0000\n"
"PO-Revision-Date: 2024-10-31 12:16+0000\n" "PO-Revision-Date: 2024-10-15 12:18+0000\n"
"Last-Translator: Juno Takano <jutty@users.noreply.translate.codeberg.org>\n" "Last-Translator: return42 <return42@users.noreply.translate.codeberg.org>\n"
"Language-Team: Portuguese (Brazil) <https://translate.codeberg.org/projects/" "Language-Team: Portuguese (Brazil) <https://translate.codeberg.org/projects/"
"searxng/searxng/pt_BR/>\n" "searxng/searxng/pt_BR/>\n"
"Language: pt_BR\n" "Language: pt_BR\n"
@ -45,7 +44,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n" "Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.8.1\n" "X-Generator: Weblate 5.7.2\n"
"Generated-By: Babel 2.16.0\n" "Generated-By: Babel 2.16.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING'] #. CONSTANT_NAMES['NO_SUBGROUPING']
@ -186,7 +185,7 @@ msgstr "escuro"
#. STYLE_NAMES['BLACK'] #. STYLE_NAMES['BLACK']
#: searx/searxng.msg #: searx/searxng.msg
msgid "black" msgid "black"
msgstr "preto" msgstr ""
#. BRAND_CUSTOM_LINKS['UPTIME'] #. BRAND_CUSTOM_LINKS['UPTIME']
#: searx/searxng.msg #: searx/searxng.msg
@ -473,7 +472,7 @@ msgstr "Computar {functions} dos argumentos"
#: searx/engines/mozhi.py:57 #: searx/engines/mozhi.py:57
msgid "Synonyms" msgid "Synonyms"
msgstr "Sinônimos" msgstr ""
#: searx/engines/openstreetmap.py:159 #: searx/engines/openstreetmap.py:159
msgid "Get directions" msgid "Get directions"
@ -1244,7 +1243,7 @@ msgstr "Tempo máximo"
#: searx/templates/simple/preferences/favicon.html:2 #: searx/templates/simple/preferences/favicon.html:2
msgid "Favicon Resolver" msgid "Favicon Resolver"
msgstr "Resolvedor de Favicons" msgstr ""
#: searx/templates/simple/preferences/favicon.html:15 #: searx/templates/simple/preferences/favicon.html:15
msgid "Display favicons near search results" msgid "Display favicons near search results"

View File

@ -12,19 +12,19 @@
# tvminh19 <tvminh19@users.noreply.translate.codeberg.org>, 2024. # tvminh19 <tvminh19@users.noreply.translate.codeberg.org>, 2024.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: searx\n" "Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-05 06:24+0000\n" "POT-Creation-Date: 2024-10-05 06:24+0000\n"
"PO-Revision-Date: 2024-10-26 21:13+0000\n" "PO-Revision-Date: 2024-08-07 01:02+0000\n"
"Last-Translator: return42 <return42@users.noreply.translate.codeberg.org>\n" "Last-Translator: tvminh19 <tvminh19@users.noreply.translate.codeberg.org>"
"Language-Team: Vietnamese <https://translate.codeberg.org/projects/searxng/" "\n"
"searxng/vi/>\n"
"Language: vi\n" "Language: vi\n"
"Language-Team: Vietnamese "
"<https://translate.codeberg.org/projects/searxng/searxng/vi/>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.8.1\n"
"Generated-By: Babel 2.16.0\n" "Generated-By: Babel 2.16.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING'] #. CONSTANT_NAMES['NO_SUBGROUPING']
@ -186,7 +186,7 @@ msgstr "Nhiệt độ trung bình."
#. WEATHER_TERMS['CLOUD COVER'] #. WEATHER_TERMS['CLOUD COVER']
#: searx/engines/open_meteo.py:91 searx/searxng.msg #: searx/engines/open_meteo.py:91 searx/searxng.msg
msgid "Cloud cover" msgid "Cloud cover"
msgstr "Mây che phủ" msgstr ""
#. WEATHER_TERMS['CONDITION'] #. WEATHER_TERMS['CONDITION']
#: searx/engines/duckduckgo_weather.py:45 searx/engines/wttr.py:51 #: searx/engines/duckduckgo_weather.py:45 searx/engines/wttr.py:51
@ -283,7 +283,7 @@ msgstr ""
#: searx/engines/duckduckgo_weather.py:58 searx/engines/open_meteo.py:86 #: searx/engines/duckduckgo_weather.py:58 searx/engines/open_meteo.py:86
#: searx/engines/wttr.py:62 searx/searxng.msg #: searx/engines/wttr.py:62 searx/searxng.msg
msgid "Wind" msgid "Wind"
msgstr "Gió" msgstr ""
#. SOCIAL_MEDIA_TERMS['SUBSCRIBERS'] #. SOCIAL_MEDIA_TERMS['SUBSCRIBERS']
#: searx/engines/lemmy.py:85 searx/searxng.msg #: searx/engines/lemmy.py:85 searx/searxng.msg
@ -1990,3 +1990,4 @@ msgstr "ẩn phim"
#~ msgid "Engines cannot retrieve results" #~ msgid "Engines cannot retrieve results"
#~ msgstr "Các trình tìm kiếm không nhận được kết quả" #~ msgstr "Các trình tìm kiếm không nhận được kết quả"

View File

@ -28,19 +28,18 @@
# hugoalh <hugoalh@users.noreply.translate.codeberg.org>, 2024. # hugoalh <hugoalh@users.noreply.translate.codeberg.org>, 2024.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: searx\n" "Project-Id-Version: searx\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-10-05 06:24+0000\n" "POT-Creation-Date: 2024-10-05 06:24+0000\n"
"PO-Revision-Date: 2024-10-26 21:13+0000\n" "PO-Revision-Date: 2024-08-12 04:00+0000\n"
"Last-Translator: return42 <return42@users.noreply.translate.codeberg.org>\n" "Last-Translator: hugoalh <hugoalh@users.noreply.translate.codeberg.org>\n"
"Language-Team: Chinese (Traditional Han script) <https://translate.codeberg."
"org/projects/searxng/searxng/zh_Hant/>\n"
"Language: zh_Hant_TW\n" "Language: zh_Hant_TW\n"
"Language-Team: Chinese (Traditional) "
"<https://translate.codeberg.org/projects/searxng/searxng/zh_Hant/>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.8.1\n"
"Generated-By: Babel 2.16.0\n" "Generated-By: Babel 2.16.0\n"
#. CONSTANT_NAMES['NO_SUBGROUPING'] #. CONSTANT_NAMES['NO_SUBGROUPING']
@ -181,7 +180,7 @@ msgstr "黑暗"
#. STYLE_NAMES['BLACK'] #. STYLE_NAMES['BLACK']
#: searx/searxng.msg #: searx/searxng.msg
msgid "black" msgid "black"
msgstr "黑色" msgstr ""
#. BRAND_CUSTOM_LINKS['UPTIME'] #. BRAND_CUSTOM_LINKS['UPTIME']
#: searx/searxng.msg #: searx/searxng.msg
@ -468,7 +467,7 @@ msgstr "計算 {functions} 參數"
#: searx/engines/mozhi.py:57 #: searx/engines/mozhi.py:57
msgid "Synonyms" msgid "Synonyms"
msgstr "同義詞" msgstr ""
#: searx/engines/openstreetmap.py:159 #: searx/engines/openstreetmap.py:159
msgid "Get directions" msgid "Get directions"
@ -943,7 +942,7 @@ msgstr "來自搜尋引擎的訊息"
#: searx/templates/simple/elements/engines_msg.html:7 #: searx/templates/simple/elements/engines_msg.html:7
msgid "seconds" msgid "seconds"
msgstr "" msgstr ""
#: searx/templates/simple/elements/search_url.html:3 #: searx/templates/simple/elements/search_url.html:3
msgid "Search URL" msgid "Search URL"
@ -1207,11 +1206,11 @@ msgstr "最大時間"
#: searx/templates/simple/preferences/favicon.html:2 #: searx/templates/simple/preferences/favicon.html:2
msgid "Favicon Resolver" msgid "Favicon Resolver"
msgstr "網站圖標搜索器" msgstr ""
#: searx/templates/simple/preferences/favicon.html:15 #: searx/templates/simple/preferences/favicon.html:15
msgid "Display favicons near search results" msgid "Display favicons near search results"
msgstr "在搜尋結果旁顯示網站圖標" msgstr ""
#: searx/templates/simple/preferences/footer.html:2 #: searx/templates/simple/preferences/footer.html:2
msgid "" msgid ""
@ -1912,3 +1911,4 @@ msgstr "隱藏影片"
#~ msgid "Engines cannot retrieve results" #~ msgid "Engines cannot retrieve results"
#~ msgstr "引擎無法擷取結果" #~ msgstr "引擎無法擷取結果"