Tradución al castellano del dashlet de carpetas personales que sale en el tablero.

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/trunk@15 eb19766c-00d9-a042-a3a0-45cb8ec72764
This commit is contained in:
David Arranz 2010-09-14 17:52:23 +00:00
parent 5f6ebd7967
commit 4b47fdb018
6 changed files with 39 additions and 36 deletions

View File

@ -41,6 +41,9 @@
// stuff in the new installer section database upgrade fails without this
global $default;
// traducir carpeta 'DroppedDocuments'
define('DROPPED_DOCUMENTS_FOLDER', 'Documentos personales');
if (defined('DMS_DEFAULTS_INCLUDED'))
{
return;

View File

@ -46,7 +46,7 @@ require_once(KT_DIR . "/ktapi/KTAPIFolder.inc.php");
require_once(KT_LIB_DIR . "/roles/Role.inc");
require_once(KT_LIB_DIR . "/roles/roleallocation.inc.php");
require_once(KT_LIB_DIR . "/permissions/permissionutil.inc.php");
require_once(KT_LIB_DIR . '/mime.inc.php');
require_once(KT_LIB_DIR . "/mime.inc.php");
/* This page is run via an AJAX call from the update.js for this plugin.
* It checks to see if both the dropdocuments folder and the users personal folder exist.
* If they don't, it creates them and assigns permission and roles accordingly.
@ -75,7 +75,7 @@ class MyDropDocumentsPage extends KTStandardDispatcher {
// Check for the DropDocuments folder in root
if(!Folder::FolderExistsName('DroppedDocuments', $iRootID))
if(!Folder::FolderExistsName(DROPPED_DOCUMENTS_FOLDER, $iRootID))
{
// We need to be admin to create the folder and update its permissions
$this->ktapi = new KTAPI();
@ -92,7 +92,7 @@ class MyDropDocumentsPage extends KTStandardDispatcher {
}
}
$iDropDocsFolderID = $this->getFolderID('DroppedDocuments');
$iDropDocsFolderID = $this->getFolderID(DROPPED_DOCUMENTS_FOLDER);
// Check for users folder
if(!Folder::FolderExistsName($sUserName, $iDropDocsFolderID))
@ -136,7 +136,7 @@ class MyDropDocumentsPage extends KTStandardDispatcher {
/* ** Get the Dropped Documents folder object and assign the user to the role */
// Get the DroppedDocuments folder
$dropDocsFolder = $root->get_folder_by_name('/DroppedDocuments');
$dropDocsFolder = $root->get_folder_by_name('/'.DROPPED_DOCUMENTS_FOLDER);
if(PEAR::isError($dropDocsFolder)){
$default->log->debug('MyDropDocuments: could not get DroppedDocuments folder '.$dropDocsFolder->getMessage());
@ -208,7 +208,7 @@ class MyDropDocumentsPage extends KTStandardDispatcher {
}
//Create dropdocuments folder
$dropDocsFolder = $root->add_folder('DroppedDocuments');
$dropDocsFolder = $root->add_folder(DROPPED_DOCUMENTS_FOLDER);
if(PEAR::isError($dropDocsFolder)){
$default->log->debug('MyDropDocuments: could not create DroppedDocuments folder '.$dropDocsFolder->getMessage());
@ -288,7 +288,7 @@ class MyDropDocumentsPage extends KTStandardDispatcher {
$maxcount = 5;
$sReturnTable = '<span class="descriptiveText">'._kt('Recently Dropped Documents').'</span>
$sReturnTable = '<span class="descriptiveText">'._kt('Recently Dropped Documents').'</span>
<table width="100%" class="kt_collection drop_box" cellspacing="0">
<thead>

View File

@ -23,7 +23,7 @@ function MyDropDocumentsStateChanged(){
}
}else{
document.getElementById("MyDropDocumentsBlock").innerHTML=' Looking for Drop Documents folder <br><br><br>';
document.getElementById("MyDropDocumentsBlock").innerHTML=' Comprobando la carpeta de documentos personales...<br><br><br>';
}
}
@ -35,4 +35,4 @@ function GetXmlHttpMyDropDocumentsObject(){
objXMLHttpMyDropDocuments=new ActiveXObject("Microsoft.XMLHTTP");
}
return objXMLHttpMyDropDocuments;
}
}

View File

@ -63,7 +63,7 @@ function hideTooltip()
</div>
<div id="MyDropDocumentsBlock" name="MyDropDocumentsBlock">
Checking My Drop Documents
Comprobando documentos personales...
<br>
<br>
<br>
@ -82,4 +82,4 @@ Ext.onReady(function()
CheckFolderExists();
});
{/literal}
</script>
</script>

View File

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Knowledgetree Spanish\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-11-06 07:51+0200\n"
"PO-Revision-Date: 2009-12-25 23:20-0300\n"
"PO-Revision-Date: 2010-09-14 10:18-0800\n"
"Last-Translator: Juan Tobar <jptobar@gmail.com>\n"
"Language-Team: Juan Tobar <jptobar@gmail.com>\n"
"MIME-Version: 1.0\n"
@ -505,7 +505,7 @@ msgstr ""
#: plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php:193
#: plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php:286
msgid "<span class=\"descriptiveText\"> You do not have any dropped documents </span><br><br><br>"
msgstr "<span class=\"descriptiveText\"> Usted no tiene ningún documento descartado </span><br><br><br>"
msgstr "<span class=\"descriptiveText\"> Usted no tiene ningún documento en su carpeta de documentos personales </span><br><br><br>"
#: i18n/templates.c:5351
msgid "<strong>Deleted</strong>, which completely removes the selected items from the lookup. Note that this may not be possible if some other aspect of the system depends on a particular lookup."
@ -3879,7 +3879,7 @@ msgstr "Delta de Fecha de Creación"
#: plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php:297
msgid "Date Dropped"
msgstr "Fecha descartada"
msgstr "Fecha"
#: lib/browse/Criteria.inc:770
msgid "Date Modified"
@ -8747,11 +8747,11 @@ msgstr "Debe seleccionar un campo para editar."
#: plugins/MyDropDocumentsPlugin/MyDropDocumentsPlugin.php:41
msgid "My Drop Documents"
msgstr "Mis Documentos Descartados"
msgstr "Documentos personales"
#: plugins/MyDropDocumentsPlugin/MyDropDocumentsDashlet.php:44
msgid "My Dropped Documents"
msgstr "Mis Documentos Descartados"
msgstr "Documentos personales"
#: plugins/search2/MigrationDashlet.php:81
#: search2/indexing/indexerCore.inc.php:1074
@ -11086,7 +11086,7 @@ msgstr "Documentos Agregados o Cambiados Recientemente"
#: plugins/MyDropDocumentsPlugin/MyDropDocumentsPage.php:291
msgid "Recently Dropped Documents"
msgstr "Documentos Recientemente Descartados"
msgstr "Documentos personales recientes"
#: plugins/commercial/network/userhistory/UserHistoryDashlet.inc.php:36
msgid "Recently Viewed Items"
@ -18171,9 +18171,9 @@ msgstr "Este informe enumera todos los tipos mime y extensiones que se pueden id
#~ msgstr "Reservar Documento: #docname#"
#~ msgid ""
#~ "Complex fieldsets allow you to give far more detailed structure to your "
#~ "information: The value of \"Residents\" can depend not only on \"Street"
#~ "\", but on how the user was allowed to select the specific street (given "
#~ "another field)."
#~ "information: The value of \"Residents\" can depend not only on "
#~ "\"Street\", but on how the user was allowed to select the specific street "
#~ "(given another field)."
#~ msgstr ""
#~ "Los conjuntos de campos complejos le permiten dar una estructura más "
#~ "detallada a la información que identifica un documento. El valor de "
@ -18239,15 +18239,15 @@ msgstr "Este informe enumera todos los tipos mime y extensiones que se pueden id
#~ "Las condiciones dinámicas dan al administrador la posibilidad de definir "
#~ "que permisos serán aplicados a un documento dentro de una directorio, "
#~ "basado en un conjunto de reglas. Estas reglas pueden ser aplicadas a la "
#~ "metadata del documento, su contenido o su información transaccioneal. Las "
#~ "Condiciones Dinámicas son aplicadas por directorio o pueden ser ajustadas "
#~ "desde la sección de permisos de directorio."
#~ "metadata del documento, su contenido o su información transaccioneal. "
#~ "Las Condiciones Dinámicas son aplicadas por directorio o pueden ser "
#~ "ajustadas desde la sección de permisos de directorio."
#~ msgid ""
#~ "Edit the [email] section of the config.ini file to set your email server "
#~ "and the sending address of the KnowledgeTree server."
#~ msgstr ""
#~ "Editar la sección [email] del archivo config.ini para ajustar su servidor "
#~ "de correo y enviar las direcciones al servidor de KnowledgeTree."
#~ "Editar la sección [email] del archivo config.ini para ajustar su "
#~ "servidor de correo y enviar las direcciones al servidor de KnowledgeTree."
#~ msgid "Error creating permission"
#~ msgstr "Error creando permiso"
#~ msgid "Extended Transation Information"
@ -18258,8 +18258,8 @@ msgstr "Este informe enumera todos los tipos mime y extensiones que se pueden id
#~ "Incompatible database version (%s, expected version %s) - contact the "
#~ "administrator"
#~ msgstr ""
#~ "Versión de Base de Datos Incompatible (%s, verion esperada %s) - contacte "
#~ "al administrador"
#~ "Versión de Base de Datos Incompatible (%s, verion esperada %s) - "
#~ "contacte al administrador"
#~ msgid "KT Tools Dashlet"
#~ msgstr "Dashlet KT Tools"
#~ msgid "KTIS Administration"
@ -18308,24 +18308,24 @@ msgstr "Este informe enumera todos los tipos mime y extensiones que se pueden id
#~ "The document title is used as the main name of a document throughout "
#~ "KnowledgeTree&trade;."
#~ msgstr ""
#~ "El título del documento es usado como el nombre principal del documento a "
#~ "través del sistema KnowledgeTree."
#~ "El título del documento es usado como el nombre principal del documento "
#~ "a través del sistema KnowledgeTree."
#~ msgid "The fieldset is currently designated as <strong>Complex</strong>"
#~ msgstr ""
#~ "El conjunto de campos esta designado actualmente como <strong>Complejo</"
#~ "strong>"
#~ "El conjunto de campos esta designado actualmente como "
#~ "<strong>Complejo</strong>"
#~ msgid "The fieldset is currently designated as <strong>Complex</strong>."
#~ msgstr ""
#~ "El conjunto de campos esta designado actualmente como <strong>Complejo</"
#~ "strong>."
#~ "El conjunto de campos esta designado actualmente como "
#~ "<strong>Complejo</strong>."
#~ msgid "The fieldset is currently designated as <strong>Simple</strong>"
#~ msgstr ""
#~ "El conjunto de campos esta designado actualmente como <strong>Simple</"
#~ "strong>"
#~ "El conjunto de campos esta designado actualmente como "
#~ "<strong>Simple</strong>"
#~ msgid "The fieldset is currently designated as <strong>Simple</strong>."
#~ msgstr ""
#~ "El conjunto de campos esta designado actualmente como <strong>Simple</"
#~ "strong>."
#~ "El conjunto de campos esta designado actualmente como "
#~ "<strong>Simple</strong>."
#~ msgid "The following upgrade is available:"
#~ msgstr "La siguiente actualización esta disponible:"
#~ msgid "The following upgrades are available:"