From b4f739e5062381f92ea6c38e54db3c471e754fdb Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 3 Jan 2023 01:01:59 +0100 Subject: [PATCH] Use translated text on disabled button of splitRoadWizard --- UI/Popup/SplitRoadWizard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Popup/SplitRoadWizard.ts b/UI/Popup/SplitRoadWizard.ts index df43c0969..ab963a8f5 100644 --- a/UI/Popup/SplitRoadWizard.ts +++ b/UI/Popup/SplitRoadWizard.ts @@ -113,7 +113,7 @@ export default class SplitRoadWizard extends Combine { }) saveButton.SetClass("btn btn-primary mr-3") - const disabledSaveButton = new Button("Split", undefined) + const disabledSaveButton = new Button(t.split.Clone(), undefined) disabledSaveButton.SetClass("btn btn-disabled mr-3") // Only show the save button if there are split points defined const saveToggle = new Toggle(