Skip to content

Commit 8d15bda

Browse files
committed
Added new super-compact-fancy-settings-ui:TM:
- WIP translation string update
1 parent 54d99c0 commit 8d15bda

File tree

6 files changed

+376
-368
lines changed

6 files changed

+376
-368
lines changed

src/exporters/animationExporter.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,7 @@ async function createMCFile(
769769
lines: tl(
770770
'animatedJava_exporter_animationExporter.popup.warning.noAnimations.body'
771771
)
772-
.split('\n')
773-
.map((line: string) => `<p>${line}</p>`),
772+
774773
},
775774
})
776775
}
@@ -795,8 +794,6 @@ async function createMCFile(
795794
animationName: animation.name,
796795
}
797796
)
798-
.split('\n')
799-
.map((line: string) => `<p>${line}</p>`),
800797
},
801798
})
802799
}
@@ -1057,8 +1054,7 @@ async function exportMCFile(
10571054
lines: tl(
10581055
'animatedJava_exporter_animationExporter.popup.error.mcbFilePathNotDefined.body'
10591056
)
1060-
.split('\n')
1061-
.map((line: string) => `<p>${line}</p>`),
1057+
10621058
},
10631059
}
10641060
)
@@ -1089,8 +1085,7 @@ async function exportDataPack(
10891085
lines: tl(
10901086
'animatedJava_exporter_animationExporter.popup.error.dataPackFilePathNotDefined.body'
10911087
)
1092-
.split('\n')
1093-
.map((line: string) => `<p>${line}</p>`),
1088+
10941089
},
10951090
}
10961091
)
@@ -1269,6 +1264,8 @@ const Exporter = (AJ: any) => {
12691264
'animatedJava_exporter_animationExporter',
12701265
{
12711266
rootEntityType: {
1267+
title: tl('animatedJava.exporter.generic.setting.rootEntityType.name'),
1268+
description: tl(''),
12721269
type: 'text',
12731270
default: 'minecraft:marker',
12741271
onUpdate(d: aj.SettingDescriptor) {
@@ -1486,6 +1483,8 @@ const Exporter = (AJ: any) => {
14861483
],
14871484
},
14881485
mcbConfigPath: {
1486+
title: tl('setting.mcbConfigPath.title'),
1487+
description: tl('setting.mcbConfigPath.description'),
14891488
type: 'filepath',
14901489
default: '',
14911490
optional: true,

src/exporters/statueExporter.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,6 @@ async function exportMCFile(
379379
lines: tl(
380380
'animatedJava_exporter_statueExporter.popup.error.mcbFilePathNotDefined.body'
381381
)
382-
.split('\n')
383-
.map((line: string) => `<p>${line}</p>`),
384382
},
385383
})
386384
}
@@ -408,8 +406,6 @@ async function exportDataPack(
408406
lines: tl(
409407
'animatedJava_exporter_statueExporter.popup.error.dataPackFilePathNotDefined.body'
410408
)
411-
.split('\n')
412-
.map((line: string) => `<p>${line}</p>`),
413409
},
414410
})
415411
}

0 commit comments

Comments
 (0)