mirror of
https://github.com/mempool/mempool.git
synced 2025-01-19 05:34:03 +01:00
Enable 'ka' locale for Georgian
This commit is contained in:
parent
8d565f5c62
commit
a2740aaa02
@ -47,6 +47,10 @@
|
|||||||
"translation": "src/locale/messages.ja.xlf",
|
"translation": "src/locale/messages.ja.xlf",
|
||||||
"baseHref": "/ja/"
|
"baseHref": "/ja/"
|
||||||
},
|
},
|
||||||
|
"ka": {
|
||||||
|
"translation": "src/locale/messages.ka.xlf",
|
||||||
|
"baseHref": "/ka/"
|
||||||
|
},
|
||||||
"nl": {
|
"nl": {
|
||||||
"translation": "src/locale/messages.nl.xlf",
|
"translation": "src/locale/messages.nl.xlf",
|
||||||
"baseHref": "/nl/"
|
"baseHref": "/nl/"
|
||||||
|
@ -81,6 +81,7 @@ export const languages: Language[] = [
|
|||||||
{ code: 'fa', name: 'فارسی' }, // Persian
|
{ code: 'fa', name: 'فارسی' }, // Persian
|
||||||
{ code: 'fr', name: 'Français' }, // French
|
{ code: 'fr', name: 'Français' }, // French
|
||||||
// { code: 'gl', name: 'Galego' }, // Galician
|
// { code: 'gl', name: 'Galego' }, // Galician
|
||||||
|
{ code: 'ka', name: 'ქართული' }, // Georgian
|
||||||
// { code: 'ko', name: '한국어' }, // Korean
|
// { code: 'ko', name: '한국어' }, // Korean
|
||||||
// { code: 'hr', name: 'Hrvatski' }, // Croatian
|
// { code: 'hr', name: 'Hrvatski' }, // Croatian
|
||||||
// { code: 'id', name: 'Bahasa Indonesia' },// Indonesian
|
// { code: 'id', name: 'Bahasa Indonesia' },// Indonesian
|
||||||
|
2763
frontend/src/locale/messages.ka.xlf
Normal file
2763
frontend/src/locale/messages.ka.xlf
Normal file
File diff suppressed because it is too large
Load Diff
@ -43,11 +43,11 @@
|
|||||||
# location block using regex are matched in order
|
# location block using regex are matched in order
|
||||||
|
|
||||||
# used to rewrite resources from /<lang>/ to /en-US/
|
# used to rewrite resources from /<lang>/ to /en-US/
|
||||||
location ~ ^/(ar|bg|bs|ca|cs|da|de|et|el|es|eo|eu|fa|fr|gl|ko|hr|id|it|he|ka|lv|lt|hu|mk|ms|nl|ja|no|nb|nn|pl|pt|pt-BR|ro|ru|sk|sl|sr|sh|fi|sv|th|tr|uk|vi|zh)/resources/ {
|
location ~ ^/(ar|bg|bs|ca|cs|da|de|et|el|es|eo|eu|fa|fr|gl|ko|hr|id|it|he|ka|lv|lt|hu|mk|ms|nl|ja|ka|no|nb|nn|pl|pt|pt-BR|ro|ru|sk|sl|sr|sh|fi|sv|th|tr|uk|vi|zh)/resources/ {
|
||||||
rewrite ^/[a-zA-Z-]*/resources/(.*) /en-US/resources/$1;
|
rewrite ^/[a-zA-Z-]*/resources/(.*) /en-US/resources/$1;
|
||||||
}
|
}
|
||||||
# used for cookie override
|
# used for cookie override
|
||||||
location ~ ^/(ar|bg|bs|ca|cs|da|de|et|el|es|eo|eu|fa|fr|gl|ko|hr|id|it|he|ka|lv|lt|hu|mk|ms|nl|ja|no|nb|nn|pl|pt|pt-BR|ro|ru|sk|sl|sr|sh|fi|sv|th|tr|uk|vi|zh)/ {
|
location ~ ^/(ar|bg|bs|ca|cs|da|de|et|el|es|eo|eu|fa|fr|gl|ko|hr|id|it|he|ka|lv|lt|hu|mk|ms|nl|ja|ka|no|nb|nn|pl|pt|pt-BR|ro|ru|sk|sl|sr|sh|fi|sv|th|tr|uk|vi|zh)/ {
|
||||||
try_files $uri $uri/ /$1/index.html =404;
|
try_files $uri $uri/ /$1/index.html =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,6 +84,7 @@ http {
|
|||||||
~*^fa fa;
|
~*^fa fa;
|
||||||
~*^fr fr;
|
~*^fr fr;
|
||||||
~*^ja ja;
|
~*^ja ja;
|
||||||
|
~*^ka ka;
|
||||||
~*^nl nl;
|
~*^nl nl;
|
||||||
~*^nn nn;
|
~*^nn nn;
|
||||||
~*^pt pt;
|
~*^pt pt;
|
||||||
@ -106,6 +107,7 @@ http {
|
|||||||
~*^fa fa;
|
~*^fa fa;
|
||||||
~*^fr fr;
|
~*^fr fr;
|
||||||
~*^ja ja;
|
~*^ja ja;
|
||||||
|
~*^ka ka;
|
||||||
~*^nl nl;
|
~*^nl nl;
|
||||||
~*^nn nn;
|
~*^nn nn;
|
||||||
~*^pt pt;
|
~*^pt pt;
|
||||||
|
Loading…
Reference in New Issue
Block a user