who-will-translate-step.twig
4.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<div class="wpml-wizard-step wpml-who-will-translate-step js-who-will-translate-step"
data-nonce="{{ nonce }}"
data-mode='{{ mode }}'
>
<div class="js-main">
<h2 class="text-center">{{ strings.title }}</h2>
<div class="wpml-who-will-translate-option">
<input type="checkbox" class="js-only-i" id="who-only-i"/>
<label for="who-only-i">{{ strings.only_i }}</label>
{% include 'help-tooltip.twig' with {'help': strings.only_i_help} %}
</div>
<div class="wpml-who-will-translate-option">
<input type="checkbox" class="js-users" id="who-users"/>
<label for="who-users">{{ strings.users }}</label>
{% include 'help-tooltip.twig' with {'help': strings.users_help} %}
</div>
<div class="js-users-section js-section wpml-who-will-translate-settings" style="display:none">
{{ translators_ui|raw }}
</div>
<div class="wpml-who-will-translate-option">
<input type="checkbox" class="js-translation-service" id="who-translation-service"/>
<label for="who-translation-service">{{ strings.translation_service }}</label>
{% include 'help-tooltip.twig' with {'help': strings.translation_service_help} %}
</div>
<div class="js-translation-service-section js-section wpml-who-will-translate-settings" style="display:none">
<div class="wpml-section js-choose-section text-center">
<button class="button-primary js-choose-translation-service">{{ strings.choose_translation_service }}</button>
</div>
<div class="wpml-section js-selected-section" style="display: none">
</div>
<div id="js-translation-services-dialog"
class=""
title="{{ strings.translation_service_dialog.title }}"
style="display:none"
data-cancel-text="{{ strings.dialog_cancel }}"
>
<p>{{ strings.translation_service_dialog.into }}</p>
{{ translation_services_table | raw }}
</div>
<div id="js-activate-translation-services-dialog"
class="ts-activate-section"
data-title="{{ strings.activate_translation_service_dialog.title }}"
style="display: none"
data-cancel-text="« {{ strings.activate_translation_service_dialog.cancel }}"
data-ok-text="{{ strings.activate_translation_service_dialog.ok }}"
>
<div class="ts-activate-logo">
<img class="js-activate-logo" src="">
</div>
<div class="ts-activate-content">
<p class="js-connect-desc"
data-text="{{ strings.activate_translation_service_dialog.connect_desc }}"></p>
<p><a href="" class="wpml-external-link js-connect-how-to-find"
data-text="{{ strings.activate_translation_service_dialog.connect_how_to_find }}"
target="_blank"></a></p>
<div class="custom_fields_wrapper js-custom-fields-wrapper"></div>
<div class="notice notice-error inline js-error-message ts-activate-notice"
style="display: none"></div>
<p class="js-create-account ts-create-account-link"
data-text="{{ strings.activate_translation_service_dialog.no_account }}">
<span></span> <a class="wpml-external-link" href=""
target="_blank">{{ strings.activate_translation_service_dialog.create_one }}</a>
</p>
</div>
</div>
</div>
{% if is_administrator %}
<div class="wpml-who-will-translate-option">
<input type="checkbox" class="js-leave-choice" id="who-leave-choice"/>
<label for="who-leave-choice">{{ strings.leave_choice }}</label>
{% include 'help-tooltip.twig' with {'help': strings.leave_choice_help } %}
</div>
<div class="js-leave-choice-section js-section wpml-who-will-translate-settings" style="display:none">
{{ translation_manager_ui|raw }}
</div>
{% endif %}
<div class="wpml-wizard-buttons-container ">
<button class="button wpml-button button-lg alignright js-continue button-primary">{{ strings.button_text }} »</button>
</div>
</div>
</div>