How to translate "Copied to clipboard" pop_up

F_bio Santos
Kilo Sage

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:

F_bioSantos_0-1715339774907.png

 

6 REPLIES 6

CezaryBasta
Tera Guru

Looks like the message is hardcoded in the UI Action, have you checked its code?

--
See more of my content here.

Hi @CezaryBasta I tried to find the UI Action where it is hardcoded but I cant find it 

 

Is this something OOB? Or custom development? What's the button you are clicking?

--
See more of my content here.

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