Bladeren bron

Changed some translations keys.

Aquilino Blanco 7 jaren geleden
bovenliggende
commit
40746386d7

+ 3 - 3
main/document/add_link.php

@@ -132,7 +132,7 @@ $form->addElement('hidden', 'linkid', $document_id);
 $form->addElement('hidden', 'curdirpath', $path);
 $form->addElement('text', 'name', get_lang('LinkName'), array('id' => 'name_link'));
 $form->addElement('text', 'url', get_lang('Url'), array('id' => 'url_link'));
-$form->addElement('static', 'info', '', '<span class="text-primary" data-toggle="tooltip" title="'.$urlWLHTML.'">'.get_lang('ValidDomainsList').' <span class="glyphicon glyphicon-question-sign"></span></span>');
+$form->addElement('static', 'info', '', '<span class="text-primary" data-toggle="tooltip" title="'.$urlWLHTML.'">'.get_lang('ValidDomainList').' <span class="glyphicon glyphicon-question-sign"></span></span>');
 $form->addButtonSend(get_lang('AddCloudLink'), 'submitDocument');
  
 $form->addRule('name', get_lang('PleaseEnterCloudLinkName'), 'required', null, 'client');
@@ -141,8 +141,8 @@ $form->addRule('url', get_lang('PleaseEnterURL'), 'required', null, 'client');
 $form->addRule('url', get_lang('PleaseEnterURL'), 'required', null, 'server');
 // Well formed url pattern (must have the protocol)
 $urlRegEx = URLUtils::getWellformedUrlRegex();
-$form->addRule('url', get_lang('MalformedUrl'), 'regex', $urlRegEx, 'client');
-$form->addRule('url', get_lang('MalformedUrl'), 'regex', $urlRegEx, 'server');
+$form->addRule('url', get_lang('NotValidURL'), 'regex', $urlRegEx, 'client');
+$form->addRule('url', get_lang('NotValidURL'), 'regex', $urlRegEx, 'server');
 $form->addRule('url', get_lang('NotValidDomain').$urlWLText, 'regex', $urlWLRegEx, 'client');
 $form->addRule('url', get_lang('NotValidDomain').$urlWLHTML, 'regex', $urlWLRegEx, 'server');
  

+ 3 - 3
main/document/edit_document.php

@@ -452,7 +452,7 @@ if ($owner_id == api_get_user_id() ||
         $urlWLText = "\n\t* ".implode("\n\t* ", $urlWL);
         $urlWLHTML = "<ul><li>".implode("</li><li>", $urlWL)."</li></ul>";
         $form->addText('comment', get_lang('Url'));
-        $form->addElement('static', 'info', '', '<span class="text-primary" data-toggle="tooltip" title="'.$urlWLHTML.'">'.get_lang('ValidDomainsList').' <span class="glyphicon glyphicon-question-sign"></span></span>');
+        $form->addElement('static', 'info', '', '<span class="text-primary" data-toggle="tooltip" title="'.$urlWLHTML.'">'.get_lang('ValidDomainList').' <span class="glyphicon glyphicon-question-sign"></span></span>');
     } else {
         $form->addElement('textarea', 'comment', get_lang('Comment'), ['cols-size' => [2, 10, 0]]);
     }
@@ -473,8 +473,8 @@ if ($owner_id == api_get_user_id() ||
         $form->addRule('comment', get_lang('PleaseEnterURL'), 'required', null, 'server');
         // Well formed url pattern (must have the protocol)
         $urlRegEx = URLUtils::getWellformedUrlRegex();
-        $form->addRule('comment', get_lang('MalformedUrl'), 'regex', $urlRegEx, 'client');
-        $form->addRule('comment', get_lang('MalformedUrl'), 'regex', $urlRegEx, 'server');
+        $form->addRule('comment', get_lang('NotValidURL'), 'regex', $urlRegEx, 'client');
+        $form->addRule('comment', get_lang('NotValidURL'), 'regex', $urlRegEx, 'server');
         $form->addRule('comment', get_lang('NotValidDomain').$urlWLText,'regex', $urlWLRegEx, 'client');
         $form->addRule('comment', get_lang('NotValidDomain').$urlWLHTML,'regex', $urlWLRegEx, 'server');
     }

+ 2 - 2
main/lang/english/trad4all.inc.php

@@ -8079,10 +8079,10 @@ $CloudLinkDeleteError = "Error deleting cloud file link.";
 $CloudLinkAdded = "Cloud file link added.";
 $PleaseEnterCloudLinkName = "Please, enter a name for the cloud file link.";
 $PleaseEnterURL = "Please, enter the URL for the cloud file link.";
-$MalformedUrl = "URL field format not valid. Expected format example: http://dropbox.com/sh/loremipsum/loremipsum?dl=0";
+$NotValidURL = "URL field format not valid. Expected format example: http://dropbox.com/sh/loremipsum/loremipsum?dl=0";
 $CloudLinkModified = "Cloud file link modified.";
 $NotValidDomain = "Not valid domain. It must be one of these:";
-$ValidDomainsList = "Valid domain list";
+$ValidDomainList = "Valid domain list";
 $ExerciseCategoryAllSessionsReport = "Exercise report by category for all sessions";
 $MailConfirmation = "Activate account by confirmation email";
 $RegistrationConfirmation = "Registration confirmation";

+ 2 - 2
main/lang/galician/trad4all.inc.php

@@ -7307,8 +7307,8 @@ $CloudLinkDeleteError = "Erro ao eliminar o enlace ao ficheiro na nube.";
 $CloudLinkAdded = "Enlace a ficheiro na nube engadido.";
 $PleaseEnterCloudLinkName = "Por favor, introduza un nome para o enlace ao ficheiro na nube.";
 $PleaseEnterURL = "Por favor, introduza a URL do ficheiro na nube.";
-$MalformedUrl = "Formato do campo URL non válido. Exemplo do formato esperado: http://dropbox.com/sh/loremipsum/loremipsum?dl=0";
+$NotValidURL = "Formato do campo URL non válido. Exemplo do formato esperado: http://dropbox.com/sh/loremipsum/loremipsum?dl=0";
 $CloudLinkModified = "Enlace a ficheiro na nube modificado.";
 $NotValidDomain = "Dominio non válido. Debe ser un dos seguintes:";
-$ValidDomainsList = "Lista de dominios válidos";
+$ValidDomainList = "Lista de dominios válidos";
 ?>

+ 2 - 2
main/lang/spanish/trad4all.inc.php

@@ -8099,10 +8099,10 @@ $CloudLinkDeleteError = "Error al eliminar el enlace al fichero en la nube.";
 $CloudLinkAdded = "Enlace a fichero en la nube añadido.";
 $PleaseEnterCloudLinkName = "Por favor, introduzca un nombre para el enlace al fichero en la nube.";
 $PleaseEnterURL = "Por favor, introduzca la URL del fichero en la nube.";
-$MalformedUrl = "Formato del campo URL no válido. Ejemplo del formato esperado: http://dropbox.com/sh/loremipsum/loremipsum?dl=0";
+$NotValidURL = "Formato del campo URL no válido. Ejemplo del formato esperado: http://dropbox.com/sh/loremipsum/loremipsum?dl=0";
 $CloudLinkModified = "Enlace a fichero en la nube modificado.";
 $NotValidDomain = "Dominio no válido. Debe de ser uno de los siguientes:";
-$ValidDomainsList = "Lista de dominios válidos";
+$ValidDomainList = "Lista de dominios válidos";
 $ThisEmailWasSentViaCourseX = "Este correo electrónico fue enviado a través del curso %s";
 $ThisEmailWasSentViaCourseXInSessionX = "Este correo electrónico fue enviado a través del curso %s en la sesión %s";
 $Diagram = "Diagrama";