Files
ueblueprint/js/entity/LocalizedTextEntity.js
2021-11-07 21:41:40 +01:00

19 lines
414 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}"` + ")"
}
}