export default class Templates {
#app;
#templates = {};
constructor ( app ) {
this.#app = app;
}
get app () {
return this.#app;
}
get ( id ) {
return this.#templates[ id ];
}
add ( templates ) {
for ( const id in templates ) {
this.#templates[ id ] = l10nt( templates[ id ] );
}
}
}