How to translate "Copied to clipboard" pop_up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 04:16 AM
Hi everyone, I have been trying to translate a pop_up that we have when we click a button inside the "UI Action" "Answers", I have tried the "sys_ui_message" but it does not work ...
Pop_up:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 04:27 AM - edited 05-10-2024 04:27 AM
Looks like the message is hardcoded in the UI Action, have you checked its code?
See more of my content here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 04:29 AM
Hi @CezaryBasta I tried to find the UI Action where it is hardcoded but I cant find it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 04:32 AM
Is this something OOB? Or custom development? What's the button you are clicking?
See more of my content here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 04:31 AM
var sysId = g_form.getUniqueValue();
var tableName = g_form.getTableName();
function ChooseTemplate() {
var url = top.location.href;
if (url.indexOf("nav_to.do") == -1 && !isPolaris()) {
var dialogClass = GlideModal ? GlideModal : GlideDialogWindow;
var dialog = new dialogClass('sn_templated_snip_message_template');
dialog.setTitle(getMessage('Response Templates'));
dialog.setPreference('sysparm_sys_id', sysId);
dialog.setPreference('sysparm_table_name', tableName);
dialog.render();
} else {
var fireFn = CustomEvent.fireTop;
if (window.NOW.isPolarisEnabled === 'true')
fireFn = CustomEvent.fire;
fireFn('sn:hr_trigger_sidebar', {sysId: sysId, tableName: tableName});
}
}
// Close sidebar when page changes
if (window) {
window.onbeforeunload = function() {
var fireFn = CustomEvent.fireTop;
if (window.NOW.isPolarisEnabled === 'true')
fireFn = CustomEvent.fire;
fireFn('sn:hr_sidebar_collapse');
};
}
I believe that is this one but Im not sure