AIdeaText commited on
Commit
901ae3b
·
verified ·
1 Parent(s): b039e3e

Update modules/ui/ui.py

Browse files
Files changed (1) hide show
  1. modules/ui/ui.py +13 -4
modules/ui/ui.py CHANGED
@@ -364,8 +364,11 @@ def display_morphosyntax_analysis_interface(nlp_models, lang_code):
364
  translations = {
365
  'es': {
366
  'title': "AIdeaText - Análisis morfológico y sintáctico",
367
- 'input_label': "Ingrese un texto para analizar (máx. 5,000 palabras):",
368
- 'input_placeholder': "El objetivo de esta aplicación es que mejore sus habilidades de redacción...",
 
 
 
369
  'analyze_button': "Analizar texto",
370
  'repeated_words': "Palabras repetidas",
371
  'legend': "Leyenda: Categorías gramaticales",
@@ -393,7 +396,10 @@ def display_morphosyntax_analysis_interface(nlp_models, lang_code):
393
  'en': {
394
  'title': "AIdeaText - Morphological and Syntactic Analysis",
395
  'input_label': "Enter a text to analyze (max 5,000 words):",
396
- 'input_placeholder': "The goal of this app is for you to improve your writing skills...",
 
 
 
397
  'analyze_button': "Analyze text",
398
  'repeated_words': "Repeated words",
399
  'legend': "Legend: Grammatical categories",
@@ -421,7 +427,10 @@ def display_morphosyntax_analysis_interface(nlp_models, lang_code):
421
  'fr': {
422
  'title': "AIdeaText - Analyse morphologique et syntaxique",
423
  'input_label': "Entrez un texte à analyser (max 5 000 mots) :",
424
- 'input_placeholder': "Le but de cette application est d'améliorer vos compétences en rédaction...",
 
 
 
425
  'analyze_button': "Analyser le texte",
426
  'repeated_words': "Mots répétés",
427
  'legend': "Légende : Catégories grammaticales",
 
364
  translations = {
365
  'es': {
366
  'title': "AIdeaText - Análisis morfológico y sintáctico",
367
+ 'input_label': "Ingrese un texto para analizar (máximo 5,000 palabras",
368
+ 'input_placeholder': "Esta funcionalidad le ayudará con dos competencias:\n"
369
+ "[1] \"Escribe diversos tipos de textos en su lengua materna\"\n"
370
+ "[2] \"Lee diversos tipos de textos escritos en su lengua materna\"\n\n"
371
+ "Ingrese su texto aquí para analizar...",
372
  'analyze_button': "Analizar texto",
373
  'repeated_words': "Palabras repetidas",
374
  'legend': "Leyenda: Categorías gramaticales",
 
396
  'en': {
397
  'title': "AIdeaText - Morphological and Syntactic Analysis",
398
  'input_label': "Enter a text to analyze (max 5,000 words):",
399
+ 'input_placeholder': "This functionality will help you with two competencies:\n"
400
+ "[1] \"Write various types of texts in your native language\"\n"
401
+ "[2] \"Read various types of written texts in your native language\"\n\n"
402
+ "Enter your text here to analyze...",
403
  'analyze_button': "Analyze text",
404
  'repeated_words': "Repeated words",
405
  'legend': "Legend: Grammatical categories",
 
427
  'fr': {
428
  'title': "AIdeaText - Analyse morphologique et syntaxique",
429
  'input_label': "Entrez un texte à analyser (max 5 000 mots) :",
430
+ 'input_placeholder': "Cette fonctionnalité vous aidera avec deux compétences :\n"
431
+ "[1] \"Écrire divers types de textes dans votre langue maternelle\"\n"
432
+ "[2] \"Lire divers types de textes écrits dans votre langue maternelle\"\n\n"
433
+ "Entrez votre texte ici pour l'analyser...",
434
  'analyze_button': "Analyser le texte",
435
  'repeated_words': "Mots répétés",
436
  'legend': "Légende : Catégories grammaticales",