code7-leia 0.1.113 → 0.1.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,6 +39,34 @@ const defaultLanguage: Language = {
39
39
  description: 'Do a search, click the "Test" button.',
40
40
  },
41
41
  },
42
+ toast: {
43
+ deleteFile: {
44
+ success: {
45
+ title: 'Success',
46
+ description: 'File deleted successfully!'
47
+ },
48
+ fail: {
49
+ title: 'Failure',
50
+ description: 'Error deleting the file!'
51
+ }
52
+ },
53
+ uploadFile: {
54
+ success: {
55
+ title: 'Success',
56
+ description: 'File uploaded successfully!'
57
+ },
58
+ fail: {
59
+ title: 'Failure',
60
+ description: 'Error uploading the file!'
61
+ }
62
+ },
63
+ Test: {
64
+ fail: {
65
+ title: 'Failure',
66
+ description: 'Error testing Le-IA'
67
+ }
68
+ }
69
+ }
42
70
  };
43
71
 
44
72
  export const getLanguage = (language: keyof Record<'en' | 'pt-br' | 'es', Language>): Language => {
@@ -86,6 +114,34 @@ export const getLanguage = (language: keyof Record<'en' | 'pt-br' | 'es', Langua
86
114
  description: 'Faça uma pesquisa, clique no botão "Teste".',
87
115
  },
88
116
  },
117
+ toast: {
118
+ deleteFile: {
119
+ success: {
120
+ title: 'Sucesso',
121
+ description: 'Arquivo deletado com sucesso!'
122
+ },
123
+ fail: {
124
+ title: 'Falha',
125
+ description: 'Erro ao deletar o arquivo!'
126
+ }
127
+ },
128
+ uploadFile: {
129
+ success: {
130
+ title: 'Sucesso',
131
+ description: 'Arquivo enviado com sucesso!'
132
+ },
133
+ fail: {
134
+ title: 'Falha',
135
+ description: 'Erro ao enviar o arquivo!'
136
+ }
137
+ },
138
+ Test: {
139
+ fail: {
140
+ title: 'Falha',
141
+ description: 'Erro ao testar a Le-IA'
142
+ }
143
+ }
144
+ }
89
145
  },
90
146
  es: {
91
147
  ...defaultLanguage,
@@ -129,6 +185,34 @@ export const getLanguage = (language: keyof Record<'en' | 'pt-br' | 'es', Langua
129
185
  description: 'Realiza una búsqueda, haz clic en el botón "Prueba".',
130
186
  },
131
187
  },
188
+ toast: {
189
+ deleteFile: {
190
+ success: {
191
+ title: 'Éxito',
192
+ description: '¡Archivo eliminado correctamente!'
193
+ },
194
+ fail: {
195
+ title: 'Fallo',
196
+ description: 'Error al eliminar el archivo!'
197
+ }
198
+ },
199
+ uploadFile: {
200
+ success: {
201
+ title: 'Éxito',
202
+ description: '¡Archivo subido correctamente!'
203
+ },
204
+ fail: {
205
+ title: 'Fallo',
206
+ description: 'Error al subir el archivo!'
207
+ }
208
+ },
209
+ Test: {
210
+ fail: {
211
+ title: 'Fallo',
212
+ description: 'Error al probar Le-IA'
213
+ }
214
+ }
215
+ }
132
216
  },
133
217
  };
134
218