Merge remote-tracking branch 'origin/main'

This commit is contained in:
Hosted Weblate 2022-04-07 20:19:21 +02:00
commit 0ae304633d
No known key found for this signature in database
GPG Key ID: A3FAAA06E6569B4C
7 changed files with 103 additions and 5 deletions

View File

@ -1,3 +1,17 @@
# [2.14.0](https://github.com/kolplattformen/skolplattformen/compare/v2.13.0...v2.14.0) (2022-04-06)
### Features
* 🎸 Add Thai curriculum ([#622](https://github.com/kolplattformen/skolplattformen/issues/622)) ([bd02b37](https://github.com/kolplattformen/skolplattformen/commit/bd02b378c0d73f116baa716d05786c5d5d5cfbd9))
# [2.13.0](https://github.com/kolplattformen/skolplattformen/compare/v2.12.0...v2.13.0) (2022-04-06)
### Features
* 🎸 Added Thai translation ([#621](https://github.com/kolplattformen/skolplattformen/issues/621)) ([9e2f94d](https://github.com/kolplattformen/skolplattformen/commit/9e2f94d8532af4b427aaea8335c4c3775ecb853b))
# [2.12.0](https://github.com/kolplattformen/skolplattformen/compare/v2.11.4...v2.12.0) (2022-02-17)

View File

@ -14,6 +14,8 @@ import 'moment/locale/pl'
import 'moment/locale/pt'
import 'moment/locale/ru'
import 'moment/locale/sv'
import 'moment/locale/th'
import 'moment/locale/uk'
import 'moment/locale/zh-cn'
import { I18nManager } from 'react-native'
import { languages } from '../utils/translation'

View File

@ -137,6 +137,20 @@ export const languages: Language[] = [
locale: 'es',
active: true,
},
{
langCode: 'th',
languageName: 'Thai',
languageLocalName: 'ไทย',
locale: 'th',
active: true,
},
{
langCode: 'uk',
languageName: 'Ukrainian',
languageLocalName: 'український',
locale: 'uk',
active: false,
},
]
export const translations = {
@ -156,6 +170,8 @@ export const translations = {
ru: require('../translations/ru.json'),
so: require('../translations/so.json'),
sv: require('../translations/sv.json'),
th: require('../translations/th.json'),
uk: require('../translations/uk.json'),
zh_Hans: require('../translations/zh_Hans.json'),
zh_Hant: require('../translations/zh_Hant.json'),
}

View File

@ -47,16 +47,16 @@
"TY": "German"
},
"languages": {
"ACE": "Acehnesic",
"ACH": "Acoli",
"ACE": "Acehnese",
"ACH": "Acholi",
"AAR": "Afar, Danakil",
"AFR": "Afrikaans",
"AKA": "Akan, Asante, Fante",
"SQI": "Albanian",
"AMH": "Amharic",
"ARA": "Arabic",
"HYE": "Armenic",
"AII": "Assyric, New arameic",
"HYE": "Armenian",
"AII": "Assyric, Neo-Aramaic",
"AYM": "Aymara",
"AZE": "Azerbaijani",
"BAL": "Baluchi, Baloci, Baluci, Makrani",

View File

@ -24,6 +24,7 @@ const translations: Translations = {
nb_NO: require('./nb_NO.json'),
pl: require('./pl.json'),
pt: require('./pt.json'),
th: require('./th.json'),
zh_Hans: require('./zh_Hans.json'),
}
const languageList: string[] = Object.keys(translations)

View File

@ -0,0 +1,65 @@
{
"languages": {
"SQI": "ภาษาแอลเบเนีย",
"FRA": "ภาษาฝรั่งเศส",
"MYA": "ภาษาพม่า",
"AII": "ภาษาอัสซีเรีย",
"AAR": "ภาษา Afar ดานาคิล",
"AFR": "ภาษาแอฟริกัน",
"ACE": "ภาษาอาเจะห์",
"ACH": "ภาษาอโชลี",
"AKA": "ภาษาอะกัน",
"ARA": "ภาษาอารบ",
"HYE": "ภาษาอาร์เมเนีย",
"AYM": "ภาษาไอมารา",
"AZE": "ภาษาอาเซอร์ไบจัน",
"DAN": "ภาษาเดนมาร์ก",
"ENG": "ภาษาอังกฤษ",
"GRE": "ภาษากรีก",
"ITA": "ภาษาอิตาลี",
"JPN": "ภาษาญี่ปุ่น",
"ZHO": "ภาษาจีน",
"AMH": "ภาษาอัมฮาริก"
},
"subjects": {
"BL": "ศิลปะศึกษา",
"EN": "ภาษาอังกฤษ",
"MA": "คณิตศาสตร์",
"NO": "วิทยาศาสตร์ธรรมชาติ",
"FY": "ฟิสิกส์",
"SO": "สังคมศึกษา",
"HI": "ประวัติศาสตร์",
"RE": "ศาสนา",
"SH": "หน้าที่พลเมืองศึกษา",
"SV": "ภาษาสวีเดน",
"IDH": "กีฬาและสุขภาพ",
"GE": "ภูมิศาสตร์",
"SL": "งานฝีมือ",
"SVA": "ภาษาสวีเดนเป็นภาษาที่สอง",
"TN": "ภาษามือ",
"TK": "เทคโนโลยี",
"ES": "สุนทรียภาพ",
"MU": "ดนตรี",
"KE": "เคมี",
"BI": "ชีววิทยา"
},
"traningsskolaSubjects": {
"KOM": "การสื่อสาร"
},
"specialLanguages": {
"EN": "ภาษาอังกฤษ",
"FR": "ภาษาฝรั่งเศส",
"FI": "ภาษาฟินแลนด์",
"IT": "ภาษาอิตาลี",
"JAP": "ภาษาญี่ปุ่น",
"KI": "ภาษาจีน",
"PO": "ภาษาโปรตุเกส",
"SP": "ภาษาสเปน",
"SV": "ภาษาสวีเดน",
"SVA": "ภาษาสวีเดนเป็นภาษาที่สอง",
"TN": "ภาษามือ",
"TY": "ภาษาเยอรมัน",
"RY": "ภาษารัสเซีย",
"SAM": "ภาษาซามิ"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "skolplattformen",
"version": "2.12.0",
"version": "2.14.0",
"license": "MIT",
"scripts": {
"start": "nx start",