# You must use a tab-size of 4 spaces to edit this file.
---
sections:
    translations:
        custom_template_buttons_current:
            'znz_dropdown':
                label: '[[id]]'
                css_class: 'zenario_at_trans_dropdown zenario_at_trans_dropdown__[[status]] zenario_at_trans_dropdown_current'
            'znz_this':
                label: 'This is the [[english_name]] translation'
                label_og: 'This is the original (in [[english_name]])'
                parent: 'znz_dropdown'
                frontend_link: ''
        
        custom_template_buttons_exists:
            'znz_dropdown':
                label: '[[id]]'
                css_class: 'zenario_at_trans_dropdown zenario_at_trans_dropdown__[[status]]'
            'znz_go':
                label: 'Go to [[english_name]] translation'
                label_og: 'Go to the original (in [[english_name]])'
                parent: 'znz_dropdown'
                frontend_link: ''
        
        custom_template_buttons_missing_cant_create:
            'znz_dropdown':
                label: '[[id]]'
                css_class: 'zenario_at_trans_dropdown zenario_at_trans_dropdown__missing'
            
        custom_template_buttons_missing_can_create:
            'znz_dropdown':
                label: '[[id]]'
                css_class: 'zenario_at_trans_dropdown zenario_at_trans_dropdown__missing'
            
            'znz_create':
                label: 'Create a translation in [[english_name]]'
                parent: 'znz_dropdown'
                admin_box: 
                    path: zenario_content
                    key: 
                        id: 'zlangIdz'
                        translate: 1
            
            'znz_add_existing_translation_to_chain':
                label: 'Add an existing content item in [[english_name]] to this chain'
                parent: 'znz_dropdown'
                pick_items:
                    path: zenario__content/panels/content/refiners/add_translation_to_chain//zlangIdz//
                    min_path: zenario__content/panels/content
                    max_path: zenario__content/panels/content
                    target_path: zenario__content/panels/content
                    disallow_refiners_looping_on_min_path: true
                    one_to_one_choose_phrase: Add to chain
                    disabled_if_for_all_selected_items: |
                        item.is_collision
                    ajax:
                        confirm:
                            message: |
                                Add this content item to the translation chain?
                            button_message: Add
                            cancel_button_message: Cancel
                            message_type: warning
                        request:
                            add_existing_translation_to_chain: 1
        
        
        buttons: {}
