mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
19 lines
414 B
JavaScript
Executable File
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}"` + ")"
|
|
}
|
|
}
|