You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/src/app/hmg-common/services/translator/Translation.ts

13 lines
272 B
TypeScript

export class Translation {
public page: string;
public key: string;
constructor(page: string, key: string) {
this.page = page;
this.key = key;
}
public isValid(): boolean {
return this.page != null && this.key != null;
}
}