klaro-js icon indicating copy to clipboard operation
klaro-js copied to clipboard

privacyPolicy key misplaced in sample config

Open lgrapenthin opened this issue 2 years ago • 2 comments

https://github.com/klaro-org/klaro-js/blob/d2f8418ede6b7706090fd0d746a5bb0046772d45/dist/configs/i18n.js#L23

doesn't work in consentModal, needs to be on same level as consentModal

lgrapenthin avatar May 22 '23 16:05 lgrapenthin

Like this?

translations: {
        // translationsed defined under the 'zz' language code act as default
        // translations.
        en: {
            privacyPolicyUrl: 'https://new.abb.com/privacy-policy',
			privacyPolicy: {
						  text: 'To learn more, please read our',
				name: 'privacy policy',
			consentModal: {
                description:'Please select the optional cookies we can set on your device.',
				title: 'Cookie Consent Settings',
		
			},

for me it stops the banner from loading

kubcio avatar Jun 09 '23 11:06 kubcio

@kubcio Looks like you are missing a closing bracket

lgrapenthin avatar Jun 23 '23 17:06 lgrapenthin