Files
ueblueprint/js/entity/primitive/LocalizedTextEntity.js
barsdeveloper 418630255e Various fixes
2021-10-27 19:27:19 +02:00

23 lines
515 B
JavaScript
Executable File

import Primitive from "./Primitive"
export default class LocalizedTextEntity extends Primitive {
/**
*
* @param {String} namespace
* @param {String} key
* @param {String} value
*/
constructor(namespace, key, value) {
super()
this.namespace = namespace
this.key = key
this.value = value
}
toString() {
"NSLOCTEXT(" + `"${this.namespace}"` + ", " + `"${this.key}"` + ", " + `"${this.value}"` + ")"
}
}