feat: localize demo ui content
This commit is contained in:
@@ -33,7 +33,7 @@ function currentLocale() {
|
||||
}
|
||||
|
||||
function mapOperation(item) {
|
||||
return {
|
||||
var mapped = {
|
||||
id: item.id,
|
||||
name: item.name,
|
||||
display_name: item.display_name,
|
||||
@@ -53,6 +53,8 @@ function mapOperation(item) {
|
||||
},
|
||||
agent_refs: item.agent_refs || [],
|
||||
};
|
||||
|
||||
return window.localizeDemoOperation ? window.localizeDemoOperation(mapped) : mapped;
|
||||
}
|
||||
|
||||
function emptyStats() {
|
||||
|
||||
Reference in New Issue
Block a user