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 6, 2023
1 parent be0b0b2 commit 8391eac
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 5 deletions.
1 change: 0 additions & 1 deletion WebUI/war/widgetbuilder/templates/templates.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<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 @@ -492,7 +492,7 @@
{
var searchConfig = {
"assetType": {"name": "All", "value":"@all"},
"workflow": (defaultWorkflow != null ? defaultWorkflow : {"name": "Default Workflow", "value":"6"}),
"workflow": (defaultWorkflow != null ? defaultWorkflow : {"name": I18N.message("perc.ui.asset.status.gadget@Default Workflow"), "value":"6"}),
"state": {"name": I18N.message("perc.ui.workflow.status.gadget@Pending"), "value":"4"},
"modifiedby":{"name": "All", "value":"@all"}};
return searchConfig;
Expand Down Expand Up @@ -667,9 +667,9 @@
var state = searchConfig.state.value;
var lasteditedby = searchConfig.modifiedby.value;

var assetName = assetType === "" || assetType === "@all"? "(All Assets)" : WidgetLabelByContentTypeId[assetType]?"(" + WidgetLabelByContentTypeId[assetType] + ")":"";
var workflowName = searchConfig.workflow.name === "" || searchConfig.workflow.name === "All" ? "All Workflows" : searchConfig.workflow.name;
var stateName = searchConfig.state.name === "" || searchConfig.state.name === "All" ? "All States" : searchConfig.state.name;
var assetName = assetType === "" || assetType === "@all"? I18N.message("perc.ui.asset.status.gadget@All Assets") : WidgetLabelByContentTypeId[assetType]?"(" + WidgetLabelByContentTypeId[assetType] + ")":"";
var workflowName = searchConfig.workflow.name === "" || searchConfig.workflow.name === "All" ? I18N.message("perc.ui.asset.status.gadget@All Workflows") : searchConfig.workflow.name;
var stateName = searchConfig.state.name === "" || searchConfig.state.name === "All" ? I18N.message("perc.ui.asset.status.gadget@All States") : searchConfig.state.name;

var title = "ASSETS BY STATUS: " + workflowName + " - " + stateName + " " + assetName;
gadgets.window.setTitle(title);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
loadingMsg = miniMsg.createStaticMessage("Loading...");
$(".perc-membership-gadget").PercMembershipGadget(site,rows);
gadgets.window.setTitle(I18N.message("perc.ui.gadgets.membership@MEMBERSHIP"));
})
function _expandNotify(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5535,6 +5535,16 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>Todos los estados</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.membership@MEMBERSHIP">
<prop type="sectionname" xml:lang="en-us">Membership Gadget</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>MEMBERSHIP</seg>
</tuv>
<tuv xml:lang="es">
<seg>AFILIACIÓN</seg>
</tuv>
</tu>
<tu tuid="perc.ui.gadgets.membership@No Accounts Found Long">
<prop type="sectionname" xml:lang="en-us">Membership Gadget</prop>
<note xml:lang="en-us"></note>
Expand Down Expand Up @@ -14981,6 +14991,56 @@ Documentación' href='https://help.percussion.com/'&gt;help.percussion.com&lt;/a
<seg>No se encontraron páginas</seg>
</tuv>
</tu>
<tu tuid="perc.ui.asset.status.gadget@ASSETS BY STATUS">
<prop type="sectionname" xml:lang="en-us">ASSETS BY STATUS</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>ASSETS BY STATUS:</seg>
</tuv>
<tuv xml:lang="es">
<seg>BIENES POR ESTADO:</seg>
</tuv>
</tu>
<tu tuid="perc.ui.asset.status.gadget@Default Workflow">
<prop type="sectionname" xml:lang="en-us">Default Workflow</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>Default Workflow</seg>
</tuv>
<tuv xml:lang="es">
<seg>Flujo de trabajo predeterminado</seg>
</tuv>
</tu>
<tu tuid="perc.ui.asset.status.gadget@All States">
<prop type="sectionname" xml:lang="en-us">All States</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>All States</seg>
</tuv>
<tuv xml:lang="es">
<seg>Todos los Estados</seg>
</tuv>
</tu>
<tu tuid="perc.ui.asset.status.gadget@All Assets">
<prop type="sectionname" xml:lang="en-us">All Assets</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>(All Assets)</seg>
</tuv>
<tuv xml:lang="es">
<seg>(Todos los activos)</seg>
</tuv>
</tu>
<tu tuid="perc.ui.asset.status.gadget@All Workflows">
<prop type="sectionname" xml:lang="en-us">All Workflows</prop>
<note xml:lang="en-us"></note>
<tuv xml:lang="en-us">
<seg>All Workflows</seg>
</tuv>
<tuv xml:lang="es">
<seg>All Workflows</seg>
</tuv>
</tu>
<tu tuid="perc.ui.asset.status.gadget@No Assets Found">
<prop type="sectionname" xml:lang="en-us">No Assets Found</prop>
<note xml:lang="en-us"></note>
Expand Down

0 comments on commit 8391eac

Please sign in to comment.