Skip to content

Commit bc1e8a2

Browse files
committed
translation strings
1 parent b57ec76 commit bc1e8a2

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

src/exporters/rawAnimation.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ function rawExport(exportData: aj.ExportData) {
2020

2121
if (!exporterSettings.outputJsonPath) {
2222
throw new CustomError(
23-
'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPath.title',
23+
'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPathUndefined.title',
2424
{
2525
intentional: true,
2626
dialog: {
27-
id: 'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPath',
27+
id: 'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPathUndefined',
2828
title: tl(
29-
'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPath.title'
29+
'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPathUndefined.title'
3030
),
3131
lines: [
3232
tl(
33-
'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPath.body'
33+
'animatedJava.exporters.rawAnimation.dialogs.errors.outputJsonPathUndefined.body'
3434
),
3535
],
3636
width: 512,
@@ -57,10 +57,10 @@ const Exporter = (AJ: any) => {
5757
{
5858
outputJsonPath: {
5959
title: tl(
60-
'animatedJava.exporters.rawAnimation.settings.outputJson.title'
60+
'animatedJava.exporters.rawAnimation.settings.outputJsonPath.title'
6161
),
6262
description: tl(
63-
'animatedJava.exporters.rawAnimations.settings.outputJson.description'
63+
'animatedJava.exporters.rawAnimation.settings.outputJsonPath.description'
6464
),
6565
type: 'filepath',
6666
default: '',

src/lang/en.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,22 @@ animatedJava:
375375
vanillaStatue:
376376
title: Statue Exporter
377377

378+
rawAnimation:
379+
title: Raw Animation
380+
381+
dialogs:
382+
errors:
383+
outputJsonPathUndefined:
384+
title: Output JSON Path Undefined
385+
body:
386+
- You must define an output JSON path in settings before you can export.
387+
388+
settings:
389+
outputJsonPath:
390+
title: Output JSON
391+
description:
392+
- Path to exported data file
393+
378394
#? Vanilla Animation Exporter
379395
vanillaAnimation:
380396
title: Animation Exporter

0 commit comments

Comments
 (0)