Change the language of the "no records" message
- Last UpdatedJul 18, 2024
- 1 minute read
You can change the language of the message that appears when there are no records to show in the Alarm Control grid.
To change the language of the "no records" message
-
Right-click on the canvas and click Scripts. The Edit Scripts dialog box appears.
-
Click the Add icon and give the script a name, for example ChangeLanguage.
-
In the Expression box, type:
intouch:$Language
-
In the Trigger list, click DataChange.
-
In the script area, type the following:
If intouch:$Language == 1033 then ' Switch to English
AlarmClient1.NoRecordsMessage.Message = "No Records";
else If intouch:$Language == 1031 then ' Switch to German
AlarmClient1.NoRecordsMessage.Message = "Keine Einträge";
else if intouch:$Language == 1036 then ' Switch to French
AlarmClient1.NoRecordsMessage.Message = "Aucun enregistrement";
endif;
endif;
endif;
-
Click OK.