mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-13 08:34:46 +08:00
20 lines
416 B
JavaScript
Executable File
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}"` + ")"
|
|
}
|
|
|
|
}
|