Translate surveyjs
This commit is contained in:
		
							parent
							
								
									534f9f3db6
								
							
						
					
					
						commit
						8492022a11
					
				@ -128,6 +128,7 @@ function generateHostPage(
 | 
			
		||||
                visibleIf: `{${f('legitimate_interest_activity_specified')}} = "precise" or {${f(
 | 
			
		||||
                    'consent_problems'
 | 
			
		||||
                )}} = "none"`,
 | 
			
		||||
                isRequired: true,
 | 
			
		||||
                choices: [
 | 
			
		||||
                    { value: 'yes', text: 'Tak' },
 | 
			
		||||
                    { value: 'no', text: 'Nie' },
 | 
			
		||||
@ -138,6 +139,7 @@ function generateHostPage(
 | 
			
		||||
                type: 'radiogroup',
 | 
			
		||||
                title: `Czy w {Twojej} ocenie wysłanie {Twoich} danych do właściciela domeny  ${host} było konieczne do świadczenia zażądanej przez {Ciebie} usługi drogą elektroniczną?`,
 | 
			
		||||
                name: f('was_processing_necessary'),
 | 
			
		||||
                isRequired: true,
 | 
			
		||||
                ...defaultValue('was_processing_necessary'),
 | 
			
		||||
                visibleIf: `{${f('legal_basis_type')}} = "legitimate_interest" or {${f(
 | 
			
		||||
                    'present'
 | 
			
		||||
@ -156,6 +158,10 @@ export default function generateSurveyQuestions(hosts: string[]) {
 | 
			
		||||
    return {
 | 
			
		||||
        showQuestionNumbers: 'off',
 | 
			
		||||
        showProgressBar: 'top',
 | 
			
		||||
        pagePrevText: 'Wróć',
 | 
			
		||||
        pageNextText: 'Dalej',
 | 
			
		||||
        completeText: 'Dalej',
 | 
			
		||||
        locale: 'pl',
 | 
			
		||||
        clearInvisibleValues: 'onHidden',
 | 
			
		||||
        pages: [
 | 
			
		||||
            {
 | 
			
		||||
 | 
			
		||||
@ -173,6 +173,10 @@ h1 {
 | 
			
		||||
    margin-bottom: 0.5rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.sv_q_radiogroup_label {
 | 
			
		||||
    cursor: pointer;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.sv_nav {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    margin: 2rem 0;
 | 
			
		||||
@ -180,7 +184,8 @@ h1 {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.sv_prev_btn,
 | 
			
		||||
.sv_next_btn {
 | 
			
		||||
.sv_next_btn,
 | 
			
		||||
.sv_complete_btn {
 | 
			
		||||
    border: 0;
 | 
			
		||||
    outline: 0;
 | 
			
		||||
    font-size: 0.875rem !important;
 | 
			
		||||
@ -189,7 +194,8 @@ h1 {
 | 
			
		||||
    cursor: pointer;
 | 
			
		||||
    min-width: 100px;
 | 
			
		||||
}
 | 
			
		||||
.sv_next_btn {
 | 
			
		||||
.sv_next_btn,
 | 
			
		||||
.sv_complete_btn {
 | 
			
		||||
    background-color: #000 !important;
 | 
			
		||||
    font-weight: 800 !important;
 | 
			
		||||
    padding: 0 1.5rem;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user