You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: runner/src/server/plugins/engine/page-controllers/RepeatingFieldPageController.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -97,13 +97,11 @@ export class RepeatingFieldPageController extends PageController {
97
97
this.tableEmptyMessageTitle=this.options.customText&&this.options.customText.samePageTableItemName ? `You have not added any ${this.options.customText.samePageTableItemName}s yet` : "You have not added any costs yet";
98
98
//@ts-ignore
99
99
this.tableEmptyMessageHint=this.options.customText&&this.options.customText.samePageTableItemName ? `Each ${this.options.customText.samePageTableItemName} you add will be shown here` : "Each cost you add will be shown here";
100
-
this.saveText="Save and add another";
101
100
if(model?.def?.metadata?.isWelsh){
102
101
//@ts-ignore
103
102
this.tableEmptyMessageTitle=this.options.customText&&this.options.customText.samePageTableItemName ? `Nid ydych chi wedi ychwanegu unrhyw ${this.options.customText.samePageTableItemName} eto` : "Nid ydych chi wedi ychwanegu unrhyw gostau eto";
104
103
//@ts-ignore
105
104
this.tableEmptyMessageHint=this.options.customText&&this.options.customText.samePageTableItemName ? `Bydd pob ${this.options.customText.samePageTableItemName} yr ychwanegwch yn cael ei dangos yma` : "Bydd pob cost yr ychwanegwch yn cael ei dangos yma";
106
-
this.saveText="Cadw ac ychwanegu un arall";
107
105
}
108
106
}
109
107
@@ -246,7 +244,9 @@ export class RepeatingFieldPageController extends PageController {
0 commit comments