first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<div class="wpml-translation-action-buttons-abort">
|
||||
<button class="cancel wpml-dialog-close-button js-dialog-cancel"><%=cancel%></button>
|
||||
<button class="button-secondary wpml-resign-button js-resign"><%=resign%></button>
|
||||
</div>
|
||||
<div class="wpml-translation-action-buttons-status">
|
||||
<div class="progress-bar js-progress-bar"><div class="progress-bar-text"></div></div>
|
||||
<label><input class="js-translation-complete" name="complete" type="checkbox"/><%=translation_complete%></label>
|
||||
|
||||
|
||||
<div class="otgs-toggle-group">
|
||||
<input type="checkbox" class="js-toggle-translated otgs-switcher-input" id="wpml_tm_toggle_translated">
|
||||
<label for="wpml_tm_toggle_translated" class="otgs-switcher" data-on="ON" data-off="OFF"><%=hide_translated%></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class = "wpml-translation-action-buttons-apply">
|
||||
<span class = "js-saving-message" style = "display:none"><img src="<%=loading_url%>" alt="<%=saving%>" height="16" width="16"/><%=saving%></span>
|
||||
<button class = "button button-primary button-large wpml-dialog-close-button js-save-and-close"><%=save_and_close%></button>
|
||||
<button class = "button button-primary button-large wpml-dialog-close-button js-save"><%=save%></button>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<% if ( title ) { %><%= title %><% } %>
|
||||
<div class="inside">
|
||||
</div>
|
||||
|
||||
<% if ( divider ) { %>
|
||||
<hr />
|
||||
<% } %>
|
||||
<button class="button-copy button-secondary js-button-copy-group">
|
||||
<i class="otgs-ico-copy"></i>
|
||||
</button>
|
||||
@@ -0,0 +1,2 @@
|
||||
<%= title %>
|
||||
<a href="<%= link_url %>" class="view" target="_blank"><%= link_text %></a>
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="inside">
|
||||
<img src="<%= image_src %>">
|
||||
</div>
|
||||
|
||||
|
||||
<% if ( divider ) { %>
|
||||
<hr />
|
||||
<% } %>
|
||||
@@ -0,0 +1,17 @@
|
||||
<input type="hidden" name="source_lang" value="<%= language.source %>" />
|
||||
<input type="hidden" name="target_lang" value="<%= language.target %>" />
|
||||
<h3 class="wpml-header-original"><%= labels.source_lang %>:
|
||||
<span class="wpml-title-flag"><img src="<%= language.img.source_url %>" alt="<%= language.source_lang %>"/></span>
|
||||
<strong><%= language.source_lang %></strong>
|
||||
</h3>
|
||||
|
||||
<h3 class="wpml-header-translation"><%= labels.target_lang %>:
|
||||
<span class="wpml-title-flag"><img src="<%= language.img.target_url %>" alt="<%= language.target_lang %>"/></span>
|
||||
<strong><%= language.target_lang %></strong>
|
||||
</h3>
|
||||
|
||||
<div class="wpml-copy-container">
|
||||
<button class="button-secondary button-copy-all js-button-copy-all" title="<%= labels.copy_from_original %>">
|
||||
<i class="otgs-ico-copy"></i> <%= labels.copy_all %>
|
||||
</button>
|
||||
</div>
|
||||
@@ -0,0 +1,2 @@
|
||||
<p><%= note %></p>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<div class="handlediv button-link"><br></div>
|
||||
<h3 class="hndle">
|
||||
<span><%= section.title %> <% if ( section.empty ) { %> <i><%= section.empty_message %><% } %></span>
|
||||
<% if ( section.sub_title ) { %>
|
||||
<span class="subtitle"><i class="otgs-ico-warning"></i><%= section.sub_title %></span>
|
||||
<% } %>
|
||||
</h3>
|
||||
|
||||
<div class="inside">
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
<label><%=field.title%></label>
|
||||
<input readonly class="original_value js-original-value" value="<%- field.field_data %>" type="text" <%=field.original_direction%>/>
|
||||
<button class="button-copy button-secondary js-button-copy icl_tm_copy_link otgs-ico-copy" id="icl_tm_copy_link_<%=field.field_type%>" title="<%= labels.copy_from_original %>" ></button>
|
||||
<input class="translated_value js-translated-value" name="fields[<%=field.field_type%>][data]" value="<%- field.field_data_translated %>" type="text" <%=field.translation_direction%>/>
|
||||
|
||||
<div class="field_translation_complete">
|
||||
<label><input class="icl_tm_finished js-field-translation-complete" name="fields[<%=field.field_type%>][finished]" type="checkbox" <% if (field.field_finished) { %> checked="checked" <% } %> /><%=labels.translation_complete%></label>
|
||||
</div>
|
||||
|
||||
<% if (field.diff) { %>
|
||||
<a class="js-toggle-diff toggle-diff"><%=labels.show_diff%></a>
|
||||
<%=field.diff%>
|
||||
<% } %>
|
||||
|
||||
|
||||
<input type="hidden" name="fields[<%=field.field_type%>][tid]" value="<%=field.tid%>">
|
||||
<input type="hidden" name="fields[<%=field.field_type%>][format]" value="base64">
|
||||
@@ -0,0 +1,17 @@
|
||||
<label><%=field.title%></label>
|
||||
<textarea class="original_value js-original-value" readonly cols="22" rows="10" <%=field.original_direction%>><%= field.field_data %></textarea>
|
||||
<button class="button-copy button-secondary js-button-copy icl_tm_copy_link otgs-ico-copy" id="icl_tm_copy_link_<%=field.field_type%>" title="<%= labels.copy_from_original %>"></button>
|
||||
<textarea class="translated_value js-translated-value cols="22" rows="10" name="fields[<%=field.field_type%>][data]" <%=field.translation_direction%>><%= field.field_data_translated %></textarea>
|
||||
|
||||
<div class="field_translation_complete">
|
||||
<label><input class="icl_tm_finished js-field-translation-complete" name="fields[<%=field.field_type%>][finished]" type="checkbox" <% if (field.field_finished) { %> checked="checked" <% } %> /><%=labels.translation_complete%></label>
|
||||
</div>
|
||||
|
||||
<% if (field.diff) { %>
|
||||
<a class="js-toggle-diff toggle-diff"><%=labels.show_diff%></a>
|
||||
<%=field.diff%>
|
||||
<% } %>
|
||||
|
||||
|
||||
<input type="hidden" name="fields[<%=field.field_type%>][tid]" value="<%=field.tid%>">
|
||||
<input type="hidden" name="fields[<%=field.field_type%>][format]" value="base64">
|
||||
@@ -0,0 +1,17 @@
|
||||
<label><%=field.title%></label>
|
||||
<div id="original_<%=field.field_type%>_placeholder"></div>
|
||||
<button class="button-copy button-secondary js-button-copy icl_tm_copy_link otgs-ico-copy" id="icl_tm_copy_link_<%=field.field_type%>" title="<%= labels.copy_from_original %>"></button>
|
||||
<div id="translated_<%=field.field_type%>_placeholder"></div>
|
||||
<input type="hidden" name="fields[<%=field.field_type%>][tid]" value="<%=field.tid%>">
|
||||
<input type="hidden" name="fields[<%=field.field_type%>][format]" value="base64">
|
||||
|
||||
<div class="field_translation_complete">
|
||||
<label><input class="icl_tm_finished js-field-translation-complete" name="fields[<%=field.field_type%>][finished]" type="checkbox" <% if (field.field_finished) { %> checked="checked" <% } %> /><%=labels.translation_complete%></label>
|
||||
</div>
|
||||
|
||||
<% if (field.diff) { %>
|
||||
<a class="js-toggle-diff toggle-diff"><%=labels.show_diff%></a>
|
||||
<%=field.diff%>
|
||||
<% } %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user