Skip to content

Commit

Permalink
Merge pull request #19 from miceno/dev/es-translation
Browse files Browse the repository at this point in the history
Update Spanish translation
  • Loading branch information
collectiveaccess authored May 10, 2020
2 parents 9556fd2 + 347de1a commit 4646fb1
Show file tree
Hide file tree
Showing 13 changed files with 21,792 additions and 12,875 deletions.
2 changes: 1 addition & 1 deletion app/controllers/LightboxController.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ function ajaxSaveSetInfo($pa_options = null) {
# --- if making a new reponse set, check there isn't already one for the user
$va_user_response_ids = $t_set->getSetResponseIds($this->request->getUserID(), $pn_parent_id);
if(is_array($va_user_response_ids) && sizeof($va_user_response_ids)){
$va_errors[] = _t('Only one reponse allowed');
$va_errors[] = _t('Only one response allowed');
}
}
// check for errors
Expand Down
2 changes: 1 addition & 1 deletion app/lib/BaseEditorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public function Delete($pa_options=null) {
if ($t_child->numErrors() > 0) { continue; }
$vn_child_count++;
}
$this->notification->addNotification(($vn_child_count == 1) ? _t("Transferred %1 children to <em>%2</em> (%3)", $vn_child_count, $t_target->getLabelForDisplay(), $t_target->get($t_target->getProperty('ID_NUMBERING_ID_FIELD'))) : _t("Transferred %1 children to <em>%2</em> (%3)", $vn_child_count, $t_target->getLabelForDisplay(), $t_target->get($t_target->getProperty('ID_NUMBERING_ID_FIELD'))), __NOTIFICATION_TYPE_INFO__);
$this->notification->addNotification(($vn_child_count == 1) ? _t("Transferred %1 child to <em>%2</em> (%3)", $vn_child_count, $t_target->getLabelForDisplay(), $t_target->get($t_target->getProperty('ID_NUMBERING_ID_FIELD'))) : _t("Transferred %1 children to <em>%2</em> (%3)", $vn_child_count, $t_target->getLabelForDisplay(), $t_target->get($t_target->getProperty('ID_NUMBERING_ID_FIELD'))), __NOTIFICATION_TYPE_INFO__);
}

break;
Expand Down
2 changes: 1 addition & 1 deletion app/lib/IDNumbering/UUIDNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function validateValue($ps_value) {
case 'VER3':
case 'VER5':
if (!$ps_value) {
$va_element_errors[$vs_element_name] = _t("A value is reuiqred for UUID Versions 3 & 5");
$va_element_errors[$vs_element_name] = _t("A value is required for UUID Versions 3 & 5");
}
if($va_element_info['namespaceID'] == ''){
$va_element_errors[$vs_element_name] = _t("A NamespaceID (root UUID) is required for UUID %1", $va_element_info['type']);
Expand Down
2 changes: 1 addition & 1 deletion app/lib/pawtucket/ConfigurationCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public static function DBOutOfDateQuickCheck() {
public static function PHPVersionQuickCheck() {
$va_php_version = caGetPHPVersion();
if($va_php_version["versionInt"]<70000){
self::addError(_t("CollectiveAccess requires PHP version 7.0 or higher to function properly. You're running %1. Please upgrade.",$va_php_version["version"]));
self::addError(_t("Pawtucket2 requires PHP version 7.0 or higher to function properly. You're running %1. Please upgrade.",$va_php_version["version"]));
}
return true;
}
Expand Down
Binary file modified app/locale/es_ES/messages.mo
Binary file not shown.
Loading

0 comments on commit 4646fb1

Please sign in to comment.