Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
v0.12.3 works on fixing the broken translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteMasterEric committed Apr 8, 2021
1 parent ea75edf commit 4bfa686
Show file tree
Hide file tree
Showing 35 changed files with 4,220 additions and 14,342 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1152,4 +1152,7 @@ Here is a summary of major changes from v0.10.0-v0.10.4:

# 0.12.3 Translation Fixes

- [ ] Overhauled the POEditor entries to match the many changes to i18n in versions 0.11 and 0.12.
- Overhauled the POEditor entries to match the many changes to i18n in versions 0.11 and 0.12.
- Added Chinese (Taiwan) language.
- Imported partial translations from POEditor.
- Translations in all non-English languages need some cleanup now. Please contribute if you can!
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genshin-map",
"version": "0.12.2-alpha",
"version": "0.12.3-alpha",
"license": "GPL-3.0",
"homepage": "https://genshinmap.github.io/",
"bugs": {
Expand Down
1 change: 1 addition & 0 deletions src/components/i18n/Flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const languageFlags: { [key in LanguageCode]: any } = {
th: require(`svg-country-flags/svg/th.svg`).default,
vi: require(`svg-country-flags/svg/vi.svg`).default,
zh: require(`svg-country-flags/svg/cn.svg`).default,
'zh-tw': require(`svg-country-flags/svg/tw.svg`).default,
};

export const getLanguageFlag = (code: LanguageCode) => languageFlags[code];
83 changes: 19 additions & 64 deletions src/data/features/liyue/special/book.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,10 @@
},
"data": [
{
"coordinates": [
-33.05237,
28.66604
],
"coordinates": [-33.05237, 28.66604],
"id": "74139051BFBFE2570C45B09BD1014B8257F34EA0",
"importIds": {
"yuanshen": [
"114_1"
]
"yuanshen": ["114_1"]
},
"popupTitle": {
"en": "Records of Jueyun - Vol. 3",
Expand All @@ -41,15 +36,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-29.89989,
33.05281
],
"coordinates": [-29.89989, 33.05281],
"id": "F7A77A2E129BFB2C24BDD6586E57F8224E7F1C94",
"importIds": {
"yuanshen": [
"114_2"
]
"yuanshen": ["114_2"]
},
"popupTitle": {
"en": "Diary of Roald the Adventurer - Vol. 1",
Expand All @@ -62,15 +52,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-26.44766,
24.20468
],
"coordinates": [-26.44766, 24.20468],
"id": "3D3AB7F5467A15D71354F822C227735380091095",
"importIds": {
"yuanshen": [
"114_3"
]
"yuanshen": ["114_3"]
},
"popupTitle": {
"en": "Diary of Roald the Adventurer - Vol. 2",
Expand All @@ -83,15 +68,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-48.05312,
28.72813
],
"coordinates": [-48.05312, 28.72813],
"id": "FE190F78E1980932E8D82BE805C9E45D29C793D1",
"importIds": {
"yuanshen": [
"114_4"
]
"yuanshen": ["114_4"]
},
"popupTitle": {
"en": "Broken Dreams · Stone Heart ",
Expand All @@ -101,15 +81,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-48.13907,
28.9026
],
"coordinates": [-48.13907, 28.9026],
"id": "5249585C484E76B57202742D77325C99698CAE8A",
"importIds": {
"yuanshen": [
"114_5"
]
"yuanshen": ["114_5"]
},
"popupTitle": {
"en": "The Travels of Emperor Junchen 2",
Expand All @@ -119,15 +94,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-33.30971,
28.66738
],
"coordinates": [-33.30971, 28.66738],
"id": "224A765DE897F0CA9953F6C285D9BF3B6C455C22",
"importIds": {
"yuanshen": [
"114_6"
]
"yuanshen": ["114_6"]
},
"popupTitle": {
"en": "Emperor Junchen's Travels · 3 ",
Expand All @@ -137,15 +107,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-49.4711,
29.5862
],
"coordinates": [-49.4711, 29.5862],
"id": "45F529764285FFD2782BDA1259F6804CCDD847E1",
"importIds": {
"yuanshen": [
"114_7"
]
"yuanshen": ["114_7"]
},
"popupTitle": {
"en": "Lian Xinzhu · Volume One",
Expand All @@ -155,15 +120,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-52.9164,
19.41042
],
"coordinates": [-52.9164, 19.41042],
"id": "422BA05A7A99B0B827ACBBC675911175F55EE16B",
"importIds": {
"yuanshen": [
"114_8"
]
"yuanshen": ["114_8"]
},
"popupTitle": {
"en": "Adventurer Roald's Journal",
Expand All @@ -173,15 +133,10 @@
"popupAttribution": "Yuanshen.site"
},
{
"coordinates": [
-30.75365,
23.31016
],
"coordinates": [-30.75365, 23.31016],
"id": "85830CEDAAFB4E49E223D6103BE4994C2B2CBA80",
"importIds": {
"yuanshen": [
"114_9"
]
"yuanshen": ["114_9"]
},
"popupTitle": {
"en": "Adventurer Roald's Journal",
Expand All @@ -191,4 +146,4 @@
"popupAttribution": "Yuanshen.site"
}
]
}
}
Loading

0 comments on commit 4bfa686

Please sign in to comment.