diff --git a/properties.schema b/properties.schema index 2079c63..974b211 100644 --- a/properties.schema +++ b/properties.schema @@ -15,7 +15,7 @@ "previous": { "type": "string", "required": true, - "default": "{{#if title}}Back to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.previous}}{{/if}}", + "default": "{{#if title}}Back to {{{title}}}{{else}}{{_globals._accessibility._ariaLabels.previous}}{{/if}} (item {{itemNumber}} of {{totalItems}})", "inputType": "Text", "validators": [], "translatable": true @@ -23,7 +23,7 @@ "next": { "type": "string", "required": true, - "default": "{{#if title}}Forward to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.next}}{{/if}}", + "default": "{{#if title}}Forward to {{{title}}}{{else}}{{_globals._accessibility._ariaLabels.next}}{{/if}} (item {{itemNumber}} of {{totalItems}})", "inputType": "Text", "validators": [], "translatable": true diff --git a/schema/course.schema.json b/schema/course.schema.json index 81bcbc5..80b3778 100644 --- a/schema/course.schema.json +++ b/schema/course.schema.json @@ -32,7 +32,7 @@ "previous": { "type": "string", "title": "Previous", - "default": "{{#if title}}Back to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.previous}}{{/if}}", + "default": "{{#if title}}Back to {{{title}}}{{else}}{{_globals._accessibility._ariaLabels.previous}}{{/if}} (item {{itemNumber}} of {{totalItems}})", "_adapt": { "translatable": true } @@ -40,7 +40,7 @@ "next": { "type": "string", "title": "Next", - "default": "{{#if title}}Forward to {{{title}}} (item {{itemNumber}} of {{totalItems}}){{else}}{{_globals._accessibility._ariaLabels.next}}{{/if}}", + "default": "{{#if title}}Forward to {{{title}}}{{else}}{{_globals._accessibility._ariaLabels.next}}{{/if}} (item {{itemNumber}} of {{totalItems}})", "_adapt": { "translatable": true }