Files
ueblueprint/js/entity/LocalizedTextEntity.js
2021-10-31 14:51:36 +01:00

20 lines
416 B
JavaScript
Executable File

import Entity from "./Entity"
export default class LocalizedTextEntity extends Entity {
static attributes = {
namespace: String,
key: String,
value: String
}
getAttributes() {
return LocalizedTextEntity.attributes
}
toString() {
"NSLOCTEXT(" + `"${this.namespace}"` + ", " + `"${this.key}"` + ", " + `"${this.value}"` + ")"
}
}