Skip to content

Commit

Permalink
Merge pull request #1172 from percussion/438-not-all-areas-of-the-ui-…
Browse files Browse the repository at this point in the history
…are-in-spanish-when-selecting-the-spanish-locale-at-login

 Not all areas of the UI are in Spanish when selecting the Spanish Locale at login #438
  • Loading branch information
natechadwick authored Nov 27, 2023
2 parents c07f366 + b861bf1 commit cd94fa6
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
<script src="/cm/jslib/profiles/3x/jquery/plugins/jquery-perc-retiredjs/jquery.text-overflow.js" ></script>
<script src="/cm/gadgets/repository/perc_activity_gadget/perc_activity_gadget.js" ></script>
<script src="/Rhythmyx/tmx/tmx.jsp?mode=js&amp;prefix=perc.ui.&amp;"></script>
<script >
var loadingMsg = null;
Expand All @@ -81,6 +83,7 @@
<script>
$(document).ready(function() {
document.getElementById('perc-field-howmany-validation').innerText=I18N.message("perc.ui.activity.gadget@How Many");
$("#perc-field-howmany-validation").hide();
var messageFlag = false;
Expand All @@ -107,7 +110,7 @@
site = result;
}
var site_title = site == "" ? "All Sites" : site;
var title = "ACTIVITY: During Last " + durationValue + " " + durationType + " (" + site_title + ")";
var title = I18N.message("perc.ui.activity.gadget@Activity During Last") + " " + durationValue + " " + durationType + " (" + site_title + ")";
gadgets.window.setTitle(title);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,35 @@
<script src="/cm/gadgets/repository/perc_bulk_file_upload_gadget/js/perc_bulk_file_upload_finder_tree.js"></script>
<script src="/cm/gadgets/repository/perc_bulk_file_upload_gadget/js/perc_bulk_file_upload.js"></script>
<script>
$(document).ready(function() {
document.getElementById('perc-bulk-target-collapser').title=I18N.message("perc.ui.gadget.bulkUpload@Expand Target Folder");
document.getElementById('perc-bulk-target-folder-label').innerText=I18N.message("perc.ui.gadget.bulkUpload@Target folder");
document.getElementById('perc-bulk-target-folder').innerText=I18N.message("perc.ui.gadget.bulkUpload@Select target folder");
document.getElementById('bulk_approve').title=I18N.message("perc.ui.gadget.bulkUpload@Approves Uploads");
document.getElementById('perc-bulk-approve-onupload-label').innerText=I18N.message("perc.ui.gadget.bulkUpload@Approve assets");
document.getElementById('perc-bulk-asset-type').innerText=I18N.message("perc.ui.gadget.bulkUpload@Asset type");
document.getElementById('perc-html-selector-label').innerText=I18N.message("perc.ui.gadget.bulkUpload@Extract HTML");
document.getElementById('perc-html-selector').title=I18N.message("perc.ui.gadget.bulkUpload@Valid Css");
document.getElementById('perc-html-include-outerhtml').title=I18N.message("perc.ui.gadget.bulkUpload@Outer Html");
document.getElementById('perc-html-include-innerhtml').title=I18N.message("perc.ui.gadget.bulkUpload@Inner Html");
document.getElementById('perc-files-upload-label').innerText=I18N.message("perc.ui.gadget.bulkUpload@Add files for upload");
document.getElementById('perc-files-upload').title=I18N.message("perc.ui.gadget.bulkUpload@Add files for upload");
document.getElementById('perc-upload-start').title=I18N.message("perc.ui.gadget.bulkUpload@Start upload");
document.getElementById('perc-upload-start-span').innerText=I18N.message("perc.ui.gadget.bulkUpload@Start upload");
document.getElementById('perc-upload-cancel').title=I18N.message("perc.ui.gadget.bulkUpload@Cancel upload");
document.getElementById('perc-upload-cancel-span').innerText=I18N.message("perc.ui.gadget.bulkUpload@Cancel upload");
document.getElementById('perc-upload-clear').title=I18N.message("perc.ui.gadget.bulkUpload@Clear uploads");
document.getElementById('perc-upload-clear-span').innerText=I18N.message("perc.ui.gadget.bulkUpload@Clear All");
document.getElementById('perc-bulk-details-collapser').title=I18N.message("perc.ui.gadget.bulkUpload@Expand upload details");
document.getElementById('perc-bulk-details-label').innerText=I18N.message("perc.ui.perc.categories@Details");
document.getElementById('perc-bulk-status').innerText=I18N.message("perc.ui.gadget.bulkUpload@Zero Files Queued");
document.getElementById('perc-bulk-name').innerText=I18N.message("perc.ui.gadget.bulkUpload@Name");
document.getElementById('perc-bulk-size').innerText=I18N.message("perc.ui.gadget.bulkUpload@Size");
document.getElementById('perc-bulk-type').innerText=I18N.message("perc.ui.gadget.bulkUpload@Type");
});
</script>
<!-- HTML -->
<div class="perc-gadget perc-bulk-file-upload-gadget" id="fileupload" data-module-id="__MODULE_ID__">
<!-- DynaTree Folder Selection -->
Expand All @@ -48,7 +77,7 @@
</div>
<br/>
<div style="clear: both;"></div>
<label class="perc-label" for="perc-bulk-asset-type">Asset type:</label><br />
<label id="perc-bulk-asset-type" class="perc-label" for="perc-bulk-asset-type">Asset type:</label><br />
<select id="perc-bulk-asset-type">
<option value="file" selected>File</option>
<option value="flash">Flash</option>
Expand All @@ -60,7 +89,7 @@
<br />
<div style="height: 10px;"></div>
<div id = "perc-selector-wrapper">
<label class = "perc-label" for="perc-html-selector">Extract HTML from element:</label><br />
<label class = "perc-label" id="perc-html-selector-label" for="perc-html-selector">Extract HTML from element:</label><br />
<input title = "Enter any valid CSS3 Selector to specify the element." type = "text" id = "perc-html-selector" />
<div style="height: 10px;"></div>
<div id = "perc-selector-options">
Expand All @@ -80,24 +109,24 @@
<!-- The fileinput-button span is used to style the file input field as button -->
<span id="perc-upload-add" class="btn perc-button btn-primary fileinput-button">
<span aria-hidden="true" class="glyphicon glyphicon-plus"></span>
<label for="perc-files-upload" >Add files for upload</label>
<label id="perc-files-upload-label" for="perc-files-upload" >Add files for upload</label>
<input tabindex="0" type="file" id="perc-files-upload" name="files[]" title="Add files for upload" multiple>
</span>
<button tabindex="0" id="perc-upload-start" title="Start upload" type="submit" class="btn perc-button btn-primary" aria-label="Start upload">
<span aria-hidden="true" class="glyphicon glyphicon-upload"></span>
<span>Start upload</span>
<span id="perc-upload-start-span">Start upload</span>
</button>
<!-- invisibile button to trigger upload start -->
<button id="perc-upload-trigger" type="button" aria-hidden="true" hidden></button>
<br/>
<br/>
<button tabindex="0" id="perc-upload-cancel" title="Cancel upload" type="button" class="btn perc-button btn-primary" aria-label="Cancel upload">
<span aria-hidden="true" class="glyphicon glyphicon-ban-circle"></span>
<span>Cancel upload</span>
<span id="perc-upload-cancel-span">Cancel upload</span>
</button>
<button tabindex="0" id="perc-upload-clear" title="Clear uploads" type="button" class="btn btn-primary perc-button delete" aria-label="Clear uploads">
<span aria-hidden="true" class="glyphicon glyphicon-trash"></span>
<span>Clear All</span>
<span id="perc-upload-clear-span">Clear All</span>
</button>
</div>
<!-- The global progress state -->
Expand All @@ -121,9 +150,9 @@
<table id="perc-added-files" role="presentation" class="table table-striped">
<tbody class="files">
<tr>
<th>Name</th>
<th>Size</th>
<th colspan="2">Type</th>
<th id="perc-bulk-name">Name</th>
<th id="perc-bulk-size">Size</th>
<th id="perc-bulk-type" colspan="2">Type</th>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
} else {
miniMsg.dismissMessage(loadingMsg);
$("#perc-comments-gadget")
.html("<div class='dataTables_empty perc-gadget-errormessage'>Please select a site in the settings</div>");
.html("<div id='perc-comment-select-site' class='dataTables_empty perc-gadget-errormessage'>Please select a site in the settings</div>");
document.getElementById('perc-comment-select-site').innerText=I18N.message("perc.ui.gadgets.comments@Select Site");
}
$("body").css("overflow","hidden");
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6217,6 +6217,16 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>MODERACIÓN</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.comments@Select Site">
<prop type="sectionname" xml:lang="en-us">Comments Gadget</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Please select a site in the settings</seg>
</tuv>
<tuv xml:lang="es">
<seg>Por favor seleccione un sitio en la configuración</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.cookieConsent@Error">
<prop type="sectionname" xml:lang="en-us">Cookie Consent</prop>
<note xml:lang="en-us"></note>
Expand Down Expand Up @@ -14383,6 +14393,209 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
</tuv>
</tu>

<tu tuid="perc.ui.gadget.bulkUpload@Expand Target Folder">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Expand target folder path</seg>
</tuv>
<tuv xml:lang="es">
<seg>Expandir la ruta de la carpeta de destino</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Target folder">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Target folder:</seg>
</tuv>
<tuv xml:lang="es">
<seg>Carpeta de destino:</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Select target folder">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Select target folder</seg>
</tuv>
<tuv xml:lang="es">
<seg>Seleccionar carpeta de destino</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Approves Uploads">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>When checked, approves all uploaded assets automatically.</seg>
</tuv>
<tuv xml:lang="es">
<seg>Cuando está marcado, aprueba todos los recursos cargados automáticamente.</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Approve assets">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Approve assets</seg>
</tuv>
<tuv xml:lang="es">
<seg>Aprobar activos</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Asset type">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Asset type:</seg>
</tuv>
<tuv xml:lang="es">
<seg>Tipo de activo:</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Extract HTML">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Extract HTML from element:</seg>
</tuv>
<tuv xml:lang="es">
<seg>Extraer HTML del elemento:</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Valid Css">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Enter any valid CSS3 Selector to specify the element.</seg>
</tuv>
<tuv xml:lang="es">
<seg>Ingrese cualquier selector CSS3 válido para especificar el elemento.</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Outer Html">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Select HTML to include the specified element as well as the inner HTML</seg>
</tuv>
<tuv xml:lang="es">
<seg>Seleccione HTML para incluir el elemento especificado así como el HTML interno</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Inner Html">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Select Inner HTML to extract only the HTML inside the specified element</seg>
</tuv>
<tuv xml:lang="es">
<seg>Seleccione HTML interno para extraer solo el HTML dentro del elemento especificado</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Add files for upload">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Add files for upload</seg>
</tuv>
<tuv xml:lang="es">
<seg>Agregar archivos para cargar</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Start upload">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Start upload</seg>
</tuv>
<tuv xml:lang="es">
<seg>Iniciar la subida</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Cancel upload">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Cancel upload</seg>
</tuv>
<tuv xml:lang="es">
<seg>Cancelar carga</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Clear uploads">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Clear uploads</seg>
</tuv>
<tuv xml:lang="es">
<seg>Borrar cargas</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Clear All">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Clear All</seg>
</tuv>
<tuv xml:lang="es">
<seg>Limpiar todo</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Expand upload details">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Expand upload details</seg>
</tuv>
<tuv xml:lang="es">
<seg>Ampliar detalles de carga</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Zero Files Queued">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>0 file(s) queued for upload</seg>
</tuv>
<tuv xml:lang="es">
<seg>0 archivos en cola para carga</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadget.bulkUpload@Name">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Name</seg>
</tuv>
<tuv xml:lang="es">
<seg>Nombre</seg>
</tuv>
</tu>

<tu tuid="perc.ui.gadget.bulkUpload@Size">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Size</seg>
</tuv>
<tuv xml:lang="es">
<seg>Tamaño</seg>
</tuv>
</tu>

<tu tuid="perc.ui.gadget.bulkUpload@Type">
<prop type="sectionname" xml:lang="en-us">Gadget Dialog</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Type</seg>
</tuv>
<tuv xml:lang="es">
<seg>Tipo</seg>
</tuv>
</tu>

<tu tuid="perc.ui.utils@Please fill all required fields">
<prop type="sectionname" xml:lang="en-us">Settings</prop>
<note xml:lang="en-us"></note>
Expand Down Expand Up @@ -15348,6 +15561,26 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<tuv xml:lang="es">
<seg>Seleccione un rango de fechas que incluya al menos un punto de datos</seg>
</tuv>
</tu>
<tu tuid="perc.ui.activity.gadget@How Many">
<prop type="sectionname" xml:lang="en-us">Activity Gadget</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>How many: You can only put a number greater than zero in this field.</seg>
</tuv>
<tuv xml:lang="es">
<seg>Cuántos: Sólo puedes poner un número mayor que cero en este campo.</seg>
</tuv>
</tu>
<tu tuid="perc.ui.activity.gadget@Activity During Last">
<prop type="sectionname" xml:lang="en-us">Activity</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>ACTIVITY: During Last</seg>
</tuv>
<tuv xml:lang="es">
<seg>ACTIVIDAD: Durante el último</seg>
</tuv>
</tu>
</body>
</tmx>

0 comments on commit cd94fa6

Please sign in to comment.