mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-23 18:53:36 +02:00
Fix Korean flag
This commit is contained in:
parent
aef94e6950
commit
1d322d8a39
@ -323,7 +323,7 @@ Current translations:
|
||||
![](https://joplin.cozic.net/images/flags/country-4x3/cn.png) | 中文 (简体) | [zh_CN](https://github.com/laurent22/joplin/blob/master/CliClient/locales/zh_CN.po) | | 96%
|
||||
![](https://joplin.cozic.net/images/flags/country-4x3/tw.png) | 中文 (繁體) | [zh_TW](https://github.com/laurent22/joplin/blob/master/CliClient/locales/zh_TW.po) | penguinsam (samliu@gmail.com) | 100%
|
||||
![](https://joplin.cozic.net/images/flags/country-4x3/jp.png) | 日本語 | [ja_JP](https://github.com/laurent22/joplin/blob/master/CliClient/locales/ja_JP.po) | | 53%
|
||||
![](https://joplin.cozic.net/images/flags/country-4x3/.png) | 한국말 | [ko](https://github.com/laurent22/joplin/blob/master/CliClient/locales/ko.po) | | 100%
|
||||
![](https://joplin.cozic.net/images/flags/country-4x3/kr.png) | 한국말 | [ko](https://github.com/laurent22/joplin/blob/master/CliClient/locales/ko.po) | | 100%
|
||||
<!-- LOCALE-TABLE-AUTO-GENERATED -->
|
||||
|
||||
# Known bugs
|
||||
|
@ -155,10 +155,12 @@ async function translationStatus(isDefault, poFile) {
|
||||
}
|
||||
|
||||
function flagImageUrl(locale) {
|
||||
if (locale === 'eu') return 'https://joplin.cozic.net/images/flags/es/basque_country.png';
|
||||
if (locale === 'gl_ES') return 'https://joplin.cozic.net/images/flags/es/galicia.png';
|
||||
if (locale === 'ca') return 'https://joplin.cozic.net/images/flags/es/catalonia.png';
|
||||
return 'https://joplin.cozic.net/images/flags/country-4x3/' + countryCodeOnly(locale).toLowerCase() + '.png'
|
||||
const baseUrl = 'https://joplin.cozic.net/images/flags';
|
||||
if (locale === 'eu') return baseUrl + '/es/basque_country.png';
|
||||
if (locale === 'gl_ES') return baseUrl + '/es/galicia.png';
|
||||
if (locale === 'ca') return baseUrl + '/es/catalonia.png';
|
||||
if (locale === 'ko') return baseUrl + '/country-4x3/kr.png';
|
||||
return baseUrl + '/country-4x3/' + countryCodeOnly(locale).toLowerCase() + '.png'
|
||||
}
|
||||
|
||||
function poFileUrl(locale) {
|
||||
|
@ -635,7 +635,7 @@ $$
|
||||
<td>53%</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="https://joplin.cozic.net/images/flags/country-4x3/.png" alt=""></td>
|
||||
<td><img src="https://joplin.cozic.net/images/flags/country-4x3/kr.png" alt=""></td>
|
||||
<td>한국말</td>
|
||||
<td><a href="https://github.com/laurent22/joplin/blob/master/CliClient/locales/ko.po">ko</a></td>
|
||||
<td></td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user