AIdeaText commited on
Commit
33b1abb
·
verified ·
1 Parent(s): 633f17f

Update translations/en.py

Browse files
Files changed (1) hide show
  1. translations/en.py +87 -71
translations/en.py CHANGED
@@ -56,32 +56,28 @@ TABS = {
56
  CURRENT_SITUATION = {
57
  'title': "My Current Situation",
58
  'input_prompt': "Write or paste your text here:",
59
- 'analyze_button': "Analyze my writing",
60
  'processing': "Analyzing...",
61
  'analysis_error': "Error analyzing text",
62
- 'help': "We will analyze your text to know its current status", # <-- Añadir esta línea
63
-
64
- # Radio buttons para tipo de texto
65
  'text_type_header': "Text type",
66
- 'text_type_help': "Select the type of text to adjust the evaluation criteria",
67
-
68
- # Métricas
69
  'vocabulary_label': "Vocabulary",
70
  'vocabulary_help': "Richness and variety of vocabulary",
71
- 'structure_label': "Structure",
72
  'structure_help': "Organization and complexity of sentences",
73
  'cohesion_label': "Cohesion",
74
  'cohesion_help': "Connection and fluidity between ideas",
75
  'clarity_label': "Clarity",
76
- 'clarity_help': "Ease of understanding the text",
77
-
78
- # Estados de métricas
79
  'metric_improvement': "⚠️ Needs improvement",
80
  'metric_acceptable': "📈 Acceptable",
81
  'metric_optimal': "✅ Optimal",
82
  'metric_target': "Goal: {:.2f}",
83
-
84
- # Errores
85
  'error_interface': "An error occurred while loading the interface",
86
  'error_results': "Error displaying results",
87
  'error_chart': "Error displaying chart"
@@ -89,58 +85,28 @@ CURRENT_SITUATION = {
89
 
90
  MORPHOSYNTACTIC = {
91
  #A
92
- 'analyze_button': "Analyze text",
93
  'arc_diagram': "Syntactic analysis: Arc diagram",
94
- #C
95
- 'count': "Count",
96
- #D
97
- 'dependency': "Dependency",
98
- 'dep': "Dependency",
99
- #E
100
- 'error_message': "There was a problem saving the analysis. Please try again.",
101
- 'examples': "Examples",
102
- #G
103
- 'grammatical_category': "Grammatical category",
104
- #L
105
- 'lemma': "Lemma",
106
- 'legend': "Legend: Grammatical categories",
107
- #O
108
- 'objects': "Objects",
109
- #P
110
- 'pos_analysis': "Part of Speech Analysis",
111
- 'percentage': "Percentage",
112
- #N
113
- 'no_results': "No results available. Please perform an analysis first.",
114
- #M
115
- 'morpho_analyze_button': 'Morphosyntactic Analysis',
116
- 'morpho_title': "AIdeaText - Morphological analysis ",
117
- 'morpho_initial_message': "This is a general purpose chatbot, but it has a specific function for visual text analysis: generating arc diagrams. To produce them, enter the following command /analisis_morfosintactico [followed by brackets inside which you must place the text you want to analyze]",
118
- 'morpho_input_label': "Enter a text to analyze (max 30 words):",
119
- 'morpho_input_placeholder': "morphosyntax placeholder",
120
- 'morphosyntactic_analysis_completed': 'Morphosyntactic analysis completed. Please review the results in the following section.',
121
- 'morphological_analysis': "Morphological Analysis",
122
- 'morphology': "Morphology",
123
- 'morph': "Morphology",
124
- #R
125
- 'root': "Root",
126
- 'repeated_words': "Repeated words",
127
- #S
128
- 'sentence': "Sentence",
129
- 'success_message': "Analysis saved successfully.",
130
- 'sentence_structure': "Sentence Structure",
131
- 'subjects': "Subjects",
132
- #V
133
- 'verbs': "Verbs",
134
- #T
135
- 'title': "AIdeaText - Morphological and Syntactic Analysis",
136
- 'tag': "Tag",
137
- #W
138
- 'warning_message': "Please enter a text to analyze.",
139
- 'word': "Word",
140
- 'processing': 'Processing...',
141
- 'error_processing': 'Error processing',
142
- 'morphosyntactic_analysis_error': 'Error in morphosyntactic analysis',
143
- 'morphosyntactic_analysis_completed': 'Morphosyntactic analysis completed'
144
  }
145
 
146
  SEMANTIC = {
@@ -197,6 +163,8 @@ SEMANTIC = {
197
  }
198
 
199
  DISCOURSE = {
 
 
200
  'discourse_title': "AIdeaText - Discourse Analysis",
201
  'file_uploader1': "Upload text file 1 (Pattern)",
202
  'file_uploader2': "Upload text file 2 (Comparison)",
@@ -215,10 +183,25 @@ DISCOURSE = {
215
  'warning_message': "Please enter a text or upload a file to analyze.",
216
  'morphosyntax_history': "Morphosyntax history",
217
  'analysis_of': "Analysis of"
218
-
219
  }
220
 
221
  ACTIVITIES = {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  'analysis_types_chart_title': "Types of analyses performed",
223
  'analysis_types_chart_x': "Analysis type",
224
  'analysis_types_chart_y': "Count",
@@ -230,9 +213,9 @@ ACTIVITIES = {
230
  'combined_graph': "Combined Graph",
231
  'conceptual_relations_graph': "Conceptual Relations Graph",
232
  'conversation': "Conversation",
233
- 'discourse_analyses_expander': "Discourse Analyses History",
234
- 'discourse_analyses': "Discourse Analyses",
235
- 'discourse_history': "Discourse Analysis History",
236
  'document': "Document",
237
  'data_load_error': "Error loading student data",
238
  'graph_display_error': "Could not display the graph",
@@ -244,7 +227,7 @@ ACTIVITIES = {
244
  'morphosyntax_analyses_expander': "Morphosyntactic Analyses History",
245
  'morphosyntax_history': "Morphosyntactic Analysis History",
246
  'no_arc_diagram': "No arc diagram found for this analysis.",
247
- 'no_chat_history': "No conversations with the ChatBot were found.",
248
  'no_data_warning': "No analysis data found for this student.",
249
  'progress_of': "Progress of",
250
  'semantic_analyses': "Semantic Analyses",
@@ -253,11 +236,44 @@ ACTIVITIES = {
253
  'show_debug_data': "Show debug data",
254
  'student_debug_data': "Student data (for debugging):",
255
  'summary_title': "Activities Summary",
256
- 'title': "Activities",
257
  'timestamp': "Timestamp",
258
  'total_analyses': "Total analyses performed:",
259
  'try_analysis': "Try performing some text analyses first.",
260
- 'user': "User"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  }
262
 
263
  FEEDBACK = {
 
56
  CURRENT_SITUATION = {
57
  'title': "My Current Situation",
58
  'input_prompt': "Write or paste your text here:",
59
+ 'first_analyze_button': "Analyze my writing",
60
  'processing': "Analyzing...",
61
  'analysis_error': "Error analyzing text",
62
+ 'help': "We will analyze your text to determine its current status", # <-- Added this line
63
+ # Radio buttons for text type
 
64
  'text_type_header': "Text type",
65
+ 'text_type_help': "Select the text type to adjust evaluation criteria",
66
+ # Metrics
 
67
  'vocabulary_label': "Vocabulary",
68
  'vocabulary_help': "Richness and variety of vocabulary",
69
+ 'structure_label': "Structure",
70
  'structure_help': "Organization and complexity of sentences",
71
  'cohesion_label': "Cohesion",
72
  'cohesion_help': "Connection and fluidity between ideas",
73
  'clarity_label': "Clarity",
74
+ 'clarity_help': "Ease of text comprehension",
75
+ # Metric states
 
76
  'metric_improvement': "⚠️ Needs improvement",
77
  'metric_acceptable': "📈 Acceptable",
78
  'metric_optimal': "✅ Optimal",
79
  'metric_target': "Goal: {:.2f}",
80
+ # Errors
 
81
  'error_interface': "An error occurred while loading the interface",
82
  'error_results': "Error displaying results",
83
  'error_chart': "Error displaying chart"
 
85
 
86
  MORPHOSYNTACTIC = {
87
  #A
 
88
  'arc_diagram': "Syntactic analysis: Arc diagram",
89
+ #B
90
+ 'tab_text_baseline': "Produce first text",
91
+ 'tab_iterations': "Produce new versions of the first text",
92
+
93
+ # Pestaña 1 texto base
94
+ 'btn_new_morpho_analysis': "New morphosyntactic analysis",
95
+ 'btn_analyze_baseline': "Analyze the entered text",
96
+ 'input_baseline_text': "Enter the first text to analyze",
97
+ 'warn_enter_text': "Please enter a text to analyze",
98
+ 'error_processing_baseline': "Error processing the initial text",
99
+ 'arc_diagram_baseline_label': "Arc diagram of the initial text",
100
+ 'baseline_diagram_not_available': "Arc diagram of the initial text not available",
101
+
102
+ # Pestaña 2 Iteración del texto
103
+ 'info_first_analyze_base': "Check if the initial text exists",
104
+ 'iteration_text_subheader': "New version of the initial text",
105
+ 'input_iteration_text': "Enter a new version of the initial text and compare both texts' arcs",
106
+ 'btn_analyze_iteration': "Analyze changes",
107
+ 'warn_enter_iteration_text': "Enter a new version of the initial text and compare both texts' arcs",
108
+ 'iteration_saved': "Changes saved successfully",
109
+ 'error_iteration': "Error processing the new changes"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  }
111
 
112
  SEMANTIC = {
 
163
  }
164
 
165
  DISCOURSE = {
166
+ 'file1_label': "Pattern Document",
167
+ 'file2_label': "Compared Document",
168
  'discourse_title': "AIdeaText - Discourse Analysis",
169
  'file_uploader1': "Upload text file 1 (Pattern)",
170
  'file_uploader2': "Upload text file 2 (Comparison)",
 
183
  'warning_message': "Please enter a text or upload a file to analyze.",
184
  'morphosyntax_history': "Morphosyntax history",
185
  'analysis_of': "Analysis of"
 
186
  }
187
 
188
  ACTIVITIES = {
189
+ # Nuevas etiquetas actualizadas
190
+ 'current_situation_activities': "Records of function: My Current Situation",
191
+ 'morpho_activities': "Records of my morphosyntactic analyses",
192
+ 'semantic_activities': "Records of my semantic analyses",
193
+ 'discourse_activities': "Records of my text comparison analyses",
194
+ 'chat_activities': "Records of my conversations with the virtual tutor",
195
+
196
+ # Mantener otras claves existentes
197
+ 'current_situation_tab': "Current situation",
198
+ 'morpho_tab': "Morphosyntactic analysis",
199
+ 'semantic_tab': "Semantic analysis",
200
+ 'discourse_tab': "Text comparison analysis",
201
+ 'activities_tab': "My activities record",
202
+ 'feedback_tab': "Feedback form",
203
+
204
+ # Resto de las claves que estén en el diccionario ACTIVITIES
205
  'analysis_types_chart_title': "Types of analyses performed",
206
  'analysis_types_chart_x': "Analysis type",
207
  'analysis_types_chart_y': "Count",
 
213
  'combined_graph': "Combined Graph",
214
  'conceptual_relations_graph': "Conceptual Relations Graph",
215
  'conversation': "Conversation",
216
+ 'discourse_analyses_expander': "Text Comparison Analyses History", # Actualizado
217
+ 'discourse_analyses': "Text Comparison Analyses", # Actualizado
218
+ 'discourse_history': "Text Comparison Analysis History", # Actualizado
219
  'document': "Document",
220
  'data_load_error': "Error loading student data",
221
  'graph_display_error': "Could not display the graph",
 
227
  'morphosyntax_analyses_expander': "Morphosyntactic Analyses History",
228
  'morphosyntax_history': "Morphosyntactic Analysis History",
229
  'no_arc_diagram': "No arc diagram found for this analysis.",
230
+ 'no_chat_history': "No conversations with the Virtual Tutor were found.", # Actualizado
231
  'no_data_warning': "No analysis data found for this student.",
232
  'progress_of': "Progress of",
233
  'semantic_analyses': "Semantic Analyses",
 
236
  'show_debug_data': "Show debug data",
237
  'student_debug_data': "Student data (for debugging):",
238
  'summary_title': "Activities Summary",
239
+ 'title': "My Activities Record", # Actualizado
240
  'timestamp': "Timestamp",
241
  'total_analyses': "Total analyses performed:",
242
  'try_analysis': "Try performing some text analyses first.",
243
+ 'user': "User",
244
+
245
+ # Nuevas traducciones específicas para la sección de actividades
246
+ 'diagnosis_tab': "Diagnosis",
247
+ 'recommendations_tab': "Recommendations",
248
+ 'key_metrics': "Key metrics",
249
+ 'details': "Details",
250
+ 'analyzed_text': "Analyzed text",
251
+ 'analysis_date': "Date",
252
+ 'academic_article': "Academic article",
253
+ 'student_essay': "Student essay",
254
+ 'general_communication': "General communication",
255
+ 'no_diagnosis': "No diagnosis data available",
256
+ 'no_recommendations': "No recommendations available",
257
+ 'error_current_situation': "Error displaying current situation analysis",
258
+ 'no_current_situation': "No current situation analyses recorded",
259
+ 'no_morpho_analyses': "No morphosyntactic analyses recorded",
260
+ 'error_morpho': "Error displaying morphosyntactic analysis",
261
+ 'no_semantic_analyses': "No semantic analyses recorded",
262
+ 'error_semantic': "Error displaying semantic analysis",
263
+ 'no_discourse_analyses': "No text comparison analyses recorded", # Actualizado
264
+ 'error_discourse': "Error displaying text comparison analysis", # Actualizado
265
+ 'no_chat_history': "No conversation records with the virtual tutor", # Actualizado
266
+ 'error_chat': "Error displaying conversation records", # Actualizado
267
+ 'error_loading_activities': "Error loading activities",
268
+ 'chat_date': "Conversation date",
269
+ 'invalid_chat_format': "Invalid chat format",
270
+ 'comparison_results': "Comparison results",
271
+ 'concepts_text_1': "Concepts Text 1",
272
+ 'concepts_text_2': "Concepts Text 2",
273
+ 'no_visualization': "No comparative visualization available",
274
+ 'no_graph': "No visualization available",
275
+ 'error_loading_graph': "Error loading graph",
276
+ 'syntactic_diagrams': "Syntactic diagrams"
277
  }
278
 
279
  FEEDBACK = {