Skip to content

Commit

Permalink
Not all areas of the UI are in Spanish when selecting the Spanish Lo…
Browse files Browse the repository at this point in the history
…cale at login #438
  • Loading branch information
rgarg24 committed Dec 5, 2023
1 parent 2d5c5f1 commit be0b0b2
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 1 deletion.
1 change: 1 addition & 0 deletions WebUI/war/widgetbuilder/templates/templates.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<div class="perc-widget-field-entry"><@- type.toLowerCase().replace("_", " ") @></div>
<div class="perc-widget-field-entry"><div class="perc-widget-field-actions" for="<@- name @>" ><span role="button" tabindex="128" title='<i18n:message key="perc.ui.widget.builder@Edit"/>' class="perc-widget-field-action-edit" style="cursor:pointer"><i18n:message key="perc.ui.widget.builder@Edit"/></span> | <span role="button" tabindex="129" title='<i18n:message key="perc.ui.widget.builder@Delete"/>' class="perc-widget-field-action-delete" style="cursor:pointer"><i18n:message key="perc.ui.widget.builder@Delete"/></span></div>
</div>
</div>
</script>

<!-- Template for General tab of widget builder -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
$(document).ready(function() {
document.getElementById('perc-add-variable-button').title=I18N.message("perc.ui.global.variables.gadget@Create Global Variable");
document.getElementById('perc-add-variable-button').innerText=I18N.message("perc.ui.global.variables.gadget@Add Variable");
var prefs = new gadgets.Prefs();
gadgets.window.setTitle(I18N.message("perc.ui.global.variables.gadget@Global Variables"));
var prefs = new gadgets.Prefs();
var PercServiceUtils = percJQuery.PercServiceUtils;
var mdService = percJQuery.PercMetadataService;
var percUtils = percJQuery.perc_utils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
miniMsg = new gadgets.MiniMessage(__MODULE_ID__);
loadingMsg = miniMsg.createStaticMessage("Loading...");
$.renderProcessMonitor(percJQuery,true);
gadgets.window.setTitle(I18N.message("perc.ui.gadgets.processmonitor@Process Monitor"));
});
function _expandNotify(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ var currentReportEndpoint;
$(document).ready(function() {
displayAvailableReports();
bindReportEvents();
gadgets.window.setTitle(I18N.message("perc.ui.reports.gadget@Reports"));
});

function displayAvailableReports() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<ModulePrefs title="Reports" category="analytics" description="This gadget allows an administrator to generate and download reports" thumbnail="images/gadgetReports.png" height="225" adminOnly="true">
<Require feature="perc_core"/>
<Require feature="perc_jquery_ui"/>
<Require feature="settitle" />
</ModulePrefs>
<Content type="html">
<![CDATA[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

$(document).ready(function() {
initiateSitewideFrameworkGadget();
gadgets.window.setTitle(I18N.message("perc.ui.gadgets.sitewideFramework@Sitewide Framework"));
});

function initiateSitewideFrameworkGadget() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
thumbnail="images/gadgetConfigSitewiseFrmw.png" height="250" adminOnly="true">
<Require feature="perc_core"/>
<Require feature="perc_jquery_ui"/>
<Require feature="settitle" />
</ModulePrefs>
<Content type="html">
<![CDATA[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
document.getElementById('perc-widget-config-label').innerText=I18N.message("perc.ui.widget.config.gadget@Uncheck Widgets");
document.getElementById('perc-widget-config-label-pw').innerText=I18N.message("perc.ui.widget.config.gadget@Percussion Widgets");
document.getElementById('perc-widget-config-label-cw').innerText=I18N.message("perc.ui.widget.config.gadget@Custom Widgets");
gadgets.window.setTitle(I18N.message("perc.ui.widget.config.gadget@Widget Configuration"));
});
</script>
<div id="perc-widget-config-container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5185,6 +5185,16 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>Última actualización</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.processmonitor@Process Monitor">
<prop type="sectionname" xml:lang="en-us">Process Monitor</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>PROCESS MONITOR</seg>
</tuv>
<tuv xml:lang="es">
<seg>MONITOREO DE PROCESO</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.welcome@WELCOME">
<prop type="sectionname" xml:lang="en-us">WELCOME</prop>
<note xml:lang="en-us"></note>
Expand Down Expand Up @@ -5215,6 +5225,16 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>Añadir Bookmarklet</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.sitewideFramework@Sitewide Framework">
<prop type="sectionname" xml:lang="en-us">Sitewide Framework Gadget</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>SITEWIDE FRAMEWORK</seg>
</tuv>
<tuv xml:lang="es">
<seg>MARCO PARA TODO EL SITIO</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.sitewideFramework@Override Percussion Foundation">
<prop type="sectionname" xml:lang="en-us">Sitewide Framework Gadget</prop>
<note xml:lang="en-us"></note>
Expand Down Expand Up @@ -15001,6 +15021,16 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>Agregar variable</seg>
</tuv>
</tu>
<tu tuid="perc.ui.global.variables.gadget@Global Variables">
<prop type="sectionname" xml:lang="en-us">Global Variables</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>GLOBAL VARIABLES</seg>
</tuv>
<tuv xml:lang="es">
<seg>VARIABLES GLOBALES</seg>
</tuv>
</tu>
<tu tuid="perc.ui.global.variables.gadget@Create Global Variable">
<prop type="sectionname" xml:lang="en-us">Click to create global variable</prop>
<note xml:lang="en-us"></note>
Expand Down Expand Up @@ -15271,6 +15301,16 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>Quiero probar Siteimprove</seg>
</tuv>
</tu>
<tu tuid="perc.ui.reports.gadget@Reports">
<prop type="sectionname" xml:lang="en-us">Reports</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>REPORTS</seg>
</tuv>
<tuv xml:lang="es">
<seg>INFORMES</seg>
</tuv>
</tu>
<tu tuid="perc.ui.reports.gadget@All Files">
<prop type="sectionname" xml:lang="en-us">All Files</prop>
<note xml:lang="en-us"></note>
Expand Down Expand Up @@ -15461,6 +15501,16 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>CONFIGURACIÓN DE GOOGLE</seg>
</tuv>
</tu>
<tu tuid="perc.ui.widget.config.gadget@Widget Configuration">
<prop type="sectionname" xml:lang="en-us">Widget Configuration</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>WIDGET CONFIGURATION</seg>
</tuv>
<tuv xml:lang="es">
<seg>CONFIGURACIÓN DE WIDGETS</seg>
</tuv>
</tu>
<tu tuid="perc.ui.widget.config.gadget@Uncheck Widgets">
<prop type="sectionname" xml:lang="en-us">Uncheck Widgets</prop>
<note xml:lang="en-us"></note>
Expand Down

0 comments on commit be0b0b2

Please sign in to comment.