* Create a shared DragDrop Zone
- This zone allows the dropping of files
- The zone allows validation by parent
- The zone allows customisation like icon shown
* Import Settings
- Ability to import settings from a JSON file
- Validation to ensure file compatibility
- Visualiser for viewing string differences
* i18n
- Moved all hardcoded values to be en localised
* Zod / Validation
This commit contains the code to move settings to using ZOD, the reason for this is so that we can validate the settings schema that is being imported.
This commit also adds various validation and transforms to ensure the settings being reimported match values we expect.
I also removed the original crude validation and replaced it with the new ZOD parser that will handle this for us.
Finally the "styles-settings" component will listen to any external content updates and update its value, the reasoning is the external import wouldn't update the existing value.
- Split Settings schema into two parts, schema that is validated on import and schema that is not
- Schemas are merged to make the full SettingsStateSchema
* Migrate during validation
- Migration is done as part of validation
- Updated the store version to v10 as there has been changes to the settings
- Migrate will now add the fields from v9 to v10
- the build was failing due to ids not being mapped to their enum values
---------
Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.7% (714 of 716 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.8% (715 of 716 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (716 of 716 strings)
Co-authored-by: ENDzZ <godzmichael@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 無情天 <kofzhanganguo@126.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hans/
Translation: feishin/Translation
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 99.8% (715 of 716 strings)
Co-authored-by: ENDzZ <godzmichael@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: linger <linger0517@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hant/
Translation: feishin/Translation
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (716 of 716 strings)
Co-authored-by: ENDzZ <godzmichael@outlook.com>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/cs/
Translation: feishin/Translation
Currently translated at 90.6% (649 of 716 strings)
Translated using Weblate (Basque)
Currently translated at 90.5% (648 of 716 strings)
Translated using Weblate (Basque)
Currently translated at 90.6% (649 of 716 strings)
Translated using Weblate (Basque)
Currently translated at 90.5% (648 of 716 strings)
Translated using Weblate (Basque)
Currently translated at 89.6% (642 of 716 strings)
Translated using Weblate (Basque)
Currently translated at 82.6% (592 of 716 strings)
Co-authored-by: Aitor Astorga <a.astorga.sdv@protonmail.com>
Co-authored-by: ENDzZ <godzmichael@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/eu/
Translation: feishin/Translation
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (English)
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (English)
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (English)
Currently translated at 100.0% (716 of 716 strings)
Co-authored-by: ENDzZ <godzmichael@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/en/
Translation: feishin/Translation
Currently translated at 87.7% (628 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.7% (628 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.7% (628 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.7% (628 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.7% (628 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.7% (628 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.7% (628 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.0% (623 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.0% (623 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.0% (623 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.0% (623 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.0% (623 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.0% (623 of 716 strings)
Translated using Weblate (German)
Currently translated at 87.0% (623 of 716 strings)
Co-authored-by: ENDzZ <godzmichael@outlook.com>
Co-authored-by: Erik Val <Elaktrato@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Rudi Mentaire <stoertebecker@byom.de>
Co-authored-by: Trrevvoorr <trevinofficial@hotmail.com>
Co-authored-by: full name <hosted-weblate.5w160@dralias.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/de/
Translation: feishin/Translation
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 92.5% (663 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 73.3% (525 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 70.1% (502 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 70.1% (502 of 716 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.2% (474 of 716 strings)
Co-authored-by: Cyber Hippie <neves.j@protonmail.com>
Co-authored-by: Guima7K <renanacaue@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/pt_BR/
Translation: feishin/Translation
Currently translated at 100.0% (714 of 714 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (714 of 714 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (710 of 710 strings)
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (706 of 706 strings)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 無情天 <kofzhanganguo@126.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hans/
Translation: feishin/Translation
Currently translated at 100.0% (706 of 706 strings)
Translated using Weblate (French)
Currently translated at 100.0% (699 of 699 strings)
Translated using Weblate (French)
Currently translated at 100.0% (699 of 699 strings)
Translated using Weblate (French)
Currently translated at 100.0% (699 of 699 strings)
Co-authored-by: Dylan MONTIGAUD <dylanmontigaud17@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/fr/
Translation: feishin/Translation