|
35 | 35 | * $translateProvider.preferredLanguage('[lang]'); |
36 | 36 | */ |
37 | 37 | .config(['$translateProvider',function($translateProvider){ |
| 38 | + $translateProvider.translations('de-DE',{ |
| 39 | + DIALOGS_ERROR: "Error", |
| 40 | + DIALOGS_ERROR_MSG: "Ein unbekannter Fehler ist aufgetreten.", |
| 41 | + DIALOGS_CLOSE: "Schließen", |
| 42 | + DIALOGS_PLEASE_WAIT: "Bitte warten", |
| 43 | + DIALOGS_PLEASE_WAIT_ELIPS: "Bitte warten...", |
| 44 | + DIALOGS_PLEASE_WAIT_MSG: "Warte auf Fertigstellung der Operation.", |
| 45 | + DIALOGS_PERCENT_COMPLETE: "% fertig", |
| 46 | + DIALOGS_NOTIFICATION: "Benachrichtigung", |
| 47 | + DIALOGS_NOTIFICATION_MSG: "Unbekannte Anwendungsbenachrichtigung.", |
| 48 | + DIALOGS_CONFIRMATION: "Bestätigung", |
| 49 | + DIALOGS_CONFIRMATION_MSG: "Bestätigung erforderlich.", |
| 50 | + DIALOGS_OK: "OK", |
| 51 | + DIALOGS_YES: "Ja", |
| 52 | + DIALOGS_NO: "Nein" |
| 53 | + }); |
| 54 | + |
38 | 55 | $translateProvider.translations('en-US',{ |
39 | 56 | DIALOGS_ERROR: "Error", |
40 | 57 | DIALOGS_ERROR_MSG: "An unknown error has occurred.", |
|
51 | 68 | DIALOGS_YES: "Yes", |
52 | 69 | DIALOGS_NO: "No" |
53 | 70 | }); |
54 | | - |
55 | | - $translateProvider.translations('zh-CN',{ |
56 | | - DIALOGS_ERROR: "错误", |
57 | | - DIALOGS_ERROR_MSG: "出现未知错误。", |
58 | | - DIALOGS_CLOSE: "关闭", |
59 | | - DIALOGS_PLEASE_WAIT: "请稍候", |
60 | | - DIALOGS_PLEASE_WAIT_ELIPS: "请稍候...", |
61 | | - DIALOGS_PLEASE_WAIT_MSG: "请等待操作完成。", |
62 | | - DIALOGS_PERCENT_COMPLETE: "% 已完成", |
63 | | - DIALOGS_NOTIFICATION: "通知", |
64 | | - DIALOGS_NOTIFICATION_MSG: "未知应用程序的通知。", |
65 | | - DIALOGS_CONFIRMATION: "确认", |
66 | | - DIALOGS_CONFIRMATION_MSG: "确认要求。", |
67 | | - DIALOGS_OK: "确定", |
68 | | - DIALOGS_YES: "确认", |
69 | | - DIALOGS_NO: "取消" |
70 | | - }); |
71 | | - |
| 71 | + |
72 | 72 | $translateProvider.translations('es-ES',{ |
73 | | - DIALOGS_ERROR: "Error", |
74 | | - DIALOGS_ERROR_MSG: "Se ha producido un error.", |
75 | | - DIALOGS_CLOSE: "Cerrar", |
76 | | - DIALOGS_PLEASE_WAIT: "Espere por favor", |
77 | | - DIALOGS_PLEASE_WAIT_ELIPS: "Espere por favor...", |
78 | | - DIALOGS_PLEASE_WAIT_MSG: "Completando operación.", |
79 | | - DIALOGS_PERCENT_COMPLETE: "% Completado", |
80 | | - DIALOGS_NOTIFICATION: "Notificación", |
81 | | - DIALOGS_NOTIFICATION_MSG: "Notificación de una aplicación desconocida.", |
82 | | - DIALOGS_CONFIRMATION: "Confirmación", |
83 | | - DIALOGS_CONFIRMATION_MSG: "Se requiere confirmacion.", |
84 | | - DIALOGS_OK: "Aceptar", |
85 | | - DIALOGS_YES: "Sí", |
86 | | - DIALOGS_NO: "No" |
| 73 | + DIALOGS_ERROR: "Error", |
| 74 | + DIALOGS_ERROR_MSG: "Se ha producido un error.", |
| 75 | + DIALOGS_CLOSE: "Cerrar", |
| 76 | + DIALOGS_PLEASE_WAIT: "Espere por favor", |
| 77 | + DIALOGS_PLEASE_WAIT_ELIPS: "Espere por favor...", |
| 78 | + DIALOGS_PLEASE_WAIT_MSG: "Completando operación.", |
| 79 | + DIALOGS_PERCENT_COMPLETE: "% Completado", |
| 80 | + DIALOGS_NOTIFICATION: "Notificación", |
| 81 | + DIALOGS_NOTIFICATION_MSG: "Notificación de una aplicación desconocida.", |
| 82 | + DIALOGS_CONFIRMATION: "Confirmación", |
| 83 | + DIALOGS_CONFIRMATION_MSG: "Se requiere confirmacion.", |
| 84 | + DIALOGS_OK: "Aceptar", |
| 85 | + DIALOGS_YES: "Sí", |
| 86 | + DIALOGS_NO: "No" |
87 | 87 | }); |
88 | | - |
| 88 | + |
89 | 89 | $translateProvider.translations("fr-FR", { |
90 | | - DIALOGS_ERROR: "Erreur", |
91 | | - DIALOGS_ERROR_MSG: "Une erreur inconnue s'est produite.", |
92 | | - DIALOGS_CLOSE: "Fermer", |
93 | | - DIALOGS_PLEASE_WAIT: "Patientez svp", |
94 | | - DIALOGS_PLEASE_WAIT_ELIPS: "Patienter svp...", |
95 | | - DIALOGS_PLEASE_WAIT_MSG: "En attente de la fin de l'opération.", |
96 | | - DIALOGS_PERCENT_COMPLETE: "% Terminer", |
97 | | - DIALOGS_NOTIFICATION: "Notification", |
98 | | - DIALOGS_NOTIFICATION_MSG: "Notification de l'application inconnue", |
99 | | - DIALOGS_CONFIRMATION: "Confirmer", |
100 | | - DIALOGS_CONFIRMATION_MSG: "Merci de confirmer", |
101 | | - DIALOGS_OK: "OK", |
102 | | - DIALOGS_YES: "Oui", |
103 | | - DIALOGS_NO: "Non" |
| 90 | + DIALOGS_ERROR: "Erreur", |
| 91 | + DIALOGS_ERROR_MSG: "Une erreur inconnue s'est produite.", |
| 92 | + DIALOGS_CLOSE: "Fermer", |
| 93 | + DIALOGS_PLEASE_WAIT: "Patientez svp", |
| 94 | + DIALOGS_PLEASE_WAIT_ELIPS: "Patienter svp...", |
| 95 | + DIALOGS_PLEASE_WAIT_MSG: "En attente de la fin de l'opération.", |
| 96 | + DIALOGS_PERCENT_COMPLETE: "% Terminer", |
| 97 | + DIALOGS_NOTIFICATION: "Notification", |
| 98 | + DIALOGS_NOTIFICATION_MSG: "Notification de l'application inconnue", |
| 99 | + DIALOGS_CONFIRMATION: "Confirmer", |
| 100 | + DIALOGS_CONFIRMATION_MSG: "Merci de confirmer", |
| 101 | + DIALOGS_OK: "OK", |
| 102 | + DIALOGS_YES: "Oui", |
| 103 | + DIALOGS_NO: "Non" |
104 | 104 | }); |
105 | | - |
| 105 | + |
106 | 106 | $translateProvider.translations('pt-BR',{ |
107 | 107 | DIALOGS_ERROR: "Erro", |
108 | 108 | DIALOGS_ERROR_MSG: "Ocorreu um erro inesperado.", |
|
120 | 120 | DIALOGS_NO: "Não" |
121 | 121 | }); |
122 | 122 |
|
| 123 | + $translateProvider.translations('zh-CN',{ |
| 124 | + DIALOGS_ERROR: "错误", |
| 125 | + DIALOGS_ERROR_MSG: "出现未知错误。", |
| 126 | + DIALOGS_CLOSE: "关闭", |
| 127 | + DIALOGS_PLEASE_WAIT: "请稍候", |
| 128 | + DIALOGS_PLEASE_WAIT_ELIPS: "请稍候...", |
| 129 | + DIALOGS_PLEASE_WAIT_MSG: "请等待操作完成。", |
| 130 | + DIALOGS_PERCENT_COMPLETE: "% 已完成", |
| 131 | + DIALOGS_NOTIFICATION: "通知", |
| 132 | + DIALOGS_NOTIFICATION_MSG: "未知应用程序的通知。", |
| 133 | + DIALOGS_CONFIRMATION: "确认", |
| 134 | + DIALOGS_CONFIRMATION_MSG: "确认要求。", |
| 135 | + DIALOGS_OK: "确定", |
| 136 | + DIALOGS_YES: "确认", |
| 137 | + DIALOGS_NO: "取消" |
| 138 | + }); |
| 139 | + |
123 | 140 | $translateProvider.preferredLanguage('en-US'); |
124 | 141 | }]); // end config |
0 commit comments