3030</template >
3131<script setup lang="ts">
3232const uiStore = useUIStore ();
33- const translationStore = useTranslationStore ();
33+ const jsonStore = useJsonStore ();
3434
3535const { showError } = useFlash ();
3636
@@ -55,30 +55,28 @@ const { showError } = useFlash();
5555const jsonFiles = computed (() => {
5656 return [
5757 {
58- changed: translationStore .changedGroups .includes (" literature" ),
59- data: translationStore .translations .literature ,
58+ changed: jsonStore .changedGroups .includes (" literature" ),
59+ data: jsonStore .translations .literature ,
6060 name: " Literature" ,
6161 },
6262 {
63- changed: translationStore .changedGroups .includes (" outlines" ),
64- data: translationStore .translations .outlines ,
63+ changed: jsonStore .changedGroups .includes (" outlines" ),
64+ data: jsonStore .translations .outlines ,
6565 name: " Outlines" ,
6666 },
6767 {
68- changed:
69- JSON .stringify (uiStore .translations ) !==
70- JSON .stringify (uiStore .remoteTranslations ),
68+ changed: false , // Don't include in zip file
7169 data: uiStore .translations ,
7270 name: " ProgramUI" ,
7371 },
7472 {
75- changed: translationStore .changedGroups .includes (" songs" ),
76- data: translationStore .translations .songs ,
73+ changed: jsonStore .changedGroups .includes (" songs" ),
74+ data: jsonStore .translations .songs ,
7775 name: " Songs" ,
7876 },
7977 {
80- changed: translationStore .changedGroups .includes (" tips" ),
81- data: translationStore .translations .tips ,
78+ changed: jsonStore .changedGroups .includes (" tips" ),
79+ data: jsonStore .translations .tips ,
8280 name: " Tips" ,
8381 },
8482 ];
0 commit comments