mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 01:41:01 +01:00
Add Croatian language
This commit is contained in:
parent
ca26154426
commit
5178ae43f6
@ -151,7 +151,7 @@ export const languages: Language[] = [
|
||||
{ code: 'fr', name: 'Français' }, // French
|
||||
// { code: 'gl', name: 'Galego' }, // Galician
|
||||
{ code: 'ko', name: '한국어' }, // Korean
|
||||
// { code: 'hr', name: 'Hrvatski' }, // Croatian
|
||||
{ code: 'hr', name: 'Hrvatski' }, // Croatian
|
||||
// { code: 'id', name: 'Bahasa Indonesia' },// Indonesian
|
||||
{ code: 'hi', name: 'हिन्दी' }, // Hindi
|
||||
{ code: 'ne', name: 'नेपाली' }, // Nepalese
|
||||
|
@ -108,6 +108,7 @@ http {
|
||||
~*^hi hi;
|
||||
~*^ne ne;
|
||||
~*^lt lt;
|
||||
~*^hr hr;
|
||||
}
|
||||
|
||||
map $cookie_lang $lang {
|
||||
@ -145,6 +146,7 @@ http {
|
||||
~*^hi hi;
|
||||
~*^ne ne;
|
||||
~*^lt lt;
|
||||
~*^hr hr;
|
||||
}
|
||||
|
||||
server {
|
||||
|
@ -32,6 +32,7 @@ map $http_accept_language $header_lang {
|
||||
~*^vi vi;
|
||||
~*^zh zh;
|
||||
~*^lt lt;
|
||||
~*^hr hr;
|
||||
}
|
||||
map $cookie_lang $lang {
|
||||
default $header_lang;
|
||||
@ -67,4 +68,5 @@ map $cookie_lang $lang {
|
||||
~*^vi vi;
|
||||
~*^zh zh;
|
||||
~*^lt lt;
|
||||
~*^hr hr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user