first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<span>
|
||||
{% if value is same as(true) %}
|
||||
<i class="otgs-ico-ok"></i>
|
||||
{% elseif value is not same as(false) %}
|
||||
<span>
|
||||
{{ value }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</span>
|
||||
@@ -0,0 +1,43 @@
|
||||
<div class="wpml-wizard-step wpml-summary-step js-wpml-summary-step"
|
||||
data-mode='{{ mode }}'>
|
||||
|
||||
<h2 class="text-center">{{ strings.title }}</h2>
|
||||
|
||||
<div class="wpml-translators-wrapper">
|
||||
|
||||
{% if( translators|length > 0 ) %}
|
||||
<div class="wpml-local-translators js-wpml-local-translators">
|
||||
<h3>{{ strings.local_translators }}:</h3>
|
||||
<ul>
|
||||
{% for user in translators %}
|
||||
<li>{{ user.display_name }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="notice notice-success inline">
|
||||
<p>{{ strings.local_summary }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if ( translation_service ) %}
|
||||
<div class="wpml-translation-service js-wpml-translation-service">
|
||||
<h3>{{ strings.translation_service }}:</h3>
|
||||
<div class="wpml-translation-service-activated">
|
||||
<img src="{{ translation_service.logo_url }}">
|
||||
<strong>{{ translation_service.name }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wpml-tm-instructions">
|
||||
{{ strings.instructions|raw }}
|
||||
</div>
|
||||
|
||||
<div class="wpml-wizard-buttons-container">
|
||||
<button class="button button-secondary alignleft js-go-back">« {{ strings.go_back }}</button>
|
||||
<button class="button wpml-button button-lg alignright js-done">{{ strings.done }}</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,22 @@
|
||||
<div class="wpml-wizard-step wpml-translation-editor-step js-wpml-translation-editor-step">
|
||||
<div class="wpml-translation-editor-step__ate">
|
||||
<h2>An Advanced Translation Editor</h2>
|
||||
|
||||
<p>WPML’s Advanced Translation Editor allows you and your translators to translate faster, easier and more accurately. The editor includes key features like:</p>
|
||||
<ul>
|
||||
<li>Convenient translation for page-builder designs</li>
|
||||
<li>Automatic translation</li>
|
||||
<li>Translation memory and glossary</li>
|
||||
<li>A modern translation interface</li>
|
||||
</ul>
|
||||
|
||||
<div class="wpml-translation-editor-step__ate-cta">
|
||||
<button>Continue</button>
|
||||
<span class="spinner" ></span>
|
||||
<span class="error"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wpml-translation-editor-step__classic">
|
||||
<p>Prefer the old translation editor? <a href="#">Switch to WPML’s Classic Translation Editor</a><span class="spinner" ></span></p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,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>
|
||||
Reference in New Issue
Block a user