1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-23 14:57:46 +01:00

fix(frontend,i18n): ✏️ Nome proprietà sbagliato

This commit is contained in:
Maicol Battistini 2021-08-03 20:03:34 +02:00
parent d1b3c05255
commit 8793d34f47
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A

View File

@ -9,8 +9,8 @@ export default class Page extends Component {
page = JSON.parse($('#app').attr('data-page'));
__(key: string, replace: Object = {}) {
let translation = this.page.language[key]
? this.page.language[key]
let translation = this.page.translations[key]
? this.page.translations[key]
: key;
Object.keys(replace).forEach((k: string) => {