Skip to content

Commit

Permalink
Merge pull request #64 from joelthorner/2.x
Browse files Browse the repository at this point in the history
2.0.0
  • Loading branch information
joelthorner authored Mar 14, 2019
2 parents 7a2d964 + b8ac775 commit 9a517af
Show file tree
Hide file tree
Showing 20 changed files with 3,902 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<eg-sidebar></eg-sidebar>
</div>
<div class="eg-outlet">
<router-outlet></router-outlet>
<router-outlet (window:beforeunload)="doBeforeUnload()"></router-outlet>
</div>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Component } from '@angular/core';
import { AuthService } from './lib/services/auth.service';
import { environment } from 'src/environments/environment';

@Component({
selector: 'eg-root',
Expand All @@ -8,4 +9,10 @@ import { AuthService } from './lib/services/auth.service';
})
export class AppComponent {
constructor(public auth: AuthService) {}

doBeforeUnload() {
if (environment.production) {
return false;
}
}
}
78 changes: 78 additions & 0 deletions src/app/data/app-data-languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,25 @@ import { LANGUAGE_CA } from './app-language-ca';
import { LANGUAGE_FR } from './app-language-fr';
import { LANGUAGE_DE } from './app-language-de';
import { LANGUAGE_ZHO } from './app-language-zho';
import { LANGUAGE_AR } from './app-language-ar';
import { LANGUAGE_CHI } from './app-language-chi';
import { LANGUAGE_JA } from './app-language-ja';
import { LANGUAGE_IT } from './app-language-it';
import { LANGUAGE_KO } from './app-language-ko';
import { LANGUAGE_PT } from './app-language-pt';
import { LANGUAGE_EU } from './app-language-eu';
import { LANGUAGE_SV } from './app-language-sv';
import { LANGUAGE_RU } from './app-language-ru';
import { LANGUAGE_MN } from './app-language-mn';
import { LANGUAGE_BG } from './app-language-bg';
import { LANGUAGE_RO } from './app-language-ro';
import { LANGUAGE_NL } from './app-language-nl';
import { LANGUAGE_HU } from './app-language-hu';
import { LANGUAGE_PL } from './app-language-pl';
import { LANGUAGE_SK } from './app-language-sk';
import { LANGUAGE_TR } from './app-language-tr';
import { LANGUAGE_TH } from './app-language-th';
import { LANGUAGE_LO } from './app-language-lo';

export const LANGUAGES = {
1: {
Expand Down Expand Up @@ -42,6 +55,11 @@ export const LANGUAGES = {
name: 'Trad. Chinese',
emails: LANGUAGE_ZHO
},
7: {
key: 'ar',
name: 'Arabic',
emails: LANGUAGE_AR
},
10: {
key: 'chi',
name: 'Simpl. Chinese',
Expand All @@ -52,6 +70,11 @@ export const LANGUAGES = {
name: 'Japanese',
emails: LANGUAGE_JA
},
12: {
key: 'ru',
name: 'Russian',
emails: LANGUAGE_RU
},
13: {
key: 'it',
name: 'Italian',
Expand All @@ -67,9 +90,64 @@ export const LANGUAGES = {
name: 'Portuguese',
emails: LANGUAGE_PT
},
19: {
key: 'ro',
name: 'Romanian',
emails: LANGUAGE_RO
},
20: {
key: 'nl',
name: 'Dutch',
emails: LANGUAGE_NL
},
21: {
key: 'hu',
name: 'Hungarian',
emails: LANGUAGE_HU
},
22: {
key: 'sk',
name: 'Slovak',
emails: LANGUAGE_SK
},
24: {
key: 'eu',
name: 'Basque',
emails: LANGUAGE_EU
},
25: {
key: 'tr',
name: 'Turkish',
emails: LANGUAGE_TR
},
26: {
key: 'th',
name: 'Thai',
emails: LANGUAGE_TH
},
27: {
key: 'lo',
name: 'Lao',
emails: LANGUAGE_LO
},
28: {
key: 'pl',
name: 'Polish',
emails: LANGUAGE_PL
},
31: {
key: 'mn',
name: 'Mongolian',
emails: LANGUAGE_MN
},
32: {
key: 'bg',
name: 'Bulgarian',
emails: LANGUAGE_BG
},
34: {
key: 'sv',
name: 'Svenska',
emails: LANGUAGE_SV
}
};
219 changes: 219 additions & 0 deletions src/app/data/app-language-ar.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
// v3 file template
export const LANGUAGE_AR = {

header: {
html: ``
},

footer: {
html: ``
},

templates: {

1: {
name: 'Bienvenida',
subject: '',
html: ``
}, // end 1

2: {
name: 'Baja de usuarios',
subject: '',
html: ``
}, // end 2

3: {
name: 'Recordarios de contraseña',
subject: '',
html: ``
}, // end 3

4: {
name: 'Cambio de contraseña',
subject: '',
html: ``
}, // end 4

5: {
name: 'Registro de newsletter',
subject: '',
html: ``
}, // end 5

6: {
name: 'Recomendación de wishlist',
subject: '',
html: ``
}, // end 6

7: {
name: 'Recomendación de producto',
subject: '',
html: ``
}, // end 7

8: {
name: 'Contacto general',
subject: '',
html: ``
}, // end 8

9: {
name: 'Consulta de producto',
subject: '',
html: ``
}, // end 9

10: {
name: 'Confirmación de pedido',
subject: '',
html: ``
}, // end 10

11: {
name: 'Baja de newsletter',
subject: '',
html: ``
}, // end 11

12: {
name: 'Apadrinamiento',
subject: '',
html: ``
}, // end 12

13: {
name: 'Apadrinamiento completo',
subject: '',
html: ``
}, // end 13

14: {
name: 'Petición devolución',
subject: '',
html: ``
}, // end 14

15: {
name: 'Pedido incompleto',
subject: '',
html: ``
}, // end 15

16: {
name: 'Notificación transportista',
subject: '',
html: ``
}, // end 16

17: {
name: 'Verificación de correo',
subject: '',
html: ``
}, // end 17

18: {
name: 'Cuenta activada',
subject: '',
html: ``
}, // end 18

19: {
name: 'Aviso a proveedores',
subject: '',
html: ``
}, // end 19

20: {
name: 'Stock disponible',
subject: '',
html: ``
}, // end 20

22: {
name: 'Blog - Notificación de Nuevo Artículo',
subject: '',
html: ``
}, // end 22

23: {
name: 'Blog - Notificación de Nuevo Comentario',
subject: '',
html: ``
}, // end 23

24: {
name: 'Blog - Email de Bienvenida',
subject: '',
html: ``
}, // end 24

25: {
name: 'Confirmar suscripción de Stock',
subject: '',
html: ``
}, // end 25

26: {
name: 'SocialCurrency - Socialización',
subject: '',
html: ``
}, // end 26

27: {
name: 'SocialCurrency - Notificación incentivos',
subject: '',
html: ``
}, // end 27

32: {
name: 'Documento de pedido',
subject: '',
html: ``
}, // end 32

33: {
name: 'Documento de albarán de entrega',
subject: '',
html: ``
}, // end 33

34: {
name: 'Documento de factura',
subject: '',
html: ``
}, // end 34

35: {
name: 'Documento de factura rectificativa',
subject: '',
html: ``
}, // end 35

36: {
name: 'Activación Two Factor Auth',
subject: '',
html: ``
}, // end 36

37: {
name: 'Activación Two Factor Auth',
subject: '',
html: ``
}, // end 37

38: {
name: 'Enviar código dispositivo Two Factor Auth',
subject: '',
html: ``
}, // end 38

39: {
name: 'Notificar Bloqueo de Dispositivo Two Factor Auth',
subject: '',
html: ``
}, // end 39

} // end emails
};
Loading

0 comments on commit 9a517af

Please sign in to comment.