diff options
Diffstat (limited to 'plugins')
308 files changed, 83654 insertions, 0 deletions
diff --git a/plugins/CopyEngine/Rsync/Rsync.pro b/plugins/CopyEngine/Rsync/Rsync.pro new file mode 100644 index 0000000..e525f27 --- /dev/null +++ b/plugins/CopyEngine/Rsync/Rsync.pro @@ -0,0 +1,2 @@ +include($$PWD/../Ultracopier/CopyEngine.pro) +DEFINES += ULTRACOPIER_PLUGIN_RSYNC diff --git a/plugins/CopyEngine/Rsync/informations.xml b/plugins/CopyEngine/Rsync/informations.xml new file mode 100644 index 0000000..17c9f26 --- /dev/null +++ b/plugins/CopyEngine/Rsync/informations.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Rsync copy engine]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>CopyEngine</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>windows-x86</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Copy engine of Ultracopier which uses rsync as backend]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>Rsync</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package> diff --git a/plugins/CopyEngine/Ultracopier/AvancedQFile.cpp b/plugins/CopyEngine/Ultracopier/AvancedQFile.cpp new file mode 100644 index 0000000..3d867fb --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/AvancedQFile.cpp @@ -0,0 +1,208 @@ +/** \file AvancedQFile.cpp +\brief Define the QFile herited class to set file date/time +\author alpha_one_x86 */ + +#include "AvancedQFile.h" + +#ifdef Q_CC_GNU +//this next header is needed to change file time/date under gcc +#include <utime.h> +#include <errno.h> +#endif + +//source +//hSrc=CreateFile(pData->pfiSrcFile->GetFullFilePath(), GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN | (bNoBuffer ? FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH : 0), NULL); +//destination +//hDst=CreateFile(pData->strDstFile, GENERIC_WRITE, FILE_SHARE_READ, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN | (bNoBuffer ? FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH : 0), NULL); + +bool AvancedQFile::setCreated(const QDateTime &time) +{ + time_t ctime=time.toTime_t(); + #ifdef Q_CC_GNU + //creation time not exists into unix world + Q_UNUSED(ctime) + return true; + #else + setErrorString(tr("Not supported on this platform")); + return false; + #endif +} + +bool AvancedQFile::setLastModified(const QDateTime &time) +{ + time_t actime=QFileInfo(*this).lastRead().toTime_t(); + //protect to wrong actime + if(actime<0) + actime=0; + time_t modtime=time.toTime_t(); + if(modtime<0) + { + setErrorString(tr("Last modified date is wrong")); + return false; + } + #ifdef Q_CC_GNU + //this function avalaible on unix and mingw + utimbuf butime; + butime.actime=actime; + butime.modtime=modtime; + int returnVal=utime(this->fileName().toLocal8Bit().data(),&butime); + if(returnVal==0) + return true; + else + { + setErrorString(strerror(errno)); + return false; + } + #else + setErrorString(tr("Not supported on this platform")); + return false; + #endif +} + +bool AvancedQFile::setLastRead(const QDateTime &time) +{ + time_t modtime=QFileInfo(*this).lastModified().toTime_t(); + //protect to wrong actime + if(modtime<0) + modtime=0; + time_t actime=time.toTime_t(); + if(actime<0) + { + setErrorString(tr("Last access date is wrong")); + return false; + } + #ifdef Q_CC_GNU + //this function avalaible on unix and mingw + utimbuf butime; + butime.actime=actime; + butime.modtime=modtime; + int returnVal=utime(this->fileName().toLocal8Bit().data(),&butime); + if(returnVal==0) + return true; + else + { + setErrorString(strerror(errno)); + return false; + } + #else + setErrorString(tr("Not supported on this platform")); + return false; + #endif +} + +#ifdef ULTRACOPIER_OVERLAPPED_FILE +AvancedQFile::avancedQFile() +{ + handle=INVALID_HANDLE_VALUE; + fileError=QFileDevice::NoError; + fileErrorString.clear(); +} + +AvancedQFile::~avancedQFile() +{ + close(); +} + +QString AvancedQFile::getLastWindowsError() +{ + WCHAR ErrorStringW[65535]; + DWORD dw = GetLastError(); + + int size=FormatMessage( + FORMAT_MESSAGE_ALLOCATE_BUFFER | + FORMAT_MESSAGE_FROM_SYSTEM | + FORMAT_MESSAGE_IGNORE_INSERTS, + NULL, + dw, + MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), + ErrorStringW, + 0, NULL ); + if(size<0) + tr("Unknown error: %1").arg(dw); + return QString::fromWCharArray(ErrorStringW,size); +} + +bool AvancedQFile::open(OpenMode mode) +{ + fileError=QFileDevice::NoError; + fileErrorString.clear(); + WCHAR fileNameW[fileName().size()+1]; + if(QDir::toNativeSeparators("\\\\?\\"+fileName()).toWCharArray(fileNameW)!=fileName().size()) + { + fileError=QFileDevice::OpenError; + fileErrorString=tr("Path conversion error"); + return false; + } + fileNameW[fileName().size()]='\0'; + + DWORD dwDesiredAccess=0; + if(mode & QIODevice::ReadOnly) + dwDesiredAccess|=GENERIC_READ; + if(mode & QIODevice::WriteOnly) + dwDesiredAccess|=GENERIC_Write; + + DWORD dwCreationDisposition; + if(mode & QIODevice::WriteOnly) + dwCreationDisposition=CREATE_ALWAYS; + else + dwCreationDisposition=OPEN_EXISTING; + + handle=CreateFile( + fileNameW, + dwDesiredAccess, + 0, + 0, + dwCreationDisposition, + FILE_FLAG_WRITE_THROUGH | FILE_FLAG_SEQUENTIAL_SCAN, + 0 + ); + if(handle==INVALID_HANDLE_VALUE) + { + fileError=QFileDevice::OpenError; + fileErrorString=getLastWindowsError(); + } + return (handle!=INVALID_HANDLE_VALUE); +} + +void AvancedQFile::close() +{ + if(handle==INVALID_HANDLE_VALUE) + return; + CloseHandle(handle); +} + +bool AvancedQFile::seek(qint64 pos) +{ + toto +} + +bool AvancedQFile::resize(qint64 size) +{ + toto +} + +QString AvancedQFile::errorString() const +{ + if(fileErrorString.isEmpty()) + return tr("Unknown error"); + return fileErrorString; +} + +bool AvancedQFile::isOpen() const +{ + return (handle!=INVALID_HANDLE_VALUE); +} + +qint64 AvancedQFile::write(const QByteArray &data) +{ +} + +QByteArray AvancedQFile::read(qint64 maxlen) +{ +} + +QFileDevice::FileError AvancedQFile::error() const +{ + return fileError; +} +#endif diff --git a/plugins/CopyEngine/Ultracopier/AvancedQFile.h b/plugins/CopyEngine/Ultracopier/AvancedQFile.h new file mode 100644 index 0000000..8c3dc4a --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/AvancedQFile.h @@ -0,0 +1,45 @@ +/** \file AvancedQFile.h +\brief Define the QFile herited class to set file date/time +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef AVANCEDQFILE_H +#define AVANCEDQFILE_H + +#include <QFile> +#include <QDateTime> +#include <QFileInfo> + +/// \brief devired class from QFile to set time/date on file +class AvancedQFile : public QFile +{ + Q_OBJECT +public: + /// \brief set created date, not exists in unix world + bool setCreated(const QDateTime &time); + /// \brief set last modification date + bool setLastModified(const QDateTime &time); + /// \brief set last read date + bool setLastRead(const QDateTime &time); + + #ifdef ULTRACOPIER_OVERLAPPED_FILE + explicit AvancedQFile(); + ~AvancedQFile(); + bool open(OpenMode mode); + void close(); + bool seek(qint64 pos); + bool resize(qint64 size); + QString errorString() const; + bool isOpen() const; + qint64 write(const QByteArray &data); + QByteArray read(qint64 maxlen); + FileError error() const; + QString getLastWindowsError(); +private: + HANDLE handle; + FileError fileError; + QString fileErrorString; + #endif +}; + +#endif // AVANCEDQFILE_H diff --git a/plugins/CopyEngine/Ultracopier/CompilerInfo.h b/plugins/CopyEngine/Ultracopier/CompilerInfo.h new file mode 100644 index 0000000..84625b9 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/CompilerInfo.h @@ -0,0 +1 @@ +#include "../../../CompilerInfo.h" diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp b/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp new file mode 100644 index 0000000..16c36ae --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/CopyEngine-collision-and-error.cpp @@ -0,0 +1,568 @@ +/** \file copyEngine.cpp +\brief Define the copy engine +\author alpha_one_x86 */ + +#include "CopyEngine.h" +#include "FolderExistsDialog.h" +#include "DiskSpace.h" + +//dialog message +/// \note Can be call without queue because all call will be serialized +void CopyEngine::fileAlreadyExistsSlot(QFileInfo source,QFileInfo destination,bool isSame,TransferThread * thread) +{ + fileAlreadyExists(source,destination,isSame,thread); +} + +/// \note Can be call without queue because all call will be serialized +void CopyEngine::errorOnFileSlot(QFileInfo fileInfo,std::string errorString,TransferThread * thread,const ErrorType &errorType) +{ + errorOnFile(fileInfo,errorString,thread,errorType); +} + +/// \note Can be call without queue because all call will be serialized +void CopyEngine::folderAlreadyExistsSlot(QFileInfo source,QFileInfo destination,bool isSame,ScanFileOrFolder * thread) +{ + folderAlreadyExists(source,destination,isSame,thread); +} + +/// \note Can be call without queue because all call will be serialized +void CopyEngine::errorOnFolderSlot(QFileInfo fileInfo,std::string errorString,ScanFileOrFolder * thread,ErrorType errorType) +{ + errorOnFolder(fileInfo,errorString,thread,errorType); +} + +//mkpath event +void CopyEngine::mkPathErrorOnFolderSlot(QFileInfo folder,std::string error,ErrorType errorType) +{ + mkPathErrorOnFolder(folder,error,errorType); +} + +/// \note Can be call without queue because all call will be serialized +void CopyEngine::fileAlreadyExists(QFileInfo source,QFileInfo destination,bool isSame,TransferThread * thread,bool isCalledByShowOneNewDialog) +{ + if(stopIt) + return; + if(thread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to locate the thread"); + return; + } + //load the action + if(isSame) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file is same: "+source.absoluteFilePath().toStdString()); + FileExistsAction tempFileExistsAction=alwaysDoThisActionForFileExists; + if(tempFileExistsAction==FileExists_Overwrite || tempFileExistsAction==FileExists_OverwriteIfNewer || tempFileExistsAction==FileExists_OverwriteIfNotSame || tempFileExistsAction==FileExists_OverwriteIfOlder) + tempFileExistsAction=FileExists_NotSet; + switch(tempFileExistsAction) + { + case FileExists_Skip: + case FileExists_Rename: + thread->setFileExistsAction(tempFileExistsAction); + break; + default: + if(dialogIsOpen) + { + alreadyExistsQueueItem newItem; + newItem.source=source; + newItem.destination=destination; + newItem.isSame=isSame; + newItem.transfer=thread; + newItem.scan=NULL; + alreadyExistsQueue.push_back(newItem); + return; + } + dialogIsOpen=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog"); + FileIsSameDialog dialog(interface,source,firstRenamingRule,otherRenamingRule); + emit isInPause(true); + dialog.exec();/// \bug crash when external close + FileExistsAction newAction=dialog.getAction(); + emit isInPause(false); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction)); + if(newAction==FileExists_Cancel) + { + emit cancelAll(); + return; + } + if(dialog.getAlways() && newAction!=alwaysDoThisActionForFileExists) + { + alwaysDoThisActionForFileExists=newAction; + listThread->setAlwaysFileExistsAction(alwaysDoThisActionForFileExists); + if(uiIsInstalled) + switch(newAction) + { + default: + case FileExists_Skip: + ui->comboBoxFileCollision->setCurrentIndex(1); + break; + case FileExists_Rename: + ui->comboBoxFileCollision->setCurrentIndex(6); + break; + } + } + if(dialog.getAlways() || newAction!=FileExists_Rename) + thread->setFileExistsAction(newAction); + else + thread->setFileRename(dialog.getNewName()); + dialogIsOpen=false; + if(!isCalledByShowOneNewDialog) + emit queryOneNewDialog(); + return; + break; + } + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file already exists: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + FileExistsAction tempFileExistsAction=alwaysDoThisActionForFileExists; + switch(tempFileExistsAction) + { + case FileExists_Skip: + case FileExists_Rename: + case FileExists_Overwrite: + case FileExists_OverwriteIfNewer: + case FileExists_OverwriteIfOlder: + case FileExists_OverwriteIfNotSame: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"always do this action: "+std::to_string(tempFileExistsAction)); + thread->setFileExistsAction(tempFileExistsAction); + break; + default: + if(dialogIsOpen) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("dialog open, put in queue: %1 %2") + .arg(source.absoluteFilePath()) + .arg(destination.absoluteFilePath()) + .toStdString() + ); + alreadyExistsQueueItem newItem; + newItem.source=source; + newItem.destination=destination; + newItem.isSame=isSame; + newItem.transfer=thread; + newItem.scan=NULL; + alreadyExistsQueue.push_back(newItem); + return; + } + dialogIsOpen=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog"); + FileExistsDialog dialog(interface,source,destination,firstRenamingRule,otherRenamingRule); + emit isInPause(true); + dialog.exec();/// \bug crash when external close + FileExistsAction newAction=dialog.getAction(); + emit isInPause(false); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction)); + if(newAction==FileExists_Cancel) + { + emit cancelAll(); + return; + } + if(dialog.getAlways() && newAction!=alwaysDoThisActionForFileExists) + { + alwaysDoThisActionForFileExists=newAction; + listThread->setAlwaysFileExistsAction(alwaysDoThisActionForFileExists); + if(uiIsInstalled) + switch(newAction) + { + default: + case FileExists_Skip: + ui->comboBoxFileCollision->setCurrentIndex(1); + break; + case FileExists_Rename: + ui->comboBoxFileCollision->setCurrentIndex(6); + break; + case FileExists_Overwrite: + ui->comboBoxFileCollision->setCurrentIndex(2); + break; + case FileExists_OverwriteIfNotSame: + ui->comboBoxFileCollision->setCurrentIndex(3); + break; + case FileExists_OverwriteIfNewer: + ui->comboBoxFileCollision->setCurrentIndex(4); + break; + case FileExists_OverwriteIfOlder: + ui->comboBoxFileCollision->setCurrentIndex(5); + break; + } + } + if(dialog.getAlways() || newAction!=FileExists_Rename) + thread->setFileExistsAction(newAction); + else + thread->setFileRename(dialog.getNewName()); + dialogIsOpen=false; + if(!isCalledByShowOneNewDialog) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit queryOneNewDialog()"); + emit queryOneNewDialog(); + } + return; + break; + } + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +void CopyEngine::haveNeedPutAtBottom(bool needPutAtBottom, const QFileInfo &fileInfo, const std::string &errorString,TransferThread *thread,const ErrorType &errorType) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + if(!needPutAtBottom) + { + alwaysDoThisActionForFileError=FileError_NotSet; + if(uiIsInstalled) + ui->comboBoxFileError->setCurrentIndex(0); + errorQueueItem newItem; + newItem.errorString=errorString; + newItem.inode=fileInfo; + newItem.mkPath=false; + newItem.rmPath=false; + newItem.scan=NULL; + newItem.transfer=thread; + newItem.errorType=errorType; + errorQueue.push_back(newItem); + showOneNewDialog(); + } +} + +void CopyEngine::missingDiskSpace(std::vector<Diskspace> list) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog"); + DiskSpace dialog(facilityEngine,list,interface); + emit isInPause(true); + dialog.exec();/// \bug crash when external close + bool ok=dialog.getAction(); + emit isInPause(false); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"cancel: "+std::to_string(ok)); + if(!ok) + emit cancelAll(); + else + listThread->autoStartIfNeeded(); +} + +/// \note Can be call without queue because all call will be serialized +void CopyEngine::errorOnFile(QFileInfo fileInfo,std::string errorString,TransferThread * thread,const ErrorType &errorType,bool isCalledByShowOneNewDialog) +{ + if(stopIt) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+fileInfo.absoluteFilePath().toStdString()+", error: "+errorString); + if(thread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to locate the thread"); + return; + } + //load the action + FileErrorAction tempFileErrorAction=alwaysDoThisActionForFileError; + switch(tempFileErrorAction) + { + case FileError_Skip: + thread->skip(); + return; + case FileError_Retry: + thread->retryAfterError(); + return; + case FileError_PutToEndOfTheList: + emit getNeedPutAtBottom(fileInfo,errorString,thread,errorType); + return; + case FileError_Cancel: + return; + default: + if(dialogIsOpen) + { + errorQueueItem newItem; + newItem.errorString=errorString; + newItem.inode=fileInfo; + newItem.mkPath=false; + newItem.rmPath=false; + newItem.scan=NULL; + newItem.transfer=thread; + newItem.errorType=errorType; + errorQueue.push_back(newItem); + return; + } + dialogIsOpen=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog"); + emit error(fileInfo.absoluteFilePath().toStdString(),fileInfo.size(),fileInfo.lastModified().toMSecsSinceEpoch()/1000,errorString); + FileErrorDialog dialog(interface,fileInfo,errorString,errorType); + emit isInPause(true); + dialog.exec();/// \bug crash when external close + FileErrorAction newAction=dialog.getAction(); + emit isInPause(false); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction)); + if(newAction==FileError_Cancel) + { + emit cancelAll(); + return; + } + if(dialog.getAlways() && newAction!=alwaysDoThisActionForFileError) + { + alwaysDoThisActionForFileError=newAction; + if(uiIsInstalled) + switch(newAction) + { + default: + case FileError_Skip: + ui->comboBoxFileError->setCurrentIndex(1); + break; + case FileError_PutToEndOfTheList: + ui->comboBoxFileError->setCurrentIndex(2); + break; + } + } + switch(newAction) + { + case FileError_Skip: + thread->skip(); + break; + case FileError_Retry: + thread->retryAfterError(); + break; + case FileError_PutToEndOfTheList: + thread->putAtBottom(); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"file error action wrong"); + break; + } + dialogIsOpen=false; + if(!isCalledByShowOneNewDialog) + emit queryOneNewDialog(); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"isCalledByShowOneNewDialog==true then not show other dial"); + return; + break; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +/// \note Can be call without queue because all call will be serialized +void CopyEngine::folderAlreadyExists(QFileInfo source,QFileInfo destination,bool isSame,ScanFileOrFolder * thread,bool isCalledByShowOneNewDialog) +{ + if(stopIt) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"folder already exists: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + if(thread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to locate the thread"); + return; + } + //load the always action + FolderExistsAction tempFolderExistsAction=alwaysDoThisActionForFolderExists; + switch(tempFolderExistsAction) + { + case FolderExists_Skip: + case FolderExists_Rename: + case FolderExists_Merge: + thread->setFolderExistsAction(tempFolderExistsAction); + break; + default: + if(dialogIsOpen) + { + alreadyExistsQueueItem newItem; + newItem.source=source; + newItem.destination=destination; + newItem.isSame=isSame; + newItem.transfer=NULL; + newItem.scan=thread; + alreadyExistsQueue.push_back(newItem); + return; + } + dialogIsOpen=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog"); + FolderExistsDialog dialog(interface,source,isSame,destination,firstRenamingRule,otherRenamingRule); + dialog.exec();/// \bug crash when external close + FolderExistsAction newAction=dialog.getAction(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction)); + if(newAction==FolderExists_Cancel) + { + emit cancelAll(); + return; + } + if(dialog.getAlways() && newAction!=alwaysDoThisActionForFolderExists) + setComboBoxFolderCollision(newAction); + if(!dialog.getAlways() && newAction==FolderExists_Rename) + thread->setFolderExistsAction(newAction,dialog.getNewName()); + else + thread->setFolderExistsAction(newAction); + dialogIsOpen=false; + if(!isCalledByShowOneNewDialog) + emit queryOneNewDialog(); + return; + break; + } +} + +/// \note Can be call without queue because all call will be serialized +/// \todo all this part +void CopyEngine::errorOnFolder(QFileInfo fileInfo, std::string errorString, ScanFileOrFolder * thread, ErrorType errorType, bool isCalledByShowOneNewDialog) +{ + if(stopIt) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+fileInfo.absoluteFilePath().toStdString()+", error: "+errorString); + if(thread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to locate the thread"); + return; + } + //load the always action + FileErrorAction tempFileErrorAction=alwaysDoThisActionForFolderError; + switch(tempFileErrorAction) + { + case FileError_Skip: + case FileError_Retry: + case FileError_PutToEndOfTheList: + thread->setFolderErrorAction(tempFileErrorAction); + break; + default: + if(dialogIsOpen) + { + errorQueueItem newItem; + newItem.errorString=errorString; + newItem.inode=fileInfo; + newItem.mkPath=false; + newItem.rmPath=false; + newItem.scan=thread; + newItem.transfer=NULL; + newItem.errorType=errorType; + errorQueue.push_back(newItem); + return; + } + dialogIsOpen=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog"); + emit error(fileInfo.absoluteFilePath().toStdString(),fileInfo.size(),fileInfo.lastModified().toMSecsSinceEpoch()/1000,errorString); + FileErrorDialog dialog(interface,fileInfo,errorString,errorType); + dialog.exec();/// \bug crash when external close + FileErrorAction newAction=dialog.getAction(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction)); + if(newAction==FileError_Cancel) + { + emit cancelAll(); + return; + } + if(dialog.getAlways() && newAction!=alwaysDoThisActionForFileError) + { + setComboBoxFolderError(newAction); + alwaysDoThisActionForFolderError=newAction; + } + dialogIsOpen=false; + thread->setFolderErrorAction(newAction); + if(!isCalledByShowOneNewDialog) + emit queryOneNewDialog(); + return; + break; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +// ----------------------------------------------------- + +//mkpath event +void CopyEngine::mkPathErrorOnFolder(QFileInfo folder,std::string errorString,const ErrorType &errorType,bool isCalledByShowOneNewDialog) +{ + if(stopIt) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"file have error: "+folder.absoluteFilePath().toStdString()+", error: "+errorString); + //load the always action + FileErrorAction tempFileErrorAction=alwaysDoThisActionForFolderError; + switch(tempFileErrorAction) + { + case FileError_Skip: + listThread->mkPathQueue.skip(); + return; + case FileError_Retry: + listThread->mkPathQueue.retry(); + return; + default: + if(dialogIsOpen) + { + errorQueueItem newItem; + newItem.errorString=errorString; + newItem.inode=folder; + newItem.mkPath=true; + newItem.rmPath=false; + newItem.scan=NULL; + newItem.transfer=NULL; + newItem.errorType=errorType; + errorQueue.push_back(newItem); + return; + } + dialogIsOpen=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"show dialog"); + emit error(folder.absoluteFilePath().toStdString(),folder.size(),folder.lastModified().toMSecsSinceEpoch()/1000,errorString); + FileErrorDialog dialog(interface,folder,errorString,errorType); + dialog.exec();/// \bug crash when external close + FileErrorAction newAction=dialog.getAction(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"close dialog: "+std::to_string(newAction)); + if(newAction==FileError_Cancel) + { + emit cancelAll(); + return; + } + if(dialog.getAlways() && newAction!=alwaysDoThisActionForFileError) + { + setComboBoxFolderError(newAction); + alwaysDoThisActionForFolderError=newAction; + } + dialogIsOpen=false; + switch(newAction) + { + case FileError_Skip: + listThread->mkPathQueue.skip(); + break; + case FileError_Retry: + listThread->mkPathQueue.retry(); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unknow switch case: "+std::to_string(newAction)); + break; + } + if(!isCalledByShowOneNewDialog) + emit queryOneNewDialog(); + return; + break; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +//show one new dialog if needed +void CopyEngine::showOneNewDialog() +{ + if(stopIt) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"alreadyExistsQueue.size(): "+std::to_string(alreadyExistsQueue.size())); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"errorQueue.size(): "+std::to_string(errorQueue.size())); + int loop_size=alreadyExistsQueue.size(); + while(loop_size>0) + { + if(alreadyExistsQueue.front().transfer!=NULL) + { + fileAlreadyExists(alreadyExistsQueue.front().source, + alreadyExistsQueue.front().destination, + alreadyExistsQueue.front().isSame, + alreadyExistsQueue.front().transfer, + true); + } + else if(alreadyExistsQueue.front().scan!=NULL) + folderAlreadyExists(alreadyExistsQueue.front().source, + alreadyExistsQueue.front().destination, + alreadyExistsQueue.front().isSame, + alreadyExistsQueue.front().scan, + true); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"bug, no thread actived"); + alreadyExistsQueue.erase(alreadyExistsQueue.cbegin()); + loop_size--; + } + loop_size=errorQueue.size(); + while(errorQueue.size()>0 && loop_size>0) + { + if(errorQueue.front().transfer!=NULL) + errorOnFile(errorQueue.front().inode,errorQueue.front().errorString,errorQueue.front().transfer,errorQueue.front().errorType,true); + else if(errorQueue.front().scan!=NULL) + errorOnFolder(errorQueue.front().inode,errorQueue.front().errorString,errorQueue.front().scan,errorQueue.front().errorType,true); + else if(errorQueue.front().mkPath) + mkPathErrorOnFolder(errorQueue.front().inode,errorQueue.front().errorString,errorQueue.front().errorType,true); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"bug, no thread actived"); + errorQueue.erase(errorQueue.cbegin()); + loop_size--; + } +} diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine.cpp b/plugins/CopyEngine/Ultracopier/CopyEngine.cpp new file mode 100644 index 0000000..f3d6e04 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/CopyEngine.cpp @@ -0,0 +1,1253 @@ +/** \file copyEngine.cpp +\brief Define the copy engine +\author alpha_one_x86 */ + +#include <QFileDialog> +#include <QMessageBox> +#include <cmath> + +#include "CopyEngine.h" +#include "FolderExistsDialog.h" +#include "../../../interface/PluginInterface_CopyEngine.h" + +// The cmath header from MSVC does not contain round() +#if (defined(_WIN64) || defined(_WIN32)) && defined(_MSC_VER) +inline double round(double d) { + return floor( d + 0.5 ); +} +#endif + +CopyEngine::CopyEngine(FacilityInterface * facilityEngine) : + ui(new Ui::copyEngineOptions()) +{ + listThread=new ListThread(facilityEngine); + this->facilityEngine = facilityEngine; + filters = NULL; + renamingRules = NULL; + + blockSize = ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE; + sequentialBuffer = ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_SEQUENTIAL_NUMBER_OF_BLOCK; + parallelBuffer = ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK; + interface = NULL; + tempWidget = NULL; + uiIsInstalled = false; + dialogIsOpen = false; + renameTheOriginalDestination = false; + maxSpeed = 0; + alwaysDoThisActionForFileExists = FileExists_NotSet; + alwaysDoThisActionForFileError = FileError_NotSet; + checkDestinationFolderExists = false; + stopIt = false; + size_for_speed = 0; + putAtBottom = 0; + forcedMode = false; + followTheStrictOrder = false; + deletePartiallyTransferredFiles = true; + inodeThreads = 16; + moveTheWholeFolder = true; + + //implement the SingleShot in this class + //timerActionDone.setSingleShot(true); + timerActionDone.setInterval(ULTRACOPIER_PLUGIN_TIME_UPDATE_TRASNFER_LIST); + //timerProgression.setSingleShot(true); + timerProgression.setInterval(ULTRACOPIER_PLUGIN_TIME_UPDATE_PROGRESSION); + + timerUpdateMount.setInterval(ULTRACOPIER_PLUGIN_TIME_UPDATE_MOUNT_MS); +} + +CopyEngine::~CopyEngine() +{ + /*if(filters!=NULL) + delete filters; + if(renamingRules!=NULL) + delete renamingRules; + destroyed by the widget parent, here the interface + */ + stopIt=true; + delete listThread; + delete ui; +} + +void CopyEngine::connectTheSignalsSlots() +{ + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + debugDialogWindow.show(); + #endif + if(!connect(listThread,&ListThread::actionInProgess, this,&CopyEngine::actionInProgess, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect actionInProgess()"); + if(!connect(listThread,&ListThread::actionInProgess, this,&CopyEngine::newActionInProgess, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect actionInProgess() to slot"); + if(!connect(listThread,&ListThread::newFolderListing, this,&CopyEngine::newFolderListing, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect newFolderListing()"); + if(!connect(listThread,&ListThread::isInPause, this,&CopyEngine::isInPause, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect isInPause()"); + if(!connect(listThread,&ListThread::error, this,&CopyEngine::error, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect error()"); + if(!connect(listThread,&ListThread::rmPath, this,&CopyEngine::rmPath, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect rmPath()"); + if(!connect(listThread,&ListThread::mkPath, this,&CopyEngine::mkPath, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect mkPath()"); + if(!connect(listThread,&ListThread::newActionOnList, this,&CopyEngine::newActionOnList, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect newActionOnList()"); + if(!connect(listThread,&ListThread::doneTime, this,&CopyEngine::doneTime, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect doneTime()"); + if(!connect(listThread,&ListThread::pushFileProgression, this,&CopyEngine::pushFileProgression, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect pushFileProgression()"); + if(!connect(listThread,&ListThread::pushGeneralProgression, this,&CopyEngine::pushGeneralProgression, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect pushGeneralProgression()"); + if(!connect(listThread,&ListThread::syncReady, this,&CopyEngine::syncReady, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect syncReady()"); + if(!connect(listThread,&ListThread::canBeDeleted, this,&CopyEngine::canBeDeleted, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect canBeDeleted()"); + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + if(!connect(listThread,&ListThread::debugInformation, this,&CopyEngine::debugInformation, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect debugInformation()"); + #endif + + if(!connect(listThread,&ListThread::send_fileAlreadyExists, this,&CopyEngine::fileAlreadyExistsSlot, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_fileAlreadyExists()"); + if(!connect(listThread,&ListThread::send_errorOnFile, this,&CopyEngine::errorOnFileSlot, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_errorOnFile()"); + if(!connect(listThread,&ListThread::send_folderAlreadyExists, this,&CopyEngine::folderAlreadyExistsSlot, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_folderAlreadyExists()"); + if(!connect(listThread,&ListThread::send_errorOnFolder, this,&CopyEngine::errorOnFolderSlot, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_errorOnFolder()"); + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + if(!connect(listThread,&ListThread::updateTheDebugInfo, this,&CopyEngine::updateTheDebugInfo, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect updateTheDebugInfo()"); + #endif + if(!connect(listThread,&ListThread::errorTransferList, this,&CopyEngine::errorTransferList, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect errorTransferList()"); + if(!connect(listThread,&ListThread::warningTransferList, this,&CopyEngine::warningTransferList, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect warningTransferList()"); + if(!connect(listThread,&ListThread::mkPathErrorOnFolder, this,&CopyEngine::mkPathErrorOnFolderSlot, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect mkPathErrorOnFolder()"); + if(!connect(listThread,&ListThread::send_realBytesTransfered, this,&CopyEngine::get_realBytesTransfered, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_realBytesTransfered()"); + + if(!connect(this,&CopyEngine::tryCancel, listThread,&ListThread::cancel, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect tryCancel()"); + if(!connect(this,&CopyEngine::getNeedPutAtBottom, listThread,&ListThread::getNeedPutAtBottom, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect getNeedPutAtBottom()"); + if(!connect(listThread,&ListThread::haveNeedPutAtBottom, this,&CopyEngine::haveNeedPutAtBottom, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect haveNeedPutAtBottom()"); + + + if(!connect(this,&CopyEngine::signal_pause, listThread,&ListThread::pause, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_pause()"); + if(!connect(this,&CopyEngine::signal_exportErrorIntoTransferList,listThread,&ListThread::exportErrorIntoTransferList, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_exportErrorIntoTransferList()"); + if(!connect(this,&CopyEngine::signal_resume, listThread,&ListThread::resume, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_resume()"); + if(!connect(this,&CopyEngine::signal_skip, listThread,&ListThread::skip, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_skip()"); + if(!connect(this,&CopyEngine::signal_setCollisionAction, listThread,&ListThread::setAlwaysFileExistsAction, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_setCollisionAction()"); + if(!connect(this,&CopyEngine::signal_setTransferAlgorithm, listThread,&ListThread::setTransferAlgorithm, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_setCollisionAction()"); + if(!connect(this,&CopyEngine::signal_setFolderCollision, listThread,&ListThread::setFolderCollision, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_setFolderCollision()"); + if(!connect(this,&CopyEngine::signal_removeItems, listThread,&ListThread::removeItems, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_removeItems()"); + if(!connect(this,&CopyEngine::signal_moveItemsOnTop, listThread,&ListThread::moveItemsOnTop, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_moveItemsOnTop()"); + if(!connect(this,&CopyEngine::signal_moveItemsUp, listThread,&ListThread::moveItemsUp, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_moveItemsUp()"); + if(!connect(this,&CopyEngine::signal_moveItemsDown, listThread,&ListThread::moveItemsDown, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_moveItemsDown()"); + if(!connect(this,&CopyEngine::signal_moveItemsOnBottom, listThread,&ListThread::moveItemsOnBottom, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_moveItemsOnBottom()"); + if(!connect(this,&CopyEngine::signal_exportTransferList, listThread,&ListThread::exportTransferList, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_exportTransferList()"); + if(!connect(this,&CopyEngine::signal_importTransferList, listThread,&ListThread::importTransferList, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_importTransferList()"); + if(!connect(this,&CopyEngine::signal_forceMode, listThread,&ListThread::forceMode, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect signal_forceMode()"); + if(!connect(this,&CopyEngine::send_osBufferLimit, listThread,&ListThread::set_osBufferLimit, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_osBufferLimit()"); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + if(!connect(this,&CopyEngine::send_speedLimitation, listThread,&ListThread::setSpeedLimitation, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_speedLimitation()"); + #endif + if(!connect(this,&CopyEngine::send_blockSize, listThread,&ListThread::setBlockSize, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_blockSize()"); + if(!connect(this,&CopyEngine::send_parallelBuffer, listThread,&ListThread::setParallelBuffer, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect setParallelBuffer()"); + if(!connect(this,&CopyEngine::send_sequentialBuffer, listThread,&ListThread::setSequentialBuffer, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect setSequentialBuffer()"); + if(!connect(this,&CopyEngine::send_parallelizeIfSmallerThan, listThread,&ListThread::setParallelizeIfSmallerThan, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect setParallelizeIfSmallerThan()"); + if(!connect(this,&CopyEngine::send_moveTheWholeFolder, listThread,&ListThread::setMoveTheWholeFolder, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect moveTheWholeFolder()"); + if(!connect(this,&CopyEngine::send_deletePartiallyTransferredFiles, listThread,&ListThread::setDeletePartiallyTransferredFiles, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect deletePartiallyTransferredFiles()"); + if(!connect(this,&CopyEngine::send_setRenameTheOriginalDestination, listThread,&ListThread::setRenameTheOriginalDestination, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect setRenameTheOriginalDestination()"); + if(!connect(this,&CopyEngine::send_setInodeThreads, listThread,&ListThread::setInodeThreads, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect setInodeThreads()"); + if(!connect(this,&CopyEngine::send_followTheStrictOrder, listThread,&ListThread::setFollowTheStrictOrder, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect followTheStrictOrder()"); + if(!connect(this,&CopyEngine::send_setFilters,listThread,&ListThread::set_setFilters, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_setFilters()"); + if(!connect(this,&CopyEngine::send_sendNewRenamingRules,listThread,&ListThread::set_sendNewRenamingRules, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect send_sendNewRenamingRules()"); + if(!connect(&timerActionDone,&QTimer::timeout, listThread,&ListThread::sendActionDone)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect timerActionDone"); + if(!connect(&timerProgression,&QTimer::timeout, listThread,&ListThread::sendProgression)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect timerProgression"); + if(!connect(listThread,&ListThread::missingDiskSpace, this,&CopyEngine::missingDiskSpace,Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect timerProgression"); + + if(!connect(this,&CopyEngine::queryOneNewDialog,this,&CopyEngine::showOneNewDialog,Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect queryOneNewDialog()"); + if(!connect(listThread,&ListThread::errorToRetry,this,&CopyEngine::errorToRetry,Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect errorToRetry()"); + + if(!connect(&timerUpdateMount,&QTimer::timeout,listThread,&ListThread::set_updateMount, Qt::QueuedConnection)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect set_updateMount()"); +} + +#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW +void CopyEngine::updateTheDebugInfo(const std::vector<std::string> &newList, const std::vector<std::string> &newList2, const int &numberOfInodeOperation) +{ + debugDialogWindow.setTransferThreadList(newList); + debugDialogWindow.setTransferList(newList2); + debugDialogWindow.setInodeUsage(numberOfInodeOperation); +} +#endif + +//to send the options panel +bool CopyEngine::getOptionsEngine(QWidget * tempWidget) +{ + this->tempWidget=tempWidget; + ui->setupUi(tempWidget); + ui->toolBox->setCurrentIndex(0); + ui->blockSize->setMaximum(ULTRACOPIER_PLUGIN_MAX_BLOCK_SIZE); + connect(tempWidget, &QWidget::destroyed, this, &CopyEngine::resetTempWidget); + //conect the ui widget + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + if(!setSpeedLimitation(maxSpeed)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the speed limitation"); + #endif + + //here else, the default settings can't be loaded + uiIsInstalled=true; + + setBlockSize(blockSize); + setSequentialBuffer(sequentialBuffer); + setParallelBuffer(parallelBuffer); + setAutoStart(autoStart); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + setRsync(rsync); + #else + ui->label_rsync->setVisible(false); + ui->rsync->setVisible(false); + #endif + setCheckDestinationFolderExists(checkDestinationFolderExists); + set_doChecksum(doChecksum); + set_checksumIgnoreIfImpossible(checksumIgnoreIfImpossible); + set_checksumOnlyOnError(checksumOnlyOnError); + set_osBuffer(osBuffer); + set_osBufferLimited(osBufferLimited); + set_osBufferLimit(osBufferLimit); + setRightTransfer(doRightTransfer); + setKeepDate(keepDate); + setParallelizeIfSmallerThan(parallelizeIfSmallerThan); + setFollowTheStrictOrder(followTheStrictOrder); + setDeletePartiallyTransferredFiles(deletePartiallyTransferredFiles); + setInodeThreads(inodeThreads); + setRenameTheOriginalDestination(renameTheOriginalDestination); + setMoveTheWholeFolder(moveTheWholeFolder); + setCheckDiskSpace(checkDiskSpace); + setDefaultDestinationFolder(defaultDestinationFolder); + + switch(alwaysDoThisActionForFileExists) + { + case FileExists_NotSet: + ui->comboBoxFileCollision->setCurrentIndex(0); + break; + case FileExists_Skip: + ui->comboBoxFileCollision->setCurrentIndex(1); + break; + case FileExists_Overwrite: + ui->comboBoxFileCollision->setCurrentIndex(2); + break; + case FileExists_OverwriteIfNotSame: + ui->comboBoxFileCollision->setCurrentIndex(3); + break; + case FileExists_OverwriteIfNewer: + ui->comboBoxFileCollision->setCurrentIndex(4); + break; + case FileExists_OverwriteIfOlder: + ui->comboBoxFileCollision->setCurrentIndex(5); + break; + case FileExists_Rename: + ui->comboBoxFileCollision->setCurrentIndex(6); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + ui->comboBoxFileCollision->setCurrentIndex(0); + break; + } + switch(alwaysDoThisActionForFileError) + { + case FileError_NotSet: + ui->comboBoxFileError->setCurrentIndex(0); + break; + case FileError_Skip: + ui->comboBoxFileError->setCurrentIndex(1); + break; + case FileError_PutToEndOfTheList: + ui->comboBoxFileError->setCurrentIndex(2); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + ui->comboBoxFileError->setCurrentIndex(0); + break; + } + switch(alwaysDoThisActionForFolderExists) + { + case FolderExists_NotSet: + ui->comboBoxFolderCollision->setCurrentIndex(0); + break; + case FolderExists_Merge: + ui->comboBoxFolderCollision->setCurrentIndex(1); + break; + case FolderExists_Skip: + ui->comboBoxFolderCollision->setCurrentIndex(2); + break; + case FolderExists_Rename: + ui->comboBoxFolderCollision->setCurrentIndex(3); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + ui->comboBoxFolderCollision->setCurrentIndex(0); + break; + } + switch(alwaysDoThisActionForFolderError) + { + case FileError_NotSet: + ui->comboBoxFolderError->setCurrentIndex(0); + break; + case FileError_Skip: + ui->comboBoxFolderError->setCurrentIndex(1); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored: "+std::to_string(alwaysDoThisActionForFolderError)); + ui->comboBoxFolderError->setCurrentIndex(0); + break; + } + switch(transferAlgorithm) + { + case TransferAlgorithm_Automatic: + ui->transferAlgorithm->setCurrentIndex(0); + break; + case TransferAlgorithm_Sequential: + ui->transferAlgorithm->setCurrentIndex(1); + break; + case TransferAlgorithm_Parallel: + ui->transferAlgorithm->setCurrentIndex(2); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + ui->transferAlgorithm->setCurrentIndex(0); + break; + } + return true; +} + +//to have interface widget to do modal dialog +void CopyEngine::setInterfacePointer(QWidget * interface) +{ + this->interface=interface; + filters=new Filters(tempWidget); + renamingRules=new RenamingRules(tempWidget); + + if(uiIsInstalled) + { + connect(ui->doRightTransfer, &QCheckBox::toggled, this,&CopyEngine::setRightTransfer); + connect(ui->keepDate, &QCheckBox::toggled, this,&CopyEngine::setKeepDate); + connect(ui->blockSize, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngine::setBlockSize); + connect(ui->autoStart, &QCheckBox::toggled, this,&CopyEngine::setAutoStart); + connect(ui->doChecksum, &QCheckBox::toggled, this,&CopyEngine::doChecksum_toggled); + connect(ui->checksumIgnoreIfImpossible, &QCheckBox::toggled, this,&CopyEngine::checksumIgnoreIfImpossible_toggled); + connect(ui->checksumOnlyOnError, &QCheckBox::toggled, this,&CopyEngine::checksumOnlyOnError_toggled); + connect(ui->osBuffer, &QCheckBox::toggled, this,&CopyEngine::osBuffer_toggled); + connect(ui->osBufferLimited, &QCheckBox::toggled, this,&CopyEngine::osBufferLimited_toggled); + connect(ui->osBufferLimit, &QSpinBox::editingFinished, this,&CopyEngine::osBufferLimit_editingFinished); + connect(ui->moveTheWholeFolder, &QCheckBox::toggled, this,&CopyEngine::setMoveTheWholeFolder); + connect(ui->deletePartiallyTransferredFiles, &QCheckBox::toggled, this,&CopyEngine::setDeletePartiallyTransferredFiles); + connect(ui->followTheStrictOrder, &QCheckBox::toggled, this,&CopyEngine::setFollowTheStrictOrder); + connect(ui->checkBoxDestinationFolderExists, &QCheckBox::toggled, this,&CopyEngine::setCheckDestinationFolderExists); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + connect(ui->rsync, &QCheckBox::toggled, this,&CopyEngine::setRsync); + #endif + connect(ui->renameTheOriginalDestination, &QCheckBox::toggled, this,&CopyEngine::setRenameTheOriginalDestination); + connect(filters, &Filters::haveNewFilters, this,&CopyEngine::sendNewFilters); + connect(ui->filters, &QPushButton::clicked, this,&CopyEngine::showFilterDialog); + connect(ui->inodeThreads, &QSpinBox::editingFinished, this,&CopyEngine::inodeThreadsFinished); + connect(ui->inodeThreads, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngine::setInodeThreads); + connect(ui->defaultDestinationFolderBrowse, &QPushButton::clicked, this,&CopyEngine::defaultDestinationFolderBrowse); + + connect(ui->sequentialBuffer, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngine::setSequentialBuffer); + connect(ui->parallelBuffer, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngine::setParallelBuffer); + connect(ui->parallelizeIfSmallerThan, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngine::setParallelizeIfSmallerThan); + connect(ui->comboBoxFolderError, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngine::setFolderError); + connect(ui->comboBoxFolderCollision, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngine::setFolderCollision); + connect(ui->comboBoxFileError, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngine::setFileError); + connect(ui->comboBoxFileCollision, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngine::setFileCollision); + connect(ui->transferAlgorithm, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngine::setTransferAlgorithm); + + if(!connect(renamingRules,&RenamingRules::sendNewRenamingRules,this,&CopyEngine::sendNewRenamingRules)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect sendNewRenamingRules()"); + if(!connect(ui->renamingRules,&QPushButton::clicked,this,&CopyEngine::showRenamingRules)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to connect renamingRules.clicked()"); + } + + filters->setFilters(includeStrings,includeOptions,excludeStrings,excludeOptions); + set_setFilters(includeStrings,includeOptions,excludeStrings,excludeOptions); + + renamingRules->setRenamingRules(firstRenamingRule,otherRenamingRule); + emit send_sendNewRenamingRules(firstRenamingRule,otherRenamingRule); +} + +bool CopyEngine::haveSameSource(const std::vector<std::string> &sources) +{ + return listThread->haveSameSource(sources); +} + +bool CopyEngine::haveSameDestination(const std::string &destination) +{ + return listThread->haveSameDestination(destination); +} + +bool CopyEngine::newCopy(const std::vector<std::string> &sources) +{ + if(forcedMode && mode!=Ultracopier::Copy) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to move, you can't copy with it"); + QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to move, you can't copy with it")); + return false; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + std::string destination; + if(!defaultDestinationFolder.empty() && QDir(QString::fromStdString(defaultDestinationFolder)).exists()) + destination = defaultDestinationFolder; + else + destination = askDestination(); + if(destination.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user"); + return false; + } + return listThread->newCopy(sources,destination); +} + +bool CopyEngine::newCopy(const std::vector<std::string> &sources,const std::string &destination) +{ + if(forcedMode && mode!=Ultracopier::Copy) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to move, you can't copy with it"); + QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to move, you can't copy with it")); + return false; + } + return listThread->newCopy(sources,destination); +} + +bool CopyEngine::newMove(const std::vector<std::string> &sources) +{ + if(forcedMode && mode!=Ultracopier::Move) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to copy, you can't move with it"); + QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to copy, you can't move with it")); + return false; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + std::string destination; + if(!ui->defaultDestinationFolder->text().isEmpty() && QDir(ui->defaultDestinationFolder->text()).exists()) + destination = ui->defaultDestinationFolder->text().toStdString(); + else + destination = askDestination(); + if(destination.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user"); + return false; + } + return listThread->newMove(sources,destination); +} + +bool CopyEngine::newMove(const std::vector<std::string> &sources,const std::string &destination) +{ + if(forcedMode && mode!=Ultracopier::Move) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The engine is forced to copy, you can't move with it"); + QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The engine is forced to copy, you can't move with it")); + return false; + } + return listThread->newMove(sources,destination); +} + +void CopyEngine::defaultDestinationFolderBrowse() +{ + std::string destination = askDestination(); + if(destination.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(uiIsInstalled) + ui->defaultDestinationFolder->setText(QString::fromStdString(destination)); +} + +std::string CopyEngine::askDestination() +{ + std::string destination = listThread->getUniqueDestinationFolder(); + if(!destination.empty()) + { + QMessageBox::StandardButton button=QMessageBox::question(interface,tr("Destination"),tr("Use the actual destination \"%1\"?") + .arg(QString::fromStdString(destination)), + QMessageBox::Yes | QMessageBox::No,QMessageBox::Yes); + if(button==QMessageBox::Yes) + return destination; + } + destination=QFileDialog::getExistingDirectory(interface,QString::fromStdString(facilityEngine->translateText("Select destination directory")),QStringLiteral(""),QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks).toStdString(); + return destination; +} + +void CopyEngine::newTransferList(const std::string &file) +{ + emit signal_importTransferList(file); +} + +//because direct access to list thread into the main thread can't be do +uint64_t CopyEngine::realByteTransfered() +{ + return size_for_speed; +} + +//speed limitation +bool CopyEngine::supportSpeedLimitation() const +{ + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + return true; + #else + return false; + #endif +} + +/** \brief to sync the transfer list + * Used when the interface is changed, useful to minimize the memory size */ +void CopyEngine::syncTransferList() +{ + listThread->syncTransferList(); +} + +void CopyEngine::set_doChecksum(bool doChecksum) +{ + listThread->set_doChecksum(doChecksum); + if(uiIsInstalled) + { + ui->doChecksum->setChecked(doChecksum); + ui->checksumOnlyOnError->setEnabled(ui->doChecksum->isChecked()); + ui->checksumIgnoreIfImpossible->setEnabled(ui->doChecksum->isChecked()); + } + this->doChecksum=doChecksum; +} + +void CopyEngine::set_checksumIgnoreIfImpossible(bool checksumIgnoreIfImpossible) +{ + listThread->set_checksumIgnoreIfImpossible(checksumIgnoreIfImpossible); + if(uiIsInstalled) + ui->checksumIgnoreIfImpossible->setChecked(checksumIgnoreIfImpossible); + this->checksumIgnoreIfImpossible=checksumIgnoreIfImpossible; +} + +void CopyEngine::set_checksumOnlyOnError(bool checksumOnlyOnError) +{ + listThread->set_checksumOnlyOnError(checksumOnlyOnError); + if(uiIsInstalled) + ui->checksumOnlyOnError->setChecked(checksumOnlyOnError); + this->checksumOnlyOnError=checksumOnlyOnError; +} + +void CopyEngine::set_osBuffer(bool osBuffer) +{ + listThread->set_osBuffer(osBuffer); + if(uiIsInstalled) + { + ui->osBuffer->setChecked(osBuffer); + updateBufferCheckbox(); + } + this->osBuffer=osBuffer; +} + +void CopyEngine::set_osBufferLimited(bool osBufferLimited) +{ + listThread->set_osBufferLimited(osBufferLimited); + if(uiIsInstalled) + { + ui->osBufferLimited->setChecked(osBufferLimited); + updateBufferCheckbox(); + } + this->osBufferLimited=osBufferLimited; +} + +void CopyEngine::set_osBufferLimit(unsigned int osBufferLimit) +{ + emit send_osBufferLimit(osBufferLimit); + if(uiIsInstalled) + ui->osBufferLimit->setValue(osBufferLimit); + this->osBufferLimit=osBufferLimit; +} + +void CopyEngine::updateBufferCheckbox() +{ + ui->osBufferLimited->setEnabled(ui->osBuffer->isChecked()); + ui->osBufferLimit->setEnabled(ui->osBuffer->isChecked() && ui->osBufferLimited->isChecked()); +} + +void CopyEngine::set_setFilters(std::vector<std::string> includeStrings,std::vector<std::string> includeOptions,std::vector<std::string> excludeStrings,std::vector<std::string> excludeOptions) +{ + if(filters!=NULL) + { + filters->setFilters(includeStrings,includeOptions,excludeStrings,excludeOptions); + emit send_setFilters(filters->getInclude(),filters->getExclude()); + } + this->includeStrings=includeStrings; + this->includeOptions=includeOptions; + this->excludeStrings=excludeStrings; + this->excludeOptions=excludeOptions; +} + +void CopyEngine::setRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule) +{ + sendNewRenamingRules(firstRenamingRule,otherRenamingRule); +} + +bool CopyEngine::userAddFolder(const Ultracopier::CopyMode &mode) +{ + std::string source = QFileDialog::getExistingDirectory(interface,QString::fromStdString(facilityEngine->translateText("Select source directory")), + QStringLiteral(""), + QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks).toStdString(); + if(source.empty() || source=="") + return false; + std::vector<std::string> sources; + sources.push_back(source); + if(mode==Ultracopier::Copy) + return newCopy(sources); + else + return newMove(sources); +} + +bool CopyEngine::userAddFile(const Ultracopier::CopyMode &mode) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + QStringList sources = QFileDialog::getOpenFileNames( + interface, + QString::fromStdString(facilityEngine->translateText("Select one or more files to open")), + QStringLiteral(""), + QString::fromStdString(facilityEngine->translateText("All files"))+QStringLiteral(" (*)")); + + std::vector<std::string> sourcesstd; + unsigned int index=0; + while(index<(unsigned int)sources.size()) + { + sourcesstd.push_back(sources.at(index).toStdString()); + index++; + } + + if(sourcesstd.empty()) + return false; + if(mode==Ultracopier::Copy) + return newCopy(sourcesstd); + else + return newMove(sourcesstd); +} + +void CopyEngine::pause() +{ + emit signal_pause(); +} + +void CopyEngine::resume() +{ + emit signal_resume(); +} + +void CopyEngine::skip(const uint64_t &id) +{ + emit signal_skip(id); +} + +void CopyEngine::cancel() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + stopIt=true; + timerProgression.stop(); + timerActionDone.stop(); + emit tryCancel(); +} + +void CopyEngine::removeItems(const std::vector<uint64_t> &ids) +{ + emit signal_removeItems(ids); +} + +void CopyEngine::moveItemsOnTop(const std::vector<uint64_t> &ids) +{ + emit signal_moveItemsOnTop(ids); +} + +void CopyEngine::moveItemsUp(const std::vector<uint64_t> &ids) +{ + emit signal_moveItemsUp(ids); +} + +void CopyEngine::moveItemsDown(const std::vector<uint64_t> &ids) +{ + emit signal_moveItemsDown(ids); +} + +void CopyEngine::moveItemsOnBottom(const std::vector<uint64_t> &ids) +{ + emit signal_moveItemsOnBottom(ids); +} + +/** \brief give the forced mode, to export/import transfer list */ +void CopyEngine::forceMode(const Ultracopier::CopyMode &mode) +{ + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(mode==Ultracopier::Move) + { + listThread->setRsync(false); + rsync=false; + } + if(uiIsInstalled) + ui->rsync->setEnabled(mode==Ultracopier::Copy); + #endif + if(forcedMode) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Mode forced previously"); + QMessageBox::critical(NULL,QString::fromStdString(facilityEngine->translateText("Internal error")),tr("The mode has been forced previously. This is an internal error, please report it")); + return; + } + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(mode==Ultracopier::Move) + rsync=false; + #endif + if(mode==Ultracopier::Copy) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to copy"); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to move"); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(uiIsInstalled) + ui->rsync->setEnabled(mode==Ultracopier::Copy); + #endif + this->mode=mode; + forcedMode=true; + emit signal_forceMode(mode); +} + +void CopyEngine::exportTransferList() +{ + std::string fileName = QFileDialog::getSaveFileName(interface,QString::fromStdString(facilityEngine->translateText("Save transfer list")),QStringLiteral("transfer-list.lst"),QString::fromStdString(facilityEngine->translateText("Transfer list"))+QStringLiteral(" (*.lst)")).toStdString(); + if(fileName.empty()) + return; + emit signal_exportTransferList(fileName); +} + +void CopyEngine::importTransferList() +{ + std::string fileName = QFileDialog::getOpenFileName(interface,QString::fromStdString(facilityEngine->translateText("Open transfer list")),QStringLiteral("transfer-list.lst"),QString::fromStdString(facilityEngine->translateText("Transfer list"))+QStringLiteral(" (*.lst)")).toStdString(); + if(fileName.empty()) + return; + emit signal_importTransferList(fileName); +} + +void CopyEngine::warningTransferList(const std::string &warning) +{ + QMessageBox::warning(interface,QString::fromStdString(facilityEngine->translateText("Error")),QString::fromStdString(warning)); +} + +void CopyEngine::errorTransferList(const std::string &error) +{ + QMessageBox::critical(interface,QString::fromStdString(facilityEngine->translateText("Error")),QString::fromStdString(error)); +} + +bool CopyEngine::setSpeedLimitation(const int64_t &speedLimitation) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"maxSpeed: "+std::to_string(speedLimitation)); + maxSpeed=speedLimitation; + emit send_speedLimitation(speedLimitation); + return true; +} + +void CopyEngine::setFileCollision(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index)); + if(uiIsInstalled) + if(index!=ui->comboBoxFileCollision->currentIndex()) + ui->comboBoxFileCollision->setCurrentIndex(index); + switch(index) + { + case 0: + alwaysDoThisActionForFileExists=FileExists_NotSet; + break; + case 1: + alwaysDoThisActionForFileExists=FileExists_Skip; + break; + case 2: + alwaysDoThisActionForFileExists=FileExists_Overwrite; + break; + case 3: + alwaysDoThisActionForFileExists=FileExists_OverwriteIfNotSame; + break; + case 4: + alwaysDoThisActionForFileExists=FileExists_OverwriteIfNewer; + break; + case 5: + alwaysDoThisActionForFileExists=FileExists_OverwriteIfOlder; + break; + case 6: + alwaysDoThisActionForFileExists=FileExists_Rename; + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + alwaysDoThisActionForFileExists=FileExists_NotSet; + break; + } + emit signal_setCollisionAction(alwaysDoThisActionForFileExists); +} + +void CopyEngine::setFileError(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index)); + if(uiIsInstalled) + if(index!=ui->comboBoxFileError->currentIndex()) + ui->comboBoxFileError->setCurrentIndex(index); + switch(index) + { + case 0: + alwaysDoThisActionForFileError=FileError_NotSet; + break; + case 1: + alwaysDoThisActionForFileError=FileError_Skip; + break; + case 2: + alwaysDoThisActionForFileError=FileError_PutToEndOfTheList; + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + alwaysDoThisActionForFileError=FileError_NotSet; + break; + } + emit signal_setCollisionAction(alwaysDoThisActionForFileExists); +} + +void CopyEngine::setTransferAlgorithm(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index)); + if(uiIsInstalled) + if(index!=ui->transferAlgorithm->currentIndex()) + ui->transferAlgorithm->setCurrentIndex(index); + switch(index) + { + case 0: + transferAlgorithm=TransferAlgorithm_Automatic; + break; + case 1: + transferAlgorithm=TransferAlgorithm_Sequential; + break; + case 2: + transferAlgorithm=TransferAlgorithm_Parallel; + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + transferAlgorithm=TransferAlgorithm_Automatic; + break; + } + if(transferAlgorithm==TransferAlgorithm_Sequential) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Sequential"); + else if(transferAlgorithm==TransferAlgorithm_Automatic) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Automatic"); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Parallel"); + emit signal_setTransferAlgorithm(transferAlgorithm); +} + +void CopyEngine::setRightTransfer(const bool doRightTransfer) +{ + this->doRightTransfer=doRightTransfer; + if(uiIsInstalled) + ui->doRightTransfer->setChecked(doRightTransfer); + listThread->setRightTransfer(doRightTransfer); +} + +//set keep date +void CopyEngine::setKeepDate(const bool keepDate) +{ + this->keepDate=keepDate; + if(uiIsInstalled) + ui->keepDate->setChecked(keepDate); + listThread->setKeepDate(keepDate); +} + +//set block size in KB +void CopyEngine::setBlockSize(const int blockSize) +{ + this->blockSize=blockSize; + if(uiIsInstalled) + { + ui->blockSize->setValue(blockSize); + ui->sequentialBuffer->setSingleStep(blockSize); + ui->parallelBuffer->setSingleStep(blockSize); + } + emit send_blockSize(blockSize); + updatedBlockSize(); +} + +void CopyEngine::setParallelBuffer(int parallelBuffer) +{ + parallelBuffer=round((float)parallelBuffer/(float)blockSize)*blockSize; + this->parallelBuffer=parallelBuffer; + if(uiIsInstalled) + ui->parallelBuffer->setValue(parallelBuffer); + emit send_parallelBuffer(parallelBuffer/blockSize); +} + +void CopyEngine::setSequentialBuffer(int sequentialBuffer) +{ + sequentialBuffer=round((float)sequentialBuffer/(float)blockSize)*blockSize; + this->sequentialBuffer=sequentialBuffer; + if(uiIsInstalled) + ui->sequentialBuffer->setValue(sequentialBuffer); + emit send_sequentialBuffer(sequentialBuffer/blockSize); +} + +void CopyEngine::setParallelizeIfSmallerThan(int parallelizeIfSmallerThan) +{ + this->parallelizeIfSmallerThan=parallelizeIfSmallerThan; + if(uiIsInstalled) + ui->parallelizeIfSmallerThan->setValue(parallelizeIfSmallerThan); + emit send_parallelizeIfSmallerThan(parallelizeIfSmallerThan*1024); +} + +void CopyEngine::setMoveTheWholeFolder(const bool &moveTheWholeFolder) +{ + this->moveTheWholeFolder=moveTheWholeFolder; + if(uiIsInstalled) + ui->moveTheWholeFolder->setChecked(moveTheWholeFolder); + emit send_moveTheWholeFolder(moveTheWholeFolder); +} + +void CopyEngine::setFollowTheStrictOrder(const bool &followTheStrictOrder) +{ + this->followTheStrictOrder=followTheStrictOrder; + if(uiIsInstalled) + ui->followTheStrictOrder->setChecked(followTheStrictOrder); + emit send_followTheStrictOrder(followTheStrictOrder); +} + +void CopyEngine::setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles) +{ + this->deletePartiallyTransferredFiles=deletePartiallyTransferredFiles; + if(uiIsInstalled) + ui->deletePartiallyTransferredFiles->setChecked(deletePartiallyTransferredFiles); + emit send_deletePartiallyTransferredFiles(deletePartiallyTransferredFiles); +} + +void CopyEngine::setInodeThreads(const int &inodeThreads) +{ + this->inodeThreads=inodeThreads; + if(uiIsInstalled) + ui->inodeThreads->setValue(inodeThreads); + emit send_setInodeThreads(inodeThreads); +} + +void CopyEngine::setRenameTheOriginalDestination(const bool &renameTheOriginalDestination) +{ + this->renameTheOriginalDestination=renameTheOriginalDestination; + if(uiIsInstalled) + ui->renameTheOriginalDestination->setChecked(renameTheOriginalDestination); + emit send_setRenameTheOriginalDestination(renameTheOriginalDestination); +} + +void CopyEngine::inodeThreadsFinished() +{ + this->inodeThreads=ui->inodeThreads->value(); + emit send_setInodeThreads(inodeThreads); +} + +//set auto start +void CopyEngine::setAutoStart(const bool autoStart) +{ + this->autoStart=autoStart; + if(uiIsInstalled) + ui->autoStart->setChecked(autoStart); + listThread->setAutoStart(autoStart); +} + +#ifdef ULTRACOPIER_PLUGIN_RSYNC +/// \brief set rsync +void CopyEngine::setRsync(const bool rsync) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+std::to_string(rsync)); + this->rsync=rsync; + if(uiIsInstalled) + { + ui->rsync->setChecked(rsync); + ui->rsync->setEnabled(forcedMode && mode==Ultracopier::Copy); + ui->label_rsync->setEnabled(forcedMode && mode==Ultracopier::Copy); + } + listThread->setRsync(rsync); +} +#endif + +//set check destination folder +void CopyEngine::setCheckDestinationFolderExists(const bool checkDestinationFolderExists) +{ + this->checkDestinationFolderExists=checkDestinationFolderExists; + if(uiIsInstalled) + ui->checkBoxDestinationFolderExists->setChecked(checkDestinationFolderExists); + listThread->setCheckDestinationFolderExists(checkDestinationFolderExists); +} + +//reset widget +void CopyEngine::resetTempWidget() +{ + uiIsInstalled=false; + tempWidget=NULL; +} + +void CopyEngine::setFolderCollision(int index) +{ + switch(index) + { + case 0: + setComboBoxFolderCollision(FolderExists_NotSet,false); + break; + case 1: + setComboBoxFolderCollision(FolderExists_Merge,false); + break; + case 2: + setComboBoxFolderCollision(FolderExists_Skip,false); + break; + case 3: + setComboBoxFolderCollision(FolderExists_Rename,false); + break; + } +} + +void CopyEngine::setFolderError(int index) +{ + switch(index) + { + case 0: + setComboBoxFolderError(FileError_NotSet,false); + break; + case 1: + setComboBoxFolderError(FileError_Skip,false); + break; + } +} + +//set the translate +void CopyEngine::newLanguageLoaded() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, retranslate the widget options"); + if(tempWidget!=NULL) + { + ui->retranslateUi(tempWidget); + ui->comboBoxFolderError->setItemText(0,tr("Ask")); + ui->comboBoxFolderError->setItemText(1,tr("Skip")); + + ui->comboBoxFolderCollision->setItemText(0,tr("Ask")); + ui->comboBoxFolderCollision->setItemText(1,tr("Merge")); + ui->comboBoxFolderCollision->setItemText(2,tr("Skip")); + ui->comboBoxFolderCollision->setItemText(3,tr("Rename")); + + ui->comboBoxFileError->setItemText(0,tr("Ask")); + ui->comboBoxFileError->setItemText(1,tr("Skip")); + ui->comboBoxFileError->setItemText(2,tr("Put at the end")); + + ui->comboBoxFileCollision->setItemText(0,tr("Ask")); + ui->comboBoxFileCollision->setItemText(1,tr("Skip")); + ui->comboBoxFileCollision->setItemText(2,tr("Overwrite")); + ui->comboBoxFileCollision->setItemText(3,tr("Overwrite if different")); + ui->comboBoxFileCollision->setItemText(4,tr("Overwrite if newer")); + ui->comboBoxFileCollision->setItemText(5,tr("Overwrite if older")); + ui->comboBoxFileCollision->setItemText(6,tr("Rename")); + + ui->transferAlgorithm->setItemText(0,tr("Automatic")); + ui->transferAlgorithm->setItemText(1,tr("Sequential")); + ui->transferAlgorithm->setItemText(2,tr("Parallel")); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"ui not loaded!"); +} + +void CopyEngine::setComboBoxFolderCollision(FolderExistsAction action,bool changeComboBox) +{ + alwaysDoThisActionForFolderExists=action; + emit signal_setFolderCollision(alwaysDoThisActionForFolderExists); + if(!changeComboBox || !uiIsInstalled) + return; + switch(action) + { + case FolderExists_Merge: + ui->comboBoxFolderCollision->setCurrentIndex(1); + break; + case FolderExists_Skip: + ui->comboBoxFolderCollision->setCurrentIndex(2); + break; + case FolderExists_Rename: + ui->comboBoxFolderCollision->setCurrentIndex(3); + break; + default: + ui->comboBoxFolderCollision->setCurrentIndex(0); + break; + } +} + +void CopyEngine::setComboBoxFolderError(FileErrorAction action,bool changeComboBox) +{ + alwaysDoThisActionForFileError=action; + if(!changeComboBox || !uiIsInstalled) + return; + switch(action) + { + case FileError_Skip: + ui->comboBoxFolderError->setCurrentIndex(1); + break; + default: + ui->comboBoxFolderError->setCurrentIndex(0); + break; + } +} + +void CopyEngine::doChecksum_toggled(bool doChecksum) +{ + listThread->set_doChecksum(doChecksum); +} + +void CopyEngine::checksumOnlyOnError_toggled(bool checksumOnlyOnError) +{ + listThread->set_checksumOnlyOnError(checksumOnlyOnError); +} + +void CopyEngine::checksumIgnoreIfImpossible_toggled(bool checksumIgnoreIfImpossible) +{ + listThread->set_checksumIgnoreIfImpossible(checksumIgnoreIfImpossible); +} + +void CopyEngine::osBuffer_toggled(bool osBuffer) +{ + listThread->set_osBuffer(osBuffer); + updateBufferCheckbox(); +} + +void CopyEngine::osBufferLimited_toggled(bool osBufferLimited) +{ + listThread->set_osBufferLimited(osBufferLimited); + updateBufferCheckbox(); +} + +void CopyEngine::osBufferLimit_editingFinished() +{ + emit send_osBufferLimit(ui->osBufferLimit->value()); +} + +void CopyEngine::showFilterDialog() +{ + if(filters!=NULL) + filters->exec(); +} + +void CopyEngine::sendNewFilters() +{ + if(filters!=NULL) + emit send_setFilters(filters->getInclude(),filters->getExclude()); +} + +void CopyEngine::sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"new filter"); + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; + emit send_sendNewRenamingRules(firstRenamingRule,otherRenamingRule); +} + +void CopyEngine::showRenamingRules() +{ + if(renamingRules==NULL) + { + QMessageBox::critical(NULL,tr("Options error"),tr("Options engine is not loaded. Unable to access the filters")); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"options not loaded"); + return; + } + renamingRules->exec(); +} + +void CopyEngine::get_realBytesTransfered(quint64 realBytesTransfered) +{ + size_for_speed=realBytesTransfered; +} + +void CopyEngine::newActionInProgess(Ultracopier::EngineActionInProgress action) +{ + if(action==Ultracopier::Idle) + { + timerProgression.stop(); + timerActionDone.stop(); + } + else + { + timerProgression.start(); + timerActionDone.start(); + } +} + +void CopyEngine::updatedBlockSize() +{ + if(uiIsInstalled) + { + ui->sequentialBuffer->setMinimum(ui->blockSize->value()); + ui->sequentialBuffer->setSingleStep(ui->blockSize->value()); + ui->sequentialBuffer->setMaximum(ui->blockSize->value()*ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK); + ui->parallelBuffer->setMinimum(ui->blockSize->value()); + ui->parallelBuffer->setSingleStep(ui->blockSize->value()); + ui->parallelBuffer->setMaximum(ui->blockSize->value()*ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK); + } + setParallelBuffer(parallelBuffer); + setSequentialBuffer(sequentialBuffer); +} + +void CopyEngine::setCheckDiskSpace(const bool &checkDiskSpace) +{ + this->checkDiskSpace=checkDiskSpace; + if(uiIsInstalled) + ui->checkDiskSpace->setChecked(checkDiskSpace); + listThread->setCheckDiskSpace(checkDiskSpace); +} + +void CopyEngine::setDefaultDestinationFolder(const std::string &defaultDestinationFolder) +{ + this->defaultDestinationFolder=defaultDestinationFolder; + if(uiIsInstalled) + ui->defaultDestinationFolder->setText(QString::fromStdString(defaultDestinationFolder)); +} + +void CopyEngine::setCopyListOrder(const bool &order) +{ + listThread->setCopyListOrder(order); +} + +void CopyEngine::exportErrorIntoTransferList() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"exportErrorIntoTransferList"); + std::string fileName = QFileDialog::getSaveFileName(interface,QString::fromStdString(facilityEngine->translateText("Save transfer list")),QStringLiteral("transfer-list.lst"),QString::fromStdString(facilityEngine->translateText("Transfer list"))+QStringLiteral(" (*.lst)")).toStdString(); + if(fileName.empty()) + return; + emit signal_exportErrorIntoTransferList(fileName); +} diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine.h b/plugins/CopyEngine/Ultracopier/CopyEngine.h new file mode 100644 index 0000000..e5311d8 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/CopyEngine.h @@ -0,0 +1,382 @@ +/** \file copyEngine.h +\brief Define the copy engine +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#include <QWidget> +#include <QObject> +#include <QList> +#include <vector> +#include <string> +#include <QFileInfo> +#include <QFile> +#include <QFileDialog> +#include <QMessageBox> + +#include "../../../interface/PluginInterface_CopyEngine.h" +#include "FileErrorDialog.h" +#include "FileExistsDialog.h" +#include "FolderExistsDialog.h" +#include "FileIsSameDialog.h" +#include "ui_copyEngineOptions.h" +#include "Environment.h" +#include "ListThread.h" +#include "Filters.h" +#include "RenamingRules.h" + +#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW +#include "DebugDialog.h" +#include <QTimer> +#endif + +#ifndef COPY_ENGINE_H +#define COPY_ENGINE_H + +namespace Ui { + class copyEngineOptions; +} + +/// \brief the implementation of copy engine plugin, manage directly few stuff, else pass to ListThread class. +class CopyEngine : public PluginInterface_CopyEngine +{ + Q_OBJECT +public: + CopyEngine(FacilityInterface * facilityEngine); + ~CopyEngine(); + void connectTheSignalsSlots(); +private: + ListThread * listThread; + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + DebugDialog debugDialogWindow; + #endif + QWidget * tempWidget; + Ui::copyEngineOptions * ui; + bool uiIsInstalled; + QWidget * interface; + Filters * filters; + RenamingRules * renamingRules; + FacilityInterface * facilityEngine; + uint32_t maxSpeed; + bool doRightTransfer; + bool keepDate; + int blockSize; + int parallelBuffer; + int sequentialBuffer; + int parallelizeIfSmallerThan; + bool followTheStrictOrder; + bool deletePartiallyTransferredFiles; + int inodeThreads; + bool renameTheOriginalDestination; + bool moveTheWholeFolder; + bool autoStart; + #ifdef ULTRACOPIER_PLUGIN_RSYNC + bool rsync; + #endif + bool checkDestinationFolderExists; + FileExistsAction alwaysDoThisActionForFileExists; + FileErrorAction alwaysDoThisActionForFileError; + FileErrorAction alwaysDoThisActionForFolderError; + FolderExistsAction alwaysDoThisActionForFolderExists; + TransferAlgorithm transferAlgorithm; + bool dialogIsOpen; + volatile bool stopIt; + std::string defaultDestinationFolder; + /// \brief error queue + struct errorQueueItem + { + TransferThread * transfer; ///< NULL if send by scan thread + ScanFileOrFolder * scan; ///< NULL if send by transfer thread + bool mkPath; + bool rmPath; + QFileInfo inode; + std::string errorString; + ErrorType errorType; + }; + std::vector<errorQueueItem> errorQueue; + /// \brief already exists queue + struct alreadyExistsQueueItem + { + TransferThread * transfer; ///< NULL if send by scan thread + ScanFileOrFolder * scan; ///< NULL if send by transfer thread + QFileInfo source; + QFileInfo destination; + bool isSame; + }; + std::vector<alreadyExistsQueueItem> alreadyExistsQueue; + uint64_t size_for_speed;//because direct access to list thread into the main thread can't be do + Ultracopier::CopyMode mode; + bool forcedMode; + + bool doChecksum; + bool checksumIgnoreIfImpossible; + bool checksumOnlyOnError; + bool osBuffer; + bool osBufferLimited; + bool checkDiskSpace; + unsigned int osBufferLimit; + std::vector<std::string> includeStrings,includeOptions,excludeStrings,excludeOptions; + std::string firstRenamingRule; + std::string otherRenamingRule; + + //send action done timer + QTimer timerActionDone; + //send progression timer + QTimer timerProgression; + + QTimer timerUpdateMount; + int putAtBottom;//to keep how many automatic put at bottom have been used +private slots: + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + void updateTheDebugInfo(const std::vector<std::string> &newList, const std::vector<std::string> &newList2, const int &numberOfInodeOperation); + #endif + + /************* External call ********************/ + //dialog message + /// \note Can be call without queue because all call will be serialized + void fileAlreadyExistsSlot(QFileInfo source,QFileInfo destination,bool isSame,TransferThread * thread); + /// \note Can be call without queue because all call will be serialized + void errorOnFileSlot(QFileInfo fileInfo, std::string errorString, TransferThread * thread, const ErrorType &errorType); + /// \note Can be call without queue because all call will be serialized + void folderAlreadyExistsSlot(QFileInfo source,QFileInfo destination,bool isSame,ScanFileOrFolder * thread); + /// \note Can be call without queue because all call will be serialized + void errorOnFolderSlot(QFileInfo fileInfo, std::string errorString, ScanFileOrFolder * thread, ErrorType errorType); + //mkpath event + void mkPathErrorOnFolderSlot(QFileInfo, std::string, ErrorType errorType); + + //dialog message + /// \note Can be call without queue because all call will be serialized + void fileAlreadyExists(QFileInfo source,QFileInfo destination,bool isSame,TransferThread * thread,bool isCalledByShowOneNewDialog=false); + /// \note Can be call without queue because all call will be serialized + void errorOnFile(QFileInfo fileInfo, std::string errorString, TransferThread * thread, const ErrorType &errorType, bool isCalledByShowOneNewDialog=false); + /// \note Can be call without queue because all call will be serialized + void folderAlreadyExists(QFileInfo source,QFileInfo destination,bool isSame,ScanFileOrFolder * thread,bool isCalledByShowOneNewDialog=false); + /// \note Can be call without queue because all call will be serialized + void errorOnFolder(QFileInfo fileInfo, std::string errorString, ScanFileOrFolder * thread, ErrorType errorType, bool isCalledByShowOneNewDialog=false); + //mkpath event + void mkPathErrorOnFolder(QFileInfo, std::string, const ErrorType &errorType, bool isCalledByShowOneNewDialog=false); + + //show one new dialog if needed + void showOneNewDialog(); + void sendNewFilters(); + + void doChecksum_toggled(bool); + void checksumOnlyOnError_toggled(bool); + void checksumIgnoreIfImpossible_toggled(bool); + void osBuffer_toggled(bool); + void osBufferLimited_toggled(bool); + void osBufferLimit_editingFinished(); + void showFilterDialog(); + void sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule); + void showRenamingRules(); + void get_realBytesTransfered(quint64 realBytesTransfered); + void newActionInProgess(Ultracopier::EngineActionInProgress); + void updatedBlockSize(); + void updateBufferCheckbox(); + void haveNeedPutAtBottom(bool needPutAtBottom, const QFileInfo &fileInfo, const std::string &errorString, TransferThread *thread, const ErrorType &errorType); + void missingDiskSpace(std::vector<Diskspace> list); + void exportErrorIntoTransferList(); +public: + /** \brief to send the options panel + * \return return false if have not the options + * \param tempWidget the widget to generate on it the options */ + bool getOptionsEngine(QWidget * tempWidget); + /** \brief to have interface widget to do modal dialog + * \param interface to have the widget of the interface, useful for modal dialog */ + void setInterfacePointer(QWidget * interface); + //return empty if multiple + /** \brief compare the current sources of the copy, with the passed arguments + * \param sources the sources list to compares with the current sources list + * \return true if have same sources, else false (or empty) */ + bool haveSameSource(const std::vector<std::string> &sources); + /** \brief compare the current destination of the copy, with the passed arguments + * \param destination the destination to compares with the current destination + * \return true if have same destination, else false (or empty) */ + bool haveSameDestination(const std::string &destination); + //external soft like file browser have send copy/move list to do + /** \brief send copy without destination, ask the destination + * \param sources the sources list to copy + * \return true if the copy have been accepted */ + bool newCopy(const std::vector<std::string> &sources); + /** \brief send copy with destination + * \param sources the sources list to copy + * \param destination the destination to copy + * \return true if the copy have been accepted */ + bool newCopy(const std::vector<std::string> &sources,const std::string &destination); + /** \brief send move without destination, ask the destination + * \param sources the sources list to move + * \return true if the move have been accepted */ + bool newMove(const std::vector<std::string> &sources); + /** \brief send move without destination, ask the destination + * \param sources the sources list to move + * \param destination the destination to move + * \return true if the move have been accepted */ + bool newMove(const std::vector<std::string> &sources,const std::string &destination); + /** \brief send the new transfer list + * \param file the transfer list */ + void newTransferList(const std::string &file); + + /** \brief to get byte read, use by Ultracopier for the speed calculation + * real size transfered to right speed calculation */ + uint64_t realByteTransfered(); + /** \brief support speed limitation */ + bool supportSpeedLimitation() const; + + /** \brief to set drives detected + * specific to this copy engine */ + + /** \brief to sync the transfer list + * Used when the interface is changed, useful to minimize the memory size */ + void syncTransferList(); + + void set_doChecksum(bool doChecksum); + void set_checksumIgnoreIfImpossible(bool checksumIgnoreIfImpossible); + void set_checksumOnlyOnError(bool checksumOnlyOnError); + void set_osBuffer(bool osBuffer); + void set_osBufferLimited(bool osBufferLimited); + void set_osBufferLimit(unsigned int osBufferLimit); + void set_setFilters(std::vector<std::string> includeStrings,std::vector<std::string> includeOptions,std::vector<std::string> excludeStrings,std::vector<std::string> excludeOptions); + void setRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + void setRsync(const bool rsync); + #endif + void setCheckDiskSpace(const bool &checkDiskSpace); + void setDefaultDestinationFolder(const std::string &defaultDestinationFolder); + void setCopyListOrder(const bool &order); + void defaultDestinationFolderBrowse(); + std::string askDestination(); +public slots: + //user ask ask to add folder (add it with interface ask source/destination) + /** \brief add folder called on the interface + * Used by manual adding */ + bool userAddFolder(const Ultracopier::CopyMode &mode); + /** \brief add file called on the interface + * Used by manual adding */ + bool userAddFile(const Ultracopier::CopyMode &mode); + //action on the copy + /// \brief put the transfer in pause + void pause(); + /// \brief resume the transfer + void resume(); + /** \brief skip one transfer entry + * \param id id of the file to remove */ + void skip(const uint64_t &id); + /// \brief cancel all the transfer + void cancel(); + //edit the transfer list + /** \brief remove the selected item + * \param ids ids is the id list of the selected items */ + void removeItems(const std::vector<uint64_t> &ids); + /** \brief move on top of the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsOnTop(const std::vector<uint64_t> &ids); + /** \brief move up the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsUp(const std::vector<uint64_t> &ids); + /** \brief move down the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsDown(const std::vector<uint64_t> &ids); + /** \brief move on bottom of the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsOnBottom(const std::vector<uint64_t> &ids); + + /** \brief give the forced mode, to export/import transfer list */ + void forceMode(const Ultracopier::CopyMode &mode); + /// \brief export the transfer list into a file + void exportTransferList(); + /// \brief import the transfer list into a file + void importTransferList(); + + /** \brief to set the speed limitation + * -1 if not able, 0 if disabled */ + bool setSpeedLimitation(const int64_t &speedLimitation); + + // specific to this copy engine + + /// \brief set if the rights shoul be keep + void setRightTransfer(const bool doRightTransfer); + /// \brief set keep date + void setKeepDate(const bool keepDate); + /// \brief set block size in KB + void setBlockSize(const int blockSize); + + void setParallelBuffer(int parallelBuffer); + void setSequentialBuffer(int sequentialBuffer); + void setParallelizeIfSmallerThan(int parallelizeIfSmallerThan); + void setMoveTheWholeFolder(const bool &moveTheWholeFolder); + void setFollowTheStrictOrder(const bool &followTheStrictOrder); + void setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles); + void setInodeThreads(const int &inodeThreads); + void setRenameTheOriginalDestination(const bool &renameTheOriginalDestination); + void inodeThreadsFinished(); + + /// \brief set auto start + void setAutoStart(const bool autoStart); + /// \brief set if need check if the destination folder exists + void setCheckDestinationFolderExists(const bool checkDestinationFolderExists); + /// \brief reset widget + void resetTempWidget(); + //autoconnect + void setFolderCollision(int index); + void setFolderError(int index); + void setFileCollision(int index); + void setFileError(int index); + void setTransferAlgorithm(int index); + /// \brief need retranslate the insterface + void newLanguageLoaded(); +private slots: + void setComboBoxFolderCollision(FolderExistsAction action,bool changeComboBox=true); + void setComboBoxFolderError(FileErrorAction action,bool changeComboBox=true); + void warningTransferList(const std::string &warning); + void errorTransferList(const std::string &error); +signals: + //action on the copy + void signal_pause() const; + void signal_resume() const; + void signal_skip(const uint64_t &id) const; + + //edit the transfer list + void signal_removeItems(const std::vector<uint64_t> &ids) const; + void signal_moveItemsOnTop(const std::vector<uint64_t> &ids) const; + void signal_moveItemsUp(const std::vector<uint64_t> &ids) const; + void signal_moveItemsDown(const std::vector<uint64_t> &ids) const; + void signal_moveItemsOnBottom(const std::vector<uint64_t> &ids) const; + + void signal_forceMode(const Ultracopier::CopyMode &mode) const; + void signal_exportTransferList(const std::string &fileName) const; + void signal_importTransferList(const std::string &fileName) const; + void signal_exportErrorIntoTransferList(const std::string &fileName) const; + + //action + void signal_setTransferAlgorithm(TransferAlgorithm transferAlgorithm) const; + void signal_setCollisionAction(FileExistsAction alwaysDoThisActionForFileExists) const; + void signal_setComboBoxFolderCollision(FolderExistsAction action) const; + void signal_setFolderCollision(FolderExistsAction action) const; + + //internal cancel + void tryCancel() const; + void getNeedPutAtBottom(const QFileInfo &fileInfo,const std::string &errorString,TransferThread * thread,const ErrorType &errorType) const; + + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const; + #endif + + //other signals + void queryOneNewDialog() const; + + void send_speedLimitation(const uint64_t &speedLimitation) const; + void send_blockSize(const int &blockSize) const; + void send_osBufferLimit(const unsigned int &osBufferLimit) const; + void send_setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude) const; + void send_sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule) const; + void send_parallelBuffer(const int ¶llelBuffer) const; + void send_sequentialBuffer(const int &sequentialBuffer) const; + void send_parallelizeIfSmallerThan(const int ¶llelizeIfSmallerThan) const; + void send_followTheStrictOrder(const bool &followTheStrictOrder) const; + void send_deletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles) const; + void send_setInodeThreads(const int &inodeThreads) const; + void send_moveTheWholeFolder(const bool &moveTheWholeFolder) const; + void send_setRenameTheOriginalDestination(const bool &renameTheOriginalDestination) const; +}; + +#endif // COPY_ENGINE_H diff --git a/plugins/CopyEngine/Ultracopier/CopyEngine.pro b/plugins/CopyEngine/Ultracopier/CopyEngine.pro new file mode 100644 index 0000000..112e999 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/CopyEngine.pro @@ -0,0 +1,106 @@ +CONFIG += c++11 +QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra" +mac:QMAKE_CXXFLAGS+="-stdlib=libc++" + +QT += widgets xml +DEFINES += UNICODE _UNICODE +TEMPLATE = lib +CONFIG += plugin +win32 { + LIBS += -ladvapi32 +} + +HEADERS = \ + $$PWD/StructEnumDefinition.h \ + $$PWD/StructEnumDefinition_CopyEngine.h \ + $$PWD/DebugEngineMacro.h \ + $$PWD/Variable.h \ + $$PWD/TransferThread.h \ + $$PWD/ReadThread.h \ + $$PWD/WriteThread.h \ + $$PWD/MkPath.h \ + $$PWD/AvancedQFile.h \ + $$PWD/ListThread.h \ + $$PWD/../../../interface/PluginInterface_CopyEngine.h \ + $$PWD/../../../interface/OptionInterface.h \ + $$PWD/../../../interface/FacilityInterface.h \ + $$PWD/../../../cpp11addition.h \ + $$PWD/Filters.h \ + $$PWD/FilterRules.h \ + $$PWD/RenamingRules.h \ + $$PWD/DriveManagement.h \ + $$PWD/CopyEngine.h \ + $$PWD/DebugDialog.h \ + $$PWD/CopyEngineFactory.h \ + $$PWD/FileErrorDialog.h \ + $$PWD/FileExistsDialog.h \ + $$PWD/FileIsSameDialog.h \ + $$PWD/FolderExistsDialog.h \ + $$PWD/ScanFileOrFolder.h \ + $$PWD/DiskSpace.h +SOURCES = \ + $$PWD/TransferThread.cpp \ + $$PWD/ReadThread.cpp \ + $$PWD/WriteThread.cpp \ + $$PWD/MkPath.cpp \ + $$PWD/AvancedQFile.cpp \ + $$PWD/ListThread.cpp \ + $$PWD/../../../cpp11addition.cpp \ + $$PWD/../../../cpp11additionstringtointcpp.cpp \ + $$PWD/Filters.cpp \ + $$PWD/FilterRules.cpp \ + $$PWD/RenamingRules.cpp \ + $$PWD/ListThread_InodeAction.cpp \ + $$PWD/DriveManagement.cpp \ + $$PWD/CopyEngine-collision-and-error.cpp \ + $$PWD/CopyEngine.cpp \ + $$PWD/DebugDialog.cpp \ + $$PWD/CopyEngineFactory.cpp \ + $$PWD/FileErrorDialog.cpp \ + $$PWD/FileExistsDialog.cpp \ + $$PWD/FileIsSameDialog.cpp \ + $$PWD/FolderExistsDialog.cpp \ + $$PWD/ScanFileOrFolder.cpp \ + $$PWD/DiskSpace.cpp +TARGET = $$qtLibraryTarget(copyEngine) +TRANSLATIONS += \ + $$PWD/Languages/ar/translation.ts \ + $$PWD/Languages/de/translation.ts \ + $$PWD/Languages/el/translation.ts \ + $$PWD/Languages/en/translation.ts \ + $$PWD/Languages/es/translation.ts \ + $$PWD/Languages/fr/translation.ts \ + $$PWD/Languages/hi/translation.ts \ + $$PWD/Languages/hu/translation.ts \ + $$PWD/Languages/id/translation.ts \ + $$PWD/Languages/it/translation.ts \ + $$PWD/Languages/ja/translation.ts \ + $$PWD/Languages/ko/translation.ts \ + $$PWD/Languages/nl/translation.ts \ + $$PWD/Languages/no/translation.ts \ + $$PWD/Languages/pl/translation.ts \ + $$PWD/Languages/pt/translation.ts \ + $$PWD/Languages/ru/translation.ts \ + $$PWD/Languages/th/translation.ts \ + $$PWD/Languages/tr/translation.ts \ + $$PWD/Languages/zh/translation.ts + +FORMS += \ + $$PWD/fileErrorDialog.ui \ + $$PWD/fileExistsDialog.ui \ + $$PWD/fileIsSameDialog.ui \ + $$PWD/debugDialog.ui \ + $$PWD/folderExistsDialog.ui \ + $$PWD/Filters.ui \ + $$PWD/FilterRules.ui \ + $$PWD/RenamingRules.ui \ + $$PWD/copyEngineOptions.ui \ + $$PWD/DiskSpace.ui + +OTHER_FILES += \ + $$PWD/informations.xml + +!CONFIG(static) { +RESOURCES += \ + $$PWD/copyEngineResources.qrc +} diff --git a/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp new file mode 100644 index 0000000..6507ce2 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.cpp @@ -0,0 +1,700 @@ +/** \file factory.cpp +\brief Define the factory to create new instance +\author alpha_one_x86 */ + +#include <QFileDialog> +#include <QList> +#include <QDebug> +#include <cmath> +#include <QStorageInfo> + +#include "../../../cpp11addition.h" +#include "CopyEngineFactory.h" + +// The cmath header from MSVC does not contain round() +#if (defined(_WIN64) || defined(_WIN32)) && defined(_MSC_VER) +inline double round(double d) { + return floor( d + 0.5 ); +} +#endif + +CopyEngineFactory::CopyEngineFactory() : + ui(new Ui::copyEngineOptions()) +{ + qRegisterMetaType<FolderExistsAction>("FolderExistsAction"); + qRegisterMetaType<FileExistsAction>("FileExistsAction"); + qRegisterMetaType<QList<Filters_rules> >("QList<Filters_rules>"); + qRegisterMetaType<TransferStat>("TransferStat"); + qRegisterMetaType<QList<QByteArray> >("QList<QByteArray>"); + qRegisterMetaType<TransferAlgorithm>("TransferAlgorithm"); + qRegisterMetaType<ActionType>("ActionType"); + qRegisterMetaType<ErrorType>("ErrorType"); + qRegisterMetaType<Diskspace>("Diskspace"); + qRegisterMetaType<QList<Diskspace> >("QList<Diskspace>"); + qRegisterMetaType<QFileInfo>("QFileInfo"); + qRegisterMetaType<Ultracopier::CopyMode>("Ultracopier::CopyMode"); + qRegisterMetaType<std::vector<Filters_rules> >("std::vector<Filters_rules>"); + + tempWidget=new QWidget(); + ui->setupUi(tempWidget); + ui->toolBox->setCurrentIndex(0); + ui->blockSize->setMaximum(ULTRACOPIER_PLUGIN_MAX_BLOCK_SIZE); + errorFound=false; + optionsEngine=NULL; + filters=new Filters(tempWidget); + renamingRules=new RenamingRules(tempWidget); + + connect(ui->doRightTransfer, &QCheckBox::toggled, this,&CopyEngineFactory::setDoRightTransfer); + connect(ui->keepDate, &QCheckBox::toggled, this,&CopyEngineFactory::setKeepDate); + connect(ui->blockSize, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngineFactory::setBlockSize); + connect(ui->sequentialBuffer, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngineFactory::setSequentialBuffer); + connect(ui->parallelBuffer, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngineFactory::setParallelBuffer); + connect(ui->parallelizeIfSmallerThan, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngineFactory::setParallelizeIfSmallerThan); + connect(ui->inodeThreads, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,&CopyEngineFactory::on_inodeThreads_editingFinished); + connect(ui->autoStart, &QCheckBox::toggled, this,&CopyEngineFactory::setAutoStart); + connect(ui->doChecksum, &QCheckBox::toggled, this,&CopyEngineFactory::doChecksum_toggled); + connect(ui->comboBoxFolderError, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngineFactory::setFolderError); + connect(ui->comboBoxFolderCollision, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngineFactory::setFolderCollision); + connect(ui->comboBoxFileError, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngineFactory::setFileError); + connect(ui->comboBoxFileCollision, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngineFactory::setFileCollision); + connect(ui->transferAlgorithm, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&CopyEngineFactory::setTransferAlgorithm); + connect(ui->checkBoxDestinationFolderExists, &QCheckBox::toggled, this,&CopyEngineFactory::setCheckDestinationFolder); + connect(ui->checksumIgnoreIfImpossible, &QCheckBox::toggled, this,&CopyEngineFactory::checksumIgnoreIfImpossible_toggled); + connect(ui->checksumOnlyOnError, &QCheckBox::toggled, this,&CopyEngineFactory::checksumOnlyOnError_toggled); + connect(ui->osBuffer, &QCheckBox::toggled, this,&CopyEngineFactory::osBuffer_toggled); + connect(ui->osBufferLimited, &QCheckBox::toggled, this,&CopyEngineFactory::osBufferLimited_toggled); + connect(ui->osBufferLimit, &QSpinBox::editingFinished, this,&CopyEngineFactory::osBufferLimit_editingFinished); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + connect(ui->rsync, &QCheckBox::toggled, this,&CopyEngineFactory::setRsync); + #endif + connect(ui->inodeThreads, &QSpinBox::editingFinished, this,&CopyEngineFactory::on_inodeThreads_editingFinished); + connect(ui->osBufferLimited, &QAbstractButton::toggled, this,&CopyEngineFactory::updateBufferCheckbox); + connect(ui->osBuffer, &QAbstractButton::toggled, this,&CopyEngineFactory::updateBufferCheckbox); + connect(ui->moveTheWholeFolder, &QCheckBox::toggled, this,&CopyEngineFactory::moveTheWholeFolder); + connect(ui->followTheStrictOrder, &QCheckBox::toggled, this,&CopyEngineFactory::followTheStrictOrder); + connect(ui->deletePartiallyTransferredFiles,&QCheckBox::toggled, this,&CopyEngineFactory::deletePartiallyTransferredFiles); + connect(ui->renameTheOriginalDestination,&QCheckBox::toggled, this,&CopyEngineFactory::renameTheOriginalDestination); + connect(ui->checkDiskSpace, &QCheckBox::toggled, this,&CopyEngineFactory::checkDiskSpace); + connect(ui->defaultDestinationFolderBrowse,&QPushButton::clicked, this,&CopyEngineFactory::defaultDestinationFolderBrowse); + connect(ui->defaultDestinationFolder,&QLineEdit::editingFinished, this,&CopyEngineFactory::defaultDestinationFolder); + connect(ui->copyListOrder, &QCheckBox::toggled, this,&CopyEngineFactory::copyListOrder); + + connect(filters,&Filters::sendNewFilters,this,&CopyEngineFactory::sendNewFilters); + connect(ui->filters,&QPushButton::clicked,this,&CopyEngineFactory::showFilterDialog); + connect(renamingRules,&RenamingRules::sendNewRenamingRules,this,&CopyEngineFactory::sendNewRenamingRules); + connect(ui->renamingRules,&QPushButton::clicked,this,&CopyEngineFactory::showRenamingRules); + + lunchInitFunction.setInterval(0); + lunchInitFunction.setSingleShot(true); + connect(&lunchInitFunction,&QTimer::timeout,this,&CopyEngineFactory::init,Qt::QueuedConnection); + lunchInitFunction.start(); +} + +CopyEngineFactory::~CopyEngineFactory() +{ + delete renamingRules; + delete filters; + delete ui; +} + +void CopyEngineFactory::init() +{ +} + +PluginInterface_CopyEngine * CopyEngineFactory::getInstance() +{ + CopyEngine *realObject=new CopyEngine(facilityEngine); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(realObject,&CopyEngine::debugInformation,this,&CopyEngineFactory::debugInformation); + #endif + realObject->connectTheSignalsSlots(); + PluginInterface_CopyEngine * newTransferEngine=realObject; + connect(this,&CopyEngineFactory::reloadLanguage,realObject,&CopyEngine::newLanguageLoaded); + realObject->setRightTransfer(ui->doRightTransfer->isChecked()); + realObject->setKeepDate(ui->keepDate->isChecked()); + realObject->setBlockSize(ui->blockSize->value()); + realObject->setAutoStart(ui->autoStart->isChecked()); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + realObject->setRsync(ui->rsync->isChecked()); + #endif + realObject->setFolderCollision(ui->comboBoxFolderCollision->currentIndex()); + realObject->setFolderError(ui->comboBoxFolderError->currentIndex()); + realObject->setFileCollision(ui->comboBoxFileCollision->currentIndex()); + realObject->setFileError(ui->comboBoxFileError->currentIndex()); + realObject->setTransferAlgorithm(ui->transferAlgorithm->currentIndex()); + realObject->setCheckDestinationFolderExists(ui->checkBoxDestinationFolderExists->isChecked()); + realObject->set_doChecksum(ui->doChecksum->isChecked()); + realObject->set_checksumIgnoreIfImpossible(ui->checksumIgnoreIfImpossible->isChecked()); + realObject->set_checksumOnlyOnError(ui->checksumOnlyOnError->isChecked()); + realObject->set_osBuffer(ui->osBuffer->isChecked()); + realObject->set_osBufferLimited(ui->osBufferLimited->isChecked()); + realObject->set_osBufferLimit(ui->osBufferLimit->value()); + realObject->set_setFilters(includeStrings,includeOptions,excludeStrings,excludeOptions); + realObject->setRenamingRules(firstRenamingRule,otherRenamingRule); + realObject->setSequentialBuffer(ui->sequentialBuffer->value()); + realObject->setParallelBuffer(ui->parallelBuffer->value()); + realObject->setParallelizeIfSmallerThan(ui->parallelizeIfSmallerThan->value()); + realObject->setMoveTheWholeFolder(ui->moveTheWholeFolder->isChecked()); + realObject->setFollowTheStrictOrder(ui->followTheStrictOrder->isChecked()); + realObject->setDeletePartiallyTransferredFiles(ui->deletePartiallyTransferredFiles->isChecked()); + realObject->setInodeThreads(ui->inodeThreads->value()); + realObject->setRenameTheOriginalDestination(ui->renameTheOriginalDestination->isChecked()); + realObject->setCheckDiskSpace(ui->checkDiskSpace->isChecked()); + realObject->setDefaultDestinationFolder(ui->defaultDestinationFolder->text().toStdString()); + realObject->setCopyListOrder(ui->copyListOrder->isChecked()); + return newTransferEngine; +} + +void CopyEngineFactory::setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, writePath: "+writePath+", pluginPath:"+pluginPath); + this->facilityEngine=facilityInterface; + Q_UNUSED(portableVersion); + #ifndef ULTRACOPIER_PLUGIN_DEBUG + Q_UNUSED(writePath); + Q_UNUSED(pluginPath); + #endif + #if ! defined (Q_CC_GNU) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("Unable to change date time of files, only gcc is supported")); + #endif + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,COMPILERINFO); + #if defined (ULTRACOPIER_PLUGIN_CHECKLISTTYPE) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"CHECK LIST TYPE set"); + #else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"CHECK LIST TYPE not set"); + #endif + if(options!=NULL) + { + //load the options + std::vector<std::pair<std::string, std::string> > KeysList; + KeysList.push_back(std::pair<std::string, std::string>("doRightTransfer","true")); + #ifndef Q_OS_LINUX + KeysList.push_back(std::pair<std::string, std::string>("keepDate","false")); + #else + KeysList.push_back(std::pair<std::string, std::string>("keepDate","true")); + #endif + KeysList.push_back(std::pair<std::string, std::string>("blockSize",std::to_string(ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE))); + uint32_t sequentialBuffer=ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_SEQUENTIAL_NUMBER_OF_BLOCK; + uint32_t parallelBuffer=ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK; + //to prevent swap and other bad effect, only under windows and unix for now + #if defined(Q_OS_WIN32) or (defined(Q_OS_LINUX) and defined(_SC_PHYS_PAGES)) + size_t max_memory=getTotalSystemMemory()/1024; + if(max_memory>0) + { + if(sequentialBuffer>(max_memory/10)) + sequentialBuffer=max_memory/10; + if(parallelBuffer>(max_memory/100)) + parallelBuffer=max_memory/100; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("detected memory: %1MB").arg(max_memory/1024).toStdString()); + #endif + KeysList.push_back(std::pair<std::string, std::string>("sequentialBuffer",std::to_string(sequentialBuffer))); + KeysList.push_back(std::pair<std::string, std::string>("parallelBuffer",std::to_string(parallelBuffer))); + KeysList.push_back(std::pair<std::string, std::string>("parallelizeIfSmallerThan",std::to_string(128)));//128KB, better for modern hardware: Multiple queue en linux, SSD, ... + KeysList.push_back(std::pair<std::string, std::string>("autoStart","true")); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + KeysList.push_back(std::pair<std::string, std::string>("rsync","true")); + #endif + KeysList.push_back(std::pair<std::string, std::string>("folderError",std::to_string(0))); + KeysList.push_back(std::pair<std::string, std::string>("folderCollision",std::to_string(0))); + KeysList.push_back(std::pair<std::string, std::string>("fileError",std::to_string(2))); + KeysList.push_back(std::pair<std::string, std::string>("fileCollision",std::to_string(0))); + KeysList.push_back(std::pair<std::string, std::string>("transferAlgorithm",std::to_string(0))); + KeysList.push_back(std::pair<std::string, std::string>("checkDestinationFolder","true")); + KeysList.push_back(std::pair<std::string, std::string>("includeStrings","")); + KeysList.push_back(std::pair<std::string, std::string>("includeOptions","")); + KeysList.push_back(std::pair<std::string, std::string>("excludeStrings","")); + KeysList.push_back(std::pair<std::string, std::string>("excludeOptions","")); + KeysList.push_back(std::pair<std::string, std::string>("doChecksum","false")); + KeysList.push_back(std::pair<std::string, std::string>("checksumIgnoreIfImpossible","true")); + KeysList.push_back(std::pair<std::string, std::string>("checksumOnlyOnError","true")); + KeysList.push_back(std::pair<std::string, std::string>("osBuffer","false")); + KeysList.push_back(std::pair<std::string, std::string>("firstRenamingRule","")); + KeysList.push_back(std::pair<std::string, std::string>("otherRenamingRule","")); + KeysList.push_back(std::pair<std::string, std::string>("osBufferLimited","false")); + KeysList.push_back(std::pair<std::string, std::string>("osBufferLimit",std::to_string(512))); + KeysList.push_back(std::pair<std::string, std::string>("deletePartiallyTransferredFiles","true")); + KeysList.push_back(std::pair<std::string, std::string>("moveTheWholeFolder","true")); + KeysList.push_back(std::pair<std::string, std::string>("followTheStrictOrder","false")); + KeysList.push_back(std::pair<std::string, std::string>("renameTheOriginalDestination","false")); + KeysList.push_back(std::pair<std::string, std::string>("checkDiskSpace","true")); + KeysList.push_back(std::pair<std::string, std::string>("defaultDestinationFolder","")); + KeysList.push_back(std::pair<std::string, std::string>("inodeThreads",std::to_string(1))); + KeysList.push_back(std::pair<std::string, std::string>("copyListOrder","false")); + options->addOptionGroup(KeysList); + #if ! defined (Q_CC_GNU) + ui->keepDate->setEnabled(false); + ui->keepDate->setToolTip(QStringLiteral("Not supported with this compiler")); + #endif + ui->doRightTransfer->setChecked(stringtobool(options->getOptionValue("doRightTransfer"))); + ui->keepDate->setChecked(stringtobool(options->getOptionValue("keepDate"))); + ui->blockSize->setValue(stringtouint32(options->getOptionValue("blockSize")));//keep before sequentialBuffer and parallelBuffer + ui->autoStart->setChecked(stringtobool(options->getOptionValue("autoStart"))); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + ui->rsync->setChecked(stringtobool(options->getOptionValue("rsync"))); + #else + ui->label_rsync->setVisible(false); + ui->rsync->setVisible(false); + #endif + ui->comboBoxFolderError->setCurrentIndex(stringtouint32(options->getOptionValue("folderError"))); + ui->comboBoxFolderCollision->setCurrentIndex(stringtouint32(options->getOptionValue("folderCollision"))); + ui->comboBoxFileError->setCurrentIndex(stringtouint32(options->getOptionValue("fileError"))); + ui->comboBoxFileCollision->setCurrentIndex(stringtouint32(options->getOptionValue("fileCollision"))); + ui->transferAlgorithm->setCurrentIndex(stringtouint32(options->getOptionValue("transferAlgorithm"))); + ui->checkBoxDestinationFolderExists->setChecked(stringtobool(options->getOptionValue("checkDestinationFolder"))); + ui->parallelizeIfSmallerThan->setValue(stringtouint32(options->getOptionValue("parallelizeIfSmallerThan"))); + ui->sequentialBuffer->setValue(stringtouint32(options->getOptionValue("sequentialBuffer"))); + ui->parallelBuffer->setValue(stringtouint32(options->getOptionValue("parallelBuffer"))); + ui->sequentialBuffer->setSingleStep(ui->blockSize->value()); + ui->parallelBuffer->setSingleStep(ui->blockSize->value()); + ui->deletePartiallyTransferredFiles->setChecked(stringtobool(options->getOptionValue("deletePartiallyTransferredFiles"))); + ui->moveTheWholeFolder->setChecked(stringtobool(options->getOptionValue("moveTheWholeFolder"))); + ui->followTheStrictOrder->setChecked(stringtobool(options->getOptionValue("followTheStrictOrder"))); + ui->inodeThreads->setValue(stringtouint32(options->getOptionValue("inodeThreads"))); + ui->renameTheOriginalDestination->setChecked(stringtobool(options->getOptionValue("renameTheOriginalDestination"))); + ui->checkDiskSpace->setChecked(stringtobool(options->getOptionValue("checkDiskSpace"))); + ui->defaultDestinationFolder->setText(QString::fromStdString(options->getOptionValue("defaultDestinationFolder"))); + + ui->doChecksum->setChecked(stringtobool(options->getOptionValue("doChecksum"))); + ui->checksumIgnoreIfImpossible->setChecked(stringtobool(options->getOptionValue("checksumIgnoreIfImpossible"))); + ui->checksumOnlyOnError->setChecked(stringtobool(options->getOptionValue("checksumOnlyOnError"))); + + ui->osBuffer->setChecked(stringtobool(options->getOptionValue("osBuffer"))); + ui->osBufferLimited->setChecked(stringtobool(options->getOptionValue("osBufferLimited"))); + ui->osBufferLimit->setValue(stringtouint32(options->getOptionValue("osBufferLimit"))); + //ui->autoStart->setChecked(options->getOptionValue("autoStart").toBool());//moved from options(), wrong previous place + includeStrings=stringtostringlist(options->getOptionValue("includeStrings")); + includeOptions=stringtostringlist(options->getOptionValue("includeOptions")); + excludeStrings=stringtostringlist(options->getOptionValue("excludeStrings")); + excludeOptions=stringtostringlist(options->getOptionValue("excludeOptions")); + filters->setFilters(includeStrings,includeOptions,excludeStrings,excludeOptions); + firstRenamingRule=options->getOptionValue("firstRenamingRule"); + otherRenamingRule=options->getOptionValue("otherRenamingRule"); + renamingRules->setRenamingRules(firstRenamingRule,otherRenamingRule); + + ui->checksumOnlyOnError->setEnabled(ui->doChecksum->isChecked()); + ui->checksumIgnoreIfImpossible->setEnabled(ui->doChecksum->isChecked()); + ui->copyListOrder->setChecked(stringtobool(options->getOptionValue("copyListOrder"))); + + updateBufferCheckbox(); + optionsEngine=options; + + updatedBlockSize(); + } +} + +std::vector<std::string> CopyEngineFactory::supportedProtocolsForTheSource() const +{ + std::vector<std::string> l; + l.push_back("file"); + return l; +} + +std::vector<std::string> CopyEngineFactory::supportedProtocolsForTheDestination() const +{ + std::vector<std::string> l; + l.push_back("file"); + return l; +} + +Ultracopier::CopyType CopyEngineFactory::getCopyType() +{ + return Ultracopier::FileAndFolder; +} + +Ultracopier::TransferListOperation CopyEngineFactory::getTransferListOperation() +{ + return Ultracopier::TransferListOperation_ImportExport; +} + +bool CopyEngineFactory::canDoOnlyCopy() const +{ + return false; +} + +void CopyEngineFactory::resetOptions() +{ +} + +QWidget * CopyEngineFactory::options() +{ + return tempWidget; +} + +void CopyEngineFactory::setDoRightTransfer(bool doRightTransfer) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("doRightTransfer",booltostring(doRightTransfer)); +} + +void CopyEngineFactory::setKeepDate(bool keepDate) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("keepDate",booltostring(keepDate)); +} + +void CopyEngineFactory::setBlockSize(int blockSize) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("blockSize",std::to_string(blockSize)); + updatedBlockSize(); +} + +void CopyEngineFactory::setParallelBuffer(int parallelBuffer) +{ + if(optionsEngine!=NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + parallelBuffer=round((float)parallelBuffer/(float)ui->blockSize->value())*ui->blockSize->value(); + ui->parallelBuffer->setValue(parallelBuffer); + optionsEngine->setOptionValue("parallelBuffer",std::to_string(parallelBuffer)); + } +} + +void CopyEngineFactory::setSequentialBuffer(int sequentialBuffer) +{ + if(optionsEngine!=NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + sequentialBuffer=round((float)sequentialBuffer/(float)ui->blockSize->value())*ui->blockSize->value(); + ui->sequentialBuffer->setValue(sequentialBuffer); + optionsEngine->setOptionValue("sequentialBuffer",std::to_string(sequentialBuffer)); + } +} + +void CopyEngineFactory::setParallelizeIfSmallerThan(int parallelizeIfSmallerThan) +{ + if(optionsEngine!=NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + optionsEngine->setOptionValue("parallelizeIfSmallerThan",std::to_string(parallelizeIfSmallerThan)); + } +} + +void CopyEngineFactory::setAutoStart(bool autoStart) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("autoStart",booltostring(autoStart)); +} + +void CopyEngineFactory::setFolderCollision(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("folderCollision",std::to_string(index)); +} + +void CopyEngineFactory::setFolderError(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("folderError",std::to_string(index)); +} + +void CopyEngineFactory::setTransferAlgorithm(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("transferAlgorithm",std::to_string(index)); +} + +void CopyEngineFactory::setCheckDestinationFolder() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("checkDestinationFolder",booltostring(ui->checkBoxDestinationFolderExists->isChecked())); +} + +void CopyEngineFactory::newLanguageLoaded() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, retranslate the widget options"); + OptionInterface * optionsEngine=this->optionsEngine; + this->optionsEngine=NULL; + ui->retranslateUi(tempWidget); + ui->comboBoxFolderError->setItemText(0,tr("Ask")); + ui->comboBoxFolderError->setItemText(1,tr("Skip")); + + ui->comboBoxFolderCollision->setItemText(0,tr("Ask")); + ui->comboBoxFolderCollision->setItemText(1,tr("Merge")); + ui->comboBoxFolderCollision->setItemText(2,tr("Skip")); + ui->comboBoxFolderCollision->setItemText(3,tr("Rename")); + + ui->comboBoxFileError->setItemText(0,tr("Ask")); + ui->comboBoxFileError->setItemText(1,tr("Skip")); + ui->comboBoxFileError->setItemText(2,tr("Put at the end")); + + ui->comboBoxFileCollision->setItemText(0,tr("Ask")); + ui->comboBoxFileCollision->setItemText(1,tr("Skip")); + ui->comboBoxFileCollision->setItemText(2,tr("Overwrite")); + ui->comboBoxFileCollision->setItemText(3,tr("Overwrite if different")); + ui->comboBoxFileCollision->setItemText(4,tr("Overwrite if newer")); + ui->comboBoxFileCollision->setItemText(5,tr("Overwrite if older")); + ui->comboBoxFileCollision->setItemText(6,tr("Rename")); + + ui->transferAlgorithm->setItemText(0,tr("Automatic")); + ui->transferAlgorithm->setItemText(1,tr("Sequential")); + ui->transferAlgorithm->setItemText(2,tr("Parallel")); + if(optionsEngine!=NULL) + { + filters->newLanguageLoaded(); + renamingRules->newLanguageLoaded(); + } + emit reloadLanguage(); + this->optionsEngine=optionsEngine; +} + +void CopyEngineFactory::doChecksum_toggled(bool doChecksum) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("doChecksum",booltostring(doChecksum)); +} + +void CopyEngineFactory::checksumOnlyOnError_toggled(bool checksumOnlyOnError) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("checksumOnlyOnError",booltostring(checksumOnlyOnError)); +} + +void CopyEngineFactory::osBuffer_toggled(bool osBuffer) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("osBuffer",booltostring(osBuffer)); + ui->osBufferLimit->setEnabled(ui->osBuffer->isChecked() && ui->osBufferLimited->isChecked()); +} + +void CopyEngineFactory::osBufferLimited_toggled(bool osBufferLimited) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("osBufferLimited",booltostring(osBufferLimited)); + ui->osBufferLimit->setEnabled(ui->osBuffer->isChecked() && ui->osBufferLimited->isChecked()); +} + +void CopyEngineFactory::osBufferLimit_editingFinished() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the spinbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("osBufferLimit",std::to_string(ui->osBufferLimit->value())); +} + +void CopyEngineFactory::showFilterDialog() +{ + if(optionsEngine==NULL) + { + QMessageBox::critical(NULL,tr("Options error"),tr("Options engine is not loaded. Unable to access the filters")); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"options not loaded"); + return; + } + filters->exec(); +} + +void CopyEngineFactory::sendNewFilters(const std::vector<std::string> &includeStrings,const std::vector<std::string> &includeOptions,const std::vector<std::string> &excludeStrings,const std::vector<std::string> &excludeOptions) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"new filter"); + this->includeStrings=includeStrings; + this->includeOptions=includeOptions; + this->excludeStrings=excludeStrings; + this->excludeOptions=excludeOptions; + if(optionsEngine!=NULL) + { + optionsEngine->setOptionValue("includeStrings",stringlisttostring(includeStrings)); + optionsEngine->setOptionValue("includeOptions",stringlisttostring(includeOptions)); + optionsEngine->setOptionValue("excludeStrings",stringlisttostring(excludeStrings)); + optionsEngine->setOptionValue("excludeOptions",stringlisttostring(excludeOptions)); + } +} + +void CopyEngineFactory::sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"new filter"); + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; + if(optionsEngine!=NULL) + { + optionsEngine->setOptionValue("firstRenamingRule",firstRenamingRule); + optionsEngine->setOptionValue("otherRenamingRule",otherRenamingRule); + } +} + +void CopyEngineFactory::showRenamingRules() +{ + if(optionsEngine==NULL) + { + QMessageBox::critical(NULL,tr("Options error"),tr("Options engine is not loaded, can't access to the filters")); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"options not loaded"); + return; + } + renamingRules->exec(); +} + +void CopyEngineFactory::updateBufferCheckbox() +{ + ui->osBufferLimited->setEnabled(ui->osBuffer->isChecked()); + ui->osBufferLimit->setEnabled(ui->osBuffer->isChecked() && ui->osBufferLimited->isChecked()); +} + +void CopyEngineFactory::checksumIgnoreIfImpossible_toggled(bool checksumIgnoreIfImpossible) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("checksumIgnoreIfImpossible",booltostring(checksumIgnoreIfImpossible)); +} + +void CopyEngineFactory::setFileCollision(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index)); + if(optionsEngine==NULL) + return; + switch(index) + { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + optionsEngine->setOptionValue("fileCollision",std::to_string(index)); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + break; + } +} + +void CopyEngineFactory::setFileError(int index) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"action index: "+std::to_string(index)); + if(optionsEngine==NULL) + return; + switch(index) + { + case 0: + case 1: + case 2: + optionsEngine->setOptionValue("fileError",std::to_string(index)); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error, unknow index, ignored"); + break; + } +} + +void CopyEngineFactory::updatedBlockSize() +{ + ui->sequentialBuffer->setMinimum(ui->blockSize->value()); + ui->sequentialBuffer->setSingleStep(ui->blockSize->value()); + ui->sequentialBuffer->setMaximum(ui->blockSize->value()*ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK); + ui->parallelBuffer->setMinimum(ui->blockSize->value()); + ui->parallelBuffer->setSingleStep(ui->blockSize->value()); + ui->parallelBuffer->setMaximum(ui->blockSize->value()*ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK); + setParallelBuffer(ui->parallelBuffer->value()); + setSequentialBuffer(ui->sequentialBuffer->value()); +} + +void CopyEngineFactory::deletePartiallyTransferredFiles(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("deletePartiallyTransferredFiles",booltostring(checked)); +} + +void CopyEngineFactory::renameTheOriginalDestination(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("renameTheOriginalDestination",booltostring(checked)); +} + +void CopyEngineFactory::checkDiskSpace(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("checkDiskSpace",booltostring(checked)); +} + +void CopyEngineFactory::defaultDestinationFolderBrowse() +{ + QString destination = QFileDialog::getExistingDirectory(ui->defaultDestinationFolder, + QString::fromStdString(facilityEngine->translateText("Select destination directory")), + "",QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks); + if(destination.isEmpty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Canceled by the user"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + ui->defaultDestinationFolder->setText(destination); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("defaultDestinationFolder",destination.toStdString()); +} + +void CopyEngineFactory::defaultDestinationFolder() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("defaultDestinationFolder",ui->defaultDestinationFolder->text().toStdString()); +} + +void CopyEngineFactory::followTheStrictOrder(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("followTheStrictOrder",booltostring(checked)); +} + +void CopyEngineFactory::moveTheWholeFolder(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("moveTheWholeFolder",booltostring(checked)); +} + +void CopyEngineFactory::on_inodeThreads_editingFinished() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the spinbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("inodeThreads",std::to_string(ui->inodeThreads->value())); +} + +#ifdef Q_OS_WIN32 +size_t CopyEngineFactory::getTotalSystemMemory() +{ + MEMORYSTATUSEX status; + status.dwLength = sizeof(status); + GlobalMemoryStatusEx(&status); + return status.ullTotalPhys; +} +#endif + +#ifdef Q_OS_LINUX +size_t CopyEngineFactory::getTotalSystemMemory() +{ + long pages = sysconf(_SC_PHYS_PAGES); + long page_size = sysconf(_SC_PAGE_SIZE); + return pages * page_size; +} +#endif + +#ifdef ULTRACOPIER_PLUGIN_RSYNC +void CopyEngineFactory::setRsync(bool rsync) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("rsync",std::to_string(rsync)); +} +#endif + +void CopyEngineFactory::copyListOrder(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the value have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("copyListOrder",booltostring(checked)); +} diff --git a/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h new file mode 100644 index 0000000..59c4208 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/CopyEngineFactory.h @@ -0,0 +1,133 @@ +/** \file factory.h +\brief Define the factory to create new instance +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#include "StructEnumDefinition_CopyEngine.h" + +#include <QObject> +#include <QList> +#include <QStringList> +#include <QFileInfo> +#include <QProcess> +#include <QTimer> + +#include "../../../interface/PluginInterface_CopyEngine.h" +#include "qstorageinfo.h" +#include "StructEnumDefinition.h" +#include "ui_copyEngineOptions.h" +#include "CopyEngine.h" +#include "Environment.h" +#include "Filters.h" +#include "RenamingRules.h" + +#ifdef Q_OS_WIN32 + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> +#endif +#ifdef Q_OS_LINUX + #include <unistd.h> +#endif + +#ifndef FACTORY_H +#define FACTORY_H + +namespace Ui { + class copyEngineOptions; +} + +/** \brief to generate copy engine instance */ +class CopyEngineFactory : public PluginInterface_CopyEngineFactory +{ + Q_OBJECT + #ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT + Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.CopyEngineFactory/1.0.0.0" FILE "plugin.json") + Q_INTERFACES(PluginInterface_CopyEngineFactory) + #endif +public: + CopyEngineFactory(); + ~CopyEngineFactory(); + /// \brief to return the instance of the copy engine + PluginInterface_CopyEngine * getInstance(); + /// \brief set the resources, to store options, to have facilityInterface + void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,FacilityInterface * facilityInterface,const bool &portableVersion); + //get mode allowed + /// \brief define if can copy file, folder or both + Ultracopier::CopyType getCopyType(); + /// \brief to return which kind of transfer list operation is supported + Ultracopier::TransferListOperation getTransferListOperation(); + /// \brief define if can only copy, or copy and move + bool canDoOnlyCopy() const; + /// \brief to get the supported protocols for the source + std::vector<std::string> supportedProtocolsForTheSource() const; + /// \brief to get the supported protocols for the destination + std::vector<std::string> supportedProtocolsForTheDestination() const; + /// \brief to get the options of the copy engine + QWidget * options(); + +private: + Ui::copyEngineOptions *ui; + QWidget* tempWidget; + OptionInterface * optionsEngine; + bool errorFound; + FacilityInterface * facilityEngine; + Filters *filters; + RenamingRules *renamingRules; + QStorageInfo storageInfo; + QTimer lunchInitFunction; + std::vector<std::string> includeStrings,includeOptions,excludeStrings,excludeOptions; + std::string firstRenamingRule,otherRenamingRule; + +#if defined(Q_OS_WIN32) || (defined(Q_OS_LINUX) && defined(_SC_PHYS_PAGES)) + static size_t getTotalSystemMemory(); +#endif +private slots: + void init(); + void setDoRightTransfer(bool doRightTransfer); + void setKeepDate(bool keepDate); + void setBlockSize(int blockSize); + void setParallelBuffer(int parallelBuffer); + void setSequentialBuffer(int sequentialBuffer); + void setParallelizeIfSmallerThan(int parallelizeIfSmallerThan); + void setAutoStart(bool autoStart); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + void setRsync(bool rsync); + #endif + void setFolderCollision(int index); + void setFolderError(int index); + void setTransferAlgorithm(int index); + void setCheckDestinationFolder(); + void showFilterDialog(); + void sendNewFilters(const std::vector<std::string> &includeStrings,const std::vector<std::string> &includeOptions, + const std::vector<std::string> &excludeStrings,const std::vector<std::string> &excludeOptions); + void doChecksum_toggled(bool); + void checksumOnlyOnError_toggled(bool); + void osBuffer_toggled(bool); + void osBufferLimited_toggled(bool); + void osBufferLimit_editingFinished(); + void checksumIgnoreIfImpossible_toggled(bool); + void sendNewRenamingRules(const std::string &firstRenamingRule, const std::string &otherRenamingRule); + void showRenamingRules(); + void updateBufferCheckbox(); + void setFileCollision(int index); + void setFileError(int index); + void updatedBlockSize(); + void deletePartiallyTransferredFiles(bool checked); + void renameTheOriginalDestination(bool checked); + void checkDiskSpace(bool checked); + void defaultDestinationFolderBrowse(); + void defaultDestinationFolder(); + void followTheStrictOrder(bool checked); + void moveTheWholeFolder(bool checked); + void on_inodeThreads_editingFinished(); + void copyListOrder(bool checked); +public slots: + void resetOptions(); + void newLanguageLoaded(); +signals: + void reloadLanguage() const; +}; + +#endif // FACTORY_H diff --git a/plugins/CopyEngine/Ultracopier/DebugDialog.cpp b/plugins/CopyEngine/Ultracopier/DebugDialog.cpp new file mode 100644 index 0000000..0b3fec4 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DebugDialog.cpp @@ -0,0 +1,54 @@ +/** \file debugDialog.cpp +\brief Define the dialog to have debug information +\author alpha_one_x86 */ + +#include "DebugDialog.h" +#include "ui_debugDialog.h" + +#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + +DebugDialog::DebugDialog(QWidget *parent) : + QWidget(parent), + ui(new Ui::debugDialog) +{ + ui->setupUi(this); +} + +DebugDialog::~DebugDialog() +{ + delete ui; +} + +void DebugDialog::setTransferList(const std::vector<std::string> &list) +{ + ui->tranferList->clear(); + unsigned int index=0; + while(index<list.size()) + { + ui->tranferList->addItem(QString::fromStdString(list.at(index))); + index++; + } +} + +void DebugDialog::setActiveTransfer(const int &activeTransfer) +{ + ui->spinBoxActiveTransfer->setValue(activeTransfer); +} + +void DebugDialog::setInodeUsage(const int &inodeUsage) +{ + ui->spinBoxNumberOfInode->setValue(inodeUsage); +} + +void DebugDialog::setTransferThreadList(const std::vector<std::string> &list) +{ + ui->transferThreadList->clear(); + unsigned int index=0; + while(index<list.size()) + { + ui->transferThreadList->addItem(QString::fromStdString(list.at(index))); + index++; + } +} + +#endif diff --git a/plugins/CopyEngine/Ultracopier/DebugDialog.h b/plugins/CopyEngine/Ultracopier/DebugDialog.h new file mode 100644 index 0000000..c84cfaa --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DebugDialog.h @@ -0,0 +1,39 @@ +/** \file debugDialog.h +\brief Define the dialog to have debug information +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef DEBUGDAILOG_H +#define DEBUGDAILOG_H + +#include "Environment.h" + +#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW +#include <QWidget> + +namespace Ui { + class debugDialog; +} + +/// \brief class to the dialog to have debug information +class DebugDialog : public QWidget +{ + Q_OBJECT +public: + explicit DebugDialog(QWidget *parent = 0); + ~DebugDialog(); + /// \brief to set the transfer list, limited in result to not slow down the application + void setTransferList(const std::vector<std::string> &list); + /// \brief show the transfer thread, it show be a thread pool in normal time + void setTransferThreadList(const std::vector<std::string> &list); + /// \brief show how many transfer is active + void setActiveTransfer(const int &activeTransfer); + /// \brief show many many inode is manipulated + void setInodeUsage(const int &inodeUsage); +private: + Ui::debugDialog *ui; +}; + +#endif // ULTRACOPIER_PLUGIN_DEBUG_WINDOW + +#endif // DEBUGDAILOG_H diff --git a/plugins/CopyEngine/Ultracopier/DebugEngineMacro.h b/plugins/CopyEngine/Ultracopier/DebugEngineMacro.h new file mode 100644 index 0000000..f9b5349 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DebugEngineMacro.h @@ -0,0 +1,28 @@ +/** \file DebugEngineMacro.h +\brief Define the macro for the debug +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef DEBUGENGINEMACRO_H +#define DEBUGENGINEMACRO_H + +#ifdef WIN32 +# define __func__ __FUNCTION__ +#endif + +/// \brief Macro for the debug log +#ifdef ULTRACOPIER_PLUGIN_DEBUG + #if defined (__FILE__) && defined (__LINE__) + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__) + #else + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b) + #endif +#else // ULTRACOPIER_PLUGIN_DEBUG + #define ULTRACOPIER_DEBUGCONSOLE(a,b) void() +#endif // ULTRACOPIER_PLUGIN_DEBUG + +#endif // DEBUGENGINEMACRO_H + + + + diff --git a/plugins/CopyEngine/Ultracopier/DiskSpace.cpp b/plugins/CopyEngine/Ultracopier/DiskSpace.cpp new file mode 100644 index 0000000..e9b996d --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DiskSpace.cpp @@ -0,0 +1,53 @@ +#include "DiskSpace.h" +#include "ui_DiskSpace.h" +#include "StructEnumDefinition_CopyEngine.h" + +DiskSpace::DiskSpace(FacilityInterface * facilityEngine,std::vector<Diskspace> list,QWidget *parent) : + QDialog(parent), + ui(new Ui::DiskSpace) +{ + Qt::WindowFlags flags = windowFlags(); + #ifdef Q_OS_LINUX + flags=flags & ~Qt::X11BypassWindowManagerHint; + #endif + flags=flags | Qt::WindowStaysOnTopHint; + setWindowFlags(flags); + + ui->setupUi(this); + ok=false; + int index=0; + int size=list.size(); + QString drives; + while(index<size) + { + drives+=tr("Drives %1 have %2 available but need %3") + .arg(QString::fromStdString(list.at(index).drive)) + .arg(QString::fromStdString(facilityEngine->sizeToString(list.at(index).freeSpace))) + .arg(QString::fromStdString(facilityEngine->sizeToString(list.at(index).requiredSpace))); + drives+=QStringLiteral("<br />"); + index++; + } + ui->drives->setText(drives); +} + +DiskSpace::~DiskSpace() +{ + delete ui; +} + +void DiskSpace::on_ok_clicked() +{ + ok=true; + close(); +} + +void DiskSpace::on_cancel_clicked() +{ + ok=false; + close(); +} + +bool DiskSpace::getAction() const +{ + return ok; +} diff --git a/plugins/CopyEngine/Ultracopier/DiskSpace.h b/plugins/CopyEngine/Ultracopier/DiskSpace.h new file mode 100644 index 0000000..5a923ab --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DiskSpace.h @@ -0,0 +1,29 @@ +#ifndef DISKSPACE_H +#define DISKSPACE_H + +#include <QDialog> +#include <vector> +#include "../../../interface/PluginInterface_CopyEngine.h" +#include "StructEnumDefinition_CopyEngine.h" + +namespace Ui { +class DiskSpace; +} + +class DiskSpace : public QDialog +{ + Q_OBJECT + +public: + explicit DiskSpace(FacilityInterface * facilityEngine,std::vector<Diskspace> list,QWidget *parent = 0); + ~DiskSpace(); + bool getAction() const; +private slots: + void on_ok_clicked(); + void on_cancel_clicked(); +private: + Ui::DiskSpace *ui; + bool ok; +}; + +#endif // DISKSPACE_H diff --git a/plugins/CopyEngine/Ultracopier/DiskSpace.ui b/plugins/CopyEngine/Ultracopier/DiskSpace.ui new file mode 100644 index 0000000..10b5c69 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DiskSpace.ui @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>DiskSpace</class> + <widget class="QDialog" name="DiskSpace"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>367</width> + <height>146</height> + </rect> + </property> + <property name="windowTitle"> + <string>Disk space</string> + </property> + <property name="windowIcon"> + <iconset resource="copyEngineResources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/remove.png</normaloff>:/CopyEngine/Ultracopier/resources/remove.png</iconset> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>You need more space on this drive to finish this transfer</string> + </property> + </widget> + </item> + <item> + <widget class="QTextBrowser" name="drives"/> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="ok"> + <property name="text"> + <string>Continue</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancel"> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="copyEngineResources.qrc"/> + </resources> + <connections/> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/DriveManagement.cpp b/plugins/CopyEngine/Ultracopier/DriveManagement.cpp new file mode 100644 index 0000000..f25836f --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DriveManagement.cpp @@ -0,0 +1,105 @@ +#include "DriveManagement.h" + +#include <QDir> +#include <QFileInfoList> +#include <QStorageInfo> + +#include "../../../cpp11addition.h" + +DriveManagement::DriveManagement() +{ + tryUpdate(); + #ifdef Q_OS_WIN32 + reg1=std::regex("^(\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+"); + reg2=std::regex("^((\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+).*$"); + reg3=std::regex("^[a-zA-Z]:[\\\\/]"); + reg4=std::regex("^([a-zA-Z]:[\\\\/]).*$"); + #endif + /// \warn ULTRACOPIER_DEBUGCONSOLE() don't work here because the sinal slot is not connected! +} + +//get drive of an file or folder +/// \todo do network drive support for windows +std::string DriveManagement::getDrive(const std::string &fileOrFolder) const +{ + const std::string &inode=QDir::toNativeSeparators(QString::fromStdString(fileOrFolder)).toStdString(); + int size=mountSysPoint.size(); + for (int i = 0; i < size; ++i) { + if(stringStartWith(inode,mountSysPoint.at(i))) + return QDir::toNativeSeparators(QString::fromStdString(mountSysPoint.at(i))).toStdString(); + } + #ifdef Q_OS_WIN32 + if(std::regex_match(fileOrFolder,reg1)) + { + std::string returnString=fileOrFolder; + std::regex_replace(returnString,reg2,"$1"); + return returnString; + } + //due to lack of WMI support into mingw, the new drive event is never called, this is a workaround + if(std::regex_match(fileOrFolder,reg3)) + { + std::string returnString=fileOrFolder; + std::regex_replace(returnString,reg4,"$1"); + return QDir::toNativeSeparators(QString::fromStdString(returnString)).toUpper().toStdString(); + } + #endif + //if unable to locate the right mount point + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unable to locate the right mount point for: "+fileOrFolder+", mount point: "+stringimplode(mountSysPoint,";")); + return std::string(); +} + +QByteArray DriveManagement::getDriveType(const std::string &drive) const +{ + int index=vectorindexOf(mountSysPoint,drive); + if(index!=-1) + return driveType.at(index); + return QByteArray(); +} + +bool DriveManagement::isSameDrive(const std::string &file1,const std::string &file2) const +{ + if(mountSysPoint.size()==0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"no mount point found"); + return false; + } + const std::string &drive1=getDrive(file1); + if(drive1.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"drive for the file1 not found: "+file1); + return false; + } + const std::string &drive2=getDrive(file2); + if(drive2.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"drive for the file2 not found: "+file2); + return false; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,drive1+" is egal to "+drive2); + if(drive1==drive2) + return true; + else + return false; +} + +void DriveManagement::tryUpdate() +{ + mountSysPoint.clear(); + driveType.clear(); + const QList<QStorageInfo> mountedVolumesList=QStorageInfo::mountedVolumes(); + int index=0; + while(index<mountedVolumesList.size()) + { + mountSysPoint.push_back(QDir::toNativeSeparators(mountedVolumesList.at(index).rootPath()).toStdString()); + #ifdef Q_OS_WIN32 + if(mountSysPoint.back()!="A:\\" && mountSysPoint.back()!="A:/" && mountSysPoint.back()!="A:" && mountSysPoint.back()!="A" && + mountSysPoint.back()!="a:\\" && mountSysPoint.back()!="a:/" && mountSysPoint.back()!="a:" && mountSysPoint.back()!="a") + driveType.push_back(mountedVolumesList.at(index).fileSystemType()); + else + driveType.push_back(QByteArray()); + #else + driveType.push_back(mountedVolumesList.at(index).fileSystemType()); + #endif + index++; + } +} diff --git a/plugins/CopyEngine/Ultracopier/DriveManagement.h b/plugins/CopyEngine/Ultracopier/DriveManagement.h new file mode 100644 index 0000000..8013b7c --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/DriveManagement.h @@ -0,0 +1,34 @@ +#ifndef DRIVEMANAGEMENT_H +#define DRIVEMANAGEMENT_H + +#include <QObject> +#include <QString> +#include <QStringList> +#include <QRegularExpression> +#include <QStorageInfo> +#include <QTimer> + +#include "Environment.h" + +class DriveManagement : public QObject +{ + Q_OBJECT +public: + explicit DriveManagement(); + bool isSameDrive(const std::string &file1, const std::string &file2) const; + /// \brief get drive of an file or folder + std::string getDrive(const std::string &fileOrFolder) const; + QByteArray getDriveType(const std::string &drive) const; + void tryUpdate(); +protected: + std::vector<std::string> mountSysPoint; + std::vector<QByteArray> driveType; + #ifdef Q_OS_WIN32 + std::regex reg1,reg2,reg3,reg4; + #endif +signals: + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const; +}; + +#endif // DRIVEMANAGEMENT_H diff --git a/plugins/CopyEngine/Ultracopier/Environment.h b/plugins/CopyEngine/Ultracopier/Environment.h new file mode 100644 index 0000000..34db2a2 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Environment.h @@ -0,0 +1,11 @@ +/** \file Environment.h
+\brief Define the environment variable and global function
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#include "Variable.h"
+/// \brief The global include
+#include "StructEnumDefinition.h"
+#include "StructEnumDefinition_CopyEngine.h"
+#include "DebugEngineMacro.h"
+#include "CompilerInfo.h"
diff --git a/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp b/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp new file mode 100644 index 0000000..d88fb90 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FileErrorDialog.cpp @@ -0,0 +1,163 @@ +#include "FileErrorDialog.h" +#include "ui_fileErrorDialog.h" +#include "TransferThread.h" + +#include <QString> + +bool FileErrorDialog::isInAdmin=false; + +FileErrorDialog::FileErrorDialog(QWidget *parent, QFileInfo fileInfo, std::string errorString, const ErrorType &errorType) : + QDialog(parent), + ui(new Ui::fileErrorDialog) +{ + Qt::WindowFlags flags = windowFlags(); + #ifdef Q_OS_LINUX + flags=flags & ~Qt::X11BypassWindowManagerHint; + #endif + flags=flags | Qt::WindowStaysOnTopHint; + setWindowFlags(flags); + + ui->setupUi(this); + action=FileError_Cancel; + ui->label_error->setText(QString::fromStdString(errorString)); + if(fileInfo.exists()) + { + ui->label_content_file_name->setText(QString::fromStdString(TransferThread::resolvedName(fileInfo))); + if(ui->label_content_file_name->text().isEmpty()) + { + ui->label_content_file_name->setText(fileInfo.absoluteFilePath()); + ui->label_folder->setVisible(false); + ui->label_content_folder->setVisible(false); + } + else + { + QString folder=fileInfo.absolutePath(); + if(folder.size()>80) + folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38); + ui->label_content_folder->setText(fileInfo.absolutePath()); + } + ui->label_content_size->setText(QString::number(fileInfo.size())); + QDateTime maxTime(QDate(ULTRACOPIER_PLUGIN_MINIMALYEAR,1,1)); + if(maxTime<fileInfo.lastModified()) + { + ui->label_modified->setVisible(true); + ui->label_content_modified->setVisible(true); + ui->label_content_modified->setText(fileInfo.lastModified().toString()); + } + else + { + ui->label_modified->setVisible(false); + ui->label_content_modified->setVisible(false); + } + if(fileInfo.isDir()) + { + this->setWindowTitle(tr("Error on folder")); + ui->label_size->hide(); + ui->label_content_size->hide(); + ui->label_file_name->setText(tr("Folder name")); + } + ui->label_file_destination->setVisible(fileInfo.isSymLink()); + ui->label_content_file_destination->setVisible(fileInfo.isSymLink()); + if(fileInfo.isSymLink()) + ui->label_content_file_destination->setText(fileInfo.symLinkTarget()); + } + else + { + ui->label_content_file_name->setText(QString::fromStdString(TransferThread::resolvedName(fileInfo))); + if(ui->label_content_file_name->text().isEmpty()) + { + ui->label_content_file_name->setText(fileInfo.absoluteFilePath()); + ui->label_folder->setVisible(false); + ui->label_content_folder->setVisible(false); + } + else + ui->label_content_folder->setText(fileInfo.absolutePath()); + + ui->label_file_destination->hide(); + ui->label_content_file_destination->hide(); + ui->label_size->hide(); + ui->label_content_size->hide(); + ui->label_modified->hide(); + ui->label_content_modified->hide(); + } + if(errorType==ErrorType_Folder || errorType==ErrorType_FolderWithRety) + ui->PutToBottom->hide(); + if(errorType==ErrorType_Folder) + ui->Retry->hide(); + + ui->Rights->hide(); + #ifdef ULTRACOPIER_PLUGIN_RIGHTS + if(isInAdmin) + ui->Rights->hide(); + #ifdef Q_OS_WIN32 + if(errorType!=ErrorType_Rights) + ui->Rights->hide(); + #else + ui->Rights->hide(); + #endif + #else + ui->Rights->hide(); + #endif +} + +FileErrorDialog::~FileErrorDialog() +{ + delete ui; +} + +void FileErrorDialog::changeEvent(QEvent *e) +{ + QWidget::changeEvent(e); + switch (e->type()) { + case QEvent::LanguageChange: + ui->retranslateUi(this); + break; + default: + break; + } +} + +void FileErrorDialog::on_PutToBottom_clicked() +{ + action=FileError_PutToEndOfTheList; + this->close(); +} + +void FileErrorDialog::on_Retry_clicked() +{ + action=FileError_Retry; + this->close(); +} + +void FileErrorDialog::on_Skip_clicked() +{ + action=FileError_Skip; + this->close(); +} + +void FileErrorDialog::on_Cancel_clicked() +{ + action=FileError_Cancel; + this->close(); +} + +bool FileErrorDialog::getAlways() +{ + return ui->checkBoxAlways->isChecked(); +} + +FileErrorAction FileErrorDialog::getAction() +{ + return action; +} + +void FileErrorDialog::on_checkBoxAlways_clicked() +{ + ui->Rights->setEnabled(!ui->checkBoxAlways->isChecked()); +} + +#ifdef ULTRACOPIER_PLUGIN_RIGHTS +void FileErrorDialog::on_Rights_clicked() +{ +} +#endif diff --git a/plugins/CopyEngine/Ultracopier/FileErrorDialog.h b/plugins/CopyEngine/Ultracopier/FileErrorDialog.h new file mode 100644 index 0000000..133a8b0 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FileErrorDialog.h @@ -0,0 +1,51 @@ +/** \file fileErrorDialog.h +\brief Define the dialog error on the file +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#include <QDialog> +#include <QWidget> +#include <QString> +#include <QDateTime> +#include <QFileInfo> +#include "Environment.h" + +#ifndef FILEERRORDIALOG_H +#define FILEERRORDIALOG_H + + + +namespace Ui { + class fileErrorDialog; +} + +/// \brief to show error dialog, and ask what do +class FileErrorDialog : public QDialog +{ + Q_OBJECT +public: + /// \brief create the object and pass all the informations to it + explicit FileErrorDialog(QWidget *parent,QFileInfo fileInfo,std::string errorString,const ErrorType &errorType); + ~FileErrorDialog(); + /// \brief return the the always checkbox is checked + bool getAlways(); + /// \brief return the action clicked + FileErrorAction getAction(); +protected: + void changeEvent(QEvent *e); + static bool isInAdmin; +private slots: + void on_PutToBottom_clicked(); + void on_Retry_clicked(); + void on_Skip_clicked(); + void on_Cancel_clicked(); + void on_checkBoxAlways_clicked(); + #ifdef ULTRACOPIER_PLUGIN_RIGHTS + void on_Rights_clicked(); + #endif +private: + Ui::fileErrorDialog *ui; + FileErrorAction action; +}; + +#endif // FILEERRORDIALOG_H diff --git a/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp b/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp new file mode 100644 index 0000000..91df1f8 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FileExistsDialog.cpp @@ -0,0 +1,244 @@ +#include "FileExistsDialog.h" +#include "ui_fileExistsDialog.h" +#include "TransferThread.h" + +#ifdef Q_OS_WIN32 +#define CURRENTSEPARATOR "\\" +#else +#define CURRENTSEPARATOR "/" +#endif + +#include <QRegularExpression> +#include <QFileInfo> +#include <QMessageBox> + +FileExistsDialog::FileExistsDialog(QWidget *parent, QFileInfo source, QFileInfo destination, std::string firstRenamingRule, std::string otherRenamingRule) : + QDialog(parent), + ui(new Ui::fileExistsDialog) +{ + Qt::WindowFlags flags = windowFlags(); + #ifdef Q_OS_LINUX + flags=flags & ~Qt::X11BypassWindowManagerHint; + #endif + flags=flags | Qt::WindowStaysOnTopHint; + setWindowFlags(flags); + + ui->setupUi(this); + action=FileExists_Cancel; + destinationInfo=destination; + oldName=TransferThread::resolvedName(destination); + ui->lineEditNewName->setText(QString::fromStdString(oldName)); + ui->lineEditNewName->setPlaceholderText(QString::fromStdString(oldName)); + ui->Overwrite->addAction(ui->actionOverwrite_if_newer); + ui->Overwrite->addAction(ui->actionOverwrite_if_not_same_modification_date); + ui->label_content_source_size->setText(QString::number(source.size())); + ui->label_content_source_modified->setText(source.lastModified().toString()); + ui->label_content_source_file_name->setText(QString::fromStdString(TransferThread::resolvedName(source))); + QString folder=source.absolutePath(); + if(folder.size()>80) + folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38); + ui->label_content_source_folder->setText(folder); + ui->label_content_destination_size->setText(QString::number(destination.size())); + ui->label_content_destination_modified->setText(destination.lastModified().toString()); + ui->label_content_destination_file_name->setText(QString::fromStdString(TransferThread::resolvedName(destination))); + folder=destination.absolutePath(); + if(folder.size()>80) + folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38); + ui->label_content_destination_folder->setText(folder); + QDateTime maxTime(QDate(ULTRACOPIER_PLUGIN_MINIMALYEAR,1,1)); + if(maxTime<source.lastModified()) + { + ui->label_source_modified->setVisible(true); + ui->label_content_source_modified->setVisible(true); + ui->label_content_source_modified->setText(source.lastModified().toString()); + } + else + { + ui->label_source_modified->setVisible(false); + ui->label_content_source_modified->setVisible(false); + } + if(maxTime<destination.lastModified()) + { + ui->label_destination_modified->setVisible(true); + ui->label_content_destination_modified->setVisible(true); + ui->label_content_destination_modified->setText(destination.lastModified().toString()); + } + else + { + ui->label_destination_modified->setVisible(false); + ui->label_content_destination_modified->setVisible(false); + } + if(!source.exists()) + { + ui->label_content_source_size->setVisible(false); + ui->label_source_size->setVisible(false); + ui->label_source_modified->setVisible(false); + ui->label_content_source_modified->setVisible(false); + } + if(!destination.exists()) + { + ui->label_content_destination_size->setVisible(false); + ui->label_destination_size->setVisible(false); + ui->label_destination_modified->setVisible(false); + ui->label_content_destination_modified->setVisible(false); + } + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; + on_SuggestNewName_clicked(); +} + +FileExistsDialog::~FileExistsDialog() +{ + delete ui; +} + +void FileExistsDialog::changeEvent(QEvent *e) +{ + QWidget::changeEvent(e); + switch (e->type()) { + case QEvent::LanguageChange: + ui->retranslateUi(this); + break; + default: + break; + } +} + +std::string FileExistsDialog::getNewName() +{ + if(oldName==ui->lineEditNewName->text().toStdString() || ui->checkBoxAlways->isChecked()) + return oldName; + else + return ui->lineEditNewName->text().toStdString(); +} + +void FileExistsDialog::on_SuggestNewName_clicked() +{ + QFileInfo destinationInfo=this->destinationInfo; + QString absolutePath=destinationInfo.absolutePath(); + QString fileName=QString::fromStdString(TransferThread::resolvedName(destinationInfo)); + QString suffix=""; + QString destination; + QString newFileName; + //resolv the suffix + if(fileName.contains(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")))) + { + suffix=fileName; + suffix.replace(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")),QStringLiteral("\\2")); + fileName.replace(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")),QStringLiteral("\\1")); + } + //resolv the new name + int num=1; + do + { + if(num==1) + { + if(firstRenamingRule.empty()) + newFileName=tr("%1 - copy").arg(fileName); + else + { + newFileName=QString::fromStdString(firstRenamingRule); + newFileName.replace("%name%",fileName); + } + } + else + { + if(otherRenamingRule.empty()) + newFileName=tr("%1 - copy (%2)").arg(fileName).arg(num); + else + { + newFileName=QString::fromStdString(otherRenamingRule); + newFileName.replace(QStringLiteral("%name%"),fileName); + newFileName.replace(QStringLiteral("%number%"),QString::number(num)); + } + } + destination=absolutePath+CURRENTSEPARATOR+newFileName+suffix; + destinationInfo.setFile(destination); + num++; + } + while(destinationInfo.exists()); + ui->lineEditNewName->setText(newFileName+suffix); +} + +void FileExistsDialog::on_Rename_clicked() +{ + action=FileExists_Rename; + this->close(); +} + +void FileExistsDialog::on_Overwrite_clicked() +{ + action=FileExists_Overwrite; + this->close(); +} + +void FileExistsDialog::on_Skip_clicked() +{ + action=FileExists_Skip; + this->close(); +} + +void FileExistsDialog::on_Cancel_clicked() +{ + action=FileExists_Cancel; + this->close(); +} + +void FileExistsDialog::on_actionOverwrite_if_newer_triggered() +{ + action=FileExists_OverwriteIfNewer; + this->close(); +} + +void FileExistsDialog::on_actionOverwrite_if_not_same_modification_date_triggered() +{ + action=FileExists_OverwriteIfNotSame; + this->close(); +} + +FileExistsAction FileExistsDialog::getAction() +{ + return action; +} + +bool FileExistsDialog::getAlways() +{ + return ui->checkBoxAlways->isChecked(); +} + +void FileExistsDialog::updateRenameButton() +{ + ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text().toStdString() && !ui->lineEditNewName->text().isEmpty())); +} + +void FileExistsDialog::on_checkBoxAlways_toggled(bool checked) +{ + Q_UNUSED(checked); + updateRenameButton(); +} + +void FileExistsDialog::on_lineEditNewName_textChanged(const QString &arg1) +{ + Q_UNUSED(arg1); + updateRenameButton(); +} + +void FileExistsDialog::on_lineEditNewName_returnPressed() +{ + updateRenameButton(); + if(ui->Rename->isEnabled()) + on_Rename_clicked(); + else + QMessageBox::warning(this,tr("Error"),tr("Try rename with using special characters")); +} + +void FileExistsDialog::on_actionOverwrite_if_older_triggered() +{ + action=FileExists_OverwriteIfOlder; + this->close(); +} + +void FileExistsDialog::on_lineEditNewName_editingFinished() +{ + updateRenameButton(); +} diff --git a/plugins/CopyEngine/Ultracopier/FileExistsDialog.h b/plugins/CopyEngine/Ultracopier/FileExistsDialog.h new file mode 100644 index 0000000..05ff7e0 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FileExistsDialog.h @@ -0,0 +1,60 @@ +/** \file fileExistsDialog.h +\brief Define the dialog when file already exists +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#include <QDialog> +#include <QWidget> +#include <QString> +#include <QDateTime> +#include <QFileInfo> +#include <QDir> +#include "Environment.h" + +#ifndef FILEEXISTSDIALOG_H +#define FILEEXISTSDIALOG_H + +namespace Ui { + class fileExistsDialog; +} + +/// \brief to show file exists dialog, and ask what do +class FileExistsDialog : public QDialog +{ + Q_OBJECT +public: + /// \brief create the object and pass all the informations to it + explicit FileExistsDialog(QWidget *parent,QFileInfo source,QFileInfo destination,std::string firstRenamingRule,std::string otherRenamingRule); + ~FileExistsDialog(); + /// \brief return the the always checkbox is checked + bool getAlways(); + /// \brief return the action clicked + FileExistsAction getAction(); + /// \brief return the new rename is case in manual renaming + std::string getNewName(); +protected: + void changeEvent(QEvent *e); +private slots: + void on_SuggestNewName_clicked(); + void on_Rename_clicked(); + void on_Overwrite_clicked(); + void on_Skip_clicked(); + void on_Cancel_clicked(); + void on_actionOverwrite_if_newer_triggered(); + void on_actionOverwrite_if_not_same_modification_date_triggered(); + void updateRenameButton(); + void on_checkBoxAlways_toggled(bool checked); + void on_lineEditNewName_textChanged(const QString &arg1); + void on_lineEditNewName_returnPressed(); + void on_actionOverwrite_if_older_triggered(); + void on_lineEditNewName_editingFinished(); +private: + Ui::fileExistsDialog *ui; + FileExistsAction action; + std::string oldName; + QFileInfo destinationInfo; + std::string firstRenamingRule; + std::string otherRenamingRule; +}; + +#endif // FILEEXISTSDIALOG_H diff --git a/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp new file mode 100644 index 0000000..3bee3ae --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.cpp @@ -0,0 +1,194 @@ +#include "FileIsSameDialog.h" +#include "ui_fileIsSameDialog.h" +#include "TransferThread.h" + +#ifdef Q_OS_WIN32 +#define CURRENTSEPARATOR "\\" +#else +#define CURRENTSEPARATOR "/" +#endif + +#include <QRegularExpression> +#include <QFileInfo> +#include <QMessageBox> + +FileIsSameDialog::FileIsSameDialog(QWidget *parent, QFileInfo fileInfo, std::string firstRenamingRule, std::string otherRenamingRule) : + QDialog(parent), + ui(new Ui::fileIsSameDialog) +{ + Qt::WindowFlags flags = windowFlags(); + #ifdef Q_OS_LINUX + flags=flags & ~Qt::X11BypassWindowManagerHint; + #endif + flags=flags | Qt::WindowStaysOnTopHint; + setWindowFlags(flags); + + ui->setupUi(this); + action=FileExists_Cancel; + oldName=TransferThread::resolvedName(fileInfo); + destinationInfo=fileInfo; + ui->lineEditNewName->setText(QString::fromStdString(oldName)); + ui->lineEditNewName->setPlaceholderText(QString::fromStdString(oldName)); + ui->label_content_size->setText(QString::number(fileInfo.size())); + ui->label_content_modified->setText(fileInfo.lastModified().toString()); + ui->label_content_file_name->setText(QString::fromStdString(TransferThread::resolvedName(fileInfo))); + QString folder=fileInfo.absolutePath(); + if(folder.size()>80) + folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38); + ui->label_content_folder->setText(folder); + updateRenameButton(); + QDateTime maxTime(QDate(ULTRACOPIER_PLUGIN_MINIMALYEAR,1,1)); + if(maxTime<fileInfo.lastModified()) + { + ui->label_modified->setVisible(true); + ui->label_content_modified->setVisible(true); + ui->label_content_modified->setText(fileInfo.lastModified().toString()); + } + else + { + ui->label_modified->setVisible(false); + ui->label_content_modified->setVisible(false); + } + if(!fileInfo.exists()) + { + ui->label_content_size->setVisible(false); + ui->label_size->setVisible(false); + ui->label_modified->setVisible(false); + ui->label_content_modified->setVisible(false); + } + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; + on_SuggestNewName_clicked(); +} + +FileIsSameDialog::~FileIsSameDialog() +{ + delete ui; +} + +void FileIsSameDialog::changeEvent(QEvent *e) +{ + QWidget::changeEvent(e); + switch (e->type()) { + case QEvent::LanguageChange: + ui->retranslateUi(this); + break; + default: + break; + } +} + +std::string FileIsSameDialog::getNewName() +{ + if(oldName==ui->lineEditNewName->text().toStdString() || ui->checkBoxAlways->isChecked()) + return oldName; + else + return ui->lineEditNewName->text().toStdString(); +} + +void FileIsSameDialog::on_SuggestNewName_clicked() +{ + QFileInfo destinationInfo=this->destinationInfo; + QString absolutePath=destinationInfo.absolutePath(); + QString fileName=QString::fromStdString(TransferThread::resolvedName(destinationInfo)); + QString suffix=""; + QString destination; + QString newFileName; + //resolv the suffix + if(fileName.contains(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")))) + { + suffix=fileName; + suffix.replace(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")),QStringLiteral("\\2")); + fileName.replace(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")),QStringLiteral("\\1")); + } + //resolv the new name + int num=1; + do + { + if(num==1) + { + if(firstRenamingRule.empty()) + newFileName=tr("%1 - copy").arg(fileName); + else + { + newFileName=QString::fromStdString(firstRenamingRule); + newFileName.replace(QStringLiteral("%name%"),fileName); + } + } + else + { + if(otherRenamingRule.empty()) + newFileName=tr("%1 - copy (%2)").arg(fileName).arg(num); + else + { + newFileName=QString::fromStdString(otherRenamingRule); + newFileName.replace(QStringLiteral("%name%"),fileName); + newFileName.replace(QStringLiteral("%number%"),QString::number(num)); + } + } + destination=absolutePath+CURRENTSEPARATOR+newFileName+suffix; + destinationInfo.setFile(destination); + num++; + } + while(destinationInfo.exists()); + ui->lineEditNewName->setText(newFileName+suffix); +} + +void FileIsSameDialog::on_Rename_clicked() +{ + action=FileExists_Rename; + this->close(); +} + +void FileIsSameDialog::on_Skip_clicked() +{ + action=FileExists_Skip; + this->close(); +} + +void FileIsSameDialog::on_Cancel_clicked() +{ + action=FileExists_Cancel; + this->close(); +} + +FileExistsAction FileIsSameDialog::getAction() +{ + return action; +} + +bool FileIsSameDialog::getAlways() +{ + return ui->checkBoxAlways->isChecked(); +} + +void FileIsSameDialog::updateRenameButton() +{ + ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text().toStdString() && !ui->lineEditNewName->text().isEmpty())); +} + +void FileIsSameDialog::on_lineEditNewName_textChanged(const QString &arg1) +{ + Q_UNUSED(arg1); + updateRenameButton(); +} + +void FileIsSameDialog::on_checkBoxAlways_toggled(bool checked) +{ + Q_UNUSED(checked); + updateRenameButton(); +} + +void FileIsSameDialog::on_lineEditNewName_returnPressed() +{ + updateRenameButton(); + if(ui->Rename->isEnabled()) + on_Rename_clicked(); + else + QMessageBox::warning(this,tr("Error"),tr("Try rename with using special characters")); +} + +void FileIsSameDialog::on_lineEditNewName_editingFinished() +{ + updateRenameButton(); +} diff --git a/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h new file mode 100644 index 0000000..5dc0067 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FileIsSameDialog.h @@ -0,0 +1,57 @@ +/** \file fileIsSameDialog.h +\brief Define the dialog when file is same +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#include <QDialog> +#include <QWidget> +#include <QString> +#include <QDateTime> +#include <QFileInfo> +#include <QDir> +#include "Environment.h" + +#ifndef FILEISSAMEDIALOG_H +#define FILEISSAMEDIALOG_H + +namespace Ui { + class fileIsSameDialog; +} + +/// \brief to show file is same dialog, and ask what do +class FileIsSameDialog : public QDialog +{ + Q_OBJECT +public: + /// \brief create the object and pass all the informations to it + explicit FileIsSameDialog(QWidget *parent,QFileInfo fileInfo,std::string firstRenamingRule,std::string otherRenamingRule); + ~FileIsSameDialog(); + /// \brief return the the always checkbox is checked + bool getAlways(); + /// \brief return the action clicked + FileExistsAction getAction(); + /// \brief return the new rename is case in manual renaming + std::string getNewName(); +protected: + void changeEvent(QEvent *e); +private slots: + void on_SuggestNewName_clicked(); + void on_Rename_clicked(); + void on_Skip_clicked(); + void on_Cancel_clicked(); + void updateRenameButton(); + void on_lineEditNewName_textChanged(const QString &arg1); + void on_checkBoxAlways_toggled(bool checked); + void on_lineEditNewName_returnPressed(); + void on_lineEditNewName_editingFinished(); +private: + Ui::fileIsSameDialog *ui; + FileExistsAction action; + std::string oldName; + QFileInfo destinationInfo; + std::string firstRenamingRule; + std::string otherRenamingRule; + +}; + +#endif // FILEISSAMEDIALOG_H diff --git a/plugins/CopyEngine/Ultracopier/FilterRules.cpp b/plugins/CopyEngine/Ultracopier/FilterRules.cpp new file mode 100644 index 0000000..0f6bf2c --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FilterRules.cpp @@ -0,0 +1,193 @@ +#include "FilterRules.h" +#include "ui_FilterRules.h" + +#include <QRegularExpression> + +FilterRules::FilterRules(QWidget *parent) : + QDialog(parent), + ui(new Ui::FilterRules) +{ + ui->setupUi(this); + updateChecking(); + haveBeenValided=false; +} + +FilterRules::~FilterRules() +{ + delete ui; +} + +bool FilterRules::getIsValid() +{ + return isValid && haveBeenValided; +} + +std::string FilterRules::get_search_text() +{ + return ui->search->text().toStdString(); +} + +SearchType FilterRules::get_search_type() +{ + switch(ui->search_type->currentIndex()) + { + case 0: + return SearchType_rawText; + case 1: + return SearchType_simpleRegex; + case 2: + return SearchType_perlRegex; + } + return SearchType_simpleRegex; +} + +ApplyOn FilterRules::get_apply_on() +{ + switch(ui->apply_on->currentIndex()) + { + case 0: + return ApplyOn_file; + case 1: + return ApplyOn_fileAndFolder; + case 2: + return ApplyOn_folder; + } + return ApplyOn_fileAndFolder; +} + +bool FilterRules::get_need_match_all() +{ + return ui->need_match_all->isChecked(); +} + +void FilterRules::set_search_text(std::string search_text) +{ + ui->search->setText(QString::fromStdString(search_text)); +} + +void FilterRules::set_search_type(SearchType search_type) +{ + switch(search_type) + { + case SearchType_rawText: + ui->search_type->setCurrentIndex(0); + break; + case SearchType_simpleRegex: + ui->search_type->setCurrentIndex(1); + break; + case SearchType_perlRegex: + ui->search_type->setCurrentIndex(2); + break; + } +} + +void FilterRules::set_apply_on(ApplyOn apply_on) +{ + switch(apply_on) + { + case ApplyOn_file: + ui->apply_on->setCurrentIndex(0); + break; + case ApplyOn_fileAndFolder: + ui->apply_on->setCurrentIndex(1); + break; + case ApplyOn_folder: + ui->apply_on->setCurrentIndex(2); + break; + } +} + +void FilterRules::set_need_match_all(bool need_match_all) +{ + ui->need_match_all->setChecked(need_match_all); +} + +void FilterRules::on_search_textChanged(const std::string &arg1) +{ + Q_UNUSED(arg1); + updateChecking(); +} + +void FilterRules::updateChecking() +{ + QRegularExpression regex; + isValid=!ui->search->text().isEmpty(); + if(isValid) + { + QString tempString; + if(ui->search_type->currentIndex()==0) + { + tempString=QRegularExpression::escape(ui->search->text()); + if(tempString.contains('/') || tempString.contains('\\')) + isValid=false; + } + else if(ui->search_type->currentIndex()==1) + { + tempString=QRegularExpression::escape(ui->search->text()); + tempString.replace(QStringLiteral("\\*"),QStringLiteral("[^\\\\/]*")); + } + else if(ui->search_type->currentIndex()==2) + { + tempString=ui->search->text(); + if(tempString.startsWith('^') && tempString.endsWith('$')) + { + ui->need_match_all->setChecked(true); + tempString.remove(QRegularExpression(QStringLiteral("^\\^"))); + tempString.remove(QRegularExpression(QStringLiteral("\\$$"))); + ui->search->setText(tempString); + } + } + if(isValid) + { + if(ui->need_match_all->isChecked()) + tempString=QStringLiteral("^")+tempString+QStringLiteral("$"); + regex=QRegularExpression(tempString); + isValid=regex.isValid(); + } + } + + ui->isValid->setChecked(isValid); + ui->testString->setEnabled(isValid); + ui->label_test_string->setEnabled(isValid); + ui->matched->setEnabled(isValid); + ui->matched->setChecked(isValid && ui->testString->text().contains(regex)); + ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(isValid); +} + +void FilterRules::on_isValid_clicked() +{ + updateChecking(); +} + +void FilterRules::on_testString_textChanged(const std::string &arg1) +{ + Q_UNUSED(arg1); + updateChecking(); +} + +void FilterRules::on_matched_clicked() +{ + updateChecking(); +} + +void FilterRules::on_search_type_currentIndexChanged(int index) +{ + Q_UNUSED(index); + updateChecking(); +} + +void FilterRules::on_need_match_all_clicked() +{ + updateChecking(); +} + +void FilterRules::on_buttonBox_clicked(QAbstractButton *button) +{ + if(ui->buttonBox->buttonRole(button)==QDialogButtonBox::RejectRole) + reject(); + else + { + haveBeenValided=true; + accept(); + } +} diff --git a/plugins/CopyEngine/Ultracopier/FilterRules.h b/plugins/CopyEngine/Ultracopier/FilterRules.h new file mode 100644 index 0000000..0838792 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FilterRules.h @@ -0,0 +1,46 @@ +#ifndef FILTERRULES_H +#define FILTERRULES_H + +#include <QDialog> +#include <QAbstractButton> +#include <QPushButton> + +#include "StructEnumDefinition_CopyEngine.h" + +namespace Ui { +class FilterRules; +} + +/** All the filter rules to include/exclude some file during the listing */ +class FilterRules : public QDialog +{ + Q_OBJECT + +public: + explicit FilterRules(QWidget *parent = 0); + ~FilterRules(); + bool getIsValid(); + std::string get_search_text(); + SearchType get_search_type(); + ApplyOn get_apply_on(); + bool get_need_match_all(); + void set_search_text(std::string search_text); + void set_search_type(SearchType search_type); + void set_apply_on(ApplyOn apply_on); + void set_need_match_all(bool need_match_all); +private slots: + void on_search_textChanged(const std::string &arg1); + void on_isValid_clicked(); + void on_testString_textChanged(const std::string &arg1); + void on_matched_clicked(); + void on_search_type_currentIndexChanged(int index); + void on_need_match_all_clicked(); + void on_buttonBox_clicked(QAbstractButton *button); +private: + Ui::FilterRules *ui; + void updateChecking(); + bool isValid; + bool haveBeenValided; +}; + +#endif // FILTERRULES_H diff --git a/plugins/CopyEngine/Ultracopier/FilterRules.ui b/plugins/CopyEngine/Ultracopier/FilterRules.ui new file mode 100644 index 0000000..a4006fe --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FilterRules.ui @@ -0,0 +1,162 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>FilterRules</class> + <widget class="QDialog" name="FilterRules"> + <property name="windowModality"> + <enum>Qt::WindowModal</enum> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>289</width> + <height>231</height> + </rect> + </property> + <property name="windowTitle"> + <string>Filters dialog</string> + </property> + <property name="windowIcon"> + <iconset resource="copyEngineResources.qrc"> + <normaloff>:/CopyEngine/resources/resources/filter.png</normaloff>:/CopyEngine/resources/resources/filter.png</iconset> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="margin"> + <number>1</number> + </property> + <property name="spacing"> + <number>1</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Search:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="search"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Search type:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="search_type"> + <item> + <property name="text"> + <string>Raw text</string> + </property> + </item> + <item> + <property name="text"> + <string>Simplified regex</string> + </property> + </item> + <item> + <property name="text"> + <string>Perl's regex</string> + </property> + </item> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Apply on:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QComboBox" name="apply_on"> + <item> + <property name="text"> + <string>File</string> + </property> + </item> + <item> + <property name="text"> + <string>Folder</string> + </property> + </item> + <item> + <property name="text"> + <string>File and folder</string> + </property> + </item> + </widget> + </item> + <item row="3" column="0" colspan="2"> + <widget class="QCheckBox" name="need_match_all"> + <property name="text"> + <string>Whole string must match</string> + </property> + </widget> + </item> + <item row="4" column="0" colspan="2"> + <widget class="QGroupBox" name="groupBoxChecking"> + <property name="title"> + <string>Checking</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0" colspan="2"> + <widget class="QCheckBox" name="isValid"> + <property name="text"> + <string>The regex is valid</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_test_string"> + <property name="text"> + <string>Test string:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="testString"/> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="matched"> + <property name="text"> + <string>The test string matches with the regex</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="5" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>68</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="copyEngineResources.qrc"/> + </resources> + <connections/> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/Filters.cpp b/plugins/CopyEngine/Ultracopier/Filters.cpp new file mode 100644 index 0000000..c7b1526 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Filters.cpp @@ -0,0 +1,460 @@ +#include "Filters.h" +#include "ui_Filters.h" +#include "../../../cpp11addition.h" + +#include <QRegularExpression> + +Filters::Filters(QWidget *parent) : + QDialog(parent), + ui(new Ui::Filters) +{ + ui->setupUi(this); +} + +Filters::~Filters() +{ + delete ui; +} + +void Filters::setFilters(std::vector<std::string> includeStrings,std::vector<std::string> includeOptions,std::vector<std::string> excludeStrings,std::vector<std::string> excludeOptions) +{ + if(includeStrings.size()!=includeOptions.size() || excludeStrings.size()!=excludeOptions.size()) + return; + Filters_rules new_item; + + include.clear(); + unsigned int index=0; + while(index<(unsigned int)includeStrings.size()) + { + new_item.search_text=includeStrings.at(index); + std::vector<std::string> options=stringsplit(includeOptions.at(index),';'); + new_item.need_match_all=false; + new_item.search_type=SearchType_rawText; + new_item.apply_on=ApplyOn_fileAndFolder; + + if(vectorcontainsAtLeastOne(options,std::string("SearchType_simpleRegex"))) + new_item.search_type=SearchType_simpleRegex; + if(vectorcontainsAtLeastOne(options,std::string("SearchType_perlRegex"))) + new_item.search_type=SearchType_perlRegex; + if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_file"))) + new_item.apply_on=ApplyOn_file; + if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_folder"))) + new_item.apply_on=ApplyOn_folder; + if(vectorcontainsAtLeastOne(options,std::string("need_match_all"))) + new_item.need_match_all=true; + + if(convertToRegex(new_item)) + include.push_back(new_item); + + index++; + } + + exclude.clear(); + index=0; + while(index<excludeStrings.size()) + { + new_item.search_text=excludeStrings.at(index); + std::vector<std::string> options=stringsplit(excludeOptions.at(index),';'); + new_item.need_match_all=false; + new_item.search_type=SearchType_rawText; + new_item.apply_on=ApplyOn_fileAndFolder; + + if(vectorcontainsAtLeastOne(options,std::string("SearchType_simpleRegex"))) + new_item.search_type=SearchType_simpleRegex; + if(vectorcontainsAtLeastOne(options,std::string("SearchType_perlRegex"))) + new_item.search_type=SearchType_perlRegex; + if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_file"))) + new_item.apply_on=ApplyOn_file; + if(vectorcontainsAtLeastOne(options,std::string("ApplyOn_folder"))) + new_item.apply_on=ApplyOn_folder; + if(vectorcontainsAtLeastOne(options,std::string("need_match_all"))) + new_item.need_match_all=true; + + if(convertToRegex(new_item)) + exclude.push_back(new_item); + + index++; + } + + reShowAll(); +} + +void Filters::reShowAll() +{ + ui->inclusion->clear(); + unsigned int index=0; + while(index<(unsigned int)include.size()) + { + std::string entryShow=include.at(index).search_text+" ("; + std::vector<std::string> optionsToShow; + switch(include.at(index).search_type) + { + case SearchType_rawText: + optionsToShow.push_back(tr("Raw text").toStdString()); + break; + case SearchType_simpleRegex: + optionsToShow.push_back(tr("Simplified regex").toStdString()); + break; + case SearchType_perlRegex: + optionsToShow.push_back(tr("Perl's regex").toStdString()); + break; + default: + break; + } + switch(include.at(index).apply_on) + { + case ApplyOn_file: + optionsToShow.push_back(tr("Only on file").toStdString()); + break; + case ApplyOn_folder: + optionsToShow.push_back(tr("Only on folder").toStdString()); + break; + default: + break; + } + if(include.at(index).need_match_all) + optionsToShow.push_back(tr("Full match").toStdString()); + entryShow+=stringimplode(optionsToShow,","); + entryShow+=")"; + ui->inclusion->addItem(new QListWidgetItem(QString::fromStdString(entryShow))); + index++; + } + ui->exclusion->clear(); + index=0; + while(index<(unsigned int)exclude.size()) + { + std::string entryShow=exclude.at(index).search_text+" ("; + std::vector<std::string> optionsToShow; + switch(exclude.at(index).search_type) + { + case SearchType_rawText: + optionsToShow.push_back(tr("Raw text").toStdString()); + break; + case SearchType_simpleRegex: + optionsToShow.push_back(tr("Simplified regex").toStdString()); + break; + case SearchType_perlRegex: + optionsToShow.push_back(tr("Perl's regex").toStdString()); + break; + default: + break; + } + switch(exclude.at(index).apply_on) + { + case ApplyOn_file: + optionsToShow.push_back(tr("Only on file").toStdString()); + break; + case ApplyOn_folder: + optionsToShow.push_back(tr("Only on folder").toStdString()); + break; + default: + break; + } + if(exclude.at(index).need_match_all) + optionsToShow.push_back(tr("Full match").toStdString()); + entryShow+=stringimplode(optionsToShow,","); + entryShow+=")"; + ui->exclusion->addItem(new QListWidgetItem(QString::fromStdString(entryShow))); + index++; + } +} + +std::vector<Filters_rules> Filters::getInclude() const +{ + return include; +} + +std::vector<Filters_rules> Filters::getExclude() const +{ + return exclude; +} + +void Filters::newLanguageLoaded() +{ + ui->retranslateUi(this); + reShowAll(); +} + +void Filters::updateFilters() +{ + std::vector<std::string> includeStrings,includeOptions,excludeStrings,excludeOptions; + unsigned int index=0; + while(index<(unsigned int)include.size()) + { + includeStrings.push_back(include.at(index).search_text); + std::vector<std::string> optionsToShow; + + switch(include.at(index).search_type) + { + case SearchType_rawText: + optionsToShow.push_back("SearchType_rawText"); + break; + case SearchType_simpleRegex: + optionsToShow.push_back("SearchType_simpleRegex"); + break; + case SearchType_perlRegex: + optionsToShow.push_back("SearchType_perlRegex"); + break; + default: + break; + } + switch(include.at(index).apply_on) + { + case ApplyOn_file: + optionsToShow.push_back("ApplyOn_file"); + break; + case ApplyOn_fileAndFolder: + optionsToShow.push_back("ApplyOn_fileAndFolder"); + break; + case ApplyOn_folder: + optionsToShow.push_back("ApplyOn_folder"); + break; + default: + break; + } + if(include.at(index).need_match_all) + optionsToShow.push_back(tr("Full match").toStdString()); + includeOptions.push_back(stringimplode(optionsToShow,";")); + index++; + } + index=0; + while(index<(unsigned int)exclude.size()) + { + excludeStrings.push_back(exclude.at(index).search_text); + std::vector<std::string> optionsToShow; + + switch(exclude.at(index).search_type) + { + case SearchType_rawText: + optionsToShow.push_back("SearchType_rawText"); + break; + case SearchType_simpleRegex: + optionsToShow.push_back("SearchType_simpleRegex"); + break; + case SearchType_perlRegex: + optionsToShow.push_back("SearchType_perlRegex"); + break; + default: + break; + } + switch(exclude.at(index).apply_on) + { + case ApplyOn_file: + optionsToShow.push_back("ApplyOn_file"); + break; + case ApplyOn_fileAndFolder: + optionsToShow.push_back("ApplyOn_fileAndFolder"); + break; + case ApplyOn_folder: + optionsToShow.push_back("ApplyOn_folder"); + break; + default: + break; + } + if(exclude.at(index).need_match_all) + optionsToShow.push_back(tr("Full match").toStdString()); + excludeOptions.push_back(stringimplode(optionsToShow,";")); + index++; + } + emit sendNewFilters(includeStrings,includeOptions,excludeStrings,excludeOptions); + emit haveNewFilters(); +} + +bool Filters::convertToRegex(Filters_rules &item) +{ + bool isValid=!item.search_text.empty(); + if(isValid) + { + std::regex regex; + std::string tempString; + if(item.search_type==SearchType_rawText) + { + tempString=QRegularExpression::escape(QString::fromStdString(item.search_text)).toStdString(); + if(tempString.find('/') != std::string::npos || tempString.find('\\') != std::string::npos) + isValid=false; + } + else if(item.search_type==SearchType_simpleRegex) + { + tempString=QRegularExpression::escape(QString::fromStdString(item.search_text)).toStdString(); + stringreplaceAll(tempString,"\\*","[^\\\\/]*"); + } + else if(item.search_type==SearchType_perlRegex) + { + tempString=item.search_text; + if(stringStartWith(tempString,'^') && stringEndsWith(tempString,'$')) + { + item.need_match_all=true; + if(stringStartWith(tempString,'^')) + tempString=tempString.substr(1,tempString.size()-1); + if(stringEndsWith(tempString,'$')) + tempString=tempString.substr(0,tempString.size()-1); + item.search_text=tempString; + } + } + if(isValid) + { + if(item.need_match_all==true) + tempString="^"+tempString+"$"; + regex=std::regex(tempString); + //isValid=regex.isValid(); + item.regex=regex; + return true; + } + else + return false; + } + return false; +} + +void Filters::on_remove_exclusion_clicked() +{ + bool removedEntry=false; + int index=0; + while(index<ui->exclusion->count()) + { + if(ui->exclusion->item(index)->isSelected()) + { + delete ui->exclusion->item(index); + exclude.erase(exclude.cbegin()+index); + removedEntry=true; + } + else + index++; + } + if(removedEntry) + { + reShowAll(); + updateFilters(); + } +} + +void Filters::on_remove_inclusion_clicked() +{ + bool removedEntry=false; + int index=0; + while(index<ui->inclusion->count()) + { + if(ui->inclusion->item(index)->isSelected()) + { + delete ui->inclusion->item(index); + include.erase(include.cbegin()+index); + removedEntry=true; + } + else + index++; + } + if(removedEntry) + { + reShowAll(); + updateFilters(); + } +} + +void Filters::on_add_exclusion_clicked() +{ + FilterRules dialog(this); + dialog.exec(); + if(dialog.getIsValid()) + { + Filters_rules new_item; + new_item.apply_on=dialog.get_apply_on(); + new_item.need_match_all=dialog.get_need_match_all(); + new_item.search_text=dialog.get_search_text(); + new_item.search_type=dialog.get_search_type(); + exclude.push_back(new_item); + reShowAll(); + updateFilters(); + } +} + +void Filters::on_buttonBox_clicked(QAbstractButton *button) +{ + if(ui->buttonBox->buttonRole(button)==QDialogButtonBox::RejectRole) + reject(); +} + +void Filters::on_add_inclusion_clicked() +{ + FilterRules dialog(this); + dialog.exec(); + if(dialog.getIsValid()) + { + Filters_rules new_item; + new_item.apply_on=dialog.get_apply_on(); + new_item.need_match_all=dialog.get_need_match_all(); + new_item.search_text=dialog.get_search_text(); + new_item.search_type=dialog.get_search_type(); + if(convertToRegex(new_item)) + include.push_back(new_item); + reShowAll(); + updateFilters(); + } +} + +void Filters::on_edit_exclusion_clicked() +{ + bool editedEntry=false; + int index=0; + while(index<ui->exclusion->count()) + { + if(ui->exclusion->item(index)->isSelected()) + { + FilterRules dialog(this); + dialog.set_apply_on(exclude.at(index).apply_on); + dialog.set_need_match_all(exclude.at(index).need_match_all); + dialog.set_search_text(exclude.at(index).search_text); + dialog.set_search_type(exclude.at(index).search_type); + dialog.exec(); + if(dialog.getIsValid()) + { + exclude[index].apply_on=dialog.get_apply_on(); + exclude[index].need_match_all=dialog.get_need_match_all(); + exclude[index].search_text=dialog.get_search_text(); + exclude[index].search_type=dialog.get_search_type(); + if(!convertToRegex(exclude[index])) + exclude.erase(exclude.cbegin()+index); + editedEntry=true; + } + } + index++; + } + if(editedEntry) + { + reShowAll(); + updateFilters(); + } +} + +void Filters::on_edit_inclusion_clicked() +{ + bool editedEntry=false; + int index=0; + while(index<ui->inclusion->count()) + { + if(ui->inclusion->item(index)->isSelected()) + { + FilterRules dialog(this); + dialog.set_apply_on(exclude.at(index).apply_on); + dialog.set_need_match_all(exclude.at(index).need_match_all); + dialog.set_search_text(exclude.at(index).search_text); + dialog.set_search_type(exclude.at(index).search_type); + dialog.exec(); + if(dialog.getIsValid()) + { + exclude[index].apply_on=dialog.get_apply_on(); + exclude[index].need_match_all=dialog.get_need_match_all(); + exclude[index].search_text=dialog.get_search_text(); + exclude[index].search_type=dialog.get_search_type(); + if(!convertToRegex(exclude[index])) + exclude.erase(exclude.cbegin()+index); + editedEntry=true; + } + } + index++; + } + if(editedEntry) + { + reShowAll(); + updateFilters(); + } +} diff --git a/plugins/CopyEngine/Ultracopier/Filters.h b/plugins/CopyEngine/Ultracopier/Filters.h new file mode 100644 index 0000000..6645afc --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Filters.h @@ -0,0 +1,45 @@ +#ifndef FILTERS_H +#define FILTERS_H + +#include <QDialog> +#include <QStringList> + +#include "FilterRules.h" +#include "StructEnumDefinition_CopyEngine.h" + +namespace Ui { +class Filters; +} + +/** To add/edit one filter rules */ +class Filters : public QDialog +{ + Q_OBJECT +public: + explicit Filters(QWidget *parent = 0); + ~Filters(); + void setFilters(std::vector<std::string> includeStrings, std::vector<std::string> includeOptions, std::vector<std::string> excludeStrings, std::vector<std::string> excludeOptions); + void reShowAll(); + std::vector<Filters_rules> getInclude() const; + std::vector<Filters_rules> getExclude() const; + void newLanguageLoaded(); +private: + Ui::Filters *ui; + std::vector<Filters_rules> include; + std::vector<Filters_rules> exclude; + void updateFilters(); + bool convertToRegex(Filters_rules &item); +signals: + void sendNewFilters(const std::vector<std::string> &includeStrings,const std::vector<std::string> &includeOptions,const std::vector<std::string> &excludeStrings,const std::vector<std::string> &excludeOptions) const; + void haveNewFilters() const; +private slots: + void on_remove_exclusion_clicked(); + void on_remove_inclusion_clicked(); + void on_add_exclusion_clicked(); + void on_buttonBox_clicked(QAbstractButton *button); + void on_add_inclusion_clicked(); + void on_edit_exclusion_clicked(); + void on_edit_inclusion_clicked(); +}; + +#endif // FILTERS_H diff --git a/plugins/CopyEngine/Ultracopier/Filters.ui b/plugins/CopyEngine/Ultracopier/Filters.ui new file mode 100644 index 0000000..33822af --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Filters.ui @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>Filters</class> + <widget class="QDialog" name="Filters"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>507</width> + <height>502</height> + </rect> + </property> + <property name="windowTitle"> + <string>Filters</string> + </property> + <property name="windowIcon"> + <iconset resource="resources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/filter.png</normaloff>:/CopyEngine/Ultracopier/resources/filter.png</iconset> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>1</number> + </property> + <property name="margin"> + <number>1</number> + </property> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Exclusion filters</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <property name="spacing"> + <number>1</number> + </property> + <property name="margin"> + <number>2</number> + </property> + <item> + <widget class="QListWidget" name="exclusion"> + <property name="selectionMode"> + <enum>QAbstractItemView::MultiSelection</enum> + </property> + </widget> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QToolButton" name="add_exclusion"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/add.png</normaloff>:/CopyEngine/Ultracopier/resources/add.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="edit_exclusion"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/edit.png</normaloff>:/CopyEngine/Ultracopier/resources/edit.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="remove_exclusion"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/remove.png</normaloff>:/CopyEngine/Ultracopier/resources/remove.png</iconset> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string>Inclusion filters</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <property name="spacing"> + <number>1</number> + </property> + <property name="margin"> + <number>2</number> + </property> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>None = Include all</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QListWidget" name="inclusion"> + <property name="selectionMode"> + <enum>QAbstractItemView::MultiSelection</enum> + </property> + </widget> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QToolButton" name="add_inclusion"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/add.png</normaloff>:/CopyEngine/Ultracopier/resources/add.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="edit_inclusion"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/edit.png</normaloff>:/CopyEngine/Ultracopier/resources/edit.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="remove_inclusion"> + <property name="icon"> + <iconset resource="resources.qrc"> + <normaloff>:/CopyEngine/Ultracopier/resources/remove.png</normaloff>:/CopyEngine/Ultracopier/resources/remove.png</iconset> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel</set> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources> + <include location="resources.qrc"/> + </resources> + <connections/> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp new file mode 100644 index 0000000..d05a715 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.cpp @@ -0,0 +1,205 @@ +#include "FolderExistsDialog.h" +#include "ui_folderExistsDialog.h" +#include "TransferThread.h" + +#ifdef Q_OS_WIN32 +#define CURRENTSEPARATOR "\\" +#else +#define CURRENTSEPARATOR "/" +#endif + +#include <QMessageBox> +#include <QFileInfo> +#include <QMessageBox> + +FolderExistsDialog::FolderExistsDialog(QWidget *parent, QFileInfo source, bool isSame, QFileInfo destination, std::string firstRenamingRule, std::string otherRenamingRule) : + QDialog(parent), + ui(new Ui::folderExistsDialog) +{ + Qt::WindowFlags flags = windowFlags(); + #ifdef Q_OS_LINUX + flags=flags & ~Qt::X11BypassWindowManagerHint; + #endif + flags=flags | Qt::WindowStaysOnTopHint; + setWindowFlags(flags); + + ui->setupUi(this); + action=FolderExists_Cancel; + oldName=TransferThread::resolvedName(destination); + ui->lineEditNewName->setText(QString::fromStdString(oldName)); + ui->lineEditNewName->setPlaceholderText(QString::fromStdString(oldName)); + ui->label_content_source_modified->setText(source.lastModified().toString()); + ui->label_content_source_folder_name->setText(source.fileName()); + QString folder=source.absolutePath(); + if(folder.size()>80) + folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38); + ui->label_content_source_folder->setText(folder); + if(ui->label_content_source_folder_name->text().isEmpty()) + { + ui->label_source_folder_name->hide(); + ui->label_content_source_folder_name->hide(); + } + if(isSame) + { + this->destinationInfo=source; + ui->label_source->hide(); + ui->label_destination->hide(); + ui->label_destination_modified->hide(); + ui->label_destination_folder_name->hide(); + ui->label_destination_folder->hide(); + ui->label_content_destination_modified->hide(); + ui->label_content_destination_folder_name->hide(); + ui->label_content_destination_folder->hide(); + } + else + { + this->destinationInfo=destination; + this->setWindowTitle(tr("Folder already exists")); + ui->label_content_destination_modified->setText(destination.lastModified().toString()); + ui->label_content_destination_folder_name->setText(destination.fileName()); + QString folder=destination.absolutePath(); + if(folder.size()>80) + folder=folder.mid(0,38)+"..."+folder.mid(folder.size()-38); + ui->label_content_destination_folder->setText(folder); + if(ui->label_content_destination_folder_name->text().isEmpty()) + { + ui->label_destination_folder_name->hide(); + ui->label_content_destination_folder_name->hide(); + } + } + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; + on_SuggestNewName_clicked(); +} + +FolderExistsDialog::~FolderExistsDialog() +{ + delete ui; +} + +void FolderExistsDialog::changeEvent(QEvent *e) +{ + QDialog::changeEvent(e); + switch (e->type()) { + case QEvent::LanguageChange: + ui->retranslateUi(this); + break; + default: + break; + } +} + +std::string FolderExistsDialog::getNewName() +{ + if(oldName==ui->lineEditNewName->text().toStdString() || ui->checkBoxAlways->isChecked()) + return ""; + else + return ui->lineEditNewName->text().toStdString(); +} + +void FolderExistsDialog::on_SuggestNewName_clicked() +{ + QFileInfo destinationInfo=this->destinationInfo; + QString absolutePath=destinationInfo.absolutePath(); + QString fileName=QString::fromStdString(TransferThread::resolvedName(destinationInfo)); + QString suffix; + QString destination; + QString newFileName; + //resolv the suffix + if(fileName.contains(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")))) + { + suffix=fileName; + suffix.replace(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")),QStringLiteral("\\2")); + fileName.replace(QRegularExpression(QStringLiteral("^(.*)(\\.[a-z0-9]+)$")),QStringLiteral("\\1")); + } + //resolv the new name + int num=1; + do + { + if(num==1) + { + if(firstRenamingRule.empty()) + newFileName=tr("%1 - copy").arg(fileName); + else + { + newFileName=QString::fromStdString(firstRenamingRule); + newFileName.replace(QStringLiteral("%name%"),fileName); + } + } + else + { + if(otherRenamingRule.empty()) + newFileName=tr("%1 - copy (%2)").arg(fileName).arg(num); + else + { + newFileName=QString::fromStdString(otherRenamingRule); + newFileName.replace(QStringLiteral("%name%"),fileName); + newFileName.replace(QStringLiteral("%number%"),QString::number(num)); + } + } + destination=absolutePath+CURRENTSEPARATOR+newFileName+suffix; + destinationInfo.setFile(destination); + num++; + } + while(destinationInfo.exists()); + ui->lineEditNewName->setText(newFileName+suffix); +} + +void FolderExistsDialog::on_Rename_clicked() +{ + action=FolderExists_Rename; + this->close(); +} + +void FolderExistsDialog::on_Skip_clicked() +{ + action=FolderExists_Skip; + this->close(); +} + +void FolderExistsDialog::on_Cancel_clicked() +{ + action=FolderExists_Cancel; + this->close(); +} + +FolderExistsAction FolderExistsDialog::getAction() +{ + return action; +} + +bool FolderExistsDialog::getAlways() +{ + return ui->checkBoxAlways->isChecked(); +} + +void FolderExistsDialog::on_Merge_clicked() +{ + action=FolderExists_Merge; + this->close(); +} + +void FolderExistsDialog::on_lineEditNewName_editingFinished() +{ + updateRenameButton(); +} + +void FolderExistsDialog::on_lineEditNewName_returnPressed() +{ + updateRenameButton(); + if(ui->Rename->isEnabled()) + on_Rename_clicked(); + else + QMessageBox::warning(this,tr("Error"),tr("Try rename with using special characters")); +} + +void FolderExistsDialog::on_lineEditNewName_textChanged(const std::string &arg1) +{ + Q_UNUSED(arg1); + updateRenameButton(); +} + +void FolderExistsDialog::updateRenameButton() +{ + ui->Rename->setEnabled(ui->checkBoxAlways->isChecked() || (!ui->lineEditNewName->text().contains(QRegularExpression("[/\\\\\\*]")) && oldName!=ui->lineEditNewName->text().toStdString() && !ui->lineEditNewName->text().isEmpty())); +} diff --git a/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h new file mode 100644 index 0000000..a3bcf67 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/FolderExistsDialog.h @@ -0,0 +1,57 @@ +/** \file folderExistsDialog.h +\brief Define the dialog when file exists +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef FOLDERISSAMEDIALOG_H +#define FOLDERISSAMEDIALOG_H + +#include <QDialog> +#include <QFileInfo> +#include <QString> +#include <QDateTime> +#include <QDir> + +#include "Environment.h" + +namespace Ui { + class folderExistsDialog; +} + +/// \brief to show file exists dialog, and ask what do +class FolderExistsDialog : public QDialog +{ + Q_OBJECT + +public: + /// \brief create the object and pass all the informations to it + explicit FolderExistsDialog(QWidget *parent,QFileInfo source,bool isSame,QFileInfo destination,std::string firstRenamingRule,std::string otherRenamingRule); + ~FolderExistsDialog(); + /// \brief return the the always checkbox is checked + bool getAlways(); + /// \brief return the action clicked + FolderExistsAction getAction(); + /// \brief return the new rename is case in manual renaming + std::string getNewName(); +protected: + void changeEvent(QEvent *e); +private slots: + void updateRenameButton(); + void on_SuggestNewName_clicked(); + void on_Rename_clicked(); + void on_Skip_clicked(); + void on_Cancel_clicked(); + void on_Merge_clicked(); + void on_lineEditNewName_editingFinished(); + void on_lineEditNewName_returnPressed(); + void on_lineEditNewName_textChanged(const std::string &arg1); +private: + Ui::folderExistsDialog *ui; + FolderExistsAction action; + std::string oldName; + std::string firstRenamingRule; + std::string otherRenamingRule; + QFileInfo destinationInfo; +}; + +#endif // FOLDERISSAMEDIALOG_H diff --git a/plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/ar/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/de/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/de/translation.ts new file mode 100644 index 0000000..cad2890 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/de/translation.ts @@ -0,0 +1,1290 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="de" sourcelanguage="en"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation>Auf dieser Plattform nicht unterstützt</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation>Datum der letzten Änderung ist falsch</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translatorcomment> </translatorcomment> + <translation>Datum des letzten Zugriffs ist falsch</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation>Unbekannter Fehler: %1</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation>Unbekannter Fehler</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation>Pfad Konvertierungsfehler</translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation>Verschiebemodus - Sie können nicht kopieren</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation>Kopiermodus - Sie können nicht verschieben</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation>Ziel</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation>Aktuelles Ziel: "%1" benutzen?</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation>Der Modus wurde vorher erzwungen. Interner Fehler - Bitte bei mir melden! </translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation>Fragen</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation>Überspringen</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation>Fusionieren</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation>Umbenennen</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation>Ans Ende verschieben</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation>Überschreiben</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation>Überschreiben, falls verschieden</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation>Überschreiben, falls neuer</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation>Überschreiben, falls älter</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation>Automatisch</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation>Sequentiell</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation>Parallel</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation>Fehlerhafte Optionen</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>Optionen nicht geladen - Kein Zugriff auf Filter</translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation>Fragen</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation>Überspringen</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation>Fusionieren</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation>Umbenennen</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation>Ans Ende verschieben</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation>Überschreiben</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation>Überschreiben, falls verschieden</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation>Überschreiben, falls neuer</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation>Überschreiben, falls älter</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation>Automatisch</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation>Sequentiell</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation>Parallel</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation>Fehlerhafte Optionen</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>Option nicht geladen - Kein Zugriff auf Filter</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation>Option nicht geladen - Kann nicht auf Filter zugreifen</translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation>Speicherplatz</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation>Zu wenig Speicherplatz auf diesem Laufwerk</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation>Fortsetzen</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation>Abbrechen</translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation>Laufwerk %1: %2 verfügbar %3 benötigt</translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation>Ordnerfehler</translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation>Ordnername</translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation>%1 - Kopie</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation>%1 - Kopie (%2)</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation>Versuche Umbenennung mit Sonderzeichen</translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation>%1 - kopieren</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation>%1 - kopieren (%2)</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation>Versuche Umbenennung mit Sonderzeichen</translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation>Suche:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation>Suche (Typ):</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation>Roh-Text</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation>Vereinfachte RegEx</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation>Perls RegEx</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation>Anwenden auf:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation>Datei</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation>Ordner</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation>Datei und Ordner</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation>Die Test-Zeichenfolge stimmt mit RegEx überein</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation>Überprüfen</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation>Test-Zeichenfolge:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation>Filter-Dialog</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation>Ganze Zeichenfolge muss übereinstimmen</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation>Die RegEx ist gültig</translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation>Filter</translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation>Ausschließungs-Filter</translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation>Einschließungs-Filter</translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation>Keiner = Alle einschließen</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation>Roh-Text</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation>Vereinfachte RegEx</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation>Perls RegEx</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation>Nur auf Datei</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation>Nur auf Ordner</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation>Volle Übereinstimmung</translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation>Ordner existiert bereits</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation>%1 - Kopie</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation>%1 - Kopie (%2)</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation>Versuche Umbenennung mit Sonderzeichen</translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation>Falscher Modus: %1 - Kann Element nicht verschieben oder kopieren</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation>Konnte die Transferliste: %1 nicht speichern</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation>Lesefehler, oder Dateigröße=0</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation>Falscher Header: "%1"</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation>Die Transferliste ist im gemischten Modus, aber diese Instanz ist nicht im selben Modus</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation>Die Transferliste ist im Kopiermodus, aber diese Instanz ist nicht im selben Modus</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation>Die Transferliste ist im Verschiebe-Modus, aber diese Instanz ist nicht im selben Modus</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation>Bei der Zeilenanalyse sind Fehler aufgetreten</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation>Transferliste: %1 kann nicht geöffnet werden</translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation>Der Ordner kann nicht erstellt werden</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation>Quell-Ordner existiert nicht</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation>Kann den Ordner nicht temporär umbenennen</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation>Kann den Ordner nicht endgültig verschieben</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation>Kann den Ordner nicht verschieben</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation>Kann nicht löschen</translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation>Interner Fehler - Bitte bei mir melden!</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation>Interner Fehler beim Lesen der Quelldatei: Blockgröße außerhalb des zulässigen Bereichs</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation>Die Quelldatei kann nicht gelesen werden: </translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation>Datei während des Lesevorgangs abgeschnitten, Daten wurden möglicherweise verändert</translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation>Erste Umbenennung</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation>%name% - Kopie</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation><html><head/><body><p>Variablen: <span style=" font-weight:600;">%name%</span> für den ursprünglichen Dateinamen</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation>Zweite Umbenennung</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation>%name% - Kopie (%number%)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation><html><head/><body><p>Variablen: <span style=" font-weight:600;">%name%</span> für den ursprünglichen Dateinamen</p><p><span style=" font-weight:600;">%number%</span> für die zusätzliche Zahl</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation>%1 - Kopie</translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation>%1 - Kopie (%2)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation>Umbennungsregeln</translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation>Ordner der schwarzen Liste</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation>%1 - Kopie</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation>%1 - Kopie (%2)</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation>Dies ist kein Ordner</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation>Ordner existiert bereits</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation>Der Ordner kann nicht gelesen werden</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation>Problem mit der Namen-Encodierung</translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation>Datei nicht gefunden</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished">Interner Fehler: Bereits geöffnet</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished">Laufwerk %1</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished">Unbekannter Ordner</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished">Stammverzeichnis</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - Kopie</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - Kopie (%2)</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished">Quelle existiert nicht</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished">Quelldatei existiert nicht</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished">Prüfsummen sind verschieden</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished">Interner Fehler: Ubertragene Größe ungleich</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished">Ordner kann nicht erstellt werden</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation>Versuche Umbenennung mit Sonderzeichen</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished">Andere Datei befindet sich am selben Ort</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished">Interner Fehler: Ziel ist nicht geschlossen</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished">Interner Fehler: Puffer ist nicht leer</translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation>Pfad-Auflösungsfehler (leerer Pfad)</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation>Interner Fehler - Bitte bei mir melden!</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation>Quelldatei kann nicht gelesen werden: </translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation>Datenabbruch beim Lesen, Daten wurden möglicherweise verändert</translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation>Übertragung</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation>Verschiebe den ganzen Ordner</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation>Übertrage die Dateirechte</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation>Datum der Dateien beibehalten</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation>Übertragung automatisch starten</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation>Leistung drosseln</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation>Genau nach Reihenfolge</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation>Fehler und Kollision</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation>Bei Ordnerfehlern:</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation>Bei Dateifehlern:</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation>Bei Dateikollisionen:</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation>Bei Ordnerkollisionen:</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation>Prüfen ob Zielordner vorhanden ist</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation>Umbennungsregeln</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation>Unvollständig übertragene Dateien löschen</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation>Original-Ziel umbenennen</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation>Überprüfung</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation>Prüfsumme</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation>Nur nach einem Fehler</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation>Ignorieren falls unmöglich</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation>Prüfsummen vergleichen</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation>Leistung</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation>Paralleler Puffer</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation>Blockgröße</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation>Sequentieller Puffer</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation>OS-Puffer aktivieren</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation>OS-Puffer nur verwenden, wenn kleiner als</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation>Übertragungs-Algorithmus</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation>Parallelisieren wenn kleiner als</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation>Inode Threads</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation>Verschiedenes</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation>Auf freien Speicherplatz überprüfen</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation>Wählen</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation>Filter</translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation>Dateifehler</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation>Größe</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation>Geändert</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation>Dateiname</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation>Ziel</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation>Ordner</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation>&Aktion immer ausführen</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation>Mit erweiterten Rechten versuchen</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation>Ans Ende verschieben</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation>Wiederholen</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation>Über&springen</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation>Abbrechen (&C)</translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation>Die Datei existiert</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Quelle</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Ziel</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation>Größe</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation>Geändert</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation>Dateiname</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation>Ordner</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation>Neuen &Namen vorschlagen</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation>&Aktion immer ausführen</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation>Überschreiben, falls Änderungsdatum verschieden</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation>Umbenennen (&R)</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation>Überschreiben (&O)</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation>Über&springen</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation>Abbrechen (&C)</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation>Überschreiben, falls neuer</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation>Überschreiben, falls älter</translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation>Größe</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation>Geändert</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation>Dateiname</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation>Quelle und Ziel sind gleich</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation>Ordner</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation>Neuen &Namen vorschlagen</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation>&Aktion immer ausführen</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation>Umbenennen (&R)</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation>Über&springen</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation>Abbrechen (&C)</translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Quelle</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Ziel</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation>Quelle und Ziel sind identisch</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation>Geändert</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation>Ordnername</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation>Ordner</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation>Neuen &Namen vorschlagen</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation>&Aktion immer ausführen</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation>Umbenennen (&R)</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation>Fusionieren</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation>Überspringen</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation>Abbrechen (&C)</translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/el/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/el/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/el/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/en/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/en/translation.ts new file mode 100644 index 0000000..2c9ce27 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/en/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="en"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/es/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/es/translation.ts new file mode 100644 index 0000000..9cb6abe --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/es/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="es" sourcelanguage="en"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation>No es compatible con esta plataforma</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation>Fecha de última modificación es incorrecto</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation>Fecha de último acceso es incorrecto</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation>Error desconocido: %1</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation>Error desconocido</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation>Error de conversión de Sendero</translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation>El motor se ve obligado a moverse, no se puede copiar con ella</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation>El motor se ve obligado a copiar, no te puedes mover con él</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation>Destino</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation>Utilice el destino "%1" actual?</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation>El modo se ha visto obligado previamente. Este es un error interno, por favor repórtelo</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation>Pedir</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation>Omitir</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation>Unir</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation>Cambiar el nombre</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation>Ponga al final</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation>Sobrescribir</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation>Sobrescribir si es diferente</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation>Sobrescribir si nuevo</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation>Sobrescribir si es mayor</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation>Automático</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation>Secuencial</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation>Paralelo</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation>error Opciones</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>Opciones del motor no está cargado. No es posible acceder a los filtros</translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation>Pedir</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation>Omitir</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation>Unir</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation>Cambiar el nombre</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation>Ponga al final</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation>Sobrescribir</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation>Sobrescribir si es diferente</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation>Sobrescribir si nuevo</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation>Sobrescribir si es mayor</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation>Automático</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation>Secuencial</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation>Paralelo</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation>error Opciones</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>Opciones del motor no está cargado. No es posible acceder a los filtros</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation>Opciones del motor no está cargado, no se puede acceder a los filtros</translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation>Espacio en disco</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation>Necesita más espacio en esta unidad para terminar esta transferencia</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation>Continuar</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation>Cancelar</translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation>Drives %1 tienen %2 disponible, pero necesitan %3</translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation>Error en la carpeta</translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation>Nombre de la carpeta</translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation>Buscar:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation>Tipo de búsqueda:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation>texto Fuente</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation>Regex simplificado</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation>Perl's regex</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation>Aplicar sobre:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation>Archivos</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation>Carpeta</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation>Archivos y carpeta</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation>La cadena de prueba coincide con la expresión regular</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation>Verification</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation>Prueba de la cuerda:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation>Filtros de diálogo</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation>Todo cadena debe coincidir</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation>La expresión regular es válido</translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation>Filtros</translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation>Filtros de exclusión</translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation>Filtros de inclusión</translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation>Ninguno = Incluya todos los</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation>texto Fuente</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation>Simplificado regex</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation>Perl's regex</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation>Sólo en el archivo</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation>Sólo en la carpeta</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation>Partido completo</translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation>Carpeta ya existe</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation>No se puede hacer para mover o copiar elemento en modo incorrecto obligado: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation>No se puede guardar la lista de transferencias: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation>Problema al leer el archivo o archivos de tamaño es 0</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation>Encabezado incorrecto: "%1"</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation>La lista de transferencia está en modo mixto, pero este caso no es de este modo</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation>La lista de transferencia está en el modo de copia, pero esta instancia no está en este modo</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation>La lista de transferencia es el modo de desplazamiento, pero esta instancia no está en este modo</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation>Algunos errores han sido encontrados durante el análisis de línea</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation>No se puede abrir la lista de transferencias: %1</translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation>No se puede crear la carpeta</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation>La carpeta de origen no existe</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation>No es posible cambiar el nombre de la carpeta temporal</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation>No se puede hacer el movimiento final real de la carpeta</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation>No se puede mover la carpeta</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation>No se puede eliminar</translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation>Error interno, por favor informe de ello!</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation>Error interno de leer el archivo de origen: tamaño de bloque fuera de rango</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation>No se puede leer el archivo de origen: </translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation>Archivo truncada durante el cambio de lectura, los datos posibles</translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation>En primer lugar el cambio de nombre</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation>%name% - copia</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> para el nombre del archivo original</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation>En segundo lugar el cambio de nombre</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation>%name% - copia (%number%)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> para el nombre del archivo original</p><p><span style=" font-weight:600;">%number%</span> para el número adicional</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation>Reglas de Cambio de nombre</translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation>Carpeta de la lista negra</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation>Esto no es una carpeta</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation>La carpeta no existe</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation>La carpeta no se puede leer</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation>Problema con codificación de nombres</translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation>Archivo no encontrado</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished">Error interno: Ya la apertura</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished">Drive %1</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished">Desconocido carpeta</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished">raíz</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - copia</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished">La fuente no existe</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished">El archivo de origen no existe</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished">Las sumas de comprobación no coinciden</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished">Error interno: El tamaño transferido no coincide</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished">Incapaz de hacer la carpeta</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation>Trate de cambiar el nombre con el uso de caracteres especiales</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished">Otro archivo existe en el mismo lugar</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished">Error interno: El destino no está cerrado</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished">Error interno: El buffer no está vacío</translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation>Error de resolución de ruta (camino vacío)</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation>Error interno, por favor informe de ello!</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation>No se puede leer el archivo de origen: </translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation>Archivo truncado durante lectura, posible cambio de datos</translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation>Transferencia</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation>Mueva la carpeta completa</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation>Transferencia de los derechos de archivo</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation>Mantener la fecha de archivo</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation>Inicio automático de la transferencia</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation>Si comprueba Menos rendimiento</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation>Siga el orden estricto</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation>Error y de la colisión</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation>Cuando el error carpeta</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation>Cuando archivo error</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation>Cuando archivo colisión</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation>Cuando la colisión carpeta</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation>Compruebe si existe la carpeta de destino</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation>Reglas de Cambio de nombre</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation>Eliminar archivos parcialmente transferidos</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation>Cambie el nombre del destino original</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation>Controlar</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation>Suma de comprobación</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation>Sólo después de un error</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation>No haga caso si no es posible</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation>Verifique checksums</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation>Rendimiento</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation>Búfer paralelo</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation>Tamaño del bloque</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation>Tampón secuencial</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation>Habilitar el OS de amortiguación</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation>OS de amortiguación sólo si menor que</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation>Algoritmo de transferencia</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation>Paralelice si más pequeño que</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation>Temas inodo</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation>Misc</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation>Compruebe el espacio en disco</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation>Busque</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation>Filtros</translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation>Error con el archivo</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation>Tamaño</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation>Modificado</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation>Nombre de archivo</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation>Destino</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation>Carpeta</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation>&Siempre realice esta acción</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation>Pruebe con privilegios elevados</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation>Ponga a abajo</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation>Reintentar</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation>&Omitir</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation>Cancelar</translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation>El archivo ya existe</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Fuente</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Destino</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation>Tamaño</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation>Modificado</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation>Nombre de archivo</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation>Carpeta</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation>Sugerir nuevo &nombre</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation>&Siempre realice esta acción</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation>Sobrescribir si la fecha de modificación difiere</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation>&Cambiar el nombre</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation>&Sobrescribir</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation>&Omitir</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation>Ca&ncelar</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation>Sobrescribir si nuevo</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation>Sobrescribir si es mayor</translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation>Tamaño</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation>Modificado</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation>Nombre de archivo</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation>El origen y el destino son los mismos</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation>Carpeta</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation>Sugerir nuevo nombre</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation>&Siempre realice esta acción</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation>Cambiar el nombre</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation>Omitir</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation>Cancelar</translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Fuente</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Destino</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation>La fuente y el destino es idéntica</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation>Modificado</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation>Nombre de la carpeta</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation>Carpeta</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation>Sugerir nuevo nombre</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation>&Siempre realice esta acción</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation>Cambiar el nombre</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation>Unir</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation>Omitir</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation>Cancelar</translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts new file mode 100644 index 0000000..13ac433 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/fr/translation.ts @@ -0,0 +1,1294 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr" sourcelanguage="en"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation>Non supporté sur cette plateforme</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation>Date de dernière modification du fichier incorrecte</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation>Date du dernier accès au fichier incorrecte</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation>Erreur inconnue: %1</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation>Erreur inconnue</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation>Erreur de conversion de chemain</translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation>Le moteur est forcé en déplacement, vous ne pouvez pas copier avec</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation>Le moteur est forcé en copie, vous ne pouvez pas déplacer avec</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation>Destination</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation>Utiliser la destination actuelle "%1"?</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation>Le mode a été forcé. C'est une erreur interne, merci de la repporter</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation>Demander</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation>Passer</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation>Fusionner</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation>Renommer</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation>Mettre à la fin</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation>Écraser</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation>Écraser si différent</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation>Écraser si plus récent</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation>Écraser si plus vieux</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation>Automatique</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation>Séquentiel</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation>Parallèle</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation>Erreur d'options</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>Le moteur d'options n'est pas chargé. Impossible d'accédé aux filtres</translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation>Demander</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation>Passer</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation>Fusionner</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation>Renommer</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation>Mettre à la fin</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation>Écraser</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation>Écraser si différent</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation>Écraser si plus récent</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation>Écraser si plus vieux</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation>Automatique</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation>Séquentiel</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation>Parallèle</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation>Erreur d'options</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>Le moteur d'options n'est pas chargé. Impossible d'accédé aux filtres</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation>Moteur d'options non chargé, impossible d'accéder aux filtres</translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation>Espace disque</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation>Vous avez besoin de plus d'espace pour finir ce transfert</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation>Continuer</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation>Annuler</translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation>Lecteur %1 as %2 disponible mais à besoin de %3</translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation>Erreur sur un dossier</translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation>Nom de répertoire</translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation>%1 - copie</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copie (%2)</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation>Essaie de renommage avec caratéres interdits</translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation>%1 - copie</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copie (%2)</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation>Essaie de renommage avec caratéres interdits</translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation>Recherche:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation>Type de recherche:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation>Texte brut</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation>Regex simplifiée</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation>Regex perl</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation>Appliquer sur:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation>Fichier</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation>Dossier</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation>Fichier et dossier</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation>La chaine de texte corresponds avec la regex</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation>Vérification</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation>Chaine de test:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation>Dialogue des filtres</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation>Toute la chaine doit correspondre</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation>La regex est valid</translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation>Filtres</translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation>Filtres d'exclusion</translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation>Filtres d'inclusion</translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation>Aucun = tout inclure</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation>Texte brute</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation>Regex simplifié</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation>Regex perl</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation>Appliquer sur fichier</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation>Appliquer sur dossier</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation>Correspondance totale</translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation>Dossier déjà existant</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation>%1 - copie</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copie (%2)</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation>Essaie de renommage avec caratéres interdits</translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation>Impossible de faire un déplacement ou une copie dans le mauvais mode forcé: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation>Impossible de sauvegarder la liste de transfert: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation>Problem durant la lecture, ou taille de fichier est 0</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation>Mauvais en-tête: "%1"</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation>La liste de transfert est en mode mixte, mais l'instance n'est pas dans ce mode</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation>La liste de transfert est en mode copie, mais l'instance n'est pas dans ce mode</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation>La liste de transfert est en mode déplacement, mais l'instance n'est pas dans ce mode</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation>Certaine erreur ont été trouvé durant l'analise de la line</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation>Impossible d'ouvrir la list de transfert: %1</translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation>Impossible de créer le répertoire</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation>Le dossier source n'éxiste pas</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation>Impossible de renommer le dossier</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation>Impossible de faire le déplacement final du dossier</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation>Impossible de déplacer le dossier</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation>Impossible de supprimer</translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation>Erreur interne, merci de la reporter!</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation>Erreur interne lisant le fichier source: taille de block hors de la plage</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation>Impossible de lire le fichier source: </translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translatorcomment>La taille du fichier a diminué durant -> changé le texte original</translatorcomment> + <translation>Fichier a diminué durant la lecture, possible changement de données</translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation>Premier renommage</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translatorcomment>variables need never be translated</translatorcomment> + <translation>%name% - copie</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translatorcomment>variables need never be translated</translatorcomment> + <translation><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> pour le nom originel</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation>Second renommage</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translatorcomment>variables need never be translated</translatorcomment> + <translation>%name% - copie (%number%)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translatorcomment>variables need never be translated</translatorcomment> + <translation><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> pour le nom originel</p><p><span style=" font-weight:600;">%number%</span> pour le nombre extra</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation>%1 - copie</translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copie (%2)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation>Règles de renommage</translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation>Dossier banis</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation>%1 - copie</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copie (%2)</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation>N'est pas un dossier</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation>Le répertoire n'existe pas</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation>Le répertoire n'est pas lisible</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation>Problém d'encodage</translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation>Fichier non trouvé</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation>Lecteur %1</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation>Dossier inconnu</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation>racine</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation>%1 - copie</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copie (%2)</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation>La source n'existe pas</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation>Le fichier source n'existe pas</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation>Les sommes de controle ne correspondent pas</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation>Erreur interne: La taille transféré ne corresponds pas</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation>Impossible de créer le dossier</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation>Essaie de renommage avec caratéres interdits</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation>Mauvaise date de modification ou impossible de l'avoir, vous pouvez désactivé le transfert de celui-ci</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation>Erreur interne: Déjà ouvert</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation>Un autre fichier exists à la même place</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation>Erreur interne: La destination n'est pas fermé</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation>Erreur interne: Le buffer n'est pas vide</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation>Impossible de changer la date</translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation>Erreur de résolution de chemain (chemain vide)</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation>Erreur interne, merci de la reporter!</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation>Impossible de lire le fichier source: </translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation>Fichier rétréci pendant la lecture, possible changement de données</translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation>Transfert</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation>Déplacer le dossier complet</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation>Transférer les droits des fichiers</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation>Garder la date du fichier</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation>Démarrer automatiquement le transfert</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation>Moins de performance si coché</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation>Suivre l'ordre strict</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation>Erreur et collision</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation>En cas d'erreur de répertoire</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation>En cas d'erreur de fichier</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation>En cas de collision de fichier</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation>Lors d'une collision de dossier</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation>Vérifier si le répertoire de destination existe</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation>Règles de renommage</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation>Supprimer les transferts partiels</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation>Renommer la destination originale</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation>Controle</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation>Somme de contrôle</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation>Seulement après erreur</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation>Ignorer si impossible</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation>Vérifier les sommes de contrôles</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation>Performance</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation>Buffer paralléle</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation>Ko</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation>Taille de bloc</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation>Buffer séquentiel</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation>Activer le tampon de l'OS</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation>Tampon de l'OS seulement si plus petit que</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation>Algorithme de transfert</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation>Parallèlise si plus petit que</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation>Thread d'inode</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation>Plus de cpu mais meilleur organisation sur le disque</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation>Ordonner la liste</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation>Divers</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation>Vérifier l'espace disque</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation>Utiliser ce dossier quand la destination n'est pas défini</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation>Parcourir</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation>Filtres</translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation>Erreur avec un fichier</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation>Taille</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation>Modifié</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation>Nom de fichier</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation>Destination</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation>Dossier</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation>&Toujours faire cette action</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation>Essayer avec des priviléges suppérieurs</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation>Mettre à la fin</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation>Réessayer</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation>&Passer</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation>&Annuler</translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation>Le fichier existe</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Source</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Destination</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation>Taille</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation>Modifié</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation>Nom de fichier</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation>Dossier</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation>Suggérer un &nouveau nom</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation>&Toujours faire cette action</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation>Écraser si les dates différes</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation>&Renommer</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation>&Écraser</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation>&Passer</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation>&Annuler</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation>Écraser si plus récent</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation>Écraser si plus vieux</translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation>Taille</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation>Modifié</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation>Nom de fichier</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation>La source et la destination sont identique</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation>Dossier</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation>Suggérer un &nouveau nom</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation>&Toujours faire cette action</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation>&Renommer</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation>&Passer</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation>&Annuler</translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Source</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Destination</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation>La source et la destination sont identique</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation>Modifié</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation>Nom de répertoire</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation>Dossier</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation>Suggérer un &nouveau nom</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation>&Toujours faire cette action</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation>&Renommer</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation>Fusionner</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation>Passer</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation>&Annuler</translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/hi/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts new file mode 100644 index 0000000..eaa968d --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/hu/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="hu"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation>Nem támogatott ezen a platformon</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation>A módosítás utolsó dátuma hibás</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation>A hozzáférés utolsó dátuma hibása</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation>Ismeretlen hiba: %1</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation>Útvonal konvertálási hiba</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation>Ismeretlen hiba</translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation>A motort mozgatásra kényszerítik, nem másolhatsz vele</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation>A motort másolásra kényszerítik, nem mozgathatsz vele</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation>Cél</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation>Használja a jelenlegi célt: "%1"?</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation>Ezt a módot már korábban kényszerítették. Belső hiba történt, kérlek jelentsd be</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation>Kérdezzen rá</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation>Kihagy</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation>Összeolvaszt</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation>Nevezze át</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation>Helyezze a végére</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation>Felülír</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation>Felülír, ha különbözik</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation>Felülír, ha újabb</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation>Felülír, ha régebbi</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation>Automatikus</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation>Szekvenciális</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation>Párhuzamos</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation>Beállítási hiba</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>A beállítási motor nincs betöltve. A szűrők elérése nem lehetséges</translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation>Kérdezzen rá</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation>Kihagy</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation>Összeolvaszt</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation>Nevezze át</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation>Helyezze a végére</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation>Felülír</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation>Felülír, ha különbözik</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation>Felülír, ha újabb</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation>Felülír, ha régebbi</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation>Automatikus</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation>Szekvenciális</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation>Párhuzamos</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation>Beállítási hiba</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation>A beállítási motor nincs betöltve. A szűrők elérése nem lehetséges</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation>A beállítási motor nincs betöltve, a szűrők elérése nem lehetséges</translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation>Lemezterület</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation>Több szabad helyre van szükséged ezen a lemezen az átvitel befejezéséhez</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation>Folytatás</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation>Mégse</translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation>%1 meghajtón %2 hely van, de %3 szükséges</translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation>Hiba a mappával</translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation>Mappa neve</translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation>%1 - másolás</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation>%1 - másolás (%2)</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation>Átnevezés speciális karakterek használatával</translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation>%1 - másolás</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation>%1 - másolás (%2)</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation>Átnevezés speciális karakterek használatával</translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation>Szűrők üzenet</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation>Keresés:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation>Keresés típusa:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation>Nyers szöveg</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation>Egyszerűsített regex</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation>Perl regex</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation>Alkalmazás ezen:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation>Fájl</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation>Mappa</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation>Fájl és mappa</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation>A teljes szövegnek egyeznie kell</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation>A tesztszöveg megegyezik a regexszel</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation>Ellenőrzés</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation>A regex érvényes</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation>Próbaszöveg:</translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation>Szűrők</translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation>Kizáró szűrők</translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation>Használt szűrők</translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation>Nincs = Mindet használ</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation>Nyers szöveg</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation>Egyszerűsített regex</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation>Perl regex</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation>Csak fájlon</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation>Csak mappán</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation>Teljes egyezés</translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation>Mappa már létezik</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation>%1 - másolás</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation>%1 - másolás (%2)</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation>Átnevezés speciális karakterek használatával</translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation>Elem másolása vagy mozgatás nem lehetséges a hibás kényszerített módban: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation>Átviteli lista mentése nem lehetséges: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation>Hiba a fájl olvasásánál vagy a fálméret 0</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation>Hibás fejléc: "%1"</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation>Az átviteli lista kevert módban van, de ez a példány nincs</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation>Az átviteli lista másolás módban van, de ez a példány nincs</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation>Az átviteli lista mozgatás módban van, de ez a példány nincs</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation>Néhány hiba történt a sorelemzés során</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation>Az átviteli lista megnyitása nem lehetséges: %1</translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation>Mappa létrehozása nem lehetséges</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation>Eltávolítás nem lehetséges</translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation>Belső hiba, kérlek jelentsd!</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation>Belső hiba történt a forrásfájl olvasásakor: a blokkméret tartományon kívüli</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation>A forrásfájl olvasása nem lehetséges:</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation>A fájl olvasás során megcsonkult, valószínűleg adatváltozás miatt</translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation>Átnevezési szabályok</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation>Első átnevezés</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation>%name% - másolás</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation><html><head/><body><p>Változók: <span style=" font-weight:600;">%name%</span> az eredeti fájlnévhez</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation>Második átnevezés</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation>%name% - másolás (%number%)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation><html><head/><body><p>Változók: <span style=" font-weight:600;">%name%</span> az eredeti fájlnévhez</p><p><span style=" font-weight:600;">%number%</span> az extra számhoz</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation>%1 - másolás</translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation>%1 - másolás (%2)</translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation>Feketelistás mappa</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation>%1 - másolás</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation>%1 - másolás (%2)</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation>Ez nem mappa</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation>A mappa létezik</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation>A mappa nem olvasható</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation>Probléma a névkódolással</translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation>Fájl nem található</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished">%1 meghajtó</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished">Ismeretlen mappa</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished">gyökér</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - másolás</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - másolás (%2)</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished">A forrás nem létezik</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished">Mappaművelet nem lehetséges</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation>Átnevezés speciális karakterek használatával</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished">A forrásfájl nem létezik</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished">Egy másik fájl létezik ugyanazon a helyen</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished">A checksumok nem egyeznek meg</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished">Belső hiba: a cél nincs bezárva</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished">Belső hiba: az átvitt méret nem egyezik meg</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished">Belső hiba: a puffer nem üres</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation>Útvonal feloldási hiba (Üres útvonal)</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation>Belső hiba, kérlek jelentsd!</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation>A forrásfájl olvasása nem lehetséges:</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation>Fájl megsérült az olvasás közben, valószínűleg adatváltozás</translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation>Átvitel</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation>Mozgassa át az egész mappát</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation>Fájljogok átadása</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation>Fájl dátumának megtartása</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation>Átvitel automatikus indítása</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation>Kisebb teljesítmény, ha be van jelölve</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation>Kövesse a szigorú sorrendet</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation>Hiba és ütközés</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation>Mappa hiba esetén</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation>Fájl hiba esetén</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation>Fájl ütközés esetén</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation>Mappa ütközés esetén</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation>Célmappa létezésének ellenőrzése</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation>Átnevezési szabályok</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation>Részben átvitt fájlok törlése</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation>Eredeti cél átnevezése</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation>Irányítás</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation>Checksum</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation>Csak hiba után</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation>Hagyja ki, ha nem lehetséges</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation>Checksumok ellenőrzése</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation>Teljesítmény</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation>Párhuzamos puffer</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation>Blokkméret</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation>Szekvenciális puffer</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation>OS puffer engedélyezése</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation>OS buffer csak akkor, ha kisebb mint</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation>Átviteli algoritmus</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation>Párhuzamosítás, ha kisebb mint</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation>Inode szálak</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation>Egyéb</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation>Lemezterület ellenőrzése</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation>Tallózás</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation>Szűrők</translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation>Hiba a fájllal</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation>Méret</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation>Módosítva</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation>Fájlnév</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation>Cél</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation>Mappa</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation>&Mindig hajtsa végre ezt a műveletet</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation>Próbálja meg emelt jogosultsággal</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation>Tegye legalulra</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation>Újra</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation>&Kihagy</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation>M&égse</translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation>A fájl létezik</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Forrás</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Cél</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation>Méret</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation>Módosítva</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation>Fájlnév</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation>Mappa</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation>Új &név ajánlása</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation>&Mindig hajtsa végre ezt a műveletet</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation>Felülír, ha a módosítás dátuma különbözik</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation>Felülír, ha régebbi</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation>&Átnevez</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation>&Felülír</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation>&Kihagy</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation>&Mégse</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation>Felülír, ha újabb</translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation>Méret</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation>Módosítva</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation>Fájlnév</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation>A forrás és a cél megegyezik</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation>Mappa</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation>Új &név javasolása</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation>&Mindig hajtsa végre ezt a műveletet</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation>&Átnevez</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation>&Kihagy</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation>M&égse</translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Forrás</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Cél</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation>Módosítva</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation>Mappa neve</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation>Új &név javasolása</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation>A forrás és a cél megegyezik</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation>Mappa</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation>&Mindig hajtsa végre ezt a műveletet</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation>&Átnevez</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation>Összeolvaszt</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation>Kihagy</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation>M&égse</translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/id/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/id/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/id/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/it/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/it/translation.ts new file mode 100644 index 0000000..8a95cd4 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/it/translation.ts @@ -0,0 +1,1299 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="it" sourcelanguage="en"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation>Non supportato su questa piattaforma</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation>La data dell'ultima modifica è errata</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation>La data dell'ultimo accesso è errata</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation>Percorso dell'errore di conversione</translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation>Impossibile copiare, il motore per la copia forzerà lo spostamento</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation>Impossibile effettuare lo spostamento, il motore per la copia forzerà la copia</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished">Cartella di destinazione</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation>Chiedi</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation>Salta</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation>Unisci</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation>Rinomina</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation>Metti in coda</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation>Sovrascrivi</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation>Sovrascrivi se differente</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation>Sovrascrivi se più recente</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation>Sovrascrivi se meno recente</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation>Automatico</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation>Sequenziale</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation>Parallelo</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation>Opzioni di errore</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation>Chiedi</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation>Salta</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation>Unisci</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation>Rinomina</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation>Metti in coda</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation>Sovrascrivi</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation>Sovrascrivi se differente</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation>Sovrascrivi se più recente</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation>Sovrascrivi se meno recente</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation>Automatico</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation>Sequenziale</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation>Parallelo</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation>Opzioni di errore</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation>Le opzioni del motore per la copia non vengono caricate, impossibile accedere ai filtri</translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation>Spazio su disco</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation>Continua</translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation>Annulla</translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation>L'unità %1 ha %2 disponibili, ma necessita di %3</translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation>Errore nella cartella</translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation>Nome della cartella</translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation>Cerca:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation>Tipo di ricerca:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation>Testo raw</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation>Regex semplificato</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation>Regex in Perl</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation>Applicare su:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation>File</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation>Cartelle</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation>File e cartelle</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation>Verifica</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation>Stringa di verifica:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation>Finestra dei filtri</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation>La regex è valida</translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation>Filtri</translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation>Filtri di esclusione</translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translatorcomment>o filtri per l'inserimento?</translatorcomment> + <translation>Filtri di inclusione</translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translatorcomment>o Nessuno = Includi tutti oppure Nessuno = Inserisci tutti oppure bisogna lasiare none?</translatorcomment> + <translation>Nessuno = Tutti inclusi</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation>Testo raw</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation>Regex semplificato</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation>Regex in Perl</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation>Solo su file</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translatorcomment>o cartella al singolare?</translatorcomment> + <translation>Solo su cartelle</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation>Corrispondenza completa</translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation>Cartella già presente</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation>Impossibile spostare o copiare elementi in modalità forzata anomala: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation>Impossibile salvare la lista dei trasferimenti: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translatorcomment>Header si riferisce all'intestazione?</translatorcomment> + <translation>Intestazione sbagliata: "%1"</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation>La lista dei trasferimenti è in modalità mista, ma questa istanza non è in questa modalità</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation>La lista dei trasferimenti è in modalità di copia, ma questa istanza non è in questa modalità</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation>La lista dei trasferimenti è in modalità di spostamento, ma questa istanza non è in questa modalità</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation>Impossibile aprire la lista dei trasferimenti: %1</translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation>Impossibile creare la cartella</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation>Impossibile eliminare</translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation>Errore interno, pregasi di segnalarlo!</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation>Impossibile leggere il file di origine: </translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation>File troncato durante la lettura, possibili variazioni di dati</translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translatorcomment>o Prima ridenominazione?</translatorcomment> + <translation>Prima rinomina</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translatorcomment>%name% non dovrà essere tradotto</translatorcomment> + <translation>Copia di %name%</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translatorcomment>o per il nome originale del file</translatorcomment> + <translation><html><head/><body><p>variabili: <span style=" font-weight:600;">%name%</span> per il nome del file di origine</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translatorcomment>o Seconda ridenominazione?</translatorcomment> + <translation>Seconda rinomina</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translatorcomment>%name% e %number% non dovranno essere tradotti</translatorcomment> + <translation>Copia di %name% (%number%)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translatorcomment>%name% e %number% non dovranno essere tradotti</translatorcomment> + <translation><html><head/><body><p>variabili: <span style=" font-weight:600;">%name%</span> per il nome del file di origine</p><p><span style=" font-weight:600;">%number%</span> per il numero progressivo</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation>Regole di rinomina</translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation>%1 - copia</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation>%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation>Questa non è una cartella</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation>La cartella non è leggibile</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation>Problema con la codifica del nome</translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation>File non trovato</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished">Unità %1</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished">root</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - copia</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - copia (%2)</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished">Impossibile creare la cartella</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished">Nello stesso percorso è presente un altro file</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished">Errore interno: la cartella di destinazione non è chiusa</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished">Errore interno: il buffer non è vuoto</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished">Impossibile cambiare la data</translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation>Errore interno, pregasi di segnalarlo!</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation>Impossibile leggere il file di origine: </translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation>Trasferisci</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation>Spostare l'intera cartella</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation>Trasferire le autorizzazioni dei file</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation>Mantenere la data del file</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation>Se selezionato si avranno prestazioni ridotte</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation>Seguire rigorosamente l'ordine</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation>Errori di coincidenze</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation>Quando si verifica un errore nelle cartelle</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation>Quando si verifica un errore nei file</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation>Quando i file coincidono</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation>Quando le cartelle coincidono</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation>Controllare se la cartella di destinazione esiste</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation>Regole di rinomina</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation>Eliminare i file parzialmente trasferiti</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation>Rinominare la destinazione all'origine</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation>Controllare</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation>Codice di controllo (Checksum)</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation>Solo dopo l'errore</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation>Ignora se non corrisponde</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation>Prestazioni</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation>Buffer parallelo</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation>Dimensione del blocco</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation>Buffer sequenziale</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation>Attivare il buffer del sistema operativo</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation>Buffer del sistema operativo solo se inferiore a</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation>Algoritmo di trasferimento </translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation>Affiancare se inferiore a</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation>Inode threads</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation>Varie</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation>Controllare lo spazio su disco</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation>Sfoglia</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation>Filtri</translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation>Dimensione</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation>Modificato</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation>Nome del file</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation>Cartella di destinazione</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation>Cartelle</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation>Mettere in coda</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation>Riprova</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation>&Salta</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation>&Annulla</translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation>Il file è già presente</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Cartella di origine</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Cartella di destinazione</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation>Dimensione</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation>Modificato</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation>Nome del file</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation>Cartelle</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation>Suggerisci un nuovo &nome</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation>&Rinomina</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation>&Sovrascrivi</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation>&Salta</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation>&Annulla</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation>Sovrascrivi se più recente</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation>Sovrascrivi se meno recente</translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation>Dimensione</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation>Modificato</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation>Nome del file</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation>Cartelle</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation>Suggerisci nuovo &nome</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation>&Rinomina</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation>&Salta</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation>&Annulla</translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>Cartella di origine</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>Cartella di destinazione</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation>Modificato</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation>Nome della cartella</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation>Cartelle</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation>Suggerisci nuovo &nome</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation>&Rinomina</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation>Unisci</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation>Salta</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation>&Annulla</translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts new file mode 100644 index 0000000..5c68ad9 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/ja/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts new file mode 100644 index 0000000..ea7d584 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/ko/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation>이 플랫폼에서 지원되지 않습니다</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation>마지막 수정 날짜가 잘못되었습니다</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation>마지막 엑세스 날짜가 잘못되었습니다</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished">대상</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished">확인</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished">건너뛰기</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished">합치기</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished">이름 바꾸기</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished">더 최신이면 덮어씌우기</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished">확인</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished">건너뛰기</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished">합치기</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished">이름 바꾸기</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished">더 최신이면 덮어씌우기</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished">폴더 이름</translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished">오류</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished">오류</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished">오류</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation>폴더를 생성할 수 없습니다</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation>원본 파일 읽기 불가:</translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished">폴더를 읽을 수 없습니다</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished">원본 파일 읽기 불가:</translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished">파일 권한 전송</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished">파일 날짜 보존</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished">폴더 오류시</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished">폴더 충돌시</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished">대상 폴드 존재시 확인</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished">KB</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished">블럭 크기</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation>오류</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation>크기</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation>수정 날짜</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation>파일 이름</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished">대상</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation>아래에 놓기</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation>재시도</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation>&건너뛰기</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation>&취소</translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation>파일이 존재합니다</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>원본</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>대상</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation>크기</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation>수정 날짜</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation>파일 이름</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation>새 &이름 제안</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation>&이름 바꾸기</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation>&덮어씌우기</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation>&건너뛰기</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation>&취소</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation>더 최신이면 덮어씌우기</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation>크기</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation>수정 날짜</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation>파일 이름</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation>새 &이름 제안</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation>&이름 바꾸기</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation>&건너뛰기</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation>&취소</translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>원본</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>대상</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation>수정 날짜</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation>폴더 이름</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation>새 &이름 제안</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation>&이름 바꾸기</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation>합치기</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation>건너뛰기</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation>&취소</translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/nl/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/no/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/no/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/no/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/pl/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/pt/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts new file mode 100644 index 0000000..abaf3bb --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/ru/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ru" sourcelanguage="en"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation>Не поддерживается на этой платформе</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation>Дата обновления неправильно</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation>Дата последнего доступа не так</translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished">Двигатель вынуждены покинуть свои дома, вы не можете скопировать с ним</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished">Двигатель вынужден копии, вы не можете двигаться вместе с ним</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished">назначение</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished">просить</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished">пропускать</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished">слияние</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished">переименовать</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished">Заменить, если новее</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished">Опции ошибке</translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished">просить</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished">пропускать</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished">слияние</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished">переименовать</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished">Заменить, если новее</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished">Опции ошибке</translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished">Параметры двигателя не загружается, не может получить доступ к фильтрам</translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished">Ошибка в папку</translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished">имя папки</translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - копия</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - копия (%2)</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished">ошибка</translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - копия</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - копия (%2)</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished">ошибка</translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation>Поиск по сайту:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation>Тип поиска:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation>Сырой текст</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation>упрощенный regex</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation>Perl's regex</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation>Нанесите на:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation>файл</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation>папка</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation>Файлов и папок</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation>контроль</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation>Испытание строки:</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation>Фильтры диалогового</translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation>Регулярное действует</translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation>Фильтры</translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation>Ни = Включить все</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation>Сырой текст</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation>Упрощенная регулярных выражений</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation>Perl's regex</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation>Только на файл</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation>Только на папку</translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation>Полный матч</translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished">Папка уже существует</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - копия</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - копия (%2)</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished">ошибка</translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation>Невозможно сделать, чтобы скопировать или переместить элемент в неправильном форсированном режиме: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation>Невозможно сохранить трансфер: %1</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation>Неправильный заголовок: "%1"</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation>Трансфер в смешанном режиме, но этот экземпляр не в этом режиме</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation>Передача списка в режиме копирования, но этот экземпляр не в этом режиме</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation>Трансфер в режим перемещения, но этот экземпляр не в этом режиме</translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation>Не удается открыть трансфер: %1</translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation>Невозможно создать папку</translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation>Невозможно прочитать исходный файл: </translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation>Файл усечены во время чтения, возможность изменения данных</translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation>Первое переименование</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation>%name% - копия</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation><html><head/><body><p>Переменные: <span style=" font-weight:600;">%name%</span> по оригинальному названию файла</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation>Второе переименование</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation>%name% - копия (%number%)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation><html><head/><body><p>Переменные: <span style=" font-weight:600;">%name%</span> по оригинальному названию файла</p><p><span style=" font-weight:600;">%number%</span> за дополнительный номер</p></body></html></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation>%1 - копия</translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation>%1 - копия (%2)</translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation>Переименование правила</translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - копия</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - копия (%2)</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished">Папки не читается</translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished">%1 - копия</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished">%1 - копия (%2)</translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation>Невозможно прочитать исходный файл: </translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished">Передача файлов прав</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished">Держите дату файла</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished">Когда папка ошибка</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished">Когда папка столкновения</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished">Убедитесь, что папка существует</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished">Переименование правила</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished">Контрольная</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished">Только после того, как ошибка</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished">Игнорировать, если невозможно</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished">KB</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished">размер блока</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished">Включить OS буфер</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished">ОС буфер, только если меньше</translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished">Фильтры</translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation>ошибка</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation>размер</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation>модифицированный</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation>имя файла</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished">назначение</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished">папка</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation>Положить в нижней</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation>Повторить</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation>пропускать</translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation>отменить</translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation>Файл существует</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>источник</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>назначение</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation>размер</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation>модифицированный</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation>имя файла</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished">папка</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation>Предложить новое имя</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation>переименовать</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation>переписывать</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation>пропускать</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation>отменить</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation>Заменить, если новее</translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation>размер</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation>модифицированный</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation>имя файла</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished">папка</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation>Предложить новое имя</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation>переименовать</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation>пропускать</translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation>отменить</translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation>источник</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation>назначение</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation>модифицированный</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation>имя папки</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished">папка</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation>Предложить новое имя</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation>переименовать</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation>слияние</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation>пропускать</translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation>отменить</translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/th/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/th/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/th/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts new file mode 100644 index 0000000..a00b0cd --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/tr/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts b/plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts new file mode 100644 index 0000000..5c68ad9 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Languages/zh/translation.ts @@ -0,0 +1,1289 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>AvancedQFile</name> + <message> + <location filename="../../AvancedQFile.cpp" line="26"/> + <location filename="../../AvancedQFile.cpp" line="57"/> + <location filename="../../AvancedQFile.cpp" line="88"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="40"/> + <source>Last modified date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="71"/> + <source>Last access date is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="121"/> + <source>Unknown error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="187"/> + <source>Unknown error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../AvancedQFile.cpp" line="133"/> + <source>Path conversion error</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngine</name> + <message> + <location filename="../../CopyEngine.cpp" line="429"/> + <location filename="../../CopyEngine.cpp" line="451"/> + <source>The engine is forced to move, you can't copy with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="462"/> + <location filename="../../CopyEngine.cpp" line="484"/> + <source>The engine is forced to copy, you can't move with it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="508"/> + <source>Use the actual destination "%1"?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="732"/> + <source>The mode has been forced previously. This is an internal error, please report it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1062"/> + <location filename="../../CopyEngine.cpp" line="1065"/> + <location filename="../../CopyEngine.cpp" line="1070"/> + <location filename="../../CopyEngine.cpp" line="1074"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1063"/> + <location filename="../../CopyEngine.cpp" line="1067"/> + <location filename="../../CopyEngine.cpp" line="1071"/> + <location filename="../../CopyEngine.cpp" line="1075"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1066"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1068"/> + <location filename="../../CopyEngine.cpp" line="1080"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1072"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1076"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1077"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1078"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1079"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1082"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1083"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1084"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngine.cpp" line="1185"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineFactory</name> + <message> + <location filename="../../CopyEngineFactory.cpp" line="418"/> + <location filename="../../CopyEngineFactory.cpp" line="421"/> + <location filename="../../CopyEngineFactory.cpp" line="426"/> + <location filename="../../CopyEngineFactory.cpp" line="430"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="419"/> + <location filename="../../CopyEngineFactory.cpp" line="423"/> + <location filename="../../CopyEngineFactory.cpp" line="427"/> + <location filename="../../CopyEngineFactory.cpp" line="431"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="422"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="424"/> + <location filename="../../CopyEngineFactory.cpp" line="436"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="428"/> + <source>Put at the end</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="432"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="433"/> + <source>Overwrite if different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="434"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="435"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="438"/> + <source>Automatic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="439"/> + <source>Sequential</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="440"/> + <source>Parallel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="491"/> + <source>Options engine is not loaded. Unable to access the filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../CopyEngineFactory.cpp" line="530"/> + <source>Options engine is not loaded, can't access to the filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>DiskSpace</name> + <message> + <location filename="../../DiskSpace.ui" line="14"/> + <source>Disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="24"/> + <source>You need more space on this drive to finish this transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="49"/> + <source>Continue</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.ui" line="56"/> + <source>Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../DiskSpace.cpp" line="23"/> + <source>Drives %1 have %2 available but need %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileErrorDialog</name> + <message> + <location filename="../../FileErrorDialog.cpp" line="54"/> + <source>Error on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileErrorDialog.cpp" line="57"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileExistsDialog</name> + <message> + <location filename="../../FileExistsDialog.cpp" line="137"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="147"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileExistsDialog.cpp" line="232"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FileIsSameDialog</name> + <message> + <location filename="../../FileIsSameDialog.cpp" line="111"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="121"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FileIsSameDialog.cpp" line="188"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FilterRules</name> + <message> + <location filename="../../FilterRules.ui" line="17"/> + <source>Filters dialog</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="33"/> + <source>Search:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="43"/> + <source>Search type:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="51"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="56"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="61"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="69"/> + <source>Apply on:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="77"/> + <source>File</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="82"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="87"/> + <source>File and folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="95"/> + <source>Whole string must match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="125"/> + <source>The test string matches with the regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="102"/> + <source>Checking</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="108"/> + <source>The regex is valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FilterRules.ui" line="115"/> + <source>Test string:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Filters</name> + <message> + <location filename="../../Filters.ui" line="14"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="30"/> + <source>Exclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="93"/> + <source>Inclusion filters</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.ui" line="105"/> + <source>None = Include all</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="93"/> + <location filename="../../Filters.cpp" line="131"/> + <source>Raw text</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="96"/> + <location filename="../../Filters.cpp" line="134"/> + <source>Simplified regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="99"/> + <location filename="../../Filters.cpp" line="137"/> + <source>Perl's regex</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="107"/> + <location filename="../../Filters.cpp" line="145"/> + <source>Only on file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="110"/> + <location filename="../../Filters.cpp" line="148"/> + <source>Only on folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../Filters.cpp" line="116"/> + <location filename="../../Filters.cpp" line="154"/> + <location filename="../../Filters.cpp" line="216"/> + <location filename="../../Filters.cpp" line="255"/> + <source>Full match</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FolderExistsDialog</name> + <message> + <location filename="../../FolderExistsDialog.cpp" line="57"/> + <source>Folder already exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="122"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="132"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../FolderExistsDialog.cpp" line="193"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ListThread</name> + <message> + <location filename="../../ListThread.cpp" line="1458"/> + <location filename="../../ListThread.cpp" line="2390"/> + <source>Unable do to move or copy item into wrong forced mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1465"/> + <location filename="../../ListThread.cpp" line="2397"/> + <source>Unable to save the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1481"/> + <source>Problem reading file, or file-size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1488"/> + <source>Wrong header: "%1"</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1497"/> + <source>The transfer list is in mixed mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1506"/> + <source>The transfer list is in copy mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1512"/> + <source>The transfer list is in move mode, but this instance is not in this mode</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1575"/> + <source>Some errors have been found during the line parsing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ListThread.cpp" line="1583"/> + <source>Unable to open the transfer list: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MkPath</name> + <message> + <location filename="../../MkPath.cpp" line="142"/> + <source>Unable to create the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="155"/> + <source>The source folder don't exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="183"/> + <source>Unable to temporary rename the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="206"/> + <source>Unable to do the final real move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="233"/> + <source>Unable to move the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../MkPath.cpp" line="93"/> + <location filename="../../MkPath.cpp" line="276"/> + <source>Unable to remove</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ReadThread</name> + <message> + <location filename="../../ReadThread.cpp" line="55"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="184"/> + <source>Internal error reading the source file:block size out of range</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="192"/> + <location filename="../../ReadThread.cpp" line="408"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ReadThread.cpp" line="233"/> + <location filename="../../ReadThread.cpp" line="456"/> + <source>File truncated during the read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>RenamingRules</name> + <message> + <location filename="../../RenamingRules.ui" line="14"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="26"/> + <source>First renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="32"/> + <source>%name% - copy</source> + <extracomment>%name% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="39"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></source> + <extracomment> should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="49"/> + <source>Second renaming</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="55"/> + <source>%name% - copy (%number%)</source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.ui" line="62"/> + <source><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></source> + <extracomment>%name%, %number% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="39"/> + <location filename="../../RenamingRules.cpp" line="62"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../RenamingRules.cpp" line="43"/> + <location filename="../../RenamingRules.cpp" line="73"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ScanFileOrFolder</name> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="274"/> + <source>Blacklisted folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="338"/> + <location filename="../../ScanFileOrFolder.cpp" line="404"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="348"/> + <location filename="../../ScanFileOrFolder.cpp" line="414"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="452"/> + <source>This is not a folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="454"/> + <source>The folder does exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="456"/> + <source>The folder is not readable</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ScanFileOrFolder.cpp" line="467"/> + <source>Problem with name encoding</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>TransferThread</name> + <message> + <location filename="../../TransferThread.cpp" line="243"/> + <location filename="../../TransferThread.cpp" line="672"/> + <location filename="../../TransferThread.cpp" line="744"/> + <location filename="../../TransferThread.cpp" line="1314"/> + <source>File not found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="344"/> + <location filename="../../TransferThread.cpp" line="361"/> + <source>Wrong modification date or unable to get it, you can disable time transfer to do it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="416"/> + <location filename="../../TransferThread.cpp" line="439"/> + <source>Internal error: Already opening</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="581"/> + <source>Drive %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="583"/> + <source>Unknown folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="587"/> + <source>root</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="640"/> + <source>%1 - copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="650"/> + <source>%1 - copy (%2)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="710"/> + <location filename="../../TransferThread.cpp" line="825"/> + <source>The source file doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="750"/> + <location filename="../../TransferThread.cpp" line="837"/> + <source>Unable to do the folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="786"/> + <source>The source doesn't exist</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="831"/> + <source>Another file exists at same place</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1133"/> + <source>The checksums do not match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1223"/> + <source>Internal error: The destination is not closed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1238"/> + <source>Internal error: The size transfered doesn't match</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1249"/> + <source>Internal error: The buffer is not empty</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="1314"/> + <location filename="../../TransferThread.cpp" line="1332"/> + <location filename="../../TransferThread.cpp" line="1347"/> + <source>Unable to change the date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../TransferThread.cpp" line="227"/> + <source>Try rename with using special characters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>WriteThread</name> + <message> + <location filename="../../WriteThread.cpp" line="80"/> + <source>Path resolution error (Empty path)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="269"/> + <source>Internal error, please report it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="672"/> + <source>Unable to read the source file: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../WriteThread.cpp" line="697"/> + <source>File truncated during read, possible data change</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>copyEngineOptions</name> + <message> + <location filename="../../copyEngineOptions.ui" line="35"/> + <source>Transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="44"/> + <source>Move the whole folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="51"/> + <source>Transfer the file rights</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="61"/> + <source>Keep the file date</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="74"/> + <source>Autostart the transfer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="81"/> + <location filename="../../copyEngineOptions.ui" line="101"/> + <source>Less performance if checked</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="104"/> + <source>Follow the strict order</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="130"/> + <source>Error and collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="136"/> + <source>When folder error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="146"/> + <source>When file error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="172"/> + <source>When file collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="232"/> + <source>When folder collision</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="263"/> + <source>Check if destination folder exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="270"/> + <source>Renaming rules</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="290"/> + <source>Delete partially transferred files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="303"/> + <source>Rename the original destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="334"/> + <source>Control</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="340"/> + <source>Checksum</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="349"/> + <source>Only after error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="356"/> + <source>Ignore if impossible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="373"/> + <source>Verify checksums</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="405"/> + <source>Performance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="411"/> + <source>Parallel buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="418"/> + <location filename="../../copyEngineOptions.ui" line="431"/> + <location filename="../../copyEngineOptions.ui" line="444"/> + <location filename="../../copyEngineOptions.ui" line="481"/> + <location filename="../../copyEngineOptions.ui" line="550"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="460"/> + <source>Block size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="467"/> + <source>Sequential buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="474"/> + <source>Enable OS buffer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="497"/> + <source>OS buffer only if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="504"/> + <source>Transfer algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="543"/> + <source>Parallelize if smaller than</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="573"/> + <source>Inode threads</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="580"/> + <location filename="../../copyEngineOptions.ui" line="590"/> + <source>More cpu, but better organisation on the disk</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="593"/> + <source>Order the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="609"/> + <source>Misc</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="615"/> + <source>Check the disk space</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="625"/> + <source>Use this folder when destination is not set</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="637"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../copyEngineOptions.ui" line="659"/> + <source>Filters</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileErrorDialog</name> + <message> + <location filename="../../fileErrorDialog.ui" line="14"/> + <source>Error with file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="20"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="59"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="76"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="93"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="110"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="127"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="173"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="193"/> + <source>Try in with elevated privileges</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="200"/> + <source>Put to bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="207"/> + <source>Retry</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="214"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileErrorDialog.ui" line="221"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileExistsDialog</name> + <message> + <location filename="../../fileExistsDialog.ui" line="14"/> + <source>The file exists</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="82"/> + <location filename="../../fileExistsDialog.ui" line="170"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="99"/> + <location filename="../../fileExistsDialog.ui" line="187"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="116"/> + <location filename="../../fileExistsDialog.ui" line="204"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="133"/> + <location filename="../../fileExistsDialog.ui" line="221"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="277"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="288"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="346"/> + <location filename="../../fileExistsDialog.ui" line="349"/> + <source>Overwrite if modification date differs</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="308"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="315"/> + <source>&Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="325"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="332"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="341"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileExistsDialog.ui" line="354"/> + <location filename="../../fileExistsDialog.ui" line="357"/> + <source>Overwrite if older</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>fileIsSameDialog</name> + <message> + <location filename="../../fileIsSameDialog.ui" line="40"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="110"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="70"/> + <source>File name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="14"/> + <source>The source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="90"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="159"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="170"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="190"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="197"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../fileIsSameDialog.ui" line="204"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>folderExistsDialog</name> + <message> + <location filename="../../folderExistsDialog.ui" line="34"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="50"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="14"/> + <source>The source and destination is identical</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="82"/> + <location filename="../../folderExistsDialog.ui" line="150"/> + <source>Modified</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="99"/> + <location filename="../../folderExistsDialog.ui" line="160"/> + <source>Folder name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="116"/> + <location filename="../../folderExistsDialog.ui" line="184"/> + <source>Folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="227"/> + <source>Suggest new &name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="238"/> + <source>&Always perform this action</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="245"/> + <source>&Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="252"/> + <source>Merge</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="259"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../folderExistsDialog.ui" line="266"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/CopyEngine/Ultracopier/ListThread.cpp b/plugins/CopyEngine/Ultracopier/ListThread.cpp new file mode 100644 index 0000000..8d47326 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/ListThread.cpp @@ -0,0 +1,2399 @@ +#include "ListThread.h" +#include <QStorageInfo> +#include <QMutexLocker> +#include "../../../cpp11addition.h" + +ListThread::ListThread(FacilityInterface * facilityInterface) +{ + moveToThread(this); + start(HighPriority); + this->facilityInterface = facilityInterface; + putInPause = false; + sourceDriveMultiple = false; + destinationDriveMultiple = false; + destinationFolderMultiple = false; + stopIt = false; + bytesToTransfer = 0; + bytesTransfered = 0; + idIncrementNumber = 1; + actualRealByteTransfered = 0; + numberOfTransferIntoToDoList = 0; + numberOfInodeOperation = 0; + putAtBottom = 0; + maxSpeed = 0; + inodeThreads = 1; + renameTheOriginalDestination = false; + doRightTransfer = false; + #ifdef ULTRACOPIER_PLUGIN_RSYNC + rsync = false; + #endif + keepDate = false; + checkDiskSpace = true; + blockSize = ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*1024; + sequentialBuffer = ULTRACOPIER_PLUGIN_DEFAULT_SEQUENTIAL_NUMBER_OF_BLOCK; + parallelBuffer = ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + blockSizeAfterSpeedLimitation = blockSize; + #endif + osBufferLimit = 512; + alwaysDoThisActionForFileExists = FileExists_NotSet; + doChecksum = false; + checksumIgnoreIfImpossible = true; + checksumOnlyOnError = true; + osBuffer = false; + osBufferLimited = false; + forcedMode = false; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + clockForTheCopySpeed = NULL; + multiForBigSpeed = 0; + #endif + + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + connect(&timerUpdateDebugDialog,&QTimer::timeout,this,&ListThread::timedUpdateDebugDialog); + timerUpdateDebugDialog.start(ULTRACOPIER_PLUGIN_DEBUG_WINDOW_TIMER); + #endif + connect(this, &ListThread::tryCancel, this,&ListThread::cancel, Qt::QueuedConnection); + connect(this, &ListThread::askNewTransferThread, this,&ListThread::createTransferThread, Qt::QueuedConnection); + connect(&mkPathQueue, &MkPath::firstFolderFinish, this,&ListThread::mkPathFirstFolderFinish, Qt::QueuedConnection); + connect(&mkPathQueue, &MkPath::errorOnFolder, this,&ListThread::mkPathErrorOnFolder, Qt::QueuedConnection); + connect(this, &ListThread::send_syncTransferList, this,&ListThread::syncTransferList_internal, Qt::QueuedConnection); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(&mkPathQueue, &MkPath::debugInformation, this,&ListThread::debugInformation, Qt::QueuedConnection); + connect(&driveManagement,&DriveManagement::debugInformation, this,&ListThread::debugInformation, Qt::QueuedConnection); + #endif // ULTRACOPIER_PLUGIN_DEBUG + + emit askNewTransferThread(); + mkpathTransfer.release(); +} + +ListThread::~ListThread() +{ + emit tryCancel(); + waitCancel.acquire(); + quit(); + wait(); +} + +//transfer is finished +void ListThread::transferInodeIsClosed() +{ + numberOfInodeOperation--; + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation)); + #endif + TransferThread *temp_transfer_thread=qobject_cast<TransferThread *>(QObject::sender()); + if(temp_transfer_thread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not located!"); + return; + } + bool isFound=false; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + int countLocalParse=0; + #endif + if(temp_transfer_thread->getStat()!=TransferStat_Idle) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not idle!"); + return; + } + int int_for_internal_loop=0; + const int &loop_size=actionToDoListTransfer.size(); + while(int_for_internal_loop<loop_size) + { + if(actionToDoListTransfer.at(int_for_internal_loop).id==temp_transfer_thread->transferId) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] have finish, put at idle; for id: %2").arg(int_for_internal_loop).arg(temp_transfer_thread->transferId).toStdString()); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type=Ultracopier::RemoveItem; + newAction.userAction.moveAt=0; + newAction.addAction=actionToDoTransferToItemOfCopyList(actionToDoListTransfer.at(int_for_internal_loop)); + newAction.userAction.position=int_for_internal_loop; + actionDone.push_back(newAction); + /// \todo check if item is at the right thread + actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+int_for_internal_loop); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString()); + if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty()) + updateTheStatus(); + + //add the current size of file, to general size because it's finish + copiedSize=temp_transfer_thread->copiedSize(); + if(copiedSize>(qint64)temp_transfer_thread->transferSize) + { + oversize=copiedSize-temp_transfer_thread->transferSize; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"add oversize of: "+std::to_string(oversize)); + bytesToTransfer+=oversize; + bytesTransfered+=oversize; + } + bytesTransfered+=temp_transfer_thread->transferSize; + + if(temp_transfer_thread->haveStartTime) + { + timeToTransfer.push_back(std::pair<uint64_t,uint32_t>(temp_transfer_thread->transferSize,temp_transfer_thread->startTransferTime.elapsed())); + temp_transfer_thread->haveStartTime=false; + } + temp_transfer_thread->transferId=0; + temp_transfer_thread->transferSize=0; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + countLocalParse++; + #endif + isFound=true; + if(actionToDoListTransfer.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionToDoListTransfer==0"); + actionToDoListInode.insert(actionToDoListInode.cbegin(),actionToDoListInode_afterTheTransfer.cbegin(),actionToDoListInode_afterTheTransfer.cend()); + actionToDoListInode_afterTheTransfer.clear(); + doNewActions_inode_manipulation(); + } + break; + } + int_for_internal_loop++; + } + if(isFound) + deleteTransferThread(); + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("unable to found item into the todo list, id: %1, index: %2").arg(temp_transfer_thread->transferId).arg(int_for_internal_loop).toStdString()); + temp_transfer_thread->transferId=0; + temp_transfer_thread->transferSize=0; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("countLocalParse: %1, actionToDoList.size(): %2").arg(countLocalParse).arg(actionToDoListTransfer.size()).toStdString()); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + if(countLocalParse!=1) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"countLocalParse != 1"); + #endif + doNewActions_inode_manipulation(); +} + +/** \brief put the current file at bottom in case of error +\note ONLY IN CASE OF ERROR */ +void ListThread::transferPutAtBottom() +{ + TransferThread *transfer=qobject_cast<TransferThread *>(QObject::sender()); + if(transfer==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not located!"); + return; + } + bool isFound=false; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + int countLocalParse=0; + #endif + unsigned int indexAction=0; + while(indexAction<actionToDoListTransfer.size()) + { + if(actionToDoListTransfer.at(indexAction).id==transfer->transferId) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Put at the end: "+std::to_string(transfer->transferId)); + //push for interface at the end + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type=Ultracopier::MoveItem; + newAction.addAction.id=transfer->transferId; + newAction.userAction.position=actionToDoListTransfer.size()-1; + actionDone.push_back(newAction); + //do the wait stat + actionToDoListTransfer[indexAction].isRunning=false; + //move at the end + actionToDoListTransfer.push_back(actionToDoListTransfer.at(indexAction)); + actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+indexAction); + //reset the thread list stat + transfer->transferId=0; + transfer->transferSize=0; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + countLocalParse++; + #endif + isFound=true; + break; + } + indexAction++; + } + if(!isFound) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("unable to found item into the todo list, id: %1, index: %2").arg(transfer->transferId).toStdString()); + transfer->transferId=0; + transfer->transferSize=0; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"countLocalParse: "+std::to_string(countLocalParse)); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + if(countLocalParse!=1) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"countLocalParse != 1"); + #endif + transfer->skip(); +} + +//set the copy info and options before runing +void ListThread::setRightTransfer(const bool doRightTransfer) +{ + mkPathQueue.setRightTransfer(doRightTransfer); + this->doRightTransfer=doRightTransfer; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->setRightTransfer(doRightTransfer); + index++; + } +} + +//set keep date +void ListThread::setKeepDate(const bool keepDate) +{ + mkPathQueue.setKeepDate(keepDate); + this->keepDate=keepDate; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->setKeepDate(keepDate); + index++; + } +} + +//set block size in KB +void ListThread::setBlockSize(const int blockSize) +{ + this->blockSize=blockSize*1024; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->setBlockSize(this->blockSize); + index++; + } + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + setSpeedLimitation(maxSpeed); + #endif +} + +//set auto start +void ListThread::setAutoStart(const bool autoStart) +{ + this->autoStart=autoStart; +} + +#ifdef ULTRACOPIER_PLUGIN_RSYNC +/// \brief set rsync +void ListThread::setRsync(const bool rsync) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+std::to_string(rsync)); + this->rsync=rsync; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->setRsync(rsync); + index++; + } + for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++) + scanFileOrFolderThreadsPool.at(i)->setRsync(rsync); +} +#endif + +//set check destination folder +void ListThread::setCheckDestinationFolderExists(const bool checkDestinationFolderExists) +{ + this->checkDestinationFolderExists=checkDestinationFolderExists; + for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++) + scanFileOrFolderThreadsPool.at(i)->setCheckDestinationFolderExists(checkDestinationFolderExists && alwaysDoThisActionForFolderExists!=FolderExists_Merge); +} + +void ListThread::fileTransfer(const QFileInfo &sourceFileInfo,const QFileInfo &destinationFileInfo,const Ultracopier::CopyMode &mode) +{ + if(stopIt) + return; + addToTransfer(sourceFileInfo,destinationFileInfo,mode); +} + +// -> add thread safe, by Qt::BlockingQueuedConnection +bool ListThread::haveSameSource(const std::vector<std::string> &sources) +{ + if(stopIt) + return false; + if(sourceDriveMultiple) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sourceDriveMultiple"); + return false; + } + if(sourceDrive.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sourceDrive.isEmpty()"); + return true; + } + unsigned int index=0; + while(index<sources.size()) + { + if(driveManagement.getDrive(sources.at(index))!=sourceDrive) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"sources.at(index))!=sourceDrive"); + return false; + } + index++; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"seam have same source"); + return true; +} + +// -> add thread safe, by Qt::BlockingQueuedConnection +bool ListThread::haveSameDestination(const std::string &destination) +{ + if(stopIt) + return false; + if(destinationDriveMultiple) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destinationDriveMultiple"); + return false; + } + if(destinationDrive.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destinationDrive.isEmpty()"); + return true; + } + if(driveManagement.getDrive(destination)!=destinationDrive) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination!=destinationDrive"); + return false; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"seam have same destination"); + return true; +} + +/// \return empty if multiple or no destination +std::string ListThread::getUniqueDestinationFolder() const +{ + if(stopIt) + return std::string(); + if(destinationFolderMultiple) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destinationDriveMultiple"); + return std::string(); + } + return destinationFolder; +} + +ScanFileOrFolder * ListThread::newScanThread(Ultracopier::CopyMode mode) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start with: "+std::to_string(mode)); + + //create new thread because is auto-detroyed + scanFileOrFolderThreadsPool.push_back(new ScanFileOrFolder(mode)); + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::finishedTheListing, this,&ListThread::scanThreadHaveFinishSlot, Qt::QueuedConnection); + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::fileTransfer, this,&ListThread::fileTransfer, Qt::QueuedConnection); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::debugInformation, this,&ListThread::debugInformation, Qt::QueuedConnection); + #endif + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::newFolderListing, this,&ListThread::newFolderListing); + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToMovePath, this,&ListThread::addToMovePath, Qt::QueuedConnection); + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToRealMove, this,&ListThread::addToRealMove, Qt::QueuedConnection); + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToMkPath, this,&ListThread::addToMkPath, Qt::QueuedConnection); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::addToRmForRsync, this,&ListThread::addToRmForRsync, Qt::QueuedConnection); + #endif + + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::errorOnFolder, this,&ListThread::errorOnFolder, Qt::QueuedConnection); + connect(scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::folderAlreadyExists, this,&ListThread::folderAlreadyExists, Qt::QueuedConnection); + + connect(this,&ListThread::send_updateMount, scanFileOrFolderThreadsPool.back(),&ScanFileOrFolder::set_updateMount, Qt::QueuedConnection); + + scanFileOrFolderThreadsPool.back()->setFilters(include,exclude); + scanFileOrFolderThreadsPool.back()->setCheckDestinationFolderExists(checkDestinationFolderExists && alwaysDoThisActionForFolderExists!=FolderExists_Merge); + scanFileOrFolderThreadsPool.back()->setMoveTheWholeFolder(moveTheWholeFolder); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + scanFileOrFolderThreadsPool.back()->setRsync(rsync); + #endif + if(scanFileOrFolderThreadsPool.size()==1) + updateTheStatus(); + scanFileOrFolderThreadsPool.back()->setRenamingRules(firstRenamingRule,otherRenamingRule); + return scanFileOrFolderThreadsPool.back(); +} + +void ListThread::scanThreadHaveFinishSlot() +{ + scanThreadHaveFinish(); +} + +void ListThread::scanThreadHaveFinish(bool skipFirstRemove) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"listing thread have finish, skipFirstRemove: "+std::to_string(skipFirstRemove)); + if(!skipFirstRemove) + { + ScanFileOrFolder * senderThread = qobject_cast<ScanFileOrFolder *>(QObject::sender()); + if(senderThread==NULL) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"sender pointer null (plugin copy engine)"); + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start the next thread, scanFileOrFolderThreadsPool.size(): "+std::to_string(scanFileOrFolderThreadsPool.size())); + delete senderThread; + vectorremoveOne(scanFileOrFolderThreadsPool,senderThread); + if(scanFileOrFolderThreadsPool.empty()) + updateTheStatus(); + } + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start the next thread, scanFileOrFolderThreadsPool.size(): "+std::to_string(scanFileOrFolderThreadsPool.size())); + if(scanFileOrFolderThreadsPool.size()>0) + { + //then start the next listing threads + if(scanFileOrFolderThreadsPool.front()->isFinished()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Start listing thread"); + scanFileOrFolderThreadsPool.front()->start(); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"The listing thread is already running"); + } + else + autoStartAndCheckSpace(); +} + +void ListThread::autoStartAndCheckSpace() +{ + if(needMoreSpace()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Need more space"); + return; + } + autoStartIfNeeded(); +} + +void ListThread::autoStartIfNeeded() +{ + if(autoStart) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Auto start the copy"); + startGeneralTransfer(); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Put the copy engine in pause"); + putInPause=true; + emit isInPause(true); + } +} + +void ListThread::startGeneralTransfer() +{ + doNewActions_inode_manipulation(); +} + +// -> add thread safe, by Qt::BlockingQueuedConnection +bool ListThread::newCopy(const std::vector<std::string> &sources,const std::string &destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+stringimplode(sources,";")+", destination: "+destination); + ScanFileOrFolder * scanFileOrFolderThread = newScanThread(Ultracopier::Copy); + if(scanFileOrFolderThread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to get new thread"); + return false; + } + scanFileOrFolderThread->addToList(sources,destination); + scanThreadHaveFinish(true); + detectDrivesOfCurrentTransfer(sources,destination); + return true; +} + +// -> add thread safe, by Qt::BlockingQueuedConnection +bool ListThread::newMove(const std::vector<std::string> &sources,const std::string &destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + ScanFileOrFolder * scanFileOrFolderThread = newScanThread(Ultracopier::Move); + if(scanFileOrFolderThread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to get new thread"); + return false; + } + scanFileOrFolderThread->addToList(sources,destination); + scanThreadHaveFinish(true); + detectDrivesOfCurrentTransfer(sources,destination); + return true; +} + +void ListThread::detectDrivesOfCurrentTransfer(const std::vector<std::string> &sources,const std::string &destination) +{ + /* code to detect volume/mount point to group by windows */ + if(!sourceDriveMultiple) + { + unsigned int index=0; + while(index<sources.size()) + { + const std::string &tempDrive=driveManagement.getDrive(sources.at(index)); + //if have not already source, set the source + if(sourceDrive.empty()) + sourceDrive=tempDrive; + //if have previous source and the news source is not the same + if(sourceDrive!=tempDrive) + { + sourceDriveMultiple=true; + break; + } + index++; + } + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source informations, sourceDrive: %1, sourceDriveMultiple: %2").arg(QString::fromStdString(sourceDrive)).arg(sourceDriveMultiple).toStdString()); + if(!destinationDriveMultiple) + { + const std::string &tempDrive=driveManagement.getDrive(destination); + //if have not already destination, set the destination + if(destinationDrive.empty()) + destinationDrive=tempDrive; + //if have previous destination and the news destination is not the same + if(destinationDrive!=tempDrive) + destinationDriveMultiple=true; + } + if(!destinationFolderMultiple) + { + //if have not already destination, set the destination + if(destinationFolder.empty()) + destinationFolder=destination; + //if have previous destination and the news destination is not the same + if(destinationFolder!=destination) + destinationFolderMultiple=true; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("destination informations, destinationDrive: %1, destinationDriveMultiple: %2").arg(QString::fromStdString(destinationDrive)).arg(destinationDriveMultiple).toStdString()); +} + +void ListThread::setCollisionAction(const FileExistsAction &alwaysDoThisActionForFileExists) +{ + this->alwaysDoThisActionForFileExists=alwaysDoThisActionForFileExists; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->setAlwaysFileExistsAction(alwaysDoThisActionForFileExists); + index++; + } +} + +/** \brief to sync the transfer list + * Used when the interface is changed, useful to minimize the memory size */ +void ListThread::syncTransferList() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit send_syncTransferList(); +} + +//set the folder local collision +void ListThread::setFolderCollision(const FolderExistsAction &alwaysDoThisActionForFolderExists) +{ + this->alwaysDoThisActionForFolderExists=alwaysDoThisActionForFolderExists; +} + +bool ListThread::getReturnBoolToCopyEngine() const +{ + return returnBoolToCopyEngine; +} + +std::pair<quint64, quint64> ListThread::getReturnPairQuint64ToCopyEngine() const +{ + return returnPairQuint64ToCopyEngine; +} + +Ultracopier::ItemOfCopyList ListThread::getReturnItemOfCopyListToCopyEngine() const +{ + return returnItemOfCopyListToCopyEngine; +} + +void ListThread::set_doChecksum(bool doChecksum) +{ + this->doChecksum=doChecksum; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->set_doChecksum(doChecksum); + index++; + } +} + +void ListThread::set_checksumIgnoreIfImpossible(bool checksumIgnoreIfImpossible) +{ + this->checksumIgnoreIfImpossible=checksumIgnoreIfImpossible; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->set_checksumIgnoreIfImpossible(checksumIgnoreIfImpossible); + index++; + } +} + +void ListThread::set_checksumOnlyOnError(bool checksumOnlyOnError) +{ + this->checksumOnlyOnError=checksumOnlyOnError; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->set_checksumOnlyOnError(checksumOnlyOnError); + index++; + } +} + +void ListThread::set_osBuffer(bool osBuffer) +{ + this->osBuffer=osBuffer; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->set_osBuffer(osBuffer); + index++; + } +} + +void ListThread::set_osBufferLimited(bool osBufferLimited) +{ + this->osBufferLimited=osBufferLimited; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->set_osBufferLimited(osBufferLimited); + index++; + } +} + +void ListThread::realByteTransfered() +{ + quint64 totalRealByteTransfered=0; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + totalRealByteTransfered+=transferThreadList.at(index)->realByteTransfered(); + index++; + } + emit send_realBytesTransfered(totalRealByteTransfered); +} + +void ListThread::pause() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + if(putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Seam already in pause!"); + return; + } + putInPause=true; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->pause(); + index++; + } + emit isInPause(true); +} + +void ListThread::resume() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + if(!putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Seam already resumed!"); + return; + } + putInPause=false; + startGeneralTransfer(); + doNewActions_start_transfer(); + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->resume(); + index++; + } + emit isInPause(false); +} + +void ListThread::skip(const uint64_t &id) +{ + skipInternal(id); +} + +bool ListThread::skipInternal(const uint64_t &id) +{ + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + if(transferThreadList.at(index)->transferId==id) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"skip one transfer: "+std::to_string(id)); + transferThreadList.at(index)->skip(); + return true; + } + index++; + } + int int_for_internal_loop=0; + const int &loop_size=actionToDoListTransfer.size(); + while(int_for_internal_loop<loop_size) + { + if(actionToDoListTransfer.at(int_for_internal_loop).id==id) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] remove at not running, for id: %2").arg(int_for_internal_loop).arg(id).toStdString()); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type=Ultracopier::RemoveItem; + newAction.userAction.moveAt=1; + newAction.addAction=actionToDoTransferToItemOfCopyList(actionToDoListTransfer.at(int_for_internal_loop)); + newAction.userAction.position=int_for_internal_loop; + actionDone.push_back(newAction); + actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+int_for_internal_loop); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString()); + if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty()) + updateTheStatus(); + return true; + } + int_for_internal_loop++; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"skip transfer not found: "+std::to_string(id)); + return false; +} + +//executed in this thread +void ListThread::cancel() +{ + if(stopIt) + { + waitCancel.release(); + return; + } + stopIt=true; + int index=0; + int loop_size=transferThreadList.size(); + while(index<loop_size) + { + transferThreadList.at(index)->stop(); + index++; + } + index=0; + loop_size=scanFileOrFolderThreadsPool.size(); + while(index<loop_size) + { + scanFileOrFolderThreadsPool.at(index)->stop(); + delete scanFileOrFolderThreadsPool.at(index);//->deleteLayer(); + scanFileOrFolderThreadsPool[index]=NULL; + index++; + } + scanFileOrFolderThreadsPool.clear(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + if(clockForTheCopySpeed!=NULL) + { + clockForTheCopySpeed->stop(); + delete clockForTheCopySpeed; + clockForTheCopySpeed=NULL; + } + #endif + checkIfReadyToCancel(); +} + +void ListThread::checkIfReadyToCancel() +{ + if(!stopIt) + return; + int index=0; + int loop_size=transferThreadList.size(); + while(index<loop_size) + { + if(transferThreadList.at(index)!=NULL) + { + if(transferThreadList.at(index)->transferId!=0) + return; + delete transferThreadList.at(index);//->deleteLayer(); + transferThreadList[index]=NULL; + transferThreadList.erase(transferThreadList.cbegin()+index); + loop_size=transferThreadList.size(); + index--; + } + index++; + } + actionToDoListTransfer.clear(); + actionToDoListInode.clear(); + actionToDoListInode_afterTheTransfer.clear(); + actionDone.clear(); + progressionList.clear(); + returnListItemOfCopyListToCopyEngine.clear(); + quit(); + waitCancel.release(); + emit canBeDeleted(); +} + +//speedLimitation in KB/s +bool ListThread::setSpeedLimitation(const int64_t &speedLimitation) +{ + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"maxSpeed in KB/s: "+std::to_string(speedLimitation)); + + if(speedLimitation>1024*1024) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"speedLimitation out of range"); + return false; + } + maxSpeed=speedLimitation; + + multiForBigSpeed=0; + if(maxSpeed>0) + { + blockSizeAfterSpeedLimitation=blockSize; + + //try resolv the interval + int newInterval;//in ms + do + { + multiForBigSpeed++; + //at max speed, is out of range for int, it's why quint64 is used + newInterval=(((quint64)blockSize*(quint64)multiForBigSpeed*1000/* *1000 because interval is into ms, not s*/)/((quint64)maxSpeed*(quint64)1024)); + if(newInterval<0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"calculated newInterval wrong"); + return false; + } + } + while(newInterval<ULTRACOPIER_PLUGIN_MINTIMERINTERVAL); + + if(newInterval<=0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"calculated newInterval wrong"); + return false; + } + //wait time too big, then shrink the block size and set interval to max size + if(newInterval>ULTRACOPIER_PLUGIN_MAXTIMERINTERVAL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"wait time too big, then shrink the block size and set interval to max size"); + newInterval=ULTRACOPIER_PLUGIN_MAXTIMERINTERVAL; + multiForBigSpeed=1; + blockSizeAfterSpeedLimitation=(this->maxSpeed*1024*newInterval)/1000; + + if(blockSizeAfterSpeedLimitation<10) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"calculated block size wrong"); + return false; + } + + //set the new block size into the thread + const int &loop_size=transferThreadList.size(); + int int_for_loop=0; + while(int_for_loop<loop_size) + { + if(!transferThreadList.at(int_for_loop)->setBlockSize(blockSizeAfterSpeedLimitation)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the block size"); + int_for_loop++; + } + } + + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("fixed speed with new block size and new interval in BlockSize: %1, multiForBigSpeed: %2, newInterval: %3, maxSpeed: %4") + .arg(blockSizeAfterSpeedLimitation) + .arg(multiForBigSpeed) + .arg(newInterval) + .arg(maxSpeed) + .toStdString() + ); + + clockForTheCopySpeed->setInterval(newInterval); + if(clockForTheCopySpeed!=NULL) + clockForTheCopySpeed->start(); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"clockForTheCopySpeed == NULL at this point"); + } + else + { + if(clockForTheCopySpeed!=NULL) + clockForTheCopySpeed->stop(); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"clockForTheCopySpeed == NULL at this point"); + int int_for_loop=0; + const int &loop_size=transferThreadList.size(); + while(int_for_loop<loop_size) + { + transferThreadList.at(int_for_loop)->setBlockSize(blockSize); + int_for_loop++; + } + } + int int_for_loop=0; + const int &loop_size=transferThreadList.size(); + while(int_for_loop<loop_size) + { + transferThreadList.at(int_for_loop)->setMultiForBigSpeed(multiForBigSpeed); + int_for_loop++; + } + + return true; + #else + Q_UNUSED(speedLimitation); + return false; + #endif +} + +void ListThread::updateTheStatus() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + sendActionDone(); + bool updateTheStatus_listing=scanFileOrFolderThreadsPool.size()>0; + bool updateTheStatus_copying=actionToDoListTransfer.size()>0 || actionToDoListInode.size()>0 || actionToDoListInode_afterTheTransfer.size()>0; + Ultracopier::EngineActionInProgress updateTheStatus_action_in_progress; + if(updateTheStatus_copying && updateTheStatus_listing) + updateTheStatus_action_in_progress=Ultracopier::CopyingAndListing; + else if(updateTheStatus_listing) + updateTheStatus_action_in_progress=Ultracopier::Listing; + else if(updateTheStatus_copying) + updateTheStatus_action_in_progress=Ultracopier::Copying; + else + updateTheStatus_action_in_progress=Ultracopier::Idle; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit actionInProgess("+std::to_string(updateTheStatus_action_in_progress)+")"); + emit actionInProgess(updateTheStatus_action_in_progress); +} + +//set data local to the thread +void ListThread::setAlwaysFileExistsAction(const FileExistsAction &alwaysDoThisActionForFileExists) +{ + this->alwaysDoThisActionForFileExists=alwaysDoThisActionForFileExists; + int int_for_loop=0; + const int &loop_size=transferThreadList.size(); + while(int_for_loop<loop_size) + { + transferThreadList.at(int_for_loop)->setAlwaysFileExistsAction(alwaysDoThisActionForFileExists); + int_for_loop++; + } +} + +//mk path to do +uint64_t ListThread::addToMkPath(const QFileInfo& source,const QFileInfo& destination, const int& inode) +{ + if(stopIt) + return 0; + if(inode!=0 && (!keepDate && !doRightTransfer)) + return 0; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + ActionToDoInode temp; + temp.type = ActionType_MkPath; + temp.id = generateIdNumber(); + temp.source = source; + temp.destination= destination; + temp.isRunning = false; + actionToDoListInode.push_back(temp); + return temp.id; +} + +//add rm path to do +void ListThread::addToMovePath(const QFileInfo& source, const QFileInfo &destination, const int& inodeToRemove) +{ + if(stopIt) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, inodeToRemove: %3").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).arg(inodeToRemove).toStdString()); + ActionToDoInode temp; + temp.type = ActionType_MovePath; + temp.id = generateIdNumber(); + temp.size = inodeToRemove; + temp.source = source; + temp.destination= destination; + temp.isRunning = false; + actionToDoListInode.push_back(temp); +} + +void ListThread::addToRealMove(const QFileInfo& source,const QFileInfo& destination) +{ + if(stopIt) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + ActionToDoInode temp; + temp.type = ActionType_RealMove; + temp.id = generateIdNumber(); + temp.size = 0; + temp.source = source; + temp.destination= destination; + temp.isRunning = false; + actionToDoListInode.push_back(temp); +} + +#ifdef ULTRACOPIER_PLUGIN_RSYNC +//rsync rm +void ListThread::addToRmForRsync(const QFileInfo& destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"inode: "+destination.absoluteFilePath().toStdString()); + ActionToDoInode temp; + temp.type = ActionType_RmSync; + temp.id = generateIdNumber(); + temp.destination= destination; + temp.isRunning = false; + actionToDoListInode.push_back(temp); +} +#endif + +//send action done +void ListThread::sendActionDone() +{ + if(!actionDone.empty()) + { + emit newActionOnList(actionDone); + actionDone.clear(); + } + if(!timeToTransfer.empty()) + { + emit doneTime(timeToTransfer); + timeToTransfer.clear(); + } +} + +//send progression +void ListThread::sendProgression() +{ + if(actionToDoListTransfer.empty()) + return; + oversize=0; + currentProgression=0; + int int_for_loop=0; + const int &loop_size=transferThreadList.size(); + while(int_for_loop<loop_size) + { + TransferThread * temp_transfer_thread=transferThreadList.at(int_for_loop); + switch(temp_transfer_thread->getStat()) + { + case TransferStat_Transfer: + case TransferStat_PostTransfer: + case TransferStat_Checksum: + case TransferStat_PostOperation: + { + copiedSize=temp_transfer_thread->copiedSize(); + + //for the general progression + currentProgression+=copiedSize; + + //the oversize (when the file is bigger after/during the copy then what was during the listing) + if(copiedSize>(qint64)temp_transfer_thread->transferSize) + localOverSize=copiedSize-temp_transfer_thread->transferSize; + else + localOverSize=0; + + //the current size copied + totalSize=temp_transfer_thread->transferSize+localOverSize; + std::pair<uint64_t,uint64_t> progression=temp_transfer_thread->progression(); + tempItem.currentRead=progression.first; + tempItem.currentWrite=progression.second; + tempItem.id=temp_transfer_thread->transferId; + tempItem.total=totalSize; + progressionList.push_back(tempItem); + + //add the oversize to the general progression + oversize+=localOverSize; + } + break; + default: + break; + } + int_for_loop++; + } + emit pushFileProgression(progressionList); + progressionList.clear(); + emit pushGeneralProgression(bytesTransfered+currentProgression,bytesToTransfer+oversize); + realByteTransfered(); +} + +//send the progression, after full reset of the interface (then all is empty) +void ListThread::syncTransferList_internal() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit syncReady(); + actionDone.clear(); + //do list operation + TransferThread *transferThread; + const int &loop_size=actionToDoListTransfer.size(); + int loop_sub_size=transferThreadList.size(); + //this loop to have at max inodeThreads*inodeThreads, not inodeThreads*transferThreadList.size() + int int_for_internal_loop; + for(int int_for_loop=0; int_for_loop<loop_size; ++int_for_loop) { + const ActionToDoTransfer &item=actionToDoListTransfer.at(int_for_loop); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type = Ultracopier::PreOperation; + newAction.addAction.id = item.id; + newAction.addAction.sourceFullPath = item.source.absoluteFilePath().toStdString(); + newAction.addAction.sourceFileName = item.source.fileName().toStdString(); + newAction.addAction.destinationFullPath = item.destination.absoluteFilePath().toStdString(); + newAction.addAction.destinationFileName = item.destination.fileName().toStdString(); + newAction.addAction.size = item.size; + newAction.addAction.mode = item.mode; + actionDone.push_back(newAction); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, size: %2, name: %3, size2: %4").arg(item.id).arg(item.size).arg(item.source.absoluteFilePath()).arg(newAction.addAction.size).toStdString()); + if(item.isRunning) + { + for(int_for_internal_loop=0; int_for_internal_loop<loop_sub_size; ++int_for_internal_loop) { + transferThread=transferThreadList.at(int_for_internal_loop); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type = Ultracopier::PreOperation; + newAction.addAction.id = item.id; + newAction.addAction.sourceFullPath = item.source.absoluteFilePath().toStdString(); + newAction.addAction.sourceFileName = item.source.fileName().toStdString(); + newAction.addAction.destinationFullPath = item.destination.absoluteFilePath().toStdString(); + newAction.addAction.destinationFileName = item.destination.fileName().toStdString(); + newAction.addAction.size = item.size; + newAction.addAction.mode = item.mode; + actionDone.push_back(newAction); + if(transferThread->getStat()!=TransferStat_PreOperation) + { + Ultracopier::ReturnActionOnCopyList newAction; + switch(transferThread->getStat()) + { + case TransferStat_Transfer: + newAction.type=Ultracopier::Transfer; + break; + /*case TransferStat_PostTransfer: + newAction.type=Ultracopier::PostOperation; + break;*/ + case TransferStat_PostOperation: + newAction.type=Ultracopier::PostOperation; + break; + default: + break; + } + newAction.addAction.id = item.id; + actionDone.push_back(newAction); + } + } + } + } +} + +//add file transfer to do +uint64_t ListThread::addToTransfer(const QFileInfo& source,const QFileInfo& destination,const Ultracopier::CopyMode& mode) +{ + if(stopIt) + return 0; + //add to transfer list + numberOfTransferIntoToDoList++; + quint64 size=0; + if(!source.isSymLink()) + size=source.size(); + const std::string &drive=driveManagement.getDrive(destination.absoluteFilePath().toStdString()); + if(!drive.empty())//can be a network drive + if(mode!=Ultracopier::Move || drive!=driveManagement.getDrive(source.absoluteFilePath().toStdString())) + { + if(requiredSpace.find(drive)!=requiredSpace.cend()) + { + requiredSpace[drive]+=size; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("space needed add: %1, space needed: %2, on: %3").arg(size).arg(requiredSpace.at(drive)).arg(QString::fromStdString(drive)).toStdString()); + } + else + { + requiredSpace[drive]=size; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("set space %1 needed, on: %2").arg(size).arg(QString::fromStdString(drive)).toStdString()); + } + } + bytesToTransfer+= size; + ActionToDoTransfer temp; + temp.id = generateIdNumber(); + temp.size = size; + temp.source = source; + temp.destination= destination; + temp.mode = mode; + temp.isRunning = false; + actionToDoListTransfer.push_back(temp); + //push the new transfer to interface + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type = Ultracopier::AddingItem; + newAction.addAction=actionToDoTransferToItemOfCopyList(temp); + actionDone.push_back(newAction); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, add entry: %3, size: %4, size2: %5, isSymLink: %6").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).arg(temp.id).arg(temp.size).arg(size).arg(source.isSymLink()).toStdString()); + return temp.id; +} + +Ultracopier::ItemOfCopyList ListThread::actionToDoTransferToItemOfCopyList(const ListThread::ActionToDoTransfer &actionToDoTransfer) +{ + Ultracopier::ItemOfCopyList itemOfCopyList; + itemOfCopyList.id = actionToDoTransfer.id; + itemOfCopyList.sourceFullPath = actionToDoTransfer.source.absoluteFilePath().toStdString(); + itemOfCopyList.sourceFileName = actionToDoTransfer.source.fileName().toStdString(); + itemOfCopyList.destinationFullPath = actionToDoTransfer.destination.absoluteFilePath().toStdString(); + itemOfCopyList.destinationFileName = actionToDoTransfer.destination.fileName().toStdString(); + itemOfCopyList.size = actionToDoTransfer.size; + itemOfCopyList.mode = actionToDoTransfer.mode; + return itemOfCopyList; +} + +//generate id number +uint64_t ListThread::generateIdNumber() +{ + idIncrementNumber++; + if(idIncrementNumber>(((quint64)1024*1024)*1024*1024*2)) + idIncrementNumber=0; + return idIncrementNumber; +} + +//warning the first entry is accessible will copy +void ListThread::removeItems(const std::vector<uint64_t> &ids) +{ + for(unsigned int i=0;i<ids.size();i++) + skipInternal(ids.at(i)); +} + +//put on top +void ListThread::moveItemsOnTop(std::vector<uint64_t> ids) +{ + if(actionToDoListTransfer.size()<=1) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"list size is empty"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + //do list operation + int indexToMove=0; + for (unsigned int i=0; i<actionToDoListTransfer.size(); ++i) { + if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id)) + { + vectorremoveOne(ids,actionToDoListTransfer.at(i).id); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(indexToMove)); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type=Ultracopier::MoveItem; + newAction.addAction.id=actionToDoListTransfer.at(i).id; + newAction.userAction.moveAt=indexToMove; + newAction.userAction.position=i; + actionDone.push_back(newAction); + ActionToDoTransfer temp=actionToDoListTransfer.at(i); + actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+i); + actionToDoListTransfer.insert(actionToDoListTransfer.cbegin()+indexToMove,temp); + indexToMove++; + if(ids.empty()) + return; + } + } + sendActionDone(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +//move up +void ListThread::moveItemsUp(std::vector<uint64_t> ids) +{ + if(actionToDoListTransfer.size()<=1) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"list size is empty"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + //do list operation + int lastGoodPositionReal=0; + bool haveGoodPosition=false; + for (unsigned int i=0; i<actionToDoListTransfer.size(); ++i) { + if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id)) + { + if(haveGoodPosition) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(i-1)); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type=Ultracopier::MoveItem; + newAction.addAction.id=actionToDoListTransfer.at(i).id; + newAction.userAction.moveAt=lastGoodPositionReal; + newAction.userAction.position=i; + actionDone.push_back(newAction); + ActionToDoTransfer temp1=actionToDoListTransfer.at(i); + ActionToDoTransfer temp2=actionToDoListTransfer.at(lastGoodPositionReal); + actionToDoListTransfer[i]=temp2; + actionToDoListTransfer[lastGoodPositionReal]=temp1; + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Try move up false, item "+std::to_string(i)); + vectorremoveOne(ids,actionToDoListTransfer.at(i).id); + if(ids.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop with return"); + return; + } + } + else + { + lastGoodPositionReal=i; + haveGoodPosition=true; + } + } + sendActionDone(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +//move down +void ListThread::moveItemsDown(std::vector<uint64_t> ids) +{ + if(actionToDoListTransfer.size()<=1) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"list size is empty"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + //do list operation + int lastGoodPositionReal=0; + bool haveGoodPosition=false; + for (int i=actionToDoListTransfer.size()-1; i>=0; --i) { + if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id)) + { + if(haveGoodPosition) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(i+1)); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type=Ultracopier::MoveItem; + newAction.addAction.id=actionToDoListTransfer.at(i).id; + newAction.userAction.moveAt=lastGoodPositionReal; + newAction.userAction.position=i; + actionDone.push_back(newAction); + ActionToDoTransfer temp1=actionToDoListTransfer.at(i); + ActionToDoTransfer temp2=actionToDoListTransfer.at(lastGoodPositionReal); + actionToDoListTransfer[i]=temp2; + actionToDoListTransfer[lastGoodPositionReal]=temp1; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Try move up false, item "+std::to_string(i)); + } + vectorremoveOne(ids,actionToDoListTransfer.at(i).id); + if(ids.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop with return"); + return; + } + } + else + { + lastGoodPositionReal=i; + haveGoodPosition=true; + } + } + sendActionDone(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +//put on bottom +void ListThread::moveItemsOnBottom(std::vector<uint64_t> ids) +{ + if(actionToDoListTransfer.size()<=1) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"list size is empty"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + //do list operation + int lastGoodPositionReal=actionToDoListTransfer.size()-1; + for (int i=lastGoodPositionReal; i>=0; --i) { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Check action on item "+std::to_string(i)); + if(vectorcontainsAtLeastOne(ids,actionToDoListTransfer.at(i).id)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"move item "+std::to_string(i)+" to "+std::to_string(lastGoodPositionReal)); + vectorremoveOne(ids,actionToDoListTransfer.at(i).id); + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type=Ultracopier::MoveItem; + newAction.addAction.id=actionToDoListTransfer.at(i).id; + newAction.userAction.moveAt=lastGoodPositionReal; + newAction.userAction.position=i; + actionDone.push_back(newAction); + ActionToDoTransfer temp=actionToDoListTransfer.at(i); + actionToDoListTransfer.erase(actionToDoListTransfer.cbegin()+i); + actionToDoListTransfer.insert(actionToDoListTransfer.cbegin()+lastGoodPositionReal,temp); + lastGoodPositionReal--; + if(ids.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop with return"); + return; + } + } + } + sendActionDone(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"stop"); +} + +/** \brief give the forced mode, to export/import transfer list */ +void ListThread::forceMode(const Ultracopier::CopyMode &mode) +{ + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(mode==Ultracopier::Move) + setRsync(false); + #endif + if(mode==Ultracopier::Copy) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to copy"); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Force mode to move"); + this->mode=mode; + forcedMode=true; +} + +void ListThread::exportTransferList(const std::string &fileName) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + QFile transferFile(QString::fromStdString(fileName)); + if(transferFile.open(QIODevice::WriteOnly|QIODevice::Truncate)) + { + transferFile.write(QStringLiteral("Ultracopier;Transfer-list;").toUtf8()); + if(!forcedMode) + transferFile.write(QStringLiteral("Transfer;").toUtf8()); + else + { + if(mode==Ultracopier::Copy) + transferFile.write(QStringLiteral("Copy;").toUtf8()); + else + transferFile.write(QStringLiteral("Move;").toUtf8()); + } + transferFile.write(QStringLiteral("Ultracopier\n").toUtf8()); + bool haveError=false; + int size=actionToDoListTransfer.size(); + for (int index=0;index<size;++index) { + if(actionToDoListTransfer.at(index).mode==Ultracopier::Copy) + { + if(!forcedMode || mode==Ultracopier::Copy) + { + if(forcedMode) + transferFile.write(QStringLiteral("%1;%2\n").arg(actionToDoListTransfer.at(index).source.absoluteFilePath()).arg(actionToDoListTransfer.at(index).destination.absoluteFilePath()).toUtf8()); + else + transferFile.write(QStringLiteral("Copy;%1;%2\n").arg(actionToDoListTransfer.at(index).source.absoluteFilePath()).arg(actionToDoListTransfer.at(index).destination.absoluteFilePath()).toUtf8()); + } + else + haveError=true; + } + else if(actionToDoListTransfer.at(index).mode==Ultracopier::Move) + { + if(!forcedMode || mode==Ultracopier::Move) + { + if(forcedMode) + transferFile.write(QStringLiteral("%1;%2\n").arg(actionToDoListTransfer.at(index).source.absoluteFilePath()).arg(actionToDoListTransfer.at(index).destination.absoluteFilePath()).toUtf8()); + else + transferFile.write(QStringLiteral("Move;%1;%2\n").arg(actionToDoListTransfer.at(index).source.absoluteFilePath()).arg(actionToDoListTransfer.at(index).destination.absoluteFilePath()).toUtf8()); + } + else + haveError=true; + } + } + if(haveError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()).toStdString()); + emit errorTransferList(tr("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()).toStdString()); + } + transferFile.close(); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to save the transfer list: %1").arg(transferFile.errorString()).toStdString()); + emit errorTransferList(tr("Unable to save the transfer list: %1").arg(transferFile.errorString()).toStdString()); + return; + } +} + +void ListThread::importTransferList(const std::string &fileName) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + QFile transferFile(QString::fromStdString(fileName)); + if(transferFile.open(QIODevice::ReadOnly)) + { + std::string content; + QByteArray data=transferFile.readLine(64); + if(data.size()<=0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Problem reading file, or file-size is 0"); + emit errorTransferList(tr("Problem reading file, or file-size is 0").toStdString()); + return; + } + content=QString::fromUtf8(data).toStdString(); + if(content!="Ultracopier;Transfer-list;Transfer;Ultracopier\n" && content!="Ultracopier;Transfer-list;Copy;Ultracopier\n" && content!="Ultracopier;Transfer-list;Move;Ultracopier\n") + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Wrong header: "+content); + emit errorTransferList(tr("Wrong header: \"%1\"").arg(QString::fromStdString(content)).toStdString()); + return; + } + bool transferListMixedMode=false; + if(content=="Ultracopier;Transfer-list;Transfer;Ultracopier\n") + { + if(forcedMode) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The transfer list is in mixed mode, but this instance is not"); + emit errorTransferList(tr("The transfer list is in mixed mode, but this instance is not in this mode").toStdString()); + return; + } + else + transferListMixedMode=true; + } + if(content=="Ultracopier;Transfer-list;Copy;Ultracopier\n" && (forcedMode && mode==Ultracopier::Move)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The transfer list is in copy mode, but this instance is not: forcedMode: %1, mode: %2").arg(forcedMode).arg(mode).toStdString()); + emit errorTransferList(tr("The transfer list is in copy mode, but this instance is not in this mode").toStdString()); + return; + } + if(content=="Ultracopier;Transfer-list;Move;Ultracopier\n" && (forcedMode && mode==Ultracopier::Copy)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The transfer list is in move mode, but this instance is not: forcedMode: %1, mode: %2").arg(forcedMode).arg(mode).toStdString()); + emit errorTransferList(tr("The transfer list is in move mode, but this instance is not in this mode").toStdString()); + return; + } + + bool updateTheStatus_copying=actionToDoListTransfer.size()>0 || actionToDoListInode.size()>0 || actionToDoListInode_afterTheTransfer.size()>0; + Ultracopier::EngineActionInProgress updateTheStatus_action_in_progress; + if(updateTheStatus_copying) + updateTheStatus_action_in_progress=Ultracopier::CopyingAndListing; + else + updateTheStatus_action_in_progress=Ultracopier::Listing; + emit actionInProgess(updateTheStatus_action_in_progress); + + bool errorFound=false; + std::regex correctLine; + if(transferListMixedMode) + correctLine=std::regex("^(Copy|Move);[^;]+;[^;]+[\n\r]*$"); + else + correctLine=std::regex("^[^;]+;[^;]+[\n\r]*$"); + std::vector<std::string> args; + Ultracopier::CopyMode tempMode; + do + { + data=transferFile.readLine(65535*2); + if(data.size()>0) + { + content=std::string(data.constData(),data.size()); + //do the import here + if(std::regex_match(content,correctLine)) + { + stringreplaceAll(content,"\n",""); + args=stringsplit(content,';'); + if(forcedMode) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("New data to import in forced mode: %2,%3") + .arg(QString::fromStdString(args.at(0))) + .arg(QString::fromStdString(args.at(1))) + .toStdString()); + addToTransfer(QFileInfo(QString::fromStdString(args.at(0))),QFileInfo(QString::fromStdString(args.at(1))),mode); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("New data to import: %1,%2,%3") + .arg(QString::fromStdString(args.at(0))) + .arg(QString::fromStdString(args.at(1))) + .arg(QString::fromStdString(args.at(2))) + .toStdString()); + if(args.at(0)=="Copy") + tempMode=Ultracopier::Copy; + else + tempMode=Ultracopier::Move; + addToTransfer(QFileInfo(QString::fromStdString(args.at(1))),QFileInfo(QString::fromStdString(args.at(2))),tempMode); + } + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Wrong line syntax: "+content); + errorFound=true; + } + } + } + while(data.size()>0); + transferFile.close(); + if(errorFound) + emit warningTransferList(tr("Some errors have been found during the line parsing").toStdString()); + + updateTheStatus();//->sendActionDone(); into this + autoStartAndCheckSpace(); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Unable to open the transfer list: %1").arg(transferFile.errorString()).toStdString()); + emit errorTransferList(tr("Unable to open the transfer list: %1").arg(transferFile.errorString()).toStdString()); + return; + } +} + +int ListThread::getNumberOfTranferRuning() const +{ + int numberOfTranferRuning=0; + const int &loop_size=transferThreadList.size(); + //lunch the transfer in WaitForTheTransfer + int int_for_loop=0; + while(int_for_loop<loop_size) + { + if(transferThreadList.at(int_for_loop)->getStat()==TransferStat_Transfer && transferThreadList.at(int_for_loop)->transferId!=0 && transferThreadList.at(int_for_loop)->transferSize>=parallelizeIfSmallerThan) + numberOfTranferRuning++; + int_for_loop++; + } + return numberOfTranferRuning; +} + +//return +bool ListThread::needMoreSpace() const +{ + if(!checkDiskSpace) + return false; + std::vector<Diskspace> diskspace_list; + for( auto& spaceDrive : requiredSpace ) { + const QString &drive=QString::fromStdString(spaceDrive.first); + #ifdef Q_OS_WIN32 + if(spaceDrive.first!="A:\\" && spaceDrive.first!="A:/" && spaceDrive.first!="A:" && spaceDrive.first!="A" && spaceDrive.first!="a:\\" && spaceDrive.first!="a:/" && spaceDrive.first!="a:" && spaceDrive.first!="a") + { + #endif + QStorageInfo storageInfo(drive); + storageInfo.refresh(); + const qint64 &availableSpace=storageInfo.bytesAvailable(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + const qint64 &bytesFree=storageInfo.bytesFree(); + #endif + + if(availableSpace<0 || + //workaround for all 0 value in case of bug from Qt + (availableSpace==0 && storageInfo.bytesTotal()==0) + ) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("availableSpace: %1, space needed: %2, on: %3, bytesFree: %4").arg(availableSpace).arg(spaceDrive.second).arg(drive).arg(bytesFree).toStdString()); + } + else if(spaceDrive.second>(quint64)availableSpace) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("availableSpace: %1, space needed: %2, on: %3, bytesFree: %4").arg(availableSpace).arg(spaceDrive.second).arg(drive).arg(bytesFree).toStdString()); + #ifdef Q_OS_WIN32 + //if(drive.contains(QRegularExpression("^[a-zA-Z]:[\\\\/]"))) + if(drive.contains(QRegularExpression("^[a-zA-Z]:"))) + #endif + { + Diskspace diskspace; + diskspace.drive=spaceDrive.first; + diskspace.freeSpace=availableSpace; + diskspace.requiredSpace=spaceDrive.second; + diskspace_list.push_back(diskspace); + } + #ifdef Q_OS_WIN32 + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"not local drive"); + #endif + } + #ifdef Q_OS_WIN32 + } + #endif + } + if(!diskspace_list.empty()) + emit missingDiskSpace(diskspace_list); + return ! diskspace_list.empty(); +} + +//do new actions +void ListThread::doNewActions_start_transfer() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, numberOfTranferRuning: %2").arg(actionToDoListTransfer.size()).arg(getNumberOfTranferRuning()).toStdString()); + if(stopIt || putInPause) + return; + int numberOfTranferRuning=getNumberOfTranferRuning(); + const int &loop_size=transferThreadList.size(); + //lunch the transfer in WaitForTheTransfer + int int_for_loop=0; + while(int_for_loop<loop_size) + { + if(transferThreadList.at(int_for_loop)->getStat()==TransferStat_WaitForTheTransfer) + { + if(transferThreadList.at(int_for_loop)->transferSize>=parallelizeIfSmallerThan) + { + if(numberOfTranferRuning<ULTRACOPIER_PLUGIN_MAXPARALLELTRANFER) + { + transferThreadList.at(int_for_loop)->startTheTransfer(); + numberOfTranferRuning++; + } + } + else + transferThreadList.at(int_for_loop)->startTheTransfer(); + } + int_for_loop++; + } + int_for_loop=0; + while(int_for_loop<loop_size) + { + if(transferThreadList.at(int_for_loop)->getStat()==TransferStat_PreOperation) + { + if(transferThreadList.at(int_for_loop)->transferSize>=parallelizeIfSmallerThan) + { + if(numberOfTranferRuning<ULTRACOPIER_PLUGIN_MAXPARALLELTRANFER) + { + transferThreadList.at(int_for_loop)->startTheTransfer(); + numberOfTranferRuning++; + } + } + else + transferThreadList.at(int_for_loop)->startTheTransfer(); + } + int_for_loop++; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfTranferRuning: "+std::to_string(numberOfTranferRuning)); +} + +/** \brief lunch the pre-op or inode op + 1) locate the next next item to do into the both list + 1a) optimisation posible on the mkpath/rmpath + 2) determine what need be lunched + 3) lunch it, rerun the 2) + */ +void ListThread::doNewActions_inode_manipulation() +{ + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionToDoList.size(): "+std::to_string(actionToDoListTransfer.size())); + #endif + if(stopIt) + checkIfReadyToCancel(); + if(stopIt || putInPause) + return; + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + #endif + //lunch the pre-op or inode op + TransferThread *currentTransferThread; + int int_for_loop=0; + int int_for_internal_loop=0; + int int_for_transfer_thread_search=0; + actionToDoListTransfer_count=actionToDoListTransfer.size(); + actionToDoListInode_count=actionToDoListInode.size(); + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + //search the next transfer action to do + while(int_for_loop<actionToDoListTransfer_count) + { + if(!actionToDoListTransfer.at(int_for_loop).isRunning) + { + //search the next inode action to do + while(int_for_internal_loop<actionToDoListInode_count) + { + if(!actionToDoListInode.at(int_for_internal_loop).isRunning) + { + if(actionToDoListTransfer.at(int_for_loop).id<actionToDoListInode.at(int_for_internal_loop).id) + { + //do the tranfer action in the next code + break; + } + else + { + //do the inode action + #include "ListThread_InodeAction.cpp" + } + } + int_for_internal_loop++; + } + ActionToDoTransfer& currentActionToDoTransfer=actionToDoListTransfer[int_for_loop]; + //do the tranfer action + while(int_for_transfer_thread_search<loop_sub_size_transfer_thread_search) + { + /** + transferThreadList.at(int_for_transfer_thread_search)->transferId==0) /!\ important! + Because the other thread can have call doNewAction before than this thread have the finish event parsed! + I this case it lose all data + */ + currentTransferThread=transferThreadList.at(int_for_transfer_thread_search); + if(currentTransferThread->getStat()==TransferStat_Idle && currentTransferThread->transferId==0) // /!\ important! + { + std::string drive=driveManagement.getDrive(actionToDoListTransfer.at(int_for_internal_loop).destination.absoluteFilePath().toStdString()); + if(requiredSpace.find(drive)!=requiredSpace.cend() && (actionToDoListTransfer.at(int_for_internal_loop).mode!=Ultracopier::Move || drive!=driveManagement.getDrive(actionToDoListTransfer.at(int_for_internal_loop).source.absoluteFilePath().toStdString()))) + { + requiredSpace[drive]-=actionToDoListTransfer.at(int_for_internal_loop).size; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("space needed removed: %1, space needed: %2, on: %3").arg(actionToDoListTransfer.at(int_for_internal_loop).size).arg(requiredSpace.at(drive)).arg(QString::fromStdString(drive)).toStdString()); + } + currentTransferThread->transferId=currentActionToDoTransfer.id; + currentTransferThread->transferSize=currentActionToDoTransfer.size; + if(!currentTransferThread->setFiles( + currentActionToDoTransfer.source, + currentActionToDoTransfer.size, + currentActionToDoTransfer.destination, + currentActionToDoTransfer.mode + )) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] id: %2 is idle, but seam busy at set name: %3").arg(int_for_loop).arg(currentTransferThread->transferId).arg(currentActionToDoTransfer.destination.absoluteFilePath()).toStdString()); + break; + } + currentActionToDoTransfer.isRunning=true; + + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[%1] id: %2 is idle, use it for %3").arg(int_for_loop).arg(currentTransferThread->transferId).arg(currentActionToDoTransfer.destination.absoluteFilePath()).toStdString()); + + /// \note wrong position? Else write why it's here + Ultracopier::ReturnActionOnCopyList newAction; + newAction.type = Ultracopier::PreOperation; + newAction.addAction.id = currentActionToDoTransfer.id; + newAction.addAction.sourceFullPath = currentActionToDoTransfer.source.absoluteFilePath().toStdString(); + newAction.addAction.sourceFileName = currentActionToDoTransfer.source.fileName().toStdString(); + newAction.addAction.destinationFullPath = currentActionToDoTransfer.destination.absoluteFilePath().toStdString(); + newAction.addAction.destinationFileName = currentActionToDoTransfer.destination.fileName().toStdString(); + newAction.addAction.size = currentActionToDoTransfer.size; + newAction.addAction.mode = currentActionToDoTransfer.mode; + actionDone.push_back(newAction); + int_for_transfer_thread_search++; + numberOfInodeOperation++; + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation)); + #endif + break; + } + int_for_transfer_thread_search++; + } + if(int_for_internal_loop==loop_sub_size_transfer_thread_search) + { + /// \note Can be normal when all thread is not initialized + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unable to found free thread to do the transfer"); + #endif + break; + } + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation)); + #endif + if(numberOfInodeOperation>=inodeThreads) + break; + if(followTheStrictOrder) + break; + } + int_for_loop++; + } + //search the next inode action to do + int_for_internal_loop=0; + while(int_for_internal_loop<actionToDoListInode_count) + { + if(!actionToDoListInode.at(int_for_internal_loop).isRunning) + { + //do the inode action + #include "ListThread_InodeAction.cpp" + } + int_for_internal_loop++; + } + //error checking + if(actionToDoListInode_count>inodeThreads) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("The index have been detected as out of max range: %1>%2").arg(actionToDoListInode_count).arg(inodeThreads).toStdString()); + return; + } +} + +//restart transfer if it can +void ListThread::restartTransferIfItCan() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + TransferThread *transfer=qobject_cast<TransferThread *>(QObject::sender()); + if(transfer==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"transfer thread not located!"); + return; + } + int numberOfTranferRuning=getNumberOfTranferRuning(); + if(numberOfTranferRuning<ULTRACOPIER_PLUGIN_MAXPARALLELTRANFER && transfer->getStat()==TransferStat_WaitForTheTransfer) + transfer->startTheTransfer(); + doNewActions_start_transfer(); +} + +/// \brief update the transfer stat +void ListThread::newTransferStat(const TransferStat &stat,const quint64 &id) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"TransferStat: "+std::to_string(stat)); + Ultracopier::ReturnActionOnCopyList newAction; + switch(stat) + { + case TransferStat_Idle: + return; + break; + case TransferStat_PreOperation: + return; + break; + case TransferStat_WaitForTheTransfer: + return; + break; + case TransferStat_Transfer: + newAction.type=Ultracopier::Transfer; + break; + case TransferStat_PostTransfer: + case TransferStat_PostOperation: + newAction.type=Ultracopier::PostOperation; + break; + case TransferStat_Checksum: + newAction.type=Ultracopier::CustomOperation; + break; + default: + return; + break; + } + newAction.addAction.id = id; + actionDone.push_back(newAction); +} + +void ListThread::set_osBufferLimit(const unsigned int &osBufferLimit) +{ + this->osBufferLimit=osBufferLimit; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->set_osBufferLimit(osBufferLimit); + index++; + } +} + +void ListThread::set_setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("include.size(): %1, exclude.size(): %2").arg(include.size()).arg(exclude.size()).toStdString()); + this->include=include; + this->exclude=exclude; + unsigned int index=0; + while(index<scanFileOrFolderThreadsPool.size()) + { + scanFileOrFolderThreadsPool.at(index)->setFilters(include,exclude); + index++; + } +} + +void ListThread::set_sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule) +{ + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; + emit send_sendNewRenamingRules(firstRenamingRule,otherRenamingRule); +} + +void ListThread::set_updateMount() +{ + driveManagement.tryUpdate(); + emit send_updateMount(); +} + +void ListThread::mkPathFirstFolderFinish() +{ + int int_for_loop=0; + const int &loop_size=actionToDoListInode.size(); + while(int_for_loop<loop_size) + { + if(actionToDoListInode.at(int_for_loop).isRunning) + { + if(actionToDoListInode.at(int_for_loop).type==ActionType_MkPath) + { + //to send to the log + emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath().toStdString()); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("stop mkpath: %1").arg(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath()).toStdString()); + actionToDoListInode.erase(actionToDoListInode.cbegin()+int_for_loop); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString()); + if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty()) + updateTheStatus(); + numberOfInodeOperation--; + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation)); + #endif + doNewActions_inode_manipulation(); + return; + } + if(actionToDoListInode.at(int_for_loop).type==ActionType_MovePath || actionToDoListInode.at(int_for_loop).type==ActionType_RealMove + #ifdef ULTRACOPIER_PLUGIN_RSYNC + || actionToDoListInode.at(int_for_loop).type==ActionType_RmSync + #endif + ) + { + //to send to the log + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(actionToDoListInode.at(int_for_loop).type!=ActionType_RmSync) + emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath().toStdString()); + #else + emit mkPath(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath().toStdString()); + #endif + emit rmPath(actionToDoListInode.at(int_for_loop).source.absoluteFilePath().toStdString()); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("stop mkpath: %1").arg(actionToDoListInode.at(int_for_loop).destination.absoluteFilePath()).toStdString()); + actionToDoListInode.erase(actionToDoListInode.cbegin()+int_for_loop); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("actionToDoListTransfer.size(): %1, actionToDoListInode: %2, actionToDoListInode_afterTheTransfer: %3").arg(actionToDoListTransfer.size()).arg(actionToDoListInode.size()).arg(actionToDoListInode_afterTheTransfer.size()).toStdString()); + if(actionToDoListTransfer.empty() && actionToDoListInode.empty() && actionToDoListInode_afterTheTransfer.empty()) + updateTheStatus(); + numberOfInodeOperation--; + #ifdef ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"numberOfInodeOperation: "+std::to_string(numberOfInodeOperation)); + #endif + doNewActions_inode_manipulation(); + return; + } + + } + int_for_loop++; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to found item into the todo list"); +} + +#ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + +void ListThread::timedUpdateDebugDialog() +{ + std::vector<std::string> newList; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + QString stat; + switch(transferThreadList.at(index)->getStat()) + { + case TransferStat_Idle: + stat="Idle"; + break; + case TransferStat_PreOperation: + stat="PreOperation"; + break; + case TransferStat_WaitForTheTransfer: + stat="WaitForTheTransfer"; + break; + case TransferStat_Transfer: + stat="Transfer"; + break; + case TransferStat_PostOperation: + stat="PostOperation"; + break; + case TransferStat_PostTransfer: + stat="PostTransfer"; + break; + case TransferStat_Checksum: + stat="Checksum"; + break; + default: + stat=QStringLiteral("??? (%1)").arg(transferThreadList.at(index)->getStat()); + break; + } + newList.push_back(QStringLiteral("%1) (%3,%4) %2") + .arg(index) + .arg(stat) + .arg(transferThreadList.at(index)->readingLetter()) + .arg(transferThreadList.at(index)->writingLetter()) + .toStdString() + ); + index++; + } + std::vector<std::string> newList2; + index=0; + const int &loop_size=actionToDoListTransfer.size(); + while(index<loop_size) + { + newList2.push_back(QStringLiteral("%1 %2 %3") + .arg(actionToDoListTransfer.at(index).source.absoluteFilePath()) + .arg(actionToDoListTransfer.at(index).size) + .arg(actionToDoListTransfer.at(index).destination.absoluteFilePath()) + .toStdString() + ); + if(index>((inodeThreads+ULTRACOPIER_PLUGIN_MAXPARALLELTRANFER)*2+1)) + { + newList2.push_back("..."); + break; + } + index++; + } + emit updateTheDebugInfo(newList,newList2,numberOfInodeOperation); +} + +#endif + +/// \note Can be call without queue because all call will be serialized +void ListThread::fileAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame) +{ + emit send_fileAlreadyExists(source,destination,isSame,qobject_cast<TransferThread *>(sender())); +} + +/// \note Can be call without queue because all call will be serialized +void ListThread::errorOnFile(const QFileInfo &fileInfo, const std::string &errorString, const ErrorType &errorType) +{ + TransferThread * transferThread=qobject_cast<TransferThread *>(sender()); + if(transferThread==NULL) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Thread locating error"); + return; + } + ErrorLogEntry errorLogEntry; + errorLogEntry.source=transferThread->getSourceInode(); + errorLogEntry.destination=transferThread->getDestinationInode(); + errorLogEntry.mode=transferThread->getMode(); + errorLogEntry.error=errorString; + errorLog.push_back(errorLogEntry); + emit errorToRetry(transferThread->getSourcePath(),transferThread->getDestinationPath(),errorString); + emit send_errorOnFile(fileInfo,errorString,transferThread,errorType); +} + +/// \note Can be call without queue because all call will be serialized +void ListThread::folderAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame) +{ + emit send_folderAlreadyExists(source,destination,isSame,qobject_cast<ScanFileOrFolder *>(sender())); +} + +/// \note Can be call without queue because all call will be serialized +/// \todo all this part +void ListThread::errorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,const ErrorType &errorType) +{ + emit send_errorOnFolder(fileInfo,errorString,qobject_cast<ScanFileOrFolder *>(sender()),errorType); +} + +//to run the thread +void ListThread::run() +{ + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + clockForTheCopySpeed=new QTimer(); + #endif + + exec(); +} + +void ListThread::getNeedPutAtBottom(const QFileInfo &fileInfo, const std::string &errorString, TransferThread *thread, const ErrorType &errorType) +{ + if(actionToDoListTransfer.empty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"can't try put at bottom if empty"); + this->alwaysDoThisActionForFileExists=FileExists_NotSet; + putAtBottom=0; + emit haveNeedPutAtBottom(false,fileInfo,errorString,thread,errorType); + return; + } + bool needPutAtBottom=(putAtBottom<(quint32)actionToDoListTransfer.size()); + if(!needPutAtBottom) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Reset put at bottom"); + this->alwaysDoThisActionForFileExists=FileExists_NotSet; + putAtBottom=0; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"Put at bottom for later try"); + thread->putAtBottom(); + putAtBottom++; + return; + } + emit haveNeedPutAtBottom(needPutAtBottom,fileInfo,errorString,thread,errorType); +} + +/// \to create transfer thread +void ListThread::createTransferThread() +{ + if(stopIt) + return; + if(transferThreadList.size()>=(unsigned int)inodeThreads) + return; + transferThreadList.push_back(new TransferThread()); + TransferThread * last=transferThreadList.back(); + last->transferId=0; + last->transferSize=0; + last->setRightTransfer(doRightTransfer); + last->setKeepDate(keepDate); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + if(!last->setBlockSize(blockSizeAfterSpeedLimitation)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the block size: "+std::to_string(blockSizeAfterSpeedLimitation)); + #else + if(!last->setBlockSize(blockSize)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the block size: "+std::to_string(blockSize)); + #endif + if(!last->setSequentialBuffer(sequentialBuffer)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the sequentialBuffer: "+std::to_string(sequentialBuffer)); + if(!last->setBlockSize(parallelBuffer)) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the parallelBuffer: "+std::to_string(parallelBuffer)); + last->setAlwaysFileExistsAction(alwaysDoThisActionForFileExists); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + last->setMultiForBigSpeed(multiForBigSpeed); + #endif + last->set_doChecksum(doChecksum); + last->set_checksumIgnoreIfImpossible(checksumIgnoreIfImpossible); + last->set_checksumOnlyOnError(checksumOnlyOnError); + last->set_osBuffer(osBuffer); + last->set_osBufferLimited(osBufferLimited); + last->set_osBufferLimit(osBufferLimit); + last->setDeletePartiallyTransferredFiles(deletePartiallyTransferredFiles); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + last->setRsync(rsync); + #endif + + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(last,&TransferThread::debugInformation, this,&ListThread::debugInformation, Qt::QueuedConnection); + #endif // ULTRACOPIER_PLUGIN_DEBUG + connect(last,&TransferThread::errorOnFile, this,&ListThread::errorOnFile, Qt::QueuedConnection); + connect(last,&TransferThread::fileAlreadyExists, this,&ListThread::fileAlreadyExists, Qt::QueuedConnection); + connect(last,&TransferThread::tryPutAtBottom, this,&ListThread::transferPutAtBottom, Qt::QueuedConnection); + connect(last,&TransferThread::readStopped, this,&ListThread::doNewActions_start_transfer, Qt::QueuedConnection); + connect(last,&TransferThread::preOperationStopped, this,&ListThread::doNewActions_start_transfer, Qt::QueuedConnection); + connect(last,&TransferThread::postOperationStopped, this,&ListThread::transferInodeIsClosed, Qt::QueuedConnection); + connect(last,&TransferThread::checkIfItCanBeResumed, this,&ListThread::restartTransferIfItCan, Qt::QueuedConnection); + connect(last,&TransferThread::pushStat, this,&ListThread::newTransferStat, Qt::QueuedConnection); + + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + //speed limitation + connect(clockForTheCopySpeed, &QTimer::timeout, last, &TransferThread::timeOfTheBlockCopyFinished, Qt::QueuedConnection); + #endif + + connect(this,&ListThread::send_sendNewRenamingRules, last,&TransferThread::setRenamingRules, Qt::QueuedConnection); + + connect(this,&ListThread::send_setTransferAlgorithm, last,&TransferThread::setTransferAlgorithm, Qt::QueuedConnection); + connect(this,&ListThread::send_parallelBuffer, last,&TransferThread::setParallelBuffer, Qt::QueuedConnection); + connect(this,&ListThread::send_sequentialBuffer, last,&TransferThread::setSequentialBuffer, Qt::QueuedConnection); + connect(this,&ListThread::send_updateMount, last,&TransferThread::set_updateMount, Qt::QueuedConnection); + + last->start(); + last->setObjectName(QStringLiteral("transfer %1").arg(transferThreadList.size()-1)); + last->setMkpathTransfer(&mkpathTransfer); + last->setRenamingRules(firstRenamingRule,otherRenamingRule); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + last->setId(transferThreadList.size()-1); + #endif + if(transferThreadList.size()>=(unsigned int)inodeThreads) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"create the last of the "+std::to_string(inodeThreads)+" transferThread"); + return; + } + if(stopIt) + return; + doNewActions_inode_manipulation(); + emit askNewTransferThread(); +} + +void ListThread::deleteTransferThread() +{ + int loop_size=transferThreadList.size(); + if(loop_size>inodeThreads) + { + int index=0; + while(index<loop_size && loop_size>inodeThreads) + { + if(transferThreadList.at(index)->getStat()==TransferStat_Idle && transferThreadList.at(index)->transferId==0) + { + transferThreadList.at(index)->stop(); + delete transferThreadList.at(index);//->deleteLayer(); + transferThreadList[index]=NULL; + transferThreadList.erase(transferThreadList.cbegin()+index); + loop_size--; + } + else + index++; + } + if(loop_size==inodeThreads) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"inodeThreads is lowered to the right value: "+std::to_string(inodeThreads)); + } +} + +void ListThread::setTransferAlgorithm(const TransferAlgorithm &transferAlgorithm) +{ + if(transferAlgorithm==TransferAlgorithm_Sequential) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Sequential"); + else if(transferAlgorithm==TransferAlgorithm_Automatic) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Automatic"); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferAlgorithm==TransferAlgorithm_Parallel"); + emit send_setTransferAlgorithm(transferAlgorithm); +} + +void ListThread::setParallelBuffer(int parallelBuffer) +{ + if(parallelBuffer<1 || parallelBuffer>ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"wrong number of block: "+std::to_string(parallelBuffer)); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"in number of block: "+std::to_string(parallelBuffer)); + this->parallelBuffer=parallelBuffer; + emit send_parallelBuffer(parallelBuffer); +} + +void ListThread::setSequentialBuffer(int sequentialBuffer) +{ + if(sequentialBuffer<1 || sequentialBuffer>ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"wrong number of block: "+std::to_string(sequentialBuffer)); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"in number of block: "+std::to_string(sequentialBuffer)); + this->sequentialBuffer=sequentialBuffer; + emit send_sequentialBuffer(sequentialBuffer); +} + +void ListThread::setParallelizeIfSmallerThan(const unsigned int ¶llelizeIfSmallerThan) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"parallelizeIfSmallerThan in Bytes: "+std::to_string(parallelizeIfSmallerThan)); + this->parallelizeIfSmallerThan=parallelizeIfSmallerThan; +} + +void ListThread::setMoveTheWholeFolder(const bool &moveTheWholeFolder) +{ + for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++) + scanFileOrFolderThreadsPool.at(i)->setMoveTheWholeFolder(moveTheWholeFolder); + this->moveTheWholeFolder=moveTheWholeFolder; +} + +void ListThread::setFollowTheStrictOrder(const bool &followTheStrictOrder) +{ + this->followTheStrictOrder=followTheStrictOrder; +} + +void ListThread::setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles) +{ + this->deletePartiallyTransferredFiles=deletePartiallyTransferredFiles; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->setDeletePartiallyTransferredFiles(deletePartiallyTransferredFiles); + index++; + } +} + +void ListThread::setInodeThreads(const int &inodeThreads) +{ + if(inodeThreads<1 || inodeThreads>32) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"inodeThreads is out of ranges: "+std::to_string(inodeThreads)); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"inodeThreads: "+std::to_string(inodeThreads)); + this->inodeThreads=inodeThreads; + createTransferThread(); + deleteTransferThread(); +} + +void ListThread::setRenameTheOriginalDestination(const bool &renameTheOriginalDestination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"renameTheOriginalDestination: "+std::to_string(renameTheOriginalDestination)); + this->renameTheOriginalDestination=renameTheOriginalDestination; + int index=0; + int loop_sub_size_transfer_thread_search=transferThreadList.size(); + while(index<loop_sub_size_transfer_thread_search) + { + transferThreadList.at(index)->setRenameTheOriginalDestination(renameTheOriginalDestination); + index++; + } +} + +void ListThread::setCheckDiskSpace(const bool &checkDiskSpace) +{ + this->checkDiskSpace=checkDiskSpace; +} + +void ListThread::setCopyListOrder(const bool &order) +{ + this->copyListOrder=order; + for(unsigned int i=0;i<scanFileOrFolderThreadsPool.size();i++) + scanFileOrFolderThreadsPool.at(i)->setCopyListOrder(this->copyListOrder); +} + +void ListThread::exportErrorIntoTransferList(const std::string &fileName) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + QFile transferFile(QString::fromStdString(fileName)); + if(transferFile.open(QIODevice::WriteOnly|QIODevice::Truncate)) + { + transferFile.write(QStringLiteral("Ultracopier;Transfer-list;").toUtf8()); + if(!forcedMode) + transferFile.write(QStringLiteral("Transfer;").toUtf8()); + else + { + if(mode==Ultracopier::Copy) + transferFile.write(QStringLiteral("Copy;").toUtf8()); + else + transferFile.write(QStringLiteral("Move;").toUtf8()); + } + transferFile.write(QStringLiteral("Ultracopier\n").toUtf8()); + bool haveError=false; + int size=errorLog.size(); + for (int index=0;index<size;++index) { + if(errorLog.at(index).mode==Ultracopier::Copy) + { + if(!forcedMode || mode==Ultracopier::Copy) + { + if(forcedMode) + transferFile.write(QStringLiteral("%1;%2\n").arg(errorLog.at(index).source.absoluteFilePath()).arg(errorLog.at(index).destination.absoluteFilePath()).toUtf8()); + else + transferFile.write(QStringLiteral("Copy;%1;%2\n").arg(errorLog.at(index).source.absoluteFilePath()).arg(errorLog.at(index).destination.absoluteFilePath()).toUtf8()); + } + else + haveError=true; + } + else if(errorLog.at(index).mode==Ultracopier::Move) + { + if(!forcedMode || mode==Ultracopier::Move) + { + if(forcedMode) + transferFile.write(QStringLiteral("%1;%2\n").arg(errorLog.at(index).source.absoluteFilePath()).arg(errorLog.at(index).destination.absoluteFilePath()).toUtf8()); + else + transferFile.write(QStringLiteral("Move;%1;%2\n").arg(errorLog.at(index).source.absoluteFilePath()).arg(errorLog.at(index).destination.absoluteFilePath()).toUtf8()); + } + else + haveError=true; + } + } + if(haveError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable do to move or copy item into wrong forced mode: "+transferFile.errorString().toStdString()); + emit errorTransferList(tr("Unable do to move or copy item into wrong forced mode: %1").arg(transferFile.errorString()).toStdString()); + } + transferFile.close(); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to save the transfer list: "+transferFile.errorString().toStdString()); + emit errorTransferList(tr("Unable to save the transfer list: %1").arg(transferFile.errorString()).toStdString()); + return; + } +} diff --git a/plugins/CopyEngine/Ultracopier/ListThread.h b/plugins/CopyEngine/Ultracopier/ListThread.h new file mode 100644 index 0000000..48e7142 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/ListThread.h @@ -0,0 +1,432 @@ +/** \file ListThread.h +\brief Define the list thread, and management to the action to do +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef LISTTHREAD_H +#define LISTTHREAD_H + +#include <QThread> +#include <QObject> +#include <string> +#include <vector> +#include <unordered_map> +#include <QFileInfo> +#include <QSemaphore> +#include <QTextStream> +#include <QFile> +#include <QTimer> + +#include "../../../interface/PluginInterface_CopyEngine.h" +#include "ScanFileOrFolder.h" +#include "TransferThread.h" +#include "MkPath.h" +#include "Environment.h" +#include "DriveManagement.h" + +/// \brief Define the list thread, and management to the action to do +class ListThread : public QThread +{ + Q_OBJECT +public: + explicit ListThread(FacilityInterface * facilityInterface); + ~ListThread(); + + //duplication copy detection + /** \brief compare the current sources of the copy, with the passed arguments + * \param sources the sources list to compares with the current sources list + * \return true if have same sources, else false (or empty) */ + bool haveSameSource(const std::vector<std::string> &sources); + /** \brief compare the current destination of the copy, with the passed arguments + * \param destination the destination to compares with the current destination + * \return true if have same destination, else false (or empty) */ + bool haveSameDestination(const std::string &destination); + /// \return empty if multiple or no destination + std::string getUniqueDestinationFolder() const; + //external soft like file browser have send copy/move list to do + /** \brief send copy with destination + * \param sources the sources list to copy + * \param destination the destination to copy + * \return true if the copy have been accepted */ + bool newCopy(const std::vector<std::string> &sources,const std::string &destination); + /** \brief send move without destination, ask the destination + * \param sources the sources list to move + * \param destination the destination to move + * \return true if the move have been accepted */ + bool newMove(const std::vector<std::string> &sources,const std::string &destination); + /** \brief to set drives detected + * specific to this copy engine */ + /// \brief to set the collision action + void setCollisionAction(const FileExistsAction &alwaysDoThisActionForFileExists); + /** \brief to sync the transfer list + * Used when the interface is changed, useful to minimize the memory size */ + void syncTransferList(); + /// \brief to store one action to do + struct ActionToDoTransfer + { + uint64_t id; + uint64_t size;///< Used to set: used in case of transfer or remainingInode for drop folder + QFileInfo source;///< Used to set: source for transfer, folder to create, folder to drop + QFileInfo destination; + Ultracopier::CopyMode mode; + bool isRunning;///< store if the action si running + //TransferThread * transfer; // -> see transferThreadList + }; + std::vector<ActionToDoTransfer> actionToDoListTransfer; + /// \brief to store one action to do + struct ActionToDoInode + { + ActionType type;///< \see ActionType + uint64_t id; + int64_t size;///< Used to set: used in case of transfer or remainingInode for drop folder + QFileInfo source;///< Keep to copy the right/date, to remove (for move) + QFileInfo destination;///< Used to set: folder to create, folder to drop + bool isRunning;///< store if the action si running + }; + std::vector<ActionToDoInode> actionToDoListInode; + std::vector<ActionToDoInode> actionToDoListInode_afterTheTransfer; + int numberOfInodeOperation; + struct ErrorLogEntry + { + QFileInfo source; + QFileInfo destination; + std::string error; + Ultracopier::CopyMode mode; + }; + std::vector<ErrorLogEntry> errorLog; + //dir operation thread queue + MkPath mkPathQueue; + //to get the return value from copyEngine + bool getReturnBoolToCopyEngine() const; + std::pair<quint64,quint64> getReturnPairQuint64ToCopyEngine() const; + Ultracopier::ItemOfCopyList getReturnItemOfCopyListToCopyEngine() const; + + void set_doChecksum(bool doChecksum); + void set_checksumIgnoreIfImpossible(bool checksumIgnoreIfImpossible); + void set_checksumOnlyOnError(bool checksumOnlyOnError); + void set_osBuffer(bool osBuffer); + void set_osBufferLimited(bool osBufferLimited); + void autoStartIfNeeded(); +public slots: + //action on the copy + /// \brief put the transfer in pause + void pause(); + /// \brief resume the transfer + void resume(); + /** \brief skip one transfer entry + * \param id id of the file to remove */ + void skip(const uint64_t &id); + /** \brief skip as interanl one transfer entry + * \param id id of the file to remove */ + bool skipInternal(const uint64_t &id); + /// \brief cancel all the transfer + void cancel(); + //edit the transfer list + /** \brief remove the selected item + * \param ids ids is the id list of the selected items */ + void removeItems(const std::vector<uint64_t> &ids); + /** \brief move on top of the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsOnTop(std::vector<uint64_t> ids); + /** \brief move up the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsUp(std::vector<uint64_t> ids); + /** \brief move down the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsDown(std::vector<uint64_t> ids); + /** \brief move on bottom of the list the selected item + * \param ids ids is the id list of the selected items */ + void moveItemsOnBottom(std::vector<uint64_t> ids); + + /** \brief give the forced mode, to export/import transfer list */ + void forceMode(const Ultracopier::CopyMode &mode); + /// \brief export the transfer list into a file + void exportTransferList(const std::string &fileName); + /// \brief import the transfer list into a file + void importTransferList(const std::string &fileName); + + /// \brief set the folder local collision + void setFolderCollision(const FolderExistsAction &alwaysDoThisActionForFolderExists); + /** \brief to set the speed limitation + * -1 if not able, 0 if disabled */ + bool setSpeedLimitation(const int64_t &speedLimitation); + /// \brief set the copy info and options before runing + void setRightTransfer(const bool doRightTransfer); + /// \brief set keep date + void setKeepDate(const bool keepDate); + /// \brief set block size in KB + void setBlockSize(const int blockSize); + /// \brief set auto start + void setAutoStart(const bool autoStart); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + /// \brief set rsync + void setRsync(const bool rsync); + #endif + /// \brief set check destination folder + void setCheckDestinationFolderExists(const bool checkDestinationFolderExists); + /// \brief set data local to the thread + void setAlwaysFileExistsAction(const FileExistsAction &alwaysDoThisActionForFileExists); + /// \brief do new actions, start transfer + void doNewActions_start_transfer(); + /** \brief lunch the pre-op or inode op + 1) locate the next next item to do into the both list + 1a) optimisation posible on the mkpath/rmpath + 2) determine what need be lunched + 3) lunch it, rerun the 2) + */ + void doNewActions_inode_manipulation(); + /// \brief restart transfer if it can + void restartTransferIfItCan(); + void getNeedPutAtBottom(const QFileInfo &fileInfo, const std::string &errorString, TransferThread *thread,const ErrorType &errorType); + + /// \brief update the transfer stat + void newTransferStat(const TransferStat &stat,const quint64 &id); + + void set_osBufferLimit(const unsigned int &osBufferLimit); + void set_setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude); + void set_sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule); + void set_updateMount(); + + //send action done + void sendActionDone(); + //send progression + void sendProgression(); + + void setTransferAlgorithm(const TransferAlgorithm &transferAlgorithm); + void setParallelBuffer(int parallelBuffer); + void setSequentialBuffer(int sequentialBuffer); + void setParallelizeIfSmallerThan(const unsigned int ¶llelizeIfSmallerThan); + void setMoveTheWholeFolder(const bool &moveTheWholeFolder); + void setFollowTheStrictOrder(const bool &followTheStrictOrder); + void setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles); + void setInodeThreads(const int &inodeThreads); + void setRenameTheOriginalDestination(const bool &renameTheOriginalDestination); + void setCheckDiskSpace(const bool &checkDiskSpace); + void setCopyListOrder(const bool &order); + void exportErrorIntoTransferList(const std::string &fileName); +private: + QSemaphore mkpathTransfer; + std::string sourceDrive; + bool sourceDriveMultiple; + std::string destinationDrive; + std::string destinationFolder; + bool destinationDriveMultiple; + bool destinationFolderMultiple; + DriveManagement driveManagement; + + bool stopIt; + std::vector<ScanFileOrFolder *> scanFileOrFolderThreadsPool; + int numberOfTransferIntoToDoList; + std::vector<TransferThread *> transferThreadList; + ScanFileOrFolder * newScanThread(Ultracopier::CopyMode mode); + uint64_t bytesToTransfer; + uint64_t bytesTransfered; + bool autoStart; + #ifdef ULTRACOPIER_PLUGIN_RSYNC + bool rsync; + #endif + bool putInPause; + std::vector<Ultracopier::ReturnActionOnCopyList> actionDone;///< to action to send to the interface + uint64_t idIncrementNumber;///< to store the last id returned + int64_t actualRealByteTransfered; + int maxSpeed;///< in KB/s, assume as 0KB/s as default like every where + FolderExistsAction alwaysDoThisActionForFolderExists; + bool checkDestinationFolderExists; + bool doChecksum; + bool checksumIgnoreIfImpossible; + bool checksumOnlyOnError; + bool osBuffer; + bool osBufferLimited; + unsigned int parallelizeIfSmallerThan; + bool moveTheWholeFolder; + bool followTheStrictOrder; + bool deletePartiallyTransferredFiles; + int sequentialBuffer; + int parallelBuffer; + int inodeThreads; + bool renameTheOriginalDestination; + bool checkDiskSpace; + bool copyListOrder; + std::unordered_map<std::string,uint64_t> requiredSpace; + std::vector<std::pair<uint64_t,uint32_t> > timeToTransfer; + unsigned int putAtBottom; + unsigned int osBufferLimit; + std::vector<Filters_rules> include,exclude; + Ultracopier::CopyMode mode; + bool forcedMode; + std::string firstRenamingRule; + std::string otherRenamingRule; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + int multiForBigSpeed; + #endif + /* here to prevent: + QObject::killTimer: timers cannot be stopped from another thread + QObject::startTimer: timers cannot be started from another thread */ + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + QTimer *clockForTheCopySpeed; ///< For the speed throttling + #endif + + inline static Ultracopier::ItemOfCopyList actionToDoTransferToItemOfCopyList(const ActionToDoTransfer &actionToDoTransfer); + //add file transfer to do + uint64_t addToTransfer(const QFileInfo& source,const QFileInfo& destination,const Ultracopier::CopyMode& mode); + //generate id number + uint64_t generateIdNumber(); + //warning the first entry is accessible will copy + bool removeSingleItem(const uint64_t &id); + //put on top + bool moveOnTopItem(const uint64_t &id); + //move up + bool moveUpItem(const uint64_t &id); + //move down + bool moveDownItem(const uint64_t &id); + //put on bottom + bool moveOnBottomItem(const uint64_t &id); + //general transfer + void startGeneralTransfer(); + //debug windows if needed + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + QTimer timerUpdateDebugDialog; + #endif + void detectDrivesOfCurrentTransfer(const std::vector<std::string> &sources,const std::string &destination); + FacilityInterface * facilityInterface; + QSemaphore waitConstructor,waitCancel; + int actionToDoListTransfer_count,actionToDoListInode_count; + bool doTransfer,doInode; + int64_t oversize;//used as temp variable + int64_t currentProgression; + int64_t copiedSize,totalSize,localOverSize; + std::vector<Ultracopier::ProgressionItem> progressionList; + //memory variable for transfer thread creation + bool doRightTransfer; + bool keepDate; + int blockSize;//in Bytes + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + int blockSizeAfterSpeedLimitation;//in Bytes + #endif + std::vector<std::string> drives; + FileExistsAction alwaysDoThisActionForFileExists; + //to return value to the copyEngine + bool returnBoolToCopyEngine; + std::pair<quint64,quint64> returnPairQuint64ToCopyEngine; + std::vector<Ultracopier::ItemOfCopyList> returnListItemOfCopyListToCopyEngine; + Ultracopier::ItemOfCopyList returnItemOfCopyListToCopyEngine; + Ultracopier::ProgressionItem tempItem; + + void realByteTransfered(); + int getNumberOfTranferRuning() const; + bool needMoreSpace() const; +private slots: + void scanThreadHaveFinishSlot(); + void scanThreadHaveFinish(bool skipFirstRemove=false); + void autoStartAndCheckSpace(); + void updateTheStatus(); + void fileTransfer(const QFileInfo &sourceFileInfo,const QFileInfo &destinationFileInfo,const Ultracopier::CopyMode &mode); + //mkpath event + void mkPathFirstFolderFinish(); + /** \brief put the current file at bottom in case of error + \note ONLY IN CASE OF ERROR */ + void transferPutAtBottom(); + //transfer is finished + void transferInodeIsClosed(); + //debug windows if needed + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + void timedUpdateDebugDialog(); + #endif + //dialog message + /// \note Can be call without queue because all call will be serialized + void fileAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame); + /// \note Can be call without queue because all call will be serialized + void errorOnFile(const QFileInfo &fileInfo,const std::string &errorString, const ErrorType &errorType); + /// \note Can be call without queue because all call will be serialized + void folderAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame); + /// \note Can be call without queue because all call will be serialized + void errorOnFolder(const QFileInfo &fileInfo, const std::string &errorString, const ErrorType &errorType); + //to run the thread + void run(); + /// \to create transfer thread + void createTransferThread(); + void deleteTransferThread(); + //mk path to do + uint64_t addToMkPath(const QFileInfo& source, const QFileInfo& destination, const int &inode); + //add rm path to do + void addToMovePath(const QFileInfo& source,const QFileInfo& destination, const int& inodeToRemove); + //add to real move + void addToRealMove(const QFileInfo& source,const QFileInfo& destination); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + //rsync rm + void addToRmForRsync(const QFileInfo& destination); + #endif + //send the progression, after full reset of the interface (then all is empty) + void syncTransferList_internal(); + + void checkIfReadyToCancel(); +signals: + //send information about the copy + void actionInProgess(const Ultracopier::EngineActionInProgress &) const; //should update interface information on this event + + void newActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &) const;///very important, need be temporized to group the modification to do and not flood the interface + void syncReady() const; + void doneTime(const std::vector<std::pair<uint64_t,uint32_t> >&) const; + + /** \brief to get the progression for a specific file + * \param id the id of the transfer, id send during population the transfer list + * first = current transfered byte, second = byte to transfer */ + void pushFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList) const; + //get information about the copy + /** \brief to get the general progression + * first = current transfered byte, second = byte to transfer */ + void pushGeneralProgression(const uint64_t &,const uint64_t &) const; + + void newFolderListing(const std::string &path) const; + void isInPause(const bool &) const; + + //when can be deleted + void canBeDeleted() const; + void haveNeedPutAtBottom(bool needPutAtBottom,const QFileInfo &fileInfo,const std::string &errorString,TransferThread * thread,const ErrorType &errorType) const; + + //send error occurred + void error(const std::string &path,const uint64_t &size,const uint64_t &mtime,const std::string &error) const; + void errorToRetry(const std::string &source,const std::string &destination,const std::string &error) const; + //for the extra logging + void rmPath(const std::string &path) const; + void mkPath(const std::string &path) const; + /// \brief To debug source + #ifdef ULTRACOPIER_PLUGIN_DEBUG + void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const; + #endif + #ifdef ULTRACOPIER_PLUGIN_DEBUG_WINDOW + void updateTheDebugInfo(const std::vector<std::string> &,const std::vector<std::string>&,const int &) const; + #endif + + //other signal + /// \note Can be call without queue because all call will be serialized + void send_fileAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame,TransferThread * thread) const; + /// \note Can be call without queue because all call will be serialized + void send_errorOnFile(const QFileInfo &fileInfo,const std::string &errorString,TransferThread * thread, const ErrorType &errorType) const; + /// \note Can be call without queue because all call will be serialized + void send_folderAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame,ScanFileOrFolder * thread) const; + /// \note Can be call without queue because all call will be serialized + void send_errorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,ScanFileOrFolder * thread, const ErrorType &errorType) const; + //send the progression + void send_syncTransferList() const; + //mkpath error event + void mkPathErrorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,const ErrorType &errorType) const; + //to close + void tryCancel() const; + //to ask new transfer thread + void askNewTransferThread() const; + + void warningTransferList(const std::string &warning) const; + void errorTransferList(const std::string &error) const; + void send_sendNewRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule) const; + void send_realBytesTransfered(const uint64_t &) const; + + void send_setTransferAlgorithm(TransferAlgorithm transferAlgorithm) const; + void send_parallelBuffer(const int ¶llelBuffer) const; + void send_sequentialBuffer(const int &sequentialBuffer) const; + void send_parallelizeIfSmallerThan(const int ¶llelizeIfSmallerThan) const; + void send_updateMount(); + void missingDiskSpace(std::vector<Diskspace> list) const; +}; + +#endif // LISTTHREAD_H diff --git a/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp b/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp new file mode 100644 index 0000000..12421f2 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/ListThread_InodeAction.cpp @@ -0,0 +1,64 @@ +/** \file ListThread_InodeAction.cpp +\brief To be included into ListThread.cpp, to optimize and prevent code duplication +\see ListThread.cpp */ + +#ifdef LISTTHREAD_H + +//do the inode action +ActionToDoInode& currentActionToDoInode=actionToDoListInode[int_for_internal_loop]; +switch(currentActionToDoInode.type) +{ + case ActionType_RealMove: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch real move, source: %1, destination: %2").arg(currentActionToDoInode.source.absoluteFilePath()).arg(currentActionToDoInode.destination.absoluteFilePath()).toStdString()); + mkPathQueue.addPath(currentActionToDoInode.source.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type); + currentActionToDoInode.isRunning=true; + numberOfInodeOperation++; + if(numberOfInodeOperation>=inodeThreads) + return; + break; + case ActionType_MkPath: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch mkpath, source: %1, destination: %2").arg(currentActionToDoInode.source.absoluteFilePath()).arg(currentActionToDoInode.destination.absoluteFilePath()).toStdString()); + mkPathQueue.addPath(currentActionToDoInode.source.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type); + currentActionToDoInode.isRunning=true; + numberOfInodeOperation++; + if(numberOfInodeOperation>=inodeThreads) + return; + break; + #ifdef ULTRACOPIER_PLUGIN_RSYNC + case ActionType_RmSync: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QString("launch rmsync, destination: %1").arg(currentActionToDoInode.destination.absoluteFilePath()).toStdString()); + mkPathQueue.addPath(currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type); + currentActionToDoInode.isRunning=true; + numberOfInodeOperation++; + if(numberOfInodeOperation>=inodeThreads) + return; + break; + #endif + case ActionType_MovePath: + //then empty (no file), can try remove it + if(currentActionToDoInode.size==0 || actionToDoListTransfer.empty())//don't put afterTheTransfer because actionToDoListInode_afterTheTransfer -> already afterTheTransfer + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("launch rmpath: %1").arg(currentActionToDoInode.source.absoluteFilePath()).toStdString()); + mkPathQueue.addPath(currentActionToDoInode.source.absoluteFilePath(),currentActionToDoInode.destination.absoluteFilePath(),currentActionToDoInode.type); + currentActionToDoInode.isRunning=true; + numberOfInodeOperation++; + if(numberOfInodeOperation>=inodeThreads) + return; + } + else //have do the destination, put the remove to after + { + currentActionToDoInode.size=0; + actionToDoListInode_afterTheTransfer.push_back(currentActionToDoInode); + actionToDoListInode.erase(actionToDoListInode.cbegin()+int_for_internal_loop); + int_for_internal_loop--; + actionToDoListInode_count--; + if(numberOfInodeOperation>=inodeThreads) + return; + } + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Wrong type at inode action"); + return; +} + +#endif diff --git a/plugins/CopyEngine/Ultracopier/MkPath.cpp b/plugins/CopyEngine/Ultracopier/MkPath.cpp new file mode 100644 index 0000000..52d67af --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/MkPath.cpp @@ -0,0 +1,517 @@ +#include "MkPath.h" + +#ifdef Q_OS_WIN32 + #ifndef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> + #endif +#endif + +std::string MkPath::text_slash="/"; + +MkPath::MkPath() +{ + stopIt=false; + waitAction=false; + doRightTransfer=false; + maxTime=QDateTime(QDate(ULTRACOPIER_PLUGIN_MINIMALYEAR,1,1)); + setObjectName("MkPath"); + moveToThread(this); + start(); + #ifdef Q_OS_WIN32 + #ifndef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + regRead=std::regex("^[a-z]:"); + #endif + #endif +} + +MkPath::~MkPath() +{ + stopIt=true; + quit(); + wait(); +} + +void MkPath::addPath(const QFileInfo& source, const QFileInfo& destination, const ActionType &actionType) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + if(stopIt) + return; + emit internalStartAddPath(source,destination,actionType); +} + +void MkPath::skip() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit internalStartSkip(); +} + +void MkPath::retry() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit internalStartRetry(); +} + +void MkPath::run() +{ + connect(this,&MkPath::internalStartAddPath, this,&MkPath::internalAddPath,Qt::QueuedConnection); + connect(this,&MkPath::internalStartDoThisPath, this,&MkPath::internalDoThisPath,Qt::QueuedConnection); + connect(this,&MkPath::internalStartSkip, this,&MkPath::internalSkip,Qt::QueuedConnection); + connect(this,&MkPath::internalStartRetry, this,&MkPath::internalRetry,Qt::QueuedConnection); + exec(); +} + +void MkPath::internalDoThisPath() +{ + if(waitAction || pathList.isEmpty()) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2, move: %3").arg(pathList.first().source.absoluteFilePath()).arg(pathList.first().destination.absoluteFilePath()).arg(pathList.first().actionType).toStdString()); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(pathList.first().actionType==ActionType_RmSync) + { + if(pathList.first().destination.isFile()) + { + QFile removedFile(pathList.first().destination.absoluteFilePath()); + if(!removedFile.remove()) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the inode: "+pathList.first().destination.absoluteFilePath().toStdString()+", error: "+removedFile.errorString().toStdString()); + emit errorOnFolder(pathList.first().destination,removedFile.errorString().toStdString()); + return; + } + } + else if(!rmpath(pathList.first().destination.absoluteFilePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the inode: "+pathList.first().destination.absoluteFilePath().toStdString()); + emit errorOnFolder(pathList.first().destination,tr("Unable to remove").toStdString()); + return; + } + pathList.removeFirst(); + emit firstFolderFinish(); + checkIfCanDoTheNext(); + return; + } + #endif + doTheDateTransfer=false; + if(keepDate) + { + if(!pathList.first().source.exists()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources not exists: "+pathList.first().source.absoluteFilePath().toStdString()); + doTheDateTransfer=false; + } + else if(maxTime>=pathList.first().source.lastModified()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources is older to copy the time: "+pathList.first().source.absoluteFilePath().toStdString()+": "+maxTime.toString("dd.MM.yyyy hh:mm:ss.zzz").toStdString()+">="+pathList.first().source.lastModified().toString("dd.MM.yyyy hh:mm:ss.zzz").toStdString()); + doTheDateTransfer=false; + } + else + { + doTheDateTransfer=readFileDateTime(pathList.first().source); + /*if(!doTheDateTransfer) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to get source folder time: "+pathList.first().source.absoluteFilePath()); + emit errorOnFolder(pathList.first().source,tr("Unable to get time")); + return; + }*/ + } + } + if(dir.exists(pathList.first().destination.absoluteFilePath()) && pathList.first().actionType==ActionType_RealMove) + pathList.first().actionType=ActionType_MovePath; + if(pathList.first().actionType!=ActionType_RealMove) + { + if(!dir.exists(pathList.first().destination.absoluteFilePath())) + if(!dir.mkpath(pathList.first().destination.absoluteFilePath())) + { + if(!dir.exists(pathList.first().destination.absoluteFilePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: "+pathList.first().destination.absoluteFilePath().toStdString()); + emit errorOnFolder(pathList.first().destination,tr("Unable to create the folder").toStdString()); + return; + } + } + } + else + { + if(!pathList.first().source.exists()) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The source folder don't exists: "+pathList.first().source.absoluteFilePath().toStdString()); + emit errorOnFolder(pathList.first().destination,tr("The source folder don't exists").toStdString()); + return; + } + if(!pathList.first().source.isDir())//it's really an error? + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"The source is not a folder: "+pathList.first().source.absoluteFilePath().toStdString()); + /*if(stopIt) + return; + waitAction=true; + emit errorOnFolder(pathList.first().destination,tr("The source is not a folder")); + return;*/ + } + if(pathList.first().destination.absoluteFilePath().startsWith(pathList.first().source.absoluteFilePath()+QString::fromStdString(text_slash))) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"move into it self: "+pathList.first().destination.absoluteFilePath().toStdString()); + int random=rand(); + QFileInfo tempFolder=pathList.first().source.absolutePath()+QString::fromStdString(text_slash)+QString::number(random); + while(tempFolder.exists()) + { + random=rand(); + tempFolder=pathList.first().source.absolutePath()+QString::fromStdString(text_slash)+QString::number(random); + } + if(!dir.rename(pathList.first().source.absoluteFilePath(),tempFolder.absoluteFilePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to temporary rename the folder: "+pathList.first().destination.absoluteFilePath().toStdString()); + emit errorOnFolder(pathList.first().destination,tr("Unable to temporary rename the folder").toStdString()); + return; + } + /* http://doc.qt.io/qt-5/qdir.html#rename + * On most file systems, rename() fails only if oldName does not exist, or if a file with the new name already exists. + if(!dir.mkpath(pathList.first().destination.absolutePath())) + { + if(!dir.exists(pathList.first().destination.absolutePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: "+pathList.first().destination.absoluteFilePath()); + emit errorOnFolder(pathList.first().destination,tr("Unable to create the folder")); + return; + } + }*/ + if(!dir.rename(tempFolder.absoluteFilePath(),pathList.first().destination.absoluteFilePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to do the final real move the folder: "+pathList.first().destination.absoluteFilePath().toStdString()); + emit errorOnFolder(pathList.first().destination,tr("Unable to do the final real move the folder").toStdString()); + return; + } + } + else + { + /* http://doc.qt.io/qt-5/qdir.html#rename + * On most file systems, rename() fails only if oldName does not exist, or if a file with the new name already exists. + if(!dir.mkpath(pathList.first().destination.absolutePath())) + { + if(!dir.exists(pathList.first().destination.absolutePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: "+pathList.first().destination.absoluteFilePath()); + emit errorOnFolder(pathList.first().destination,tr("Unable to create the folder")); + return; + } + }*/ + if(!dir.rename(pathList.first().source.absoluteFilePath(),pathList.first().destination.absoluteFilePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to make the folder: from: "+pathList.first().source.absoluteFilePath().toStdString()+", soruce exists: "+std::to_string(QDir(pathList.first().source.absoluteFilePath()).exists())+", to: "+pathList.first().destination.absoluteFilePath().toStdString() + +", destination exist: "+std::to_string(QDir(pathList.first().destination.absoluteFilePath()).exists())); + emit errorOnFolder(pathList.first().destination,tr("Unable to move the folder").toStdString()); + return; + } + } + } + if(doTheDateTransfer) + if(!writeFileDateTime(pathList.first().destination)) + { + if(!pathList.first().destination.exists()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time (not exists): "+pathList.first().destination.absoluteFilePath().toStdString()); + else if(!pathList.first().destination.isDir()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time (not a dir): "+pathList.first().destination.absoluteFilePath().toStdString()); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set destination folder time: "+pathList.first().destination.absoluteFilePath().toStdString()); + /*if(stopIt) + return; + waitAction=true; + + emit errorOnFolder(pathList.first().source,tr("Unable to set time")); + return;*/ + } + if(doRightTransfer && pathList.first().actionType!=ActionType_RealMove) + { + QFile source(pathList.first().source.absoluteFilePath()); + QFile destination(pathList.first().destination.absoluteFilePath()); + if(!destination.setPermissions(source.permissions())) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to set the right: "+pathList.first().destination.absoluteFilePath().toStdString()); + /*if(stopIt) + return; + waitAction=true; + emit errorOnFolder(pathList.first().source,tr("Unable to set the access-right")); + return;*/ + } + } + if(pathList.first().actionType==ActionType_MovePath) + { + if(!rmpath(pathList.first().source.absoluteFilePath())) + { + if(stopIt) + return; + waitAction=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Unable to remove the source folder: "+pathList.first().destination.absoluteFilePath().toStdString()); + emit errorOnFolder(pathList.first().source,tr("Unable to remove").toStdString()); + return; + } + } + pathList.removeFirst(); + emit firstFolderFinish(); + checkIfCanDoTheNext(); +} + +void MkPath::internalAddPath(const QFileInfo& source, const QFileInfo& destination, const ActionType &actionType) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("source: %1, destination: %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + Item tempPath; + tempPath.source=source; + tempPath.destination=destination; + tempPath.actionType=actionType; + pathList << tempPath; + if(!waitAction) + checkIfCanDoTheNext(); +} + +void MkPath::checkIfCanDoTheNext() +{ + if(!waitAction && !stopIt && pathList.size()>0) + emit internalStartDoThisPath(); +} + +void MkPath::internalSkip() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + waitAction=false; + pathList.removeFirst(); + emit firstFolderFinish(); + checkIfCanDoTheNext(); +} + +void MkPath::internalRetry() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + waitAction=false; + checkIfCanDoTheNext(); +} + +void MkPath::setRightTransfer(const bool doRightTransfer) +{ + this->doRightTransfer=doRightTransfer; +} + +void MkPath::setKeepDate(const bool keepDate) +{ + this->keepDate=keepDate; +} + +bool MkPath::rmpath(const QDir &dir + #ifdef ULTRACOPIER_PLUGIN_RSYNC + ,const bool &toSync + #endif + ) +{ + if(!dir.exists()) + return true; + bool allHaveWork=true; + QFileInfoList list = dir.entryInfoList(QDir::AllEntries|QDir::NoDotAndDotDot|QDir::Hidden|QDir::System,QDir::DirsFirst); + for (int i = 0; i < list.size(); ++i) + { + QFileInfo fileInfo(list.at(i)); + if(!fileInfo.isDir()) + { + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(toSync) + { + QFile file(fileInfo.absoluteFilePath()); + if(!file.remove()) + { + if(toSync) + { + QFile file(fileInfo.absoluteFilePath()); + if(!file.remove()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to remove a file: "+fileInfo.absoluteFilePath().toStdString()+", due to: "+file.errorString().toStdString()); + allHaveWork=false; + } + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName().toStdString()); + allHaveWork=false; + } + } + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName().toStdString()); + allHaveWork=false; + } + #else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"found a file: "+fileInfo.fileName().toStdString()); + allHaveWork=false; + #endif + } + else + { + //return the fonction for scan the new folder + if(!rmpath(dir.absolutePath()+'/'+fileInfo.fileName()+'/')) + allHaveWork=false; + } + } + if(!allHaveWork) + return false; + allHaveWork=dir.rmdir(dir.absolutePath()); + if(!allHaveWork) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to remove the folder: "+dir.absolutePath().toStdString()); + return allHaveWork; +} + +//fonction to edit the file date time +bool MkPath::readFileDateTime(const QFileInfo &source) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"readFileDateTime("+source.absoluteFilePath().toStdString()+")"); + /** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */ + #ifdef Q_OS_UNIX + #ifdef Q_OS_LINUX + struct stat info; + if(stat(source.absoluteFilePath().toLatin1().data(),&info)!=0) + return false; + time_t ctime=info.st_ctim.tv_sec; + time_t actime=info.st_atim.tv_sec; + time_t modtime=info.st_mtim.tv_sec; + //this function avalaible on unix and mingw + butime.actime=actime; + butime.modtime=modtime; + Q_UNUSED(ctime); + return true; + #else //mainly for mac + QFileInfo fileInfo(source); + time_t ctime=fileInfo.created().toTime_t(); + time_t actime=fileInfo.lastRead().toTime_t(); + time_t modtime=fileInfo.lastModified().toTime_t(); + //this function avalaible on unix and mingw + utimbuf butime; + butime.actime=actime; + butime.modtime=modtime; + Q_UNUSED(ctime); + return true; + #endif + #else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + struct stat info; + if(stat(source.toLatin1().data(),&info)!=0) + return false; + time_t ctime=info.st_ctim.tv_sec; + time_t actime=info.st_atim.tv_sec; + time_t modtime=info.st_mtim.tv_sec; + //this function avalaible on unix and mingw + butime.actime=actime; + butime.modtime=modtime; + Q_UNUSED(ctime); + return true; + #else + wchar_t filePath[65535]; + if(std::regex_match(source.absoluteFilePath().toStdString(),regRead)) + filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+source.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + else + filePath[QDir::toNativeSeparators(source.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + HANDLE hFileSouce = CreateFileW(filePath, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY | FILE_FLAG_BACKUP_SEMANTICS, NULL); + if(hFileSouce == INVALID_HANDLE_VALUE) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"open failed to read: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError())); + return false; + } + FILETIME ftCreate, ftAccess, ftWrite; + if(!GetFileTime(hFileSouce, &ftCreate, &ftAccess, &ftWrite)) + { + CloseHandle(hFileSouce); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to get the file time"); + return false; + } + this->ftCreateL=ftCreate.dwLowDateTime; + this->ftCreateH=ftCreate.dwHighDateTime; + this->ftAccessL=ftAccess.dwLowDateTime; + this->ftAccessH=ftAccess.dwHighDateTime; + this->ftWriteL=ftWrite.dwLowDateTime; + this->ftWriteH=ftWrite.dwHighDateTime; + CloseHandle(hFileSouce); + return true; + #endif + #else + return false; + #endif + #endif + return false; +} + +bool MkPath::writeFileDateTime(const QFileInfo &destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"writeFileDateTime("+destination.absoluteFilePath().toStdString()+")"); + /** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */ + #ifdef Q_OS_UNIX + #ifdef Q_OS_LINUX + return utime(destination.absoluteFilePath().toLatin1().data(),&butime)==0; + #else //mainly for mac + return utime(destination.absoluteFilePath().toLatin1().data(),&butime)==0; + #endif + #else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + return utime(destination.toLatin1().data(),&butime)==0; + #else + wchar_t filePath[65535]; + if(std::regex_match(destination.absoluteFilePath().toStdString(),regRead)) + filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + else + filePath[QDir::toNativeSeparators(destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + HANDLE hFileDestination = CreateFileW(filePath, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL); + if(hFileDestination == INVALID_HANDLE_VALUE) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"open failed to write: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError())); + return false; + } + FILETIME ftCreate, ftAccess, ftWrite; + ftCreate.dwLowDateTime=this->ftCreateL; + ftCreate.dwHighDateTime=this->ftCreateH; + ftAccess.dwLowDateTime=this->ftAccessL; + ftAccess.dwHighDateTime=this->ftAccessH; + ftWrite.dwLowDateTime=this->ftWriteL; + ftWrite.dwHighDateTime=this->ftWriteH; + if(!SetFileTime(hFileDestination, &ftCreate, &ftAccess, &ftWrite)) + { + CloseHandle(hFileDestination); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"unable to set the file time"); + return false; + } + CloseHandle(hFileDestination); + return true; + #endif + #else + return false; + #endif + #endif + return false; +} diff --git a/plugins/CopyEngine/Ultracopier/MkPath.h b/plugins/CopyEngine/Ultracopier/MkPath.h new file mode 100644 index 0000000..2bbebcc --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/MkPath.h @@ -0,0 +1,106 @@ +/** \file MkPath.h +\brief Make the path given as queued mkpath +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef MKPATH_H +#define MKPATH_H + +#include <QThread> +#include <QFileInfo> +#include <string> +#include <QSemaphore> +#include <vector> +#include <QDir> +#include <QDateTime> + +#include "Environment.h" + +#ifdef Q_OS_UNIX + #include <utime.h> + #include <time.h> + #include <unistd.h> + #include <sys/stat.h> +#else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + #include <utime.h> + #include <time.h> + #include <unistd.h> + #include <sys/stat.h> + #endif + #endif +#endif + +/// \brief Make the path given as queued mkpath +class MkPath : public QThread +{ + Q_OBJECT +public: + explicit MkPath(); + ~MkPath(); + /// \brief add path to make + void addPath(const QFileInfo& source,const QFileInfo& destination,const ActionType &actionType); + void setRightTransfer(const bool doRightTransfer); + void setKeepDate(const bool keepDate); +signals: + void errorOnFolder(const QFileInfo &,const std::string &,const ErrorType &errorType=ErrorType_FolderWithRety) const; + void firstFolderFinish(); + void internalStartAddPath(const QFileInfo& source,const QFileInfo& destination, const ActionType &actionType) const; + void internalStartDoThisPath() const; + void internalStartSkip() const; + void internalStartRetry() const; + void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const; +public slots: + /// \brief skip after creation error + void skip(); + /// \brief retry after creation error + void retry(); +private: + void run(); + bool waitAction; + bool stopIt; + bool skipIt; + QDateTime maxTime; + struct Item + { + QFileInfo source; + QFileInfo destination; + ActionType actionType; + }; + QList<Item> pathList; + void checkIfCanDoTheNext(); + QDir dir; + bool doRightTransfer; + bool keepDate; + bool doTheDateTransfer; + #ifdef Q_OS_UNIX + utimbuf butime; + #else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + utimbuf butime; + #else + uint64_t ftCreateL, ftAccessL, ftWriteL; + uint64_t ftCreateH, ftAccessH, ftWriteH; + std::regex regRead; + #endif + #endif + #endif + //fonction to edit the file date time + bool readFileDateTime(const QFileInfo &source); + bool writeFileDateTime(const QFileInfo &destination); + static std::string text_slash; +private slots: + void internalDoThisPath(); + void internalAddPath(const QFileInfo& source, const QFileInfo& destination,const ActionType &actionType); + void internalSkip(); + void internalRetry(); + bool rmpath(const QDir &dir + #ifdef ULTRACOPIER_PLUGIN_RSYNC + , const bool &toSync=false + #endif + ); +}; + +#endif // MKPATH_H diff --git a/plugins/CopyEngine/Ultracopier/ReadThread.cpp b/plugins/CopyEngine/Ultracopier/ReadThread.cpp new file mode 100644 index 0000000..e843d9b --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/ReadThread.cpp @@ -0,0 +1,687 @@ +#include "ReadThread.h" + +ReadThread::ReadThread() +{ + start(); + moveToThread(this); + stopIt=false; + putInPause=false; + blockSize=ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*1024; + setObjectName(QStringLiteral("read")); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + isInReadLoop=false; + tryStartRead=false; + lastGoodPosition=0; + isOpen.release(); +} + +ReadThread::~ReadThread() +{ + stopIt=true; + //disconnect(this);//-> do into ~TransferThread() + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + waitNewClockForSpeed.release(); + #endif + pauseMutex.release(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + waitNewClockForSpeed.release(); + #endif + pauseMutex.release(); + //if(isOpen.available()<=0) + emit internalStartClose(); + isOpen.acquire(); + exit(); + wait(); +} + +void ReadThread::run() +{ + connect(this,&ReadThread::internalStartOpen, this,&ReadThread::internalOpenSlot, Qt::QueuedConnection); + connect(this,&ReadThread::internalStartReopen, this,&ReadThread::internalReopen, Qt::QueuedConnection); + connect(this,&ReadThread::internalStartRead, this,&ReadThread::internalRead, Qt::QueuedConnection); + connect(this,&ReadThread::internalStartClose, this,&ReadThread::internalCloseSlot, Qt::QueuedConnection); + connect(this,&ReadThread::checkIfIsWait, this,&ReadThread::isInWait, Qt::QueuedConnection); + connect(this,&ReadThread::internalStartChecksum, this,&ReadThread::checkSum, Qt::QueuedConnection); + exec(); +} + +void ReadThread::open(const QFileInfo &file, const Ultracopier::CopyMode &mode) +{ + if(!isRunning()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] the thread not running to open destination: "+file.absoluteFilePath().toStdString()); + errorString_internal=tr("Internal error, please report it!").toStdString(); + emit error(); + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] open source: "+file.absoluteFilePath().toStdString()); + if(this->file.isOpen()) + { + if(file.absoluteFilePath()==this->file.fileName()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Try reopen already opened same file: "+file.absoluteFilePath().toStdString()); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already open: "+file.absoluteFilePath().toStdString()); + emit internalStartClose(); + isOpen.acquire(); + isOpen.release(); + } + if(isInReadLoop) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already readding: "+file.absoluteFilePath().toStdString()); + return; + } + if(tryStartRead) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already try read: "+file.absoluteFilePath().toStdString()); + return; + } + stopIt=false; + fakeMode=false; + lastGoodPosition=0; + this->file.setFileName(file.absoluteFilePath()); + this->mode=mode; + emit internalStartOpen(); +} + +std::string ReadThread::errorString() const +{ + return errorString_internal; +} + +void ReadThread::stop() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop()"); + stopIt=true; + pauseMutex.release(); + pauseMutex.release(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + waitNewClockForSpeed.release(); + #endif + if(isOpen.available()<=0) + emit internalStartClose(); +} + +void ReadThread::pause() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] try put read thread in pause"); + if(stopIt) + return; + pauseMutex.tryAcquire(pauseMutex.available()); + putInPause=true; +} + +void ReadThread::resume() +{ + if(putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + putInPause=false; + stopIt=false; + } + else + return; + if(!file.isOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] file is not open"); + return; + } + pauseMutex.release(); +} + +bool ReadThread::seek(const int64_t &position) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start with: "+std::to_string(position)); + if(position>file.size()) + return false; + return file.seek(position); +} + +int64_t ReadThread::size() const +{ + return file.size(); +} + +void ReadThread::postOperation() +{ + emit internalStartClose(); +} + +void ReadThread::checkSum() +{ + QByteArray blockArray; + QCryptographicHash hash(QCryptographicHash::Sha1); + isInReadLoop=true; + lastGoodPosition=0; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + numberOfBlockCopied=0; + #endif + seek(0); + int sizeReaden=0; + do + { + //read one block + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Read; + #endif + if(putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] read put in pause"); + if(stopIt) + return; + pauseMutex.acquire(); + if(stopIt) + return; + } + blockArray=file.read(blockSize); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + + //can be smaller than min block size to do correct speed limitation + if(blockArray.size()>ULTRACOPIER_PLUGIN_MAX_BLOCK_SIZE*1024) + { + errorString_internal=tr("Internal error reading the source file:block size out of range").toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Internal error reading the source file:block size out of range"); + emit error(); + isInReadLoop=false; + return; + } + if(file.error()!=QFile::NoError) + { + errorString_internal=tr("Unable to read the source file: ").toStdString()+file.errorString().toStdString()+" ("+std::to_string(file.error())+")"; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("file.error()!=QFile::NoError: %1, error: ").arg(QString::number(file.error())).toStdString()+errorString_internal); + emit error(); + isInReadLoop=false; + return; + } + sizeReaden=blockArray.size(); + if(sizeReaden>0) + { + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Checksum; + #endif + hash.addData(blockArray); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + + if(stopIt) + break; + + lastGoodPosition+=blockArray.size(); + + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + //wait for limitation speed if stop not query + if(multiForBigSpeed>0) + { + numberOfBlockCopied++; + if(numberOfBlockCopied>=multiForBigSpeed) + { + numberOfBlockCopied=0; + waitNewClockForSpeed.acquire(); + if(stopIt) + break; + } + } + #endif + } + } + while(sizeReaden>0 && !stopIt); + if(lastGoodPosition>file.size()) + { + errorString_internal=tr("File truncated during the read, possible data change").toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())).toStdString()); + emit error(); + isInReadLoop=false; + return; + } + isInReadLoop=false; + if(stopIt) + { + stopIt=false; + return; + } + emit checksumFinish(hash.result()); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop the read"); +} + +bool ReadThread::internalOpenSlot() +{ + return internalOpen(); +} + +bool ReadThread::internalOpen(bool resetLastGoodPosition) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] internalOpen source: "+file.fileName().toStdString()+", open in write because move: "+std::to_string(mode==Ultracopier::Move)); + if(stopIt) + { + emit closed(); + return false; + } + putInPause=false; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=InodeOperation; + #endif + if(file.isOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] this file is already open: "+file.fileName().toStdString()); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + emit closed(); + return false; + } + QIODevice::OpenMode openMode=QIODevice::ReadOnly; + /*can have permision to remove but not write + * if(mode==Ultracopier::Move) + openMode=QIODevice::ReadWrite;*/ + seekToZero=false; + if(file.open(openMode)) + { + if(stopIt) + { + file.close(); + emit closed(); + return false; + } + pauseMutex.tryAcquire(pauseMutex.available()); + if(stopIt) + { + file.close(); + emit closed(); + return false; + } + size_at_open=file.size(); + mtime_at_open=QFileInfo(file).lastModified().toMSecsSinceEpoch()/1000; + putInPause=false; + if(resetLastGoodPosition) + lastGoodPosition=0; + if(!seek(lastGoodPosition)) + { + file.close(); + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).toStdString()+errorString_internal); + emit error(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + return false; + } + isOpen.acquire(); + emit opened(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + return true; + } + else + { + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to open: %1, error: ").arg(file.fileName()).toStdString()+errorString_internal); + emit error(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + return false; + } +} + +void ReadThread::internalRead() +{ + isInReadLoop=true; + tryStartRead=false; + if(stopIt) + { + if(seekToZero && file.isOpen()) + { + stopIt=false; + lastGoodPosition=0; + file.seek(0); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit"); + isInReadLoop=false; + internalClose(); + return; + } + } + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=InodeOperation; + #endif + int sizeReaden=0; + if(!file.isOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] is not open!"); + isInReadLoop=false; + return; + } + QByteArray blockArray; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + numberOfBlockCopied=0; + #endif + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start the copy"); + emit readIsStarted(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit"); + isInReadLoop=false; + internalClose(); + return; + } + do + { + //read one block + if(putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] read put in pause"); + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit"); + isInReadLoop=false; + internalClose(); + return; + } + pauseMutex.acquire(); + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit"); + isInReadLoop=false; + internalClose(); + return; + } + } + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Read; + #endif + blockArray=file.read(blockSize); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + + if(file.error()!=QFile::NoError) + { + errorString_internal=tr("Unable to read the source file: ").toStdString()+file.errorString().toStdString()+" ("+std::to_string(file.error())+")"; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("file.error()!=QFile::NoError: %1, error: ").arg(QString::number(file.error())).toStdString()+errorString_internal); + isInReadLoop=false; + emit error(); + return; + } + sizeReaden=blockArray.size(); + if(sizeReaden>0) + { + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=WaitWritePipe; + #endif + if(!writeThread->write(blockArray))//speed limitation here + { + if(!stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopped because the write is stopped: "+std::to_string(lastGoodPosition)); + stopIt=true; + } + } + + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt == true, then quit"); + isInReadLoop=false; + internalClose();//need re-open the destination and then the source + return; + } + lastGoodPosition+=blockArray.size(); + } + /* + if(lastGoodPosition>16*1024) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("[")+QString::number(id)+QStringLiteral("] ")+QStringLiteral("Test error in reading: %1 (%2)").arg(file.errorString()).arg(file.error())); + errorString_internal=QStringLiteral("Test error in reading: %1 (%2)").arg(file.errorString()).arg(file.error()); + isInReadLoop=false; + emit error(); + return; + } + */ + } + while(sizeReaden>0 && !stopIt); + if(lastGoodPosition>file.size()) + { + errorString_internal=tr("File truncated during the read, possible data change").toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())).toStdString()); + isInReadLoop=false; + emit error(); + return; + } + isInReadLoop=false; + if(stopIt) + { + stopIt=false; + return; + } + emit readIsStopped();//will product by signal connection writeThread->endIsDetected(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop the read"); +} + +void ReadThread::startRead() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + if(tryStartRead) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] already in try start"); + return; + } + if(isInReadLoop) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped"); + else + { + tryStartRead=true; + emit internalStartRead(); + } +} + +void ReadThread::internalCloseSlot() +{ + internalClose(); +} + +void ReadThread::internalClose(bool callByTheDestructor) +{ + /// \note never send signal here, because it's called by the destructor + //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("[")+QString::number(id)+QStringLiteral("] start")); + bool closeTheFile=false; + if(!fakeMode) + { + if(file.isOpen()) + { + closeTheFile=true; + file.close(); + isInReadLoop=false; + } + } + if(!callByTheDestructor) + emit closed(); + + /// \note always the last of this function + if(closeTheFile) + isOpen.release(); +} + +/** \brief set block size +\param block the new block size in B +\return Return true if succes */ +bool ReadThread::setBlockSize(const int blockSize) +{ + //can be smaller than min block size to do correct speed limitation + if(blockSize>1 && blockSize<ULTRACOPIER_PLUGIN_MAX_BLOCK_SIZE*1024) + { + this->blockSize=blockSize; + //set the new max speed because the timer have changed + return true; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"block size out of range: "+std::to_string(blockSize)); + return false; + } +} + +#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT +/*! \brief Set the max speed +\param tempMaxSpeed Set the max speed in KB/s, 0 for no limit */ +void ReadThread::setMultiForBigSpeed(const int &multiForBigSpeed) +{ + this->multiForBigSpeed=multiForBigSpeed; + waitNewClockForSpeed.release(); +} + +/// \brief For give timer every X ms +void ReadThread::timeOfTheBlockCopyFinished() +{ + /* this is the old way to limit the speed, it product blocking + *if(waitNewClockForSpeed.available()<ULTRACOPIER_PLUGIN_NUMSEMSPEEDMANAGEMENT) + waitNewClockForSpeed.release();*/ + + //try this new way: + /* only if speed limited, else will accumulate waitNewClockForSpeed + * Disabled because: Stop call of this method when no speed limit + if(this->maxSpeed>0)*/ + if(waitNewClockForSpeed.available()<=1) + waitNewClockForSpeed.release(); +} +#endif + +/// \brief do the fake open +void ReadThread::fakeOpen() +{ + fakeMode=true; + emit opened(); +} + +/// \brief do the fake writeIsStarted +void ReadThread::fakeReadIsStarted() +{ + emit readIsStarted(); +} + +/// \brief do the fake writeIsStopped +void ReadThread::fakeReadIsStopped() +{ + emit readIsStopped(); +} + +/// do the checksum +void ReadThread::startCheckSum() +{ + emit internalStartChecksum(); +} + +int64_t ReadThread::getLastGoodPosition() const +{ + /*if(lastGoodPosition>file.size()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,QStringLiteral("[")+QString::number(id)+QStringLiteral("] Bug, the lastGoodPosition is greater than the file size!")); + return file.size(); + } + else*/ + return lastGoodPosition; +} + +//reopen after an error +void ReadThread::reopen() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + if(isInReadLoop) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] try reopen where read is not finish"); + return; + } + stopIt=true; + emit internalStartReopen(); +} + +bool ReadThread::internalReopen() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + stopIt=false; + if(file.isOpen()) + { + file.close(); + isOpen.release(); + } + if(size_at_open!=file.size() && mtime_at_open!=(uint64_t)QFileInfo(file).lastModified().toMSecsSinceEpoch()/1000) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] source file have changed since the last open, restart all"); + //fix this function like the close function + if(internalOpen(true)) + { + emit resumeAfterErrorByRestartAll(); + return true; + } + else + return false; + } + else + { + //fix this function like the close function + if(internalOpen(false)) + { + emit resumeAfterErrorByRestartAtTheLastPosition(); + return true; + } + else + return false; + } +} + +//set the write thread +void ReadThread::setWriteThread(WriteThread * writeThread) +{ + this->writeThread=writeThread; +} + +#ifdef ULTRACOPIER_PLUGIN_DEBUG +//to set the id +void ReadThread::setId(int id) +{ + this->id=id; +} +#endif + +void ReadThread::seekToZeroAndWait() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + stopIt=true; + seekToZero=true; + emit checkIfIsWait(); +} + +void ReadThread::isInWait() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + if(seekToZero) + { + stopIt=false; + seekToZero=false; + if(file.isOpen()) + { + lastGoodPosition=0; + seek(0); + } + else + internalOpen(true); + emit isSeekToZeroAndWait(); + } +} + +bool ReadThread::isReading() const +{ + return isInReadLoop; +} + diff --git a/plugins/CopyEngine/Ultracopier/ReadThread.h b/plugins/CopyEngine/Ultracopier/ReadThread.h new file mode 100644 index 0000000..f817e35 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/ReadThread.h @@ -0,0 +1,147 @@ +/** \file ReadThread.h +\brief Thread changed to open/close and read the source file +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef READTHREAD_H +#define READTHREAD_H + +#include <QThread> +#include <QByteArray> +#include <QSemaphore> +#include <QDateTime> +#include <QFileInfo> +#include <QCryptographicHash> + +#include "WriteThread.h" +#include "Environment.h" +#include "StructEnumDefinition_CopyEngine.h" +#include "AvancedQFile.h" + +/// \brief Thread changed to open/close and read the source file +class ReadThread : public QThread +{ + Q_OBJECT +public: + explicit ReadThread(); + ~ReadThread(); +protected: + void run(); +public: + /// \brief open with the name and copy mode + void open(const QFileInfo &file, const Ultracopier::CopyMode &mode); + /// \brief return the error string + std::string errorString() const; + //QByteArray read(qint64 position,qint64 maxSize); + /// \brief stop the copy + void stop(); + /// \brief put the copy in pause + void pause(); + /// \brief resume the copy + void resume(); + /// \brief get the size of the source file + int64_t size() const; + /// \brief get the last good position + int64_t getLastGoodPosition() const; + /// \brief start the reading of the source file + void startRead(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + /// \brief set the current max speed in KB/s + void setMultiForBigSpeed(const int &multiForBigSpeed); + #endif + /// \brief set block size in KB + bool setBlockSize(const int blockSize); + /// \brief reopen after an error + void reopen(); + /// \brief set the write thread + void setWriteThread(WriteThread * writeThread); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief to set the id + void setId(int id); + /// \brief stat + enum ReadStat + { + Idle=0, + InodeOperation=1, + Read=2, + WaitWritePipe=3, + Checksum=4 + }; + ReadStat stat; + #endif + /// \brief return if it's reading + bool isReading() const; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + /// \brief executed at regular interval to do a speed throling + void timeOfTheBlockCopyFinished(); + #endif + /// \brief do the fake open + void fakeOpen(); + /// \brief do the fake readIsStarted + void fakeReadIsStarted(); + /// \brief do the fake readIsStopped + void fakeReadIsStopped(); + /// do the checksum + void startCheckSum(); +public slots: + /// \brief to reset the copy, and put at the same state when it just open + void seekToZeroAndWait(); + void postOperation(); + /// do the checksum + void checkSum(); +signals: + void error() const; + void opened() const; + void readIsStarted() const; + void readIsStopped() const; + void closed() const; + void isSeekToZeroAndWait() const; + void checkIfIsWait() const; + void resumeAfterErrorByRestartAll() const; + void resumeAfterErrorByRestartAtTheLastPosition() const; + void checksumFinish(const QByteArray&) const; + // internal signals + void internalStartOpen() const; + void internalStartChecksum() const; + void internalStartReopen() const; + void internalStartRead() const; + void internalStartClose() const; + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const; + +private: + std::string errorString_internal; + AvancedQFile file; + volatile bool stopIt; + Ultracopier::CopyMode mode; + int64_t lastGoodPosition; + volatile int blockSize;//in Bytes + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + QSemaphore waitNewClockForSpeed; + volatile int numberOfBlockCopied; ///< Multiple for count the number of block copied + volatile int multiForBigSpeed; ///< Multiple for count the number of block needed + #endif + WriteThread* writeThread; + int id; + QSemaphore isOpen; + QSemaphore pauseMutex; + volatile bool putInPause; + volatile bool isInReadLoop; + volatile bool seekToZero; + volatile bool tryStartRead; + int64_t size_at_open; + uint64_t mtime_at_open; + bool fakeMode; + //internal function + bool seek(const int64_t &position);/// \todo search if is use full +private slots: + bool internalOpen(bool resetLastGoodPosition=true); + bool internalOpenSlot(); + bool internalReopen(); + void internalRead(); + void internalClose(bool callByTheDestructor=false); + void internalCloseSlot(); + void isInWait(); +}; + +#endif // READTHREAD_H diff --git a/plugins/CopyEngine/Ultracopier/RenamingRules.cpp b/plugins/CopyEngine/Ultracopier/RenamingRules.cpp new file mode 100644 index 0000000..4ae23b8 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/RenamingRules.cpp @@ -0,0 +1,85 @@ +#include "RenamingRules.h" +#include "ui_RenamingRules.h" + +#include <QMessageBox> + +RenamingRules::RenamingRules(QWidget *parent) : + QDialog(parent), + ui(new Ui::RenamingRules) +{ + ui->setupUi(this); + connectUI(); + setRenamingRules("",""); +} + +RenamingRules::~RenamingRules() +{ + delete ui; +} + +void RenamingRules::on_buttonBox_clicked(QAbstractButton *button) +{ + if(ui->buttonBox->buttonRole(button)==QDialogButtonBox::RejectRole) + reject(); + if(ui->buttonBox->buttonRole(button)==QDialogButtonBox::ResetRole) + { + setRenamingRules("",""); + emit sendNewRenamingRules(firstRenamingRule,otherRenamingRule); + } +} + +void RenamingRules::setRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule) +{ + disconnectUI(); + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; + if(!firstRenamingRule.empty()) + ui->firstRenamingRule->setText(QString::fromStdString(firstRenamingRule)); + else + ui->firstRenamingRule->setText(tr("%1 - copy").arg(QStringLiteral("%name%"))); + if(!otherRenamingRule.empty()) + ui->otherRenamingRule->setText(QString::fromStdString(otherRenamingRule)); + else + ui->otherRenamingRule->setText(tr("%1 - copy (%2)").arg(QStringLiteral("%name%")).arg(QStringLiteral("%number%"))); + connectUI(); +} + +void RenamingRules::connectUI() +{ + connect(ui->firstRenamingRule,&QLineEdit::editingFinished,this,&RenamingRules::firstRenamingRule_haveChanged); + connect(ui->otherRenamingRule,&QLineEdit::editingFinished,this,&RenamingRules::otherRenamingRule_haveChanged); +} + +void RenamingRules::disconnectUI() +{ + disconnect(ui->firstRenamingRule,&QLineEdit::editingFinished,this,&RenamingRules::firstRenamingRule_haveChanged); + disconnect(ui->otherRenamingRule,&QLineEdit::editingFinished,this,&RenamingRules::otherRenamingRule_haveChanged); +} + +void RenamingRules::firstRenamingRule_haveChanged() +{ + QString newValue=ui->firstRenamingRule->text(); + if(newValue==tr("%1 - copy").arg(QStringLiteral("%name%"))) + newValue=QStringLiteral(""); + if(newValue.toStdString()==firstRenamingRule) + return; + firstRenamingRule=newValue.toStdString(); + emit sendNewRenamingRules(firstRenamingRule,otherRenamingRule); +} + +void RenamingRules::otherRenamingRule_haveChanged() +{ + QString newValue=ui->otherRenamingRule->text(); + if(newValue==tr("%1 - copy (%2)").arg(QStringLiteral("%name%")).arg(QStringLiteral("%number%"))) + newValue=QStringLiteral(""); + if(newValue.toStdString()==otherRenamingRule) + return; + otherRenamingRule=newValue.toStdString(); + emit sendNewRenamingRules(firstRenamingRule,otherRenamingRule); +} + +void RenamingRules::newLanguageLoaded() +{ + ui->retranslateUi(this); + setRenamingRules(firstRenamingRule,otherRenamingRule); +} diff --git a/plugins/CopyEngine/Ultracopier/RenamingRules.h b/plugins/CopyEngine/Ultracopier/RenamingRules.h new file mode 100644 index 0000000..b2e9d02 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/RenamingRules.h @@ -0,0 +1,34 @@ +#ifndef RENAMINGRULES_H +#define RENAMINGRULES_H + +#include <QDialog> +#include <QAbstractButton> + +namespace Ui { +class RenamingRules; +} + +/** Define rules for renaming */ +class RenamingRules : public QDialog +{ + Q_OBJECT +public: + explicit RenamingRules(QWidget *parent = 0); + ~RenamingRules(); + void setRenamingRules(std::string firstRenamingRule, std::string otherRenamingRule); + void newLanguageLoaded(); +private: + Ui::RenamingRules *ui; + void connectUI(); + void disconnectUI(); + std::string firstRenamingRule; + std::string otherRenamingRule; +private slots: + void on_buttonBox_clicked(QAbstractButton *button); + void firstRenamingRule_haveChanged(); + void otherRenamingRule_haveChanged(); +signals: + void sendNewRenamingRules(std::string firstRenamingRule,std::string otherRenamingRule) const; +}; + +#endif // RENAMINGRULES_H diff --git a/plugins/CopyEngine/Ultracopier/RenamingRules.ui b/plugins/CopyEngine/Ultracopier/RenamingRules.ui new file mode 100644 index 0000000..9e84f4b --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/RenamingRules.ui @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>RenamingRules</class> + <widget class="QDialog" name="RenamingRules"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>303</width> + <height>213</height> + </rect> + </property> + <property name="windowTitle"> + <string>Renaming rules</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <property name="spacing"> + <number>2</number> + </property> + <property name="margin"> + <number>2</number> + </property> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>First renaming</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLineEdit" name="firstRenamingRule"> + <property name="placeholderText"> + <string extracomment="%name% should not be translated">%name% - copy</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string extracomment=" should not be translated"><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p></body></html></string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string>Second renaming</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QLineEdit" name="otherRenamingRule"> + <property name="placeholderText"> + <string extracomment="%name%, %number% should not be translated">%name% - copy (%number%)</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string extracomment="%name%, %number% should not be translated"><html><head/><body><p>Variables: <span style=" font-weight:600;">%name%</span> for the original file name</p><p><span style=" font-weight:600;">%number%</span> for the extra number</p></body></html></string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>1</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Close|QDialogButtonBox::RestoreDefaults</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>RenamingRules</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>248</x> + <y>254</y> + </hint> + <hint type="destinationlabel"> + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>RenamingRules</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>316</x> + <y>260</y> + </hint> + <hint type="destinationlabel"> + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp new file mode 100644 index 0000000..736f589 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.cpp @@ -0,0 +1,688 @@ +#include "ScanFileOrFolder.h" +#include "TransferThread.h" +#include <QtGlobal> +#include <QDateTime> +#include <regex> +#include "../../../cpp11addition.h" + +#ifdef Q_OS_WIN32 + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> +#endif + +std::string ScanFileOrFolder::text_slash="/"; +std::string ScanFileOrFolder::text_antislash="\\"; +std::string ScanFileOrFolder::text_dot="."; + +ScanFileOrFolder::ScanFileOrFolder(const Ultracopier::CopyMode &mode) +{ + #ifdef ULTRACOPIER_PLUGIN_RSYNC + rsync = false; + #endif + moveTheWholeFolder = true; + stopped = true; + stopIt = false; + this->mode = mode; + folder_isolation = std::regex("^(.*/)?([^/]+)/$"); + setObjectName(QStringLiteral("ScanFileOrFolder")); + #ifdef Q_OS_WIN32 + QString userName; + DWORD size=255; + WCHAR * userNameW=new WCHAR[size]; + if(GetUserNameW(userNameW,&size)) + { + userName=QString::fromWCharArray(userNameW,size-1); + blackList.push_back(QFileInfo(QStringLiteral("C:/Users/%1/AppData/Roaming/").arg(userName)).absoluteFilePath().toStdString()); + } + delete userNameW; + #endif +} + +ScanFileOrFolder::~ScanFileOrFolder() +{ + stop(); + quit(); + wait(); +} + +bool ScanFileOrFolder::isFinished() const +{ + return stopped; +} + +void ScanFileOrFolder::addToList(const std::vector<std::string>& sources,const std::string& destination) +{ + stopIt=false; + this->sources=parseWildcardSources(sources); + this->destination=destination; + QFileInfo destinationInfo(QString::fromStdString(this->destination)); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"check symblink: "+destinationInfo.absoluteFilePath().toStdString()); + while(destinationInfo.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"resolv destination to: "+destinationInfo.symLinkTarget().toStdString()); + if(QFileInfo(destinationInfo.symLinkTarget()).isAbsolute()) + this->destination=destinationInfo.symLinkTarget().toStdString(); + else + this->destination=destinationInfo.absolutePath().toStdString()+text_slash+destinationInfo.symLinkTarget().toStdString(); + destinationInfo.setFile(QString::fromStdString(this->destination)); + } + if(sources.size()>1 || QFileInfo(QString::fromStdString(destination)).isDir()) + /* Disabled because the separator transformation product bug + * if(!destination.endsWith(QDir::separator())) + this->destination+=QDir::separator();*/ + if(!stringEndsWith(destination,'/') && !stringEndsWith(destination,'\\')) + this->destination+=text_slash;//put unix separator because it's transformed into that's under windows too + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"addToList("+stringimplode(sources,";")+","+this->destination+")"); +} + + +std::vector<std::string> ScanFileOrFolder::parseWildcardSources(const std::vector<std::string> &sources) const +{ + std::regex splitFolder("[/\\\\]"); + std::vector<std::string> returnList; + unsigned int index=0; + while(index<(unsigned int)sources.size()) + { + if(sources.at(index).find("*") != std::string::npos) + { + std::vector<std::string> toParse=stringregexsplit(sources.at(index),splitFolder); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"before wildcard parse: "+sources.at(index)+", toParse: "+stringimplode(toParse,", ")); + std::vector<std::vector<std::string> > recomposedSource; + { + std::vector<std::string> t; + t.push_back(""); + recomposedSource.push_back(t); + } + while(toParse.size()>0) + { + if(toParse.front().find("*") != std::string::npos) + { + std::string toParseFirst=toParse.front(); + if(toParseFirst.empty()) + toParseFirst=text_slash; + std::vector<std::vector<std::string> > newRecomposedSource; + stringreplaceAll(toParseFirst,"*","[^/\\\\]*"); + std::regex toResolv=std::regex(toParseFirst); + unsigned int index_recomposedSource=0; + while(index_recomposedSource<recomposedSource.size())//parse each url part + { + QFileInfo info(QString::fromStdString(stringimplode(recomposedSource.at(index_recomposedSource),text_slash))); + if(info.isDir() && !info.isSymLink()) + { + QDir folder(info.absoluteFilePath()); + QFileInfoList fileFile=folder.entryInfoList(QDir::AllEntries|QDir::NoDotAndDotDot|QDir::Hidden|QDir::System);//QStringList() << toResolv + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"list the folder: "+info.absoluteFilePath().toStdString()+", with the wildcard: "+toParseFirst); + int index_fileList=0; + while(index_fileList<fileFile.size()) + { + const std::string &fileName=fileFile.at(index_fileList).fileName().toStdString(); + if(std::regex_match(fileName,toResolv)) + { + std::vector<std::string> tempList=recomposedSource.at(index_recomposedSource); + tempList.push_back(fileName); + newRecomposedSource.push_back(tempList); + } + index_fileList++; + } + } + index_recomposedSource++; + } + recomposedSource=newRecomposedSource; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"add toParse: "+stringimplode(toParse,text_slash)); + unsigned int index_recomposedSource=0; + while(index_recomposedSource<recomposedSource.size()) + { + recomposedSource[index_recomposedSource].push_back(toParse.front()); + if(!QFileInfo(QString::fromStdString(stringimplode(recomposedSource.at(index_recomposedSource),text_slash))).exists()) + recomposedSource.erase(recomposedSource.cbegin()+index_recomposedSource); + else + index_recomposedSource++; + } + } + toParse.erase(toParse.cbegin()); + } + unsigned int index_recomposedSource=0; + while(index_recomposedSource<recomposedSource.size()) + { + returnList.push_back(stringimplode(recomposedSource.at(index_recomposedSource),text_slash)); + index_recomposedSource++; + } + } + else + returnList.push_back(sources.at(index)); + index++; + } + return returnList; +} + +void ScanFileOrFolder::setFilters(const std::vector<Filters_rules> &include, const std::vector<Filters_rules> &exclude) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + QMutexLocker lock(&filtersMutex); + this->include_send=include; + this->exclude_send=exclude; + reloadTheNewFilters=true; + haveFilters=include_send.size()>0 || exclude_send.size()>0; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"haveFilters: "+std::to_string(haveFilters)+", include_send.size(): "+std::to_string(include_send.size())+", exclude_send.size(): "+std::to_string(exclude_send.size())); +} + +//set action if Folder are same or exists +void ScanFileOrFolder::setFolderExistsAction(const FolderExistsAction &action, const std::string &newName) +{ + this->newName=newName; + folderExistsAction=action; + waitOneAction.release(); +} + +//set action if error +void ScanFileOrFolder::setFolderErrorAction(const FileErrorAction &action) +{ + fileErrorAction=action; + waitOneAction.release(); +} + +void ScanFileOrFolder::stop() +{ + stopIt=true; + waitOneAction.release(); +} + +void ScanFileOrFolder::run() +{ + stopped=false; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start the listing with destination: "+destination+", mode: "+std::to_string(mode)); + destination=resolvDestination(QString::fromStdString(destination)).absoluteFilePath().toStdString(); + if(stopIt) + { + stopped=true; + return; + } + if(fileErrorAction==FileError_Skip) + { + stopped=true; + return; + } + unsigned int sourceIndex=0; + while(sourceIndex<sources.size()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"size source to list: "+std::to_string(sourceIndex)+text_slash+std::to_string(sources.size())); + if(stopIt) + { + stopped=true; + return; + } + QFileInfo source=QString::fromStdString(sources.at(sourceIndex)); + if(source.isDir() && !source.isSymLink()) + { + /* Bad way; when you copy c:\source\folder into d:\destination, you wait it create the folder d:\destination\folder + //listFolder(source.absoluteFilePath()+QDir::separator(),destination); + listFolder(source.absoluteFilePath()+text_slash,destination);//put unix separator because it's transformed into that's under windows too + */ + //put unix separator because it's transformed into that's under windows too + std::string tempString=QFileInfo(QString::fromStdString(destination)).absoluteFilePath().toStdString(); + if(!stringEndsWith(tempString,text_slash) && !stringEndsWith(tempString,text_antislash)) + tempString+=text_slash; + tempString+=TransferThread::resolvedName(source); + if(moveTheWholeFolder && mode==Ultracopier::Move && !QFileInfo(QString::fromStdString(tempString)).exists() && + driveManagement.isSameDrive(source.absoluteFilePath().toStdString(),tempString)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"tempString: move and not exists: "+tempString); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"do real move: "+source.absoluteFilePath().toStdString()+" to "+tempString); + emit addToRealMove(source.absoluteFilePath(),QString::fromStdString(tempString)); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"tempString: "+tempString+" normal listing, blacklist size: "+std::to_string(blackList.size())); + listFolder(source.absoluteFilePath(),QString::fromStdString(tempString)); + } + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"source: "+source.absoluteFilePath().toStdString()+" is file or symblink"); + emit fileTransfer(source,QString::fromStdString(destination+text_slash)+source.fileName(),mode); + } + sourceIndex++; + } + stopped=true; + if(stopIt) + return; + emit finishedTheListing(); +} + +QFileInfo ScanFileOrFolder::resolvDestination(const QFileInfo &destination) +{ + QFileInfo newDestination=destination; + while(newDestination.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"resolv destination to: "+newDestination.symLinkTarget().toStdString()); + if(QFileInfo(newDestination.symLinkTarget()).isAbsolute()) + newDestination.setFile(newDestination.symLinkTarget()); + else + newDestination.setFile(newDestination.absolutePath()+QString::fromStdString(text_slash)+newDestination.symLinkTarget()); + } + do + { + fileErrorAction=FileError_NotSet; + if(isBlackListed(destination)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"isBlackListed: "+destination.absoluteFilePath().toStdString()); + emit errorOnFolder(destination,tr("Blacklisted folder").toStdString(),ErrorType_Folder); + waitOneAction.acquire(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+std::to_string(fileErrorAction)); + } + } while(fileErrorAction==FileError_Retry || fileErrorAction==FileError_PutToEndOfTheList); + return newDestination; +} + +bool ScanFileOrFolder::isBlackListed(const QFileInfo &destination) +{ + int index=0; + int size=blackList.size(); + while(index<size) + { + if(stringStartWith(destination.absoluteFilePath().toStdString(),blackList.at(index))) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,destination.absoluteFilePath().toStdString()+" start with: "+blackList.at(index)); + return true; + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,destination.absoluteFilePath().toStdString()+" not start with: "+blackList.at(index)); + index++; + } + return false; +} + +void ScanFileOrFolder::listFolder(QFileInfo source,QFileInfo destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"source: "+source.absoluteFilePath().toStdString()+ + " ("+std::to_string(source.isSymLink())+"), destination: "+destination.absoluteFilePath().toStdString()+ + " ("+std::to_string(destination.isSymLink())+")"); + if(stopIt) + return; + destination=resolvDestination(destination); + if(stopIt) + return; + if(fileErrorAction==FileError_Skip) + return; + //if is same + if(source.absoluteFilePath()==destination.absoluteFilePath()) + { + emit folderAlreadyExists(source,destination,true); + waitOneAction.acquire(); + std::string destinationSuffixPath; + switch(folderExistsAction) + { + case FolderExists_Merge: + break; + case FolderExists_Skip: + return; + break; + case FolderExists_Rename: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination before rename: "+destination.absoluteFilePath().toStdString()); + if(newName.empty()) + { + //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"pattern: "+folder_isolation.str()); + //resolv the new name + destinationSuffixPath=destination.baseName().toStdString(); + int num=1; + do + { + if(num==1) + { + if(firstRenamingRule.empty()) + destinationSuffixPath=tr("%1 - copy").arg(destination.baseName()).toStdString(); + else + { + destinationSuffixPath=firstRenamingRule; + stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString()); + } + } + else + { + if(otherRenamingRule.empty()) + destinationSuffixPath=tr("%1 - copy (%2)").arg(destination.baseName()).arg(num).toStdString(); + else + { + destinationSuffixPath=otherRenamingRule; + stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString()); + stringreplaceAll(destinationSuffixPath,"%number%",std::to_string(num)); + } + } + num++; + if(destination.completeSuffix().isEmpty()) + destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath)); + else + destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath)+QString::fromStdString(text_dot)+destination.completeSuffix()); + } + while(destination.exists()); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"use new name: "+newName); + destinationSuffixPath = newName; + } + destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash+destinationSuffixPath)); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination after rename: "+destination.absoluteFilePath().toStdString()); + break; + default: + return; + break; + } + } + //check if destination exists + if(checkDestinationExists) + { + if(destination.exists()) + { + emit folderAlreadyExists(source,destination,false); + waitOneAction.acquire(); + std::string destinationSuffixPath; + switch(folderExistsAction) + { + case FolderExists_Merge: + break; + case FolderExists_Skip: + return; + break; + case FolderExists_Rename: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination before rename: "+destination.absoluteFilePath().toStdString()); + if(newName.empty()) + { + //resolv the new name + QFileInfo destinationInfo; + int num=1; + do + { + if(num==1) + { + if(firstRenamingRule.empty()) + destinationSuffixPath=tr("%1 - copy").arg(destination.baseName()).toStdString(); + else + { + destinationSuffixPath=firstRenamingRule; + stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString()); + } + } + else + { + if(otherRenamingRule.empty()) + destinationSuffixPath=tr("%1 - copy (%2)").arg(destination.baseName()).arg(num).toStdString(); + else + { + destinationSuffixPath=otherRenamingRule; + stringreplaceAll(destinationSuffixPath,"%name%",destination.baseName().toStdString()); + stringreplaceAll(destinationSuffixPath,"%number%",std::to_string(num)); + } + } + destinationInfo.setFile(destinationInfo.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath)); + num++; + } + while(destinationInfo.exists()); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"use new name: "+newName); + destinationSuffixPath = newName; + } + if(destination.completeSuffix().isEmpty()) + destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath)); + else + destination.setFile(destination.absolutePath()+QString::fromStdString(text_slash)+QString::fromStdString(destinationSuffixPath)+QStringLiteral(".")+destination.completeSuffix()); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"destination after rename: "+destination.absoluteFilePath().toStdString()); + break; + default: + return; + break; + } + } + } + //do source check + //check of source is readable + do + { + fileErrorAction=FileError_NotSet; + if(!source.isReadable() || !source.isExecutable() || !source.exists() || !source.isDir()) + { + if(!source.isDir()) + emit errorOnFolder(source,tr("This is not a folder").toStdString()); + else if(!source.exists()) + emit errorOnFolder(source,tr("The folder does exists").toStdString()); + else + emit errorOnFolder(source,tr("The folder is not readable").toStdString()); + waitOneAction.acquire(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+std::to_string(fileErrorAction)); + } + } while(fileErrorAction==FileError_Retry); + do + { + QDir tempDir(source.absoluteFilePath()); + fileErrorAction=FileError_NotSet; + if(!tempDir.isReadable() || !tempDir.exists()) + { + emit errorOnFolder(source,tr("Problem with name encoding").toStdString()); + waitOneAction.acquire(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"actionNum: "+std::to_string(fileErrorAction)); + } + } while(fileErrorAction==FileError_Retry); + if(stopIt) + return; + /// \todo check here if the folder is not readable or not exists + QFileInfoList entryList; + if(copyListOrder) + entryList=QDir(source.absoluteFilePath()).entryInfoList(QDir::AllEntries|QDir::NoDotAndDotDot|QDir::Hidden|QDir::System,QDir::DirsFirst|QDir::Name|QDir::IgnoreCase);//possible wait time here + else + entryList=QDir(source.absoluteFilePath()).entryInfoList(QDir::AllEntries|QDir::NoDotAndDotDot|QDir::Hidden|QDir::System);//possible wait time here + if(stopIt) + return; + int sizeEntryList=entryList.size(); + emit newFolderListing(source.absoluteFilePath().toStdString()); + if(mode!=Ultracopier::Move) + emit addToMkPath(source,destination,sizeEntryList); + for (int index=0;index<sizeEntryList;++index) + { + QFileInfo fileInfo=entryList.at(index); + if(stopIt) + return; + if(haveFilters) + { + if(reloadTheNewFilters) + { + QMutexLocker lock(&filtersMutex); + QCoreApplication::processEvents(QEventLoop::AllEvents); + reloadTheNewFilters=false; + this->include=this->include_send; + this->exclude=this->exclude_send; + } + std::string fileName=fileInfo.fileName().toStdString(); + if(fileInfo.isDir() && !fileInfo.isSymLink()) + { + bool excluded=false,included=(include.size()==0); + unsigned int filters_index=0; + while(filters_index<exclude.size()) + { + if(exclude.at(filters_index).apply_on==ApplyOn_folder || exclude.at(filters_index).apply_on==ApplyOn_fileAndFolder) + { + if(std::regex_match(fileName,exclude.at(filters_index).regex)) + { + excluded=true; + break; + } + } + filters_index++; + } + if(excluded) + {} + else + { + filters_index=0; + while(filters_index<include.size()) + { + if(include.at(filters_index).apply_on==ApplyOn_folder || include.at(filters_index).apply_on==ApplyOn_fileAndFolder) + { + if(std::regex_match(fileName,include.at(filters_index).regex)) + { + included=true; + break; + } + } + filters_index++; + } + if(!included) + {} + else + listFolder(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName()); + } + } + else + { + bool excluded=false,included=(include.size()==0); + unsigned int filters_index=0; + while(filters_index<exclude.size()) + { + if(exclude.at(filters_index).apply_on==ApplyOn_file || exclude.at(filters_index).apply_on==ApplyOn_fileAndFolder) + { + if(std::regex_match(fileName,exclude.at(filters_index).regex)) + { + excluded=true; + break; + } + } + filters_index++; + } + if(excluded) + {} + else + { + filters_index=0; + while(filters_index<include.size()) + { + if(include.at(filters_index).apply_on==ApplyOn_file || include.at(filters_index).apply_on==ApplyOn_fileAndFolder) + { + if(std::regex_match(fileName,include.at(filters_index).regex)) + { + included=true; + break; + } + } + filters_index++; + } + if(!included) + {} + else + #ifndef ULTRACOPIER_PLUGIN_RSYNC + emit fileTransfer(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName(),mode); + #else + { + bool sendToTransfer=false; + if(!rsync) + sendToTransfer=true; + else if(!QFile::exists(destination.absoluteFilePath()+"/"+fileInfo.fileName())) + sendToTransfer=true; + else if(fileInfo.lastModified()!=QFileInfo(destination.absoluteFilePath()+"/"+fileInfo.fileName()).lastModified()) + sendToTransfer=true; + if(sendToTransfer) + emit fileTransfer(fileInfo.absoluteFilePath(),destination.absoluteFilePath()+"/"+fileInfo.fileName(),mode); + } + #endif + } + } + } + else + { + if(fileInfo.isDir() && !fileInfo.isSymLink())//possible wait time here + //listFolder(source,destination,suffixPath+fileInfo.fileName()+QDir::separator()); + listFolder(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName());//put unix separator because it's transformed into that's under windows too + else + #ifndef ULTRACOPIER_PLUGIN_RSYNC + emit fileTransfer(fileInfo,destination.absoluteFilePath()+QString::fromStdString(text_slash)+fileInfo.fileName(),mode); + #else + { + bool sendToTransfer=false; + if(!rsync) + sendToTransfer=true; + else if(!QFile::exists(destination.absoluteFilePath()+"/"+fileInfo.fileName())) + sendToTransfer=true; + else if(fileInfo.lastModified()!=QFileInfo(destination.absoluteFilePath()+"/"+fileInfo.fileName()).lastModified()) + sendToTransfer=true; + if(sendToTransfer) + emit fileTransfer(fileInfo.absoluteFilePath(),destination.absoluteFilePath()+"/"+fileInfo.fileName(),mode); + } + #endif + } + } + #ifdef ULTRACOPIER_PLUGIN_RSYNC + if(rsync) + { + //check the reverse path here + QFileInfoList entryListDestination; + if(copyListOrder) + entryListDestination=QDir(destination.absoluteFilePath()).entryInfoList(QDir::AllEntries|QDir::NoDotAndDotDot|QDir::Hidden|QDir::System,QDir::DirsFirst|QDir::Name|QDir::IgnoreCase);//possible wait time here + else + entryListDestination=QDir(destination.absoluteFilePath()).entryInfoList(QDir::AllEntries|QDir::NoDotAndDotDot|QDir::Hidden|QDir::System);//possible wait time here + int sizeEntryListDestination=entryListDestination.size(); + int index=0; + for (int indexDestination=0;indexDestination<sizeEntryListDestination;++indexDestination) + { + index=0; + while(index<sizeEntryList) + { + if(entryListDestination.at(indexDestination).fileName()==entryList.at(index).fileName()) + break; + index++; + } + if(index==sizeEntryList) + { + //then not found, need be remove + emit addToRmForRsync(entryListDestination.at(indexDestination)); + } + } + return; + } + #endif + if(mode==Ultracopier::Move) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"source: "+source.absoluteFilePath().toStdString()+", sizeEntryList: "+std::to_string(sizeEntryList)); + emit addToMovePath(source,destination,sizeEntryList); + } +} + +//set if need check if the destination exists +void ScanFileOrFolder::setCheckDestinationFolderExists(const bool checkDestinationFolderExists) +{ + this->checkDestinationExists=checkDestinationFolderExists; +} + +void ScanFileOrFolder::setRenamingRules(const std::string &firstRenamingRule, const std::string &otherRenamingRule) +{ + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; +} + +void ScanFileOrFolder::setMoveTheWholeFolder(const bool &moveTheWholeFolder) +{ + this->moveTheWholeFolder=moveTheWholeFolder; +} + +void ScanFileOrFolder::setCopyListOrder(const bool &order) +{ + this->copyListOrder=order; +} + +#ifdef ULTRACOPIER_PLUGIN_RSYNC +/// \brief set rsync +void ScanFileOrFolder::setRsync(const bool rsync) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set rsync: "+std::to_string(rsync)); + this->rsync=rsync; +} +#endif + +void ScanFileOrFolder::set_updateMount() +{ + driveManagement.tryUpdate(); +} diff --git a/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h new file mode 100644 index 0000000..0c625e9 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/ScanFileOrFolder.h @@ -0,0 +1,108 @@ +/** \file scanFileOrFolder.h +\brief Thread changed to list recursively the folder +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#include <QThread> +#include <QFileInfo> +#include <QDir> +#include <QSemaphore> +#include <QEventLoop> +#include <QCoreApplication> +#include <QMutexLocker> +#include <regex> +#include <string> +#include <vector> + +#include "Environment.h" +#include "DriveManagement.h" + +#ifndef SCANFILEORFOLDER_H +#define SCANFILEORFOLDER_H + +/// \brief Thread changed to list recursively the folder +class ScanFileOrFolder : public QThread +{ + Q_OBJECT +public: + explicit ScanFileOrFolder(const Ultracopier::CopyMode &mode); + ~ScanFileOrFolder(); + /// \brief to the a folder listing + void stop(); + /// \brief to get if is finished + bool isFinished() const; + /// \brief set action if Folder are same or exists + void setFolderExistsAction(const FolderExistsAction &action, const std::string &newName=""); + /// \brief set action if error + void setFolderErrorAction(const FileErrorAction &action); + /// \brief set if need check if the destination exists + void setCheckDestinationFolderExists(const bool checkDestinationFolderExists); + void setRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule); + void setMoveTheWholeFolder(const bool &moveTheWholeFolder); + #ifdef ULTRACOPIER_PLUGIN_RSYNC + void setRsync(const bool rsync); + #endif +signals: + void fileTransfer(const QFileInfo &source,const QFileInfo &destination,const Ultracopier::CopyMode &mode) const; + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const; + void folderAlreadyExists(const QFileInfo &source,const QFileInfo &destination,const bool &isSame) const; + void errorOnFolder(const QFileInfo &fileInfo,const std::string &errorString,const ErrorType &errorType=ErrorType_FolderWithRety) const; + void finishedTheListing() const; + + void newFolderListing(const std::string &path) const; + void addToMkPath(const QFileInfo& source,const QFileInfo& destination, const int& inode) const; + void addToMovePath(const QFileInfo& source,const QFileInfo& destination, const int& inodeToRemove) const; + void addToRealMove(const QFileInfo& source,const QFileInfo& destination) const; + #ifdef ULTRACOPIER_PLUGIN_RSYNC + void addToRmForRsync(const QFileInfo& destination) const; + #endif +public slots: + void addToList(const std::vector<std::string>& sources,const std::string& destination); + void setFilters(const std::vector<Filters_rules> &include,const std::vector<Filters_rules> &exclude); + void setCopyListOrder(const bool &order); + void set_updateMount(); +protected: + void run(); +private: + DriveManagement driveManagement; + bool moveTheWholeFolder; + std::vector<std::string> sources; + std::string destination; + volatile bool stopIt; + void listFolder(QFileInfo source, QFileInfo destination); + bool isBlackListed(const QFileInfo &destination); + QFileInfo resolvDestination(const QFileInfo &destination); + volatile bool stopped; + QSemaphore waitOneAction; + FolderExistsAction folderExistsAction; + FileErrorAction fileErrorAction; + volatile bool checkDestinationExists; + std::string newName; + bool copyListOrder; + std::regex folder_isolation; + #ifdef ULTRACOPIER_PLUGIN_RSYNC + bool rsync; + #endif + Ultracopier::CopyMode mode; + std::vector<Filters_rules> include,exclude; + std::vector<Filters_rules> include_send,exclude_send; + bool reloadTheNewFilters; + bool haveFilters; + QMutex filtersMutex; + std::string firstRenamingRule; + std::string otherRenamingRule; + std::vector<std::string> blackList; + /** Parse the multiple wildcard source, it allow resolv multiple wildcard with Qt into their path + * The string: /toto/f*a/yy*a/toto.mp3 + * Will give: /toto/f1a/yy*a/toto.mp3, /toto/f2a/yy*a/toto.mp3 + * Will give: /toto/f2a/yy1a/toto.mp3, /toto/f2a/yy2a/toto.mp3 + */ + std::vector<std::string> parseWildcardSources(const std::vector<std::string> &sources) const; + + static std::string text_slash; + static std::string text_antislash; + static std::string text_dot; +}; + +#endif // SCANFILEORFOLDER_H diff --git a/plugins/CopyEngine/Ultracopier/StructEnumDefinition.h b/plugins/CopyEngine/Ultracopier/StructEnumDefinition.h new file mode 100644 index 0000000..c1758f4 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/StructEnumDefinition.h @@ -0,0 +1 @@ +#include "../../../StructEnumDefinition.h" diff --git a/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h b/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h new file mode 100644 index 0000000..036803c --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/StructEnumDefinition_CopyEngine.h @@ -0,0 +1,124 @@ +/** \file StructEnumDefinition_CopyEngine.h +\brief Define the structure and enumeration used in the copy engine +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#include <string> +#include <regex> + +#ifndef STRUCTDEF_COPYENGINE_H +#define STRUCTDEF_COPYENGINE_H + +/// \brief Define action if file exists +enum FileExistsAction +{ + FileExists_NotSet=0, + FileExists_Cancel=1, + FileExists_Skip=2, + FileExists_Overwrite=3, + FileExists_OverwriteIfNotSame=4, + FileExists_OverwriteIfNewer=5, + FileExists_OverwriteIfOlder=6, + FileExists_Rename=7 +}; + +/// \brief Define action if file error +enum FileErrorAction +{ + FileError_NotSet=1, + FileError_Cancel=2, + FileError_Skip=3, + FileError_Retry=4, + FileError_PutToEndOfTheList=5 +}; + +enum TransferAlgorithm +{ + TransferAlgorithm_Automatic=0, + TransferAlgorithm_Sequential=1, + TransferAlgorithm_Parallel=2 +}; + +/// \brief to have the transfer status +enum TransferStat +{ + TransferStat_Idle=0, + TransferStat_PreOperation=1, + TransferStat_WaitForTheTransfer=2, + TransferStat_Transfer=3, + TransferStat_Checksum=4, + TransferStat_PostTransfer=5, + TransferStat_PostOperation=6 +}; + +/// \brief Define overwrite mode +/*enum OverwriteMode +{ + OverwriteMode_None, + OverwriteMode_Overwrite, + OverwriteMode_OverwriteIfNewer, + OverwriteMode_OverwriteIfNotSameModificationDate +};*/ + +/// \brief Define action if file exists +enum FolderExistsAction +{ + FolderExists_NotSet=0, + FolderExists_Cancel=1, + FolderExists_Merge=2, + FolderExists_Skip=3, + FolderExists_Rename=4 +}; + +enum ErrorType +{ + ErrorType_Normal=0, + ErrorType_Folder=1, + ErrorType_FolderWithRety=2, + ErrorType_Rights=3 +}; + +enum SearchType +{ + SearchType_rawText=0, + SearchType_simpleRegex=1, + SearchType_perlRegex=2 +}; + +enum ApplyOn +{ + ApplyOn_file=0, + ApplyOn_fileAndFolder=1, + ApplyOn_folder=2 +}; + +/** to store into different way the filter rules to be exported */ +struct Filters_rules +{ + std::string search_text; + SearchType search_type; + ApplyOn apply_on; + bool need_match_all; + std::regex regex; +}; + +/// \brief get action type +enum ActionType +{ + ActionType_MkPath=1, + ActionType_MovePath=2, + ActionType_RealMove=3 + #ifdef ULTRACOPIER_PLUGIN_RSYNC + , + ActionType_RmSync=4 + #endif +}; + +struct Diskspace +{ + std::string drive; + uint64_t requiredSpace; + uint64_t freeSpace; +}; + +#endif // STRUCTDEF_COPYENGINE_H diff --git a/plugins/CopyEngine/Ultracopier/TransferThread.cpp b/plugins/CopyEngine/Ultracopier/TransferThread.cpp new file mode 100644 index 0000000..786a8e9 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/TransferThread.cpp @@ -0,0 +1,2091 @@ +//presume bug linked as multple paralelle inode to resume after "overwrite" +//then do overwrite node function to not re-set the file name + +#include "TransferThread.h" +#ifdef Q_OS_WIN32 +#include <windows.h> +#endif + +#ifdef Q_OS_WIN32 + #ifndef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> + #endif +#endif + +#ifdef Q_OS_WIN32 +#define CURRENTSEPARATOR "\\" +#else +#define CURRENTSEPARATOR "/" +#endif + +#include "../../../cpp11addition.h" + +TransferThread::TransferThread() : + haveStartTime (false), + transfer_stat (TransferStat_Idle), + doRightTransfer (false), + #ifdef ULTRACOPIER_PLUGIN_RSYNC + rsync (false), + #endif + stopIt (false), + fileExistsAction (FileExists_NotSet), + alwaysDoFileExistsAction (FileExists_NotSet), + needSkip (false), + needRemove (false), + deletePartiallyTransferredFiles (true), + writeError (false), + readError (false), + renameTheOriginalDestination (false) +{ + start(); + moveToThread(this); + readThread.setWriteThread(&writeThread); + source.setCaching(false); + destination.setCaching(false); + renameRegex=std::regex("^(.*)(\\.[a-z0-9]+)$"); + #ifdef Q_OS_WIN32 + #ifndef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + regRead=std::regex("^[a-z]:"); + #endif + #endif + + minTime=QDateTime(QDate(ULTRACOPIER_PLUGIN_MINIMALYEAR,1,1)); +} + +TransferThread::~TransferThread() +{ + stopIt=true; + readThread.exit(); + readThread.wait(); + writeThread.exit(); + writeThread.wait(); + exit(); + //else cash without this disconnect + //disconnect(&readThread); + //disconnect(&writeThread); + wait(); +} + +void TransferThread::run() +{ + //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+QStringLiteral("] start: ")+QString::number((qint64)QThread::currentThreadId()))); + transfer_stat = TransferStat_Idle; + stopIt = false; + fileExistsAction = FileExists_NotSet; + alwaysDoFileExistsAction= FileExists_NotSet; + //the error push + connect(&readThread,&ReadThread::error, this, &TransferThread::getReadError, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::error, this, &TransferThread::getWriteError, Qt::QueuedConnection); + //the thread change operation + connect(this,&TransferThread::internalStartPreOperation, this, &TransferThread::preOperation, Qt::QueuedConnection); + connect(this,&TransferThread::internalStartPostOperation, this, &TransferThread::postOperation, Qt::QueuedConnection); + //the state change operation + connect(&readThread,&ReadThread::opened, this, &TransferThread::readIsReady, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::opened, this, &TransferThread::writeIsReady, Qt::QueuedConnection); + connect(&readThread,&ReadThread::readIsStopped, this, &TransferThread::readIsStopped, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::writeIsStopped, this, &TransferThread::writeIsStopped, Qt::QueuedConnection); + connect(&readThread,&ReadThread::readIsStopped, &writeThread, &WriteThread::endIsDetected, Qt::QueuedConnection); + connect(&readThread,&ReadThread::closed, this, &TransferThread::readIsClosed, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::closed, this, &TransferThread::writeIsClosed, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::reopened, this, &TransferThread::writeThreadIsReopened, Qt::QueuedConnection); + connect(&readThread,&ReadThread::checksumFinish, this, &TransferThread::readChecksumFinish, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::checksumFinish, this, &TransferThread::writeChecksumFinish, Qt::QueuedConnection); + //error management + connect(&readThread,&ReadThread::isSeekToZeroAndWait, this, &TransferThread::readThreadIsSeekToZeroAndWait, Qt::QueuedConnection); + connect(&readThread,&ReadThread::resumeAfterErrorByRestartAtTheLastPosition,this, &TransferThread::readThreadResumeAfterError, Qt::QueuedConnection); + connect(&readThread,&ReadThread::resumeAfterErrorByRestartAll,&writeThread, &WriteThread::flushAndSeekToZero, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::flushedAndSeekedToZero, this, &TransferThread::readThreadResumeAfterError, Qt::QueuedConnection); + connect(this,&TransferThread::internalTryStartTheTransfer, this, &TransferThread::internalStartTheTransfer, Qt::QueuedConnection); + + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(&readThread,&ReadThread::debugInformation, this, &TransferThread::debugInformation, Qt::QueuedConnection); + connect(&writeThread,&WriteThread::debugInformation, this, &TransferThread::debugInformation, Qt::QueuedConnection); + connect(&driveManagement,&DriveManagement::debugInformation,this, &TransferThread::debugInformation, Qt::QueuedConnection); + #endif + + exec(); +} + +TransferStat TransferThread::getStat() const +{ + return transfer_stat; +} + +void TransferThread::startTheTransfer() +{ + emit internalTryStartTheTransfer(); +} + +void TransferThread::internalStartTheTransfer() +{ + if(transfer_stat==TransferStat_Idle) + { + if(mode!=Ultracopier::Move) + { + /// \bug can pass here because in case of direct move on same media, it return to idle stat directly + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't start transfert at idle")); + } + return; + } + if(transfer_stat==TransferStat_PostOperation) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't start transfert at PostOperation")); + return; + } + if(transfer_stat==TransferStat_Transfer) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't start transfert at Transfer")); + return; + } + if(canStartTransfer) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] canStartTransfer is already set to true")); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] check how start the transfer")); + canStartTransfer=true; + if(readIsReadyVariable && writeIsReadyVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] start directly the transfer")); + ifCanStartTransfer(); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] start the transfer as delayed")); +} + +bool TransferThread::setFiles(const QFileInfo& source, const int64_t &size, const QFileInfo& destination, const Ultracopier::CopyMode &mode) +{ + if(transfer_stat!=TransferStat_Idle) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + return false; + } + //to prevent multiple file alocation into ListThread::doNewActions_inode_manipulation() + transfer_stat = TransferStat_PreOperation; + //emit pushStat(stat,transferId); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + this->source = source; + this->destination = destination; + this->mode = mode; + this->size = size; + stopIt = false; + fileExistsAction = FileExists_NotSet; + canStartTransfer = false; + sended_state_preOperationStopped= false; + canBeMovedDirectlyVariable = false; + canBeCopiedDirectlyVariable = false; + fileContentError = false; + real_doChecksum = false; + writeError = false; + writeError_source_seeked = false; + writeError_destination_reopened = false; + readError = false; + fileContentError = false; + resetExtraVariable(); + emit internalStartPreOperation(); + return true; +} + +void TransferThread::setFileExistsAction(const FileExistsAction &action) +{ + if(transfer_stat!=TransferStat_PreOperation) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+(", destination: ")+destination.absoluteFilePath().toStdString()); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+("] action: ")+std::to_string(action)); + if(action!=FileExists_Rename) + fileExistsAction = action; + else + { + //always rename pass here + fileExistsAction = action; + alwaysDoFileExistsAction=action; + } + if(action==FileExists_Skip) + { + skip(); + return; + } + resetExtraVariable(); + emit internalStartPreOperation(); +} + +void TransferThread::setFileRename(const std::string &nameForRename) +{ + if(transfer_stat!=TransferStat_PreOperation) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+(", destination: ")+destination.absoluteFilePath().toStdString()); + return; + } + if(QString::fromStdString(nameForRename).contains(QRegularExpression(QStringLiteral("[/\\\\\\*]")))) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't use this kind of name, internal error")); + emit errorOnFile(destination,tr("Try rename with using special characters").toStdString()); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] nameForRename: "+nameForRename); + if(!renameTheOriginalDestination) + destination.setFile(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename)); + else + { + QString tempDestination=destination.absoluteFilePath(); + QFile destinationFile(tempDestination); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] "+QStringLiteral("rename %1: to: %2").arg(destination.absoluteFilePath()).arg(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename)).toStdString()); + if(!destinationFile.rename(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename))) + { + if(!destinationFile.exists()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString()); + emit errorOnFile(destinationFile,tr("File not found").toStdString()); + return; + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do real move %1: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString()); + emit errorOnFile(destinationFile,destinationFile.errorString().toStdString()); + return; + } + if(source.absoluteFilePath()==destination.absoluteFilePath()) + source.setFile(destination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(nameForRename)); + destination.setFile(tempDestination); + destination.refresh(); + } + fileExistsAction = FileExists_NotSet; + resetExtraVariable(); + emit internalStartPreOperation(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] destination is: "+destination.absoluteFilePath().toStdString()); +} + +void TransferThread::setAlwaysFileExistsAction(const FileExistsAction &action) +{ + //ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+QStringLiteral("] action to do always: ")+QString::number(action))); + alwaysDoFileExistsAction=action; +} + +void TransferThread::resetExtraVariable() +{ + sended_state_preOperationStopped=false; + sended_state_readStopped = false; + sended_state_writeStopped = false; + writeError = false; + readError = false; + readIsReadyVariable = false; + writeIsReadyVariable = false; + readIsFinishVariable = false; + writeIsFinishVariable = false; + readIsClosedVariable = false; + writeIsClosedVariable = false; + needRemove = false; + needSkip = false; + retry = false; + readIsOpenVariable = false; + writeIsOpenVariable = false; + readIsOpeningVariable = false; + writeIsOpeningVariable = false; +} + +void TransferThread::preOperation() +{ + if(transfer_stat!=TransferStat_PreOperation) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] already used, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + return; + } + haveStartTime=true; + startTransferTime.restart(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start: source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + needRemove=false; + if(isSame()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] is same "+source.absoluteFilePath().toStdString()+" than "+destination.absoluteFilePath().toStdString()); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after is same"); + /*Why this code? + if(readError) + { + readError=false; + return; + }*/ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] before destination exists"); + if(destinationExists()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] destination exists: "+destination.absoluteFilePath().toStdString()); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after destination exists"); + /*Why this code? + if(readError) + { + readError=false; + return; + }*/ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] before keep date"); + #ifdef Q_OS_WIN32 + doTheDateTransfer=!source.isSymLink(); + #else + doTheDateTransfer=true; + #endif + if(doTheDateTransfer) + { + if(source.lastModified()<minTime) + { + if(/*true when the destination have been remove but not the symlink:*/source.isSymLink()) + doTheDateTransfer=false; + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the sources is older to copy the time: "+source.absoluteFilePath().toStdString()+": "+minTime.toString(QStringLiteral("dd.MM.yyyy hh:mm:ss.zzz")).toStdString()+">="+source.lastModified().toString(QStringLiteral("dd.MM.yyyy hh:mm:ss.zzz")).toStdString()); + doTheDateTransfer=false; + if(keepDate) + { + emit errorOnFile(source,tr("Wrong modification date or unable to get it, you can disable time transfer to do it").toStdString()); + return; + } + } + } + else + { + doTheDateTransfer=readFileDateTime(source); + #ifdef Q_OS_MAC + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] read the source time: "+std::to_string(butime.modtime)); + #endif + if(!doTheDateTransfer) + { + //will have the real error at source open + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] unable to read the source time: "+source.absoluteFilePath().toStdString()); + if(keepDate) + { + emit errorOnFile(source,tr("Wrong modification date or unable to get it, you can disable time transfer to do it").toStdString()); + return; + } + } + } + } + if(canBeMovedDirectly()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need moved directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + canBeMovedDirectlyVariable=true; + readThread.fakeOpen(); + writeThread.fakeOpen(); + return; + } + if(canBeCopiedDirectly()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need copied directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + canBeCopiedDirectlyVariable=true; + readThread.fakeOpen(); + writeThread.fakeOpen(); + return; + } + tryOpen(); +} + +void TransferThread::tryOpen() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source and destination: "+source.absoluteFilePath().toStdString()+" and "+destination.absoluteFilePath().toStdString()); + TransferAlgorithm transferAlgorithm=this->transferAlgorithm; + if(transferAlgorithm==TransferAlgorithm_Automatic) + { + #ifdef Q_OS_LINUX + if(driveManagement.isSameDrive(destination.absoluteFilePath().toStdString(),source.absoluteFilePath().toStdString())) + { + const QByteArray &type=driveManagement.getDriveType(driveManagement.getDrive(source.absoluteFilePath().toStdString())); + if(type=="nfs" || type=="smb") + transferAlgorithm=TransferAlgorithm_Parallel; + else + transferAlgorithm=TransferAlgorithm_Sequential; + } + else + #endif + transferAlgorithm=TransferAlgorithm_Parallel; + } + if(!readIsOpenVariable) + { + if(!readIsOpeningVariable) + { + readError=false; + readThread.open(source.absoluteFilePath(),mode); + readIsOpeningVariable=true; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] readIsOpeningVariable is true when try open"); + emit errorOnFile(source,tr("Internal error: Already opening").toStdString()); + readError=true; + return; + } + } + if(!writeIsOpenVariable) + { + if(!writeIsOpeningVariable) + { + if(transferAlgorithm==TransferAlgorithm_Sequential) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Sequential"); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Parallel"); + writeError=false; + if(transferAlgorithm==TransferAlgorithm_Sequential) + writeThread.open(destination.absoluteFilePath(),size,osBuffer && (!osBufferLimited || (osBufferLimited && size<osBufferLimit)),sequentialBuffer,true); + else + writeThread.open(destination.absoluteFilePath(),size,osBuffer && (!osBufferLimited || (osBufferLimited && size<osBufferLimit)),parallelBuffer,false); + writeIsOpeningVariable=true; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+"writeIsOpeningVariable is true when try open"); + emit errorOnFile(destination,tr("Internal error: Already opening").toStdString()); + writeError=true; + return; + } + } +} + +bool TransferThread::isSame() +{ + //check if source and destination is not the same + //source.absoluteFilePath()==destination.absoluteFilePath() not work is source don't exists + if(source.absoluteFilePath()==destination.absoluteFilePath()) + { + #ifdef ULTRACOPIER_PLUGIN_DEBUG + if(!source.exists()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source: "+source.absoluteFilePath().toStdString()+" not exists"); + if(!source.isSymLink()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source: "+source.absoluteFilePath().toStdString()+" isSymLink"); + if(!destination.isSymLink()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start source: "+destination.absoluteFilePath().toStdString()+" isSymLink"); + #endif + if(fileExistsAction==FileExists_NotSet && alwaysDoFileExistsAction==FileExists_Skip) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] is same but skip"); + transfer_stat=TransferStat_Idle; + emit postOperationStopped(); + //quit + return true; + } + if(checkAlwaysRename()) + return false; + emit fileAlreadyExists(source,destination,true); + return true; + } + return false; +} + +bool TransferThread::destinationExists() +{ + //check if destination exists + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("overwrite: %1, alwaysDoFileExistsAction: %2, readError: %3, writeError: %4") + .arg(fileExistsAction) + .arg(alwaysDoFileExistsAction) + .arg(readError) + .arg(writeError) + .toStdString() + ); + if(alwaysDoFileExistsAction==FileExists_Overwrite || readError || writeError + #ifdef ULTRACOPIER_PLUGIN_RSYNC + || rsync + #endif + ) + return false; + bool destinationExists; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] time to first FS access"); + destination.refresh(); + destinationExists=destination.exists(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] finish first FS access"); + if(destinationExists) + { + if(fileExistsAction==FileExists_NotSet && alwaysDoFileExistsAction==FileExists_Skip) + { + transfer_stat=TransferStat_Idle; + emit postOperationStopped(); + //quit + return true; + } + if(checkAlwaysRename()) + return false; + if(source.exists()) + { + if(fileExistsAction==FileExists_OverwriteIfNewer || (fileExistsAction==FileExists_NotSet && alwaysDoFileExistsAction==FileExists_OverwriteIfNewer)) + { + if(destination.lastModified()<source.lastModified()) + return false; + else + { + transfer_stat=TransferStat_Idle; + emit postOperationStopped(); + return true; + } + } + if(fileExistsAction==FileExists_OverwriteIfOlder || (fileExistsAction==FileExists_NotSet && alwaysDoFileExistsAction==FileExists_OverwriteIfOlder)) + { + if(destination.lastModified()>source.lastModified()) + return false; + else + { + transfer_stat=TransferStat_Idle; + emit postOperationStopped(); + return true; + } + } + if(fileExistsAction==FileExists_OverwriteIfNotSame || (fileExistsAction==FileExists_NotSet && alwaysDoFileExistsAction==FileExists_OverwriteIfNotSame)) + { + if(destination.lastModified()!=source.lastModified() || destination.size()!=source.size()) + return false; + else + { + transfer_stat=TransferStat_Idle; + emit postOperationStopped(); + return true; + } + } + } + else + { + if(fileExistsAction!=FileExists_NotSet) + { + transfer_stat=TransferStat_Idle; + emit postOperationStopped(); + return true; + } + } + if(fileExistsAction==FileExists_NotSet) + { + emit fileAlreadyExists(source,destination,false); + return true; + } + } + return false; +} + +std::string TransferThread::resolvedName(const QFileInfo &inode) +{ + QString fileName=inode.fileName(); + if(fileName.isEmpty()) + { + QDir absoluteDir=inode.absoluteDir(); + fileName=absoluteDir.dirName(); + if(fileName.isEmpty()) + { + fileName=absoluteDir.cdUp(); + fileName=absoluteDir.dirName(); + } + } + #ifdef Q_OS_WIN32 + if(fileName.isEmpty()) + { + fileName=inode.absolutePath(); + fileName.replace(QRegularExpression(QStringLiteral("^([a-zA-Z]+):.*$")),QStringLiteral("\\1")); + if(inode.absolutePath().contains(QRegularExpression(QStringLiteral("^[a-zA-Z]+:[/\\\\]?$")))) + fileName=tr("Drive %1").arg(fileName); + else + fileName=tr("Unknown folder"); + } + #else + if(fileName.isEmpty()) + fileName=tr("root"); + #endif + return fileName.toStdString(); +} + +std::string TransferThread::getSourcePath() const +{ + return source.absoluteFilePath().toStdString(); +} + +std::string TransferThread::getDestinationPath() const +{ + return destination.absoluteFilePath().toStdString(); +} + +QFileInfo TransferThread::getSourceInode() const +{ + return source; +} + +QFileInfo TransferThread::getDestinationInode() const +{ + return destination; +} + +Ultracopier::CopyMode TransferThread::getMode() const +{ + return mode; +} + +//return true if has been renamed +bool TransferThread::checkAlwaysRename() +{ + if(alwaysDoFileExistsAction==FileExists_Rename) + { + QFileInfo newDestination=destination; + std::string fileName=resolvedName(newDestination); + std::string suffix; + std::string newFileName; + //resolv the suffix + if(std::regex_match(fileName,renameRegex)) + { + suffix=fileName; + suffix=std::regex_replace(suffix,renameRegex,"$2"); + fileName=std::regex_replace(fileName,renameRegex,"$1"); + } + //resolv the new name + int num=1; + do + { + if(num==1) + { + if(firstRenamingRule.empty()) + newFileName=tr("%1 - copy").arg(QString::fromStdString(fileName)).toStdString(); + else + { + newFileName=firstRenamingRule; + stringreplaceAll(newFileName,"%name%",fileName); + } + } + else + { + if(otherRenamingRule.empty()) + newFileName=tr("%1 - copy (%2)").arg(QString::fromStdString(fileName)).arg(num).toStdString(); + else + { + newFileName=otherRenamingRule; + stringreplaceAll(newFileName,"%name%",fileName); + stringreplaceAll(newFileName,"%number%",std::to_string(num)); + } + } + newDestination.setFile(newDestination.absolutePath()+CURRENTSEPARATOR+QString::fromStdString(newFileName+suffix)); + num++; + } + while(newDestination.exists()); + if(!renameTheOriginalDestination) + destination=newDestination; + else + { + QFile destinationFile(destination.absoluteFilePath()); + if(!destinationFile.rename(newDestination.absoluteFilePath())) + { + if(!destinationFile.exists()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString()); + emit errorOnFile(destinationFile,tr("File not found").toStdString()); + readError=true; + return true; + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do real move %1: %2, error: %3").arg(destinationFile.fileName()).arg(destinationFile.fileName()).arg(destinationFile.errorString()).toStdString()); + readError=true; + emit errorOnFile(destinationFile,destinationFile.errorString().toStdString()); + return true; + } + } + return true; + } + return false; +} + +void TransferThread::tryMoveDirectly() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need moved directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + + sended_state_readStopped = false; + sended_state_writeStopped = false; + writeError = false; + readError = false; + readIsFinishVariable = false; + writeIsFinishVariable = false; + readIsClosedVariable = false; + writeIsClosedVariable = false; + //move if on same mount point + QFile sourceFile(source.absoluteFilePath()); + QFile destinationFile(destination.absoluteFilePath()); + #ifndef Q_OS_WIN32 + if(destinationFile.exists() || destination.isSymLink()) + { + if(!sourceFile.exists() && !source.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", source not exists"); + readError=true; + emit errorOnFile(destination,tr("The source file doesn't exist").toStdString()); + return; + } + else if(!destinationFile.remove()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", error: "+destinationFile.errorString().toStdString()); + readError=true; + emit errorOnFile(destination,destinationFile.errorString().toStdString()); + return; + } + } + #endif + QDir dir(destination.absolutePath()); + { + mkpathTransfer->acquire(); + if(!dir.exists()) + dir.mkpath(destination.absolutePath()); + mkpathTransfer->release(); + } + #ifdef Q_OS_WIN32 + //if(!sourceFile.copy(destinationFile.fileName())) + if(MoveFileEx( + reinterpret_cast<const wchar_t*>(sourceFile.fileName().utf16()), + reinterpret_cast<const wchar_t*>(destinationFile.fileName().utf16()), + MOVEFILE_COPY_ALLOWED|MOVEFILE_REPLACE_EXISTING + )==0) + #else + if(!sourceFile.rename(destinationFile.fileName())) + #endif + { + readError=true; + if(!sourceFile.exists() && !source.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1: destination: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).toStdString()); + emit errorOnFile(sourceFile,tr("File not found").toStdString()); + return; + } + else if(!dir.exists()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("destination folder not exists %1: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).toStdString()); + emit errorOnFile(destination.absolutePath(),tr("Unable to do the folder").toStdString()); + return; + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do real move %1: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).toStdString()); + emit errorOnFile(sourceFile,sourceFile.errorString().toStdString()); + return; + } + readThread.fakeReadIsStarted(); + writeThread.fakeWriteIsStarted(); + readThread.fakeReadIsStopped(); + writeThread.fakeWriteIsStopped(); +} + +void TransferThread::tryCopyDirectly() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("need copied directly: %1 to %2").arg(source.absoluteFilePath()).arg(destination.absoluteFilePath()).toStdString()); + + sended_state_readStopped = false; + sended_state_writeStopped = false; + writeError = false; + readError = false; + readIsFinishVariable = false; + writeIsFinishVariable = false; + readIsClosedVariable = false; + writeIsClosedVariable = false; + //move if on same mount point + QFile sourceFile(source.absoluteFilePath()); + QFile destinationFile(destination.absoluteFilePath()); + #ifndef Q_OS_WIN32 + if(destinationFile.exists() || destination.isSymLink()) + { + if(!sourceFile.exists() && !source.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", source not exists"); + readError=true; + emit errorOnFile(destination,tr("The source doesn't exist").toStdString()); + return; + } + else if(!destinationFile.remove()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+destinationFile.fileName().toStdString()+", error: "+destinationFile.errorString().toStdString()); + readError=true; + emit errorOnFile(destination,destinationFile.errorString().toStdString()); + return; + } + } + #endif + QDir dir(destination.absolutePath()); + { + mkpathTransfer->acquire(); + if(!dir.exists()) + dir.mkpath(destination.absolutePath()); + mkpathTransfer->release(); + } + /** on windows, symLink is normal file, can be copied + * on unix not, should be created **/ + #ifdef Q_OS_WIN32 + //if(!sourceFile.copy(destinationFile.fileName())) + if(CopyFileEx( + reinterpret_cast<const wchar_t*>(sourceFile.fileName().utf16()), + reinterpret_cast<const wchar_t*>(destinationFile.fileName().utf16()), + NULL, + NULL, + FALSE, + 0 + )==0) + #else + if(!QFile::link(sourceFile.symLinkTarget(),destinationFile.fileName())) + #endif + { + readError=true; + if(!sourceFile.exists() && !source.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("source not exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString()); + emit errorOnFile(sourceFile,tr("The source file doesn't exist").toStdString()); + return; + } + else if(destinationFile.exists() || destination.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("destination already exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString()); + emit errorOnFile(sourceFile,tr("Another file exists at same place").toStdString()); + return; + } + else if(!dir.exists()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("destination folder not exists %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString()); + emit errorOnFile(sourceFile,tr("Unable to do the folder").toStdString()); + return; + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("unable to do sym link copy %1 -> %4: %2, error: %3").arg(sourceFile.fileName()).arg(destinationFile.fileName()).arg(sourceFile.errorString()).arg(sourceFile.symLinkTarget()).toStdString()); + emit errorOnFile(sourceFile,sourceFile.errorString().toStdString()); + return; + } + readThread.fakeReadIsStarted(); + writeThread.fakeWriteIsStarted(); + readThread.fakeReadIsStopped(); + writeThread.fakeWriteIsStopped(); +} + +bool TransferThread::canBeMovedDirectly() const +{ + if(mode!=Ultracopier::Move) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] mode!=Ultracopier::Move"); + return false; + } + return source.isSymLink() || driveManagement.isSameDrive(destination.absoluteFilePath().toStdString(),source.absoluteFilePath().toStdString()); +} + +bool TransferThread::canBeCopiedDirectly() const +{ + return source.isSymLink(); +} + +void TransferThread::readIsReady() +{ + if(readIsReadyVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + readIsReadyVariable=true; + readIsOpenVariable=true; + readIsClosedVariable=false; + readIsOpeningVariable=false; + ifCanStartTransfer(); +} + +void TransferThread::ifCanStartTransfer() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] readIsReadyVariable: "+std::to_string(readIsReadyVariable)+", writeIsReadyVariable: "+std::to_string(writeIsReadyVariable)); + if(readIsReadyVariable && writeIsReadyVariable) + { + transfer_stat=TransferStat_WaitForTheTransfer; + sended_state_readStopped = false; + sended_state_writeStopped = false; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stat=WaitForTheTransfer"); + if(!sended_state_preOperationStopped) + { + sended_state_preOperationStopped=true; + emit preOperationStopped(); + } + if(canStartTransfer) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stat=Transfer, "+QStringLiteral("canBeMovedDirectlyVariable: %1, canBeCopiedDirectlyVariable: %2").arg(canBeMovedDirectlyVariable).arg(canBeCopiedDirectlyVariable).toStdString()); + transfer_stat=TransferStat_Transfer; + if(canBeMovedDirectlyVariable) + tryMoveDirectly(); + else if(canBeCopiedDirectlyVariable) + tryCopyDirectly(); + else + { + needRemove=deletePartiallyTransferredFiles; + readThread.startRead(); + } + emit pushStat(transfer_stat,transferId); + } + //else + //emit pushStat(stat,transferId); + } +} + +void TransferThread::writeIsReady() +{ + if(writeIsReadyVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + writeIsReadyVariable=true; + writeIsOpenVariable=true; + writeIsClosedVariable=false; + writeIsOpeningVariable=false; + ifCanStartTransfer(); +} + + +//set the copy info and options before runing +void TransferThread::setRightTransfer(const bool doRightTransfer) +{ + this->doRightTransfer=doRightTransfer; +} + +//set keep date +void TransferThread::setKeepDate(const bool keepDate) +{ + this->keepDate=keepDate; +} + +#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT +//set the current max speed in KB/s +void TransferThread::setMultiForBigSpeed(const int &multiForBigSpeed) +{ + readThread.setMultiForBigSpeed(multiForBigSpeed); + writeThread.setMultiForBigSpeed(multiForBigSpeed); +} +#endif + +//set block size in Bytes +bool TransferThread::setBlockSize(const unsigned int blockSize) +{ + bool read=readThread.setBlockSize(blockSize); + bool write=writeThread.setBlockSize(blockSize); + return (read && write); +} + +//pause the copy +void TransferThread::pause() +{ + //only pause/resume during the transfer of file data + //from transfer_stat!=TransferStat_Idle because it resume at wrong order + if(transfer_stat!=TransferStat_Transfer && transfer_stat!=TransferStat_PostTransfer && transfer_stat!=TransferStat_Checksum) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] wrong stat to put in pause"); + return; + } + haveStartTime=false; + readThread.pause(); + writeThread.pause(); +} + +//resume the copy +void TransferThread::resume() +{ + //only pause/resume during the transfer of file data + //from transfer_stat!=TransferStat_Idle because it resume at wrong order + if(transfer_stat!=TransferStat_Transfer && transfer_stat!=TransferStat_PostTransfer && transfer_stat!=TransferStat_Checksum) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] wrong stat to put in pause"); + return; + } + readThread.resume(); + writeThread.resume(); +} + +//stop the current copy +void TransferThread::stop() +{ + stopIt=true; + haveStartTime=false; + if(transfer_stat==TransferStat_Idle) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"transfer_stat==TransferStat_Idle"); + return; + } + if(remainSourceOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"remainSourceOpen()"); + readThread.stop(); + } + if(remainDestinationOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"remainDestinationOpen()"); + writeThread.stop(); + } + if(!remainFileOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"transfer_stat==TransferStat_Idle"); + if(needRemove && source.absoluteFilePath()!=destination.absoluteFilePath()) + { + if(source.exists()) + QFile(destination.absoluteFilePath()).remove(); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] try destroy the destination when the source don't exists")); + } + transfer_stat=TransferStat_PostOperation; + emit internalStartPostOperation(); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("transfer_stat==%1 && remainFileOpen()").arg(transfer_stat).toStdString()); +} + +bool TransferThread::remainFileOpen() const +{ + return remainSourceOpen() || remainDestinationOpen(); +} + +bool TransferThread::remainSourceOpen() const +{ + return (readIsOpenVariable || readIsOpeningVariable) && !readIsClosedVariable; +} + +bool TransferThread::remainDestinationOpen() const +{ + return (writeIsOpenVariable || writeIsOpeningVariable) && !writeIsClosedVariable; +} + +void TransferThread::readIsFinish() +{ + if(readIsFinishVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] double event dropped")); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + readIsFinishVariable=true; + canStartTransfer=false; + //check here if need start checksuming or not + real_doChecksum=doChecksum && (!checksumOnlyOnError || fileContentError) && (!canBeMovedDirectlyVariable && !canBeCopiedDirectlyVariable); + if(real_doChecksum) + { + readIsFinishVariable=false; + transfer_stat=TransferStat_Checksum; + sourceChecksum=QByteArray(); + destinationChecksum=QByteArray(); + readThread.startCheckSum(); + } + else + { + transfer_stat=TransferStat_PostTransfer; + if(!needSkip || (canBeCopiedDirectlyVariable || canBeMovedDirectlyVariable))//if skip, stop call, then readIsClosed() already call + readThread.postOperation(); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] in skip, don't start postOperation"); + } + emit pushStat(transfer_stat,transferId); +} + +void TransferThread::writeIsFinish() +{ + if(writeIsFinishVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] double event dropped"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + writeIsFinishVariable=true; + //check here if need start checksuming or not + if(real_doChecksum) + { + writeIsFinishVariable=false; + transfer_stat=TransferStat_Checksum; + writeThread.startCheckSum(); + } + else + { + if(!needSkip || (canBeCopiedDirectlyVariable || canBeMovedDirectlyVariable))//if skip, stop call, then writeIsClosed() already call + writeThread.postOperation(); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] in skip, don't start postOperation"); + } +} + +void TransferThread::readChecksumFinish(const QByteArray& checksum) +{ + sourceChecksum=checksum; + compareChecksum(); +} + +void TransferThread::writeChecksumFinish(const QByteArray& checksum) +{ + destinationChecksum=checksum; + compareChecksum(); +} + +void TransferThread::compareChecksum() +{ + if(sourceChecksum.size()==0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] the checksum of source is missing"); + return; + } + if(destinationChecksum.size()==0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] the checksum of destination is missing"); + return; + } + if(sourceChecksum==destinationChecksum) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] the checksum match"); + readThread.postOperation(); + writeThread.postOperation(); + transfer_stat=TransferStat_PostTransfer; + emit pushStat(transfer_stat,transferId); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] the checksum not match")); + //emit error here, and wait to resume + emit errorOnFile(destination,tr("The checksums do not match").toStdString()); + } +} + +void TransferThread::readIsClosed() +{ + if(readIsClosedVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] double event dropped")); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + readIsClosedVariable=true; + readIsOpeningVariable=false; + checkIfAllIsClosedAndDoOperations(); +} + +void TransferThread::writeIsClosed() +{ + if(writeIsClosedVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] double event dropped"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + writeIsClosedVariable=true; + writeIsOpeningVariable=false; + if(stopIt && needRemove && source.absoluteFilePath()!=destination.absoluteFilePath()) + { + if(source.exists()) + QFile(destination.absoluteFilePath()).remove(); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] try destroy the destination when the source don't exists")); + } + checkIfAllIsClosedAndDoOperations(); +} + +// return true if all is closed, and do some operations, don't use into condition to check if is closed! +bool TransferThread::checkIfAllIsClosedAndDoOperations() +{ + if((readError || writeError) && !needSkip && !stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] resolve error before progress"); + return false; + } + if(!remainFileOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit internalStartPostOperation() to do the real post operation"); + transfer_stat=TransferStat_PostOperation; + //emit pushStat(stat,transferId); + emit internalStartPostOperation(); + return true; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("wait self close: readIsReadyVariable: %1, readIsClosedVariable: %2, writeIsReadyVariable: %3, writeIsClosedVariable: %4") + .arg(readIsReadyVariable) + .arg(readIsClosedVariable) + .arg(writeIsReadyVariable) + .arg(writeIsClosedVariable) + .toStdString() + ); + return false; + } +} + +/// \todo found way to retry that's +/// \todo the rights copy +void TransferThread::postOperation() +{ + if(transfer_stat!=TransferStat_PostOperation) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] need be in transfer, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()+", stat:"+std::to_string(transfer_stat)); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + //all except closing + if((readError || writeError) && !needSkip && !stopIt)//normally useless by checkIfAllIsFinish() + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] resume after error"); + return; + } + + if(!needSkip && !stopIt) + { + if(!canBeCopiedDirectlyVariable && !canBeMovedDirectlyVariable) + { + if(writeIsOpenVariable && !writeIsClosedVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] can't pass in post operation if write is not closed")); + emit errorOnFile(destination,tr("Internal error: The destination is not closed").toStdString()); + needSkip=false; + if(deletePartiallyTransferredFiles) + needRemove=true; + writeError=true; + return; + } + if(readThread.getLastGoodPosition()!=writeThread.getLastGoodPosition()) + { + writeThread.flushBuffer(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+QString("] readThread.getLastGoodPosition(%1)!=writeThread.getLastGoodPosition(%2)") + .arg(readThread.getLastGoodPosition()) + .arg(writeThread.getLastGoodPosition()) + .toStdString() + ); + emit errorOnFile(destination,tr("Internal error: The size transfered doesn't match").toStdString()); + needSkip=false; + if(deletePartiallyTransferredFiles) + needRemove=true; + writeError=true; + return; + } + if(!writeThread.bufferIsEmpty()) + { + writeThread.flushBuffer(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] buffer is not empty")); + emit errorOnFile(destination,tr("Internal error: The buffer is not empty").toStdString()); + needSkip=false; + if(deletePartiallyTransferredFiles) + needRemove=true; + writeError=true; + return; + } + } + + if(!doFilePostOperation()) + return; + + //remove source in moving mode + if(mode==Ultracopier::Move && !canBeMovedDirectlyVariable) + { + if(destination.exists() && destination.isFile()) + { + QFile sourceFile(source.absoluteFilePath()); + if(!sourceFile.remove()) + { + needSkip=false; + emit errorOnFile(source,sourceFile.errorString().toStdString()); + return; + } + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] try remove source but destination not exists!")); + } + } + else//do difference skip a file and skip this error case + { + if(needRemove && destination.exists() && source.exists() && source.absoluteFilePath()!=destination.absoluteFilePath() && destination.isFile()) + { + QFile destinationFile(destination.absoluteFilePath()); + if(!destinationFile.remove()) + { + //emit errorOnFile(source,destinationFile.errorString()); + //return; + } + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] try remove destination but not exists!"); + } + source.setFile(QStringLiteral("")); + destination.setFile(QStringLiteral("")); + //don't need remove because have correctly finish (it's not in: have started) + needRemove=false; + needSkip=false; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit postOperationStopped()"); + transfer_stat=TransferStat_Idle; + emit postOperationStopped(); +} + +bool TransferThread::doFilePostOperation() +{ + //do operation needed by copy + //set the time if no write thread used + + destination.refresh(); + if(!destination.exists() && !destination.isSymLink()) + { + if(!stopIt) + if(/*true when the destination have been remove but not the symlink:*/!source.isSymLink()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to change the date: File not found"); + emit errorOnFile(destination,tr("Unable to change the date").toStdString()+": "+tr("File not found").toStdString()); + return false; + } + } + else + { + if(doTheDateTransfer) + { + if(!writeFileDateTime(destination)) + { + if(!destination.isFile()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to change the date (is not a file)"); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to change the date"); + /* error with virtual folder under windows */ + #ifndef Q_OS_WIN32 + if(keepDate) + { + emit errorOnFile(destination,tr("Unable to change the date").toStdString()); + return false; + } + #endif + } + else + { + #ifndef Q_OS_WIN32 + destination.refresh(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] read the destination time: "+destination.lastModified().toString().toStdString()); + if(destination.lastModified()<minTime) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] read the destination time lower than min time: "+destination.lastModified().toString().toStdString()); + if(keepDate) + { + emit errorOnFile(destination,tr("Unable to change the date").toStdString()); + return false; + } + } + #endif + } + } + if(doRightTransfer) + { + QFile sourceFile(source.absoluteFilePath()); + QFile destinationFile(destination.absoluteFilePath()); + if(!destinationFile.setPermissions(sourceFile.permissions())) + { + if(sourceFile.error()!=QFile::NoError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to get the source file permission"); + //emit errorOnFile(destination,tr("Unable to get the source file permission")); + //return false; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Unable to set the destination file permission"); + //emit errorOnFile(destination,tr("Unable to set the destination file permission")); + //return false; + } + } + } + } + if(stopIt) + return false; + + return true; +} + +////////////////////////////////////////////////////////////////// +/////////////////////// Error management ///////////////////////// +////////////////////////////////////////////////////////////////// + +void TransferThread::getWriteError() +{ + if(writeError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] already in write error!"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + fileContentError = true; + writeError = true; + writeIsReadyVariable = false; + writeError_source_seeked = false; + writeError_destination_reopened = false; + writeIsOpeningVariable=false; + if(!readError)//already display error for the read + emit errorOnFile(destination,writeThread.errorString()); +} + +void TransferThread::getReadError() +{ + if(readError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] already in read error!"); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + fileContentError = true; + readError = true; + //writeIsReadyVariable = false;//wrong because write can be ready here + readIsReadyVariable = false; + readIsOpeningVariable=false; + if(!writeError)//already display error for the write + emit errorOnFile(source,readThread.errorString()); +} + +//retry after error +void TransferThread::retryAfterError() +{ + /// \warning skip the resetExtraVariable(); to be more exact and resolv some bug + if(transfer_stat==TransferStat_Idle) + { + if(transferId==0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] seam have bug, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] restart all, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()); + readError=false; + //writeError=false; + emit internalStartPreOperation(); + return; + } + //opening error + if(transfer_stat==TransferStat_PreOperation) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] is not idle, source: "+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()+", stat: "+std::to_string(transfer_stat)); + readError=false; + //writeError=false; + emit internalStartPreOperation(); + //tryOpen();-> recheck all, because can be an error into isSame(), rename(), ... + return; + } + //data streaming error + if(transfer_stat!=TransferStat_PostOperation && transfer_stat!=TransferStat_Transfer && transfer_stat!=TransferStat_PostTransfer && transfer_stat!=TransferStat_Checksum) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+("] is not in right stat, source: ")+source.absoluteFilePath().toStdString()+", destination: "+destination.absoluteFilePath().toStdString()+", stat: "+std::to_string(transfer_stat)); + return; + } + if(transfer_stat==TransferStat_PostOperation) + { + if(readError || writeError) + { + readError=false; + //writeError=false; + resumeTransferAfterWriteError(); + writeThread.flushBuffer(); + transfer_stat=TransferStat_PreOperation; + emit internalStartPreOperation(); + return; + } + emit internalStartPostOperation(); + return; + } + if(canBeMovedDirectlyVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] retry the system move"); + tryMoveDirectly(); + return; + } + if(canBeCopiedDirectlyVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] retry the copy directly"); + tryCopyDirectly(); + return; + } + if(transfer_stat==TransferStat_Checksum) + { + if(writeError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the write error"); + writeThread.reopen(); + } + else if(readError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the read error"); + readThread.reopen(); + } + else //only checksum difference + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] retry all the transfer"); + canStartTransfer=true; + ifCanStartTransfer(); + } + return; + } + //can have error on source and destination at the same time + if(writeError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the write error: "+std::to_string(readError)); + if(readError) + readThread.reopen(); + else + { + readIsClosedVariable=false; + readThread.seekToZeroAndWait(); + } + writeThread.reopen(); + } + if(readError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start and resume the read error"); + readThread.reopen(); + } + if(!writeError && !readError) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] unknow error resume"); +} + +void TransferThread::writeThreadIsReopened() +{ + if(writeError_destination_reopened) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped"); + return; + } + writeError_destination_reopened=true; + if(transfer_stat==TransferStat_Checksum) + { + writeThread.startCheckSum(); + return; + } + if(writeError_source_seeked && writeError_destination_reopened) + resumeTransferAfterWriteError(); +} + +void TransferThread::readThreadIsSeekToZeroAndWait() +{ + if(writeError_source_seeked) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped"); + return; + } + writeError_source_seeked=true; + if(writeError_source_seeked && writeError_destination_reopened) + resumeTransferAfterWriteError(); +} + +void TransferThread::resumeTransferAfterWriteError() +{ + writeError=false; +/******************************** + if(canStartTransfer) + readThread.startRead(); +useless, because the open destination event +will restart the transfer as normal +*********************************/ +/********************************* +if(!canStartTransfer) + stat=WaitForTheTransfer; +useless because already do at open event +**********************************/ + //if is in wait + if(!canStartTransfer) + emit checkIfItCanBeResumed(); +} + +void TransferThread::readThreadResumeAfterError() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + readError=false; + writeIsReady(); + readIsReady(); +} + +////////////////////////////////////////////////////////////////// +///////////////////////// Normal event /////////////////////////// +////////////////////////////////////////////////////////////////// + +void TransferThread::readIsStopped() +{ + if(!sended_state_readStopped) + { + sended_state_readStopped=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit readIsStopped()"); + emit readStopped(); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] drop dual read stopped"); + return; + } + readIsFinish(); +} + +void TransferThread::writeIsStopped() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + if(!sended_state_writeStopped) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit writeStopped()"); + sended_state_writeStopped=true; + emit writeStopped(); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped"); + return; + } + writeIsFinish(); +} + +#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT +void TransferThread::timeOfTheBlockCopyFinished() +{ + readThread.timeOfTheBlockCopyFinished(); + writeThread.timeOfTheBlockCopyFinished(); +} +#endif + +bool TransferThread::setParallelBuffer(const int ¶llelBuffer) +{ + if(parallelBuffer<1 || parallelBuffer>ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] wrong parallelBuffer: "+std::to_string(parallelBuffer)); + return false; + } + else + { + this->parallelBuffer=parallelBuffer; + return true; + } +} + +bool TransferThread::setSequentialBuffer(const int &sequentialBuffer) +{ + if(sequentialBuffer<1 || sequentialBuffer>ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] wrong sequentialBuffer: "+std::to_string(sequentialBuffer)); + return false; + } + else + { + this->sequentialBuffer=sequentialBuffer; + return true; + } +} + +void TransferThread::setTransferAlgorithm(const TransferAlgorithm &transferAlgorithm) +{ + this->transferAlgorithm=transferAlgorithm; + if(transferAlgorithm==TransferAlgorithm_Sequential) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Sequential"); + else if(transferAlgorithm==TransferAlgorithm_Automatic) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Automatic"); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] transferAlgorithm==TransferAlgorithm_Parallel"); +} + +//fonction to edit the file date time +bool TransferThread::readFileDateTime(const QFileInfo &source) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] readFileDateTime("+source.absoluteFilePath().toStdString()+")"); + if(source.lastModified()<minTime) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] the sources is older to copy the time: "+source.absoluteFilePath().toStdString()+": "+source.lastModified().toString().toStdString()); + return false; + } + /** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */ + #ifdef Q_OS_UNIX + #ifdef Q_OS_LINUX + struct stat info; + if(stat(source.absoluteFilePath().toLatin1().data(),&info)!=0) + return false; + time_t ctime=info.st_ctim.tv_sec; + time_t actime=info.st_atim.tv_sec; + time_t modtime=info.st_mtim.tv_sec; + //this function avalaible on unix and mingw + butime.actime=actime; + butime.modtime=modtime; + Q_UNUSED(ctime); + return true; + #else //mainly for mac + time_t ctime=source.created().toTime_t(); + time_t actime=source.lastRead().toTime_t(); + time_t modtime=source.lastModified().toTime_t(); + //this function avalaible on unix and mingw + butime.actime=actime; + butime.modtime=modtime; + Q_UNUSED(ctime); + return true; + #endif + #else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + struct stat info; + if(stat(source.toLatin1().data(),&info)!=0) + return false; + time_t ctime=info.st_ctim.tv_sec; + time_t actime=info.st_atim.tv_sec; + time_t modtime=info.st_mtim.tv_sec; + //this function avalaible on unix and mingw + butime.actime=actime; + butime.modtime=modtime; + Q_UNUSED(ctime); + return true; + #else + wchar_t filePath[65535]; + if(std::regex_match(source.absoluteFilePath().toStdString(),regRead)) + filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+source.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + else + filePath[QDir::toNativeSeparators(source.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + HANDLE hFileSouce = CreateFileW(filePath, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_READONLY, NULL); + if(hFileSouce == INVALID_HANDLE_VALUE) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] open failed to read: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError())); + return false; + } + FILETIME ftCreate, ftAccess, ftWrite; + if(!GetFileTime(hFileSouce, &ftCreate, &ftAccess, &ftWrite)) + { + CloseHandle(hFileSouce); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] unable to get the file time"); + return false; + } + this->ftCreateL=ftCreate.dwLowDateTime; + this->ftCreateH=ftCreate.dwHighDateTime; + this->ftAccessL=ftAccess.dwLowDateTime; + this->ftAccessH=ftAccess.dwHighDateTime; + this->ftWriteL=ftWrite.dwLowDateTime; + this->ftWriteH=ftWrite.dwHighDateTime; + CloseHandle(hFileSouce); + return true; + #endif + #else + return false; + #endif + #endif + return false; +} + +bool TransferThread::writeFileDateTime(const QFileInfo &destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] writeFileDateTime("+destination.absoluteFilePath().toStdString()+")"); + /** Why not do it with Qt? Because it not support setModificationTime(), and get the time with Qt, that's mean use local time where in C is UTC time */ + #ifdef Q_OS_UNIX + #ifdef Q_OS_LINUX + return utime(destination.absoluteFilePath().toLatin1().data(),&butime)==0; + #else //mainly for mac + return utime(destination.absoluteFilePath().toLatin1().data(),&butime)==0; + #endif + #else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + return utime(destination.toLatin1().data(),&butime)==0; + #else + wchar_t filePath[65535]; + if(std::regex_match(destination.absoluteFilePath().toStdString(),regRead)) + filePath[QDir::toNativeSeparators(QStringLiteral("\\\\?\\")+destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + else + filePath[QDir::toNativeSeparators(destination.absoluteFilePath()).toWCharArray(filePath)]=L'\0'; + HANDLE hFileDestination = CreateFileW(filePath, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); + if(hFileDestination == INVALID_HANDLE_VALUE) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] open failed to write: "+QString::fromWCharArray(filePath).toStdString()+", error: "+std::to_string(GetLastError())); + return false; + } + FILETIME ftCreate, ftAccess, ftWrite; + ftCreate.dwLowDateTime=this->ftCreateL; + ftCreate.dwHighDateTime=this->ftCreateH; + ftAccess.dwLowDateTime=this->ftAccessL; + ftAccess.dwHighDateTime=this->ftAccessH; + ftWrite.dwLowDateTime=this->ftWriteL; + ftWrite.dwHighDateTime=this->ftWriteH; + if(!SetFileTime(hFileDestination, &ftCreate, &ftAccess, &ftWrite)) + { + CloseHandle(hFileDestination); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] unable to set the file time"); + return false; + } + CloseHandle(hFileDestination); + return true; + #endif + #else + return false; + #endif + #endif + return false; +} + +//skip the copy +void TransferThread::skip() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start with stat: "+std::to_string(transfer_stat)); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] readIsOpeningVariable: "+std::to_string(readIsOpeningVariable)+", readIsOpenVariable: "+std::to_string(readIsOpenVariable)+", readIsReadyVariable: "+std::to_string(readIsReadyVariable)+", readIsFinishVariable: "+std::to_string(readIsFinishVariable)+", readIsClosedVariable: "+std::to_string(readIsClosedVariable)); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] writeIsOpeningVariable: "+std::to_string(writeIsOpeningVariable)+", writeIsOpenVariable: "+std::to_string(writeIsOpenVariable)+", writeIsReadyVariable: "+std::to_string(writeIsReadyVariable)+", writeIsFinishVariable: "+std::to_string(writeIsFinishVariable)+", writeIsClosedVariable: "+std::to_string(writeIsClosedVariable)); + switch(transfer_stat) + { + case TransferStat_WaitForTheTransfer: + //needRemove=true;never put that's here, can product destruction of the file + case TransferStat_PreOperation: + if(needSkip) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress"); + return; + } + needSkip=true; + //check if all is source and destination is closed + if(remainFileOpen()) + { + if(remainSourceOpen()) + readThread.stop(); + if(remainDestinationOpen()) + writeThread.stop(); + } + else // wait nothing, just quit + { + transfer_stat=TransferStat_PostOperation; + emit internalStartPostOperation(); + } + break; + case TransferStat_Transfer: + case TransferStat_PostTransfer: + if(needSkip) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress"); + return; + } + //needRemove=true;never put that's here, can product destruction of the file + needSkip=true; + if(canBeMovedDirectlyVariable || canBeCopiedDirectlyVariable) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] Do the direct FS fake close, canBeMovedDirectlyVariable: "+std::to_string(canBeMovedDirectlyVariable)+", canBeCopiedDirectlyVariable: "+std::to_string(canBeCopiedDirectlyVariable)); + readThread.fakeReadIsStarted(); + writeThread.fakeWriteIsStarted(); + readThread.fakeReadIsStopped(); + writeThread.fakeWriteIsStopped(); + return; + } + writeThread.flushBuffer(); + if(remainFileOpen()) + { + if(remainSourceOpen()) + readThread.stop(); + if(remainDestinationOpen()) + writeThread.stop(); + } + else // wait nothing, just quit + { + transfer_stat=TransferStat_PostOperation; + emit internalStartPostOperation(); + } + break; + case TransferStat_Checksum: + if(needSkip) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress"); + return; + } + //needRemove=true;never put that's here, can product destruction of the file + needSkip=true; + if(remainFileOpen()) + { + if(remainSourceOpen()) + readThread.stop(); + if(remainDestinationOpen()) + writeThread.stop(); + } + else // wait nothing, just quit + { + transfer_stat=TransferStat_PostOperation; + emit internalStartPostOperation(); + } + break; + case TransferStat_PostOperation: + if(needSkip) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] skip already in progress"); + return; + } + //needRemove=true;never put that's here, can product destruction of the file + needSkip=true; + writeThread.flushBuffer(); + emit internalStartPostOperation(); + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] can skip in this state: "+std::to_string(transfer_stat)); + return; + } +} + +//return info about the copied size +int64_t TransferThread::copiedSize() +{ + switch(transfer_stat) + { + case TransferStat_Transfer: + case TransferStat_PostOperation: + case TransferStat_PostTransfer: + return (readThread.getLastGoodPosition()+writeThread.getLastGoodPosition())/2; + case TransferStat_Checksum: + return transferSize; + default: + return 0; + } +} + +//retry after error +void TransferThread::putAtBottom() +{ + emit tryPutAtBottom(); +} + +#ifdef ULTRACOPIER_PLUGIN_RSYNC +/// \brief set rsync +void TransferThread::setRsync(const bool rsync) +{ + this->rsync=rsync; +} +#endif + +void TransferThread::set_osBufferLimit(const unsigned int &osBufferLimit) +{ + this->osBufferLimit=osBufferLimit; +} + +#ifdef ULTRACOPIER_PLUGIN_DEBUG +//to set the id +void TransferThread::setId(int id) +{ + this->id=id; + readThread.setId(id); + writeThread.setId(id); +} + +char TransferThread::readingLetter() const +{ + switch(readThread.stat) + { + case ReadThread::Idle: + return '_'; + break; + case ReadThread::InodeOperation: + return 'I'; + break; + case ReadThread::Read: + return 'R'; + break; + case ReadThread::WaitWritePipe: + return 'W'; + break; + case ReadThread::Checksum: + return 'S'; + break; + default: + return '?'; + } +} + +char TransferThread::writingLetter() const +{ + switch(writeThread.stat) + { + case WriteThread::Idle: + return '_'; + break; + case WriteThread::InodeOperation: + return 'I'; + break; + case WriteThread::Write: + return 'W'; + break; + case WriteThread::Close: + return 'C'; + break; + case WriteThread::Read: + return 'R'; + break; + case WriteThread::Checksum: + return 'S'; + break; + default: + return '?'; + } +} + +#endif + +void TransferThread::setMkpathTransfer(QSemaphore *mkpathTransfer) +{ + this->mkpathTransfer=mkpathTransfer; + writeThread.setMkpathTransfer(mkpathTransfer); +} + +void TransferThread::set_doChecksum(bool doChecksum) +{ + this->doChecksum=doChecksum; +} + +void TransferThread::set_checksumIgnoreIfImpossible(bool checksumIgnoreIfImpossible) +{ + this->checksumIgnoreIfImpossible=checksumIgnoreIfImpossible; +} + +void TransferThread::set_checksumOnlyOnError(bool checksumOnlyOnError) +{ + this->checksumOnlyOnError=checksumOnlyOnError; +} + +void TransferThread::set_osBuffer(bool osBuffer) +{ + this->osBuffer=osBuffer; +} + +void TransferThread::set_osBufferLimited(bool osBufferLimited) +{ + this->osBufferLimited=osBufferLimited; +} + +//not copied size, because that's count to the checksum, ... +uint64_t TransferThread::realByteTransfered() const +{ + switch(transfer_stat) + { + case TransferStat_Transfer: + case TransferStat_Checksum: + return (readThread.getLastGoodPosition()+writeThread.getLastGoodPosition())/2; + case TransferStat_PostTransfer: + return (readThread.getLastGoodPosition()+writeThread.getLastGoodPosition())/2; + case TransferStat_PostOperation: + return transferSize; + default: + return 0; + } +} + +//first is read, second is write +std::pair<uint64_t, uint64_t> TransferThread::progression() const +{ + std::pair<uint64_t,uint64_t> returnVar; + switch(transfer_stat) + { + case TransferStat_Transfer: + returnVar.first=readThread.getLastGoodPosition(); + returnVar.second=writeThread.getLastGoodPosition(); + /*if(returnVar.first<returnVar.second) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+QStringLiteral("] read is smaller than write"));*/ + break; + case TransferStat_Checksum: + returnVar.first=readThread.getLastGoodPosition(); + returnVar.second=writeThread.getLastGoodPosition(); + break; + case TransferStat_PostTransfer: + returnVar.first=transferSize; + returnVar.second=writeThread.getLastGoodPosition(); + /*if(returnVar.first<returnVar.second) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+QStringLiteral("] read is smaller than write"));*/ + break; + case TransferStat_PostOperation: + returnVar.first=transferSize; + returnVar.second=transferSize; + break; + default: + returnVar.first=0; + returnVar.second=0; + } + return returnVar; +} + +void TransferThread::setRenamingRules(const std::string &firstRenamingRule, const std::string &otherRenamingRule) +{ + this->firstRenamingRule=firstRenamingRule; + this->otherRenamingRule=otherRenamingRule; +} + +void TransferThread::setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles) +{ + this->deletePartiallyTransferredFiles=deletePartiallyTransferredFiles; +} + +void TransferThread::setRenameTheOriginalDestination(const bool &renameTheOriginalDestination) +{ + this->renameTheOriginalDestination=renameTheOriginalDestination; +} + +void TransferThread::set_updateMount() +{ + driveManagement.tryUpdate(); +} diff --git a/plugins/CopyEngine/Ultracopier/TransferThread.h b/plugins/CopyEngine/Ultracopier/TransferThread.h new file mode 100644 index 0000000..e1a3b3f --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/TransferThread.h @@ -0,0 +1,288 @@ +/** \file TransferThread.h +\brief Thread changed to manage the inode operation, the signals, canceling, pre and post operations +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef TRANSFERTHREAD_H +#define TRANSFERTHREAD_H + +#include <QThread> +#include <QFileInfo> +#include <regex> +#include <vector> +#include <string> +#include <QDateTime> +#include <QDir> +#include <utility> + +#ifdef Q_OS_UNIX + #include <utime.h> + #include <time.h> + #include <unistd.h> + #include <sys/stat.h> +#else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + #include <utime.h> + #include <time.h> + #include <unistd.h> + #include <sys/stat.h> + #endif + #endif +#endif + +#include "ReadThread.h" +#include "WriteThread.h" +#include "Environment.h" +#include "DriveManagement.h" +#include "StructEnumDefinition_CopyEngine.h" + +/// \brief Thread changed to manage the inode operation, the signals, canceling, pre and post operations +class TransferThread : public QThread +{ + Q_OBJECT +public: + explicit TransferThread(); + ~TransferThread(); + /// \brief get transfer stat + TransferStat getStat() const; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief to set the id + void setId(int id); + /// \brief get the reading letter + char readingLetter() const; + /// \brief get the writing letter + char writingLetter() const; + #endif + /// \brief to have semaphore, and try create just one by one + void setMkpathTransfer(QSemaphore *mkpathTransfer); + /// \brief to store the transfer id + uint64_t transferId; + /// \brief to store the transfer size + uint64_t transferSize; + bool haveStartTime; + QTime startTransferTime; + + void set_doChecksum(bool doChecksum); + void set_checksumIgnoreIfImpossible(bool checksumIgnoreIfImpossible); + void set_checksumOnlyOnError(bool checksumOnlyOnError); + void set_osBuffer(bool osBuffer); + void set_osBufferLimited(bool osBufferLimited); + + //not copied size, because that's count to the checksum, ... + uint64_t realByteTransfered() const; + std::pair<uint64_t, uint64_t> progression() const; + static std::string resolvedName(const QFileInfo &inode); + std::string getSourcePath() const; + std::string getDestinationPath() const; + QFileInfo getSourceInode() const; + QFileInfo getDestinationInode() const; + Ultracopier::CopyMode getMode() const; +protected: + void run(); +signals: + //to send state + void preOperationStopped() const; + void checkIfItCanBeResumed() const; + //void transferStarted();//not sended (and not used then) + void readStopped() const; + void writeStopped() const; + void postOperationStopped() const; + //get dialog + void fileAlreadyExists(const QFileInfo &info,const QFileInfo &info2,const bool &isSame) const; + void errorOnFile(const QFileInfo &info,const std::string &string,const ErrorType &errorType=ErrorType_Normal) const; + //internal signal + void internalStartPostOperation() const; + void internalStartPreOperation() const; + void internalStartResumeAfterErrorAndSeek() const; + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const; + void tryPutAtBottom() const; + //force into the right thread + void internalTryStartTheTransfer() const; + /// \brief update the transfer stat + void pushStat(const TransferStat &stat,const uint64_t &pos) const; +public slots: + /// \brief to start the transfer of data + void startTheTransfer(); + /// \brief to set files to transfer + bool setFiles(const QFileInfo& source,const int64_t &size,const QFileInfo& destination,const Ultracopier::CopyMode &mode); + /// \brief to set file exists action to do + void setFileExistsAction(const FileExistsAction &action); + /// \brief to set the new name of the destination + void setFileRename(const std::string &nameForRename); + /// \brief to start the transfer of data + void setAlwaysFileExistsAction(const FileExistsAction &action); + /// \brief set the copy info and options before runing + void setRightTransfer(const bool doRightTransfer); + /// \brief set keep date + void setKeepDate(const bool keepDate); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + /// \brief set the current max speed in KB/s + void setMultiForBigSpeed(const int &maxSpeed); + #endif + /// \brief set block size in KB + bool setBlockSize(const unsigned int blockSize); + /// \brief pause the copy + void pause(); + /// \brief resume the copy + void resume(); + /// \brief stop the copy + void stop(); + /// \brief skip the copy + void skip(); + /// \brief retry after error + void retryAfterError(); + /// \brief return info about the copied size + int64_t copiedSize(); + /// \brief put the current file at bottom + void putAtBottom(); + + #ifdef ULTRACOPIER_PLUGIN_RSYNC + void setRsync(const bool rsync); + #endif + + void set_osBufferLimit(const unsigned int &osBufferLimit); + void setRenamingRules(const std::string &firstRenamingRule,const std::string &otherRenamingRule); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + //speed limitation + void timeOfTheBlockCopyFinished(); + #endif + + bool setParallelBuffer(const int ¶llelBuffer); + bool setSequentialBuffer(const int &sequentialBuffer); + void setTransferAlgorithm(const TransferAlgorithm &transferAlgorithm); + void setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles); + void setRenameTheOriginalDestination(const bool &renameTheOriginalDestination); + void set_updateMount(); +private slots: + void preOperation(); + void readIsReady(); + void writeIsReady(); + void readIsFinish(); + void writeIsFinish(); + void readIsClosed(); + void writeIsClosed(); + void postOperation(); + void getWriteError(); + void getReadError(); + void readChecksumFinish(const QByteArray&); + void writeChecksumFinish(const QByteArray&); + void compareChecksum(); + //void syncAfterErrorAndReadFinish(); + void readThreadIsSeekToZeroAndWait(); + void writeThreadIsReopened(); + void readThreadResumeAfterError(); + //to filter the emition of signal + void readIsStopped(); + void writeIsStopped(); + //force into the right thread + void internalStartTheTransfer(); +private: + enum MoveReturn + { + MoveReturn_skip=0, + MoveReturn_moved=1, + MoveReturn_error=2 + }; + TransferStat transfer_stat; + ReadThread readThread; + WriteThread writeThread; + /*QString source; + QString destination;*/ + Ultracopier::CopyMode mode; + bool doRightTransfer; + #ifdef ULTRACOPIER_PLUGIN_RSYNC + bool rsync; + #endif + bool keepDate; + //ready = open + ready to operation (no error to resolv) + bool readIsReadyVariable; + bool writeIsReadyVariable; + //can be open but with error + bool readIsOpeningVariable;//after call open() and before the end of internalOpen(), mostly to prevent internal error by open() when another is running + bool writeIsOpeningVariable;//after call open() and before the end of internalOpen(), mostly to prevent internal error by open() when another is running + bool readIsOpenVariable; + bool writeIsOpenVariable; + bool readIsFinishVariable; + bool writeIsFinishVariable; + bool readIsClosedVariable; + bool writeIsClosedVariable; + bool canBeMovedDirectlyVariable,canBeCopiedDirectlyVariable; + DriveManagement driveManagement; + QByteArray sourceChecksum,destinationChecksum; + volatile bool stopIt; + volatile bool canStartTransfer; + bool retry; + QFileInfo source; + QFileInfo destination; + int64_t size; + FileExistsAction fileExistsAction; + FileExistsAction alwaysDoFileExistsAction; + bool needSkip,needRemove; + QDateTime minTime; + int id; + QSemaphore *mkpathTransfer; + bool doChecksum,real_doChecksum; + bool checksumIgnoreIfImpossible; + bool checksumOnlyOnError; + bool deletePartiallyTransferredFiles; + bool osBuffer; + bool osBufferLimited; + unsigned int osBufferLimit; + std::string firstRenamingRule; + std::string otherRenamingRule; + //error management + bool writeError,writeError_source_seeked,writeError_destination_reopened; + bool readError; + bool renameTheOriginalDestination; + bool fileContentError; + bool doTheDateTransfer; + int parallelBuffer; + int sequentialBuffer; + int parallelizeIfSmallerThan; + std::regex renameRegex; + TransferAlgorithm transferAlgorithm; + #ifdef Q_OS_UNIX + utimbuf butime; + #else + #ifdef Q_OS_WIN32 + #ifdef ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY + utimbuf butime; + #else + uint32_t ftCreateL, ftAccessL, ftWriteL; + uint32_t ftCreateH, ftAccessH, ftWriteH; + std::regex regRead; + #endif + #endif + #endif + //different pre-operation + bool isSame(); + bool destinationExists(); + bool checkAlwaysRename();///< return true if has been renamed + bool canBeMovedDirectly() const; + bool canBeCopiedDirectly() const; + void tryMoveDirectly(); + void tryCopyDirectly(); + void ifCanStartTransfer(); + //fonction to edit the file date time + bool readFileDateTime(const QFileInfo &source); + bool writeFileDateTime(const QFileInfo &destination); + void resetExtraVariable(); + //error management function + void resumeTransferAfterWriteError(); + //to send state + bool sended_state_preOperationStopped; + bool sended_state_readStopped; + bool sended_state_writeStopped; + //different post-operation + bool checkIfAllIsClosedAndDoOperations();// return true if all is closed, and do some operations, don't use into condition to check if is closed! + bool doFilePostOperation(); + //different pre-operation + void tryOpen(); + bool remainFileOpen() const; + bool remainSourceOpen() const; + bool remainDestinationOpen() const; +}; + +#endif // TRANSFERTHREAD_H diff --git a/plugins/CopyEngine/Ultracopier/Variable.h b/plugins/CopyEngine/Ultracopier/Variable.h new file mode 100644 index 0000000..0fd1a3c --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/Variable.h @@ -0,0 +1,43 @@ +/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+//Un-comment this next line to put ultracopier plugin in debug mode
+#define ULTRACOPIER_PLUGIN_DEBUG
+//#define ULTRACOPIER_PLUGIN_DEBUG_SCHEDULER
+#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW
+#define ULTRACOPIER_PLUGIN_DEBUG_WINDOW_TIMER 150
+
+#define ULTRACOPIER_PLUGIN_MINTIMERINTERVAL 50
+#define ULTRACOPIER_PLUGIN_MAXTIMERINTERVAL 100
+#define ULTRACOPIER_PLUGIN_NUMSEMSPEEDMANAGEMENT 2
+#define ULTRACOPIER_PLUGIN_MAXPARALLELTRANFER 1
+#define ULTRACOPIER_PLUGIN_MINIMALYEAR 1995
+#define ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE 256 //in KB
+#define ULTRACOPIER_PLUGIN_DEFAULT_SEQUENTIAL_NUMBER_OF_BLOCK 512
+#define ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK 4 //in KB
+#define ULTRACOPIER_PLUGIN_MAX_BLOCK_SIZE 16*1024 //in KB
+#define ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK 2048
+#define ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK 128 //in KB
+
+//if set, check the inode type at scanFileOrFolder, deprecated into the new algorithm and not used
+#define ULTRACOPIER_PLUGIN_CHECKLISTTYPE
+
+#define ULTRACOPIER_PLUGIN_SPEED_SUPPORT
+//#define ULTRACOPIER_PLUGIN_RIGHTS
+
+/** \brief Need be greater than 2, but greater than 20 to be efficient */
+#define ULTRACOPIER_PLUGIN_TIME_UPDATE_TRASNFER_LIST 40
+#define ULTRACOPIER_PLUGIN_TIME_UPDATE_PROGRESSION 200
+#define ULTRACOPIER_PLUGIN_TIME_UPDATE_MOUNT_MS 60*1000
+
+//#define ULTRACOPIER_PLUGIN_SET_TIME_UNIX_WAY
+
+#endif // VARIABLE_H
+
+
+
diff --git a/plugins/CopyEngine/Ultracopier/WriteThread.cpp b/plugins/CopyEngine/Ultracopier/WriteThread.cpp new file mode 100644 index 0000000..9993961 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/WriteThread.cpp @@ -0,0 +1,968 @@ +#include "WriteThread.h" + +#include <QDir> + +QMultiHash<QString,WriteThread *> WriteThread::writeFileList; +QMutex WriteThread::writeFileListMutex; + +WriteThread::WriteThread() +{ + deletePartiallyTransferredFiles = true; + lastGoodPosition = 0; + stopIt = false; + isOpen.release(); + moveToThread(this); + setObjectName(QStringLiteral("write")); + //this->mkpathTransfer = mkpathTransfer; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat = Idle; + #endif + numberOfBlock = ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK; + buffer = false; + putInPause = false; + needRemoveTheFile = false; + blockSize = ULTRACOPIER_PLUGIN_DEFAULT_BLOCK_SIZE*1024; + start(); +} + +WriteThread::~WriteThread() +{ + stopIt=true; + needRemoveTheFile=true; + pauseMutex.release(); + writeFull.release(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + waitNewClockForSpeed.release(); + waitNewClockForSpeed2.release(); + #endif + writeFull.release(); + pauseMutex.release(); + // useless because stopIt will close all thread, but if thread not runing run it + //endIsDetected(); + emit internalStartClose(); + isOpen.acquire(); + if(!file.fileName().isEmpty()) + resumeNotStarted(); + //disconnect(this);//-> do into ~TransferThread() + quit(); + wait(); +} + +void WriteThread::run() +{ + connect(this,&WriteThread::internalStartOpen, this,&WriteThread::internalOpen, Qt::QueuedConnection); + connect(this,&WriteThread::internalStartReopen, this,&WriteThread::internalReopen, Qt::QueuedConnection); + connect(this,&WriteThread::internalStartWrite, this,&WriteThread::internalWrite, Qt::QueuedConnection); + connect(this,&WriteThread::internalStartClose, this,&WriteThread::internalCloseSlot, Qt::QueuedConnection); + connect(this,&WriteThread::internalStartEndOfFile, this,&WriteThread::internalEndOfFile, Qt::QueuedConnection); + connect(this,&WriteThread::internalStartFlushAndSeekToZero, this,&WriteThread::internalFlushAndSeekToZero, Qt::QueuedConnection); + connect(this,&WriteThread::internalStartChecksum, this,&WriteThread::checkSum, Qt::QueuedConnection); + exec(); +} + +bool WriteThread::internalOpen() +{ + //do a bug + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] internalOpen destination: "+file.fileName().toStdString()); + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true"); + emit closed(); + return false; + } + if(file.isOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] already open! destination: "+file.fileName().toStdString()); + return false; + } + if(file.fileName().isEmpty()) + { + errorString_internal=tr("Path resolution error (Empty path)").toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + return false; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] before the mutex"); + //set to LISTBLOCKSIZE + if(sequential) + { + while(writeFull.available()<1) + writeFull.release(); + if(writeFull.available()>1) + writeFull.acquire(writeFull.available()-1); + } + else + { + while(writeFull.available()<numberOfBlock) + writeFull.release(); + if(writeFull.available()>numberOfBlock) + writeFull.acquire(writeFull.available()-numberOfBlock); + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the mutex"); + stopIt=false; + endDetected=false; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=InodeOperation; + #endif + //mkpath check if exists and return true if already exists + QFileInfo destinationInfo(file); + QDir destinationFolder; + { + mkpathTransfer->acquire(); + if(!destinationFolder.exists(destinationInfo.absolutePath())) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] Try create the path: "+ + destinationInfo.absolutePath().toStdString()); + if(!destinationFolder.mkpath(destinationInfo.absolutePath())) + { + if(!destinationFolder.exists(destinationInfo.absolutePath())) + { + /// \todo do real folder error here + errorString_internal="mkpath error on destination"; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable create the folder: %1, error: %2") + .arg(destinationInfo.absolutePath()) + .arg(QString::fromStdString(errorString_internal)) + .toStdString()); + emit error(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + mkpathTransfer->release(); + return false; + } + } + } + mkpathTransfer->release(); + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the mkpath"); + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true"); + emit closed(); + return false; + } + //try open it + QIODevice::OpenMode flags=QIODevice::ReadWrite; + if(!buffer) + flags|=QIODevice::Unbuffered; + { + QMutexLocker lock_mutex(&writeFileListMutex); + if(writeFileList.count(file.fileName(),this)==0) + { + writeFileList.insert(file.fileName(),this); + if(writeFileList.count(file.fileName())>1) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] in waiting because same file is found"); + return false; + } + } + } + bool fileWasExists=file.exists(); + if(file.open(flags)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the open"); + { + QMutexLocker lock_mutex(&accessList); + if(!theBlockList.isEmpty()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] General file corruption detected"); + stopIt=true; + file.close(); + resumeNotStarted(); + file.setFileName(QStringLiteral("")); + return false; + } + } + pauseMutex.tryAcquire(pauseMutex.available()); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] after the pause mutex"); + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true"); + file.close(); + resumeNotStarted(); + file.setFileName(QStringLiteral("")); + emit closed(); + return false; + } + if(!file.seek(0)) + { + file.close(); + resumeNotStarted(); + file.setFileName(QStringLiteral("")); + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + return false; + } + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true"); + file.close(); + resumeNotStarted(); + file.setFileName(QStringLiteral("")); + emit closed(); + return false; + } + if(!file.resize(startSize)) + { + file.close(); + resumeNotStarted(); + file.setFileName(QStringLiteral("")); + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to resize to %1 after open: %2, error: %3").arg(startSize).arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + return false; + } + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true"); + file.close(); + resumeNotStarted(); + file.setFileName(QStringLiteral("")); + emit closed(); + return false; + } + isOpen.acquire(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit opened()"); + emit opened(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + needRemoveTheFile=false; + postOperationRequested=false; + return true; + } + else + { + if(!fileWasExists && file.exists()) + if(!file.remove()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] file created but can't be removed"); + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close because stopIt is at true"); + resumeNotStarted(); + file.setFileName(QStringLiteral("")); + emit closed(); + return false; + } + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + return false; + } +} + +void WriteThread::open(const QFileInfo &file,const uint64_t &startSize,const bool &buffer,const int &numberOfBlock,const bool &sequential) +{ + if(!isRunning()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] the thread not running to open destination: "+file.absoluteFilePath().toStdString()+", numberOfBlock: "+std::to_string(numberOfBlock)); + errorString_internal=tr("Internal error, please report it!").toStdString(); + emit error(); + return; + } + if(this->file.isOpen()) + { + if(file.absoluteFilePath()==this->file.fileName()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] Try reopen already opened same file: "+file.absoluteFilePath().toStdString()); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] previous file is already open: "+file.absoluteFilePath().toStdString()); + emit internalStartClose(); + isOpen.acquire(); + isOpen.release(); + } + if(numberOfBlock<1 || (numberOfBlock>ULTRACOPIER_PLUGIN_MAX_PARALLEL_NUMBER_OF_BLOCK && numberOfBlock>ULTRACOPIER_PLUGIN_MAX_SEQUENTIAL_NUMBER_OF_BLOCK)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] numberOfBlock wrong, set to default"); + this->numberOfBlock=ULTRACOPIER_PLUGIN_DEFAULT_PARALLEL_NUMBER_OF_BLOCK; + } + else + this->numberOfBlock=numberOfBlock; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] "+QStringLiteral("open destination: %1, sequential: %2").arg(file.absoluteFilePath()).arg(sequential).toStdString()); + stopIt=false; + fakeMode=false; + lastGoodPosition=0; + this->file.setFileName(file.absoluteFilePath()); + this->startSize=startSize; + this->buffer=buffer; + this->sequential=sequential; + endDetected=false; + writeFullBlocked=false; + emit internalStartOpen(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + numberOfBlockCopied=0; + #endif +} + +void WriteThread::endIsDetected() +{ + if(endDetected) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] double event dropped"); + return; + } + endDetected=true; + pauseMutex.release(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + emit internalStartEndOfFile(); +} + +std::string WriteThread::errorString() const +{ + return errorString_internal; +} + +void WriteThread::stop() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop()"); + needRemoveTheFile=true; + stopIt=true; + if(isOpen.available()>0) + return; + writeFull.release(); + pauseMutex.release(); + pauseMutex.release(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + waitNewClockForSpeed.release(); + waitNewClockForSpeed2.release(); + #endif + // useless because stopIt will close all thread, but if thread not runing run it + endIsDetected(); + //for the stop for skip: void TransferThread::skip() + emit internalStartClose(); +} + +void WriteThread::flushBuffer() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + writeFull.release(); + writeFull.acquire(); + pauseMutex.release(); + { + QMutexLocker lock_mutex(&accessList); + theBlockList.clear(); + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop"); +} + +/// \brief buffer is empty +bool WriteThread::bufferIsEmpty() +{ + bool returnVal; + { + QMutexLocker lock_mutex(&accessList); + returnVal=theBlockList.isEmpty(); + } + return returnVal; +} + +void WriteThread::internalEndOfFile() +{ + if(!bufferIsEmpty()) + { + if(sequential) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start the write"); + emit internalStartWrite(); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] buffer is not empty!"); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] writeIsStopped"); + emit writeIsStopped(); + } +} + +#ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT +/*! \brief Set the max speed +\param tempMaxSpeed Set the max speed in KB/s, 0 for no limit */ +void WriteThread::setMultiForBigSpeed(const int &multiForBigSpeed) +{ + this->multiForBigSpeed=multiForBigSpeed; + waitNewClockForSpeed.release(); + waitNewClockForSpeed2.release(); +} + +/// \brief For give timer every X ms +void WriteThread::timeOfTheBlockCopyFinished() +{ + /* this is the old way to limit the speed, it product blocking + *if(waitNewClockForSpeed.available()<ULTRACOPIER_PLUGIN_NUMSEMSPEEDMANAGEMENT) + waitNewClockForSpeed.release();*/ + + //try this new way: + /* only if speed limited, else will accumulate waitNewClockForSpeed + * Disabled because: Stop call of this method when no speed limit + if(this->maxSpeed>0)*/ + if(waitNewClockForSpeed.available()<=1) + waitNewClockForSpeed.release(); + if(waitNewClockForSpeed2.available()<=1) + waitNewClockForSpeed2.release(); +} +#endif + +void WriteThread::resumeNotStarted() +{ + QMutexLocker lock_mutex(&writeFileListMutex); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + if(!writeFileList.contains(file.fileName())) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] file: \""+file.fileName().toStdString()+"\" for similar inode is not located into the list of "+std::to_string(writeFileList.size())+" items!"); + #endif + writeFileList.remove(file.fileName(),this); + if(writeFileList.contains(file.fileName())) + { + QList<WriteThread *> writeList=writeFileList.values(file.fileName()); + if(!writeList.isEmpty()) + writeList.first()->reemitStartOpen(); + return; + } +} + +void WriteThread::pause() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] try put read thread in pause"); + pauseMutex.tryAcquire(pauseMutex.available()); + putInPause=true; + return; +} + +void WriteThread::resume() +{ + if(putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + putInPause=false; + stopIt=false; + } + else + return; + if(!file.isOpen()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] file is not open"); + return; + } + pauseMutex.release(); +} + +void WriteThread::reemitStartOpen() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] start"); + emit internalStartOpen(); +} + +void WriteThread::postOperation() +{ + if(postOperationRequested) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"["+std::to_string(id)+"] double event dropped"); + return; + } + postOperationRequested=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + emit internalStartClose(); +} + +void WriteThread::internalCloseSlot() +{ + internalClose(); +} + +void WriteThread::internalClose(bool emitSignal) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] close for file: "+file.fileName().toStdString()); + /// \note never send signal here, because it's called by the destructor + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Close; + #endif + bool emit_closed=false; + if(!fakeMode) + { + if(file.isOpen()) + { + if(!needRemoveTheFile) + { + if(startSize!=lastGoodPosition) + if(!file.resize(lastGoodPosition)) + { + if(emitSignal) + { + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + } + else + needRemoveTheFile=true; + } + } + file.close(); + if(needRemoveTheFile || stopIt) + { + if(deletePartiallyTransferredFiles) + { + if(!file.remove()) + if(emitSignal) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] unable to remove the destination file"); + } + } + //here and not after, because the transferThread don't need try close if not open + if(emitSignal) + emit_closed=true; + } + } + else + { + //here and not after, because the transferThread don't need try close if not open + + if(emitSignal) + emit_closed=true; + } + needRemoveTheFile=false; + resumeNotStarted(); + //warning: file.setFileName(""); need be after resumeNotStarted() + file.setFileName(QStringLiteral("")); + if(emit_closed) + emit closed(); + + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + + /// \note always the last of this function + if(!fakeMode) + isOpen.release(); +} + +void WriteThread::internalReopen() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + QString tempFile=file.fileName(); + internalClose(false); + flushBuffer(); + stopIt=false; + lastGoodPosition=0; + file.setFileName(tempFile); + if(internalOpen()) + emit reopened(); +} + +void WriteThread::reopen() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] start"); + stopIt=true; + endDetected=false; + emit internalStartReopen(); +} + +#ifdef ULTRACOPIER_PLUGIN_DEBUG +//to set the id +void WriteThread::setId(int id) +{ + this->id=id; +} +#endif + +/// \brief do the fake open +void WriteThread::fakeOpen() +{ + fakeMode=true; + postOperationRequested=false; + emit opened(); +} + +/// \brief do the fake writeIsStarted +void WriteThread::fakeWriteIsStarted() +{ + emit writeIsStarted(); +} + +/// \brief do the fake writeIsStopped +void WriteThread::fakeWriteIsStopped() +{ + emit writeIsStopped(); +} + +/// do the checksum +void WriteThread::startCheckSum() +{ + emit internalStartChecksum(); +} + +/** \brief set block size +\param block the new block size in B +\return Return true if succes */ +bool WriteThread::setBlockSize(const int blockSize) +{ + //can be smaller than min block size to do correct speed limitation + if(blockSize>1 && blockSize<ULTRACOPIER_PLUGIN_MAX_BLOCK_SIZE*1024) + { + this->blockSize=blockSize; + return true; + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"block size out of range: "+std::to_string(blockSize)); + return false; + } +} + +/// \brief get the last good position +int64_t WriteThread::getLastGoodPosition() const +{ + return lastGoodPosition; +} + +void WriteThread::flushAndSeekToZero() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"flushAndSeekToZero: "+std::to_string(blockSize)); + stopIt=true; + emit internalStartFlushAndSeekToZero(); +} + + +void WriteThread::checkSum() +{ + //QByteArray blockArray; + QCryptographicHash hash(QCryptographicHash::Sha1); + endDetected=false; + lastGoodPosition=0; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + numberOfBlockCopied=0; + #endif + if(!file.seek(0)) + { + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + return; + } + int sizeReaden=0; + do + { + if(putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] write put in pause"); + if(stopIt) + return; + pauseMutex.acquire(); + if(stopIt) + return; + } + //read one block + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Read; + #endif + blockArray=file.read(blockSize); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + + if(file.error()!=QFile::NoError) + { + errorString_internal=tr("Unable to read the source file: ").toStdString()+file.errorString().toStdString()+" ("+std::to_string(file.error())+")"; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("file.error()!=QFile::NoError: %1, error: %2").arg(QString::number(file.error())).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + return; + } + sizeReaden=blockArray.size(); + if(sizeReaden>0) + { + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Checksum; + #endif + hash.addData(blockArray); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + + if(stopIt) + break; + + lastGoodPosition+=blockArray.size(); + } + } + while(sizeReaden>0 && !stopIt); + if(lastGoodPosition>(quint64)file.size()) + { + errorString_internal=tr("File truncated during read, possible data change").toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Source truncated during the read: %1 (%2)").arg(file.errorString()).arg(QString::number(file.error())).toStdString()); + emit error(); + return; + } + if(stopIt) + { +/* if(putInPause) + emit isInPause();*/ + stopIt=false; + return; + } + emit checksumFinish(hash.result()); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] stop the read"); +} + +void WriteThread::internalFlushAndSeekToZero() +{ + flushBuffer(); + if(!file.seek(0)) + { + errorString_internal=file.errorString().toStdString(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Unable to seek after open: %1, error: %2").arg(file.fileName()).arg(QString::fromStdString(errorString_internal)).toStdString()); + emit error(); + return; + } + stopIt=false; + emit flushedAndSeekedToZero(); +} + +void WriteThread::setMkpathTransfer(QSemaphore *mkpathTransfer) +{ + this->mkpathTransfer=mkpathTransfer; +} + +void WriteThread::setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles) +{ + this->deletePartiallyTransferredFiles=deletePartiallyTransferredFiles; +} + +bool WriteThread::write(const QByteArray &data) +{ + if(stopIt) + return false; + bool atMax; + if(sequential) + { + if(stopIt) + return false; + { + QMutexLocker lock_mutex(&accessList); + theBlockList.append(data); + atMax=(theBlockList.size()>=numberOfBlock); + } + if(atMax) + emit internalStartWrite(); + } + else + { + if(stopIt) + return false; + { + QMutexLocker lock_mutex(&accessList); + theBlockList.append(data); + atMax=(theBlockList.size()>=numberOfBlock); + } + emit internalStartWrite(); + } + if(atMax) + { + writeFullBlocked=true; + writeFull.acquire(); + writeFullBlocked=false; + } + if(stopIt) + return false; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + //wait for limitation speed if stop not query + if(multiForBigSpeed>0) + { + if(sequential) + { + numberOfBlockCopied++; + if(numberOfBlockCopied>=(multiForBigSpeed*2)) + { + numberOfBlockCopied=0; + waitNewClockForSpeed.acquire(); + } + } + else + { + numberOfBlockCopied2++; + if(numberOfBlockCopied2>=multiForBigSpeed) + { + numberOfBlockCopied2=0; + waitNewClockForSpeed2.acquire(); + } + } + } + #endif + if(stopIt) + return false; + return true; +} + +void WriteThread::internalWrite() +{ + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + if(sequential) + { + multiForBigSpeed=0; + QMutexLocker lock_mutex(&accessList); + if(theBlockList.size()<numberOfBlock && !endDetected) + return; + } + #endif + bool haveBlock; + do + { + if(putInPause) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"["+std::to_string(id)+"] write put in pause"); + if(stopIt) + return; + pauseMutex.acquire(); + if(stopIt) + return; + } + if(stopIt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] stopIt"); + return; + } + if(stopIt) + return; + //read one block + { + QMutexLocker lock_mutex(&accessList); + if(theBlockList.isEmpty()) + haveBlock=false; + else + { + blockArray=theBlockList.first(); + if(multiForBigSpeed>0) + { + if(blockArray.size()==blockSize) + { + theBlockList.removeFirst(); + //if remove one block + if(!sequential) + writeFull.release(); + } + else + { + blockArray.clear(); + while(blockArray.size()!=blockSize) + { + //if larger + if(theBlockList.first().size()>blockSize) + { + blockArray+=theBlockList.first().mid(0,blockSize); + theBlockList.first().remove(0,blockSize); + if(!sequential) + { + //do write in loop to finish the actual block + emit internalStartWrite(); + } + break; + } + //if smaller + else + { + blockArray+=theBlockList.first(); + theBlockList.removeFirst(); + //if remove one block + if(!sequential) + writeFull.release(); + if(theBlockList.isEmpty()) + break; + } + } + } + //haveBlock=!blockArray.isEmpty(); + } + else + { + theBlockList.removeFirst(); + //if remove one block + if(!sequential) + writeFull.release(); + } + haveBlock=true; + } + } + if(stopIt) + return; + if(!haveBlock) + { + if(sequential) + { + if(endDetected) + internalEndOfFile(); + else + writeFull.release(); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] End detected of the file"); + return; + } + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + //wait for limitation speed if stop not query + if(multiForBigSpeed>0) + { + numberOfBlockCopied++; + if(sequential || (!sequential && writeFullBlocked)) + { + if(numberOfBlockCopied>=(multiForBigSpeed*2)) + { + numberOfBlockCopied=0; + waitNewClockForSpeed.acquire(); + if(stopIt) + break; + } + } + else + { + if(numberOfBlockCopied>=multiForBigSpeed) + { + numberOfBlockCopied=0; + waitNewClockForSpeed.acquire(); + if(stopIt) + break; + } + } + } + #endif + if(stopIt) + return; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Write; + #endif + bytesWriten=file.write(blockArray); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + stat=Idle; + #endif + //mutex for stream this data + if(lastGoodPosition==0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"["+std::to_string(id)+"] emit writeIsStarted()"); + emit writeIsStarted(); + } + if(stopIt) + return; + if(file.error()!=QFile::NoError) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Error in writing: %1 (%2)").arg(file.errorString()).arg(file.error()).toStdString()); + errorString_internal=QStringLiteral("Error in writing: %1 (%2)").arg(file.errorString()).arg(file.error()).toStdString(); + stopIt=true; + emit error(); + return; + } + if(bytesWriten!=blockArray.size()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"["+std::to_string(id)+"] "+QStringLiteral("Error in writing, bytesWriten: %1, blockArray.size(): %2").arg(bytesWriten).arg(blockArray.size()).toStdString()); + errorString_internal=QStringLiteral("Error in writing, bytesWriten: %1, blockArray.size(): %2").arg(bytesWriten).arg(blockArray.size()).toStdString(); + stopIt=true; + emit error(); + return; + } + lastGoodPosition+=bytesWriten; + } while(sequential); +} diff --git a/plugins/CopyEngine/Ultracopier/WriteThread.h b/plugins/CopyEngine/Ultracopier/WriteThread.h new file mode 100644 index 0000000..cadd022 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/WriteThread.h @@ -0,0 +1,160 @@ +/** \file WriteThread.h +\brief Thread changed to open/close and write the destination file +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef WRITETHREAD_H +#define WRITETHREAD_H + +#include <QThread> +#include <QByteArray> +#include <QString> +#include <QMutex> +#include <QSemaphore> +#include <QCryptographicHash> + +#include "Environment.h" +#include "StructEnumDefinition_CopyEngine.h" +#include "AvancedQFile.h" + +/// \brief Thread changed to open/close and write the destination file +class WriteThread : public QThread +{ + Q_OBJECT +public: + explicit WriteThread(); + ~WriteThread(); + /// \brief to have semaphore to do mkpath one by one + void setMkpathTransfer(QSemaphore *mkpathTransfer); +protected: + void run(); +public: + /// \brief open the destination to open it + void open(const QFileInfo &file,const uint64_t &startSize,const bool &buffer,const int &numberOfBlock,const bool &sequential); + /// \brief to return the error string + std::string errorString() const; + /// \brief to stop all + void stop(); + /// \brief to write data + bool write(const QByteArray &data); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief to set the id + void setId(int id); + /// \brief get the write stat + enum WriteStat + { + Idle=0, + InodeOperation=1, + Write=2, + Close=3, + Read=5, + Checksum=6 + }; + WriteStat stat; + #endif + /// \brief do the fake open + void fakeOpen(); + /// \brief do the fake writeIsStarted + void fakeWriteIsStarted(); + /// \brief do the fake writeIsStopped + void fakeWriteIsStopped(); + /// do the checksum + void startCheckSum(); + /// \brief set block size in KB + bool setBlockSize(const int blockSize); + /// \brief get the last good position + int64_t getLastGoodPosition() const; + /// \brief buffer is empty + bool bufferIsEmpty(); + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + /// \brief set the current max speed in KB/s + void setMultiForBigSpeed(const int &multiForBigSpeed); + #endif + void pause(); + void resume(); + void reemitStartOpen(); +public slots: + /// \brief start the operation + void postOperation(); + /// \brief flush buffer + void flushBuffer(); + /// \brief set the end is detected + void endIsDetected(); + /// \brief reopen the file + void reopen(); + /// \brief flush and seek to zero + void flushAndSeekToZero(); + /// do the checksum + void checkSum(); + void setDeletePartiallyTransferredFiles(const bool &deletePartiallyTransferredFiles); + /// \brief executed at regular interval to do a speed throling + void timeOfTheBlockCopyFinished(); + + void resumeNotStarted(); +signals: + void error() const; + void opened() const; + void reopened() const; + void writeIsStarted() const; + void writeIsStopped() const; + void flushedAndSeekedToZero() const; + void closed() const; + void checksumFinish(const QByteArray&) const; + //internal signals + void internalStartOpen() const; + void internalStartChecksum() const; + void internalStartReopen() const; + void internalStartWrite() const; + void internalStartClose() const; + void internalStartEndOfFile() const; + void internalStartFlushAndSeekToZero() const; + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const; +private: + std::string errorString_internal; + AvancedQFile file; + volatile bool stopIt; + volatile bool postOperationRequested; + volatile int blockSize;//only used in checksum + int numberOfBlock; + QMutex accessList; ///< For use the list + static QMultiHash<QString,WriteThread *> writeFileList; + static QMutex writeFileListMutex; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + QSemaphore waitNewClockForSpeed,waitNewClockForSpeed2; + volatile int numberOfBlockCopied,numberOfBlockCopied2; ///< Multiple for count the number of block copied + volatile int multiplicatorForBigSpeed; ///< Multiple for count the number of block needed + volatile int MultiForBigSpeed; + #endif + QSemaphore writeFull; + volatile bool writeFullBlocked; + QSemaphore isOpen; + QSemaphore pauseMutex; + volatile bool putInPause; + QList<QByteArray> theBlockList; ///< Store the block list + uint64_t lastGoodPosition; + QByteArray blockArray; ///< temp data for block writing, the data + int64_t bytesWriten; ///< temp data for block writing, the bytes writen + int id; + volatile bool endDetected; + uint64_t startSize; + QSemaphore *mkpathTransfer; + bool fakeMode; + bool buffer; + bool needRemoveTheFile; + volatile bool sequential; + bool deletePartiallyTransferredFiles; + #ifdef ULTRACOPIER_PLUGIN_SPEED_SUPPORT + volatile int multiForBigSpeed; ///< Multiple for count the number of block needed + #endif +private slots: + bool internalOpen(); + void internalWrite(); + void internalCloseSlot(); + void internalClose(bool emitSignal=true); + void internalReopen(); + void internalEndOfFile(); + void internalFlushAndSeekToZero(); +}; + +#endif // WRITETHREAD_H diff --git a/plugins/CopyEngine/Ultracopier/copyEngineOptions.ui b/plugins/CopyEngine/Ultracopier/copyEngineOptions.ui new file mode 100644 index 0000000..4870480 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/copyEngineOptions.ui @@ -0,0 +1,762 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>copyEngineOptions</class> + <widget class="QWidget" name="copyEngineOptions"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>801</width> + <height>504</height> + </rect> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <item> + <widget class="QToolBox" name="toolBox"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="page_trasnfer"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>791</width> + <height>364</height> + </rect> + </property> + <attribute name="label"> + <string>Transfer</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="3" column="2"> + <widget class="QCheckBox" name="moveTheWholeFolder"/> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_18"> + <property name="text"> + <string>Move the whole folder</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Transfer the file rights</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QCheckBox" name="doRightTransfer"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Keep the file date</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QCheckBox" name="autoStart"/> + </item> + <item row="1" column="2"> + <widget class="QCheckBox" name="keepDate"/> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Autostart the transfer</string> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="QCheckBox" name="followTheStrictOrder"> + <property name="toolTip"> + <string>Less performance if checked</string> + </property> + </widget> + </item> + <item row="6" column="1"> + <spacer name="verticalSpacer_6"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>278</height> + </size> + </property> + </spacer> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_19"> + <property name="toolTip"> + <string>Less performance if checked</string> + </property> + <property name="text"> + <string>Follow the strict order</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_rsync"> + <property name="text"> + <string notr="true">Rsync</string> + </property> + </widget> + </item> + <item row="5" column="2"> + <widget class="QCheckBox" name="rsync"/> + </item> + </layout> + </widget> + <widget class="QWidget" name="page_error_collision"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>502</width> + <height>218</height> + </rect> + </property> + <attribute name="label"> + <string>Error and collision</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="2" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>When folder error</string> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="QCheckBox" name="checkBoxDestinationFolderExists"/> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_12"> + <property name="text"> + <string>When file error</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QComboBox" name="comboBoxFileError"> + <item> + <property name="text"> + <string notr="true">Ask</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Skip</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Put at the end</string> + </property> + </item> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_13"> + <property name="text"> + <string>When file collision</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QComboBox" name="comboBoxFileCollision"> + <item> + <property name="text"> + <string notr="true">Ask</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Skip</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Overwrite</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Overwrite if different</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Overwrite if newer</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Overwrite if older</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Rename</string> + </property> + </item> + </widget> + </item> + <item row="2" column="2"> + <widget class="QComboBox" name="comboBoxFolderError"> + <item> + <property name="text"> + <string notr="true">Ask</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Skip</string> + </property> + </item> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>When folder collision</string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QComboBox" name="comboBoxFolderCollision"> + <item> + <property name="text"> + <string notr="true">Ask</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Merge</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Skip</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Rename</string> + </property> + </item> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>Check if destination folder exists</string> + </property> + </widget> + </item> + <item row="7" column="1"> + <widget class="QPushButton" name="renamingRules"> + <property name="text"> + <string>Renaming rules</string> + </property> + </widget> + </item> + <item row="8" column="1"> + <spacer name="verticalSpacer_5"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>193</height> + </size> + </property> + </spacer> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_20"> + <property name="text"> + <string>Delete partially transferred files</string> + </property> + </widget> + </item> + <item row="5" column="2"> + <widget class="QCheckBox" name="deletePartiallyTransferredFiles"/> + </item> + <item row="6" column="2"> + <widget class="QCheckBox" name="renameTheOriginalDestination"/> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="label_22"> + <property name="text"> + <string>Rename the original destination</string> + </property> + </widget> + </item> + </layout> + <zorder>label_12</zorder> + <zorder>label_13</zorder> + <zorder>label_6</zorder> + <zorder>label_7</zorder> + <zorder>label_8</zorder> + <zorder>comboBoxFileError</zorder> + <zorder>comboBoxFileCollision</zorder> + <zorder>comboBoxFolderError</zorder> + <zorder>comboBoxFolderCollision</zorder> + <zorder>checkBoxDestinationFolderExists</zorder> + <zorder>renamingRules</zorder> + <zorder>label_20</zorder> + <zorder>deletePartiallyTransferredFiles</zorder> + <zorder>renameTheOriginalDestination</zorder> + <zorder>label_22</zorder> + </widget> + <widget class="QWidget" name="page_control"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>172</width> + <height>119</height> + </rect> + </property> + <attribute name="label"> + <string>Control</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Checksum</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="1" column="1"> + <widget class="QCheckBox" name="checksumOnlyOnError"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_9"> + <property name="text"> + <string>Only after error</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_10"> + <property name="text"> + <string>Ignore if impossible</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="checksumIgnoreIfImpossible"/> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="doChecksum"> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>Verify checksums</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="verticalSpacer_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>242</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="page_performance"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>791</width> + <height>364</height> + </rect> + </property> + <attribute name="label"> + <string>Performance</string> + </attribute> + <layout class="QGridLayout" name="gridLayout"> + <item row="5" column="0"> + <widget class="QLabel" name="label_16"> + <property name="text"> + <string>Parallel buffer</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QSpinBox" name="sequentialBuffer"> + <property name="suffix"> + <string>KB</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>999999999</number> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="blockSize"> + <property name="suffix"> + <string>KB</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>65536</number> + </property> + </widget> + </item> + <item row="5" column="1"> + <widget class="QSpinBox" name="parallelBuffer"> + <property name="suffix"> + <string>KB</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>999999999</number> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="osBuffer"/> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Block size</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_15"> + <property name="text"> + <string>Sequential buffer</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Enable OS buffer</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="osBufferLimit"> + <property name="suffix"> + <string>KB</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>2048</number> + </property> + <property name="value"> + <number>512</number> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="osBufferLimited"> + <property name="text"> + <string>OS buffer only if smaller than</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_14"> + <property name="text"> + <string>Transfer algorithm</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QComboBox" name="transferAlgorithm"> + <item> + <property name="text"> + <string notr="true">Automatic</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Sequential</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Parallel</string> + </property> + </item> + </widget> + </item> + <item row="9" column="1"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>197</height> + </size> + </property> + </spacer> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="label_17"> + <property name="text"> + <string>Parallelize if smaller than</string> + </property> + </widget> + </item> + <item row="6" column="1"> + <widget class="QSpinBox" name="parallelizeIfSmallerThan"> + <property name="suffix"> + <string>KB</string> + </property> + <property name="maximum"> + <number>1024</number> + </property> + </widget> + </item> + <item row="7" column="1"> + <widget class="QSpinBox" name="inodeThreads"> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>32</number> + </property> + <property name="value"> + <number>16</number> + </property> + </widget> + </item> + <item row="7" column="0"> + <widget class="QLabel" name="label_21"> + <property name="text"> + <string>Inode threads</string> + </property> + </widget> + </item> + <item row="8" column="1"> + <widget class="QCheckBox" name="copyListOrder"> + <property name="toolTip"> + <string>More cpu, but better organisation on the disk</string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="8" column="0"> + <widget class="QLabel" name="label_25"> + <property name="toolTip"> + <string>More cpu, but better organisation on the disk</string> + </property> + <property name="text"> + <string>Order the list</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="page_misc"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>449</width> + <height>89</height> + </rect> + </property> + <attribute name="label"> + <string>Misc</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QLabel" name="label_23"> + <property name="text"> + <string>Check the disk space</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QCheckBox" name="checkDiskSpace"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_24"> + <property name="text"> + <string>Use this folder when destination is not set</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLineEdit" name="defaultDestinationFolder"/> + </item> + <item> + <widget class="QPushButton" name="defaultDestinationFolderBrowse"> + <property name="text"> + <string>Browse</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="2" column="0"> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>353</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="2" column="1"> + <widget class="QPushButton" name="filters"> + <property name="text"> + <string>Filters</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>352</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="3" column="1"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>159</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>doChecksum</sender> + <signal>clicked(bool)</signal> + <receiver>label_9</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>583</x> + <y>136</y> + </hint> + <hint type="destinationlabel"> + <x>109</x> + <y>161</y> + </hint> + </hints> + </connection> + <connection> + <sender>doChecksum</sender> + <signal>clicked(bool)</signal> + <receiver>checksumOnlyOnError</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>594</x> + <y>136</y> + </hint> + <hint type="destinationlabel"> + <x>586</x> + <y>161</y> + </hint> + </hints> + </connection> + <connection> + <sender>doChecksum</sender> + <signal>clicked(bool)</signal> + <receiver>label_10</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>641</x> + <y>136</y> + </hint> + <hint type="destinationlabel"> + <x>132</x> + <y>186</y> + </hint> + </hints> + </connection> + <connection> + <sender>doChecksum</sender> + <signal>clicked(bool)</signal> + <receiver>checksumIgnoreIfImpossible</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>665</x> + <y>136</y> + </hint> + <hint type="destinationlabel"> + <x>609</x> + <y>186</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/copyEngineResources.qrc b/plugins/CopyEngine/Ultracopier/copyEngineResources.qrc new file mode 100644 index 0000000..0228c74 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/copyEngineResources.qrc @@ -0,0 +1,8 @@ +<RCC> + <qresource prefix="/CopyEngine/Ultracopier"> + <file>resources/add.png</file> + <file>resources/edit.png</file> + <file>resources/remove.png</file> + <file>resources/filter.png</file> + </qresource> +</RCC> diff --git a/plugins/CopyEngine/Ultracopier/debugDialog.ui b/plugins/CopyEngine/Ultracopier/debugDialog.ui new file mode 100644 index 0000000..80fde7e --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/debugDialog.ui @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>debugDialog</class> + <widget class="QWidget" name="debugDialog"> + <property name="geometry"> + <rect> + <width>665</width> + <height>392</height> + </rect> + </property> + <property name="windowTitle"> + <string notr="true">Monitor</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string notr="true">Transfer thread</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QListWidget" name="transferThreadList"> + <property name="uniformItemSizes"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string notr="true">Transfer list</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QListWidget" name="tranferList"> + <property name="uniformItemSizes"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QGroupBox" name="groupBox_3"> + <property name="title"> + <string notr="true">Variables</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string notr="true">Active transfer:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="spinBoxActiveTransfer"> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="maximum"> + <number>9999</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string notr="true">Number of inode manipuled:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="spinBoxNumberOfInode"> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="maximum"> + <number>9999</number> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/documentation.dox b/plugins/CopyEngine/Ultracopier/documentation.dox new file mode 100644 index 0000000..5a0fbf6 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/documentation.dox @@ -0,0 +1,39 @@ +/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/ + +/* + This file contains NO source code, just some documentation for doxygen to + parse. +*/ + +/*! + \mainpage Copy engine + + \section mainpage_overview Overview + + The default copy engine for Ultracopier. Support file/folder, copy/move, ...\n + More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>. + + \section mainpage_platforms Platforms + + This plugin might be usable in all environments where you find Qt 5, but Gcc is requiered for some part. You need qtsystem modules for QtSystemInfo\n + This plugin requires Qt 5.0 or newer. Tested on Qt 5.0.\n + + \section mainpage_downloads Downloads + + You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ... + + \section mainpage_algorithm Algorithm + + Like say previously you will have more informations on the wiki.\n + Then file transfer is done via pipe mecamism system:\n + <ul> + <li>push at no blocking into table up to the table is full, after is blocked up to one entry is free</li> + <li>Other thread read the table up to have no more data, then is blocked</li> + </ul> + The transfer thread do listing of the folder, removing folder, make folder is one thread for each.\n + The transfer list, have thread pool to do the inode operation (open, close, set date, ...). Do all inode operation in parallele, but transfer the data as sequential. + + \section license GPL Version 3 + The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4. + +*/ diff --git a/plugins/CopyEngine/Ultracopier/fileErrorDialog.ui b/plugins/CopyEngine/Ultracopier/fileErrorDialog.ui new file mode 100644 index 0000000..b603924 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/fileErrorDialog.ui @@ -0,0 +1,264 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>fileErrorDialog</class> + <widget class="QWidget" name="fileErrorDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>723</width> + <height>185</height> + </rect> + </property> + <property name="windowTitle"> + <string>Error with file</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Error</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="label_error"> + <property name="text"> + <string/> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QFormLayout" name="formLayout_2"> + <property name="fieldGrowthPolicy"> + <enum>QFormLayout::ExpandingFieldsGrow</enum> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="label_size"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Size</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_content_size"> + <property name="text"> + <string notr="true">0 KiB</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_modified"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Modified</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_content_modified"> + <property name="text"> + <string notr="true">Today</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_file_name"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>File name</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="label_content_file_name"> + <property name="text"> + <string notr="true">source.txt</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_file_destination"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Destination</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QLabel" name="label_content_file_destination"> + <property name="text"> + <string notr="true">../toto.txt</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_folder"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLabel" name="label_content_folder"> + <property name="text"> + <string notr="true">/folder/</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QCheckBox" name="checkBoxAlways"> + <property name="text"> + <string>&Always perform this action</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="Rights"> + <property name="text"> + <string>Try in with elevated privileges</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="PutToBottom"> + <property name="text"> + <string>Put to bottom</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Retry"> + <property name="text"> + <string>Retry</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Skip"> + <property name="text"> + <string>&Skip</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Cancel"> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>checkBoxAlways</sender> + <signal>toggled(bool)</signal> + <receiver>Cancel</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>112</x> + <y>131</y> + </hint> + <hint type="destinationlabel"> + <x>438</x> + <y>142</y> + </hint> + </hints> + </connection> + <connection> + <sender>checkBoxAlways</sender> + <signal>toggled(bool)</signal> + <receiver>Retry</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>155</x> + <y>131</y> + </hint> + <hint type="destinationlabel"> + <x>309</x> + <y>134</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/fileExistsDialog.ui b/plugins/CopyEngine/Ultracopier/fileExistsDialog.ui new file mode 100644 index 0000000..0c38a57 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/fileExistsDialog.ui @@ -0,0 +1,412 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>fileExistsDialog</class> + <widget class="QWidget" name="fileExistsDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>469</width> + <height>162</height> + </rect> + </property> + <property name="windowTitle"> + <string>The file exists</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Source</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Destination</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QFormLayout" name="formLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="label_source_size"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Size</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_content_source_size"> + <property name="text"> + <string notr="true">0 KiB</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_source_modified"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Modified</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_content_source_modified"> + <property name="text"> + <string notr="true">Today</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_source_file_name"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>File name</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="label_content_source_file_name"> + <property name="text"> + <string notr="true">source.txt</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_3"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLabel" name="label_content_source_folder"> + <property name="text"> + <string notr="true">/source/</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="horizontalSpacer_4"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QFormLayout" name="formLayout"> + <property name="fieldGrowthPolicy"> + <enum>QFormLayout::ExpandingFieldsGrow</enum> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="label_destination_size"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Size</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_content_destination_size"> + <property name="text"> + <string notr="true">0 KiB</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_destination_modified"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Modified</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_content_destination_modified"> + <property name="text"> + <string notr="true">Today</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_destination_file_name"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>File name</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="label_content_destination_file_name"> + <property name="text"> + <string notr="true">destination.txt</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_4"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLabel" name="label_content_destination_folder"> + <property name="text"> + <string notr="true">/destination/</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLineEdit" name="lineEditNewName"> + <property name="text"> + <string notr="true"/> + </property> + <property name="placeholderText"> + <string notr="true"/> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="SuggestNewName"> + <property name="text"> + <string>Suggest new &name</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QCheckBox" name="checkBoxAlways"> + <property name="text"> + <string>&Always perform this action</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="Rename"> + <property name="text"> + <string>&Rename</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="Overwrite"> + <property name="text"> + <string>&Overwrite</string> + </property> + <property name="popupMode"> + <enum>QToolButton::MenuButtonPopup</enum> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Skip"> + <property name="text"> + <string>&Skip</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Cancel"> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + <action name="actionOverwrite_if_newer"> + <property name="text"> + <string>Overwrite if newer</string> + </property> + </action> + <action name="actionOverwrite_if_not_same_modification_date"> + <property name="text"> + <string>Overwrite if modification date differs</string> + </property> + <property name="toolTip"> + <string>Overwrite if modification date differs</string> + </property> + </action> + <action name="actionOverwrite_if_older"> + <property name="text"> + <string>Overwrite if older</string> + </property> + <property name="toolTip"> + <string>Overwrite if older</string> + </property> + </action> + </widget> + <resources/> + <connections> + <connection> + <sender>checkBoxAlways</sender> + <signal>toggled(bool)</signal> + <receiver>Cancel</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>115</x> + <y>130</y> + </hint> + <hint type="destinationlabel"> + <x>440</x> + <y>129</y> + </hint> + </hints> + </connection> + <connection> + <sender>checkBoxAlways</sender> + <signal>toggled(bool)</signal> + <receiver>lineEditNewName</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>62</x> + <y>129</y> + </hint> + <hint type="destinationlabel"> + <x>108</x> + <y>93</y> + </hint> + </hints> + </connection> + <connection> + <sender>checkBoxAlways</sender> + <signal>toggled(bool)</signal> + <receiver>SuggestNewName</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>144</x> + <y>138</y> + </hint> + <hint type="destinationlabel"> + <x>326</x> + <y>98</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/fileIsSameDialog.ui b/plugins/CopyEngine/Ultracopier/fileIsSameDialog.ui new file mode 100644 index 0000000..c019a63 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/fileIsSameDialog.ui @@ -0,0 +1,214 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>fileIsSameDialog</class> + <widget class="QWidget" name="fileIsSameDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>411</width> + <height>142</height> + </rect> + </property> + <property name="windowTitle"> + <string>The source and destination are same</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QFormLayout" name="formLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="label_size"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Size</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_content_size"> + <property name="text"> + <string notr="true">0 KiB</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_content_modified"> + <property name="text"> + <string notr="true">Today</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_file_name"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>File name</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="label_content_file_name"> + <property name="text"> + <string notr="true">source.txt</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_2"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLabel" name="label_content_folder"> + <property name="text"> + <string notr="true">/toto/</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_modified"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Modified</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLineEdit" name="lineEditNewName"> + <property name="text"> + <string notr="true"/> + </property> + <property name="placeholderText"> + <string notr="true"/> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="SuggestNewName"> + <property name="text"> + <string>Suggest new &name</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QCheckBox" name="checkBoxAlways"> + <property name="text"> + <string>&Always perform this action</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="Rename"> + <property name="text"> + <string>&Rename</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Skip"> + <property name="text"> + <string>&Skip</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Cancel"> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/folderExistsDialog.ui b/plugins/CopyEngine/Ultracopier/folderExistsDialog.ui new file mode 100644 index 0000000..440b5ca --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/folderExistsDialog.ui @@ -0,0 +1,309 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>folderExistsDialog</class> + <widget class="QDialog" name="folderExistsDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>476</width> + <height>140</height> + </rect> + </property> + <property name="windowTitle"> + <string>The source and destination is identical</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label_source"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Source</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_destination"> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Destination</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label_source_modified"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Modified</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_content_source_modified"> + <property name="text"> + <string notr="true">Today</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_source_folder_name"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder name</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_content_source_folder_name"> + <property name="text"> + <string notr="true">folder</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_source_folder"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="label_content_source_folder"> + <property name="text"> + <string notr="true">/source/</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QFormLayout" name="formLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="label_destination_modified"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Modified</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_destination_folder_name"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder name</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_content_destination_modified"> + <property name="text"> + <string notr="true">Today</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_content_destination_folder_name"> + <property name="text"> + <string notr="true">folder</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_destination_folder"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Folder</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="label_content_destination_folder"> + <property name="text"> + <string notr="true">/destination/</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLineEdit" name="lineEditNewName"> + <property name="text"> + <string notr="true"/> + </property> + <property name="placeholderText"> + <string notr="true"/> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="SuggestNewName"> + <property name="text"> + <string>Suggest new &name</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QCheckBox" name="checkBoxAlways"> + <property name="text"> + <string>&Always perform this action</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Rename"> + <property name="text"> + <string>&Rename</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Merge"> + <property name="text"> + <string>Merge</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Skip"> + <property name="text"> + <string>Skip</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="Cancel"> + <property name="text"> + <string>&Cancel</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>checkBoxAlways</sender> + <signal>clicked(bool)</signal> + <receiver>lineEditNewName</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>132</x> + <y>126</y> + </hint> + <hint type="destinationlabel"> + <x>135</x> + <y>101</y> + </hint> + </hints> + </connection> + <connection> + <sender>checkBoxAlways</sender> + <signal>clicked(bool)</signal> + <receiver>SuggestNewName</receiver> + <slot>setDisabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>113</x> + <y>129</y> + </hint> + <hint type="destinationlabel"> + <x>304</x> + <y>100</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/CopyEngine/Ultracopier/informations-rsync.xml b/plugins/CopyEngine/Ultracopier/informations-rsync.xml new file mode 100644 index 0000000..43befc2 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/informations-rsync.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Rsync copy engine]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Moteur de copie rsync]]></title> + <!-- What kind of plugin this is --> + <category>CopyEngine</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>linux-x86_64-pc</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Rsync copy engine, variant of the official copy engine to provide simple way to do backups]]></description> + <description xml:lang="fr"><![CDATA[Moteur de copie rsync, variante du moteur de copie officiel pour fournir une maniére simple de faire des backups]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.0.0.0</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>Rsync</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins/CopyEngine/Ultracopier/informations.xml b/plugins/CopyEngine/Ultracopier/informations.xml new file mode 100644 index 0000000..7968ca8 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/informations.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Copy engine of Ultracopier]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Moteur de copie d'ultracopier]]></title> + <!-- What kind of plugin this is --> + <category>CopyEngine</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>windows-x86</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Copy engine of Ultracopier, do in Qt for all platform, and copy by stream]]></description> + <description xml:lang="fr"><![CDATA[Moteur de copie d'ultracopier, fait en Qt pour toutes les plateformes, et copie par stream]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>Ultracopier</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins/CopyEngine/Ultracopier/plugin.json b/plugins/CopyEngine/Ultracopier/plugin.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/plugin.json @@ -0,0 +1 @@ +{}
\ No newline at end of file diff --git a/plugins/CopyEngine/Ultracopier/resources/add.png b/plugins/CopyEngine/Ultracopier/resources/add.png Binary files differnew file mode 100644 index 0000000..7932127 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/resources/add.png diff --git a/plugins/CopyEngine/Ultracopier/resources/edit.png b/plugins/CopyEngine/Ultracopier/resources/edit.png Binary files differnew file mode 100644 index 0000000..5464856 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/resources/edit.png diff --git a/plugins/CopyEngine/Ultracopier/resources/filter.png b/plugins/CopyEngine/Ultracopier/resources/filter.png Binary files differnew file mode 100644 index 0000000..9bb3164 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/resources/filter.png diff --git a/plugins/CopyEngine/Ultracopier/resources/remove.png b/plugins/CopyEngine/Ultracopier/resources/remove.png Binary files differnew file mode 100644 index 0000000..b711740 --- /dev/null +++ b/plugins/CopyEngine/Ultracopier/resources/remove.png diff --git a/plugins/Languages/ar/flag.png b/plugins/Languages/ar/flag.png Binary files differnew file mode 100644 index 0000000..538c4f9 --- /dev/null +++ b/plugins/Languages/ar/flag.png diff --git a/plugins/Languages/ar/informations.xml b/plugins/Languages/ar/informations.xml new file mode 100644 index 0000000..fcaf807 --- /dev/null +++ b/plugins/Languages/ar/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to arabic]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier-ar.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to arabic. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>ar</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[العربية]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Arabic]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[ar]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[ar_AR]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/ar/translation.ts b/plugins/Languages/ar/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/ar/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/de/flag.png b/plugins/Languages/de/flag.png Binary files differnew file mode 100644 index 0000000..a096a1c --- /dev/null +++ b/plugins/Languages/de/flag.png diff --git a/plugins/Languages/de/informations.xml b/plugins/Languages/de/informations.xml new file mode 100644 index 0000000..7818c1c --- /dev/null +++ b/plugins/Languages/de/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to german]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to german. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>de</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Deutsch]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[German]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[de]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[de_DE]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/de/translation.ts b/plugins/Languages/de/translation.ts new file mode 100644 index 0000000..7e64330 --- /dev/null +++ b/plugins/Languages/de/translation.ts @@ -0,0 +1,1277 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="de" sourcelanguage="en"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>Warnung</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation>Ultracopier wird bereits ausgeführt. Klicken Sie mit der rechten Maustase auf das Icon im Infobereich der Taskleiste</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation>Lesefehler, oder Dateigröße=0</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation>Mögliche Werte sind:</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation>Optionen anzeigen</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation>Ungültiger Befehl</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translatorcomment>The original english text does not make sense.</translatorcomment> + <translation>Diese Datei wird nicht unterstützt Transferliste</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation>Die Transferlistendatei kann nicht geöffnet werden</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation>Um diese Hilfe anzuzeigen</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation>Um andere Instanzen zu beenden (falls laufend)</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation>Transferliste öffnen</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation>Hilfe</translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>Warnung</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation>Finde keine kompatible Engine!</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation>Finde keine Engine mit diesem Namen: %1</translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation>Fehler während Empfang der Kopier/Verschieben-Liste +%1</translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation>Bekomme keine Instanz der Kopier-Engine</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation>Bekomme keine Instanz der Engine</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation>Die Parameter sind in diesem Modus ungültig</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation>Möchten Sie kopieren? Wenn nicht, wird verschoben.</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation>Konnte Oberfläche nicht laden. Kopiervorgang abgebrochen</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation>Konnte Kopier-Engine nicht laden. Kopiervorgang abgebrochen</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation>Transfermodus</translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation>Kopier-Engine</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation>Kopieren</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation>Verschieben</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation>Pause</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation>Fortsetzen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation>Überspringen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation>Unbegrenzt</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translatorcomment>seconds?</translatorcomment> + <translation>s</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation>Zu groß</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translatorcomment>Byte?</translatorcomment> + <translation>B</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translatorcomment>Kilobyte</translatorcomment> + <translation>KB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translatorcomment>Megabyte</translatorcomment> + <translation>MB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translatorcomment>Gigabyte</translatorcomment> + <translation>GB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translatorcomment>Terrabyte</translatorcomment> + <translation>TB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translatorcomment>Petabyte</translatorcomment> + <translation>PB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translatorcomment>Etabyte</translatorcomment> + <translation>EB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translatorcomment>Zetabyte</translatorcomment> + <translation>ZB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translatorcomment>Yotabyte</translatorcomment> + <translation>YB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation>Weniger als %10 Sekunden</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation>Ungefähr noch %10 Sekunden</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation>Ungefähr noch %1 Minuten</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation>Ungefähr noch %1 Stunden</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translatorcomment>evtl. "Datenübertragung", aber ich denke "Transfer" ist hier besser</translatorcomment> + <translation>Transfer</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation>Start</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation>Quelle</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation>Größe</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation>Ziel</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation>Beenden</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation>Ziel</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation>Verbleibende Zeit:</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation>Auflistung</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation>Kopieren</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translatorcomment>not sure... depends on context</translatorcomment> + <translation>Auflistung und Kopiervorgang</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation>Fragen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation>Überschreiben</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation>Überschreiben, falls neuer</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation>Überschreiben, falls die letzten Änderungsdaten unterschiedlich sind</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation>Umbenennen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation>Ans Ende der Liste verschieben</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation>Fertig in %1</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation>Wählen Sie das Quellverzeichnis</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation>Wählen Sie das Zielverzeichnis</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation>Interner Fehler</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation>Wählen Sie eine oder mehrere Dateien zum Öffnen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation>Alle Dateien</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation>Transferliste speichern</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation>Transferliste öffnen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation>Transferliste</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation>Auf dieser Plattform nicht unterstützt</translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation>Über Ultracopier</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation>Basiert auf Qt. Erweitertes Tool um Dateien zu kopieren (Lizenz: GPLv3). +Diese Version wurde kompiliert als Version: %1.</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation>Plattform: %1</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation>Über Qt</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translatorcomment>Clumsy... depends on context</translatorcomment> + <translation>Absturz ausführen</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation>Fehlerbericht speichern</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>Schließen</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation>Zu http://portableapps.com/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation>Portable und "Alles-in-Einem" Version</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation>Portable Version</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation>"Alles-in-Einem" Version</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation>Normale Version</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation>http://ultracopier-de.first-world.info/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation>http://ultracopier.first-world.info/download.html</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation><html><head/><body><p>Weitere Informationen finden Sie auf der Website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>Warnung</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation>Timeout beim Zusammenfügen der Daten von verbundenen Clients</translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation>Log-Datei ist bereits geöffnet, Fehler: %1</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation>Kann Log-Datei nicht öffnen. Fehler: %1</translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation>Warnung</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation>Nicht mehr anzeigen</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation>OK</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation>Das Ersetzen des Standard Kopier/Verschieben-Systems wird von diesem Datei-Manager nicht unterstützt.<br />Bitten Sie die Entwickler darum es zu supporten. <br />Sie müssen das Kopieren/Verschieben daher manuell durchführen.</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation>System neustarten, Falls vorher ähnliche Software instaliert war (wie Teracopy, Supercopier oder ältere Version von Ultracopier).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation>Das Ersetzen des Standard Kopier/Verschieben-Systems wird vom Mac OS X Finder nicht unterstützt und somit verhindert.<br />Sie müssen das Kopieren/Verschieben daher manuell durchführen.</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation>Das Ersetzen des Standard Kopier/Verschieben-Systems wird von diesem File-Manager nicht unterstützt.<br />Bitten Sie die Entwickler darum es zu supporten. <br />Sie müssen das Kopieren/Verschieben daher manuell durchführen.</translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation>Optionen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>Allgemein</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation>Plugins</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation>Kopier-Engine</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>Themes</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation>Log</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation>Gruppieren der Fenster bestätigen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation>Nach Updates suchen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>Name</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>Version</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>Sprache</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation>Listener</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation>Plugin loader</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation>Session loader</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation>Sprache wählen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation>Standard Kopier- und Verschiebebefehl ersetzen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation>Mit OS laden</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation>Bei manuellem Start</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation>Fenster gruppieren</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation>OS Warnungen anzeigen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation>Der GPU Zeit geben, um die Entwicklung zu finanzieren</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation>Plugin</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation>Hinzufügen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation>Entfernen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation>Information</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation>Kopier-Engine in Reihenfolge ihrer Präferenz:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation>Client verbunden</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation>Themes:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation>Konnte das Themes-Plugin nicht laden</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation>Durchsuchen</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation>Die Variablen sind %time%, %source%, %size%, %destination%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation>Die Variablen sind %time%, %path%, %size%, %mtime%, %error%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation>Log in folgende Datei schreiben:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation>Schreibe direkt in die Datei, wenn ein neuer Eintrag erreicht wird (50% Leistungsverlust möglich)</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation>Laden</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation>Theme laden?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation>Sprache laden?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation>Nichts tun</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation>Nach Quell-Ordner fragen</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation>Nach Quell-Datei fragen</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation>Nie</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation>Falls Quelle gleich ist</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation>Falls Ziel gleich ist</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation>Falls Quelle und Ziel gleich sind</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation>Falls Quelle oder Ziel gleich sind</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation>Immer</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation>Die Variablen sind %1</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation>Protokolle speichern als: </translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation>Synchronisiertes Protokoll</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation>Keine Option für dieses Plugin</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation>Protokolliere Transfers:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation>Protokolliere Fehler:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation>Protokolliere Ordner-Operationen:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation>Die Variablen sind %path% %operation%</translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation>Variablen nicht gefunden: %1 %2</translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation>Über dieses Plugin</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>Name:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>Kategorie:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>Autor:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>Datum:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>Beschreibung:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>Version:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation>Kopier-Engine</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>Sprachen</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation>Listener</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation>Plugin-Loader</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation>Session-Loader</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>Themes</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation>Informationen über %1</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>Webseite:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>Titel:</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation>Auf "informations.xml" kann nicht zugegriffen werden</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translatorcomment>clumsy.</translatorcomment> + <translation>Abhängigkeiten-Teil ist falsch</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation>Die Abhängigkeiten "%1" sind nicht erfüllt für Plugin:%2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation>Entferne %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation>Fehler</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation>Information</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation>%1, Parser-Fehler in Zeile %2, Spalte %3: %4</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation>"informations.xml" für das Plugin nicht gefunden</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation>"package" Root-Tag für die XML-Datei nicht gefunden</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation>Plugin-Duplikat gefunden. Bereits geladen!</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation>Englischer Text fehlt in "informations.xml" für das Tag: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation>XML-Tag nicht gefunden: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation>Sind Sie sicher, dass Sie "%1" in der Version %2 entfernen wollen?</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation>Vorheriger Import wird durchgeführt...</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation>Ultracopier Plugin öffnen</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation>Ultracopier plugin (*.urc)</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation>Plugin-Loader</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation>Kann das Plugin nicht öffnen: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation>Kann Plugin-Inhalte nicht laden. Bitte überprüfen Sie das: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation>Kann keinen Ordner erstellen um das Plugin %1 zu installieren +</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation>Kann eine Datei nicht erstellen um das Plugin zu installieren: +%1 +seit: %2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation>Ordner mit demselben Namen existiert bereits. Überspringen Sie die Plugin-Installation: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation>Kann Plugin-Inhalte nicht laden. Bitte überprüfen Sie das</translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation>Speicherzuordnung fehlgeschlagen</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation>Schreibfehler</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation>Grenze des Speicherverbrauchs erreicht</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation>Keine .xz-Datei</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation>Nicht-unterstützte Optionen in den .xz-Headern</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation>Die Datei ist beschädigt</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation>Bug!</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation>Die Eingabedaten sind zu kurz</translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished">Keine Kopie-Listener gefunden. Führen Sie die Kopie manuell durch Rechtsklick auf das Symbol im Systray aus.</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished">Information</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished">Suche Informationen ...</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished">Explorer:-Kopieren/Verschieben nicht ersetzen</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished">Explorer: Kopieren/Verschieben teilweise ersetzen</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished">Explorer:-Kopieren/Verschieben ersetzen</translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/el/flag.png b/plugins/Languages/el/flag.png Binary files differnew file mode 100644 index 0000000..cd96374 --- /dev/null +++ b/plugins/Languages/el/flag.png diff --git a/plugins/Languages/el/informations.xml b/plugins/Languages/el/informations.xml new file mode 100644 index 0000000..dc30cef --- /dev/null +++ b/plugins/Languages/el/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to greek]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to greek. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>el</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[ελληνικά]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Greek]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[el]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[el_EL]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/el/translation.ts b/plugins/Languages/el/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/el/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/es/flag.png b/plugins/Languages/es/flag.png Binary files differnew file mode 100644 index 0000000..4cb4c0a --- /dev/null +++ b/plugins/Languages/es/flag.png diff --git a/plugins/Languages/es/informations.xml b/plugins/Languages/es/informations.xml new file mode 100644 index 0000000..2113692 --- /dev/null +++ b/plugins/Languages/es/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to spanish]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier-es.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to spanish. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>es</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Español]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Spanish]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[es]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[es_ES]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/es/translation.ts b/plugins/Languages/es/translation.ts new file mode 100644 index 0000000..c901398 --- /dev/null +++ b/plugins/Languages/es/translation.ts @@ -0,0 +1,1266 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="es"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>Advertencia</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation>Ultracopier ya se está ejecutando, haga clic derecho sobre el icono de la bandeja del sistema (cerca del reloj) para poder utilizarlas</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation>Problema al leer el archivo, o el tamaño del archivo es 0</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation>Los argumentos posibles son:</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation>Para mostrar las opciones</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>Para copiar las fuentes a destino, separados por un espacio. Si el destino es "?", Ultracopier le preguntará al usuario</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>Para mover las fuentes de destino, separados por un espacio. Si el destino es "?", Ultracopier le preguntará al usuario</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation>Comando no válido</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation>Este archivo no es compatible con lista de transferencias</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation>No se puede abrir el archivo de lista de transferencias</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation>Para mostrar esta ayuda</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation>Para salir de los otros casos (si está activo)</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation>Abrir lista de transferencias</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation>Ayuda</translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>Advertencia</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation>No se puede encontrar un motor compatible!</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation>No se puede encontrar un motor con este nombre: %1</translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation>Error durante la recepción de la lista de copia / movimiento +%1</translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation>No se puede obtener una instancia de motor de copia</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation>No se puede obtener una instancia del motor</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation>El argumento para el modo no es válida</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation>¿Quieres copiar? Si no, se puede mover.</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation>No se puede cargar la interfaz, copia abortados</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation>No se puede cargar el motor de copia, copia abortados</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation>Modo de transferencia</translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation>Motor de copia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation>Copia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation>Movimiento</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation>Pausa</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation>Resumen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation>Salto</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation>Ilimitado</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation>s</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation>Demasiado grande</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation>B</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation>MB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation>GB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation>TB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation>PB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation>EB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation>ZB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation>YB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation>Menos de %10 segundos</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation>Alrededor de %10 segundos restantes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation>Alrededor de %1 minutos restantes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation>Alrededor de %1 las horas restantes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation>Transferencia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation>Iniciar</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation>Origen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation>Tamaño</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation>Destino</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation>Abandonar</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation>Objetivo</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation>Tiempo restante:</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation>Listado</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation>Copia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation>Listado y copia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation>Pedir</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation>Sobrescribir</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation>Sobrescribir si nuevo</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation>Sobrescribir si las fechas de modificación últimos son diferentes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation>Cambiar el nombre</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation>Ponga al final de la lista</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation>Terminado en %1</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation>Seleccione el directorio de origen</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation>Seleccione el directorio de destino</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation>Error interno</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation>Seleccione uno o varios archivos para abrirlos</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation>Todos los archivos</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation>Guardar lista de transferencias</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation>Abrir lista de transferencias</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation>Lista de transferencia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation>No es compatible con esta plataforma</translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation>Acerca Ultracopier</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation>Basado en Qt. Utilidad avanzada para copiar los archivos bajo licencia GPL3. +Esta versión está compilada en versión:%1.</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation>Plataforma: %1</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation>Acerca de Qt</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation>Hacer a crash</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation>Guardar informe de error</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>Cerrar</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation>Para http://portableapps.com/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation>Portable y todo en una versión</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation>Version portable</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation>Todo en una sola versión</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation>Version normal</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation>http://ultracopier-es.first-world.info/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation>http://ultracopier-es.first-world.info/descarga.html</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation><html><head/><body><p>Para obtener más información, consulte el sitio web <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>Advertencia</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation>Tiempo de espera, mientras que la recomposición de datos de los clientes conectados</translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation>Entrar archivo ya está abierto, error: %1</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation>No se puede abrir el archivo de registro, error: %1</translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation>Advertencia</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation>No mostrar de nuevo</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation>Ok</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation>La sustitución de la copia default / sistema de movimiento no está soportado por el gestor de archivos (Dolphin, Nautilus, ...). <br /> Pregunte al desarrollador para apoyarlo. <br /> Es necesario hacer el copiar / mover manualmente.</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation>Reinicie el sistema si previamente se había instalado software similar (como TeraCopy, SuperCopier o una versión anterior de Ultracopier).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation>La sustitución de la copia default / sistema de movimiento no se admite y bloquea buscador de Mac OS X. <br /> Es necesario hacer el copiar / mover manualmente haciendo clic derecho sobre el icono de la bandeja del sistema, cerca del reloj (no el icono del Dock).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation>La sustitución de incumplimiento de copiar / mover sistema no debe ser soportado por el gestor de archivos. <br /> Pregunte al desarrollador para apoyarlo. <br /> Usted necesita hacer el copiar / mover manualmente.</translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation>Opciones</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>General</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation>Plugins</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation>Motor de copia</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>Themas</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation>Log</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation>Confirmar al grupo de las ventanas</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation>Buscar actualizaciones</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>Nombre</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>Version</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>Lenguaje</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation>Oyente</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation>Plugin cargador</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation>Sesión cargador</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation>Forzar el idioma</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation>Sustituto del sistema de copia</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation>Carga en la carga de la sesión</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation>Cuando apertura manual</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation>Grupo de las ventanas cuando</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation>Muestra la advertencia OS</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation>Dar tiempo GPU para financiar el desarrollo</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation>Plugin</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation>Añadir</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation>Eliminar</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation>Información</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation>Copia del motor por orden de preferencia:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation>Cliente conectado</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation>Temas:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation>No se puede cargar el plugin temas</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation>No hay ninguna opción para este plugin</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation>Navegar</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation>Escriba las transferencias</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation>Escriba la carpeta de las operaciones</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation>Las variables son %time%, %source%, %size%, %destination%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation>Escribir los errores</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation>Las variables son %time%, %path%, %size%, %mtime%, %error%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation>Escribir el archivo de registro en:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation>Escriba directamente el archivo cuando se recibe una nueva entrada (se puede producir un 50% de pérdida de rendimiento)</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation>Cargar</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation>Cargue el tema?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation>Cargue el idioma?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation>No hacer nada</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation>Pregunte a la fuente que la carpeta</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation>Pregunte a las fuentes como archivos</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation>Nunca</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation>Cuando la fuente es la misma</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation>Cuando destino es el mismo</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation>Cuando la fuente y el destino son los mismos</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation>Cuando la fuente o el destino son los mismos</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation>Siempre</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation>Las variables son %1</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation>Guardar registros como: </translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation>Registro de sincronizada</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation>Las variables son %path%, %operation%</translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation>La variable no se ha encontrado: %1 %2</translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation>Acerca de este plugin</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>Nombre:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>Categoría:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>Autor:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>Fecha:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>Descripción:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>Versión:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation>Motor de copia</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>Idiomas</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation>Oyente</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation>Plugin cargador</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation>Sesión cargador</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>Themas</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation>Información sobre %1</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>Sitio Web:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>Título:</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation>informations.xml no es accesible</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation>Parte las dependencias se equivoca</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation>Dependencias %1 no está satisfecho, para el plugin:%2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation>Eliminar %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation>Información</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation>%1, error de análisis en la línea %2, la columna %3: %4</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation>informations.xml no se encuentra el plug-in</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation>"package" etiqueta raíz que no se encuentra el archivo xml</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation>Plugin de duplicados encontrados, ya está cargado!</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation>Texto Inglés falta en el informations.xml para la etiqueta: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation>Etiqueta no encontrada: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation>¿Estás seguro de eliminar "%1" en la versión %2?</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation>Previo de importación está en curso ...</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation>Abrir Plugin Ultracopier</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation>Ultracopier plugin (*.urc)</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation>Plugin cargador</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation>No se puede abrir el plugin: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation>No se puede cargar el contenido del plugin, por favor verifique que: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation>No se puede crear una carpeta para instalar el plugin: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation>No se puede crear un archivo para instalar el plugin: +%1 +desde: %2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation>Carpeta con el mismo nombre está presente, no tome la instalación del plugin: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation> + +SpanishFrenchEnglish + +No se puede cargar el contenido del plugin, por favor verifique que</translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation>La asignación de memoria no</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation>Error de escritura</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation>Limitar el uso de la memoria alcanza</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation>No es un. Xz archivo</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation>Opciones no admitidas en los encabezados. Xz</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation>El archivo está dañado</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation>Bug!</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation>Los datos de entrada es demasiado corto</translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished">Información</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished">Buscar información...</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished">No sustituya la copia explorer/move</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished">Semi reemplazar la copia explorer/mudanza</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished">Vuelva a colocar la copia explorer/mudanza</translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/fr/flag.png b/plugins/Languages/fr/flag.png Binary files differnew file mode 100644 index 0000000..95c8921 --- /dev/null +++ b/plugins/Languages/fr/flag.png diff --git a/plugins/Languages/fr/informations.xml b/plugins/Languages/fr/informations.xml new file mode 100644 index 0000000..437ea90 --- /dev/null +++ b/plugins/Languages/fr/informations.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to French]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Traduction d'ultracopier en Français]]></title> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info), David Sferruzza (david.sferruzza@gmail.com)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to French. For more details see the web site.]]></description> + <description xml:lang="fr"><![CDATA[Traduction d'ultracopier en Français. Pour plus de détails regardez le site web]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>fr</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Français]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[French]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[fr]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[fr_FR]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/fr/translation.ts b/plugins/Languages/fr/translation.ts new file mode 100644 index 0000000..77868c0 --- /dev/null +++ b/plugins/Languages/fr/translation.ts @@ -0,0 +1,1265 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="fr" sourcelanguage="en"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>Avertissement</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation>Ultracopier est déjà lancé! Cliquez droit sur l'icône de la zone de notifications (près de l'horloge) pour l'utiliser</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation>Problème à la lecture, ou taille de fichier nulle</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation>Les arguments possible sont:</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation>Afficher les options</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>Pour copier les sources vers la destination, séparées par des espaces. Si la destination est "?", Ultracopier demandera à l'utilisateur</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>Pour copier les sources vers la destination, séparées par des espaces. Si la destination est "?", Ultracopier demandera à l'utilisateur</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation>Ligne de commande invalide</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation>Ce fichier n'est pas une list de transfert supporté</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation>Impossible d'ouvrir le fichier de liste de transfert</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation>Pour afficher cette aide</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation>Pour quiter l'autre instance en cour</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation>Ouvrir la liste de transfert</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation>Aide</translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>Avertissement</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation>Impossible de trouver un moteur avec le support du déplacement</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation>Ce moteur de copie ne supporte pas les déplacements</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation>Impossible de trouver un moteur de copie compatible!</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation>Impossible de trouver un moteur portant ce nom: %1</translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation>Erreur pendant la réception de la liste de copy/déplacement +%1</translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation>Impossible d'obtenir une instance du moteur de copie</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation>Grouper des fenêtres</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation>Voulez vous grouper le transfert avec le transfert actuel?</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation>Impossible d'otenir une instance du moteur de copie</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation>L'argument pour le mode n'est pas valide</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation>Voulez vous faire une copie? Si vous repondez non alors il sera déplacé.</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation>Impossible de charger l'interface, copie annulée</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation>Impossible de charger le moteur de copie, copie annulée</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation>Mode de transfert</translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation>Clef</translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation>Donnez la clef de ce logiciel, plus d'information sur <a href="http://ultracopier-fr.first-world.info/">ultracopier-fr.first-world.info</a></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation>Moteur de copie</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation>Copie</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation>Déplacer</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation>Pause</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation>Reprendre</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation>Passer</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation>Illimité</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation>s</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation>Trop grand</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation>o</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation>Ko</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation>Mo</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation>Go</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation>To</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation>Po</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation>Eo</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation>Zo</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation>Yo</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation>Moins de %10 secondes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation>Environ %10 secondes restantes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation>Environ %1 minutes restantes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation>Environ %1 heures restantes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation>Transfert</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation>Démarrer</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation>Source</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation>Taille</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation>Destination</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation>Quitter</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation>Cible</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation>Temps restant:</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translatorcomment>Création de la liste? Listage?</translatorcomment> + <translation>Listing</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translatorcomment>Copie en cour -> copying in progress</translatorcomment> + <translation>Copie</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation>Listing et copie</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation>Demander</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation>Écraser</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation>Écraser si plus récent</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation>Écraser si les dates de modification sont différentes</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation>Renommer</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation>Mettre à la fin</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation>Fini en %1</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation>Sélectionner un dossier source</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation>Sélectionner un dossier de destination</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation>Erreur interne</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation>Sélectionner un ou des fichiers à ouvrir</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation>Tous les fichiers</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation>Sauvegarder la liste de transfert</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation>Ouvrir la liste de transfert</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation>Liste de transfert</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation>Pas supporté sur cette platforme</translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation>À propos d'Ultracopier</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation>Basé sur Qt. Utilitaire avancé de copie de fichiers sous licence GPL3. +Cette version est compilée comme version : %1.</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation>Plateforme: %1</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation>À propos de Qt</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation>Faire un crash</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation>Sauver le rapport</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>Fermer</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation>Pour http://portableapps.com/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation>Portable et tout en un</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation>Version portable</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation>Tout en un</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation>Version normale</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation>http://ultracopier-fr.first-world.info/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation>http://ultracopier-fr.first-world.info/shop.html</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation>http://ultracopier-fr.first-world.info/telecharger.html</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation><html><head/><body><p>Pour plus d'informations voir le site <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>Avertissement</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation>Timeout pendant la recompossition des données des clients connectés</translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation>Fichier de log déjà ouvert, erreur: %1</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation>Impossible d'ouvrir le fichier de log, erreur: %1</translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation>Avertissement</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation>Ne plus afficher</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation>Ok</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation>Le remplacement du systéme de copie/déplacement n'est pas supporté par le gestionnaire de fichier (Dolphin, Nautilus, ...).<br />Demander aux developpeurs de le supporter.<br />Vous devez faire la copie/déplacement manuellement.</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation>Redémarrer le système si précédemment vous avez installé un logiciel similaire (comme Teracopy, Supercopier ou une version précédente d'Ultracopier).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation>Le remplacement du systéme de copie/déplacement n'est pas supporté et bloqué par le finder de Mac OS X.<br />Vous devez faire la copie/déplacement manuellement en cliquant sur l'icone du systray à coté de l'heure (pas l'icone du dock).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation>Le remplacement du systéme de copie/déplacement n'est pas supporté par le gestionnaire de fichier.<br />Demander aux developpeurs de le supporter.<br />Vous devez faire la copie/déplacement manuellement.</translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation>Options</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>Général</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation>Plugins</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation>Moteurs de copie</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>Thèmes</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation>Logs</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation>Confirmer pour grouper les fenêtres</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation>Vérifier les mise à jour</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>Nom</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>Version</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>Langue</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation>Écouteur</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation>Chargeur de plugin</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation>Chargeur de session</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation>Forcer la langue</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation>Remplacer le système de copie/déplacement par défaut</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation>Lancer à l'ouverture de la session</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation>Quand ouverture manuel</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation>Grouper les fenêtres quand</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation>Afficher les avertissements de l'OS</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation>Donnez du temps GPU pour financer le développement</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation>Algorithme de temps restant</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation>Traditionnel</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation>Logarithmique</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation>Plugin</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation>Ajouter</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation>Supprimer</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation>Informations</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation>Moteurs de copie par ordre de préférence:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation>Client connecté</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation>Thèmes:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation>Impossible de charger le plugin des thèmes</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation>Pas d'options pour ce plugin</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation>Parcourir</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation>Écrire les transferts</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation>Écrire les opérations dossier</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation>Les variables sont %time%, %source%, %size%, %destination%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation>Écrire les erreurs</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation>Les variables sont %time%, %path%, %size%, %mtime%, %error%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation>Écrire le fichier journal dans:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation>Écrire directement le fichier quand il reçoit une nouvelle entrée (peut entrainer 50% de perte de performances)</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation>Charger</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation>Charger le thème?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation>Charger la langue?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation>Ne rien faire</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation>Demander la source comme un dossier</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation>Demander la sources comme des fichiers</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation>Jamais</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation>Quand la source est la même</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation>Quand la destination est la même</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation>Quand la destination et la source sont les mêmes</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation>Quand la destination ou la source sont les mêmes</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation>Toujours</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation>Les variables sont %1</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation>Sauvegarder les logs sous: </translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation>Log synchronisé</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation>Les variables sont %path%, %operation%</translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation>La variable n'a pas été trouvée: %1 %2</translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation>À propos de ce plugin</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>Nom:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>Catégorie:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>Auteur:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>Date:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>Description:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>Version:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation>Moteur de copie</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>Langues</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation>Écouteur</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation>Chargeur de plugin</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation>Chargeur de session</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>Thèmes</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation>Inconnu</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation>Informations à propos de %1</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>Site web:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>Titre:</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation>informations.xml n'est pas accessible</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation>Le fichier informations.xml n'a pas été trouvé dans le plugin</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation>Texte anglais manquant dans le informations.xml pour la balise: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation>Les dépendances sont fausses</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation>Des dépendances %1 ne sont pas satisfaites, pour le plugin: %2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation>Chargeur de plugin</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation>Supprimer %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation>Informations</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation>%1, erreur à la ligne %2, à l'emplacement %3: %4</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation>La balise racine "package" n'a pas été trouvée pour le fichier xml</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translatorcomment>Le plugins courrant est un doublont, donc déjà chargé!</translatorcomment> + <translation>Plugin dupliqué trouvé, déjà chargé!</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation>Balise non trouvée: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation>Êtes vous sûr de vouloir supprimer "%1" en version %2?</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation>Importation précédente en cours...</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation>Ouvrir un plugin d'Ultracopier</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation>Plugin d'Ultracopier (*.urc)</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation>Impossible d'ouvrir le plugin: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation>Impossible de charger le contenu du plugin, veuillez le vérifier: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation>Impossible de créer un dossier pour installer le plugin: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation>Impossible de créer un fichier pour installer le plugin: +%1 +depuis:%2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation>Le répertoire est déjà présent, on saute l'installation du plugin: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation>Impossible de charger le contenu du plugin, veuillez le vérifier</translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation>Allocation mémoire échouée</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation>Erreur d'écriture</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation>Limite de mémoire atteinte</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation>N'est pas un fichier .xz</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation>Options non supportées dans les entêtes des fichiers .xz</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation>Le fichier est corrompu</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation>Bug!</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation>Données d'entrée trop courtes</translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation>Pas d'écouteur trouvé. Effectuez la copie manuellement par clic droit sur l'icône dans la zone de notification (près de l'horloge).</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation>Recherche d'informations...</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation>Ne remplace pas la copie/déplacement de l'explorateur</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation>Remplace partiellement la copie/déplacement de l'explorateur</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation>Remplace la copie/déplacement de l'explorateur</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation>Informations</translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/hi/flag.png b/plugins/Languages/hi/flag.png Binary files differnew file mode 100644 index 0000000..3ac74be --- /dev/null +++ b/plugins/Languages/hi/flag.png diff --git a/plugins/Languages/hi/informations.xml b/plugins/Languages/hi/informations.xml new file mode 100644 index 0000000..4c0bc95 --- /dev/null +++ b/plugins/Languages/hi/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to hindi]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier-es.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to hindi. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>hi</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[हिंदी]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Hindi]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[hi]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[hi_HI]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/hi/translation.ts b/plugins/Languages/hi/translation.ts new file mode 100644 index 0000000..8b70d26 --- /dev/null +++ b/plugins/Languages/hi/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="hi"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/hu/flag.png b/plugins/Languages/hu/flag.png Binary files differnew file mode 100644 index 0000000..5115e8a --- /dev/null +++ b/plugins/Languages/hu/flag.png diff --git a/plugins/Languages/hu/informations.xml b/plugins/Languages/hu/informations.xml new file mode 100644 index 0000000..77ddd43 --- /dev/null +++ b/plugins/Languages/hu/informations.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Hungarian translation of Ultracopier]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Hungarian translation of Ultracopier]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>hu</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Magyar]]></fullName> + <!-- No short name, for do translation not found and leave un-translated --> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[hu]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/hu/translation.ts b/plugins/Languages/hu/translation.ts new file mode 100644 index 0000000..fb5e79a --- /dev/null +++ b/plugins/Languages/hu/translation.ts @@ -0,0 +1,1263 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="hu"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>Figyelmeztetés</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation>Az Ultracopier már fut, kattints a jobb egérombbal a tálcaikonjára (az óra mellett) a használatához</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation>Probléma a fájl olvasásánál vagy a fájlméret 0</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation>A lehetséges argumentumok:</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation>A beállítások megjelenítéséhez</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation>Kilépés a többi példányból (ha fut)</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>A forrás másolása a célba, szóközzel elválasztva. Ha a cél "?", az Ultracopier rákérdez a felhasználónál</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>A forrás mozgatása a célba, szóközzel elválasztva. Ha a cél "?", az Ultracopier rákérdez a felhasználónál</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation>A parancs nem érvényes</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation>Ez a fájl nem támogatott átviteli lista</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation>Az átviteli listafájl megnyitása nem lehetséges</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation>Ennek a súgónak a megjelenítéséhez</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation>Átviteli lista megnyitása</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation>Súgó</translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>Figyelmzetetés</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation>Nem található semmilyen kompatibilis motor!</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation>Nem található motor ezzel a névvel: %1</translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation>Hiba a másolási/mozgatási lista fogadásakor +%1</translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation>Nem lehetséges másoló motor példány észlelése</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation>Motor állapot lekérése nem lehetséges</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation>A mód argumentuma nem érvényes</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation>Szeretnél másolni? Ha nem, akkor átmozgatva lesz.</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation>Kezelőfelület betöltése nem lehetséges, másolás megszakítva</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation>Másoló motor betöltése nem lehetséges, másolás megszakítva</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation>Átviteli mód</translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation>mp</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation>Túl nagy</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation>B</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation>MB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation>GB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation>TB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation>PB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation>EB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation>ZB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation>YB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation>Kevesebb mint %10 másodperc</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation>Körülbelül %10 másodperc van hátra</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation>Körülbelül %1 perc van hátra</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation>Körülbelül %1 óra van hátra</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation>Másoló motor</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation>Másolás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation>Átvitel</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation>Mozgatás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation>Indítás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation>Szünet</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation>Folytatás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation>Kihagyás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation>Korlátlan</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation>Forrás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation>Méret</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation>Cél</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation>Kilépés</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation>Cél</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation>Hátralévő idő:</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation>Listázás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation>Másolás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation>Listázás és másolás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation>Rákérdez</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation>Felülírás</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation>Felülírás, ha újabb</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation>Felülír, ha az legutóbbi módosítás dátumai különböznek</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation>Átnevezés</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation>Helyezze a lista végére</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation>Válassz forrásmappát</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation>Válassz célmappát</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation>Belső hiba</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation>Válassz egy vagy több fájlt megnyitásra</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation>Minden fájl</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation>Átviteli lista mentése</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation>Átviteli lista megnyitása</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation>Átviteli lista</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation>Ezen a platformon nem támogatott</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation>Befejezve %1 alatt</translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation>Az Ultracopier névjegye</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation>Qt-n alapul. Fejlett eszöz fájlok másolásához GPL3 licensz alatt. +Ez a verzió a következő verzióként került lefordításra: %1.</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation><html><head/><body><p>További információkért lásd a honlapot <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation>Platform: %1</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation>A Qt névjegye</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation>Összeomlás</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation>Hibajelentés mentése</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>Bezárás</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation>http://portableapps.com/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation>Hordozható és teljes verzió</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation>Hordozható verzió</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation>Teljes verzió</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation>Normál verzió</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation>http://ultracopier.first-world.info/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>Figyelmeztetés</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation>Időtúllépés történt az adatok összeilesztése közben a kapcsolódott kliensektől</translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation>Naplófájl már meg van nyitva, hiba: %1</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation>Naplófájl megnyitása nem lehetséges, hiba: %1</translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation>Figyelmeztetés</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation>Ne mutassa újra</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation>Rendben</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translatorcomment>Az alapértelmezett másolás/mozgatás rendszer lecserélését nem támogatja a fájlkezelő (Dolphin, Nautilus, ...).<br />Kérd meg a fejlesztőt, hogy támogassa.<br />A másolás/mozgatást manuálisan kell elvégezned.</translatorcomment> + <translation></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation>Indítsd újra a gépet, ha korábban már volt hasonló alkalmazás telepítve (például Teracopy, Supercopier vagy az Ultracopier korábbi verziója).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation>Az alapértelmezett másoló/mozgató rendszer lecserélését nem támogatott és blokkolja a Mac OS X fejlesztője.<br />A másolást/mozgatást manuálisan kell elvégezned a tálcaikonra kattintva jobb egérgombbal, az óra mellett.</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation>Az alapértelmezett másoló/mozgató rendszer lecserélését nem szabad támogatnia a fájlkezelőnek.<br />Kérd meg a fejlesztőt, hogy támogassa.<br />A másolás/mozgatást manuálisan kell elvégezned.</translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation>Beállítások</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>Általános</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation>Beépülők</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation>Másoló motor</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation>Figyelő</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation>Beépüő betöltő</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation>Folyamat betöltő</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>Témák</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation>Napló</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation>Ablakok csoportosításának megerősítése</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation>Frissítések keresése</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation>GPU idő kiosztása a fejlesztés támogatásához</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation>Írás közvetlenül a fájlba, ha új bejegyzést kap (akár 50%-kos teljesítménycsökkenést is okozhat)</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>Név</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation>Nyelv kényszerítése</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation>Alapértelmezett másolás és mozgatás lecserélése</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation>Betöltés a Windows bejelentkezésekor</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation>Kézi megnyitás esetén</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation>Ablakok csoportosítása, ha</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation>Rendszer figyelmeztetés megjelenítése</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>Verzió</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>Nyelv</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation>Beépülő</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation>Hozzáadás</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation>Eltávolítás</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation>Információ</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation>Másoló motor tulajdonság szerint:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation>Kliens kapcsolódva</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation>Témák:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation>A témák beépülő betöltése nem lehetséges</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation>Nincs beállítás ehhez a beépülőhöz</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation>Napló írása ide:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation>Tallózás</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation>Szinkronizált napló</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation>Átvitelek írása</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation>Hibák írása</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation>Mappa műveletek írása</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation>A változók: %time%, %source%, %size%, %destination%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation>A változók: %time%, %path%, %size%, %mtime%, %error%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation>A változók: %path%, %operation%</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation>Betöltés</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation>Téma betöltése?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation>Nyelv betöltése?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation>Ne tegyen semmit</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation>Rákérdezés a forrás mint mappa</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation>Rákérdezés a forrásokra mint fájlok</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation>Soha</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation>Amikor a forrás ugyanaz</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation>Amikor a cél ugyanaz</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation>Amikor a forrás és a cél ugyanaz</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation>Amikor a forrás vagy cél ugyanaz</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation>Mindig</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation>A változók: %1</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation>Napló mentése mint:</translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation>A változó nem található: %1 %2</translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation>A beépülő névjegye</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>Név:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>Kategória:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>Fejlesztő:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>Honlap:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>Dátum:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>Leírás:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>Verzió:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>Cím:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation>Másoló motor</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>Nyelvek</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation>Figyelő</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation>Beépülő betöltő</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation>Folyamat betöltő</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>Témák</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation>%1 információi</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation>informations.xml nem férhető hozzá</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation>%1, elemzési hiba a(z) %2. sorban, %3. oszlopban: %4</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation>"package" gyökércímke nem található az xml fájlban</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation>Duplikált beépülő található, már be van töltve!</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation>informations.xml nem található a beépülőhöz</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation>Angol szöveg hiányzik az informations.xml-ből a címkéhez: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation>Címke nem található: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation>A függőségek rész hibás</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation>A(z) %1 függőségek nem megfelelőek a következő beépülőhöz: %2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation>%1 eltávolítása</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation>Biztosan el akarod távolítani "%1"-t a(z) %2 verzióban?</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation>Információ</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation>Előző importálás folyamatban van...</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation>Ultracopier beépülő megnyitása</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation>Ultracopier beépülő (*.urc)</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation>Beépülő betöltő</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation>Beéülő megnyitása nem lehetséges: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation>Beépülő tartalmának betöltése nem lehetséges, kérlek ellenőrizd: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation>Mappa létrehozása a beépülő telepítéséhez nem lehetséges: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation>Fájl létrehozása a beépülő telepítéséhez nem lehetséges: +%1 +óta:%2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation>Mappa már létezik ilyen néven, beépülő telepítésének kihagyása: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation>Beépülő tartalmának betöltése nem lehetséges, kérlek ellenőrizd</translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation>Memória allokáció sikertelen</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation>Írási hiba</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation>Memóriahasználat határ elérve</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation>Nem .xz fájl</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation>Nem támogatott beállítások az .xz fejlécben</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation>A fájl hibás</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation>Hiba!</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation>A bemenő adat túl rövid</translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished">Nem található másoló figyelő. Végezd el manuálisan a másolást a jobb egérgombbal a tálcaikonra kattintva.</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished">Információ</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished">Információ keresése...</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished">Ne cserélje le az Intéző másolását/mozgatását</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished">Az Intéző másolás/mozgatás félig lecserélése</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished">Az Intéző másolás/mozgatás lecserélése</translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/id/flag.png b/plugins/Languages/id/flag.png Binary files differnew file mode 100644 index 0000000..e3c0f12 --- /dev/null +++ b/plugins/Languages/id/flag.png diff --git a/plugins/Languages/id/informations.xml b/plugins/Languages/id/informations.xml new file mode 100644 index 0000000..817490b --- /dev/null +++ b/plugins/Languages/id/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to indonesian]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier-id.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to indonesian. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>id</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Bahasa Indonesia]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Indonesian]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[id]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[id_ID]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/id/translation.ts b/plugins/Languages/id/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/id/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/it/flag.png b/plugins/Languages/it/flag.png Binary files differnew file mode 100644 index 0000000..cc9f71f --- /dev/null +++ b/plugins/Languages/it/flag.png diff --git a/plugins/Languages/it/informations.xml b/plugins/Languages/it/informations.xml new file mode 100644 index 0000000..bd6609d --- /dev/null +++ b/plugins/Languages/it/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to italian]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to italian. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>it</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Italian]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Italiano]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[it]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[it_IT]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/it/translation.ts b/plugins/Languages/it/translation.ts new file mode 100644 index 0000000..28f5b6b --- /dev/null +++ b/plugins/Languages/it/translation.ts @@ -0,0 +1,1270 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="it" sourcelanguage="en"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>Avviso</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation>Il programma è gia in esecuzione, fare clic con il tasto destro del mouse sulla sua icona della barra di sistema (vicino l'orologio) per usarlo</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation>Problema di lettura o dimensione nulla del file</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation>Gli argomenti possibili sono:</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation>Mostra le opzioni</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>Copiare i file di origine alla destinazione separati da uno spazio. Se la destinazione è "?", Ultracopier chiederà all'utente</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>Spostare i file di origine alla destinazione separati da uno spazio. Se la destinazione è "?", Ultracopier chiederà all'utente</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation>Comando non valido</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation>Questo file non è supportato dalla lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation>Impossibile aprire il file della lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation>Mostra questo aiuto</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation>Chiudere le altre istanze (se in esecuzione)</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation>Apri la lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation>Aiuto</translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>Avviso</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation>Impossibile trovare un motore per la copia compatibile!</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation>Impossibile trovare un motore per la copia con questo nome: %1</translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation>Errore durante la ricezione della lista di copia/spostamento +%1</translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation>Impossibile ottenere un'istanza dal motore per la copia</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation>Raggruppa finestre</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation>Vuoi un altro gruppo di trasferimento con un altro trasferimento attualmente avviato?</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation>Impossibile ottenere un'istanza dal motore per la copia</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation>L'argomento per la modalità non è valido</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation>Vuoi copiarlo? se no, verrà spostato.</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation>Impossibile avviare l'interfaccia, copia interrotta</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation>Impossibile avviare il motore per la copia, copia interrotta</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation>Modalità di trasferimento</translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation>Motore per la copia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation>Copia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation>Sposta</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation>Pausa</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation>Riprendi</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation>Salta</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation>Illimitato</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation>s</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation>Troppo grande</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation>B</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation>MB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation>GB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation>TB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation>PB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation>EB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation>ZB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation>YB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation>Meno di %10 secondi</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation>Circa %10 secondi rimanenti</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation>Circa %1 minuti rimanenti</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation>Circa %1 ore rimanenti</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation>Trasferisci</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translatorcomment>Uno spostamento</translatorcomment> + <translation>Avvia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation>Cartella di origine</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation>Dimensione</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation>Cartella di destinazione</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation>Esci</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation>Obiettivo</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation>Tempo residuo:</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation>Elenco</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation>Copiatura</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation>Elenca e copia</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation>Chiedi</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation>Sovrascrivi</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation>Sovrascrivi se più recente</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation>Sovrascrivi se sono diverse le date dell'ultima modifica</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation>Rinomina</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation>Metti in coda alla lista</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation>Completato in %1</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation>Selezionare la cartella di origine</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation>Selezionare la cartella di destinazione</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation>Errore interno</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation>Selezionare uno o più file da aprire</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation>Tutti i file</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation>Salvare la lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation>Aprire lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation>Lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation>Non supportato su questa piattaforma</translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation>Informazioni su Ultracopier</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translatorcomment>%1 sarà rimpiazzata da una variabile content (normale, debug, ...)</translatorcomment> + <translation>Utility avanzata sotto licenza GPL3 per la copia dei file basata su Qt. +Compilata come versione: %1.</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translatorcomment>%1 sarà rimpiazzata dalla piattaforma (Windows, Mac, Linux, ...)</translatorcomment> + <translation>Piattaforma: %1</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation>Informazioni su Qt</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation>Si è verificato un crash</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation>Salva il bug</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>Chiudi</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation>Su http://portableapps.com/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation>Versione portatile e pluricomprensiva</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation>Versione portatile</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation>Versione pluricomprensiva</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation>Versione normale</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translatorcomment>Questo dovrebbe essere il sito ufficiale di Ultracopier in italiano</translatorcomment> + <translation>http://ultracopier-it.first-world.info/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation>http://ultracopier.first-world.info/download.html</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translatorcomment>%1 sarà rimpiazzato dal sito italiano</translatorcomment> + <translation><html><head/><body><p>Per ulteriori informazioni consultare il sito <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>Avviso</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation>Tempo scaduto durante la ricomposizione dei dati dai client collegati</translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation>File log già aperto, errore: %1</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation>Impossibile aprire il file di log, errore: %1</translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation>Avviso</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation>Non visualizzare più questo messaggio</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation>Ok</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation>Il ripristino del sistema predefinito di copia/spostamento non è supportato dal file manager (Dolphin, Nautilus, ...).<br />Chiedere supporto allo sviluppatore.<br />Bisogna fare la copia/spostamento manuale.</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation>Riavviare il sistema, se in precedenza avevi installato un software simile a questo (come Teracopy, Supercopier o una versione precedente di Ultracopier).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation>Il ripristino del sistema predefinito di copia/spostamento non è supportato, quindi viene bloccato dal finder of Mac OS X.<br />Chiedere supporto allo sviluppatore.<br />Sarà possibile la copia/spostamento manuale cliccando col tasto destro del mouse sull'icona della barra di sistema vicina all'orologio (non l'icona dock).</translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation>Il ripristino del sistema predefinito di copia/spostamento potrebbe non essere supportato dal file manager.<br />Chiedere supporto allo sviluppatore.<br />Bisogna fare la copia/spostamento manuale.</translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation>Opzioni</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>Generale</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation>I plug-in</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation>Motore per la copia</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>Temi</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation>Log</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation>Controlla aggiornamenti automaticamente</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>Nome</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>Versione</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>Lingua</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation>Rilevatore</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation>Caricatore di plug-in</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation>Caricatore di sessione</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation>Utilizza la lingua</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation>Ripristina il sistema di copia e spostamento predefinito</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation>Carica il programma all'avvio di sistema</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation>Se avviato manualmente</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation>Quando raggruppare le finestre</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation>Conferma il raggruppamento delle finestre</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation>Mostra l'avviso del Sistema Operativo</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation>Dai tempo alla GPU per sostenere lo sviluppo</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation>Plug-in</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation>Aggiungi</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation>Elimina</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation>Informazioni</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation>Motore per la copia in ordine di preferenza:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation>Client connessi</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation>Temi:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation>Impossibile caricare il plug-in dei temi</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation>Non ci sono opzioni per questo plug-in</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation>Sfoglia</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation>Scrivere i trasferimenti</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation>Scrivere le operazioni di cartella</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translatorcomment>%time%, %source%, %size%, %destination% non dovranno essere tradotti</translatorcomment> + <translation>Le variabili sono %time%, %source%, %size%, %destination%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation>Scrivere gli errori</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translatorcomment>%time%, %path%, %size%, %mtime%, %error% non dovranno essere tradotti</translatorcomment> + <translation>Le variabili sono %time%, %path%, %size%, %mtime%, %error%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation>Scrivere il file di log in:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation>Scrivere direttamente il file quando si riceve una nuova voce (può causare il 50% di perdita di prestazioni)</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation>Carica</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation>Caricare i temi?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation>Caricare questa lingua?</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation>Non fare nulla</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation>Chiedere la cartella di origine</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation>Chiedere i file di origine</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation>Mai</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation>Quando la cartella di origine è uguale</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation>Quando la cartella di destinazione è uguale</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation>Quando sia le cartelle di origine che di destinazione sono uguali</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation>Quando le cartelle di origine o di destinazione coincidono</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation>Sempre</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation>Le variabili sono %1</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation>Salvare i log come: </translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation>Log sincronizzato</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translatorcomment>%path% e %operation%, non dovranno essere tradotti</translatorcomment> + <translation>Le variabili sono %path%, %operation%</translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation>Variabile non trovata: %1 %2</translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation>Informazioni su questo plug-in</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>Nome:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>Categoria:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>Autore:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>Data:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>Descrizione:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>Versione:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation>Motore per la copia</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>Lingue</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation>Rilevatore</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation>Caricatore di plug-in</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation>Caricatore di sessione</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>Temi</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation>Sconosciuto</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation>Informazioni su %1</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>Sito web:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>Titolo:</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation>informations.xml non è accessibile</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation>Alcune dipendenze non sono idonee</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation>Le dipendenze %1 per il plug-in: %2, non sono soddisfatte</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation>Elimina %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation>Informazioni</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation>%1, errore di analisi alla riga %2, colonna %3: %4</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation>informations.xml non trovato per il plug-in</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation>Tag root "package" non trovato nel file xml</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation>Trovato plug-in duplicato, già caricato!</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation>Testo in inglese mancante in informations.xml per il tag: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation>Tag non trovato: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation>Si desidera eliminare "%1" nella versione %2?</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation>Importazione precedente in corso ...</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation>Apri plug-in di Ultracopier</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation>Plug-in di Ultracopier (*.urc)</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation>Caricatore di plug-in</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation>Impossibile aprire il plug-in: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation>Impossibile caricare il contenuto del plug-in, si prega di controllare: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation>Impossibile creare una cartella per installare il plug-in: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation>Impossibile creare un file per installare il plug-in: +%1 +da: %2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation>E' presente una cartella con lo stesso nome, non sarà installato il plug-in: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation>Impossibile caricare il contenuto del plug-in, si prega di controllare</translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation>Allocazione di memoria fallita</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation>Errore di scrittura</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation>Limite di memoria raggiunto</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation>Non è un file .xz</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation>Opzioni non supportate nelle intestazioni .xz</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation>Il file è corrotto</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation>Bug!</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation>I dati inseriti sono troppo pochi</translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation>Nessuna copia del rilevatore trovata. Fare una copia manualmente cliccando col tasto destro del mouse sull'icona nella barra di sistema.</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation>Informazioni</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation>Ricerca informazioni...</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation>Non ripristinare la copia/spostamento di Windows explorer</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation>Ripristinare parzialmente la copia/spostamento di Windows explorer</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation>Ripristina la copia/spostamento di Windows explorer</translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/ja/flag.png b/plugins/Languages/ja/flag.png Binary files differnew file mode 100644 index 0000000..5ac331e --- /dev/null +++ b/plugins/Languages/ja/flag.png diff --git a/plugins/Languages/ja/informations.xml b/plugins/Languages/ja/informations.xml new file mode 100644 index 0000000..647c3aa --- /dev/null +++ b/plugins/Languages/ja/informations.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to japanese]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to japanese. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>jp</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[日本]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Japanese]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[ja]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[jp]]></shortName> + <shortName><![CDATA[jp_JP]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/ja/translation.ts b/plugins/Languages/ja/translation.ts new file mode 100644 index 0000000..ffb9111 --- /dev/null +++ b/plugins/Languages/ja/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/ko/flag.png b/plugins/Languages/ko/flag.png Binary files differnew file mode 100644 index 0000000..1dfaf96 --- /dev/null +++ b/plugins/Languages/ko/flag.png diff --git a/plugins/Languages/ko/informations.xml b/plugins/Languages/ko/informations.xml new file mode 100644 index 0000000..706afb3 --- /dev/null +++ b/plugins/Languages/ko/informations.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Korean language]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[Jaehyung Lee, webnest.net (kolanp@gmail.com)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[File to define all English language related, Ultracopier is written in English, then not translation file needed]]></description> + <description xml:lang="ko"><![CDATA[Ultracopier의 한국어 번역입니다. 더 나은 번역이나 오타, 오역에 대한 제보는 이메일로 연락해주시면 감사하겠습니다.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>ko</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Korean]]></fullName> + <!-- No short name, for do translation not found and leave un-translated --> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[ko]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/ko/translation.ts b/plugins/Languages/ko/translation.ts new file mode 100644 index 0000000..41d1700 --- /dev/null +++ b/plugins/Languages/ko/translation.ts @@ -0,0 +1,1260 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="ko_KR"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>알림</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation>Ultracopier가 이미 실행중입니다. 사용하려면 트레이 아이콘에서 우클릭하십시오</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>알림</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation>호환되는 엔진을 찾을 수 없습니다!</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished">오류</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>오류</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation>인터페이스를 불러올 수 없음, 복사가 취소되었습니다</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation>복사 엔진을 불러올 수 없음, 복사가 취소되었습니다</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation>복사 엔진</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation>복사</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation>이동</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation>일시 중지</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation>다시 시작</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation>건너뛰기</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation>무제한</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation>초</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation>너무 큽니다</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation>B</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation>KB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation>MB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation>GB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation>TB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation>PB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation>EB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation>ZB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation>YB</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished">오류</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation>플랫폼: %1</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation>Qt에 대해</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation>충돌 발생시</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation>버그 보고서 저장</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation>http://portableapps.com을 위해</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation>포터블 버전</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation>일반 버전</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation>http://ultracopier.first-world.info/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>알림</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation>연결된 클라이언트로부터 데이터를 재구성하는 동안에 시간이 초과되었습니다</translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>오류</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished">알림</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation>옵션</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>일반</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation>플러그인</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation>복사 엔진</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>테마</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation>로그</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>버전</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>언어</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation>리스너</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation>플러그인 로더</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation>섹션 로더</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation>플러그인</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation>제거</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation>정보</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation>복사 엔진 순서 환경 설정:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation>테마:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation>테마 플러그인을 불러올 수 없습니다</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation>이 플러그인에 대한 옵션이 없습니다</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation>찾아보기</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation>변수는 %time%, %source%, %size%, %destination% 입니다</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation>변수는 %time%, %path%, %size%, %mtime%, %error% 입니다</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation>로그 파일 작성:</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation>로그 따로 저장:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation>로그 동기화됨</translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation>플러그인 정보</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>이름:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>분류:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>저작자:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>날짜:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>설명:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>버전:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished">복사 엔진</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>언어</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation>리스너</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished">플러그인 로더</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished">섹션 로더</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>테마</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation>%1 파일 정보</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>웹사이트:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>제목:</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation>informations.xml 파일에 연결할 수 없습니다</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation>종속된 부분이 잘못되었습니다</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation>플러그인 %2에 대한 %1 종속성이 충족되지 않습니다</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation>%1 제거</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation>오류</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation>정보</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation>%1, %2 라인에서 문법 오류, %3 열: %4</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation>xml 파일을 위한 "패키지" 루트 태그를 찾을 수 없습니다</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation>중복된 플러그인 발견, 이미 호출되었습니다!</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation>태그를 찾을 수 없음: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation>%2 버전에서 %1을 제거하시겠습니까?</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation>이전의 가져오기가 진행중입니다...</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation>Ultracopier 플러그인 열기</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation>Ultracopier (*.urc)</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation>플러그인 로더</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation>플러그인 열기 불가: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation>플러그인 내용을 불러올 수 없습니다. 확인해주십시오: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation>플러그인을 설치할 폴더를 생성할 수 없음: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation>플러그인을 설치할 파일을 만들 수 없음: +%1 +since:%2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation>동일한 이름의 폴더가 존재합니다. 플러그인 설치 건너뛰기: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation>플러그인 컨태츠를 불러올 수 없습니다. 확인해주십시오</translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation>메모리 할당 실패</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation>오류 작성</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation>메모리 사용량이 제한에 도달했습니다</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation>.xz 파일이 아닙니다</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation>.xz 헤더에서 지원되지 않는 옵션입니다</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation>파일이 손상되었습니다</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation>버그입니다!</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation>입력 데이터가 너무 짧습니다</translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished">복사 리스너를 찾을 수 없습니다. 트레이 아이콘에서 우클릭하여 수동으로 복사하십시오.</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished">정보</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished">정보 검색중...</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/nl/flag.png b/plugins/Languages/nl/flag.png Binary files differnew file mode 100644 index 0000000..0d00e1a --- /dev/null +++ b/plugins/Languages/nl/flag.png diff --git a/plugins/Languages/nl/informations.xml b/plugins/Languages/nl/informations.xml new file mode 100644 index 0000000..b50e36b --- /dev/null +++ b/plugins/Languages/nl/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to dutch]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to dutch. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>nl</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Dutch]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Nederlands]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[nl]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[nl_NL]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/nl/translation.ts b/plugins/Languages/nl/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/nl/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/no/flag.png b/plugins/Languages/no/flag.png Binary files differnew file mode 100644 index 0000000..16ec28a --- /dev/null +++ b/plugins/Languages/no/flag.png diff --git a/plugins/Languages/no/informations.xml b/plugins/Languages/no/informations.xml new file mode 100644 index 0000000..21d465b --- /dev/null +++ b/plugins/Languages/no/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to norwegian]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to norwegian. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>no</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Norske]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Norwegian]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[no]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[no_NO]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/no/translation.ts b/plugins/Languages/no/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/no/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/pl/flag.png b/plugins/Languages/pl/flag.png Binary files differnew file mode 100644 index 0000000..439ee97 --- /dev/null +++ b/plugins/Languages/pl/flag.png diff --git a/plugins/Languages/pl/informations.xml b/plugins/Languages/pl/informations.xml new file mode 100644 index 0000000..7617a00 --- /dev/null +++ b/plugins/Languages/pl/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to polish]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to polish. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>pl</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Polski]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Polish]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[pl]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[pl_PL]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/pl/translation.ts b/plugins/Languages/pl/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/pl/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/pt/flag.png b/plugins/Languages/pt/flag.png Binary files differnew file mode 100644 index 0000000..3fb1e36 --- /dev/null +++ b/plugins/Languages/pt/flag.png diff --git a/plugins/Languages/pt/informations.xml b/plugins/Languages/pt/informations.xml new file mode 100644 index 0000000..9c3d0e3 --- /dev/null +++ b/plugins/Languages/pt/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to portuguese]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to portuguese. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>pt</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Português]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Portuguese]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[pt]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[pt_PT]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/pt/translation.ts b/plugins/Languages/pt/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/pt/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/ru/flag.png b/plugins/Languages/ru/flag.png Binary files differnew file mode 100644 index 0000000..583e627 --- /dev/null +++ b/plugins/Languages/ru/flag.png diff --git a/plugins/Languages/ru/informations.xml b/plugins/Languages/ru/informations.xml new file mode 100644 index 0000000..49ea3f6 --- /dev/null +++ b/plugins/Languages/ru/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to russian]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to russian. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>ru</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[русский]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Russian]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[ru]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[ru_RU]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/ru/translation.ts b/plugins/Languages/ru/translation.ts new file mode 100644 index 0000000..444e5ab --- /dev/null +++ b/plugins/Languages/ru/translation.ts @@ -0,0 +1,1260 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="ru" sourcelanguage="en"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>Предупреждение</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation>Ultracopier уже запущен, щелкните правой кнопкой мыши на значок панели задач (рядом с часами), чтобы использовать его</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation>Проблема с чтением файла, или размер файла равен 0</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation>Возможные аргументы:</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation>Чтобы отобразить опции</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation>Чтобы копировать исходники в место назначения, разделенными пробелом. If destination is "?", ultracopier will ask the user</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation>Этот файл не поддерживается передача списка</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation>Не удается открыть файл трансфер</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished">Откройте трансфер</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation>Помогите</translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>Предупреждение</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation>Не могу найти любой совместимый двигатель!</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation>Не могу найти любой двигатель с таким именем: %1</translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished">ошибка</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>ошибка</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation>Не удалось получить экземпляр копии двигателей</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation>Не удалось загрузить интерфейс, копирование прервана</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation>Не удается загрузить копию двигателя, скопируйте прервана</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation>режим передачи</translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation>Копировать двигатель</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation>копия</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation>двигаться</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation>пауза</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation>резюме</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation>пропускать</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation>неограниченный</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation>Слишком большой</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation>Менее %10 секунд</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation>О %10 секунды осталось</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation>О %1 минуты до конца</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation>О %1 часов, оставшихся</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation>источник</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation>размер</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation>назначение</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation>выход</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation>цель</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation>Оставшееся время:</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation>список</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation>копирование</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation>Листинг и копирования</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation>просить</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation>переписывать</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation>Заменить, если новее</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation>Заменить, если последняя даты модификации отличаются</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation>переименовать</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation>Выберите исходный каталог</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation>Выберите папку назначения</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation>Внутренняя ошибка</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation>Выберите один или более файлов, чтобы открыть</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation>Все файлы</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation>Сохранить трансфер</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation>Откройте трансфер</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation>Передача списка</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation>ошибка</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation>Не поддерживается на этой платформе</translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation>Платформа: %1</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation>О Qt</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation>У аварии</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation>Сохранить отчет об ошибке</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>закрывать</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation>для http://portableapps.com/</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation>Портативная версия</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation>Нормальная версия</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation><html><head/><body><p>Для получения дополнительной информации посетите веб-сайт <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>Предупреждение</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation>Тайм-аут в то время как композицию кадра данных из подключенных клиентов</translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>ошибка</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation>Лог-файл уже открыт, ошибки: %1</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished">Предупреждение</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation>опции</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>общий</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation>плагины</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation>Копировать двигатель</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>Темы</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>имя</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>версия</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>язык</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation>слушатель</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation>плагин погрузчика</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation>сессия погрузчика</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation>плагин</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation>добавлять</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation>удаление</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation>информация</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation>Скопируйте двигателя порядке предпочтения:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation>Темы:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation>Не удается загрузить плагин темы</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation>просматривать</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation>Переменные are %time%, %source%, %size%, %destination%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation>Переменные %time%, %path%, %size%, %mtime%, %error%</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation>Запись в файл журнала:</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation>ничего не делать</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation>Спросите источника папку</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation>Спросите источников в виде файлов</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation>никогда</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation>Когда же источник</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation>Когда же назначения</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation>Когда источника и назначения те же</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation>Когда источника или назначения те же</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation>всегда</translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation>Сохранить журналы, как: </translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation>Синхронное журнала</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation>Нет опции для этого плагина</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation>Переменные %path%, %operation%</translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation>Об этом плагине</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>Имя:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>Категория:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>Автор:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>Дата:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>Описание:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>Версия:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished">Копировать двигатель</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>Языки</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation>слушатель</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished">плагин погрузчика</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished">сессия погрузчика</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>Темы</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation>Информация о %1</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>Сайт:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>Название:</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation>informations.xml не доступен</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation>Зависимости часть неправильно</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation>Зависимости %1 не выполняется, для плагина: %2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation>удаление: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation>ошибка</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation>информация</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation>%1, вызовет ошибку в строке %2, столбце %3: %4</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation>"package" Корневой тег не найден для XML-файла</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation>Дублированный плагин нашел, уже загружены!</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation>Тег не найден: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation>Вы уверены, что об удалении "%1" в версии %2?</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation>Предыдущая импорта идет ...</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation>Открытое плагин Ultracopier</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation>Ultracopier плагина (*.urc)</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation>плагин погрузчика</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation>Невозможно открыть плагин: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation>Не удается загрузить плагин содержания, пожалуйста, проверьте его: %1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation>Невозможно создать папку для установки плагина: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation>Невозможно создать файл, чтобы установить плагин: +%1 +С: %2</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation>Папка с таким же именем существует, пропустить установки плагина: +%1</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation>Не удается загрузить плагин содержания, пожалуйста, проверьте его</translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation>Ошибка выделения памяти</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation>Написать об ошибке</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation>Ограничить использование памяти достиг</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation>Не. Хг файл</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation>Неподдерживаемые варианты. Заголовки XZ</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation>Файл поврежден</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation>Ошибка!</translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation>Входных данных слишком короткий</translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished">Нет копии слушатель найдено. Сделайте копию вручную, щелкните правой кнопкой мыши один из иконки в системном трее.</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished">информация</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished">Поиск информации ...</translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/th/flag.png b/plugins/Languages/th/flag.png Binary files differnew file mode 100644 index 0000000..76d9cc3 --- /dev/null +++ b/plugins/Languages/th/flag.png diff --git a/plugins/Languages/th/informations.xml b/plugins/Languages/th/informations.xml new file mode 100644 index 0000000..bc66718 --- /dev/null +++ b/plugins/Languages/th/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to thai]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to thai. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>th</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[ไทย]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Thai]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[th]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[th_TH]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/th/translation.ts b/plugins/Languages/th/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/th/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/tr/flag.png b/plugins/Languages/tr/flag.png Binary files differnew file mode 100644 index 0000000..e26b94b --- /dev/null +++ b/plugins/Languages/tr/flag.png diff --git a/plugins/Languages/tr/informations.xml b/plugins/Languages/tr/informations.xml new file mode 100644 index 0000000..bc26b50 --- /dev/null +++ b/plugins/Languages/tr/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to turkish]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to turkish. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>tr</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[Türk]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Turkish]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[tr]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[tr_TR]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/tr/translation.ts b/plugins/Languages/tr/translation.ts new file mode 100644 index 0000000..d364f81 --- /dev/null +++ b/plugins/Languages/tr/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/zh/flag.png b/plugins/Languages/zh/flag.png Binary files differnew file mode 100644 index 0000000..928b698 --- /dev/null +++ b/plugins/Languages/zh/flag.png diff --git a/plugins/Languages/zh/informations.xml b/plugins/Languages/zh/informations.xml new file mode 100644 index 0000000..ca01be8 --- /dev/null +++ b/plugins/Languages/zh/informations.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to chinese]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to chinese. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>ch</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[中国]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Chinese]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[zh]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[zh_CN]]></shortName> + <shortName><![CDATA[zh_HK]]></shortName> + <shortName><![CDATA[zh_TW]]></shortName> + <shortName><![CDATA[cn]]></shortName> + </categorySpecific> +</package>
\ No newline at end of file diff --git a/plugins/Languages/zh/translation.ts b/plugins/Languages/zh/translation.ts new file mode 100644 index 0000000..4172800 --- /dev/null +++ b/plugins/Languages/zh/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation type="unfinished">警告</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>警告</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation type="unfinished">警告</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation type="unfinished">警告</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Languages/zh_TW/flag.png b/plugins/Languages/zh_TW/flag.png Binary files differnew file mode 100644 index 0000000..4f00c2d --- /dev/null +++ b/plugins/Languages/zh_TW/flag.png diff --git a/plugins/Languages/zh_TW/informations.xml b/plugins/Languages/zh_TW/informations.xml new file mode 100644 index 0000000..214150d --- /dev/null +++ b/plugins/Languages/zh_TW/informations.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Translation of Ultracopier to chinese traditional]]></title><!-- english is required --> + <!-- What kind of plugin this is --> + <category>Languages</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Translation of Ultracopier to chinese traditional. For more details see the web site.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>zh_tw</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> + <!-- Additional information that is specific to the category (in this case Language). --> + <categorySpecific> + <!-- The full name in the language we're translating to. --> + <fullName><![CDATA[台灣]]></fullName> + <!-- Short name, language name in English --> + <shortName><![CDATA[Chinese Traditional]]></shortName> + <!-- Short name, language ISO code --> + <shortName mainCode="true"><![CDATA[zh_TW]]></shortName> + <!-- Short name, language ISO country code --> + <shortName><![CDATA[zh_TW]]></shortName> + </categorySpecific> +</package> diff --git a/plugins/Languages/zh_TW/translation.ts b/plugins/Languages/zh_TW/translation.ts new file mode 100644 index 0000000..cfe9ac3 --- /dev/null +++ b/plugins/Languages/zh_TW/translation.ts @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="zh_TW"> +<context> + <name>CliParser</name> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <location filename="../../../CliParser.cpp" line="72"/> + <location filename="../../../CliParser.cpp" line="85"/> + <location filename="../../../CliParser.cpp" line="95"/> + <location filename="../../../CliParser.cpp" line="180"/> + <source>Warning</source> + <translation>警告</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="26"/> + <source>Ultracopier is already running, right click on its system tray icon (near the clock) to use it</source> + <translation type="unfinished">Ultracopier 正在執行中,right click on its system tray icon (near the clock) to use it</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="72"/> + <source>Problem reading file, or file size is 0</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="160"/> + <location filename="../../../CliParser.cpp" line="171"/> + <source>The arguments possible are:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="162"/> + <location filename="../../../CliParser.cpp" line="173"/> + <source>To display the options</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="163"/> + <location filename="../../../CliParser.cpp" line="174"/> + <source>To quit the other instances (if running)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="165"/> + <location filename="../../../CliParser.cpp" line="176"/> + <source>To copy sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="166"/> + <location filename="../../../CliParser.cpp" line="177"/> + <source>To move sources to destination, separated by space. If destination is "?", ultracopier will ask the user</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="170"/> + <source>Command not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="85"/> + <source>This file is not supported transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="95"/> + <source>Unable to open the transfer list file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="161"/> + <location filename="../../../CliParser.cpp" line="172"/> + <source>To display this help</source> + <translation>顯示幫助</translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="164"/> + <location filename="../../../CliParser.cpp" line="175"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CliParser.cpp" line="182"/> + <source>Help</source> + <translation>幫助</translation> + </message> +</context> +<context> + <name>CopyEngineManager</name> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Warning</source> + <translation>警告</translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="231"/> + <source>Cannot find any copy engine with move support</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="259"/> + <source>This copy engine does not support move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="236"/> + <source>Cannot find any compatible engine!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../CopyEngineManager.cpp" line="273"/> + <source>Cannot find any engine with this name: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CopyListener</name> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error</source> + <translation>錯誤</translation> + </message> + <message> + <location filename="../../../CopyListener.cpp" line="159"/> + <source>Error during the reception of the copy/move list +%1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>Core</name> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="117"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <location filename="../../../Core.cpp" line="217"/> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <location filename="../../../Core.cpp" line="393"/> + <source>Error</source> + <translation>錯誤</translation> + </message> + <message> + <location filename="../../../Core.cpp" line="46"/> + <location filename="../../../Core.cpp" line="143"/> + <location filename="../../../Core.cpp" line="158"/> + <location filename="../../../Core.cpp" line="178"/> + <location filename="../../../Core.cpp" line="192"/> + <location filename="../../../Core.cpp" line="201"/> + <location filename="../../../Core.cpp" line="210"/> + <source>Unable to get a copy engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Group window</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="94"/> + <source>Do you want group the transfer with another actual running transfer?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="117"/> + <source>Unable to get a engine instance</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="217"/> + <source>The argument for the mode is not valid</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Do you want to copy? If no, it will be moved.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="251"/> + <location filename="../../../Core.cpp" line="388"/> + <source>Unable to load the interface, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="393"/> + <source>Unable to load the copy engine, copy aborted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../Core.cpp" line="1136"/> + <source>Transfer mode</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>EventDispatcher</name> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Key</source> + <translation>金鑰</translation> + </message> + <message> + <location filename="../../../EventDispatcher.cpp" line="152"/> + <source>Give the key of this software, more information on <a href="http://ultracopier.first-world.info/">ultracopier.first-world.info</a></source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>FacilityEngine</name> + <message> + <location filename="../../../FacilityEngine.cpp" line="53"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="55"/> + <source>Copy</source> + <extracomment>a copy</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="59"/> + <source>Move</source> + <extracomment>a move</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="61"/> + <source>Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="62"/> + <source>Resume</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="63"/> + <location filename="../../../FacilityEngine.cpp" line="77"/> + <source>Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="64"/> + <source>Unlimited</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="37"/> + <source>s</source> + <translation>秒</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="38"/> + <source>Too big</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="39"/> + <source>B</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="40"/> + <source>KB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="41"/> + <source>MB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="42"/> + <source>GB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="43"/> + <source>TB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="44"/> + <source>PB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="45"/> + <source>EB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="46"/> + <source>ZB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="47"/> + <source>YB</source> + <translation></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="48"/> + <source>Less than %10 seconds</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="49"/> + <source>About %10 seconds remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="50"/> + <source>About %1 minutes remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="51"/> + <source>About %1 hours remaining</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="57"/> + <source>Transfer</source> + <extracomment>a transfer</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="60"/> + <source>Start</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="65"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="66"/> + <source>Size</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="67"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="68"/> + <source>Quit</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="69"/> + <source>Target</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="70"/> + <location filename="../../../FacilityEngine.cpp" line="74"/> + <source>Time remaining:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="71"/> + <source>Listing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="72"/> + <source>Copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="73"/> + <source>Listing and copying</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="76"/> + <source>Ask</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="78"/> + <source>Overwrite</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="79"/> + <source>Overwrite if newer</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="80"/> + <source>Overwrite if the last modification dates are different</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="81"/> + <source>Rename</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="82"/> + <source>Put to the end of the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="83"/> + <source>Select source directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="84"/> + <source>Select destination directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="85"/> + <source>Internal error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="86"/> + <source>Select one or more files to open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="87"/> + <source>All files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="88"/> + <source>Save transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="89"/> + <source>Open transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="90"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="91"/> + <source>Error</source> + <translation type="unfinished">錯誤</translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="92"/> + <source>Not supported on this platform</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../FacilityEngine.cpp" line="93"/> + <source>Completed in %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>HelpDialog</name> + <message> + <location filename="../../../HelpDialog.cpp" line="34"/> + <source>About Ultracopier</source> + <translation>關於 Ultracopier</translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="67"/> + <source>Based on Qt. Advanced utility to copy files under GPL3 license. +This version is compiled as version: %1.</source> + <extracomment>%1 will be replaced by a variable content (normal, debug, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="75"/> + <source><html><head/><body><p>For more information see the website <a href="%1"><span style=" text-decoration: underline; color:#0057ae;">%1</span></a></p></body></html></source> + <extracomment>%1 will be remplaced by the website into the corresponding languages</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="85"/> + <source>Platform: %1</source> + <extracomment>%1 will be replaced by the platform (windows, mac, linux, ...)</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="121"/> + <source>About Qt</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="141"/> + <source>Do a crash</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="148"/> + <source>Save bug report</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.ui" line="155"/> + <source>Close</source> + <translation>關閉</translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="73"/> + <source>For http://portableapps.com/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="76"/> + <source>Portable and all in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="78"/> + <source>Portable version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="83"/> + <source>All in one version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="85"/> + <source>Normal version</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="102"/> + <source>http://ultracopier.first-world.info/</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="109"/> + <source>http://ultracopier.first-world.info/shop.html</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../HelpDialog.cpp" line="111"/> + <source>http://ultracopier.first-world.info/download.html</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LocalListener</name> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Warning</source> + <translation>警告</translation> + </message> + <message> + <location filename="../../../LocalListener.cpp" line="160"/> + <source>Timeout while recomposing data from connected clients</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>LogThread</name> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Error</source> + <translation>錯誤</translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="107"/> + <source>Log file already open, error: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../LogThread.cpp" line="116"/> + <location filename="../../../LogThread.cpp" line="126"/> + <source>Unable to open the log file, error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OSSpecific</name> + <message> + <location filename="../../../OSSpecific.ui" line="26"/> + <source>Warning</source> + <translation>警告</translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="58"/> + <source>Don't show again</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.ui" line="83"/> + <source>Ok</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="23"/> + <source>The replacement of default copy/move system is not supported by the file manager (Dolphin, Nautilus, ...).<br />Ask the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="25"/> + <source>Reboot the system if previously had similar software installed (like Teracopy, Supercopier or an earlier version of Ultracopier).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="27"/> + <source>The replacement of default copy/move system is not supported and blocked by finder of Mac OS X.<br />You need do the copy/move manually by right clicking on the system tray icon near the clock (not the dock icon).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OSSpecific.cpp" line="29"/> + <source>The replacement of default copy/move system should be not supported by the file manager.<br />Ask to the developer to support it.<br />You need do the copy/move manually.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionDialog</name> + <message> + <location filename="../../../OptionDialog.ui" line="14"/> + <location filename="../../../OptionDialog.ui" line="51"/> + <source>Options</source> + <translation type="unfinished">選項</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="56"/> + <source>General</source> + <translation>一般</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="61"/> + <source>Plugins</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="66"/> + <location filename="../../../OptionDialog.ui" line="322"/> + <location filename="../../../OptionDialog.cpp" line="286"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="92"/> + <location filename="../../../OptionDialog.ui" line="350"/> + <source>Themes</source> + <translation>佈景</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="97"/> + <source>Log</source> + <translation>紀錄</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="312"/> + <source>Name</source> + <translation>名稱</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="317"/> + <source>Version</source> + <translation>版本</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="327"/> + <source>Language</source> + <translation>語言</translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="498"/> + <source>Client connected</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="801"/> + <source>Write the folder operations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="811"/> + <source>The variables are %path%, %operation%</source> + <extracomment>%path%, %operation% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="71"/> + <location filename="../../../OptionDialog.ui" line="335"/> + <location filename="../../../OptionDialog.cpp" line="287"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="76"/> + <location filename="../../../OptionDialog.ui" line="340"/> + <location filename="../../../OptionDialog.cpp" line="288"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="84"/> + <location filename="../../../OptionDialog.ui" line="345"/> + <location filename="../../../OptionDialog.cpp" line="289"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="117"/> + <source>Force the language</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="127"/> + <source>Replace the default copy and move system</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="141"/> + <source>Load at the session loading</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="155"/> + <source>When manual open</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="181"/> + <source>Group the windows when</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="222"/> + <source>Confirm to group the windows</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="229"/> + <source>Display the OS warning</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="245"/> + <source>Check for updates</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="255"/> + <source>Give GPU time to fund the development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="262"/> + <source>Remaining time algorithm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="270"/> + <source>Traditional</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="275"/> + <source>Logarithmic</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="358"/> + <source>Plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="377"/> + <source>Add</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="390"/> + <source>Remove</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="400"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="427"/> + <source>Copy engine by order of preference:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="554"/> + <source>Themes:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="616"/> + <source>Unable to load the themes plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="666"/> + <source>No option for this plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="716"/> + <source>Browse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="728"/> + <source>Write directly to the file when it receive a new entry (can produce 50% of lost of performance)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="741"/> + <source>Write the transfers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="748"/> + <source>The variables are %time%, %source%, %size%, %destination%</source> + <extracomment>%time%, %source%, %size%, %destination% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="771"/> + <source>Write the errors</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="778"/> + <source>The variables are %time%, %path%, %size%, %mtime%, %error%</source> + <extracomment>%time%, %path%, %size%, %mtime%, %error% should not be translated</extracomment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="697"/> + <source>Write the log file into:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="190"/> + <source>Load the theme?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="204"/> + <source>Load the language?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="294"/> + <source>Do nothing</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="295"/> + <source>Ask source as folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="296"/> + <source>Ask sources as files</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="297"/> + <source>Never</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="298"/> + <source>When source is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="299"/> + <source>When destination is same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="300"/> + <source>When source and destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="301"/> + <source>When source or destination are same</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="302"/> + <source>Always</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="316"/> + <location filename="../../../OptionDialog.cpp" line="317"/> + <location filename="../../../OptionDialog.cpp" line="318"/> + <source>The variables are %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.cpp" line="948"/> + <source>Save logs as: </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../OptionDialog.ui" line="731"/> + <source>Synchronized log</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>OptionEngine</name> + <message> + <location filename="../../../OptionEngine.cpp" line="162"/> + <location filename="../../../OptionEngine.cpp" line="169"/> + <location filename="../../../OptionEngine.cpp" line="211"/> + <location filename="../../../OptionEngine.cpp" line="215"/> + <source>The variable was not found: %1 %2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>PluginInformation</name> + <message> + <location filename="../../../PluginInformation.ui" line="14"/> + <source>About this plugin</source> + <translation type="unfinished">關於這的插件</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="23"/> + <source>Name:</source> + <translation>名稱:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="37"/> + <source>Category:</source> + <translation>分類:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="51"/> + <source>Author:</source> + <translation>作者:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="79"/> + <source>Date:</source> + <translation>日期:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="93"/> + <source>Description:</source> + <translation>描述:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="107"/> + <source>Version:</source> + <translation>版本:</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="39"/> + <source>Copy engine</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="42"/> + <source>Languages</source> + <translation>語言</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="45"/> + <source>Listener</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="48"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="51"/> + <source>Session loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="54"/> + <source>Themes</source> + <translation>佈景</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="58"/> + <source>Unknown</source> + <translation>未知</translation> + </message> + <message> + <location filename="../../../PluginInformation.cpp" line="68"/> + <source>Information about %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="65"/> + <source>Website:</source> + <translation>網站:</translation> + </message> + <message> + <location filename="../../../PluginInformation.ui" line="121"/> + <source>Title:</source> + <translation>標題:</translation> + </message> +</context> +<context> + <name>PluginsManager</name> + <message> + <location filename="../../../PluginsManager.cpp" line="224"/> + <source>informations.xml is not accessible</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="494"/> + <source>Dependencies part is wrong</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="515"/> + <source>Dependencies %1 are not satisfied, for plugin: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Remove %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error</source> + <translation type="unfinished">錯誤</translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="683"/> + <source>Error while the removing plugin, please check the rights on the folder: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="256"/> + <source>%1, parse error at line %2, column %3: %4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="230"/> + <source>informations.xml not found for the plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="264"/> + <source>"package" root tag not found for the xml file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="340"/> + <source>Duplicated plugin found, already loaded!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="401"/> + <source>English text missing in the informations.xml for the tag: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="409"/> + <source>Tag not found: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="672"/> + <source>Are you sure about removing "%1" in version %2?</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="707"/> + <source>Previous import is in progress...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Open Ultracopier plugin</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="710"/> + <source>Ultracopier plugin (*.urc)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="820"/> + <location filename="../../../PluginsManager.cpp" line="833"/> + <location filename="../../../PluginsManager.cpp" line="852"/> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Plugin loader</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="727"/> + <source>Unable to open the plugin: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="752"/> + <location filename="../../../PluginsManager.cpp" line="870"/> + <location filename="../../../PluginsManager.cpp" line="883"/> + <source>Unable to load the plugin content, please check it: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="820"/> + <source>Unable to create a folder to install the plugin: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="833"/> + <source>Unable to create a file to install the plugin: +%1 +since:%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="852"/> + <source>Folder with same name is present, skip the plugin installation: +%1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../PluginsManager.cpp" line="858"/> + <location filename="../../../PluginsManager.cpp" line="864"/> + <location filename="../../../PluginsManager.cpp" line="876"/> + <source>Unable to load the plugin content, please check it</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QXzDecode</name> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="38"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="93"/> + <source>Memory allocation failed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="64"/> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="82"/> + <source>Write error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="97"/> + <source>Memory usage limit reached</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="101"/> + <source>Not a .xz file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="105"/> + <source>Unsupported options in the .xz headers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="110"/> + <source>The file is corrupted</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="114"/> + <source>Bug!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../lib/qt-tar-xz/QXzDecode.cpp" line="124"/> + <source>The input data is too short</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>SystrayIcon</name> + <message> + <location filename="../../../SystrayIcon.cpp" line="155"/> + <source>No copy listener found. Do the copy manually by right click one the system tray icon.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="161"/> + <source>Information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="179"/> + <source>Searching information...</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="192"/> + <source>Do not replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="197"/> + <source>Semi replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../../SystrayIcon.cpp" line="202"/> + <source>Replace the explorer copy/move</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Listener/catchcopy-v0002/DebugEngineMacro.h b/plugins/Listener/catchcopy-v0002/DebugEngineMacro.h new file mode 100644 index 0000000..4582010 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/DebugEngineMacro.h @@ -0,0 +1,28 @@ +/** \file DebugEngineMacro.h +\brief Define the macro for the debug +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef DEBUGENGINEMACRO_H +#define DEBUGENGINEMACRO_H + +#ifdef WIN32 +# define __func__ __FUNCTION__ +#endif + +/// \brief Macro for the debug log +#ifdef ULTRACOPIER_PLUGIN_DEBUG + #if defined (__FILE__) && defined (__LINE__) + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__) + #else + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b) + #endif +#else // ULTRACOPIER_DEBUG + #define ULTRACOPIER_DEBUGCONSOLE(a,b) void() +#endif // ULTRACOPIER_DEBUG + +#endif // DEBUGENGINEMACRO_H + + + + diff --git a/plugins/Listener/catchcopy-v0002/Environment.h b/plugins/Listener/catchcopy-v0002/Environment.h new file mode 100644 index 0000000..265a5a6 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/Environment.h @@ -0,0 +1,10 @@ +/** \file Environment.h
+\brief Define the environment variable and global function
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#include "Variable.h"
+/// \brief The global include
+#include "StructEnumDefinition.h"
+#include "DebugEngineMacro.h"
+
diff --git a/plugins/Listener/catchcopy-v0002/StructEnumDefinition.h b/plugins/Listener/catchcopy-v0002/StructEnumDefinition.h new file mode 100644 index 0000000..c1758f4 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/StructEnumDefinition.h @@ -0,0 +1 @@ +#include "../../../StructEnumDefinition.h" diff --git a/plugins/Listener/catchcopy-v0002/Variable.h b/plugins/Listener/catchcopy-v0002/Variable.h new file mode 100644 index 0000000..963d0c8 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/Variable.h @@ -0,0 +1,15 @@ +/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+//Un-comment this next line to put ultracopier plugin in debug mode
+#define ULTRACOPIER_PLUGIN_DEBUG
+
+#endif // VARIABLE_H
+
+
+
diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp new file mode 100644 index 0000000..c466630 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.cpp @@ -0,0 +1,379 @@ +/** \file ClientCatchcopy.cpp +\brief Define the catchcopy client +\author alpha_one_x86 */ + +#include "ClientCatchcopy.h" +#include "VariablesCatchcopy.h" +#include "ExtraSocketCatchcopy.h" + +#include <QDataStream> + +ClientCatchcopy::ClientCatchcopy() +{ + disconnectedFromSocket(); + error_string="Unknown error"; + detectTimeOut.setSingleShot(true); + detectTimeOut.setInterval(CATCHCOPY_COMMUNICATION_TIMEOUT); // the max time to without send packet + connect(&socket, SIGNAL(connected()), this, SIGNAL(connected())); + connect(&socket, SIGNAL(disconnected()), this, SIGNAL(disconnected())); + connect(&socket, SIGNAL(disconnected()), this, SLOT(disconnectedFromSocket())); + connect(&socket, SIGNAL(stateChanged(QLocalSocket::LocalSocketState)), this, SIGNAL(stateChanged(QLocalSocket::LocalSocketState))); + connect(&socket, SIGNAL(error(QLocalSocket::LocalSocketError)), this, SIGNAL(errorSocket(QLocalSocket::LocalSocketError))); + connect(&socket, SIGNAL(readyRead()), this, SLOT(readyRead())); + connect(&detectTimeOut, SIGNAL(timeout()), this, SLOT(checkTimeOut())); + connect(&socket, SIGNAL(connected()), this, SLOT(socketIsConnected())); +} + +void ClientCatchcopy::checkTimeOut() +{ + if(haveData) + { + error_string="The server is too long to send the next part of the reply"; + emit error(error_string); + disconnectFromServer(); + } +} + +const QString ClientCatchcopy::errorString() +{ + return error_string; +} + +void ClientCatchcopy::socketIsConnected() +{ + orderIdFirstSendProtocol=sendProtocol(); +} + +void ClientCatchcopy::connectToServer() +{ + socket.connectToServer(QString::fromStdString(ExtraSocketCatchcopy::pathSocket())); +} + +void ClientCatchcopy::disconnectFromServer() +{ + socket.abort(); + socket.disconnectFromServer(); +} + +const QString ClientCatchcopy::errorStringSocket() +{ + return socket.errorString(); +} + +/// \brief to send stream of string list +quint32 ClientCatchcopy::sendRawOrderList(const QStringList & order) +{ + if(!socket.isValid()) + { + error_string="Socket is not valid, try send: "+order.join(";"); + emit error(error_string); + return -1; + } + if(socket.state()!=QLocalSocket::ConnectedState) + { + error_string="Socket is not connected "+QString::number(socket.state()); + emit error(error_string); + return -1; + } + do + { + idNextOrder++; + if(idNextOrder>2000000000) + idNextOrder=0; + } while(notRepliedQuery.contains(idNextOrder)); + notRepliedQuery << idNextOrder; + QByteArray block; + QDataStream out(&block, QIODevice::WriteOnly); + out.setVersion(QDataStream::Qt_4_4); + out << int(0); + out << idNextOrder; + out << order; + out.device()->seek(0); + out << block.size(); + if(idNextOrder!=1) // drop if internal protocol send + { + emit dataSend(idNextOrder,block); + emit dataSend(idNextOrder,order); + } + do //cut string list and send it as block of 32KB + { + QByteArray blockToSend; + int byteWriten; + blockToSend=block.left(32*1024);//32KB + block.remove(0,blockToSend.size()); + byteWriten = socket.write(blockToSend); + if(!socket.isValid()) + { + error_string="Socket is not valid"; + emit error(error_string); + return -1; + } + if(socket.errorString()!="Unknown error" && socket.errorString()!="") + { + error_string=socket.errorString(); + emit error(error_string); + return -1; + } + if(blockToSend.size()!=byteWriten) + { + error_string="All the bytes have not be written"; + emit error(error_string); + return -1; + } + } + while(block.size()); + return idNextOrder; +} + +void ClientCatchcopy::readyRead() +{ + while(socket.bytesAvailable()>0) + { + if(!haveData) + { + if(socket.bytesAvailable()<(int)sizeof(int))//int of size cuted + { + /* error_string="Bytes available is not sufficient to do a int"; + emit error(error_string); + disconnectFromServer();*/ + return; + } + QDataStream in(&socket); + in.setVersion(QDataStream::Qt_4_4); + in >> dataSize; + dataSize-=sizeof(int); + if(dataSize>64*1024*1024) // 64MB + { + error_string="Reply size is >64MB, seam corrupted"; + emit error(error_string); + disconnectFromServer(); + return; + } + if(dataSize<(int)(sizeof(int) //orderId + + sizeof(quint32) //returnCode + + sizeof(quint32) //string list size + )) + { + error_string="Reply size is too small to have correct code"; + emit error(error_string); + disconnectFromServer(); + return; + } + } + if(dataSize<(data.size()+socket.bytesAvailable())) + data.append(socket.read(dataSize-data.size())); + else + data.append(socket.readAll()); + if(dataSize==data.size()) + { + if(!checkDataIntegrity(data)) + { + data.clear(); + qWarning() << "Data of the reply is wrong"; + return; + } + QStringList returnList; + quint32 orderId; + quint32 returnCode; + QDataStream in(data); + in.setVersion(QDataStream::Qt_4_4); + in >> orderId; + in >> returnCode; + in >> returnList; + data.clear(); + if(orderId!=orderIdFirstSendProtocol) + { + if(!notRepliedQuery.contains(orderId)) + qWarning() << "Unknown query not replied:" << orderId; + else + { + if(!parseReply(orderId,returnCode,returnList)) + emit unknowReply(orderId); + emit newReply(orderId,returnCode,returnList); + } + } + else + { + if(!sendProtocolReplied) + { + sendProtocolReplied=true; + if(returnCode!=1000) + { + error_string="Protocol not supported"; + emit error(error_string); + disconnectFromServer(); + return; + } + } + else + { + error_string=QStringLiteral("First send protocol send with the query id %1 have been already previously replied").arg(orderIdFirstSendProtocol); + emit error(error_string); + disconnectFromServer(); + return; + } + } + } + } + if(haveData) + detectTimeOut.start(); + else + detectTimeOut.stop(); +} + +bool ClientCatchcopy::checkDataIntegrity(QByteArray data) +{ + quint32 orderId; + qint32 replyCode; + qint32 listSize; + QDataStream in(data); + in.setVersion(QDataStream::Qt_4_4); + in >> orderId; + in >> replyCode; + in >> listSize; + if(listSize>65535) + { + emit error("List size is wrong"); + qWarning() << "List size is wrong"; + return false; + } + int index=0; + while(index<listSize) + { + qint32 stringSize; + in >> stringSize; + if(stringSize>65535) + { + emit error("String size is wrong"); + qWarning() << "String size is wrong"; + return false; + } + if(stringSize>(in.device()->size()-in.device()->pos())) + { + emit error(QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos())); + qWarning() << QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos()); + return false; + } + in.device()->seek(in.device()->pos()+stringSize); + index++; + } + if(in.device()->size()!=in.device()->pos()) + { + emit error("Remaining data after string list parsing"); + qWarning() << "Remaining data after string list parsing"; + return false; + } + return true; +} + +QLocalSocket::LocalSocketState ClientCatchcopy::state() +{ + return socket.state(); +} + +void ClientCatchcopy::disconnectedFromSocket() +{ + haveData = false; + orderIdFirstSendProtocol= 0; + idNextOrder = 0; + sendProtocolReplied = false; + notRepliedQuery.clear(); +} + +/// \brief to send the protocol version used +quint32 ClientCatchcopy::sendProtocol() +{ + return sendRawOrderList(QStringList() << "protocol" << CATCHCOPY_PROTOCOL_VERSION); +} + +quint32 ClientCatchcopy::askServerName() +{ + return sendRawOrderList(QStringList() << "server" << "name?"); +} + +quint32 ClientCatchcopy::setClientName(const QString & name) +{ + return sendRawOrderList(QStringList() << "client" << name); +} + +quint32 ClientCatchcopy::checkProtocolExtension(const QString & name) +{ + return sendRawOrderList(QStringList() << "protocol extension" << name); +} + +quint32 ClientCatchcopy::checkProtocolExtension(const QString & name,const QString & version) +{ + return sendRawOrderList(QStringList() << "protocol extension" << name << version); +} + +quint32 ClientCatchcopy::addCopyWithDestination(const QStringList & sources,const QString & destination) +{ + return sendRawOrderList(QStringList() << "cp" << sources << destination); +} + +quint32 ClientCatchcopy::addCopyWithoutDestination(const QStringList & sources) +{ + return sendRawOrderList(QStringList() << "cp-?" << sources); +} + +quint32 ClientCatchcopy::addMoveWithDestination(const QStringList & sources,const QString & destination) +{ + return sendRawOrderList(QStringList() << "mv" << sources << destination); +} + +quint32 ClientCatchcopy::addMoveWithoutDestination(const QStringList & sources) +{ + return sendRawOrderList(QStringList() << "mv-?" << sources); +} + +bool ClientCatchcopy::parseReply(quint32 orderId,quint32 returnCode,QStringList returnList) +{ + switch(returnCode) + { + case 1000: + emit protocolSupported(orderId); + break; + case 1001: + case 1002: + if(returnCode==1001) + emit protocolExtensionSupported(orderId,true); + else + emit protocolExtensionSupported(orderId,false); + break; + case 1003: + emit clientRegistered(orderId); + break; + case 1004: + if(returnList.size()!=1) + emit unknowOrder(orderId); + else + emit serverName(orderId,returnList.last()); + break; + case 1005: + case 1006: + if(returnCode==1005) + emit copyFinished(orderId,false); + else + emit copyFinished(orderId,true); + break; + case 1007: + emit copyCanceled(orderId); + break; + case 5000: + emit incorrectArgumentListSize(orderId); + break; + case 5001: + emit incorrectArgument(orderId); + break; + case 5002: + emit unknowOrder(orderId); //the server have not understand the order + break; + case 5003: + emit protocolNotSupported(orderId); + break; + default: + return false; + } + return true; +} + diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.h b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.h new file mode 100644 index 0000000..4c15890 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ClientCatchcopy.h @@ -0,0 +1,113 @@ +/** \file ClientCatchcopy.h +\brief Define the catchcopy client +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef CLIENTCATCHCOPY_H +#define CLIENTCATCHCOPY_H + +#include <QObject> +#include <QLocalSocket> +#include <QStringList> +#include <QString> +#include <QByteArray> +#include <QTimer> + +/// \brief Define the catchcopy client +class ClientCatchcopy : public QObject +{ + Q_OBJECT + public: + ClientCatchcopy(); + /// \brief get the socket stat + QLocalSocket::LocalSocketState state(); + /// \brief error string about the socket + const QString errorStringSocket(); + /// \brief general error string + const QString errorString(); + public slots: + void connectToServer(); + void disconnectFromServer(); + //to test and internal use + /// \brief to send order + quint32 sendProtocol(); + /// \brief ask the server name + quint32 askServerName(); + /// \brief set the client name + quint32 setClientName(const QString & name); + /// \brief check protocol extension + quint32 checkProtocolExtension(const QString & name); + /// \brief check protocol extension and version + quint32 checkProtocolExtension(const QString & name,const QString & version); + /// \brief add copy with destination + quint32 addCopyWithDestination(const QStringList & sources,const QString & destination); + /// \brief add copy without destination + quint32 addCopyWithoutDestination(const QStringList & sources); + /// \brief add move with destination + quint32 addMoveWithDestination(const QStringList & sources,const QString & destination); + /// \brief add move without destination + quint32 addMoveWithoutDestination(const QStringList & sources); + /// \brief to send stream of string list + quint32 sendRawOrderList(const QStringList & order); + signals: + /// \brief is connected + void connected(); + /// \brief is disconnected + void disconnected(); + /// \brief the socket state have changed + void stateChanged(QLocalSocket::LocalSocketState socketState); + /// \brief send the error string + void error(QString error); + /// \brief send socket error + void errorSocket(QLocalSocket::LocalSocketError socketError); + /// \brief have new reply + void newReply(quint32 orderId,quint32 returnCode,QStringList returnList); + /// \brief have data send + void dataSend(quint32 orderId,QByteArray data); + /// \brief have data send by string list + void dataSend(quint32 orderId,QStringList data); + /// \brief have unknow reply + void unknowReply(quint32 orderId); + //reply + /// \brief protocol is supported + void protocolSupported(quint32 orderId); + /// \brief incorrect argument list size + void incorrectArgumentListSize(quint32 orderId); + /// \brief incorrect argument + void incorrectArgument(quint32 orderId); + /// \brief protocol not supported + void protocolNotSupported(quint32 orderId); + /// \brief protocol extension supported + void protocolExtensionSupported(quint32 orderId,bool isSupported); + /// \brief client is registred + void clientRegistered(quint32 orderId); + /// \brief have the server name + void serverName(quint32 orderId,QString name); + /// \brief copy finished + void copyFinished(quint32 orderId,bool withError); + /// \brief copy canceled + void copyCanceled(quint32 orderId); + /// \brief have unknow order + void unknowOrder(quint32 orderId); //the server have not understand the order + private: + QLocalSocket socket; + QString error_string; + quint32 idNextOrder; + QByteArray data; + bool haveData; + int dataSize; + quint32 orderIdFirstSendProtocol; + QTimer detectTimeOut; + bool sendProtocolReplied; + QList<quint32> notRepliedQuery; + bool checkDataIntegrity(QByteArray data); + private slots: + void readyRead(); + void disconnectedFromSocket(); + void socketIsConnected(); + void checkTimeOut(); + protected: + bool parseReply(quint32 orderId,quint32 returnCode,QStringList returnList); +}; + +#endif // CLIENTCATCHCOPY_H diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp new file mode 100644 index 0000000..9cd8373 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.cpp @@ -0,0 +1,38 @@ +/** \file ExtraSocketCatchcopy.cpp +\brief Define the socket of catchcopy +\author alpha_one_x86 */ + +#include "ExtraSocketCatchcopy.h" + +#include <stdio.h> + +const std::string ExtraSocketCatchcopy::pathSocket() +{ +#ifdef Q_OS_UNIX + return "advanced-copier-"+std::to_string(getuid()); +#else + QString userName; + char uname[1024]; + DWORD len=1023; + if(GetUserNameA(uname, &len)!=FALSE) + userName=QString::fromLatin1(toHex(uname)); + return "advanced-copier-"+userName.toStdString(); +#endif +} + +char * ExtraSocketCatchcopy::toHex(const char *str) +{ + char *p, *sz; + size_t len; + if (str==NULL) + return NULL; + len= strlen(str); + p = sz = (char *) malloc((len+1)*4); + for (size_t i=0; i<len; i++) + { + sprintf(p, "%.2x00", str[i]); + p+=4; + } + *p=0; + return sz; +} diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h new file mode 100644 index 0000000..fb4201c --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ExtraSocketCatchcopy.h @@ -0,0 +1,31 @@ +/** \file ExtraSocketCatchcopy.h +\brief Define the socket of catchcopy +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef EXTRASOCKETCATCHCOPY_H +#define EXTRASOCKETCATCHCOPY_H + +#include <string> +#include <QString> + +#ifdef Q_OS_UNIX + #include <unistd.h> + #include <sys/types.h> +#else + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> +#endif + +/// \brief to have extra socket function +class ExtraSocketCatchcopy +{ +public: + /// \brief to get the socket path + static const std::string pathSocket(); + static char * toHex(const char *str); +}; + +#endif // EXTRASOCKETCATCHCOPY_H diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp new file mode 100644 index 0000000..6fd1172 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.cpp @@ -0,0 +1,740 @@ +/** \file ServerCatchcopy.cpp +\brief Define the server of catchcopy +\author alpha_one_x86*/ + +#include "ServerCatchcopy.h" +#include "VariablesCatchcopy.h" +#include "ExtraSocketCatchcopy.h" + +#include <QFile> +#include <QDataStream> +#include <queue> +#include <vector> +#include <string> + +std::string stringimplode2(const std::vector<std::string>& elems, const std::string &delim) +{ + std::string newString; + for (std::vector<std::string>::const_iterator ii = elems.begin(); ii != elems.cend(); ++ii) + { + newString += (*ii); + if ( ii + 1 != elems.end() ) { + newString += delim; + } + } + return newString; +} + +ServerCatchcopy::ServerCatchcopy() +{ + name="Default avanced copier"; + idNextClient=0; + error_string="Unknown error"; + connect(&server, &QLocalServer::newConnection, this, &ServerCatchcopy::newConnection); +} + +ServerCatchcopy::~ServerCatchcopy() +{ + close(); +} + +bool ServerCatchcopy::isListening() const +{ + return server.isListening(); +} + +void ServerCatchcopy::setName(const std::string & name) +{ + this->name=name; +} + +std::string ServerCatchcopy::getName() const +{ + return name; +} + +/// \brief to get a client list +std::vector<std::string> ServerCatchcopy::clientsList() const +{ + std::vector<std::string> clients; + int index=0; + int size=clientList.size(); + while(index<size) + { + clients.push_back(clientList[index].name); + index++; + } + return clients; +} + +bool ServerCatchcopy::listen() +{ + QLocalSocket socketTestConnection; + pathSocket=ExtraSocketCatchcopy::pathSocket(); + socketTestConnection.connectToServer(QString::fromStdString(pathSocket)); + if(socketTestConnection.waitForConnected(CATCHCOPY_COMMUNICATION_TIMEOUT)) + { + error_string="Other server is listening"; + emit error(error_string); + return false; + } + else + { + if(!server.removeServer(QString::fromStdString(pathSocket))) + { + error_string="Unable to remove the old server"; + emit error(error_string); + } + #ifndef Q_OS_MAC + server.setSocketOptions(QLocalServer::UserAccessOption); + #endif + if(server.listen(QString::fromStdString(pathSocket))) + return true; + else + { + error_string=QStringLiteral("Unable to listen %1: %2").arg(QString::fromStdString(pathSocket)).arg(server.errorString()).toStdString(); + emit error(error_string); + return false; + } + } +} + +void ServerCatchcopy::close() +{ + if(server.isListening()) + { + int index=0; + while(index<clientList.size()) + { + clientList.at(index).socket->disconnectFromServer(); + index++; + } + server.close(); + if(!server.removeServer(QString::fromStdString(pathSocket))) + { + error_string="Unable to remove the old server"; + emit error(error_string); + } + } +} + +const std::string ServerCatchcopy::errorStringServer() const +{ + return server.errorString().toStdString(); +} + +const std::string ServerCatchcopy::errorString() const +{ + return error_string; +} + +/// \brief New connexion +void ServerCatchcopy::newConnection() +{ + while(server.hasPendingConnections()) + { + QLocalSocket *clientSocket = server.nextPendingConnection(); + if(clientSocket!=NULL) + { + do + { + idNextClient++; + if(idNextClient>2000000000) + idNextClient=0; + } while(clientIdFound(idNextClient)); + Client newClient; + newClient.id = idNextClient; + newClient.socket = clientSocket; + newClient.haveData = false; + newClient.firstProtocolReplied = false; + newClient.detectTimeOut = new QTimer(this); + newClient.detectTimeOut->setSingleShot(true); + newClient.detectTimeOut->setInterval(CATCHCOPY_COMMUNICATION_TIMEOUT); + newClient.name="Unknown"; + connect(newClient.socket, static_cast<void(QLocalSocket::*)(QLocalSocket::LocalSocketError)>(&QLocalSocket::error), this, &ServerCatchcopy::connectionError,Qt::QueuedConnection); + connect(newClient.socket, &QIODevice::readyRead, this, &ServerCatchcopy::readyRead,Qt::QueuedConnection); + connect(newClient.socket, &QLocalSocket::disconnected, this, &ServerCatchcopy::disconnected,Qt::QueuedConnection); + connect(newClient.detectTimeOut,&QTimer::timeout, this, &ServerCatchcopy::checkTimeOut,Qt::QueuedConnection); + clientList << newClient; + emit connectedClient(newClient.id); + } + } +} + +bool ServerCatchcopy::clientIdFound(const uint32_t &id) const +{ + int index=0; + while(index<clientList.size()) + { + if(clientList.at(index).id==id) + return true; + index++; + } + return false; +} + +/// \brief new error at connexion +void ServerCatchcopy::connectionError(const QLocalSocket::LocalSocketError &error) +{ + QLocalSocket *socket=qobject_cast<QLocalSocket *>(QObject::sender()); + if(socket==NULL) + { + qWarning() << "Unlocated client socket!"; + return; + } + int index=0; + while(index<clientList.size()) + { + if(clientList.at(index).socket==socket) + { + if(error!=QLocalSocket::PeerClosedError) + { + qWarning() << "error detected for the client: " << index << ", type: " << error; + clientList.at(index).socket->disconnectFromServer(); + } + return; + } + index++; + } +} + +void ServerCatchcopy::disconnected() +{ + QLocalSocket *socket=qobject_cast<QLocalSocket *>(QObject::sender()); + if(socket==NULL) + { + qWarning() << "Unlocated client socket!"; + return; + } + int index=0; + while(index<clientList.size()) + { + if(clientList.at(index).socket==socket) + { + const uint32_t &id=clientList.at(index).id; + //ClientList.at(index).socket->disconnectFromServer();//already disconnected + delete clientList.at(index).detectTimeOut; + clientList.at(index).socket->deleteLater(); + clientList.removeAt(index); + emit disconnectedClient(id); + return; + } + index++; + } + qWarning() << "Unlocated client!"; +} + +void ServerCatchcopy::disconnectClient(const uint32_t &id) +{ + int index=0; + while(index<clientList.size()) + { + if(clientList.at(index).id==id) + { + clientList.at(index).socket->disconnectFromServer(); + return; + } + index++; + } + qWarning() << "Unlocated client!"; +} + +void ServerCatchcopy::readyRead() +{ + QLocalSocket *socket=qobject_cast<QLocalSocket *>(QObject::sender()); + if(socket==NULL) + { + qWarning() << "Unlocated client socket!"; + return; + } + int index=0; + while(index<clientList.size()) + { + if(clientList.at(index).socket==socket) + { + while(socket->bytesAvailable()>0) + { + if(!clientList.at(index).haveData) + { + if(socket->bytesAvailable()<(int)sizeof(int))//ignore because first int is cuted! + { + /*error_string="Bytes available is not sufficient to do a int"; + emit error(error_string); + disconnectClient(ClientList.at(index).id);*/ + return; + } + QDataStream in(socket); + in.setVersion(QDataStream::Qt_4_4); + in >> clientList[index].dataSize; + clientList[index].dataSize-=sizeof(int); + if(clientList.at(index).dataSize>64*1024*1024) // 64MB + { + error_string="Reply size is >64MB, seam corrupted"; + emit communicationError(error_string); + disconnectClient(clientList.at(index).id); + return; + } + if(clientList.at(index).dataSize<(int)(sizeof(int) //orderId + + sizeof(uint32_t) //returnCode + + sizeof(uint32_t) //string list size + )) + { + error_string="Reply size is too small to have correct code"; + emit communicationError(error_string); + disconnectClient(clientList.at(index).id); + return; + } + clientList[index].haveData=true; + } + if(clientList.at(index).dataSize<(clientList.at(index).data.size()+socket->bytesAvailable())) + clientList[index].data.append(socket->read(clientList.at(index).dataSize-clientList.at(index).data.size())); + else + clientList[index].data.append(socket->readAll()); + if(clientList.at(index).dataSize==(uint32_t)clientList.at(index).data.size()) + { + if(!checkDataIntegrity(clientList.at(index).data)) + { + emit communicationError("Data integrity wrong: "+QString(clientList.at(index).data.toHex()).toStdString()); + clientList[index].data.clear(); + clientList[index].haveData=false; + qWarning() << "Data integrity wrong"; + return; + } + std::vector<std::string> returnList; + QStringList returnListQt; + uint32_t orderId; + QDataStream in(clientList.at(index).data); + in.setVersion(QDataStream::Qt_4_4); + in >> orderId; + in >> returnListQt; + { + int index=0; + while(index<returnListQt.size()) + { + returnList.push_back(returnListQt.at(index).toStdString()); + index++; + } + } + clientList[index].data.clear(); + clientList[index].haveData=false; + if(clientList.at(index).queryNoReplied.contains(orderId)) + { + emit communicationError("Duplicate query id"); + qWarning() << "Duplicate query id"; + return; + } + clientList[index].queryNoReplied << orderId; + if(!clientList.at(index).firstProtocolReplied && returnList.size()==2 && returnList.front()=="protocol") + { + clientList[index].firstProtocolReplied=true; + protocolSupported(clientList.at(index).id,orderId,(returnList.back()==CATCHCOPY_PROTOCOL_VERSION)); + } + else + parseInput(clientList.at(index).id,orderId,returnList); + } + } + if(clientList.at(index).haveData) + clientList.at(index).detectTimeOut->start(); + else + clientList.at(index).detectTimeOut->stop(); + return; + } + index++; + } + emit error("Unallocated client!"); + qWarning() << "Unallocated client!"; +} + +bool ServerCatchcopy::checkDataIntegrity(const QByteArray &data) +{ + uint32_t orderId; + qint32 listSize; + QDataStream in(data); + in.setVersion(QDataStream::Qt_4_4); + in >> orderId; + in >> listSize; + if(listSize>65535) + { + emit error("List size is wrong"); + qWarning() << "List size is wrong"; + return false; + } + int index=0; + while(index<listSize) + { + qint32 stringSize; + in >> stringSize; + if(stringSize>65535) + { + emit error("String size is wrong"); + return false; + } + if(stringSize>(in.device()->size()-in.device()->pos())) + { + emit error(QStringLiteral("String size is greater than the data: %1>(%2-%3)").arg(stringSize).arg(in.device()->size()).arg(in.device()->pos()).toStdString()); + return false; + } + in.device()->seek(in.device()->pos()+stringSize); + index++; + } + if(in.device()->size()!=in.device()->pos()) + { + emit error("Remaining data after string list parsing"); + return false; + } + return true; +} + +void ServerCatchcopy::parseInput(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList) +{ + const ServerCatchcopy::inputReturnType returnVal=parseInputCurrentProtocol(client,orderId,returnList); + switch(returnVal) + { + case Ok: + emit newQuery(client,orderId,returnList); + break; + case Replied: + break; + case ExtensionWrong: + //protocolExtensionSupported(client,orderId,false); + break; + case WrongArgument: + incorrectArgument(client,orderId); + break; + case WrongArgumentListSize: + incorrectArgumentListSize(client,orderId); + break; + case UnknowOrder: + emit error("Unknown query: "+std::to_string(returnVal)+", with client: "+std::to_string(client)+", orderId: "+std::to_string(orderId)+", returnList: "+stringimplode2(returnList,", ")); + qWarning() << "Unknown query"; + unknowOrder(client,orderId); + break; + } +} + +ServerCatchcopy::inputReturnType ServerCatchcopy::parseInputCurrentProtocol(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList) +{ + if(returnList.size()==0) + return WrongArgumentListSize; + //if is supported + std::string firstArgument=returnList.front(); + if(firstArgument=="protocol") + { + if(returnList.size()!=2) + return WrongArgumentListSize; + emit askProtocolCompatibility(client,orderId,returnList.back()); + return Ok; + } + else if(firstArgument=="protocol extension") + { + if(returnList.size()>3 || returnList.size()<2) + return WrongArgumentListSize; + return ExtensionWrong; + } + else if(firstArgument=="client") + { + if(returnList.size()!=2) + return WrongArgumentListSize; + int index=0; + int size=clientList.size(); + while(index<size) + { + if(clientList.at(index).id==client) + { + clientList[index].name=returnList.back(); + break; + } + index++; + } + emit clientName(client,returnList.back()); + clientRegistered(client,orderId); + return Replied; + } + else if(firstArgument=="server") + { + if(returnList.size()!=2) + return WrongArgumentListSize; + if(returnList.back()!="name?") + return WrongArgument; + serverName(client,orderId,name); + return Replied; + } + else if(firstArgument=="cp") + { + if(returnList.size()<3) + return WrongArgumentListSize; + std::vector<std::string> sourceList=returnList; + sourceList.erase(sourceList.cbegin()); + sourceList.pop_back(); + emitNewCopy(client,orderId,sourceList,returnList.back()); + return Ok; + } + else if(firstArgument=="cp-?") + { + if(returnList.size()<2) + return WrongArgumentListSize; + std::vector<std::string> sourceList=returnList; + sourceList.erase(sourceList.cbegin()); + emitNewCopyWithoutDestination(client,orderId,sourceList); + return Ok; + } + else if(firstArgument=="mv") + { + if(returnList.size()<3) + return WrongArgumentListSize; + std::vector<std::string> sourceList=returnList; + sourceList.erase(sourceList.cbegin()); + sourceList.pop_back(); + emitNewMove(client,orderId,sourceList,returnList.back()); + return Ok; + } + else if(firstArgument=="mv-?") + { + if(returnList.size()<2) + return WrongArgumentListSize; + std::vector<std::string> sourceList=returnList; + sourceList.erase(sourceList.cbegin()); + emitNewMoveWithoutDestination(client,orderId,sourceList); + return Ok; + } + else //if is not supported + return UnknowOrder; +} + +void ServerCatchcopy::emitNewCopyWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources) +{ + LinkGlobalToLocalClient newAssociation; + newAssociation.idClient=client; + newAssociation.orderId=orderId; + newAssociation.globalOrderId=incrementOrderId(); + LinkGlobalToLocalClientList << newAssociation; + emit newCopyWithoutDestination(newAssociation.globalOrderId,sources); +} + +void ServerCatchcopy::emitNewCopy(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination) +{ + LinkGlobalToLocalClient newAssociation; + newAssociation.idClient=client; + newAssociation.orderId=orderId; + newAssociation.globalOrderId=incrementOrderId(); + LinkGlobalToLocalClientList << newAssociation; + emit newCopy(newAssociation.globalOrderId,sources,destination); +} + +void ServerCatchcopy::emitNewMoveWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources) +{ + LinkGlobalToLocalClient newAssociation; + newAssociation.idClient=client; + newAssociation.orderId=orderId; + newAssociation.globalOrderId=incrementOrderId(); + LinkGlobalToLocalClientList << newAssociation; + emit newMoveWithoutDestination(newAssociation.globalOrderId,sources); +} + +void ServerCatchcopy::emitNewMove(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination) +{ + LinkGlobalToLocalClient newAssociation; + newAssociation.idClient=client; + newAssociation.orderId=orderId; + newAssociation.globalOrderId=incrementOrderId(); + LinkGlobalToLocalClientList << newAssociation; + emit newMove(newAssociation.globalOrderId,sources,destination); +} + +void ServerCatchcopy::copyFinished(const uint32_t &globalOrderId,const bool &withError) +{ + int index=0; + while(index<LinkGlobalToLocalClientList.size()) + { + if(LinkGlobalToLocalClientList.at(index).globalOrderId==globalOrderId) + { + copyFinished(LinkGlobalToLocalClientList.at(index).idClient,LinkGlobalToLocalClientList.at(index).orderId,withError); + LinkGlobalToLocalClientList.removeAt(index); + orderList.removeOne(globalOrderId); + return; + } + index++; + } +} + +void ServerCatchcopy::copyCanceled(const uint32_t &globalOrderId) +{ + int index=0; + while(index<LinkGlobalToLocalClientList.size()) + { + if(LinkGlobalToLocalClientList.at(index).globalOrderId==globalOrderId) + { + copyCanceled(LinkGlobalToLocalClientList.at(index).idClient,LinkGlobalToLocalClientList.at(index).orderId); + LinkGlobalToLocalClientList.removeAt(index); + orderList.removeOne(globalOrderId); + return; + } + index++; + } +} + +void ServerCatchcopy::reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::string &returnString) +{ + std::vector<std::string> returnList; + returnList.push_back(returnString); + reply(client,orderId,returnCode,returnList); +} + +void ServerCatchcopy::reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::vector<std::string> &returnList) +{ + int index=0; + while(index<clientList.size()) + { + if(clientList.at(index).id==client) + { + if(clientList.at(index).socket->isValid() && clientList.at(index).socket->state()==QLocalSocket::ConnectedState) + { + if(!clientList.at(index).queryNoReplied.contains(orderId)) + { + qWarning() << "Reply to missing query or previously replied"; + return; + } + clientList[index].queryNoReplied.removeOne(orderId); + //cut string list and send it as block of 32KB + QByteArray block; + QDataStream out(&block, QIODevice::WriteOnly); + out.setVersion(QDataStream::Qt_4_4); + out << int(0); + out << orderId; + out << returnCode; + QStringList returnListQt; + { + unsigned int index=0; + while(index<returnList.size()) + { + returnListQt << QString::fromStdString(returnList.at(index)); + index++; + } + } + out << returnListQt; + out.device()->seek(0); + out << block.size(); + do + { + QByteArray blockToSend; + int byteWriten; + blockToSend=block.left(32*1024);//32KB + block.remove(0,blockToSend.size()); + byteWriten = clientList[index].socket->write(blockToSend); + if(!clientList[index].socket->isValid()) + { + error_string="Socket is not valid"; + emit error(error_string); + return; + } + if(clientList[index].socket->error()!=QLocalSocket::UnknownSocketError && clientList[index].socket->error()!=QLocalSocket::PeerClosedError) + { + error_string="Error with socket: "+clientList[index].socket->errorString().toStdString(); + emit error(error_string); + return; + } + if(blockToSend.size()!=byteWriten) + { + error_string="All the bytes have not be written"; + emit error(error_string); + return; + } + } + while(block.size()); + } + else + { + error_string="Socket is not valid or not connected"; + emit error(error_string); + } + return; + } + index++; + } + qWarning() << "Client id not found:" << client; +} + +void ServerCatchcopy::protocolSupported(const uint32_t &client,const uint32_t &orderId,const bool &value) +{ + if(value) + reply(client,orderId,1000,"protocol supported"); + else + reply(client,orderId,5003,"protocol not supported"); +} + +void ServerCatchcopy::incorrectArgumentListSize(const uint32_t &client,const uint32_t &orderId) +{ + reply(client,orderId,5000,"incorrect argument list size"); +} + +void ServerCatchcopy::incorrectArgument(const uint32_t &client,const uint32_t &orderId) +{ + reply(client,orderId,5001,"incorrect argument"); +} + +void ServerCatchcopy::clientRegistered(const uint32_t &client,const uint32_t &orderId) +{ + reply(client,orderId,1003,"client registered"); +} + +void ServerCatchcopy::serverName(const uint32_t &client,const uint32_t &orderId,const std::string &name) +{ + reply(client,orderId,1004,name); +} + +void ServerCatchcopy::copyFinished(const uint32_t &client,const uint32_t &orderId,const bool &withError) +{ + if(!withError) + reply(client,orderId,1005,"finished"); + else + reply(client,orderId,1006,"finished with error(s)"); +} + +void ServerCatchcopy::copyCanceled(const uint32_t &client,const uint32_t &orderId) +{ + reply(client,orderId,1007,"canceled"); +} + +void ServerCatchcopy::unknowOrder(const uint32_t &client,const uint32_t &orderId) +{ + reply(client,orderId,5002,"unknown order"); +} + +void ServerCatchcopy::checkTimeOut() +{ + QTimer *timer=qobject_cast<QTimer *>(QObject::sender()); + if(timer==NULL) + { + qWarning() << "Unallocated client timer!"; + return; + } + int index=0; + while(index<clientList.size()) + { + if(clientList.at(index).detectTimeOut==timer) + { + clientList.at(index).detectTimeOut->stop(); + if(clientList.at(index).haveData) + { + error_string="The client is too long to send the next part of the reply: "+QString(clientList.at(index).data.toHex()).toStdString(); + clientList[index].haveData=false; + clientList[index].data.clear(); + clientList.at(index).socket->disconnectFromServer(); + emit error(error_string); + } + return; + } + index++; + } +} + +uint32_t ServerCatchcopy::incrementOrderId() +{ + do + { + nextOrderId++; + if(nextOrderId>2000000) + nextOrderId=0; + } while(orderList.contains(nextOrderId)); + return nextOrderId; +} diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h new file mode 100644 index 0000000..85acff9 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/ServerCatchcopy.h @@ -0,0 +1,144 @@ +/** \file ServerCatchcopy.h +\brief Define the server of catchcopy +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef SERVERCATCHCOPY_H +#define SERVERCATCHCOPY_H + +#include <QObject> +#include <QLocalSocket> +#include <QLocalServer> +#include <vector> +#include <string> +#include <QByteArray> +#include <QTimer> + +/// \brief Define the server of catchcopy +class ServerCatchcopy : public QObject +{ + Q_OBJECT + public: + ServerCatchcopy(); + ~ServerCatchcopy(); + /// \brief return if is listening + bool isListening() const; + /// \brief try listen + bool listen(); + /// \brief try close the server + void close(); + /// \brief get the error string on the QLocalServer + const std::string errorStringServer() const; + /// \brief get the general error string + const std::string errorString() const; + /// \brief set the name of the server + void setName(const std::string & name); + /// \brief get the name + std::string getName() const; + /// \brief to get a client list + std::vector<std::string> clientsList() const; + private: + std::string pathSocket; + std::string name; + std::string error_string; + QLocalServer server; + uint32_t idNextClient; + struct Client + { + uint32_t id; + QLocalSocket *socket; + QByteArray data; + bool haveData; + uint32_t dataSize; + bool firstProtocolReplied; + QList<uint32_t> queryNoReplied; + QTimer *detectTimeOut; + std::string name; + }; + QList<Client> clientList; + struct LinkGlobalToLocalClient + { + uint32_t idClient; + uint32_t orderId; + uint32_t globalOrderId; + }; + QList<LinkGlobalToLocalClient> LinkGlobalToLocalClientList; + enum inputReturnType{Ok,Replied,ExtensionWrong,WrongArgument,WrongArgumentListSize,UnknowOrder}; + inputReturnType parseInputCurrentProtocol(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList); + bool clientIdFound(const uint32_t &id) const; + uint32_t nextOrderId; + QList<uint32_t> orderList; + uint32_t incrementOrderId(); + void emitNewCopyWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources); + void emitNewCopy(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination); + void emitNewMoveWithoutDestination(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources); + void emitNewMove(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination); + bool checkDataIntegrity(const QByteArray &data); + protected: + void parseInput(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList); + private slots: + void newConnection(); + void connectionError(const QLocalSocket::LocalSocketError &error); + void disconnected(); + void readyRead(); + void checkTimeOut(); + public slots: + /// \brief disconnect one client + void disconnectClient(const uint32_t &id); + /// \brief reply to a client with std::vector<std::string> + void reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::vector<std::string> &returnList); + /// \brief reply to a client + void reply(const uint32_t &client,const uint32_t &orderId,const uint32_t &returnCode,const std::string &returnString); + //reply + /// \brief send if the protocol is supported + void protocolSupported(const uint32_t &client,const uint32_t &orderId,const bool &value); + /// \brief send incorrect arguement list size + void incorrectArgumentListSize(const uint32_t &client,const uint32_t &orderId); + /// \brief send incorrect arguement + void incorrectArgument(const uint32_t &client,const uint32_t &orderId); + /// \brief the client is registred + void clientRegistered(const uint32_t &client,const uint32_t &orderId); + /// \brief send the server name + void serverName(const uint32_t &client,const uint32_t &orderId,const std::string &name); + /// \brief send the copy is finished + void copyFinished(const uint32_t &client,const uint32_t &orderId,const bool &withError); + /// \brief send the copy is canceled + void copyCanceled(const uint32_t &client,const uint32_t &orderId); + /// \brief send the copy is finished by global is order + void copyFinished(const uint32_t &globalOrderId,const bool &withError); + /// \brief send copy cancel by global is order + void copyCanceled(const uint32_t &globalOrderId); + /// \brief send the unknow order + void unknowOrder(const uint32_t &client,const uint32_t &orderId); + signals: + /// \brief send connected client + void connectedClient(const uint32_t &id); + /// \brief send disconnect client + void disconnectedClient(const uint32_t &id); + /// \brief have new query + void newQuery(const uint32_t &client,const uint32_t &orderId,const std::vector<std::string> &returnList); + /// \brief have new error + void error(const std::string &error); + void communicationError(const std::string &error); + //query + /// \brief ask the protocol compatility + void askProtocolCompatibility(const uint32_t &client,const uint32_t &orderId,const std::string &version); + /// \brief ask protocol extension + void askProtocolExtension(const uint32_t &client,const uint32_t &orderId,const std::string &extension); + /// \brief ask protocol extension with version + void askProtocolExtension(const uint32_t &client,const uint32_t &orderId,const std::string &extension,const std::string &version); + /// \brief send the client name, without query id + void clientName(const uint32_t &client,const std::string &name); + /// \brief send the client have ask the server name + void askServerName(const uint32_t &client,const uint32_t &orderId); + /// \brief copy is send, by globalOrderId, without destination + void newCopyWithoutDestination(const uint32_t &globalOrderId,const std::vector<std::string> &sources); + /// \brief copy is send, by globalOrderId, with destination + void newCopy(const uint32_t &globalOrderId,const std::vector<std::string> &sources,const std::string &destination); + /// \brief move is send, by globalOrderId, without destination + void newMoveWithoutDestination(const uint32_t &globalOrderId,const std::vector<std::string> &sources); + /// \brief move is send, by globalOrderId, with destination + void newMove(const uint32_t &globalOrderId,const std::vector<std::string> &sources,const std::string &destination); +}; + +#endif // SERVERCATCHCOPY_H diff --git a/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/VariablesCatchcopy.h b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/VariablesCatchcopy.h new file mode 100644 index 0000000..135c087 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/catchcopy-api-0002/VariablesCatchcopy.h @@ -0,0 +1,13 @@ +/** \file VariablesCatchcopy.h +\brief Define the variable for catchcopy +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef VARIABLECATCHCOPY_H +#define VARIABLECATCHCOPY_H + +#define CATCHCOPY_PROTOCOL_VERSION "0002" +#define CATCHCOPY_COMMUNICATION_TIMEOUT 200 + +#endif // VARIABLECATCHCOPY_H + diff --git a/plugins/Listener/catchcopy-v0002/documentation.dox b/plugins/Listener/catchcopy-v0002/documentation.dox new file mode 100644 index 0000000..51aa937 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/documentation.dox @@ -0,0 +1,32 @@ +/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/ + +/* + This file contains NO source code, just some documentation for doxygen to + parse. +*/ + +/*! + \mainpage catchcopy-v0002 + + \section mainpage_overview Overview + + Is the default listener to wait a copy/move. It use the catchcopy protocol.\n + More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>. + + \section mainpage_platforms Platforms + + Ultracopier might be usable in all environments where you find Qt 5.\n + Ultracopier requires Qt 5.0 or newer. Tested on Qt 5.0. + + \section mainpage_downloads Downloads + + You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ... + + \section mainpage_algorithm Protocol + + The protocol in version 0.0.0.2 is used, you can see the documentation on <a href="http://catchcopy.first-world.info/">Catchcopy web site</a> + + \section license GPL Version 3 + The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4. + +*/ diff --git a/plugins/Listener/catchcopy-v0002/informations.xml b/plugins/Listener/catchcopy-v0002/informations.xml new file mode 100644 index 0000000..9efc7ce --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/informations.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Listener for catchcopy v0002]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Écouteur pour catchcopy v0002]]></title> + <!-- What kind of plugin this is --> + <category>Listener</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>windows-x86</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Listener for catchcopy v0002. Allow to receive copy list from plugin/explorer compatible with catchcopy.]]></description> + <description xml:lang="fr"><![CDATA[Écouteur pour catchcopy v0002. Permet de recevoir un liste de copie venant d'un plugin/explorateur avec catchcopy.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>catchcopy-v0002</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins/Listener/catchcopy-v0002/listener.cpp b/plugins/Listener/catchcopy-v0002/listener.cpp new file mode 100644 index 0000000..e45a08b --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/listener.cpp @@ -0,0 +1,123 @@ +#include "listener.h" +#include "catchcopy-api-0002/ExtraSocketCatchcopy.h" +#include "../../../cpp11addition.h" + +Listener::Listener() +{ + server.setName(tr("Ultracopier").toStdString()); + connect(&server,&ServerCatchcopy::newCopyWithoutDestination, this,&Listener::copyWithoutDestination); + connect(&server,&ServerCatchcopy::newCopy, this,&Listener::copy); + connect(&server,&ServerCatchcopy::newMoveWithoutDestination, this,&Listener::moveWithoutDestination); + connect(&server,&ServerCatchcopy::newMove, this,&Listener::move); + connect(&server,&ServerCatchcopy::error, this,&Listener::errorInternal); + connect(&server,&ServerCatchcopy::communicationError, this,&Listener::communicationErrorInternal); + connect(&server,&ServerCatchcopy::clientName, this,&Listener::clientName); + connect(&server,&ServerCatchcopy::clientName, this,&Listener::newClientList); + connect(&server,&ServerCatchcopy::connectedClient, this,&Listener::newClientList); + connect(&server,&ServerCatchcopy::disconnectedClient, this,&Listener::newClientList); + +} + +void Listener::listen() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: "+ExtraSocketCatchcopy::pathSocket()); + if(server.listen()) + emit newState(Ultracopier::FullListening); + else + emit newState(Ultracopier::NotListening); +} + +void Listener::close() +{ + server.close(); + emit newState(Ultracopier::NotListening); +} + +const std::string Listener::errorString() const +{ + return server.errorString(); +} + +void Listener::setResources(OptionInterface * options, const std::string &writePath, const std::string &pluginPath, const bool &portableVersion) +{ + Q_UNUSED(options); + Q_UNUSED(writePath); + Q_UNUSED(pluginPath); + Q_UNUSED(portableVersion); +} + +/// \brief to get the options widget, NULL if not have +QWidget * Listener::options() +{ + return NULL; +} + +/// \brief to get a client list +std::vector<std::string> Listener::clientsList() const +{ + return server.clientsList(); +} + +void Listener::transferFinished(const uint32_t &orderId, const bool &withError) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, orderId: "+std::to_string(orderId)+", withError: "+std::to_string(withError)); + server.copyFinished(orderId,withError); +} + +void Listener::transferCanceled(const uint32_t &orderId) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, orderId: "+std::to_string(orderId)); + server.copyCanceled(orderId); +} + +/// \brief to reload the translation, because the new language have been loaded +void Listener::newLanguageLoaded() +{ +} + +void Listener::errorInternal(const std::string &string) +{ + Q_UNUSED(string); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"warning emited from Catchcopy lib: "+string); +} + +void Listener::communicationErrorInternal(const std::string &string) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"warning emited from Catchcopy lib: "+string); + emit error(string); +} + +void Listener::clientName(uint32_t client,std::string name) +{ + Q_UNUSED(client); + Q_UNUSED(name); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("clientName: %1, for the id: %2").arg(QString::fromStdString(name)).arg(client).toStdString()); +} + +void Listener::copyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("copyWithoutDestination(%1,%2)") + .arg(orderId) + .arg(QString::fromStdString(stringimplode(sources,";"))) + .toStdString() + ); + emit newCopyWithoutDestination(orderId,sources); +} + +void Listener::copy(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("copy(%1,%2,%3)").arg(orderId).arg(QString::fromStdString(stringimplode(sources,";")).arg(QString::fromStdString(destination))).toStdString()); + emit newCopy(orderId,sources,destination); +} + +void Listener::moveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("moveWithoutDestination(%1,%2)").arg(orderId).arg(QString::fromStdString(stringimplode(sources,";"))).toStdString()); + emit newMoveWithoutDestination(orderId,sources); +} + +void Listener::move(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,QStringLiteral("move(%1,%2,%3)").arg(orderId).arg(QString::fromStdString(stringimplode(sources,";")).arg(QString::fromStdString(destination))).toStdString()); + emit newMove(orderId,sources,destination); +} diff --git a/plugins/Listener/catchcopy-v0002/listener.h b/plugins/Listener/catchcopy-v0002/listener.h new file mode 100644 index 0000000..8cab248 --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/listener.h @@ -0,0 +1,59 @@ +/** \file listener.h +\brief Define the server compatible with Ultracopier interface +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef SERVER_H +#define SERVER_H + +#include <string> +#ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT +#include <QtPlugin> +#endif + +#include "Environment.h" +#include "../../../interface/PluginInterface_Listener.h" +#include "catchcopy-api-0002/ServerCatchcopy.h" + +/// \brief Define the server compatible with Ultracopier interface +class Listener : public PluginInterface_Listener +{ + Q_OBJECT + #ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT + Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.Listener/1.0.0.0" FILE "plugin.json") + Q_INTERFACES(PluginInterface_Listener) + #endif +public: + Listener(); + /// \brief try listen the copy/move + void listen(); + /// \brief stop listen to copy/move + void close(); + /// \brief return the error strong + const std::string errorString() const; + /// \brief set resources for this plugins + void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion); + /// \brief to get the options widget, NULL if not have + QWidget * options(); + /// \brief to get a client list + std::vector<std::string> clientsList() const; +public slots: + /// \brief say to the client that's the copy/move is finished + void transferFinished(const uint32_t &orderId,const bool &withError); + /// \brief say to the client that's the copy/move is finished + void transferCanceled(const uint32_t &orderId); + /// \brief to reload the translation, because the new language have been loaded + void newLanguageLoaded(); +private: + ServerCatchcopy server; +private slots: + void errorInternal(const std::string &string); + void communicationErrorInternal(const std::string &string); + void clientName(uint32_t client,std::string name); + void copyWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources); + void copy(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination); + void moveWithoutDestination(const uint32_t &orderId,const std::vector<std::string> &sources); + void move(const uint32_t &orderId,const std::vector<std::string> &sources,const std::string &destination); +}; + +#endif // SERVER_H diff --git a/plugins/Listener/catchcopy-v0002/listener.pro b/plugins/Listener/catchcopy-v0002/listener.pro new file mode 100644 index 0000000..b21289a --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/listener.pro @@ -0,0 +1,26 @@ +CONFIG += c++11 +QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra" +mac:QMAKE_CXXFLAGS+="-stdlib=libc++" + +TEMPLATE = lib +CONFIG += plugin +QT += network +win32:LIBS += -ladvapi32 +HEADERS = \ + $$PWD/listener.h \ + $$PWD/catchcopy-api-0002/VariablesCatchcopy.h \ + $$PWD/catchcopy-api-0002/ServerCatchcopy.h \ + $$PWD/catchcopy-api-0002/ExtraSocketCatchcopy.h \ + $$PWD/Environment.h \ + $$PWD/Variable.h \ + $$PWD/DebugEngineMacro.h \ + $$PWD/StructEnumDefinition.h \ + $$PWD/../../../interface/PluginInterface_Listener.h \ + $$PWD/../../../cpp11addition.h +SOURCES = \ + $$PWD/listener.cpp \ + $$PWD/catchcopy-api-0002/ServerCatchcopy.cpp \ + $$PWD/catchcopy-api-0002/ExtraSocketCatchcopy.cpp \ + $$PWD/../../../cpp11addition.cpp \ + $$PWD/../../../cpp11additionstringtointcpp.cpp +TARGET = $$qtLibraryTarget(listener) diff --git a/plugins/Listener/catchcopy-v0002/plugin.json b/plugins/Listener/catchcopy-v0002/plugin.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/plugins/Listener/catchcopy-v0002/plugin.json @@ -0,0 +1 @@ +{}
\ No newline at end of file diff --git a/plugins/PluginLoader/catchcopy-v0002/DebugEngineMacro.h b/plugins/PluginLoader/catchcopy-v0002/DebugEngineMacro.h new file mode 100644 index 0000000..f9b5349 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/DebugEngineMacro.h @@ -0,0 +1,28 @@ +/** \file DebugEngineMacro.h +\brief Define the macro for the debug +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef DEBUGENGINEMACRO_H +#define DEBUGENGINEMACRO_H + +#ifdef WIN32 +# define __func__ __FUNCTION__ +#endif + +/// \brief Macro for the debug log +#ifdef ULTRACOPIER_PLUGIN_DEBUG + #if defined (__FILE__) && defined (__LINE__) + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__) + #else + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b) + #endif +#else // ULTRACOPIER_PLUGIN_DEBUG + #define ULTRACOPIER_DEBUGCONSOLE(a,b) void() +#endif // ULTRACOPIER_PLUGIN_DEBUG + +#endif // DEBUGENGINEMACRO_H + + + + diff --git a/plugins/PluginLoader/catchcopy-v0002/Environment.h b/plugins/PluginLoader/catchcopy-v0002/Environment.h new file mode 100644 index 0000000..265a5a6 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Environment.h @@ -0,0 +1,10 @@ +/** \file Environment.h
+\brief Define the environment variable and global function
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#include "Variable.h"
+/// \brief The global include
+#include "StructEnumDefinition.h"
+#include "DebugEngineMacro.h"
+
diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/ar/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/ar/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/ar/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/de/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/de/translation.ts new file mode 100644 index 0000000..dd3552b --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/de/translation.ts @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="de" sourcelanguage="en"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation>Im Normalfall ist für 32 oder 64-Bit-Beriebsysteme nur die jeweilige dll wichtig. Die UAC kann geöffnet werden um die dll zu laden.</translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translatorcomment>fix english</translatorcomment> + <translation>Alle DLLs sind wichtig (32Bit + 64Bit)</translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/el/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/el/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/el/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/en/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/en/translation.ts new file mode 100644 index 0000000..e4aa3ce --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/en/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="en"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/es/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/es/translation.ts new file mode 100644 index 0000000..577444d --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/es/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="es" sourcelanguage="en"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation>Todas las dlls son importantes</translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/fr/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/fr/translation.ts new file mode 100644 index 0000000..809ffee --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/fr/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr" sourcelanguage="en"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation>Dans la plupart des cas, seule la DLL 64 bits est importante pour un OS 64 bits, et la DLL 32 bits pour un OS 32 bits. Lorsqu'elle est importante,le chargement d'une DLL peut nécessiter une confirmation (UAC).</translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation>Toutes les dlls sont importantes</translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/hi/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/hi/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/hi/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/hu/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/hu/translation.ts new file mode 100644 index 0000000..30fce33 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/hu/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="hu"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation>Normális esetben csak a 64 bites dll fontos a 64 bites és a 32 bites dll a 32 bites operációs rendszer számára.Amikor lényeges, az UAC megnyitható a dll betöltéséhez.</translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation>Az összes dll fontos</translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/id/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/id/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/id/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/it/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/it/translation.ts new file mode 100644 index 0000000..ba6fb10 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/it/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="it_IT"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation>Solitamente, la dll 64Bit è indispensabile solo per sistemi operativi a 64Bit, e la dll 32Bit per sistemi operativi a 32Bits. Quando è necessario, l' UAC (il controllo dell'account utente) può essere aperto per caricare la dll.</translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation>Tutte le dll sono necessarie</translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/ja/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/ja/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/ja/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/ko/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/ko/translation.ts new file mode 100644 index 0000000..48aea93 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/ko/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="+17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+3"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/nl/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/nl/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/nl/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/no/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/no/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/no/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/pl/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/pl/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/pl/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/pt/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/pt/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/pt/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/ru/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/ru/translation.ts new file mode 100644 index 0000000..239b785 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/ru/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ru" sourcelanguage="en"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation>Все библиотеки являются важным</translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/th/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/th/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/th/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/tr/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/tr/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/tr/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/Languages/zh/translation.ts b/plugins/PluginLoader/catchcopy-v0002/Languages/zh/translation.ts new file mode 100644 index 0000000..a1b2048 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Languages/zh/translation.ts @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>OptionsWidget</name> + <message> + <location filename="../../OptionsWidget.ui" line="17"/> + <source>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../OptionsWidget.ui" line="20"/> + <source>All the dlls are importants</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.cpp b/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.cpp new file mode 100644 index 0000000..563e855 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.cpp @@ -0,0 +1,39 @@ +#include "OptionsWidget.h"
+#include "ui_OptionsWidget.h"
+
+OptionsWidget::OptionsWidget(QWidget *parent) :
+ QWidget(parent),
+ ui(new Ui::OptionsWidget)
+{
+ ui->setupUi(this);
+}
+
+OptionsWidget::~OptionsWidget()
+{
+ //delete ui;//attached to the main program, then it's the main program responsive the delete
+}
+
+void OptionsWidget::setAllDllIsImportant(bool allDllIsImportant)
+{
+ ui->allDllIsImportant->setChecked(allDllIsImportant);
+}
+
+void OptionsWidget::setDebug(bool Debug)
+{
+ ui->Debug->setChecked(Debug);
+}
+
+void OptionsWidget::on_allDllIsImportant_toggled(bool checked)
+{
+ emit sendAllDllIsImportant(checked);
+}
+
+void OptionsWidget::retranslate()
+{
+ ui->retranslateUi(this);
+}
+
+void OptionsWidget::on_Debug_toggled(bool checked)
+{
+ emit sendDebug(checked);
+}
diff --git a/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.h b/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.h new file mode 100644 index 0000000..cbbf61c --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.h @@ -0,0 +1,30 @@ +#ifndef OptionsWidget_H
+#define OptionsWidget_H
+
+#include <QWidget>
+
+namespace Ui {
+class OptionsWidget;
+}
+
+class OptionsWidget : public QWidget
+{
+ Q_OBJECT
+
+public:
+ explicit OptionsWidget(QWidget *parent = 0);
+ ~OptionsWidget();
+ void setAllDllIsImportant(bool allDllIsImportant);
+ void setDebug(bool Debug);
+ void retranslate();
+private:
+ Ui::OptionsWidget *ui;
+signals:
+ void sendAllDllIsImportant(bool allDllIsImportant);
+ void sendDebug(bool Debug);
+private slots:
+ void on_allDllIsImportant_toggled(bool checked);
+ void on_Debug_toggled(bool checked);
+};
+
+#endif // OptionsWidget_H
diff --git a/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.ui b/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.ui new file mode 100644 index 0000000..c741676 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/OptionsWidget.ui @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>OptionsWidget</class>
+ <widget class="QWidget" name="OptionsWidget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>195</width>
+ <height>58</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QCheckBox" name="allDllIsImportant">
+ <property name="toolTip">
+ <string>In normal case, only the dll 64Bits is important with 64Bits OS, and 32Bits dll with 32Bits OS. When it's important, the UAC can be opened to load the dll.</string>
+ </property>
+ <property name="text">
+ <string>All the dlls are importants</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="Debug">
+ <property name="text">
+ <string notr="true">Debug</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/plugins/PluginLoader/catchcopy-v0002/PlatformMacro.h b/plugins/PluginLoader/catchcopy-v0002/PlatformMacro.h new file mode 100644 index 0000000..f7586b0 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/PlatformMacro.h @@ -0,0 +1 @@ +#include "../../../PlatformMacro.h" diff --git a/plugins/PluginLoader/catchcopy-v0002/StructEnumDefinition.h b/plugins/PluginLoader/catchcopy-v0002/StructEnumDefinition.h new file mode 100644 index 0000000..c1758f4 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/StructEnumDefinition.h @@ -0,0 +1 @@ +#include "../../../StructEnumDefinition.h" diff --git a/plugins/PluginLoader/catchcopy-v0002/Variable.h b/plugins/PluginLoader/catchcopy-v0002/Variable.h new file mode 100644 index 0000000..90e1557 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/Variable.h @@ -0,0 +1,16 @@ +/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+//Un-comment this next line to put ultracopier plugin in debug mode
+#define ULTRACOPIER_PLUGIN_DEBUG
+//#define ULTRACOPIER_PLUGIN_ALL_IN_ONE
+
+#endif // VARIABLE_H
+
+
+
diff --git a/plugins/PluginLoader/catchcopy-v0002/documentation.dox b/plugins/PluginLoader/catchcopy-v0002/documentation.dox new file mode 100644 index 0000000..b9c9d13 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/documentation.dox @@ -0,0 +1,33 @@ +/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/ + +/* + This file contains NO source code, just some documentation for doxygen to + parse. +*/ + +/*! + \mainpage catchcopy-v0002 + + \section mainpage_overview Overview + + Is the plugin to load the catchcopy plugin into the windows file manager. Mostly it use the command: regsvr32 /s catchcopy32.dll/catchcopy64.dll\n + More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>. + + \section mainpage_platforms Platforms + + Ultracopier might be usable in all environments where you find Qt 5.\n + Ultracopier requires Qt 5.0 or newer. Tested on Qt 5.0. + + \section mainpage_downloads Downloads + + You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ... + + \section mainpage_algorithm Requirements + + You can see the documentation on <a href="http://catchcopy.first-world.info/">Catchcopy web site</a>. It use catchcopy32.dll/catchcopy64.dll as explorer plugin for the windows's file manager. Need it into the plugins.\n + In function if Ultracopier is compiled by portable version, try load the dll by other way. + + \section license GPL Version 3 + The code source is under GPL3. + +*/ diff --git a/plugins/PluginLoader/catchcopy-v0002/informations.xml b/plugins/PluginLoader/catchcopy-v0002/informations.xml new file mode 100644 index 0000000..95861a6 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/informations.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Plugin loader for catchcopy v0002]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Chargeur de plugin pour catchcopy v0002]]></title> + <!-- What kind of plugin this is --> + <category>PluginLoader</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>windows-x86</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Plugin loader for catchcopy v0002. Allow to receive copy list from plugin/explorer compatible with catchcopy.]]></description> + <description xml:lang="fr"><![CDATA[Chargeur de plugin pour catchcopy v0002. Permet de recevoir un liste de copie venant d'un plugin/explorateur avec catchcopy.]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>catchcopy-v0002</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins/PluginLoader/catchcopy-v0002/plugin.json b/plugins/PluginLoader/catchcopy-v0002/plugin.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/plugin.json @@ -0,0 +1 @@ +{}
\ No newline at end of file diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp new file mode 100644 index 0000000..363f372 --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.cpp @@ -0,0 +1,450 @@ +/** \file pluginLoader.cpp +\brief Define the session plugin loader test +\author alpha_one_x86 */ + +#include "pluginLoader.h" +#include "PlatformMacro.h" +#include "../../../cpp11addition.h" + +#include <QFile> +#include <QDir> +#ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE +#include <QCoreApplication> +#endif + +#ifdef ULTRACOPIER_PLUGIN_DEBUG + #define NORMAL_EXT "d.dll" + #define SECOND_EXT ".dll" +#else + #define NORMAL_EXT ".dll" + #define SECOND_EXT "d.dll" +#endif +#define CATCHCOPY_DLL_32 "catchcopy32" +#define CATCHCOPY_DLL_64 "catchcopy64" + +WindowsExplorerLoader::WindowsExplorerLoader() +{ + //set the startup value into the variable + dllChecked=false; + optionsEngine=NULL; + allDllIsImportant=false; + Debug=false; + needBeRegistred=false; + changeOfArchDetected=false; + is64Bits=false; + optionsWidget=new OptionsWidget(); + connect(optionsWidget,&OptionsWidget::sendAllDllIsImportant,this,&WindowsExplorerLoader::setAllDllIsImportant); + connect(optionsWidget,&OptionsWidget::sendDebug,this,&WindowsExplorerLoader::setDebug); + +#if defined(_M_X64)//64Bits + is64Bits=true; +#else//32Bits + char *arch=getenv("windir"); + if(arch!=NULL) + { + QDir dir; + if(dir.exists(QString(arch)+"\\SysWOW64\\")) + is64Bits=true; + /// \note commented because it do a crash at the startup, and useless, because is global variable, it should be removed only by the OS + //delete arch; + } +#endif +} + +WindowsExplorerLoader::~WindowsExplorerLoader() +{ + //delete optionsWidget;//attached to the main program, then it's the main program responsive the delete + setEnabled(false); +} + +void WindowsExplorerLoader::setEnabled(const bool &needBeRegistred) +{ + if(!checkExistsDll()) + { + #ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE + if(needBeRegistred) + emit newState(Ultracopier::Caught); + else + emit newState(Ultracopier::Uncaught); + #else + emit newState(Ultracopier::Uncaught); + #endif + if(!needBeRegistred) + correctlyLoaded.clear(); + return; + } + if(this->needBeRegistred==needBeRegistred) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("Double event dropped: %1").arg(needBeRegistred).toStdString()); + if(needBeRegistred) + emit newState(Ultracopier::Caught); + else + emit newState(Ultracopier::Uncaught); + return; + } + this->needBeRegistred=needBeRegistred; + unsigned int index=0; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("start, needBeRegistred: %1, allDllIsImportant: %2").arg(needBeRegistred).arg(allDllIsImportant).toStdString()); + + bool oneHaveFound=false; + index=0; + while(index<importantDll.size()) + { + if(QFile::exists(QString::fromStdString(pluginPath+importantDll.at(index)))) + { + oneHaveFound=true; + break; + } + index++; + } + if(!oneHaveFound) + { + index=0; + while(index<secondDll.size()) + { + if(QFile::exists(QString::fromStdString(pluginPath+secondDll.at(index)))) + { + oneHaveFound=true; + break; + } + index++; + } + } + if(!oneHaveFound) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"No dll have found"); + emit newState(Ultracopier::Uncaught); + if(!needBeRegistred) + correctlyLoaded.clear(); + return; + } + + index=0; + bool importantDll_is_loaded=false,secondDll_is_loaded=false; + bool importantDll_have_bug=false,secondDll_have_bug=false; + int importantDll_count=0,secondDll_count=0; + while(index<importantDll.size()) + { + if(!RegisterShellExtDll(pluginPath+importantDll.at(index),needBeRegistred, + !( + (needBeRegistred) + || + (!needBeRegistred && correctlyLoaded.find(importantDll.at(index))!=correctlyLoaded.cend()) + ) + )) + { + if(changeOfArchDetected) + { + setEnabled(needBeRegistred); + return; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the important dll have failed: "+importantDll.at(index)); + importantDll_have_bug=true; + } + else + { + importantDll_is_loaded=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the important dll have been loaded: "+importantDll.at(index)); + } + importantDll_count++; + index++; + } + index=0; + while(index<secondDll.size()) + { + if(!RegisterShellExtDll(pluginPath+secondDll.at(index),needBeRegistred, + !( + (needBeRegistred && allDllIsImportant) + || + (!needBeRegistred && correctlyLoaded.find(secondDll.at(index))!=correctlyLoaded.cend()) + ) + )) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"the second dll have failed: "+secondDll.at(index)); + secondDll_have_bug=true; + } + else + { + secondDll_is_loaded=true; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"the second dll have been loaded: "+secondDll.at(index)); + } + secondDll_count++; + index++; + } + + Ultracopier::CatchState importantDll_state,secondDll_state; + if(importantDll_count==0) + { + if(needBeRegistred) + importantDll_state=Ultracopier::Caught; + else + importantDll_state=Ultracopier::Uncaught; + } + else + { + if(importantDll_is_loaded) + { + if(!importantDll_have_bug) + importantDll_state=Ultracopier::Caught; + else + importantDll_state=Ultracopier::Semiuncaught; + } + else + importantDll_state=Ultracopier::Uncaught; + } + if(secondDll_count==0) + if(needBeRegistred) + secondDll_state=Ultracopier::Caught; + else + secondDll_state=Ultracopier::Uncaught; + else + { + if(secondDll_is_loaded) + { + if(!secondDll_have_bug) + secondDll_state=Ultracopier::Caught; + else + secondDll_state=Ultracopier::Semiuncaught; + } + else + secondDll_state=Ultracopier::Uncaught; + } + + if((importantDll_state==Ultracopier::Uncaught && secondDll_state==Ultracopier::Uncaught) || !needBeRegistred || (importantDll_count==0 && secondDll_count==0)) + emit newState(Ultracopier::Uncaught); + else if(importantDll_state==Ultracopier::Caught) + emit newState(Ultracopier::Caught); + else + emit newState(Ultracopier::Semiuncaught); + + if(!needBeRegistred) + correctlyLoaded.clear(); +} + +bool WindowsExplorerLoader::checkExistsDll() +{ + if(dllChecked) + { + if(importantDll.size()>0 || secondDll.size()>0) + return true; + else + return false; + } + dllChecked=true; + + if(is64Bits) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"64Bits is important"); + importantDll.push_back(CATCHCOPY_DLL_64); + secondDll.push_back(CATCHCOPY_DLL_32); + } + else + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"32Bits is important"); + importantDll.push_back(CATCHCOPY_DLL_32); + secondDll.push_back(CATCHCOPY_DLL_64); + } + + unsigned int index=0; + while(index<importantDll.size()) + { + if(!QFile::exists(QString::fromStdString(pluginPath+importantDll.at(index)+NORMAL_EXT))) + { + if(!QFile::exists(QString::fromStdString(pluginPath+importantDll.at(index)+SECOND_EXT))) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"file not found, drop to the list: "+ + pluginPath+importantDll.at(index)+NORMAL_EXT+ + " and "+ + pluginPath+importantDll.at(index)+SECOND_EXT + ); + importantDll.erase(importantDll.cbegin()+index); + index--; + } + else + importantDll[index]+=SECOND_EXT; + } + else + importantDll[index]+=NORMAL_EXT; + index++; + } + index=0; + while(index<secondDll.size()) + { + if(!QFile::exists(QString::fromStdString(pluginPath+secondDll.at(index)+NORMAL_EXT))) + { + if(!QFile::exists(QString::fromStdString(pluginPath+secondDll.at(index)+SECOND_EXT))) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning, + "file not found, drop to the list: "+pluginPath+secondDll.at(index)+NORMAL_EXT+ + " and "+pluginPath+secondDll.at(index)+SECOND_EXT + ); + secondDll.erase(secondDll.cbegin()+index); + index--; + } + else + secondDll[index]+=SECOND_EXT; + } + else + secondDll[index]+=NORMAL_EXT; + index++; + } + if(importantDll.size()>0 || secondDll.size()>0) + return true; + else + return false; +} + +void WindowsExplorerLoader::setResources(OptionInterface * options, const std::string &writePath, const std::string &pluginPath, const bool &portableVersion) +{ + Q_UNUSED(options); + Q_UNUSED(writePath); + Q_UNUSED(pluginPath); + Q_UNUSED(portableVersion); + #ifdef ULTRACOPIER_PLUGIN_ALL_IN_ONE + this->pluginPath=QCoreApplication::applicationDirPath().toStdString()+"/"; + #else + this->pluginPath=pluginPath; + #endif + this->optionsEngine=options; + if(optionsEngine!=NULL) + { + std::vector<std::pair<std::string, std::string> > KeysList; + KeysList.push_back(std::pair<std::string, std::string>("allDllIsImportant","false")); + KeysList.push_back(std::pair<std::string, std::string>("Debug","false")); + optionsEngine->addOptionGroup(KeysList); + allDllIsImportant=stringtobool(optionsEngine->getOptionValue("allDllIsImportant")); + Debug=stringtobool(optionsEngine->getOptionValue("Debug")); + optionsWidget->setAllDllIsImportant(allDllIsImportant); + optionsWidget->setDebug(Debug); + } +} + +bool WindowsExplorerLoader::RegisterShellExtDll(const std::string &dllPath, const bool &bRegister, const bool &quiet) +{ + if(Debug) + { + std::string message; + if(bRegister) + message+="Try load the dll: %1, and "+dllPath; + else + message+="Try unload the dll: %1, and "+dllPath; + if(quiet) + message+="don't open the UAC"; + else + message+="open the UAC if needed"; + QMessageBox::information(NULL,"Debug",QString::fromStdString(message)); + } + if(bRegister && correctlyLoaded.find(dllPath)!=correctlyLoaded.cend()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Try dual load: "+dllPath); + return false; + } + ////////////////////////////// First way to load ////////////////////////////// + QStringList arguments; + if(!Debug) + arguments.append("/s"); + if(!bRegister) + arguments.append("/u"); + arguments.append(QString::fromStdString(dllPath)); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start: regsvr32 "+arguments.join(" ").toStdString()); + int result; + #ifdef Q_OS_WIN32 + QProcess process; + process.start("regsvr32",arguments); + if(!process.waitForStarted()) + result=985; + else if(!process.waitForFinished()) + result=984; + else + { + result=process.exitCode(); + QString out=QString::fromLocal8Bit(process.readAllStandardOutput()); + QString outError=QString::fromLocal8Bit(process.readAllStandardError()); + if(!out.isEmpty()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 output: "+out.toStdString()); + if(!outError.isEmpty()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 error output: "+outError.toStdString()); + } + #else + result=0; + #endif + bool ok=false; + if(result==0) + { + if(bRegister) + correctlyLoaded.insert(dllPath); + ok=true; + } + #if ! defined(_M_X64) + if(result==999 && !changeOfArchDetected)//code of wrong arch for the dll + { + changeOfArchDetected=true; + std::vector<std::string> temp; + temp = importantDll; + secondDll = importantDll; + importantDll = temp; + return false; + } + #endif + if(result==5) + { + if(!quiet || (!bRegister && correctlyLoaded.find(dllPath)!=correctlyLoaded.cend())) + { + arguments.last()=QStringLiteral("\"%1\"").arg(arguments.last()); + ////////////////////////////// Last way to load ////////////////////////////// + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"try it in win32"); + // try with regsvr32, win32 because for admin dialog + + #ifdef Q_OS_WIN32 + wchar_t arrayArg[65535]; + int size_lenght=arguments.join(" ").toWCharArray(arrayArg); + //size_lenght*sizeof(wchar_t) + wcscpy(arrayArg+size_lenght*sizeof(wchar_t),TEXT("\0")); + SHELLEXECUTEINFO sei; + memset(&sei, 0, sizeof(sei)); + sei.cbSize = sizeof(sei); + sei.fMask = SEE_MASK_UNICODE; + sei.lpVerb = TEXT("runas"); + sei.lpFile = TEXT("regsvr32.exe"); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"in win32 mode: arrayArg: "+QString::fromWCharArray(arrayArg,size_lenght).toStdString()); + sei.lpParameters = arrayArg; + sei.nShow = SW_SHOW; + ok=ShellExecuteEx(&sei); + #else + ok=true; + #endif + if(ok && bRegister) + correctlyLoaded.insert(dllPath); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"not try because need be quiet: "+dllPath); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"regsvr32 terminated with: "+std::to_string(result)); + if(!bRegister) + correctlyLoaded.erase(dllPath); + return ok; +} + +/// \brief to get the options widget, NULL if not have +QWidget * WindowsExplorerLoader::options() +{ + return optionsWidget; +} + +void WindowsExplorerLoader::newLanguageLoaded() +{ + optionsWidget->retranslate(); +} + +void WindowsExplorerLoader::setAllDllIsImportant(bool allDllIsImportant) +{ + this->allDllIsImportant=allDllIsImportant; + optionsEngine->setOptionValue("allDllIsImportant",std::to_string(allDllIsImportant)); +} + +void WindowsExplorerLoader::setDebug(bool Debug) +{ + this->Debug=Debug; + optionsEngine->setOptionValue("Debug",std::to_string(Debug)); +} diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h new file mode 100644 index 0000000..d18248d --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.h @@ -0,0 +1,64 @@ +/** \file pluginLoader.h +\brief Define the plugin loader +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef PLUGIN_LOADER_TEST_H +#define PLUGIN_LOADER_TEST_H + +#include <QObject> +#include <QMessageBox> +#include <unordered_set> + +#include <QString> +#include <QStringList> +#include <QProcess> +#include <QSet> +#ifdef Q_OS_WIN32 + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> + #include <tlhelp32.h> +#endif + +#include "../../../interface/PluginInterface_PluginLoader.h" +#include "Environment.h" +#include "OptionsWidget.h" + +/// \brief \brief Define the plugin loader +class WindowsExplorerLoader : public PluginInterface_PluginLoader +{ + Q_OBJECT + Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.PluginLoader/1.2.4.0" FILE "plugin.json") + Q_INTERFACES(PluginInterface_PluginLoader) +public: + WindowsExplorerLoader(); + ~WindowsExplorerLoader(); + /// \brief try enable/disable the catching + void setEnabled(const bool &needBeRegistred); + /// \brief to set resources, writePath can be empty if read only mode + void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion); + /// \brief to get the options widget, NULL if not have + QWidget * options(); +public slots: + /// \brief to reload the translation, because the new language have been loaded + void newLanguageLoaded(); +private: + std::string pluginPath; + std::vector<std::string> importantDll,secondDll; + std::unordered_set<std::string> correctlyLoaded; + bool RegisterShellExtDll(const std::string &dllPath, const bool &bRegister,const bool &quiet); + bool checkExistsDll(); + bool dllChecked; + bool needBeRegistred; + OptionInterface * optionsEngine; + OptionsWidget *optionsWidget; + bool allDllIsImportant,Debug; + bool changeOfArchDetected,is64Bits; +private slots: + void setAllDllIsImportant(bool allDllIsImportant); + void setDebug(bool Debug); +}; + +#endif // PLUGIN_LOADER_TEST_H diff --git a/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro new file mode 100644 index 0000000..40d5e5e --- /dev/null +++ b/plugins/PluginLoader/catchcopy-v0002/pluginLoader.pro @@ -0,0 +1,53 @@ +CONFIG += c++11
+QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra"
+mac:QMAKE_CXXFLAGS+="-stdlib=libc++"
+
+QT += widgets
+TEMPLATE = lib
+CONFIG += plugin
+HEADERS = \
+ $$PWD/StructEnumDefinition.h \
+ $$PWD/pluginLoader.h \
+ $$PWD/DebugEngineMacro.h \
+ $$PWD/Environment.h \
+ $$PWD/Variable.h \
+ $$PWD/PlatformMacro.h \
+ $$PWD/../../../interface/PluginInterface_PluginLoader.h \
+ $$PWD/../../../cpp11addition.h \
+ $$PWD/OptionsWidget.h
+SOURCES = \
+ $$PWD/pluginLoader.cpp \
+ $$PWD/OptionsWidget.cpp \
+ $$PWD/../../../cpp11addition.cpp \
+ $$PWD/../../../cpp11additionstringtointcpp.cpp
+TARGET = $$qtLibraryTarget(pluginLoader)
+TRANSLATIONS += \
+ $$PWD/Languages/ar/translation.ts \
+ $$PWD/Languages/de/translation.ts \
+ $$PWD/Languages/el/translation.ts \
+ $$PWD/Languages/en/translation.ts \
+ $$PWD/Languages/es/translation.ts \
+ $$PWD/Languages/fr/translation.ts \
+ $$PWD/Languages/hi/translation.ts \
+ $$PWD/Languages/hu/translation.ts \
+ $$PWD/Languages/id/translation.ts \
+ $$PWD/Languages/it/translation.ts \
+ $$PWD/Languages/ja/translation.ts \
+ $$PWD/Languages/ko/translation.ts \
+ $$PWD/Languages/nl/translation.ts \
+ $$PWD/Languages/no/translation.ts \
+ $$PWD/Languages/pl/translation.ts \
+ $$PWD/Languages/pt/translation.ts \
+ $$PWD/Languages/ru/translation.ts \
+ $$PWD/Languages/th/translation.ts \
+ $$PWD/Languages/tr/translation.ts \
+ $$PWD/Languages/zh/translation.ts
+
+win32:LIBS += -lole32 -lshell32
+
+FORMS += \
+ $$PWD/OptionsWidget.ui
+
+CONFIG(static, static|shared) {
+DEFINES += ULTRACOPIER_PLUGIN_ALL_IN_ONE
+}
diff --git a/plugins/SessionLoader/Windows/DebugEngineMacro.h b/plugins/SessionLoader/Windows/DebugEngineMacro.h new file mode 100644 index 0000000..4582010 --- /dev/null +++ b/plugins/SessionLoader/Windows/DebugEngineMacro.h @@ -0,0 +1,28 @@ +/** \file DebugEngineMacro.h +\brief Define the macro for the debug +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef DEBUGENGINEMACRO_H +#define DEBUGENGINEMACRO_H + +#ifdef WIN32 +# define __func__ __FUNCTION__ +#endif + +/// \brief Macro for the debug log +#ifdef ULTRACOPIER_PLUGIN_DEBUG + #if defined (__FILE__) && defined (__LINE__) + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__) + #else + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b) + #endif +#else // ULTRACOPIER_DEBUG + #define ULTRACOPIER_DEBUGCONSOLE(a,b) void() +#endif // ULTRACOPIER_DEBUG + +#endif // DEBUGENGINEMACRO_H + + + + diff --git a/plugins/SessionLoader/Windows/Environment.h b/plugins/SessionLoader/Windows/Environment.h new file mode 100644 index 0000000..265a5a6 --- /dev/null +++ b/plugins/SessionLoader/Windows/Environment.h @@ -0,0 +1,10 @@ +/** \file Environment.h
+\brief Define the environment variable and global function
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#include "Variable.h"
+/// \brief The global include
+#include "StructEnumDefinition.h"
+#include "DebugEngineMacro.h"
+
diff --git a/plugins/SessionLoader/Windows/StructEnumDefinition.h b/plugins/SessionLoader/Windows/StructEnumDefinition.h new file mode 100644 index 0000000..c1758f4 --- /dev/null +++ b/plugins/SessionLoader/Windows/StructEnumDefinition.h @@ -0,0 +1 @@ +#include "../../../StructEnumDefinition.h" diff --git a/plugins/SessionLoader/Windows/Variable.h b/plugins/SessionLoader/Windows/Variable.h new file mode 100644 index 0000000..963d0c8 --- /dev/null +++ b/plugins/SessionLoader/Windows/Variable.h @@ -0,0 +1,15 @@ +/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+//Un-comment this next line to put ultracopier plugin in debug mode
+#define ULTRACOPIER_PLUGIN_DEBUG
+
+#endif // VARIABLE_H
+
+
+
diff --git a/plugins/SessionLoader/Windows/documentation.dox b/plugins/SessionLoader/Windows/documentation.dox new file mode 100644 index 0000000..bfe77f3 --- /dev/null +++ b/plugins/SessionLoader/Windows/documentation.dox @@ -0,0 +1,32 @@ +/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/ + +/* + This file contains NO source code, just some documentation for doxygen to + parse. +*/ + +/*! + \mainpage Windows + + \section mainpage_overview Overview + + It control if it loaded with the session. Use HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Run. \n + More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>. + + \section mainpage_platforms Platforms + + Ultracopier might be usable in all environments where you find Qt 5.\n + Ultracopier requires Qt 5.0 or newer. Tested on Qt 5.0. + + \section mainpage_downloads Downloads + + You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ... + + \section mainpage_algorithm Method + + It pass by the registry key to set/get it. + + \section license GPL Version 3 + The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4. + +*/ diff --git a/plugins/SessionLoader/Windows/informations.xml b/plugins/SessionLoader/Windows/informations.xml new file mode 100644 index 0000000..4bfbab1 --- /dev/null +++ b/plugins/SessionLoader/Windows/informations.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Session loader for windows]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Chargeur de session pour windows]]></title> + <!-- What kind of plugin this is --> + <category>SessionLoader</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>windows-x86</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[This plugin allow Ultracopier to be loaded at the session opening under windows]]></description> + <description xml:lang="fr"><![CDATA[Ce plugin permet de charger Ultracopier à l'ouverture de la sessions sous windows]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>Windows</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins/SessionLoader/Windows/plugin.json b/plugins/SessionLoader/Windows/plugin.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/plugins/SessionLoader/Windows/plugin.json @@ -0,0 +1 @@ +{}
\ No newline at end of file diff --git a/plugins/SessionLoader/Windows/sessionLoader.cpp b/plugins/SessionLoader/Windows/sessionLoader.cpp new file mode 100644 index 0000000..121bae0 --- /dev/null +++ b/plugins/SessionLoader/Windows/sessionLoader.cpp @@ -0,0 +1,80 @@ +/** \file session-loader.cpp +\brief Define the session plugin loader test +\author alpha_one_x86 */ + +#include "sessionLoader.h" + +#include <QCoreApplication> + +#ifdef Q_OS_WIN32 + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> +#else + #error "This plugin will only work under Windows" +#endif + +void WindowsSessionLoader::setEnabled(const bool &newValue) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, newValue: "+std::to_string(newValue)); + //set value into the variable + HKEY ultracopier_regkey; + //for autostart + QString runStringApp = "\"" + QCoreApplication::applicationFilePath() + "\""; + runStringApp.replace( "/", "\\" ); + wchar_t windowsString[255]; + runStringApp.toWCharArray(windowsString); + if(RegCreateKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Run"), 0, 0, REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS, 0, &ultracopier_regkey, 0)==ERROR_SUCCESS) + { + if(newValue) + { + if(RegSetValueEx(ultracopier_regkey, TEXT("ultracopier"), 0, REG_SZ, (BYTE*)windowsString, runStringApp.length()*2)!=ERROR_SUCCESS) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed"); + } + else + { + if(RegDeleteValue(ultracopier_regkey, TEXT("ultracopier"))!=ERROR_SUCCESS) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"newValue: "+std::to_string(newValue)+" failed"); + } + RegCloseKey(ultracopier_regkey); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"RegCreateKeyEx: Software\\Microsoft\\Windows\\CurrentVersion\\Run failed"); +} + +bool WindowsSessionLoader::getEnabled() const +{ + //return the value into the variable + HKEY ultracopier_regkey; + bool temp=false; + if(RegCreateKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Run"), 0, 0, REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS, 0, &ultracopier_regkey, 0)==ERROR_SUCCESS) + { + DWORD kSize=254; + if(RegQueryValueEx(ultracopier_regkey,TEXT("ultracopier"),NULL,NULL,(LPBYTE)0,&kSize) == ERROR_SUCCESS) + temp=true; + RegCloseKey(ultracopier_regkey); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"RegCreateKeyEx: Software\\Microsoft\\Windows\\CurrentVersion\\Run failed"); + return temp; +} + +void WindowsSessionLoader::setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion) +{ + Q_UNUSED(options); + Q_UNUSED(writePath); + Q_UNUSED(pluginPath); + Q_UNUSED(portableVersion); +} + +/// \brief to get the options widget, NULL if not have +QWidget * WindowsSessionLoader::options() +{ + return NULL; +} + +/// \brief to reload the translation, because the new language have been loaded +void WindowsSessionLoader::newLanguageLoaded() +{ +} diff --git a/plugins/SessionLoader/Windows/sessionLoader.h b/plugins/SessionLoader/Windows/sessionLoader.h new file mode 100644 index 0000000..b064e50 --- /dev/null +++ b/plugins/SessionLoader/Windows/sessionLoader.h @@ -0,0 +1,33 @@ +/** \file sessionLoader.h +\brief Define the session loader +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef SESSION_LOADER_H +#define SESSION_LOADER_H + +#include <QObject> +#include "Environment.h" +#include "../../../interface/PluginInterface_SessionLoader.h" + +/// \brief Define the session loader +class WindowsSessionLoader : public PluginInterface_SessionLoader +{ + Q_OBJECT + Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.SessionLoader/1.0.0.0" FILE "plugin.json") + Q_INTERFACES(PluginInterface_SessionLoader) +public: + /// \brief to set if it's enabled or not + void setEnabled(const bool &newValue); + /// \brief to get if is enabled + bool getEnabled() const; + /// \brief set the resources for the plugins + void setResources(OptionInterface * options,const std::string &writePath,const std::string &pluginPath,const bool &portableVersion); + /// \brief to get the options widget, NULL if not have + QWidget * options(); +public slots: + /// \brief to reload the translation, because the new language have been loaded + void newLanguageLoaded(); +}; + +#endif // SESSION_LOADER_H diff --git a/plugins/SessionLoader/Windows/sessionLoader.pro b/plugins/SessionLoader/Windows/sessionLoader.pro new file mode 100644 index 0000000..1059692 --- /dev/null +++ b/plugins/SessionLoader/Windows/sessionLoader.pro @@ -0,0 +1,16 @@ +CONFIG += c++11 +QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra" +mac:QMAKE_CXXFLAGS+="-stdlib=libc++" + +TEMPLATE = lib +CONFIG += plugin +LIBS += -ladvapi32 +HEADERS = \ + $$PWD/sessionLoader.h \ + $$PWD/StructEnumDefinition.h \ + $$PWD/Variable.h \ + $$PWD/Environment.h \ + $$PWD/DebugEngineMacro.h \ + $$PWD/../../../interface/PluginInterface_SessionLoader.h +SOURCES = sessionLoader.cpp +TARGET = $$qtLibraryTarget(sessionLoader) diff --git a/plugins/Themes/Oxygen/DebugEngineMacro.h b/plugins/Themes/Oxygen/DebugEngineMacro.h new file mode 100644 index 0000000..4582010 --- /dev/null +++ b/plugins/Themes/Oxygen/DebugEngineMacro.h @@ -0,0 +1,28 @@ +/** \file DebugEngineMacro.h +\brief Define the macro for the debug +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef DEBUGENGINEMACRO_H +#define DEBUGENGINEMACRO_H + +#ifdef WIN32 +# define __func__ __FUNCTION__ +#endif + +/// \brief Macro for the debug log +#ifdef ULTRACOPIER_PLUGIN_DEBUG + #if defined (__FILE__) && defined (__LINE__) + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__) + #else + #define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b) + #endif +#else // ULTRACOPIER_DEBUG + #define ULTRACOPIER_DEBUGCONSOLE(a,b) void() +#endif // ULTRACOPIER_DEBUG + +#endif // DEBUGENGINEMACRO_H + + + + diff --git a/plugins/Themes/Oxygen/Environment.h b/plugins/Themes/Oxygen/Environment.h new file mode 100644 index 0000000..265a5a6 --- /dev/null +++ b/plugins/Themes/Oxygen/Environment.h @@ -0,0 +1,10 @@ +/** \file Environment.h
+\brief Define the environment variable and global function
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#include "Variable.h"
+/// \brief The global include
+#include "StructEnumDefinition.h"
+#include "DebugEngineMacro.h"
+
diff --git a/plugins/Themes/Oxygen/Languages/ar/translation.ts b/plugins/Themes/Oxygen/Languages/ar/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/ar/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/de/translation.ts b/plugins/Themes/Oxygen/Languages/de/translation.ts new file mode 100644 index 0000000..8f51f95 --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/de/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="de" sourcelanguage="en"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation>Kaufe die Ultimate Version um die Entwicklung zu finanzieren</translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation>Datei %1/%2, Größe:%3/%4</translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation>Zu kopierende Dateien</translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation>Zu verschiebende Dateien</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation>Nicht schließen, wenn Fehler aufgetreten sind</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation>Niemals schließen</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation>Immer schließen</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation>Dateiname, 0KB</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation>Farbe auswählen</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation>Nicht schließen, wenn Fehler aufgetreten sind</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation>Niemals schließen</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation>Immer schließen</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation>Wählen Sie eine Farbe</translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation>Von:</translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation>Nach:</translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation>&Mehr</translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation>&Pause</translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation>Über&springen</translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation>Abbrechen (&C)</translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation>Dateiliste</translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation>Ausgewählte Einträge löschen</translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation>Dateiliste exportieren</translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation>Dateiliste importieren</translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation>Vorherige</translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation>Nächste</translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation>Darstellungsoptionen</translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation>Ausgewählte Einträge an den Listenanfang verschieben</translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation>Am Ende des Transfers schließen</translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation>Begrenze Kopiergeschwindigkeit auf:</translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation>Ausgewählte Einträge einen Platz nach oben verschieben</translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation>Ausgewählte Einträge einen Platz nach unten verschieben</translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation>Ausgewählte Einträge an das Listenende verschieben</translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation>Datei/Ordner hinzufügen</translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation>In Dateiliste suchen</translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation>Fehlerprotokoll</translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation>Fehlgeschlagene Dateien exportieren</translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation>Quelle</translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation>Ziel</translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation>Datei hinzufügen</translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation>Ordner hinzufügen</translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation>Datei(en) verschieben</translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation>Ordner verschieben</translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation>Datei(en) kopieren</translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation>Verzeichnis kopieren</translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation>Zweifachen Fortschritt anzeigen</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation>Geschwindigkeitsbegrenzungsschieberegler anzeigen</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation>Benutzung</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation>Standardmäßig "Mehr" Informationen anzeigen</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation>Beim Schließen ins Systray minimieren</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation>Am Ende des Vorgangs</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation>Begrenze Übertragungsgeschwindigkeit auf</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation>Zum Bearbeiten der Farbe klicken</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation> KB/s</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation>Informationen</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation>Anzeige</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation>Geschwindigkeit als Fortschrittsbalken anzeigen</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation>Farbe des Fortschrittsbalken</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation>Fortschritt im Fenstertitel zeigen</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation>Fenster immer im Vordergrund</translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/el/translation.ts b/plugins/Themes/Oxygen/Languages/el/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/el/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/en/translation.ts b/plugins/Themes/Oxygen/Languages/en/translation.ts new file mode 100644 index 0000000..73e399d --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/en/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="en"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/es/translation.ts b/plugins/Themes/Oxygen/Languages/es/translation.ts new file mode 100644 index 0000000..fff5a9c --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/es/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="es" sourcelanguage="en"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation>Comprar la versión Ultimate para financiar el desarrollo</translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation>El archivo %1/%2, el tamaño: %3/%4</translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation>Lista de copia</translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation>Lista de movimiento</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation>No cierre si se encuentran errores</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation>Nunca cierre</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation>Siempre cerrar</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation>Nombre de archivo, 0KB</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation>Seleccione un color</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation>No cierre si se encuentran errores</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation>Nunca cierre</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation>Siempre cerrar</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation>Seleccione un color</translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation>De:</translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation>Para:</translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation>&Más</translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation>&Pausa</translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation>&Omitir</translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation>&Cancelar</translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation>Cerca de finalización de transferencia</translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation>Limitar la velocidad de copia en:</translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation>Lista de transferencia</translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation>Mueve los elementos seleccionados a la parte superior</translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation>Mueva los elementos seleccionados</translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation>Bajar los elementos seleccionados</translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation>Mueve los elementos seleccionados a la parte inferior</translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation>Agregar archivo/carpeta</translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation>Eliminar los elementos seleccionados</translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation>Buscar</translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation>Exportar la lista de transferencias</translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation>Importe la lista de transferencias</translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation>Anterior</translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation>Próximo</translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation>Error</translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation>Exportar los errores en la lista de transferencias</translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation>Fuente</translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation>Destino</translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation>Interfaz</translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation>Añadir archivo</translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation>Añadir carpeta</translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation>Mover archivo(s)</translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation>Mueva la carpeta</translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation>Copia el archivo(s)</translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation>Copia la carpeta</translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation>Mostrar progresión dual</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation>Mostrar la velocidad como principales informaciones</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation>Uso</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation>Comience con el "botón más" empujada</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation>Minimizar en cerca de la bandeja del sistema</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation>Al final de la copia</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation>Limitar la velocidad de copia de</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation>Haga clic para editar el color</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation> KB/s</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation>Informations</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation>Visualización</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation>Velocidad con barra de progreso</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation>Progresión de color</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation>Mostrar progresión en el título</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation>Siempre visible</translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/fr/translation.ts b/plugins/Themes/Oxygen/Languages/fr/translation.ts new file mode 100644 index 0000000..c3aa909 --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/fr/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr" sourcelanguage="en"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="+298"/> + <location line="+15"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-12"/> + <location line="+15"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> + <source>Buy the Ultimate version to fund development</source> + <translation>Achetez la version Ultimate pour financer le développement</translation> + </message> + <message> + <location line="+85"/> + <source>File %1/%2, size: %3/%4</source> + <translation>Fichier %1/%2, taille: %3/%4</translation> + </message> + <message> + <location line="+234"/> + <source>Copy list</source> + <translation>Liste de copies</translation> + </message> + <message> + <location line="+2"/> + <source>Move list</source> + <translation>Liste de déplacements</translation> + </message> + <message> + <location line="+421"/> + <source>Don't close if errors are found</source> + <translation>Garder ouvert s'il y a des erreurs</translation> + </message> + <message> + <location line="+1"/> + <source>Never close</source> + <translation>Ne jamais fermer</translation> + </message> + <message> + <location line="+1"/> + <source>Always close</source> + <translation>Toujours fermer</translation> + </message> + <message> + <location line="+2"/> + <source>File Name, 0KB</source> + <translation>Nom de fichier, 0Ko</translation> + </message> + <message> + <location line="+187"/> + <location line="+12"/> + <location line="+12"/> + <source>Select a color</source> + <translation>Selectionner une coleur</translation> + </message> + <message> + <location line="+75"/> + <location line="+4"/> + <location line="+2"/> + <source>%1 %2% of %3</source> + <translation>%1 de %2% de %3</translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="+228"/> + <source>Don't close if errors are found</source> + <translation>Garder ouvert s'il y a des erreurs</translation> + </message> + <message> + <location line="+1"/> + <source>Never close</source> + <translation>Ne jamais fermer</translation> + </message> + <message> + <location line="+1"/> + <source>Always close</source> + <translation>Toujours fermer</translation> + </message> + <message> + <location line="+196"/> + <location line="+15"/> + <location line="+15"/> + <source>Select a color</source> + <translation>Selectionner une coleur</translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="+35"/> + <source>From:</source> + <translation>Depuis:</translation> + </message> + <message> + <location line="+30"/> + <source>To:</source> + <translation>Vers:</translation> + </message> + <message> + <location line="+161"/> + <source>&More</source> + <translation>Pl&us</translation> + </message> + <message> + <location line="+20"/> + <source>&Pause</source> + <translation>&Pause</translation> + </message> + <message> + <location line="+14"/> + <source>&Skip</source> + <translation>&Passer</translation> + </message> + <message> + <location line="+11"/> + <source>&Cancel</source> + <translation>&Annuler</translation> + </message> + <message> + <location line="-153"/> + <source>Close on transfer completion</source> + <translation>Fermer à la fin des transferts</translation> + </message> + <message> + <location line="+168"/> + <source>Limit copy speed to:</source> + <translation>Limiter la vitesse de copie à:</translation> + </message> + <message> + <location line="+43"/> + <source>Transfer list</source> + <translation>Liste de transferts</translation> + </message> + <message> + <location line="+23"/> + <source>Move the selected items to the top</source> + <translation>Déplacer l'item selectionné au debut</translation> + </message> + <message> + <location line="+26"/> + <source>Move up the selected items</source> + <translation>Déplacer l'item selectionné vers le haut</translation> + </message> + <message> + <location line="+26"/> + <source>Move down the selected items</source> + <translation>Déplacer l'item selectionné vers le bas</translation> + </message> + <message> + <location line="+26"/> + <source>Move the selected items to the bottom</source> + <translation>Déplacer l'item selectionné à la fin</translation> + </message> + <message> + <location line="+26"/> + <source>Add file/folder</source> + <translation>Ajouter fichier/dossier</translation> + </message> + <message> + <location line="+29"/> + <source>Delete the selected items</source> + <translation>Supprimer les items sélectionnés</translation> + </message> + <message> + <location line="+26"/> + <source>Search</source> + <translation>Rechercher</translation> + </message> + <message> + <location line="+29"/> + <source>Export the transfer list</source> + <translation>Exporter la liste de transfert</translation> + </message> + <message> + <location line="+26"/> + <source>Import the transfer list</source> + <translation>Importer la liste de transfert</translation> + </message> + <message> + <location line="+55"/> + <source>Previous</source> + <translation>Précédent</translation> + </message> + <message> + <location line="+7"/> + <source>Next</source> + <translation>Suivant</translation> + </message> + <message> + <location line="+35"/> + <location line="+69"/> + <source>Error</source> + <translation>Erreur</translation> + </message> + <message> + <location line="-49"/> + <source>Export the errors into transfer list</source> + <translation>Exporter les erreurs dans une liste de transfert</translation> + </message> + <message> + <location line="+39"/> + <source>Source</source> + <translation>Source</translation> + </message> + <message> + <location line="+5"/> + <source>Destination</source> + <translation>Destination</translation> + </message> + <message> + <location line="+14"/> + <source>Interface</source> + <translation>Interface</translation> + </message> + <message> + <location line="+37"/> + <source>Add file</source> + <translation>Ajouter un fichier</translation> + </message> + <message> + <location line="+9"/> + <source>Add folder</source> + <translation>Ajouter un répertoire</translation> + </message> + <message> + <location line="+9"/> + <source>Move file(s)</source> + <translation>Déplacer le(s) fichier(s)</translation> + </message> + <message> + <location line="+9"/> + <source>Move folder</source> + <translation>Déplacer un répertoire</translation> + </message> + <message> + <location line="+9"/> + <source>Copy file(s)</source> + <translation>Copier le(s) fichier(s)</translation> + </message> + <message> + <location line="+9"/> + <source>Copy folder</source> + <translation>Copier un répertoire</translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="+253"/> + <source>Show dual progression</source> + <translation>Afficher une double progression</translation> + </message> + <message> + <location line="-48"/> + <source>Show speed as main information</source> + <translation>Afficher la vitesse comme information principale</translation> + </message> + <message> + <location line="-161"/> + <source>Use</source> + <translation>Utilisation</translation> + </message> + <message> + <location line="+6"/> + <source>Start with the "more button" pushed</source> + <translation>Déplier automatiquement les détails</translation> + </message> + <message> + <location line="+17"/> + <source>Minimize on close to systray</source> + <translation>Minimiser à la fermeture dans le systray</translation> + </message> + <message> + <location line="+29"/> + <source>At the end of the copy</source> + <translation>À la fin de la copie</translation> + </message> + <message> + <location line="+7"/> + <location line="+34"/> + <source>Limit copy speed to</source> + <translation>Limiter la vitesse de copie à</translation> + </message> + <message> + <location line="+39"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+116"/> + <source>Click to edit the color</source> + <translation>Cliquer pour éditer la couleur</translation> + </message> + <message> + <location line="-145"/> + <source> KB/s</source> + <translation> Ko/s</translation> + </message> + <message> + <location line="+52"/> + <source>Informations</source> + <translation>Informations</translation> + </message> + <message> + <location line="+38"/> + <source>Display</source> + <translation>Affichage</translation> + </message> + <message> + <location line="+6"/> + <source>Speed with progress bar</source> + <translation>Vitesse avec barre de progression</translation> + </message> + <message> + <location line="+30"/> + <source>Progression color</source> + <translation>Couleur de progression</translation> + </message> + <message> + <location line="-10"/> + <source>Show progression in the title</source> + <translation>Afficher la progression dans le titre</translation> + </message> + <message> + <location line="-203"/> + <source>Always on top</source> + <translation>Toujours au 1er plan</translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/hi/translation.ts b/plugins/Themes/Oxygen/Languages/hi/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/hi/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/hu/translation.ts b/plugins/Themes/Oxygen/Languages/hu/translation.ts new file mode 100644 index 0000000..409e6ea --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/hu/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="hu"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation>Vásárold meg az Ultimate verziót a fejlesztés támogatásához</translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation>Fájl %1/%2, méret: %3/%4</translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation>Lista másolása</translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation>Lista mozgatása</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation>Ne zárja be, ha hiba történik</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation>Sose zárja be</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation>Mindig zárja be</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation>Fájlnév, 0KB</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation>Válassz egy színt</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation>Ne zárja be, ha hiba történik</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation>Sose zárja be</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation>Mindig zárja be</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation>Válassz egy színt</translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation>Forrás:</translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation>Cél:</translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation>&Több</translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation>&Szünet</translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation>&Kihagy</translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation>&Mégse</translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation>Átviteli lista</translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation>Előző</translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation>Következő</translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation>Kezelőfelület</translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation>Kijelölések elemek mozgatása legfelülre</translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation>Átvitel végeztével zárja be</translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation>Másolási sebesség korlátozása:</translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation>Kijelölt elemek mozgatása fel</translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation>Kijelölt elemek mozgatása le</translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation>Kijelölések elemek mozgatása legalulra</translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation>Fájl/mappa hozzáadása</translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation>Kijelölt elemek törlése</translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation>Keresés</translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation>Átviteli lista exportálása</translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation>Átviteli lista importálása</translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation>Hiba</translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation>Hibák exportálása az átviteli listába</translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation>Forrás</translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation>Cél</translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation>Fájl hozzáadása</translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation>Mappa hozzáadása</translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation>Fájl(ok) mozgatása</translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation>Mappa mozgatása</translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation>Fájl(ok) másolása</translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation>Mappa másolása</translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation>Páros folyamat mutatása</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation>Sebesség mutatása, mint fő információ</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation>Használ</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation>Indítás a "több gomb" lenyomásával</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation>Bezáráskor minimalizálás a tálcára</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation>A másolás befejezésekor</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation>Másolási sebesség korlátozása</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation>Kattints a szín szerkesztéséhez</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation> KB/s</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation>Információk</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation>Megjelenítés</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation>Sebesség folyamatsávval</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation>Folyamat színe</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation>Folyamat mutatása a címsorban</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation>Mindig legfelül</translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/id/translation.ts b/plugins/Themes/Oxygen/Languages/id/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/id/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/it/translation.ts b/plugins/Themes/Oxygen/Languages/it/translation.ts new file mode 100644 index 0000000..c813017 --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/it/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="it" sourcelanguage="en"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation>Acquista la versione Ultimate per finanziare lo sviluppo del programma</translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation>File %1/%2, dimensione: %3/%4</translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation>Lista della copia</translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation>Lista dello spostamento</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation>Non chiudere se vengono rilevati errori</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation>Non chiudere mai</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation>Chiudere sempre</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation>Nome del file, 0KB</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation>Scegliere un colore</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation>%1 %2% di %3</translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation>Non chiudere se vengono rilevati errori</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation>Non chiudere mai</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation>Chiudere sempre</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation>Scegliere un colore</translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation>Da:</translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation>a:</translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation>Altr&o</translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation>&Pausa</translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation>&Salta</translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation>&Annulla</translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation>Arresta il sistema a trasferimento comletato</translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation>Limitare la velocità di copia a:</translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation>Lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation>Sposta in cima gli elementi selezionati</translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation>Sposta sopra gli elementi selezionati</translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation>Sposta sotto gli elementi selezionati</translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation>Sposta in coda gli elementi selezionati</translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation>Aggiungi file/cartelle</translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation>Elimina gli elementi selezionati</translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation>Cerca</translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation>Esporta la lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation>Importa la lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation>Precedente</translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation>Successivo</translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation>Errore</translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation>Esporta gli errori nella lista dei trasferimenti</translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation>Cartella di origine</translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation>Cartella di destinazione</translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation>Interfaccia</translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation>Aggiungi file</translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation>Aggiungi cartella</translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation>Sposta file</translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation>Sposta la cartella</translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation>Copia file</translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation>Copia la cartella</translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation>Mostrare la doppia progressione</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation>Mostrare la velocità come principale informazione</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation>Utilità</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation>Iniziare col pulsante "Altro" attivo</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation>Alla chiusura riduci nella'area di notifica</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation>Al termine della copia</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation>Limitare la velocità di copia a</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation>Clicca per modificare il colore</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation> KB/s</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation>Informazioni</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation>Visualizza</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation>Velocità nella barra di progresso</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation>Colore della progressione</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation>Mostrare la percentuale di progresso sul titolo</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation>Sempre in primo piano</translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/ja/translation.ts b/plugins/Themes/Oxygen/Languages/ja/translation.ts new file mode 100644 index 0000000..2099b73 --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/ja/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/ko/translation.ts b/plugins/Themes/Oxygen/Languages/ko/translation.ts new file mode 100644 index 0000000..c446d72 --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/ko/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="+298"/> + <location line="+15"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-12"/> + <location line="+15"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+2"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+85"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished">파일 %1/%2, 크기: %3/%4</translation> + </message> + <message> + <location line="+234"/> + <source>Copy list</source> + <translation type="unfinished">복사 목록</translation> + </message> + <message> + <location line="+2"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+421"/> + <source>Don't close if errors are found</source> + <translation type="unfinished">오류 발견시 종료 안함</translation> + </message> + <message> + <location line="+1"/> + <source>Never close</source> + <translation type="unfinished">절대 종료 안함</translation> + </message> + <message> + <location line="+1"/> + <source>Always close</source> + <translation type="unfinished">항상 종료</translation> + </message> + <message> + <location line="+2"/> + <source>File Name, 0KB</source> + <translation type="unfinished">파일명, 0KB</translation> + </message> + <message> + <location line="+187"/> + <location line="+12"/> + <location line="+12"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+75"/> + <location line="+4"/> + <location line="+2"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="+228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished">오류 발견시 종료 안함</translation> + </message> + <message> + <location line="+1"/> + <source>Never close</source> + <translation type="unfinished">절대 종료 안함</translation> + </message> + <message> + <location line="+1"/> + <source>Always close</source> + <translation type="unfinished">항상 종료</translation> + </message> + <message> + <location line="+196"/> + <location line="+15"/> + <location line="+15"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="+35"/> + <source>From:</source> + <translation type="unfinished">원본:</translation> + </message> + <message> + <location line="+30"/> + <source>To:</source> + <translation type="unfinished">대상:</translation> + </message> + <message> + <location line="+161"/> + <source>&More</source> + <translation type="unfinished">&자세히</translation> + </message> + <message> + <location line="+20"/> + <source>&Pause</source> + <translation type="unfinished">&일시 정지</translation> + </message> + <message> + <location line="+14"/> + <source>&Skip</source> + <translation type="unfinished">&건너뛰기</translation> + </message> + <message> + <location line="+11"/> + <source>&Cancel</source> + <translation type="unfinished">&취소</translation> + </message> + <message> + <location line="+58"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+156"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+55"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+26"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+55"/> + <source>Previous</source> + <translation type="unfinished">이전</translation> + </message> + <message> + <location line="+7"/> + <source>Next</source> + <translation type="unfinished">다음</translation> + </message> + <message> + <location line="+113"/> + <source>Interface</source> + <translation type="unfinished">인터페이스</translation> + </message> + <message> + <location line="-389"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-234"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+168"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+92"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+26"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+26"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+26"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+55"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+152"/> + <location line="+69"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-49"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+39"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+5"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+51"/> + <source>Add file</source> + <translation type="unfinished">파일 추가</translation> + </message> + <message> + <location line="+9"/> + <source>Add folder</source> + <translation type="unfinished">폴더 추가</translation> + </message> + <message> + <location line="+9"/> + <source>Move file(s)</source> + <translation type="unfinished">파일 이동</translation> + </message> + <message> + <location line="+9"/> + <source>Move folder</source> + <translation type="unfinished">폴더 이동</translation> + </message> + <message> + <location line="+9"/> + <source>Copy file(s)</source> + <translation type="unfinished">파일 복사</translation> + </message> + <message> + <location line="+9"/> + <source>Copy folder</source> + <translation type="unfinished">폴더 복사</translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="+253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-48"/> + <source>Show speed as main information</source> + <translation type="unfinished">메인 정보에 속도 표시</translation> + </message> + <message> + <location line="-161"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+6"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+17"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+29"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+7"/> + <location line="+34"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+39"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+116"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-145"/> + <source> KB/s</source> + <translation type="unfinished"> KB/초</translation> + </message> + <message> + <location line="+52"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+38"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+6"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+30"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-10"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="-203"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/nl/translation.ts b/plugins/Themes/Oxygen/Languages/nl/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/nl/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/no/translation.ts b/plugins/Themes/Oxygen/Languages/no/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/no/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/pl/translation.ts b/plugins/Themes/Oxygen/Languages/pl/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/pl/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/pt/translation.ts b/plugins/Themes/Oxygen/Languages/pt/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/pt/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/ru/translation.ts b/plugins/Themes/Oxygen/Languages/ru/translation.ts new file mode 100644 index 0000000..1ef7093 --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/ru/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ru" sourcelanguage="en"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation>Файл %1/%2, размер: %3/%4</translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished">Копировать список</translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished">Не закрывать, если найдены ошибки</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished">Никогда не закрывать</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished">Всегда закрывайте</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation>Имя файла, 0KB</translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished">Не закрывать, если найдены ошибки</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished">Никогда не закрывать</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished">Всегда закрывайте</translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation>С:</translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation>к:</translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation>больше</translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation>пауза</translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation>пропускать</translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation>отменить</translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation>предыдущий</translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation>следующий</translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation>интерфейс</translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation>Добавить файл</translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation>Добавить папку</translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation>Перемещение файла(ов)</translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation>Перемещение папки</translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation>Копировать файл (ы)</translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation>Копировать папку</translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished">Показать скорости в качестве основной информации</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"> Кб/с</translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/th/translation.ts b/plugins/Themes/Oxygen/Languages/th/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/th/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/tr/translation.ts b/plugins/Themes/Oxygen/Languages/tr/translation.ts new file mode 100644 index 0000000..c7b2fdd --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/tr/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/Languages/zh/translation.ts b/plugins/Themes/Oxygen/Languages/zh/translation.ts new file mode 100644 index 0000000..2099b73 --- /dev/null +++ b/plugins/Themes/Oxygen/Languages/zh/translation.ts @@ -0,0 +1,341 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0"> +<context> + <name>Themes</name> + <message> + <location filename="../../interface.cpp" line="298"/> + <location filename="../../interface.cpp" line="313"/> + <source>%1 is deprecated, Use %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="301"/> + <location filename="../../interface.cpp" line="316"/> + <source>This will be the last version for Mac, but you can compile from source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="318"/> + <source>Buy the Ultimate version to fund development</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="403"/> + <source>File %1/%2, size: %3/%4</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="637"/> + <source>Copy list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="639"/> + <source>Move list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1060"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1061"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1062"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1064"/> + <source>File Name, 0KB</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1251"/> + <location filename="../../interface.cpp" line="1263"/> + <location filename="../../interface.cpp" line="1275"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.cpp" line="1350"/> + <location filename="../../interface.cpp" line="1354"/> + <location filename="../../interface.cpp" line="1356"/> + <source>%1 %2% of %3</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>ThemesFactory</name> + <message> + <location filename="../../ThemesFactory.cpp" line="228"/> + <source>Don't close if errors are found</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="229"/> + <source>Never close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="230"/> + <source>Always close</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../ThemesFactory.cpp" line="426"/> + <location filename="../../ThemesFactory.cpp" line="441"/> + <location filename="../../ThemesFactory.cpp" line="456"/> + <source>Select a color</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="35"/> + <source>From:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="65"/> + <source>To:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="226"/> + <source>&More</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="246"/> + <source>&Pause</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="260"/> + <source>&Skip</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="271"/> + <source>&Cancel</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="329"/> + <source>Transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="485"/> + <source>Delete the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="540"/> + <source>Export the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="566"/> + <source>Import the transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="621"/> + <source>Previous</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="628"/> + <source>Next</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="741"/> + <source>Interface</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="352"/> + <source>Move the selected items to the top</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="118"/> + <source>Close on transfer completion</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="286"/> + <source>Limit copy speed to:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="378"/> + <source>Move up the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="404"/> + <source>Move down the selected items</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="430"/> + <source>Move the selected items to the bottom</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="456"/> + <source>Add file/folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="511"/> + <source>Search</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="663"/> + <location filename="../../interface.ui" line="732"/> + <source>Error</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="683"/> + <source>Export the errors into transfer list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="722"/> + <source>Source</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="727"/> + <source>Destination</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="778"/> + <source>Add file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="787"/> + <source>Add folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="796"/> + <source>Move file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="805"/> + <source>Move folder</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="814"/> + <source>Copy file(s)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../interface.ui" line="823"/> + <source>Copy folder</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>themesOptions</name> + <message> + <location filename="../../themesOptions.ui" line="253"/> + <source>Show dual progression</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="205"/> + <source>Show speed as main information</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="44"/> + <source>Use</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="50"/> + <source>Start with the "more button" pushed</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="67"/> + <source>Minimize on close to systray</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="96"/> + <source>At the end of the copy</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="103"/> + <location filename="../../themesOptions.ui" line="137"/> + <source>Limit copy speed to</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="147"/> + <source> KB/s</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="176"/> + <source>Start minimized</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="199"/> + <source>Informations</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="237"/> + <source>Display</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="243"/> + <source>Speed with progress bar</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="273"/> + <source>Progression color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="292"/> + <source>Click to edit the color</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="263"/> + <source>Show progression in the title</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../themesOptions.ui" line="60"/> + <source>Always on top</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/plugins/Themes/Oxygen/StructEnumDefinition.h b/plugins/Themes/Oxygen/StructEnumDefinition.h new file mode 100644 index 0000000..c1758f4 --- /dev/null +++ b/plugins/Themes/Oxygen/StructEnumDefinition.h @@ -0,0 +1 @@ +#include "../../../StructEnumDefinition.h" diff --git a/plugins/Themes/Oxygen/ThemesFactory.cpp b/plugins/Themes/Oxygen/ThemesFactory.cpp new file mode 100644 index 0000000..28961f0 --- /dev/null +++ b/plugins/Themes/Oxygen/ThemesFactory.cpp @@ -0,0 +1,481 @@ +/** \file factory.cpp +\brief Define the factory core +\author alpha_one_x86 */ + +#include <QColorDialog> + +#include "ThemesFactory.h" +#include "../../../cpp11addition.h" + +ThemesFactory::ThemesFactory() +{ + optionsEngine=NULL; + tempWidget=new QWidget(); + ui=new Ui::themesOptions(); + ui->setupUi(tempWidget); + ui->toolBox->setCurrentIndex(0); + currentSpeed = 0; + updateSpeed(); + + qRegisterMetaType<QList<QPersistentModelIndex> >("QList<QPersistentModelIndex>"); +} + +ThemesFactory::~ThemesFactory() +{ +} + +PluginInterface_Themes * ThemesFactory::getInstance() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, currentSpeed: "+std::to_string(currentSpeed)); + + Themes * newInterface=new Themes( + ui->alwaysOnTop->isChecked(), + ui->showProgressionInTheTitle->isChecked(), + progressColorWrite,progressColorRead,progressColorRemaining, + ui->showDualProgression->isChecked(), + ui->comboBox_copyEnd->currentIndex(), + ui->speedWithProgressBar->isChecked(), + currentSpeed, + ui->checkBoxShowSpeed->isChecked(), + facilityEngine, + ui->checkBoxStartWithMoreButtonPushed->isChecked(), + ui->minimizeToSystray->isChecked(), + ui->startMinimized->isChecked() + ); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(newInterface,&Themes::debugInformation,this,&PluginInterface_ThemesFactory::debugInformation); + #endif + connect(this,&ThemesFactory::reloadLanguage,newInterface,&Themes::newLanguageLoaded); + return newInterface; +} + +void ThemesFactory::setResources(OptionInterface * optionsEngine,const std::string & + #ifdef ULTRACOPIER_PLUGIN_DEBUG + writePath + #endif + ,const std::string & + #ifdef ULTRACOPIER_PLUGIN_DEBUG + pluginPath + #endif + ,FacilityInterface * facilityEngine,const bool & + ) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, writePath: "+writePath+", pluginPath: "+pluginPath); + this->facilityEngine=facilityEngine; + if(optionsEngine!=NULL) + { + this->optionsEngine=optionsEngine; + //load the options + std::vector<std::pair<std::string, std::string> > KeysList; + KeysList.push_back(std::pair<std::string, std::string>("checkBoxShowSpeed","false")); + KeysList.push_back(std::pair<std::string, std::string>("moreButtonPushed","false")); + KeysList.push_back(std::pair<std::string, std::string>("speedWithProgressBar","true")); + KeysList.push_back(std::pair<std::string, std::string>("currentSpeed","0")); + KeysList.push_back(std::pair<std::string, std::string>("comboBox_copyEnd","0")); + KeysList.push_back(std::pair<std::string, std::string>("showDualProgression","false")); + KeysList.push_back(std::pair<std::string, std::string>("showProgressionInTheTitle","true")); + KeysList.push_back(std::pair<std::string, std::string>("progressColorWrite",QApplication::palette().color(QPalette::Highlight).name().toStdString())); + KeysList.push_back(std::pair<std::string, std::string>("progressColorRead",QApplication::palette().color(QPalette::AlternateBase).name().toStdString())); + KeysList.push_back(std::pair<std::string, std::string>("progressColorRemaining",QApplication::palette().color(QPalette::Base).name().toStdString())); + KeysList.push_back(std::pair<std::string, std::string>("alwaysOnTop","false")); + KeysList.push_back(std::pair<std::string, std::string>("minimizeToSystray","false")); + KeysList.push_back(std::pair<std::string, std::string>("startMinimized","false")); + optionsEngine->addOptionGroup(KeysList); + connect(optionsEngine,&OptionInterface::resetOptions,this,&ThemesFactory::resetOptions); + updateSpeed(); + } + #ifndef __GNUC__ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"__GNUC__ is not set"); + #else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"__GNUC__ is set"); + #endif +} + +QWidget * ThemesFactory::options() +{ + if(optionsEngine!=NULL) + { + bool ok; + currentSpeed=stringtouint32(optionsEngine->getOptionValue("currentSpeed"),&ok); + if(!ok) + currentSpeed=0; + ui->comboBox_copyEnd->setCurrentIndex(stringtouint32(optionsEngine->getOptionValue("comboBox_copyEnd"))); + ui->speedWithProgressBar->setChecked(stringtobool(optionsEngine->getOptionValue("speedWithProgressBar"))); + ui->checkBoxShowSpeed->setChecked(stringtobool(optionsEngine->getOptionValue("checkBoxShowSpeed"))); + ui->checkBoxStartWithMoreButtonPushed->setChecked(stringtobool(optionsEngine->getOptionValue("moreButtonPushed"))); + ui->showDualProgression->setChecked(stringtobool(optionsEngine->getOptionValue("showDualProgression"))); + ui->showProgressionInTheTitle->setChecked(stringtobool(optionsEngine->getOptionValue("showProgressionInTheTitle"))); + ui->alwaysOnTop->setChecked(stringtobool(optionsEngine->getOptionValue("alwaysOnTop"))); + ui->minimizeToSystray->setChecked(stringtobool(optionsEngine->getOptionValue("minimizeToSystray"))); + ui->startMinimized->setChecked(stringtobool(optionsEngine->getOptionValue("startMinimized"))); + + progressColorWrite=QVariant(QString::fromStdString(optionsEngine->getOptionValue("progressColorWrite"))).value<QColor>(); + progressColorRead=QVariant(QString::fromStdString(optionsEngine->getOptionValue("progressColorRead"))).value<QColor>(); + progressColorRemaining=QVariant(QString::fromStdString(optionsEngine->getOptionValue("progressColorRemaining"))).value<QColor>(); + + QPixmap pixmap(75,20); + pixmap.fill(progressColorWrite); + ui->progressColorWrite->setIcon(pixmap); + pixmap.fill(progressColorRead); + ui->progressColorRead->setIcon(pixmap); + pixmap.fill(progressColorRemaining); + ui->progressColorRemaining->setIcon(pixmap); + updateSpeed(); + updateProgressionColorBar(); + + connect(ui->alwaysOnTop,&QCheckBox::stateChanged,this,&ThemesFactory::alwaysOnTop); + connect(ui->checkBoxShowSpeed,&QCheckBox::stateChanged,this,&ThemesFactory::checkBoxShowSpeed); + connect(ui->minimizeToSystray,&QCheckBox::stateChanged,this,&ThemesFactory::minimizeToSystray); + connect(ui->checkBox_limitSpeed,&QCheckBox::stateChanged,this,&ThemesFactory::uiUpdateSpeed); + connect(ui->SliderSpeed,&QAbstractSlider::valueChanged,this,&ThemesFactory::on_SliderSpeed_valueChanged); + connect(ui->limitSpeed,static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &ThemesFactory::uiUpdateSpeed); + connect(ui->checkBoxShowSpeed,&QAbstractButton::toggled,this,&ThemesFactory::checkBoxShowSpeedHaveChanged); + connect(ui->checkBoxStartWithMoreButtonPushed,&QAbstractButton::toggled,this,&ThemesFactory::checkBoxStartWithMoreButtonPushedHaveChanged); + connect(ui->speedWithProgressBar,&QAbstractButton::toggled,this,&ThemesFactory::speedWithProgressBar); + connect(ui->comboBox_copyEnd, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,&ThemesFactory::comboBox_copyEnd); + connect(ui->showDualProgression,&QCheckBox::stateChanged,this,&ThemesFactory::showDualProgression); + connect(ui->showDualProgression,&QCheckBox::stateChanged,this,&ThemesFactory::updateProgressionColorBar); + connect(ui->showProgressionInTheTitle,&QCheckBox::stateChanged,this,&ThemesFactory::setShowProgressionInTheTitle); + connect(ui->progressColorWrite,&QAbstractButton::clicked,this,&ThemesFactory::progressColorWrite_clicked); + connect(ui->progressColorRead, &QAbstractButton::clicked,this,&ThemesFactory::progressColorRead_clicked); + connect(ui->progressColorRemaining,&QAbstractButton::clicked,this,&ThemesFactory::progressColorRemaining_clicked); + connect(ui->startMinimized,&QCheckBox::stateChanged,this,&ThemesFactory::startMinimized); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"return the options"); + return tempWidget; +} + +QIcon ThemesFactory::getIcon(const std::string &fileName) const +{ + if(fileName=="SystemTrayIcon/exit.png") + { + QIcon tempIcon=QIcon::fromTheme("application-exit"); + if(!tempIcon.isNull()) + return tempIcon; + } + else if(fileName=="SystemTrayIcon/add.png") + { + QIcon tempIcon=QIcon::fromTheme("list-add"); + if(!tempIcon.isNull()) + return tempIcon; + } + else if(fileName=="SystemTrayIcon/informations.png") + { + QIcon tempIcon=QIcon::fromTheme("help-about"); + if(!tempIcon.isNull()) + return tempIcon; + } + else if(fileName=="SystemTrayIcon/options.png") + { + QIcon tempIcon=QIcon::fromTheme("applications-system"); + if(!tempIcon.isNull()) + return tempIcon; + } + #ifdef SUPERCOPIER + return QIcon(":/Themes/Supercopier/resources/"+QString::fromStdString(fileName)); + #else + return QIcon(":/Themes/Oxygen/resources/"+QString::fromStdString(fileName)); + #endif +} + +void ThemesFactory::resetOptions() +{ + ui->checkBoxShowSpeed->setChecked(true); + ui->checkBoxStartWithMoreButtonPushed->setChecked(false); +} + +void ThemesFactory::checkBoxShowSpeedHaveChanged(bool toggled) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("checkBoxShowSpeed",std::to_string(toggled)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::checkBoxStartWithMoreButtonPushedHaveChanged(bool toggled) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("moreButtonPushed",std::to_string(toggled)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::comboBox_copyEnd(int value) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("comboBox_copyEnd",std::to_string(value)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::speedWithProgressBar(bool toggled) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("speedWithProgressBar",std::to_string(toggled)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::newLanguageLoaded() +{ + ui->retranslateUi(tempWidget); + ui->comboBox_copyEnd->setItemText(0,tr("Don't close if errors are found")); + ui->comboBox_copyEnd->setItemText(1,tr("Never close")); + ui->comboBox_copyEnd->setItemText(2,tr("Always close")); + emit reloadLanguage(); +} + +void ThemesFactory::checkBoxShowSpeed(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + Q_UNUSED(checked); + updateSpeed(); +} + +void ThemesFactory::minimizeToSystray(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("minimizeToSystray",std::to_string(checked)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::alwaysOnTop(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("alwaysOnTop",std::to_string(checked)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::showDualProgression(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("showDualProgression",std::to_string(checked)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::startMinimized(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"the checkbox have changed"); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("startMinimized",std::to_string(checked)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::on_SliderSpeed_valueChanged(int value) +{ + if(optionsEngine==NULL) + return; + if(!ui->checkBoxShowSpeed->isChecked()) + return; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"value: "+std::to_string(value)); + switch(value) + { + case 0: + currentSpeed=0; + break; + case 1: + currentSpeed=1024; + break; + case 2: + currentSpeed=1024*4; + break; + case 3: + currentSpeed=1024*16; + break; + case 4: + currentSpeed=1024*64; + break; + case 5: + currentSpeed=1024*128; + break; + } + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); + updateSpeed(); +} + +void ThemesFactory::uiUpdateSpeed() +{ + if(optionsEngine==NULL) + return; + if(ui->checkBoxShowSpeed->isChecked()) + return; + if(!ui->checkBox_limitSpeed->isChecked()) + currentSpeed=0; + else + currentSpeed=ui->limitSpeed->value(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit newSpeedLimitation: "+std::to_string(currentSpeed)); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::updateSpeed() +{ + if(optionsEngine==NULL) + return; + ui->label_Slider_speed->setVisible(ui->checkBoxShowSpeed->isChecked()); + ui->SliderSpeed->setVisible(ui->checkBoxShowSpeed->isChecked()); + ui->label_SpeedMaxValue->setVisible(ui->checkBoxShowSpeed->isChecked()); + ui->limitSpeed->setVisible(!ui->checkBoxShowSpeed->isChecked()); + ui->checkBox_limitSpeed->setVisible(!ui->checkBoxShowSpeed->isChecked()); + + if(ui->checkBoxShowSpeed->isChecked()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"checked, currentSpeed: "+std::to_string(currentSpeed)); + ui->limitSpeed->setEnabled(false); + if(currentSpeed==0) + { + ui->SliderSpeed->setValue(0); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->translateText("Unlimited"))); + } + else if(currentSpeed<=1024) + { + if(currentSpeed!=1024) + { + currentSpeed=1024; + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); + } + ui->SliderSpeed->setValue(1); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*1))); + } + else if(currentSpeed<=1024*4) + { + if(currentSpeed!=1024*4) + { + currentSpeed=1024*4; + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); + } + ui->SliderSpeed->setValue(2); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*4))); + } + else if(currentSpeed<=1024*16) + { + if(currentSpeed!=1024*16) + { + currentSpeed=1024*16; + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); + } + ui->SliderSpeed->setValue(3); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*16))); + } + else if(currentSpeed<=1024*64) + { + if(currentSpeed!=1024*64) + { + currentSpeed=1024*64; + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); + } + ui->SliderSpeed->setValue(4); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*64))); + } + else + { + if(currentSpeed!=1024*128) + { + currentSpeed=1024*128; + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("currentSpeed",std::to_string(currentSpeed)); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); + } + ui->SliderSpeed->setValue(5); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*128))); + } + } + else + { + ui->checkBox_limitSpeed->setChecked(currentSpeed>0); + if(currentSpeed>0) + ui->limitSpeed->setValue(currentSpeed); + ui->checkBox_limitSpeed->setEnabled(currentSpeed!=-1); + ui->limitSpeed->setEnabled(ui->checkBox_limitSpeed->isChecked()); + } +} + +void ThemesFactory::progressColorWrite_clicked() +{ + QColor color=QColorDialog::getColor(progressColorWrite,NULL,tr("Select a color")); + if(!color.isValid()) + return; + progressColorWrite=color; + QPixmap pixmap(75,20); + pixmap.fill(progressColorWrite); + ui->progressColorWrite->setIcon(pixmap); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("progressColorWrite",progressColorWrite.name().toStdString()); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::progressColorRead_clicked() +{ + QColor color=QColorDialog::getColor(progressColorRead,NULL,tr("Select a color")); + if(!color.isValid()) + return; + progressColorRead=color; + QPixmap pixmap(75,20); + pixmap.fill(progressColorRead); + ui->progressColorRead->setIcon(pixmap); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("progressColorRead",progressColorRead.name().toStdString()); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::progressColorRemaining_clicked() +{ + QColor color=QColorDialog::getColor(progressColorRemaining,NULL,tr("Select a color")); + if(!color.isValid()) + return; + progressColorRemaining=color; + QPixmap pixmap(75,20); + pixmap.fill(progressColorRemaining); + ui->progressColorRemaining->setIcon(pixmap); + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("progressColorRemaining",progressColorRemaining.name().toStdString()); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} + +void ThemesFactory::updateProgressionColorBar() +{ + ui->labelProgressionColor->setVisible(ui->showDualProgression->isChecked()); + ui->frameProgressionColor->setVisible(ui->showDualProgression->isChecked()); +} + +void ThemesFactory::setShowProgressionInTheTitle() +{ + if(optionsEngine!=NULL) + optionsEngine->setOptionValue("showProgressionInTheTitle",std::to_string(ui->showProgressionInTheTitle->isChecked())); + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"internal error, crash prevented"); +} diff --git a/plugins/Themes/Oxygen/ThemesFactory.h b/plugins/Themes/Oxygen/ThemesFactory.h new file mode 100644 index 0000000..f5e304f --- /dev/null +++ b/plugins/Themes/Oxygen/ThemesFactory.h @@ -0,0 +1,86 @@ +/** \file factory.h +\brief Define the factory, to create instance of the interface +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef FACTORY_H +#define FACTORY_H + +#include <QObject> +#include <QWidget> +#include <QMenu> +#include <QCloseEvent> +#include <QFile> +#include <QIcon> +#include <QColor> +#include <QPixmap> + +#include "../../../interface/PluginInterface_Themes.h" +#include "ui_themesOptions.h" +#include "interface.h" +#include "Environment.h" + +namespace Ui { + class themesOptions; +} + +/// \brief Define the factory, to create instance of the interface +class ThemesFactory : public PluginInterface_ThemesFactory +{ + Q_OBJECT + #ifndef ULTRACOPIER_PLUGIN_ALL_IN_ONE_DIRECT + Q_PLUGIN_METADATA(IID "first-world.info.ultracopier.PluginInterface.ThemesFactory/1.0.1.0" FILE "plugin.json") + Q_INTERFACES(PluginInterface_ThemesFactory) + #endif +public: + ThemesFactory(); + ~ThemesFactory(); + /// \brief to return the instance of the copy engine + PluginInterface_Themes * getInstance(); + /// \brief set the resources, to store options, to have facilityInterface + void setResources(OptionInterface * optionsEngine,const std::string & + #ifdef ULTRACOPIER_PLUGIN_DEBUG + writePath + #endif + ,const std::string & + #ifdef ULTRACOPIER_PLUGIN_DEBUG + pluginPath + #endif + ,FacilityInterface * facilityEngine,const bool &portableVersion); + /// \brief to get the default options widget + QWidget * options(); + /// \brief to get a resource icon + QIcon getIcon(const std::string &fileName) const; +private slots: + void checkBoxShowSpeedHaveChanged(bool toggled); + void checkBoxStartWithMoreButtonPushedHaveChanged(bool toggled); + void comboBox_copyEnd(int value); + void speedWithProgressBar(bool toggled); + void checkBoxShowSpeed(bool checked); + void minimizeToSystray(bool checked); + void alwaysOnTop(bool checked); + void showDualProgression(bool checked); + void on_SliderSpeed_valueChanged(int value); + void uiUpdateSpeed(); + void updateSpeed(); + void progressColorWrite_clicked(); + void progressColorRead_clicked(); + void progressColorRemaining_clicked(); + void updateProgressionColorBar(); + void setShowProgressionInTheTitle(); + void startMinimized(bool checked); +public slots: + void resetOptions(); + void newLanguageLoaded(); +private: + OptionInterface * optionsEngine; + Ui::themesOptions *ui; + QWidget *tempWidget; + FacilityInterface * facilityEngine; + int32_t currentSpeed;///< in KB/s, assume as 0KB/s as default like every where + QColor progressColorWrite,progressColorRead,progressColorRemaining; +signals: + void reloadLanguage() const; +}; + +#endif // FACTORY_H diff --git a/plugins/Themes/Oxygen/TransferModel.cpp b/plugins/Themes/Oxygen/TransferModel.cpp new file mode 100644 index 0000000..2959598 --- /dev/null +++ b/plugins/Themes/Oxygen/TransferModel.cpp @@ -0,0 +1,588 @@ +#include "TransferModel.h" +#include "../../../cpp11addition.h" + +#define COLUMN_COUNT 3 + +// Model + +QIcon *TransferModel::start=NULL; +QIcon *TransferModel::stop=NULL; + +TransferModel::TransferModel() +{ + /// \warning to prevent Must construct a QGuiApplication before QPixmap IN STATIC WINDOWS VERSION ONLY + if(TransferModel::start==NULL) + TransferModel::start=new QIcon(QStringLiteral(":/resources/player_play.png")); + if(TransferModel::stop==NULL) + TransferModel::stop=new QIcon(QStringLiteral(":/resources/player_pause.png")); + currentIndexSearch=0; + haveSearchItem=false; + loop_size=0,index_for_loop=0; + sub_loop_size=0,sub_index_for_loop=0; + row=0,column=0; + facilityEngine=NULL; + currentIndexSearch=0; + haveSearchItem=false; + searchId=0; +} + +int TransferModel::columnCount( const QModelIndex& parent ) const +{ + return parent == QModelIndex() ? COLUMN_COUNT : 0; +} + +QVariant TransferModel::data( const QModelIndex& index, int role ) const +{ + int row,column; + row=index.row(); + column=index.column(); + if(index.parent()!=QModelIndex() || row < 0 || (unsigned int)row >= transfertItemList.size() || column < 0 || column >= COLUMN_COUNT) + return QVariant(); + + const TransfertItem& item = transfertItemList.at(row); + if(role==Qt::UserRole) + return (quint64)item.id; + else if(role==Qt::DisplayRole) + { + switch(column) + { + case 0: + return QString::fromStdString(item.source); + break; + case 1: + return QString::fromStdString(item.size); + break; + case 2: + return QString::fromStdString(item.destination); + break; + default: + return QVariant(); + } + } + else if(role==Qt::DecorationRole) + { + switch(column) + { + case 0: + if(stopId.find(item.id)!=stopId.cend()) + return *stop; + else if(startId.find(item.id)!=startId.cend()) + return *start; + else + return QVariant(); + break; + default: + return QVariant(); + } + } + else if(role==Qt::BackgroundRole) + { + if(!search_text.empty() && (item.source.find(search_text)!=std::string::npos || + item.destination.find(search_text)!=std::string::npos)) + { + if(haveSearchItem && searchId==item.id) + return QColor(255,150,150,100); + else + return QColor(255,255,0,100); + } + else + return QVariant(); + } + return QVariant(); +} + +int TransferModel::rowCount( const QModelIndex& parent ) const +{ + return parent == QModelIndex() ? transfertItemList.size() : 0; +} + +uint64_t TransferModel::firstId() const +{ + if(transfertItemList.size()>0) + return transfertItemList.front().id; + else + return 0; +} + +QVariant TransferModel::headerData( int section, Qt::Orientation orientation, int role ) const +{ + if(facilityEngine==NULL) + abort(); + if ( role == Qt::DisplayRole && orientation == Qt::Horizontal && section >= 0 && section < COLUMN_COUNT ) { + switch ( section ) { + case 0: + return QString::fromStdString(facilityEngine->translateText("Source")); + case 1: + return QString::fromStdString(facilityEngine->translateText("Size")); + case 2: + return QString::fromStdString(facilityEngine->translateText("Destination")); + } + } + + return QAbstractTableModel::headerData( section, orientation, role ); +} + +bool TransferModel::setData( const QModelIndex& index, const QVariant& value, int role ) +{ + row=index.row(); + column=index.column(); + if(index.parent()!=QModelIndex() || row < 0 || (unsigned int)row >= transfertItemList.size() || column < 0 || column >= COLUMN_COUNT) + return false; + + TransfertItem& item = transfertItemList[row]; + if(role==Qt::UserRole) + { + item.id=value.toULongLong(); + return true; + } + else if(role==Qt::DisplayRole) + { + switch(column) + { + case 0: + item.source=value.toString().toStdString(); + emit dataChanged(index,index); + return true; + break; + case 1: + item.size=value.toString().toStdString(); + emit dataChanged(index,index); + return true; + break; + case 2: + item.destination=value.toString().toStdString(); + emit dataChanged(index,index); + return true; + break; + default: + return false; + } + } + return false; +} + +/* + Return[0]: totalFile + Return[1]: totalSize + Return[2]: currentFile + */ +std::vector<uint64_t> TransferModel::synchronizeItems(const std::vector<Ultracopier::ReturnActionOnCopyList>& returnActions) +{ + const QModelIndexList oldIndexes = persistentIndexList(); + QModelIndexList newIndexes=oldIndexes; + QMap<int, quint64> oldMapping; // model index row in model before update, item id + QMap<quint64, int> newMapping; // item id, model index row in model after update + for ( int i = 0; i < oldIndexes.count(); i++ ) { + const QModelIndex& index = oldIndexes.at(i); + oldMapping[index.row()] = index.data( Qt::UserRole ).value<quint64>(); + } + + loop_size=returnActions.size(); + index_for_loop=0; + quint64 totalFile=0,totalSize=0,currentFile=0; + emit layoutAboutToBeChanged(); + while(index_for_loop<loop_size) + { + const Ultracopier::ReturnActionOnCopyList& action=returnActions.at(index_for_loop); + switch(action.type) + { + case Ultracopier::AddingItem: + { + TransfertItem newItem; + newItem.id=action.addAction.id; + newItem.source=action.addAction.sourceFullPath; + newItem.size=facilityEngine->sizeToString(action.addAction.size); + newItem.destination=action.addAction.destinationFullPath; + transfertItemList.push_back(newItem); + totalFile++; + totalSize+=action.addAction.size; + } + break; + case Ultracopier::MoveItem: + { + //bool current_entry= + if(action.userAction.position<0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString()); + break; + } + if((unsigned int)action.userAction.position>(transfertItemList.size()-1)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString()); + break; + } + if(action.userAction.moveAt<0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString()); + break; + } + if((unsigned int)action.userAction.moveAt>(transfertItemList.size()-1)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, position is wrong: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString()); + break; + } + if(action.userAction.position==action.userAction.moveAt) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("id: %1, move at same position: %2").arg(action.addAction.id).arg(action.userAction.position).toStdString()); + break; + } + const TransfertItem transfertItem=transfertItemList.at(action.userAction.position); + transfertItemList.erase(transfertItemList.cbegin()+action.userAction.position); + transfertItemList.insert(transfertItemList.cbegin()+action.userAction.moveAt,transfertItem); + //newIndexes.move(action.userAction.position,action.userAction.moveAt); + } + break; + case Ultracopier::RemoveItem: + { + if(currentIndexSearch>0 && action.userAction.position<=currentIndexSearch) + currentIndexSearch--; + if(action.userAction.position<0) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position).toStdString()); + break; + } + if((unsigned int)action.userAction.position>(transfertItemList.size()-1)) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,QStringLiteral("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position).toStdString()); + break; + } + transfertItemList.erase(transfertItemList.cbegin()+action.userAction.position); + currentFile++; + startId.erase(action.addAction.id); + stopId.erase(action.addAction.id); + internalRunningOperation.erase(action.addAction.id); + //newIndexes.remove(action.userAction.moveAt); + } + break; + case Ultracopier::PreOperation: + { + ItemOfCopyListWithMoreInformations tempItem; + tempItem.currentReadProgression=0; + tempItem.currentWriteProgression=0; + tempItem.generalData=action.addAction; + tempItem.actionType=action.type; + internalRunningOperation[action.addAction.id]=tempItem; + } + break; + case Ultracopier::Transfer: + { + if(startId.find(action.addAction.id)==startId.cend()) + startId.insert(action.addAction.id); + stopId.erase(action.addAction.id); + if(internalRunningOperation.find(action.addAction.id)!=internalRunningOperation.cend()) + internalRunningOperation[action.addAction.id].actionType=action.type; + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unable to found entry for file %1: actionType: Transfer").arg(action.addAction.id).toStdString()); + } + break; + case Ultracopier::PostOperation: + { + if(stopId.find(action.addAction.id)==stopId.cend()) + stopId.insert(action.addAction.id); + startId.erase(action.addAction.id); + } + break; + case Ultracopier::CustomOperation: + { + bool custom_with_progression=(action.addAction.size==1); + //without progression + if(custom_with_progression) + { + if(startId.find(action.addAction.id)!=startId.cend()) + { + startId.erase(action.addAction.id); + if(stopId.find(action.addAction.id)==stopId.cend()) + stopId.insert(action.addAction.id); + } + } + //with progression + else + { + stopId.erase(action.addAction.id); + if(startId.find(action.addAction.id)==startId.cend()) + startId.insert(action.addAction.id); + } + if(internalRunningOperation.find(action.addAction.id)!=internalRunningOperation.cend()) + { + ItemOfCopyListWithMoreInformations &item=internalRunningOperation[action.addAction.id]; + item.actionType=action.type; + item.custom_with_progression=custom_with_progression; + item.currentReadProgression=0; + item.currentWriteProgression=0; + } + } + break; + default: + //unknow code, ignore it + break; + } + index_for_loop++; + } + + if(!oldIndexes.isEmpty()) + { + const QSet<quint64> ids = oldMapping.values().toSet(); + + for ( unsigned int i = 0; i < transfertItemList.size(); i++ ) { + const TransferModel::TransfertItem& item = transfertItemList.at(i); + + if ( ids.contains( item.id ) ) { + newMapping[ item.id ] = i; + } + } + + for ( int i = 0; i < oldIndexes.count(); i++ ) { + const QModelIndex& index = oldIndexes.at(i); + const int newRow = newMapping.value( oldMapping.value(index.row()), -1 ); + newIndexes[ i ] = newRow == -1 ? QModelIndex() : QAbstractTableModel::index( newRow, index.column(), index.parent() ); + } + } + + changePersistentIndexList( oldIndexes, newIndexes ); + emit layoutChanged(); + { + std::vector<uint64_t> newList; + newList.resize(3); + newList[0]=totalFile; + newList[1]=totalSize; + newList[2]=currentFile; + return newList; + } +} + +void TransferModel::setFacilityEngine(FacilityInterface * facilityEngine) +{ + this->facilityEngine=facilityEngine; +} + +int TransferModel::search(const std::string &text, bool searchNext) +{ + emit layoutAboutToBeChanged(); + search_text=text; + emit layoutChanged(); + if(transfertItemList.size()==0) + return -1; + if(text.empty()) + return -1; + if(searchNext) + { + currentIndexSearch++; + if(currentIndexSearch>=loop_size) + currentIndexSearch=0; + } + index_for_loop=0; + loop_size=transfertItemList.size(); + while(index_for_loop<loop_size) + { + const TransfertItem &transfertItem=transfertItemList.at(currentIndexSearch); + if(transfertItem.source.find(search_text)!=std::string::npos || + transfertItem.destination.find(search_text)!=std::string::npos) + { + haveSearchItem=true; + searchId=transfertItemList.at(currentIndexSearch).id; + return currentIndexSearch; + } + currentIndexSearch++; + if(currentIndexSearch>=loop_size) + currentIndexSearch=0; + index_for_loop++; + } + haveSearchItem=false; + return -1; +} + +int TransferModel::searchPrev(const std::string &text) +{ + emit layoutAboutToBeChanged(); + search_text=text; + emit layoutChanged(); + if(transfertItemList.size()==0) + return -1; + if(text.empty()) + return -1; + if(currentIndexSearch==0) + currentIndexSearch=loop_size-1; + else + currentIndexSearch--; + index_for_loop=0; + loop_size=transfertItemList.size(); + while(index_for_loop<loop_size) + { + const TransfertItem &transfertItem=transfertItemList.at(currentIndexSearch); + if(transfertItem.source.find(search_text)!=std::string::npos || + transfertItem.destination.find(search_text)!=std::string::npos) + { + haveSearchItem=true; + searchId=transfertItemList.at(currentIndexSearch).id; + return currentIndexSearch; + } + if(currentIndexSearch==0) + currentIndexSearch=loop_size-1; + else + currentIndexSearch--; + index_for_loop++; + } + haveSearchItem=false; + return -1; +} + +void TransferModel::setFileProgression(std::vector<Ultracopier::ProgressionItem> &progressionList) +{ + loop_size=progressionList.size(); + index_for_loop=0; + while(index_for_loop<loop_size) + { + if(internalRunningOperation.find(progressionList.at(index_for_loop).id)!=internalRunningOperation.cend()) + { + internalRunningOperation[progressionList.at(index_for_loop).id].generalData.size=progressionList.at(index_for_loop).total; + internalRunningOperation[progressionList.at(index_for_loop).id].currentReadProgression=progressionList.at(index_for_loop).currentRead; + internalRunningOperation[progressionList.at(index_for_loop).id].currentWriteProgression=progressionList.at(index_for_loop).currentWrite; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + progressionList.erase(progressionList.cbegin()+index_for_loop); + index_for_loop--; + loop_size--; + #endif + } + index_for_loop++; + } + #ifdef ULTRACOPIER_PLUGIN_DEBUG + if(progressionList.size()>0) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"progression remaning items"); + #endif +} + +TransferModel::currentTransfertItem TransferModel::getCurrentTransfertItem() const +{ + currentTransfertItem returnItem; + returnItem.progressBar_read=-1; + returnItem.progressBar_write=0; + returnItem.haveItem=startId.size()>0; + if(returnItem.haveItem) + { + if(internalRunningOperation.find(*startId.cbegin())==internalRunningOperation.cend()) + { + returnItem.haveItem=false; + return returnItem; + } + const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.at(*startId.cbegin()); + returnItem.from=itemTransfer.generalData.sourceFullPath; + returnItem.to=itemTransfer.generalData.destinationFullPath; + returnItem.current_file=itemTransfer.generalData.destinationFileName+", "+facilityEngine->sizeToString(itemTransfer.generalData.size); + returnItem.id=itemTransfer.generalData.id; + switch(itemTransfer.actionType) + { + case Ultracopier::CustomOperation: + if(!itemTransfer.custom_with_progression) + returnItem.progressBar_read=-1; + else + { + if(itemTransfer.generalData.size>0) + { + returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535; + returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535; + } + else + returnItem.progressBar_read=-1; + } + break; + case Ultracopier::Transfer: + if(itemTransfer.generalData.size>0) + { + returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535; + returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535; + } + else + { + returnItem.progressBar_read=0; + returnItem.progressBar_write=0; + } + break; + //should never pass here + case Ultracopier::PostOperation: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString()); + returnItem.progressBar_read=65535; + returnItem.progressBar_write=65535; + break; + //should never pass here + case Ultracopier::PreOperation: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString()); + returnItem.progressBar_read=0; + returnItem.progressBar_write=0; + break; + default: + returnItem.progressBar_read=0; + returnItem.progressBar_write=0; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString()); + break; + } + } + else + { + returnItem.haveItem=stopId.size()>0; + if(returnItem.haveItem) + { + if(internalRunningOperation.find(*stopId.cbegin())==internalRunningOperation.cend()) + { + returnItem.haveItem=false; + return returnItem; + } + const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation.at(*stopId.cbegin()); + returnItem.from=itemTransfer.generalData.sourceFullPath; + returnItem.to=itemTransfer.generalData.destinationFullPath; + returnItem.current_file=itemTransfer.generalData.destinationFileName+", "+facilityEngine->sizeToString(itemTransfer.generalData.size); + returnItem.id=itemTransfer.generalData.id; + switch(itemTransfer.actionType) + { + case Ultracopier::CustomOperation: + if(!itemTransfer.custom_with_progression) + returnItem.progressBar_read=-1; + else + { + if(itemTransfer.generalData.size>0) + { + returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535; + returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535; + } + else + returnItem.progressBar_read=-1; + } + break; + case Ultracopier::Transfer: + if(itemTransfer.generalData.size>0) + { + returnItem.progressBar_read=((double)itemTransfer.currentReadProgression/itemTransfer.generalData.size)*65535; + returnItem.progressBar_write=((double)itemTransfer.currentWriteProgression/itemTransfer.generalData.size)*65535; + } + else + { + returnItem.progressBar_read=0; + returnItem.progressBar_write=0; + } + break; + case Ultracopier::PostOperation: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString()); + returnItem.progressBar_read=65535; + returnItem.progressBar_write=65535; + break; + //should never pass here + case Ultracopier::PreOperation: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString()); + returnItem.progressBar_read=0; + returnItem.progressBar_write=0; + break; + default: + returnItem.progressBar_read=65535; + returnItem.progressBar_write=65535; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,QStringLiteral("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType).toStdString()); + break; + } + } + } + if(returnItem.haveItem && returnItem.progressBar_read!=-1 && returnItem.progressBar_write>returnItem.progressBar_read) + { + int tempVar=returnItem.progressBar_write; + returnItem.progressBar_write=returnItem.progressBar_read; + returnItem.progressBar_read=tempVar; + } + return returnItem; +} diff --git a/plugins/Themes/Oxygen/TransferModel.h b/plugins/Themes/Oxygen/TransferModel.h new file mode 100644 index 0000000..e572f9e --- /dev/null +++ b/plugins/Themes/Oxygen/TransferModel.h @@ -0,0 +1,96 @@ +#ifndef TRANSFERMODEL_H +#define TRANSFERMODEL_H + +#include <QAbstractTableModel> +#include <QItemSelectionModel> +#include <QModelIndex> +#include <QVariant> +#include <QList> +#include <QSet> +#include <QIcon> +#include <QString> +#include <unordered_map> +#include <unordered_set> +#include <set> +#include <vector> + +#include "StructEnumDefinition.h" +#include "Environment.h" + +#include "../../../interface/FacilityInterface.h" + +/// \brief model to store the transfer list +class TransferModel : public QAbstractTableModel +{ + Q_OBJECT +public: + /// \brief the transfer item displayed + struct TransfertItem + { + uint64_t id; + std::string source; + std::string size; + std::string destination; + }; + /// \brief the transfer item with progression + struct ItemOfCopyListWithMoreInformations + { + uint64_t currentReadProgression,currentWriteProgression; + Ultracopier::ItemOfCopyList generalData; + Ultracopier::ActionTypeCopyList actionType; + bool custom_with_progression; + }; + /// \brief returned first transfer item + struct currentTransfertItem + { + uint64_t id; + bool haveItem; + std::string from; + std::string to; + std::string current_file; + int progressBar_read,progressBar_write; + }; + + TransferModel(); + + virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; + virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; + virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; + virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; + virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); + + std::vector<uint64_t> synchronizeItems(const std::vector<Ultracopier::ReturnActionOnCopyList>& returnActions); + void setFacilityEngine(FacilityInterface * facilityEngine); + + int search(const std::string &text,bool searchNext); + int searchPrev(const std::string &text); + + void setFileProgression(std::vector<Ultracopier::ProgressionItem> &progressionList); + + currentTransfertItem getCurrentTransfertItem() const; + + uint64_t firstId() const; +protected: + std::vector<TransfertItem> transfertItemList;///< To have a transfer list for the user + std::set<uint64_t> startId,stopId;///< To show what is started, what is stopped + std::unordered_map<uint64_t,ItemOfCopyListWithMoreInformations> internalRunningOperation;///< to have progression and stat +private: + int loop_size,index_for_loop; + int sub_loop_size,sub_index_for_loop; + int row,column; + FacilityInterface * facilityEngine; + std::string search_text; + /// \brief index from start the search, decresed by remove before it + int currentIndexSearch; + bool haveSearchItem; + uint64_t searchId; + static QIcon *start; + static QIcon *stop; +signals: + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,std::string fonction,std::string text,std::string file,int ligne) const; + #endif +}; + +#endif // TRANSFERMODEL_H diff --git a/plugins/Themes/Oxygen/Variable.h b/plugins/Themes/Oxygen/Variable.h new file mode 100644 index 0000000..8b6119b --- /dev/null +++ b/plugins/Themes/Oxygen/Variable.h @@ -0,0 +1,18 @@ +/** \file Variable.h
+\brief Define the environment variable
+\author alpha_one_x86
+\licence GPL3, see the file COPYING */
+
+#ifndef VARIABLE_H
+#define VARIABLE_H
+
+
+//Un-comment this next line to put ultracopier plugin in debug mode
+#define ULTRACOPIER_PLUGIN_DEBUG
+
+#define ULTRACOPIER_VERSION_ULTIMATE
+
+#endif // VARIABLE_H
+
+
+
diff --git a/plugins/Themes/Oxygen/documentation.dox b/plugins/Themes/Oxygen/documentation.dox new file mode 100644 index 0000000..d94ce0b --- /dev/null +++ b/plugins/Themes/Oxygen/documentation.dox @@ -0,0 +1,31 @@ +/* -*- mode: C++ ; c-file-style: "stroustrup" -*- **/ + +/* + This file contains NO source code, just some documentation for doxygen to + parse. +*/ + +/*! + \mainpage Oxygen + + \section mainpage_overview Overview + + It's the default interface for Ultracopier.\n + More informations on <a href="http://ultracopier-wiki.first-world.info/">the wiki of ultracopier</a>. + + \section mainpage_platforms Platforms + + Ultracopier might be usable in all environments where you find Qt 5.\n + Ultracopier requires Qt 5.0 or newer. Tested on Qt 5.0. + + \section mainpage_downloads Downloads + + You can find the link on <a href="http://ultracopier.first-world.info/">Ultracopier</a> project page, via git, snapshot sources, ... + + \section license GPL Version 3 + The code source is under GPL3. The image is extacted from Oxygen icon pack of KDE4.\n + resources/export-transfer-list.png and resources/import-transfer-list.png done by png manipulation of KDE's oxygen icon pack (16x16/actions/format-indent-more.png + 16x16/actions/format-list-unordered.png), document-save.png -> all SystemTrayIcon/systray_* (color alteration).\n + From 16x16/actions/: list-add.png -> add.png and SystemTrayIcon/add.png, process-stop.png -> remove.png, document-save.png -> main.png and, arrow-down.png -> moveDown.png, arrow-up.png -> moveUp.png, system-shutdown.png -> cancel.png and SystemTrayIcon/exit.png, arrow-down-double.png -> putOnBottom.png, arrow-up-double.png -> putOnTop.png, media-skip-forward.png -> player_end.png, media-playback-pause.png -> player_pause.png, media-playback-start.png -> player_play.png, document-preview.png -> search.png, help-about.png -> SystemTrayIcon/informations.png \n + And 16x16/categories/applications-development.png -> SystemTrayIcon/options.png + +*/ diff --git a/plugins/Themes/Oxygen/informations.xml b/plugins/Themes/Oxygen/informations.xml new file mode 100644 index 0000000..f03f832 --- /dev/null +++ b/plugins/Themes/Oxygen/informations.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Oxygen style for Ultracopier]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Style oxygen pour Ultracopier]]></title> + <!-- What kind of plugin this is --> + <category>Themes</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>windows-x86</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Oxygen style for Ultracopier]]></description> + <description xml:lang="fr"><![CDATA[Style oxygen pour Ultracopier]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>Oxygen</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package>
\ No newline at end of file diff --git a/plugins/Themes/Oxygen/interface.cpp b/plugins/Themes/Oxygen/interface.cpp new file mode 100644 index 0000000..84b4dd6 --- /dev/null +++ b/plugins/Themes/Oxygen/interface.cpp @@ -0,0 +1,1497 @@ +/** \file interface.cpp +\brief Define the interface core +\author alpha_one_x86 */ + +#include <QMessageBox> +#include <QMimeData> +#include <QScrollArea> +#include <QColorDialog> +#include <QRect> +#include <QPainter> +#include <QDebug> +#include <cmath> +#include <chrono> +#include <ctime> +#ifdef Q_OS_WIN + #ifndef NOMINMAX + #define NOMINMAX + #endif + #include <windows.h> +#endif + +#include "interface.h" +#include "ui_interface.h" +#include "ThemesFactory.h" + +QIcon Themes::player_play; +QIcon Themes::player_pause; +QIcon Themes::tempExitIcon; +QIcon Themes::editDelete; +QIcon Themes::skinIcon; +QIcon Themes::editFind; +QIcon Themes::documentOpen; +QIcon Themes::documentSave; +QIcon Themes::listAdd; +bool Themes::iconLoaded=false; + +// The cmath header from MSVC does not contain round() +#if (defined(_WIN64) || defined(_WIN32)) && defined(_MSC_VER) +inline double round(double d) { + return floor( d + 0.5 ); +} +#endif + +Themes::Themes(const bool &alwaysOnTop, + const bool &showProgressionInTheTitle, + const QColor &progressColorWrite, + const QColor &progressColorRead, + const QColor &progressColorRemaining, + const bool &showDualProgression, + const quint8 &comboBox_copyEnd, + const bool &speedWithProgressBar, + const qint32 ¤tSpeed, + const bool &checkBoxShowSpeed, + FacilityInterface * facilityEngine, + const bool &moreButtonPushed, + const bool &minimizeToSystray, + const bool &startMinimized) : + ui(new Ui::interfaceCopy()), + uiOptions(new Ui::themesOptions()) +{ + this->facilityEngine=facilityEngine; + ui->setupUi(this); + uiOptions->setupUi(ui->optionsTab); + + currentFile = 0; + totalFile = 0; + currentSize = 0; + totalSize = 0; + getOldProgression = 200; + haveError = false; + stat = status_never_started; + modeIsForced = false; + haveStarted = false; + storeIsInPause = false; + durationStarted = false; + if(startMinimized) + this->showMinimized(); + + this->progressColorWrite = progressColorWrite; + this->progressColorRead = progressColorRead; + this->progressColorRemaining= progressColorRemaining; + this->currentSpeed = currentSpeed; + uiOptions->showProgressionInTheTitle->setChecked(showProgressionInTheTitle); + uiOptions->speedWithProgressBar->setChecked(speedWithProgressBar); + uiOptions->showDualProgression->setChecked(showDualProgression); + uiOptions->startMinimized->setEnabled(false); + uiOptions->alwaysOnTop->setChecked(alwaysOnTop); + uiOptions->minimizeToSystray->setChecked(minimizeToSystray); + //uiOptions->setupUi(ui->tabWidget->widget(ui->tabWidget->count()-1)); + uiOptions->labelStartWithMoreButtonPushed->setVisible(false); + uiOptions->checkBoxStartWithMoreButtonPushed->setVisible(false); + uiOptions->label_Slider_speed->setVisible(false); + uiOptions->SliderSpeed->setVisible(false); + uiOptions->label_SpeedMaxValue->setVisible(false); + uiOptions->comboBox_copyEnd->setCurrentIndex(comboBox_copyEnd); + speedWithProgressBar_toggled(speedWithProgressBar); + showDualProgression_toggled(showDualProgression); + QPixmap pixmap(75,20); + pixmap.fill(progressColorWrite); + uiOptions->progressColorWrite->setIcon(pixmap); + pixmap.fill(progressColorRead); + uiOptions->progressColorRead->setIcon(pixmap); + pixmap.fill(progressColorRemaining); + uiOptions->progressColorRemaining->setIcon(pixmap); + + transferModel.setFacilityEngine(facilityEngine);//need be before ui->TransferList->setModel(&transferModel); due to call of TransferModel::headerData() + ui->TransferList->setModel(&transferModel); + ui->tabWidget->setCurrentIndex(0); + uiOptions->toolBox->setCurrentIndex(0); + uiOptions->checkBoxShowSpeed->setChecked(checkBoxShowSpeed); + menu=new QMenu(this); + ui->add->setMenu(menu); + + //connect the options + checkBoxShowSpeed_toggled(uiOptions->checkBoxShowSpeed->isChecked()); + connect(uiOptions->checkBoxShowSpeed,&QCheckBox::stateChanged,this,&Themes::checkBoxShowSpeed_toggled); + connect(uiOptions->speedWithProgressBar,&QCheckBox::stateChanged,this,&Themes::speedWithProgressBar_toggled); + connect(uiOptions->showProgressionInTheTitle,&QCheckBox::stateChanged,this,&Themes::updateTitle); + connect(uiOptions->showDualProgression,&QCheckBox::stateChanged,this,&Themes::showDualProgression_toggled); + connect(uiOptions->progressColorWrite,&QAbstractButton::clicked,this,&Themes::progressColorWrite_clicked); + connect(uiOptions->progressColorRead, &QAbstractButton::clicked,this,&Themes::progressColorRead_clicked); + connect(uiOptions->progressColorRemaining,&QAbstractButton::clicked,this,&Themes::progressColorRemaining_clicked); + connect(uiOptions->alwaysOnTop,&QAbstractButton::clicked,this,&Themes::alwaysOnTop_clickedSlot); + + isInPause(false); + + connect(uiOptions->limitSpeed, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &Themes::uiUpdateSpeed); + connect(uiOptions->checkBox_limitSpeed,&QAbstractButton::toggled, this, &Themes::uiUpdateSpeed); + + connect(ui->actionAddFile,&QAction::triggered,this,&Themes::forcedModeAddFile); + connect(ui->actionAddFileToCopy,&QAction::triggered,this,&Themes::forcedModeAddFileToCopy); + connect(ui->actionAddFileToMove,&QAction::triggered,this,&Themes::forcedModeAddFileToMove); + connect(ui->actionAddFolderToCopy,&QAction::triggered,this,&Themes::forcedModeAddFolderToCopy); + connect(ui->actionAddFolderToMove,&QAction::triggered,this,&Themes::forcedModeAddFolderToMove); + connect(ui->actionAddFolder,&QAction::triggered,this,&Themes::forcedModeAddFolder); + connect(ui->exportErrorToTransferList,&QToolButton::triggered,this,&Themes::exportErrorIntoTransferList); + + //setup the search part + closeTheSearchBox(); + TimerForSearch = new QTimer(this); + TimerForSearch->setInterval(500); + TimerForSearch->setSingleShot(true); + searchShortcut = new QShortcut(QKeySequence(QKeySequence::Find),this); + searchShortcut2 = new QShortcut(QKeySequence(QKeySequence::FindNext),this); + searchShortcut3 = new QShortcut(QKeySequence(Qt::Key_Escape),this); + + //connect the search part + connect(TimerForSearch, &QTimer::timeout, this, &Themes::hilightTheSearchSlot); + connect(searchShortcut, &QShortcut::activated, this, &Themes::searchBoxShortcut); + connect(searchShortcut2, &QShortcut::activated, this, &Themes::on_pushButtonSearchNext_clicked); + connect(ui->pushButtonCloseSearch, &QPushButton::clicked, this, &Themes::closeTheSearchBox); + connect(searchShortcut3, &QShortcut::activated, this, &Themes::closeTheSearchBox); + + //reload directly untranslatable text + newLanguageLoaded(); + + //unpush the more button + ui->moreButton->setChecked(moreButtonPushed); + on_moreButton_toggled(moreButtonPushed); + + /// \note important for drag and drop, \see dropEvent() + setAcceptDrops(true); + + #ifdef SUPERCOPIER + const QString themePath=":/Themes/Supercopier/"; + #else + const QString themePath=":/Themes/Oxygen/"; + #endif + + // try set the OS icon + if(!iconLoaded) + { + iconLoaded=true; + tempExitIcon=QIcon::fromTheme(QStringLiteral("application-exit")); + editDelete=QIcon::fromTheme(QStringLiteral("edit-delete")); + player_pause=QIcon::fromTheme(QStringLiteral("media-playback-pause")); + if(player_pause.isNull()) + player_pause=QIcon(themePath+QStringLiteral("resources/player_pause.png")); + player_play=QIcon::fromTheme(QStringLiteral("media-playback-play")); + if(player_play.isNull()) + player_play=QIcon(themePath+QStringLiteral("resources/player_play.png")); + skinIcon=QIcon::fromTheme(QStringLiteral("media-skip-forward")); + editFind=QIcon::fromTheme(QStringLiteral("edit-find")); + documentOpen=QIcon::fromTheme(QStringLiteral("document-open")); + documentSave=QIcon::fromTheme(QStringLiteral("document-save")); + listAdd=QIcon::fromTheme(QStringLiteral("list-add")); + } + if(!tempExitIcon.isNull()) + { + ui->cancelButton->setIcon(tempExitIcon); + ui->pushButtonCloseSearch->setIcon(tempExitIcon); + ui->shutdown->setIcon(tempExitIcon); + } + if(!editDelete.isNull()) + ui->del->setIcon(editDelete); + if(!player_pause.isNull()) + ui->pauseButton->setIcon(player_pause); + if(!skinIcon.isNull()) + ui->skipButton->setIcon(skinIcon); + if(!editFind.isNull()) + ui->searchButton->setIcon(editFind); + if(!documentOpen.isNull()) + ui->importTransferList->setIcon(documentOpen); + if(!documentSave.isNull()) + { + ui->exportTransferList->setIcon(documentSave); + ui->exportErrorToTransferList->setIcon(documentSave); + } + if(!listAdd.isNull()) + { + ui->add->setIcon(listAdd); + ui->actionAddFile->setIcon(listAdd); + ui->actionAddFileToCopy->setIcon(listAdd); + ui->actionAddFileToMove->setIcon(listAdd); + ui->actionAddFolder->setIcon(listAdd); + ui->actionAddFolderToCopy->setIcon(listAdd); + ui->actionAddFolderToMove->setIcon(listAdd); + } + #ifdef Q_OS_WIN32 + pixmapTop=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Uncaught_Windows.png")); + pixmapBottom=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Caught_Windows.png")); + #else + pixmapTop=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Uncaught_Unix.png")); + pixmapBottom=QPixmap(themePath+QStringLiteral("resources/SystemTrayIcon/systray_Caught_Unix.png")); + #endif + + #ifdef SUPERCOPIER + /*QIcon icon; + icon.addFile(themePath+QStringLiteral("resources/main.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->interfaceCopy->setWindowIcon(icon);*/ + QIcon icon1; + icon1.addFile(themePath+QStringLiteral("resources/add.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->actionAddFile->setIcon(icon1); + QIcon icon2; + icon2.addFile(themePath+QStringLiteral("resources/SystemTrayIcon/exit.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->shutdown->setIcon(icon2); + QIcon icon3; + icon3.addFile(themePath+QStringLiteral("resources/moveDown.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->moreButton->setIcon(icon3); + ui->pushDown->setIcon(icon3); + if(!QFile::exists(themePath+QStringLiteral("resources/moveDown.png"))) + { + qDebug() << "File not found, can't continue: " << themePath+QStringLiteral("resources/moveDown.png"); + abort(); + } + QIcon icon4; + icon4.addFile(themePath+QStringLiteral("resources/player_pause.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->pauseButton->setIcon(icon4); + QIcon icon5; + icon5.addFile(themePath+QStringLiteral("resources/player_end.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->skipButton->setIcon(icon5); + QIcon icon6; + icon6.addFile(themePath+QStringLiteral("resources/cancel.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->cancelButton->setIcon(icon6); + QIcon icon7; + icon7.addFile(themePath+QStringLiteral("resources/putOnTop.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->putOnTop->setIcon(icon7); + QIcon icon8; + icon8.addFile(themePath+QStringLiteral("resources/moveUp.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->pushUp->setIcon(icon8); + QIcon icon9; + icon9.addFile(themePath+QStringLiteral("resources/putOnBottom.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->putOnBottom->setIcon(icon9); + QIcon icon10; + icon10.addFile(themePath+QStringLiteral("resources/remove.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->del->setIcon(icon10); + QIcon icon11; + icon11.addFile(themePath+QStringLiteral("resources/search.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->searchButton->setIcon(icon11); + QIcon icon12; + icon12.addFile(themePath+QStringLiteral("resources/export-transfer-list.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->exportTransferList->setIcon(icon12); + QIcon icon13; + icon13.addFile(themePath+QStringLiteral("resources/import-transfer-list.png"), QSize(), QIcon::Normal, QIcon::Off); + ui->importTransferList->setIcon(icon13); + QIcon icon14; + icon14.addFile(themePath+QStringLiteral("resources/main.png"), QSize(), QIcon::Normal, QIcon::Off); + this->setWindowIcon(icon14); + #endif + + shutdown=facilityEngine->haveFunctionality("shutdown"); + ui->shutdown->setVisible(shutdown); + + selectionModel=ui->TransferList->selectionModel(); + + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(&transferModel,&TransferModel::debugInformation,this,&Themes::debugInformation); + #endif + + updateSpeed(); + alwaysOnTop_clicked(false); + /*#ifdef Q_OS_WIN32 + uiOptions->labelAlwaysOnTop->hide(); + uiOptions->alwaysOnTop->hide(); + #endif*/ + #ifdef ULTRACOPIER_VERSION_ULTIMATE + #ifdef SUPERCOPIER + ui->ad_ultimate->setText(tr("%1 is deprecated, Use %2").arg("<span style=\"color:#ee0000\">Super</span><span style=\"color:#0000cc\">Copier</span>").arg("<a href=\"http://ultracopier.first-world.info/\">Ultracopier</a>")); + #else + #ifdef Q_OS_MACOS + ui->ad_ultimate->setText(tr("This will be the last version for Mac, but you can compile from source")); + #else + ui->ad_ultimate->hide(); + #endif + #endif + #else + QString ultimateUrl=QString::fromStdString(facilityEngine->ultimateUrl()); + if(ultimateUrl.isEmpty()) + ui->ad_ultimate->hide(); + else + ui->ad_ultimate->setText( + #ifdef SUPERCOPIER + tr("%1 is deprecated, Use %2").arg("<span style=\"color:#ee0000\">Super</span><span style=\"color:#0000cc\">copier</span>").arg("<a href=\"http://ultracopier.first-world.info/\">Ultracopier</a><br />")+ + #endif + #ifdef Q_OS_MACOS + tr("This will be the last version for Mac, but you can compile from source")+ + #endif + QStringLiteral("<a href=\"%1\">%2</a>").arg(ultimateUrl).arg(tr("Buy the Ultimate version to fund development"))); + #endif + + #ifdef SUPERCOPIER + uiOptions->labelDualProgression->hide(); + uiOptions->showDualProgression->hide(); + ui->progressBar_all->setMaximumHeight(17); + ui->progressBar_file->setMaximumHeight(17); + ui->progressBarCurrentSpeed->setMaximumHeight(17); + ui->progressBar_all->setMinimumHeight(17); + ui->progressBar_file->setMinimumHeight(17); + ui->progressBarCurrentSpeed->setMinimumHeight(17); + ui->progressBar_all->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}")); + ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}")); + ui->progressBarCurrentSpeed->setStyleSheet(QStringLiteral("QProgressBar{color:#fff;font-weight:bold;border:1px solid black;text-align:center;background-image:url(:/Themes/Supercopier/resources/progressbarright.png);}QProgressBar::chunk{background-image: url(:/Themes/Supercopier/resources/progressbarleft.png);}")); + this->setWindowTitle("Supercopier"); + #endif + + show(); + + sysTrayIcon = new QSystemTrayIcon(this); + connect(sysTrayIcon,&QSystemTrayIcon::activated,this,&Themes::catchAction); +} + +Themes::~Themes() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + //disconnect(ui->actionAddFile); + //disconnect(ui->actionAddFolder); + delete selectionModel; + delete menu; + delete sysTrayIcon; +} + +QWidget * Themes::getOptionsEngineWidget() +{ + return &optionEngineWidget; +} + +void Themes::getOptionsEngineEnabled(const bool &isEnabled) +{ + if(isEnabled) + { + QScrollArea *scrollArea=new QScrollArea(ui->tabWidget); + scrollArea->setWidgetResizable(true); + scrollArea->setWidget(&optionEngineWidget); + ui->tabWidget->addTab(scrollArea,QString::fromStdString(facilityEngine->translateText("Copy engine"))); + } +} + +void Themes::closeEvent(QCloseEvent *event) +{ + event->ignore(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + this->hide(); + if(uiOptions->minimizeToSystray->isChecked()) + { + updateSysTrayIcon(); + sysTrayIcon->show(); + } + else + emit cancel(); +} + +void Themes::updateSysTrayIcon() +{ + if(totalSize==0) + { + sysTrayIcon->setIcon(dynaIcon(0,"-")); + return; + } + quint64 currentNew=currentSize*100; + //update systray icon + quint16 getVarProgression=currentNew/totalSize; + if(getOldProgression!=getVarProgression) + { + getOldProgression=getVarProgression; + sysTrayIcon->setIcon(dynaIcon(getVarProgression)); + } +} + +void Themes::updateOverallInformation() +{ + if(uiOptions->showProgressionInTheTitle->isChecked()) + updateTitle(); + ui->overall->setText(tr("File %1/%2, size: %3/%4") + .arg(currentFile) + .arg(totalFile) + .arg(QString::fromStdString(facilityEngine->sizeToString(currentSize))) + .arg(QString::fromStdString(facilityEngine->sizeToString(totalSize))) + ); +} + +void Themes::actionInProgess(const Ultracopier::EngineActionInProgress &action) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"start: "+std::to_string(action)); + this->action=action; + switch(action) + { + case Ultracopier::Copying: + case Ultracopier::CopyingAndListing: + ui->progressBar_all->setMaximum(65535); + ui->progressBar_all->setMinimum(0); + break; + case Ultracopier::Listing: + ui->progressBar_all->setMaximum(0); + ui->progressBar_all->setMinimum(0); + break; + case Ultracopier::Idle: + ui->progressBar_all->setMaximum(65535); + ui->progressBar_all->setMinimum(0); + if(haveStarted && transferModel.rowCount()<=0) + { + if(shutdown && ui->shutdown->isChecked()) + { + facilityEngine->callFunctionality("shutdown"); + return; + } + switch(uiOptions->comboBox_copyEnd->currentIndex()) + { + case 2: + emit cancel(); + break; + case 0: + if(!haveError) + emit cancel(); + else + ui->tabWidget->setCurrentWidget(ui->tab_error); + break; + default: + break; + } + stat = status_stopped; + if(durationStarted) + { + Ultracopier::TimeDecomposition time=facilityEngine->secondsToTimeDecomposition( + (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count()- + duration) + /1000); + ui->labelTimeRemaining->setText(QStringLiteral("<html><body style=\"white-space:nowrap;\">")+ + QString::fromStdString(facilityEngine->translateText("Completed in %1")).arg( + QString::number(time.hour)+QStringLiteral(":")+ + QString::number(time.minute).rightJustified(2,'0')+ + QStringLiteral(":")+ + QString::number(time.second).rightJustified(2,'0') + )+QStringLiteral("</body></html>")); + } + } + break; + default: + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"Very wrong switch case!"); + break; + } + switch(action) + { + case Ultracopier::Copying: + case Ultracopier::CopyingAndListing: + ui->pauseButton->setEnabled(true); + if(!durationStarted) + { + duration=std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(); + durationStarted=true; + } + haveStarted=true; + ui->cancelButton->setText(QString::fromStdString(facilityEngine->translateText("Quit"))); + updatePause(); + break; + case Ultracopier::Listing: + ui->pauseButton->setEnabled(false); + haveStarted=true;//to close if skip at root folder collision + break; + case Ultracopier::Idle: + ui->pauseButton->setEnabled(false); + break; + default: + break; + } +} + +void Themes::newFolderListing(const std::string &path) +{ + QString newPath=QString::fromStdString(path); + if(newPath.size()>(64+3)) + newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + if(action==Ultracopier::Listing) + ui->from->setText(newPath); +} + +void Themes::detectedSpeed(const uint64_t &speed)//in byte per seconds +{ + if(uiOptions->speedWithProgressBar->isChecked()) + { + quint64 tempSpeed=speed; + if(tempSpeed>999999999) + tempSpeed=999999999; + if(tempSpeed>(quint64)ui->progressBarCurrentSpeed->maximum()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"set max speed to: "+std::to_string(tempSpeed)); + ui->progressBarCurrentSpeed->setMaximum(tempSpeed); + } + ui->progressBarCurrentSpeed->setValue(tempSpeed); + ui->progressBarCurrentSpeed->setFormat(QString::fromStdString(facilityEngine->speedToString(speed))); + } + else + ui->currentSpeed->setText(QString::fromStdString(facilityEngine->speedToString(speed))); +} + +void Themes::remainingTime(const int &remainingSeconds) +{ + QString labelTimeRemaining(QStringLiteral( + "<html><body style=\"white-space:nowrap;\">")+ + QString::fromStdString(facilityEngine->translateText("Time remaining:"))+ + QStringLiteral(" ") + ); + if(remainingSeconds==-1) + labelTimeRemaining+=QStringLiteral("∞"); + else + { + Ultracopier::TimeDecomposition time=facilityEngine->secondsToTimeDecomposition(remainingSeconds); + labelTimeRemaining+=QString::number(time.hour)+QStringLiteral(":")+QString::number(time.minute).rightJustified(2,'0')+QStringLiteral(":")+QString::number(time.second).rightJustified(2,'0'); + } + labelTimeRemaining+=QStringLiteral("</body></html>"); + ui->labelTimeRemaining->setText(labelTimeRemaining); +} + +void Themes::errorDetected() +{ + haveError=true; +} + +/// \brief new error +void Themes::errorToRetry(const std::string &source,const std::string &destination,const std::string &error) +{ + ui->errorList->addTopLevelItem(new QTreeWidgetItem(QStringList() + << QString::fromStdString(source) + << QString::fromStdString(destination) + << QString::fromStdString(error) + )); +} + +/** \brief support speed limitation */ +void Themes::setSupportSpeedLimitation(const bool &supportSpeedLimitationBool) +{ + if(!supportSpeedLimitationBool) + { + ui->label_Slider_speed->setVisible(false); + ui->SliderSpeed->setVisible(false); + ui->label_SpeedMaxValue->setVisible(false); + uiOptions->labelShowSpeedAsMain->setVisible(false); + uiOptions->checkBoxShowSpeed->setVisible(false); + } + else + emit newSpeedLimitation(currentSpeed); +} + +//get information about the copy +void Themes::setGeneralProgression(const uint64_t ¤t,const uint64_t &total) +{ + currentSize=current; + totalSize=total; + if(total>0) + { + int newIndicator=((double)current/total)*65535; + ui->progressBar_all->setValue(newIndicator); + } + else + ui->progressBar_all->setValue(0); + if(current>0) + stat = status_started; + updateOverallInformation(); + if(isHidden()) + updateSysTrayIcon(); +} + +void Themes::setFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList) +{ + std::vector<Ultracopier::ProgressionItem> progressionListBis=progressionList; + transferModel.setFileProgression(progressionListBis); + updateCurrentFileInformation(); +} + +//edit the transfer list +/// \todo check and re-enable to selection +void Themes::getActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &returnActions) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start, returnActions.size(): "+std::to_string(returnActions.size())); + std::vector<uint64_t> returnValue=transferModel.synchronizeItems(returnActions); + totalFile+=returnValue.front(); + totalSize+=returnValue.at(1); + currentFile+=returnValue.back(); + if(transferModel.rowCount()==0) + { + ui->skipButton->setEnabled(false); + ui->progressBar_all->setValue(65535); + ui->progressBar_file->setValue(65535); + currentSize=totalSize; + if(isHidden()) + updateSysTrayIcon(); + } + else + ui->skipButton->setEnabled(true); + updateOverallInformation(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"transferModel.rowCount(): "+std::to_string(transferModel.rowCount())); +} + +void Themes::setCopyType(const Ultracopier::CopyType &type) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + this->type=type; + updateModeAndType(); +} + +void Themes::forceCopyMode(const Ultracopier::CopyMode &mode) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + modeIsForced=true; + this->mode=mode; + if(mode==Ultracopier::Copy) + ui->tabWidget->setTabText(0,tr("Copy list")); + else + ui->tabWidget->setTabText(0,tr("Move list")); + updateModeAndType(); + updateTitle(); +} + +void Themes::setTransferListOperation(const Ultracopier::TransferListOperation &transferListOperation) +{ + ui->exportTransferList->setVisible(transferListOperation & Ultracopier::TransferListOperation_Export); + ui->importTransferList->setVisible(transferListOperation & Ultracopier::TransferListOperation_Import); +} + +void Themes::haveExternalOrder() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); +// ui->moreButton->toggle(); +} + +void Themes::isInPause(const bool &isInPause) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"isInPause: "+std::to_string(isInPause)); + //resume in auto the pause + storeIsInPause=isInPause; + updatePause(); +} + +void Themes::updatePause() +{ + if(storeIsInPause) + { + ui->pauseButton->setIcon(player_play); + if(stat == status_started) + ui->pauseButton->setText(QString::fromStdString(facilityEngine->translateText("Resume"))); + else + ui->pauseButton->setText(QString::fromStdString(facilityEngine->translateText("Start"))); + } + else + { + ui->pauseButton->setIcon(player_pause); + ui->pauseButton->setText(QString::fromStdString(facilityEngine->translateText("Pause"))); + } +} + +void Themes::updateCurrentFileInformation() +{ + TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem(); + if(transfertItem.haveItem) + { + QString newPath=QString::fromStdString(transfertItem.from); + if(newPath.size()>(64+3)) + newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32); + ui->from->setText(newPath); + newPath=QString::fromStdString(transfertItem.to); + if(newPath.size()>(64+3)) + newPath=newPath.mid(0,32)+QStringLiteral("...")+newPath.mid(newPath.size()-32,32); + ui->to->setText(newPath); + ui->current_file->setText(QString::fromStdString(transfertItem.current_file)); + if(transfertItem.progressBar_read!=-1) + { + ui->progressBar_file->setRange(0,65535); + if(uiOptions->showDualProgression->isChecked()) + { + if(transfertItem.progressBar_read!=transfertItem.progressBar_write) + { + float permilleread=round((float)transfertItem.progressBar_read/65535*1000)/1000; + float permillewrite=permilleread-0.001; + ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{border: 1px solid grey;text-align: center;background-color: qlineargradient(spread:pad, x1:%1, y1:0, x2:%2, y2:0, stop:0 %3, stop:1 %4);}QProgressBar::chunk{background-color:%5;}") + .arg(permilleread) + .arg(permillewrite) + .arg(progressColorRemaining.name()) + .arg(progressColorRead.name()) + .arg(progressColorWrite.name()) + ); + } + else + ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}") + .arg(progressColorRemaining.name()) + .arg(progressColorWrite.name()) + ); + ui->progressBar_file->setValue(transfertItem.progressBar_write); + } + else + ui->progressBar_file->setValue((transfertItem.progressBar_read+transfertItem.progressBar_write)/2); + } + else + ui->progressBar_file->setRange(0,0); + } + else + { + ui->from->setText(QStringLiteral("")); + ui->to->setText(QStringLiteral("")); + ui->current_file->setText(QStringLiteral("-")); + if(haveStarted && transferModel.rowCount()==0) + ui->progressBar_file->setValue(65535); + else if(!haveStarted) + ui->progressBar_file->setValue(0); + } +} + + +void Themes::on_putOnTop_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + selectedItems=selectionModel->selectedRows(); + std::vector<uint64_t> ids; + int index=0; + const int &loop_size=selectedItems.size(); + while(index<loop_size) + { + ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong()); + index++; + } + if(ids.size()>0) + emit moveItemsOnTop(ids); +} + +void Themes::on_pushUp_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + selectedItems=selectionModel->selectedRows(); + std::vector<uint64_t> ids; + int index=0; + const int &loop_size=selectedItems.size(); + while(index<loop_size) + { + ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong()); + index++; + } + if(ids.size()>0) + emit moveItemsUp(ids); +} + +void Themes::on_pushDown_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + selectedItems=selectionModel->selectedRows(); + std::vector<uint64_t> ids; + int index=0; + const int &loop_size=selectedItems.size(); + while(index<loop_size) + { + ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong()); + index++; + } + if(ids.size()>0) + emit moveItemsDown(ids); +} + +void Themes::on_putOnBottom_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + selectedItems=selectionModel->selectedRows(); + std::vector<uint64_t> ids; + int index=0; + const int &loop_size=selectedItems.size(); + while(index<loop_size) + { + ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong()); + index++; + } + if(ids.size()>0) + emit moveItemsOnBottom(ids); +} + +void Themes::on_del_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + selectedItems=selectionModel->selectedRows(); + std::vector<uint64_t> ids; + int index=0; + const int &loop_size=selectedItems.size(); + while(index<loop_size) + { + ids.push_back(transferModel.data(selectedItems.at(index),Qt::UserRole).toULongLong()); + index++; + } + if(ids.size()>0) + emit removeItems(ids); +} + +void Themes::on_cancelButton_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + this->hide(); + emit cancel(); +} + + +void Themes::speedWithProgressBar_toggled(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + ui->progressBarCurrentSpeed->setVisible(checked); + ui->currentSpeed->setVisible(!checked); +} + +void Themes::showDualProgression_toggled(bool checked) +{ + Q_UNUSED(checked); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + updateProgressionColorBar(); +} + +void Themes::checkBoxShowSpeed_toggled(bool checked) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + Q_UNUSED(checked); + updateSpeed(); +} + +void Themes::on_SliderSpeed_valueChanged(int value) +{ + if(!uiOptions->checkBoxShowSpeed->isChecked()) + return; + switch(value) + { + case 0: + currentSpeed=0; + break; + case 1: + currentSpeed=1024; + break; + case 2: + currentSpeed=1024*4; + break; + case 3: + currentSpeed=1024*16; + break; + case 4: + currentSpeed=1024*64; + break; + case 5: + currentSpeed=1024*128; + break; + } + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"value: "+std::to_string(value)); + emit newSpeedLimitation(currentSpeed); + updateSpeed(); +} + +void Themes::uiUpdateSpeed() +{ + if(uiOptions->checkBoxShowSpeed->isChecked()) + return; + if(!uiOptions->checkBox_limitSpeed->isChecked()) + currentSpeed=0; + else + currentSpeed=uiOptions->limitSpeed->value(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"emit newSpeedLimitation"+std::to_string(currentSpeed)); + emit newSpeedLimitation(currentSpeed); +} + +void Themes::updateSpeed() +{ + ui->label_Slider_speed->setVisible(uiOptions->checkBoxShowSpeed->isChecked()); + ui->SliderSpeed->setVisible(uiOptions->checkBoxShowSpeed->isChecked()); + ui->label_SpeedMaxValue->setVisible(uiOptions->checkBoxShowSpeed->isChecked()); + uiOptions->limitSpeed->setVisible(!uiOptions->checkBoxShowSpeed->isChecked()); + uiOptions->checkBox_limitSpeed->setVisible(!uiOptions->checkBoxShowSpeed->isChecked()); + + if(uiOptions->checkBoxShowSpeed->isChecked()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"checked, currentSpeed: "+std::to_string(currentSpeed)); + uiOptions->limitSpeed->setEnabled(false); + if(currentSpeed==0) + { + ui->SliderSpeed->setValue(0); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->translateText("Unlimited"))); + } + else if(currentSpeed<=1024) + { + if(currentSpeed!=1024) + { + currentSpeed=1024; + emit newSpeedLimitation(currentSpeed); + } + ui->SliderSpeed->setValue(1); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*1))); + } + else if(currentSpeed<=1024*4) + { + if(currentSpeed!=1024*4) + { + currentSpeed=1024*4; + emit newSpeedLimitation(currentSpeed); + } + ui->SliderSpeed->setValue(2); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*4))); + } + else if(currentSpeed<=1024*16) + { + if(currentSpeed!=1024*16) + { + currentSpeed=1024*16; + emit newSpeedLimitation(currentSpeed); + } + ui->SliderSpeed->setValue(3); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*16))); + } + else if(currentSpeed<=1024*64) + { + if(currentSpeed!=1024*64) + { + currentSpeed=1024*64; + emit newSpeedLimitation(currentSpeed); + } + ui->SliderSpeed->setValue(4); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*64))); + } + else + { + if(currentSpeed!=1024*128) + { + currentSpeed=1024*128; + emit newSpeedLimitation(currentSpeed); + } + ui->SliderSpeed->setValue(5); + ui->label_SpeedMaxValue->setText(QString::fromStdString(facilityEngine->speedToString((double)(1024*1024)*128))); + } + } + else + { + uiOptions->checkBox_limitSpeed->setChecked(currentSpeed>0); + if(currentSpeed>0) + uiOptions->limitSpeed->setValue(currentSpeed); + uiOptions->checkBox_limitSpeed->setEnabled(currentSpeed!=-1); + uiOptions->limitSpeed->setEnabled(uiOptions->checkBox_limitSpeed->isChecked()); + } +} + +void Themes::on_pauseButton_clicked() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + if(storeIsInPause) + emit resume(); + else + emit pause(); +} + +void Themes::on_skipButton_clicked() +{ + TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem(); + if(transfertItem.haveItem) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"skip at running: "+std::to_string(transfertItem.id)); + emit skip(transfertItem.id); + } + else + { + if(transferModel.rowCount()>1) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"skip at idle: "+std::to_string(transferModel.firstId())); + emit skip(transferModel.firstId()); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Critical,"unable to skip the transfer, because no transfer running"); + } +} + +void Themes::updateModeAndType() +{ + menu->clear(); + if(modeIsForced) + { + menu->addAction(ui->actionAddFile); + if(type==Ultracopier::FileAndFolder) + menu->addAction(ui->actionAddFolder); + } + else + { + menu->addAction(ui->actionAddFileToCopy); + menu->addAction(ui->actionAddFileToMove); + if(type==Ultracopier::FileAndFolder) + { + menu->addAction(ui->actionAddFolderToCopy); + menu->addAction(ui->actionAddFolderToMove); + } + } +} + +void Themes::forcedModeAddFile() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit userAddFile(mode); +} + +void Themes::forcedModeAddFolder() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit userAddFolder(mode); +} + +void Themes::forcedModeAddFileToCopy() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit userAddFile(Ultracopier::Copy); +} + +void Themes::forcedModeAddFolderToCopy() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit userAddFolder(Ultracopier::Copy); +} + +void Themes::forcedModeAddFileToMove() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit userAddFile(Ultracopier::Move); +} + +void Themes::forcedModeAddFolderToMove() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + emit userAddFolder(Ultracopier::Move); +} + +void Themes::newLanguageLoaded() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + if(modeIsForced) + forceCopyMode(mode); + ui->retranslateUi(this); + uiOptions->retranslateUi(this); + uiOptions->comboBox_copyEnd->setItemText(0,tr("Don't close if errors are found")); + uiOptions->comboBox_copyEnd->setItemText(1,tr("Never close")); + uiOptions->comboBox_copyEnd->setItemText(2,tr("Always close")); + if(!haveStarted) + ui->current_file->setText(tr("File Name, 0KB")); + else + updateCurrentFileInformation(); + updateOverallInformation(); + updateSpeed(); + if(ui->tabWidget->count()>=4) + ui->tabWidget->setTabText(ui->tabWidget->count()-1, + QString::fromStdString(facilityEngine->translateText("Copy engine"))); + on_moreButton_toggled(ui->moreButton->isChecked()); +} + +void Themes::on_pushButtonCloseSearch_clicked() +{ + closeTheSearchBox(); +} + +//close the search box +void Themes::closeTheSearchBox() +{ + currentIndexSearch = -1; + ui->lineEditSearch->clear(); + ui->lineEditSearch->hide(); + ui->pushButtonSearchPrev->hide(); + ui->pushButtonSearchNext->hide(); + ui->pushButtonCloseSearch->hide(); + ui->searchButton->setChecked(false); + hilightTheSearch(); +} + +//search box shortcut +void Themes::searchBoxShortcut() +{ +/* if(ui->lineEditSearch->isHidden()) + {*/ + ui->lineEditSearch->show(); + ui->pushButtonSearchPrev->show(); + ui->pushButtonSearchNext->show(); + ui->pushButtonCloseSearch->show(); + ui->lineEditSearch->setFocus(Qt::ShortcutFocusReason); + ui->searchButton->setChecked(true); +/* } + else + closeTheSearchBox();*/ +} + +//hilight the search +void Themes::hilightTheSearch(bool searchNext) +{ + int result=transferModel.search(ui->lineEditSearch->text().toStdString(),searchNext); + if(ui->lineEditSearch->text().isEmpty()) + ui->lineEditSearch->setStyleSheet(""); + else + { + if(result==-1) + ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(255, 150, 150);")); + else + { + ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(193,255,176);")); + ui->TransferList->scrollTo(transferModel.index(result,0)); + } + } +} + +void Themes::hilightTheSearchSlot() +{ + hilightTheSearch(); +} + +void Themes::on_pushButtonSearchPrev_clicked() +{ + int result=transferModel.searchPrev(ui->lineEditSearch->text().toStdString()); + if(ui->lineEditSearch->text().isEmpty()) + ui->lineEditSearch->setStyleSheet(""); + else + { + if(result==-1) + ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(255, 150, 150);")); + else + { + ui->lineEditSearch->setStyleSheet(QStringLiteral("background-color: rgb(193,255,176);")); + ui->TransferList->scrollTo(transferModel.index(result,0)); + } + } +} + +void Themes::on_pushButtonSearchNext_clicked() +{ + hilightTheSearch(true); +} + +void Themes::on_lineEditSearch_returnPressed() +{ + hilightTheSearch(); +} + +void Themes::on_lineEditSearch_textChanged(QString text) +{ + if(text=="") + { + TimerForSearch->stop(); + hilightTheSearch(); + } + else + TimerForSearch->start(); +} + +void Themes::on_moreButton_toggled(bool checked) +{ + if(checked) + this->setMaximumHeight(16777215); + else + this->setMaximumHeight(130); + // usefull under windows + this->updateGeometry(); + this->update(); + this->adjustSize(); +} + +/* drag event processing + +need setAcceptDrops(true); into the constructor +need implementation to accept the drop: +void dragEnterEvent(QDragEnterEvent* event); +void dragMoveEvent(QDragMoveEvent* event); +void dragLeaveEvent(QDragLeaveEvent* event); +*/ +void Themes::dropEvent(QDropEvent *event) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + const QMimeData* mimeData = event->mimeData(); + if(mimeData->hasUrls()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"hasUrls"); + std::vector<std::string> urls; + foreach (QUrl url, mimeData->urls()) + urls.push_back(url.toString().toStdString()); + emit urlDropped(urls); + event->acceptProposedAction(); + } +} + +void Themes::dragEnterEvent(QDragEnterEvent* event) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + // if some actions should not be usable, like move, this code must be adopted + const QMimeData* mimeData = event->mimeData(); + if(mimeData->hasUrls()) + { + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"hasUrls"); + event->acceptProposedAction(); + } +} + +void Themes::dragMoveEvent(QDragMoveEvent* event) +{ + // if some actions should not be usable, like move, this code must be adopted + const QMimeData* mimeData = event->mimeData(); + if(mimeData->hasUrls()) + event->acceptProposedAction(); +} + +void Themes::dragLeaveEvent(QDragLeaveEvent* event) +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + event->accept(); +} + +void Themes::on_searchButton_toggled(bool checked) +{ + if(checked) + searchBoxShortcut(); + else + closeTheSearchBox(); +} + +void Themes::on_exportTransferList_clicked() +{ + emit exportTransferList(); +} + +void Themes::on_importTransferList_clicked() +{ + emit importTransferList(); +} + +void Themes::progressColorWrite_clicked() +{ + QColor color=QColorDialog::getColor(progressColorWrite,this,tr("Select a color")); + if(!color.isValid()) + return; + progressColorWrite=color; + QPixmap pixmap(75,20); + pixmap.fill(progressColorWrite); + uiOptions->progressColorWrite->setIcon(pixmap); + updateProgressionColorBar(); +} + +void Themes::progressColorRead_clicked() +{ + QColor color=QColorDialog::getColor(progressColorRead,this,tr("Select a color")); + if(!color.isValid()) + return; + progressColorRead=color; + QPixmap pixmap(75,20); + pixmap.fill(progressColorRead); + uiOptions->progressColorRead->setIcon(pixmap); + updateProgressionColorBar(); +} + +void Themes::progressColorRemaining_clicked() +{ + QColor color=QColorDialog::getColor(progressColorRemaining,this,tr("Select a color")); + if(!color.isValid()) + return; + progressColorRemaining=color; + QPixmap pixmap(75,20); + pixmap.fill(progressColorRemaining); + uiOptions->progressColorRemaining->setIcon(pixmap); + updateProgressionColorBar(); +} + +void Themes::alwaysOnTop_clicked(bool reshow) +{ + Qt::WindowFlags flags = windowFlags(); + #ifdef Q_OS_WIN32 + if(uiOptions->alwaysOnTop->isChecked()) + SetWindowPos((HWND)this->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); + else + SetWindowPos((HWND)this->winId(), HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); + #endif + #ifdef Q_OS_LINUX + if(uiOptions->alwaysOnTop->isChecked()) + flags=flags | Qt::X11BypassWindowManagerHint; + else + flags=flags & ~Qt::X11BypassWindowManagerHint; + #endif + if(uiOptions->alwaysOnTop->isChecked()) + flags=flags | Qt::WindowStaysOnTopHint; + else + flags=flags & ~Qt::WindowStaysOnTopHint; + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"uiOptions->alwaysOnTop->isChecked(): "+std::to_string(uiOptions->alwaysOnTop->isChecked())+", flags: "+std::to_string(flags)); + setWindowFlags(flags); + if(reshow) + show(); +} + +void Themes::alwaysOnTop_clickedSlot() +{ + alwaysOnTop_clicked(true); +} + +void Themes::updateProgressionColorBar() +{ + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"start"); + uiOptions->labelProgressionColor->setVisible(uiOptions->showDualProgression->isChecked()); + uiOptions->frameProgressionColor->setVisible(uiOptions->showDualProgression->isChecked()); + if(!uiOptions->showDualProgression->isChecked()) + { + ui->progressBar_all->setStyleSheet(QStringLiteral("")); + ui->progressBar_file->setStyleSheet(QStringLiteral("")); + ui->progressBarCurrentSpeed->setStyleSheet(QStringLiteral("")); + } + else + { + ui->progressBar_all->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}") + .arg(progressColorRemaining.name()) + .arg(progressColorWrite.name()) + ); + ui->progressBar_file->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}") + .arg(progressColorRemaining.name()) + .arg(progressColorWrite.name()) + ); + ui->progressBarCurrentSpeed->setStyleSheet(QStringLiteral("QProgressBar{border:1px solid grey;text-align:center;background-color:%1;}QProgressBar::chunk{background-color:%2;}") + .arg(progressColorRemaining.name()) + .arg(progressColorWrite.name()) + ); + } + if(stat==status_never_started) + updateCurrentFileInformation(); +} + +void Themes::updateTitle() +{ + if(uiOptions->showProgressionInTheTitle->isChecked() && totalSize>0) + { + if(!modeIsForced) + this->setWindowTitle(tr("%1 %2% of %3").arg(QString::fromStdString(facilityEngine->translateText("Transfer"))).arg((currentSize*100)/totalSize).arg(QString::fromStdString(facilityEngine->sizeToString(totalSize)))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName())); + else + { + if(mode==Ultracopier::Copy) + this->setWindowTitle(tr("%1 %2% of %3").arg(QString::fromStdString(facilityEngine->translateText("Copy"))).arg((currentSize*100)/totalSize).arg(QString::fromStdString(facilityEngine->sizeToString(totalSize)))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName())); + else + this->setWindowTitle(tr("%1 %2% of %3").arg(QString::fromStdString(facilityEngine->translateText("Move"))).arg((currentSize*100)/totalSize).arg(QString::fromStdString(facilityEngine->sizeToString(totalSize)))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName())); + } + } + else + { + if(!modeIsForced) + this->setWindowTitle(QStringLiteral("%1").arg(QString::fromStdString(facilityEngine->translateText("Transfer")))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName())); + else + { + if(mode==Ultracopier::Copy) + this->setWindowTitle(QStringLiteral("%1").arg(QString::fromStdString(facilityEngine->translateText("Copy")))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName())); + else + this->setWindowTitle(QStringLiteral("%1").arg(QString::fromStdString(facilityEngine->translateText("Move")))+QStringLiteral(" - ")+QString::fromStdString(facilityEngine->softwareName())); + } + } +} + +/** \brief Create progessive icon + +Do QIcon with top and bottom image mixed and percent writed on it. +The icon it be search in the style path. +Do by mongaulois, remake by alpha_one_x86. +\param percent indique how many percent need be showed, sould be between 0 and 100 +\param text The showed text if needed (optionnal) +\return QIcon of the final image +\note Can be used as it: dynaIcon(75,"...") +*/ +QIcon Themes::dynaIcon(int percent,std::string text) const +{ + #ifdef ULTRACOPIER_PLUGIN_DEBUG + if(pixmapTop.isNull() || pixmapBottom.isNull()) + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Warning,"Error loading the icons"); + #endif + if(percent==-1) + percent=getOldProgression; + if(percent<0) + percent=0; + if(percent>100) + percent=100; + //pixmap avec un fond transparent + #ifdef Q_OS_WIN32 + quint8 imageSize=16; + #else + quint8 imageSize=22; + #endif + QPixmap resultImage(imageSize,imageSize); + resultImage.fill(Qt::transparent); + { + QPainter painter(&resultImage); + #ifndef Q_OS_WIN32 + QFont font(QStringLiteral("Courier New"),9); + font.setBold(true); + font.setKerning(true); + painter.setFont(font); + #endif + #ifdef Q_OS_WIN32 + QFont font(QStringLiteral("Courier New"),8); + font.setBold(true); + font.setKerning(true); + painter.setFont(font); + #endif + + //preprocessing the calcul + quint8 bottomPixel=(percent*imageSize)/100; + quint8 topPixel=imageSize-bottomPixel; + + //top image + if(topPixel>0) + { + QRect target(0, 0, imageSize, topPixel); + QRect source(0, 0, imageSize, topPixel); + painter.drawPixmap(target, pixmapTop, source); + } + + //bottom image + if(bottomPixel>0) + { + QRect target2(0, topPixel, imageSize, bottomPixel); + QRect source2(0, topPixel, imageSize, bottomPixel); + painter.drawPixmap(target2, pixmapBottom, source2); + } + + qint8 textxOffset=0; + qint8 textyOffset=0; + if(text.empty()) + { + if(percent!=100) + text=std::to_string(percent); + else + { + text=":)"; + #ifdef Q_OS_WIN32 + textyOffset-=2; + #else + textyOffset-=1; + #endif + } + } + if(text.size()==1) + { + textxOffset+=3; + #ifdef Q_OS_WIN32 + textxOffset-=1; + #endif + } + else + { + #ifdef Q_OS_WIN32 + textxOffset-=1; + #endif + } + #ifndef Q_OS_WIN32 + textxOffset+=2; + textyOffset+=3; + #endif + painter.setPen(QPen(Qt::black)); + painter.drawText(3+textxOffset,13+textyOffset,QString::fromStdString(text)); + painter.setPen(QPen(Qt::white)); + painter.drawText(2+textxOffset,12+textyOffset,QString::fromStdString(text)); + } + return QIcon(resultImage); +} + +/** \brief For catch an action on the systray icon +\param reason Why it activated +*/ +void Themes::catchAction(QSystemTrayIcon::ActivationReason reason) +{ + if(reason==QSystemTrayIcon::DoubleClick || reason==QSystemTrayIcon::Trigger) + { + sysTrayIcon->hide(); + this->show(); + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"Double Click detected"); + } + else + ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Information,"reason: "+std::to_string(reason)); +} + +void Themes::on_exportErrorToTransferList_clicked() +{ + emit exportErrorIntoTransferList(); +} diff --git a/plugins/Themes/Oxygen/interface.h b/plugins/Themes/Oxygen/interface.h new file mode 100644 index 0000000..acca141 --- /dev/null +++ b/plugins/Themes/Oxygen/interface.h @@ -0,0 +1,222 @@ +/** \file interface.h +\brief Define the interface +\author alpha_one_x86 +\licence GPL3, see the file COPYING */ + +#ifndef INTERFACE_H +#define INTERFACE_H + +#include <QObject> +#include <QWidget> +#include <QMenu> +#include <QCloseEvent> +#include <QShortcut> +#include <QItemSelectionModel> +#include <QTimer> +#include <QTime> +#include <QSystemTrayIcon> +#include <QPixmap> + +#include "../../../interface/PluginInterface_Themes.h" + +#include "ui_interface.h" +#include "ui_themesOptions.h" +#include "Environment.h" +#include "TransferModel.h" + +// for windows progress bar +#ifndef __GNUC__ +# include <shobjidl.h> +#endif + +namespace Ui { + class interfaceCopy; + class themesOptions; +} + +/// \brief Define the interface +class Themes : public PluginInterface_Themes +{ + Q_OBJECT +public: + Themes(const bool &alwaysOnTop, + const bool &showProgressionInTheTitle, + const QColor &progressColorWrite, + const QColor &progressColorRead, + const QColor &progressColorRemaining, + const bool &showDualProgression, + const quint8 &comboBox_copyEnd, + const bool &speedWithProgressBar, + const qint32 ¤tSpeed, + const bool &checkBoxShowSpeed, + FacilityInterface * facilityEngine, + const bool &moreButtonPushed, + const bool &minimizeToSystray, + const bool &startMinimized); + ~Themes(); + //send information about the copy + /// \brief to set the action in progress + void actionInProgess(const Ultracopier::EngineActionInProgress &); + /// \brief the new folder is listing + void newFolderListing(const std::string &path); + /** \brief show the detected speed + * in byte per seconds */ + void detectedSpeed(const uint64_t &speed); + /** \brief show the remaining time + * time in seconds */ + void remainingTime(const int &remainingSeconds); + /// \brief set the current collision action + void newCollisionAction(const std::string &action); + /// \brief set the current error action + void newErrorAction(const std::string &action); + /// \brief set one error is detected + void errorDetected(); + /// \brief new error + void errorToRetry(const std::string &source,const std::string &destination,const std::string &error); + /** \brief support speed limitation */ + void setSupportSpeedLimitation(const bool &supportSpeedLimitationBool); + //get information about the copy + /// \brief show the general progression + void setGeneralProgression(const uint64_t ¤t,const uint64_t &total); + /// \brief show the file progression + void setFileProgression(const std::vector<Ultracopier::ProgressionItem> &progressionList); + /// \brief set the copyType -> file or folder + void setCopyType(const Ultracopier::CopyType &); + /// \brief set the copyMove -> copy or move, to force in copy or move, else support both + void forceCopyMode(const Ultracopier::CopyMode &); + /// \brief set if transfer list is exportable/importable + void setTransferListOperation(const Ultracopier::TransferListOperation &transferListOperation); + //edit the transfer list + /// \brief get action on the transfer list (add/move/remove) + void getActionOnList(const std::vector<Ultracopier::ReturnActionOnCopyList> &returnActions); + /** \brief set if the order is external (like file manager copy) + * to notify the interface, which can hide add folder/filer button */ + void haveExternalOrder(); + /// \brief set if is in pause + void isInPause(const bool &); + /// \brief get the widget for the copy engine + QWidget * getOptionsEngineWidget(); + /// \brief to set if the copy engine is found + void getOptionsEngineEnabled(const bool &isEnabled); + enum status{status_never_started,status_started,status_stopped}; + status stat; +public slots: + /// \brief set the translate + void newLanguageLoaded(); +private slots: + void on_putOnTop_clicked(); + void on_pushUp_clicked(); + void on_pushDown_clicked(); + void on_putOnBottom_clicked(); + void on_del_clicked(); + void on_cancelButton_clicked(); + void speedWithProgressBar_toggled(bool checked); + void showDualProgression_toggled(bool checked); + void checkBoxShowSpeed_toggled(bool checked); + void on_SliderSpeed_valueChanged(int value); + void on_pauseButton_clicked(); + void on_skipButton_clicked(); + void forcedModeAddFile(); + void forcedModeAddFolder(); + void forcedModeAddFileToCopy(); + void forcedModeAddFolderToCopy(); + void forcedModeAddFileToMove(); + void forcedModeAddFolderToMove(); + void uiUpdateSpeed(); + void on_pushButtonCloseSearch_clicked(); + //close the search box + void closeTheSearchBox(); + //search box shortcut + void searchBoxShortcut(); + //hilight the search + void hilightTheSearch(bool searchNext=false); + void hilightTheSearchSlot(); + //auto connect + void on_pushButtonSearchPrev_clicked(); + void on_pushButtonSearchNext_clicked(); + void on_lineEditSearch_returnPressed(); + void on_lineEditSearch_textChanged(QString text); + void on_moreButton_toggled(bool checked); + void on_searchButton_toggled(bool checked); + void on_exportTransferList_clicked(); + void on_importTransferList_clicked(); + void progressColorWrite_clicked(); + void progressColorRead_clicked(); + void progressColorRemaining_clicked(); + void alwaysOnTop_clicked(bool reshow); + void alwaysOnTop_clickedSlot(); + void updateProgressionColorBar(); + void updateTitle(); + void catchAction(QSystemTrayIcon::ActivationReason reason); + void on_exportErrorToTransferList_clicked(); +private: + uint64_t duration; + bool durationStarted; + QPixmap pixmapTop,pixmapBottom; + QColor progressColorWrite,progressColorRead,progressColorRemaining; + Ui::interfaceCopy *ui; + Ui::themesOptions *uiOptions; + uint64_t currentFile; + uint64_t totalFile; + uint64_t currentSize; + uint64_t totalSize; + uint8_t getOldProgression; + QSystemTrayIcon *sysTrayIcon; + void updateOverallInformation(); + void updateCurrentFileInformation(); + QMenu *menu; + Ultracopier::EngineActionInProgress action; + void closeEvent(QCloseEvent *event); + int32_t currentSpeed;///< in KB/s, assume as 0KB/s as default like every where + void updateSpeed(); + bool storeIsInPause; + bool modeIsForced; + Ultracopier::CopyType type; + Ultracopier::CopyMode mode; + void updateModeAndType(); + bool haveStarted; + bool haveError; + QWidget optionEngineWidget; + QShortcut *searchShortcut; + QShortcut *searchShortcut2; + QShortcut *searchShortcut3; + QTimer *TimerForSearch; + int currentIndexSearch; ///< Current index search in starting at the end + FacilityInterface * facilityEngine; + QItemSelectionModel *selectionModel; + QModelIndexList selectedItems; + /// \brief the custom transfer model + TransferModel transferModel; + + static QIcon player_play,player_pause,tempExitIcon,editDelete,skinIcon,editFind,documentOpen,documentSave,listAdd; + static bool iconLoaded; + + /** \brief drag event processing + + need setAcceptDrops(true); into the constructor + need implementation to accept the drop: + void dragEnterEvent(QDragEnterEvent* event); + void dragMoveEvent(QDragMoveEvent* event); + void dragLeaveEvent(QDragLeaveEvent* event); + */ + void dropEvent(QDropEvent *event); + /** \brief accept all event to allow the drag and drop + \see dropEvent() */ + void dragEnterEvent(QDragEnterEvent* event); + /** \brief accept all event to allow the drag and drop + \see dropEvent() */ + void dragMoveEvent(QDragMoveEvent* event); + /** \brief accept all event to allow the drag and drop + \see dropEvent() */ + void dragLeaveEvent(QDragLeaveEvent* event); + //have functionality + bool shutdown; + void updatePause(); + QIcon dynaIcon(int percent,std::string text="") const; + void updateSysTrayIcon(); +signals: + /// \brief To debug source + void debugInformation(const Ultracopier::DebugLevel &level,const std::string &fonction,const std::string &text,const std::string &file,const int &ligne) const; +}; + +#endif // INTERFACE_H diff --git a/plugins/Themes/Oxygen/interface.pro b/plugins/Themes/Oxygen/interface.pro new file mode 100644 index 0000000..9b4923d --- /dev/null +++ b/plugins/Themes/Oxygen/interface.pro @@ -0,0 +1,8 @@ +include($$PWD/../Oxygen/interfaceInclude.pri) + +!CONFIG(static) { +RESOURCES += \ + $$PWD/../Oxygen/interfaceResources.qrc \ + $$PWD/../Oxygen/interfaceResources_unix.qrc \ + $$PWD/../Oxygen/interfaceResources_windows.qrc +} diff --git a/plugins/Themes/Oxygen/interface.ui b/plugins/Themes/Oxygen/interface.ui new file mode 100644 index 0000000..ef07b17 --- /dev/null +++ b/plugins/Themes/Oxygen/interface.ui @@ -0,0 +1,848 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>interfaceCopy</class> + <widget class="QWidget" name="interfaceCopy"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>508</width> + <height>448</height> + </rect> + </property> + <property name="windowTitle"> + <string notr="true">Ultracopier</string> + </property> + <property name="windowIcon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/main.png</normaloff>:/Themes/Oxygen/resources/main.png</iconset> + </property> + <layout class="QVBoxLayout"> + <property name="spacing"> + <number>2</number> + </property> + <property name="margin"> + <number>1</number> + </property> + <item> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>2</number> + </property> + <item> + <widget class="QLabel" name="from_label"> + <property name="text"> + <string>From:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="from"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>5</number> + </property> + <item> + <widget class="QLabel" name="to_label"> + <property name="text"> + <string>To:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="to"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QLabel" name="overall"> + <property name="text"> + <string notr="true">File 0/0, Total: 0KB</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelTimeRemaining"> + <property name="textFormat"> + <enum>Qt::RichText</enum> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="shutdown"> + <property name="maximumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="toolTip"> + <string>Close on transfer completion</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/SystemTrayIcon/exit.png</normaloff>:/Themes/Oxygen/resources/SystemTrayIcon/exit.png</iconset> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QProgressBar" name="progressBar_all"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16</height> + </size> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="current_file"> + <property name="text"> + <string notr="true">File Name, 0KB</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + </widget> + </item> + <item> + <widget class="QProgressBar" name="progressBar_file"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16</height> + </size> + </property> + <property name="maximum"> + <number>65535</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="ad_ultimate"> + <property name="textFormat"> + <enum>Qt::RichText</enum> + </property> + <property name="openExternalLinks"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <property name="spacing"> + <number>4</number> + </property> + <item> + <widget class="QLabel" name="currentSpeed"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>60</width> + <height>0</height> + </size> + </property> + <property name="text"> + <string notr="true">0KB/sec</string> + </property> + </widget> + </item> + <item> + <widget class="QProgressBar" name="progressBarCurrentSpeed"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16</height> + </size> + </property> + <property name="maximum"> + <number>1</number> + </property> + <property name="value"> + <number>0</number> + </property> + <property name="format"> + <string notr="true">0KB/sec</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="moreButton"> + <property name="text"> + <string>&More</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/moveDown.png</normaloff>:/Themes/Oxygen/resources/moveDown.png</iconset> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pauseButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>&Pause</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/player_pause.png</normaloff>:/Themes/Oxygen/resources/player_pause.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="skipButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>&Skip</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/player_end.png</normaloff>:/Themes/Oxygen/resources/player_end.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancelButton"> + <property name="text"> + <string>&Cancel</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/cancel.png</normaloff>:/Themes/Oxygen/resources/cancel.png</iconset> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="limitSpeedAsMain"> + <item> + <widget class="QLabel" name="label_Slider_speed"> + <property name="text"> + <string>Limit copy speed to:</string> + </property> + </widget> + </item> + <item> + <widget class="QSlider" name="SliderSpeed"> + <property name="maximum"> + <number>5</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_SpeedMaxValue"> + <property name="text"> + <string notr="true">Unlimited</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>1</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="tab_main"> + <attribute name="title"> + <string>Transfer list</string> + </attribute> + <layout class="QHBoxLayout"> + <item> + <layout class="QVBoxLayout"> + <property name="spacing"> + <number>1</number> + </property> + <item> + <widget class="QToolButton" name="putOnTop"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Move the selected items to the top</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/putOnTop.png</normaloff>:/Themes/Oxygen/resources/putOnTop.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="pushUp"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Move up the selected items</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/moveUp.png</normaloff>:/Themes/Oxygen/resources/moveUp.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="pushDown"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Move down the selected items</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/moveDown.png</normaloff>:/Themes/Oxygen/resources/moveDown.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="putOnBottom"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Move the selected items to the bottom</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/putOnBottom.png</normaloff>:/Themes/Oxygen/resources/putOnBottom.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="add"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Add file/folder</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/add.png</normaloff>:/Themes/Oxygen/resources/add.png</iconset> + </property> + <property name="popupMode"> + <enum>QToolButton::InstantPopup</enum> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="del"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Delete the selected items</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/remove.png</normaloff>:/Themes/Oxygen/resources/remove.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="searchButton"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Search</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/search.png</normaloff>:/Themes/Oxygen/resources/search.png</iconset> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="exportTransferList"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Export the transfer list</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/export-transfer-list.png</normaloff>:/Themes/Oxygen/resources/export-transfer-list.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="importTransferList"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Import the transfer list</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/import-transfer-list.png</normaloff>:/Themes/Oxygen/resources/import-transfer-list.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <property name="spacing"> + <number>0</number> + </property> + <item> + <widget class="QTreeView" name="TransferList"> + <property name="selectionMode"> + <enum>QAbstractItemView::ExtendedSelection</enum> + </property> + <property name="rootIsDecorated"> + <bool>false</bool> + </property> + <property name="uniformRowHeights"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayoutSearch"> + <property name="spacing"> + <number>0</number> + </property> + <item> + <widget class="QLineEdit" name="lineEditSearch"/> + </item> + <item> + <widget class="QPushButton" name="pushButtonSearchPrev"> + <property name="text"> + <string>Previous</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pushButtonSearchNext"> + <property name="text"> + <string>Next</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pushButtonCloseSearch"> + <property name="minimumSize"> + <size> + <width>25</width> + <height>25</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>25</width> + <height>25</height> + </size> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/remove.png</normaloff>:/Themes/Oxygen/resources/remove.png</iconset> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_error"> + <attribute name="title"> + <string>Error</string> + </attribute> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QToolButton" name="exportErrorToTransferList"> + <property name="minimumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>22</width> + <height>22</height> + </size> + </property> + <property name="toolTip"> + <string>Export the errors into transfer list</string> + </property> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/export-transfer-list.png</normaloff>:/Themes/Oxygen/resources/export-transfer-list.png</iconset> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QTreeWidget" name="errorList"> + <property name="selectionMode"> + <enum>QAbstractItemView::NoSelection</enum> + </property> + <property name="rootIsDecorated"> + <bool>false</bool> + </property> + <property name="uniformRowHeights"> + <bool>true</bool> + </property> + <column> + <property name="text"> + <string>Source</string> + </property> + </column> + <column> + <property name="text"> + <string>Destination</string> + </property> + </column> + <column> + <property name="text"> + <string>Error</string> + </property> + </column> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_interface"> + <attribute name="title"> + <string>Interface</string> + </attribute> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <property name="spacing"> + <number>0</number> + </property> + <property name="margin"> + <number>0</number> + </property> + <item> + <widget class="QScrollArea" name="optionsTab"> + <property name="widgetResizable"> + <bool>true</bool> + </property> + <widget class="QWidget" name="scrollAreaWidgetContents"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>492</width> + <height>227</height> + </rect> + </property> + </widget> + </widget> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + <action name="actionAddFile"> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/add.png</normaloff>:/Themes/Oxygen/resources/add.png</iconset> + </property> + <property name="text"> + <string>Add file</string> + </property> + </action> + <action name="actionAddFolder"> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/add.png</normaloff>:/Themes/Oxygen/resources/add.png</iconset> + </property> + <property name="text"> + <string>Add folder</string> + </property> + </action> + <action name="actionAddFileToMove"> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/add.png</normaloff>:/Themes/Oxygen/resources/add.png</iconset> + </property> + <property name="text"> + <string>Move file(s)</string> + </property> + </action> + <action name="actionAddFolderToMove"> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/add.png</normaloff>:/Themes/Oxygen/resources/add.png</iconset> + </property> + <property name="text"> + <string>Move folder</string> + </property> + </action> + <action name="actionAddFileToCopy"> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/add.png</normaloff>:/Themes/Oxygen/resources/add.png</iconset> + </property> + <property name="text"> + <string>Copy file(s)</string> + </property> + </action> + <action name="actionAddFolderToCopy"> + <property name="icon"> + <iconset resource="interfaceResources.qrc"> + <normaloff>:/Themes/Oxygen/resources/add.png</normaloff>:/Themes/Oxygen/resources/add.png</iconset> + </property> + <property name="text"> + <string>Copy folder</string> + </property> + </action> + </widget> + <resources> + <include location="interfaceResources.qrc"/> + </resources> + <connections> + <connection> + <sender>moreButton</sender> + <signal>toggled(bool)</signal> + <receiver>tabWidget</receiver> + <slot>setVisible(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>218</x> + <y>144</y> + </hint> + <hint type="destinationlabel"> + <x>149</x> + <y>305</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/Themes/Oxygen/interfaceInclude.pri b/plugins/Themes/Oxygen/interfaceInclude.pri new file mode 100644 index 0000000..5f7317b --- /dev/null +++ b/plugins/Themes/Oxygen/interfaceInclude.pri @@ -0,0 +1,51 @@ +CONFIG += c++11 +QMAKE_CXXFLAGS+="-std=c++0x -Wall -Wextra" +mac:QMAKE_CXXFLAGS+="-stdlib=libc++" + +QT += widgets +TEMPLATE = lib +CONFIG += plugin +HEADERS = \ + $$PWD/ThemesFactory.h \ + $$PWD/StructEnumDefinition.h \ + $$PWD/DebugEngineMacro.h \ + $$PWD/Environment.h \ + $$PWD/Variable.h \ + $$PWD/../../../interface/PluginInterface_Themes.h \ + $$PWD/../../../interface/FacilityInterface.h \ + $$PWD/../../../interface/OptionInterface.h \ + $$PWD/../../../cpp11addition.h \ + $$PWD/TransferModel.h \ + $$PWD/interface.h +SOURCES = \ + $$PWD/ThemesFactory.cpp \ + $$PWD/TransferModel.cpp \ + $$PWD/interface.cpp \ + $$PWD/../../../cpp11addition.cpp \ + $$PWD/../../../cpp11additionstringtointcpp.cpp +TARGET = $$qtLibraryTarget(interface) +TRANSLATIONS += \ + $$PWD/Languages/ar/translation.ts \ + $$PWD/Languages/de/translation.ts \ + $$PWD/Languages/el/translation.ts \ + $$PWD/Languages/en/translation.ts \ + $$PWD/Languages/es/translation.ts \ + $$PWD/Languages/fr/translation.ts \ + $$PWD/Languages/hi/translation.ts \ + $$PWD/Languages/hu/translation.ts \ + $$PWD/Languages/id/translation.ts \ + $$PWD/Languages/it/translation.ts \ + $$PWD/Languages/ja/translation.ts \ + $$PWD/Languages/ko/translation.ts \ + $$PWD/Languages/nl/translation.ts \ + $$PWD/Languages/no/translation.ts \ + $$PWD/Languages/pl/translation.ts \ + $$PWD/Languages/pt/translation.ts \ + $$PWD/Languages/ru/translation.ts \ + $$PWD/Languages/th/translation.ts \ + $$PWD/Languages/tr/translation.ts \ + $$PWD/Languages/zh/translation.ts + +FORMS += \ + $$PWD/interface.ui \ + $$PWD/themesOptions.ui diff --git a/plugins/Themes/Oxygen/interfaceResources.qrc b/plugins/Themes/Oxygen/interfaceResources.qrc new file mode 100644 index 0000000..60060b3 --- /dev/null +++ b/plugins/Themes/Oxygen/interfaceResources.qrc @@ -0,0 +1,22 @@ +<RCC> + <qresource prefix="/Themes/Oxygen"> + <file>resources/add.png</file> + <file>resources/cancel.png</file> + <file>resources/main.png</file> + <file>resources/moveDown.png</file> + <file>resources/moveUp.png</file> + <file>resources/player_end.png</file> + <file>resources/player_pause.png</file> + <file>resources/player_play.png</file> + <file>resources/putOnBottom.png</file> + <file>resources/putOnTop.png</file> + <file>resources/remove.png</file> + <file>resources/search.png</file> + <file>resources/export-transfer-list.png</file> + <file>resources/import-transfer-list.png</file> + <file>resources/SystemTrayIcon/add.png</file> + <file>resources/SystemTrayIcon/exit.png</file> + <file>resources/SystemTrayIcon/informations.png</file> + <file>resources/SystemTrayIcon/options.png</file> + </qresource> +</RCC> diff --git a/plugins/Themes/Oxygen/interfaceResources_unix.qrc b/plugins/Themes/Oxygen/interfaceResources_unix.qrc new file mode 100644 index 0000000..27fb1d2 --- /dev/null +++ b/plugins/Themes/Oxygen/interfaceResources_unix.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/Themes/Oxygen"> + <file>resources/SystemTrayIcon/systray_Caught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Unix.png</file> + </qresource> +</RCC> diff --git a/plugins/Themes/Oxygen/interfaceResources_windows.qrc b/plugins/Themes/Oxygen/interfaceResources_windows.qrc new file mode 100644 index 0000000..f917ac3 --- /dev/null +++ b/plugins/Themes/Oxygen/interfaceResources_windows.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/Themes/Oxygen"> + <file>resources/SystemTrayIcon/systray_Caught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Windows.png</file> + </qresource> +</RCC> diff --git a/plugins/Themes/Oxygen/options.ui b/plugins/Themes/Oxygen/options.ui new file mode 100644 index 0000000..96e4efa --- /dev/null +++ b/plugins/Themes/Oxygen/options.ui @@ -0,0 +1,290 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>options</class> + <widget class="QWidget" name="options"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>515</width> + <height>251</height> + </rect> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="4" column="2"> + <widget class="QFrame" name="frameProgressionColor"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QPushButton" name="progressColorWrite"> + <property name="minimumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="iconSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="progressColorRead"> + <property name="minimumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="iconSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="progressColorRemaining"> + <property name="minimumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="iconSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="labelProgressionColor"> + <property name="text"> + <string>Progression color</string> + </property> + </widget> + </item> + <item row="7" column="2"> + <widget class="QLabel" name="label_SpeedMaxValue"> + <property name="text"> + <string notr="true">Unlimited</string> + </property> + </widget> + </item> + <item row="8" column="0"> + <widget class="QCheckBox" name="checkBox_limitSpeed"> + <property name="text"> + <string>Limit copy speed at:</string> + </property> + </widget> + </item> + <item row="8" column="1"> + <widget class="QSpinBox" name="limitSpeed"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="suffix"> + <string> KB/s</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>999999</number> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QLabel" name="labelSpeedWithProgressBar"> + <property name="text"> + <string>Speed with progress bar</string> + </property> + </widget> + </item> + <item row="5" column="1"> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>122</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="9" column="0"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item row="5" column="2"> + <widget class="QComboBox" name="comboBox_copyEnd"> + <item> + <property name="text"> + <string notr="true">Don't close if errors are found</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Never close</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Always close</string> + </property> + </item> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>At the end of the copy: </string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QCheckBox" name="showDualProgression"/> + </item> + <item row="7" column="0"> + <widget class="QLabel" name="label_Slider_speed"> + <property name="text"> + <string>Limit copy speed at:</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QLabel" name="labelStartWithMoreButtonPushed"> + <property name="text"> + <string>Start with the "more button" pushed</string> + </property> + </widget> + </item> + <item row="7" column="1"> + <widget class="QSlider" name="SliderSpeed"> + <property name="maximum"> + <number>5</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="3" column="0" colspan="2"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Show dual progression</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QCheckBox" name="checkBoxStartWithMoreButtonPushed"/> + </item> + <item row="2" column="2"> + <widget class="QCheckBox" name="speedWithProgressBar"/> + </item> + <item row="0" column="0" colspan="2"> + <widget class="QLabel" name="labelShowSpeedAsMain"> + <property name="text"> + <string>Show speed as main information</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QCheckBox" name="checkBoxShowSpeed"/> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>checkBox_limitSpeed</sender> + <signal>clicked(bool)</signal> + <receiver>limitSpeed</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>109</x> + <y>144</y> + </hint> + <hint type="destinationlabel"> + <x>199</x> + <y>144</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/Themes/Oxygen/plugin.json b/plugins/Themes/Oxygen/plugin.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/plugins/Themes/Oxygen/plugin.json @@ -0,0 +1 @@ +{}
\ No newline at end of file diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/add.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/add.png Binary files differnew file mode 100644 index 0000000..7932127 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/add.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/exit.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/exit.png Binary files differnew file mode 100644 index 0000000..ae3c4e8 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/exit.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/informations.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/informations.png Binary files differnew file mode 100644 index 0000000..5b7b255 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/informations.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/options.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/options.png Binary files differnew file mode 100644 index 0000000..23ec531 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/options.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Unix.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Unix.png Binary files differnew file mode 100644 index 0000000..6f5d1cf --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Unix.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Windows.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Windows.png Binary files differnew file mode 100644 index 0000000..5464856 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Caught_Windows.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png Binary files differnew file mode 100644 index 0000000..b2bb2e3 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png Binary files differnew file mode 100644 index 0000000..0abeb5f --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Unix.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Unix.png Binary files differnew file mode 100644 index 0000000..5e313b9 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Unix.png diff --git a/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Windows.png b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Windows.png Binary files differnew file mode 100644 index 0000000..828e7e6 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/SystemTrayIcon/systray_Uncaught_Windows.png diff --git a/plugins/Themes/Oxygen/resources/add.png b/plugins/Themes/Oxygen/resources/add.png Binary files differnew file mode 100644 index 0000000..7932127 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/add.png diff --git a/plugins/Themes/Oxygen/resources/cancel.png b/plugins/Themes/Oxygen/resources/cancel.png Binary files differnew file mode 100644 index 0000000..ae3c4e8 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/cancel.png diff --git a/plugins/Themes/Oxygen/resources/export-transfer-list.png b/plugins/Themes/Oxygen/resources/export-transfer-list.png Binary files differnew file mode 100644 index 0000000..3a0aac6 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/export-transfer-list.png diff --git a/plugins/Themes/Oxygen/resources/import-transfer-list.png b/plugins/Themes/Oxygen/resources/import-transfer-list.png Binary files differnew file mode 100644 index 0000000..ee47f0d --- /dev/null +++ b/plugins/Themes/Oxygen/resources/import-transfer-list.png diff --git a/plugins/Themes/Oxygen/resources/main.png b/plugins/Themes/Oxygen/resources/main.png Binary files differnew file mode 100644 index 0000000..5464856 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/main.png diff --git a/plugins/Themes/Oxygen/resources/moveDown.png b/plugins/Themes/Oxygen/resources/moveDown.png Binary files differnew file mode 100644 index 0000000..82a312c --- /dev/null +++ b/plugins/Themes/Oxygen/resources/moveDown.png diff --git a/plugins/Themes/Oxygen/resources/moveUp.png b/plugins/Themes/Oxygen/resources/moveUp.png Binary files differnew file mode 100644 index 0000000..7f7ba72 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/moveUp.png diff --git a/plugins/Themes/Oxygen/resources/player_end.png b/plugins/Themes/Oxygen/resources/player_end.png Binary files differnew file mode 100644 index 0000000..18982db --- /dev/null +++ b/plugins/Themes/Oxygen/resources/player_end.png diff --git a/plugins/Themes/Oxygen/resources/player_pause.png b/plugins/Themes/Oxygen/resources/player_pause.png Binary files differnew file mode 100644 index 0000000..68ee21f --- /dev/null +++ b/plugins/Themes/Oxygen/resources/player_pause.png diff --git a/plugins/Themes/Oxygen/resources/player_play.png b/plugins/Themes/Oxygen/resources/player_play.png Binary files differnew file mode 100644 index 0000000..a1c5b83 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/player_play.png diff --git a/plugins/Themes/Oxygen/resources/putOnBottom.png b/plugins/Themes/Oxygen/resources/putOnBottom.png Binary files differnew file mode 100644 index 0000000..512286e --- /dev/null +++ b/plugins/Themes/Oxygen/resources/putOnBottom.png diff --git a/plugins/Themes/Oxygen/resources/putOnTop.png b/plugins/Themes/Oxygen/resources/putOnTop.png Binary files differnew file mode 100644 index 0000000..30fe96b --- /dev/null +++ b/plugins/Themes/Oxygen/resources/putOnTop.png diff --git a/plugins/Themes/Oxygen/resources/remove.png b/plugins/Themes/Oxygen/resources/remove.png Binary files differnew file mode 100644 index 0000000..b711740 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/remove.png diff --git a/plugins/Themes/Oxygen/resources/search.png b/plugins/Themes/Oxygen/resources/search.png Binary files differnew file mode 100644 index 0000000..cef1836 --- /dev/null +++ b/plugins/Themes/Oxygen/resources/search.png diff --git a/plugins/Themes/Oxygen/themesOptions.ui b/plugins/Themes/Oxygen/themesOptions.ui new file mode 100644 index 0000000..b3ac73b --- /dev/null +++ b/plugins/Themes/Oxygen/themesOptions.ui @@ -0,0 +1,426 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>themesOptions</class> + <widget class="QWidget" name="themesOptions"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>519</width> + <height>389</height> + </rect> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QToolBox" name="toolBox"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="page"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>509</width> + <height>292</height> + </rect> + </property> + <attribute name="label"> + <string>Use</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QLabel" name="labelStartWithMoreButtonPushed"> + <property name="text"> + <string>Start with the "more button" pushed</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="checkBoxStartWithMoreButtonPushed"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="labelAlwaysOnTop"> + <property name="text"> + <string>Always on top</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Minimize on close to systray</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="minimizeToSystray"/> + </item> + <item row="4" column="1" colspan="2"> + <widget class="QComboBox" name="comboBox_copyEnd"> + <item> + <property name="text"> + <string notr="true">Don't close if errors are found</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Never close</string> + </property> + </item> + <item> + <property name="text"> + <string notr="true">Always close</string> + </property> + </item> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>At the end of the copy</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_Slider_speed"> + <property name="text"> + <string>Limit copy speed to</string> + </property> + </widget> + </item> + <item row="5" column="1" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QSlider" name="SliderSpeed"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximum"> + <number>5</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_SpeedMaxValue"> + <property name="text"> + <string notr="true">Unlimited</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="6" column="0"> + <widget class="QCheckBox" name="checkBox_limitSpeed"> + <property name="text"> + <string>Limit copy speed to</string> + </property> + </widget> + </item> + <item row="6" column="1" colspan="2"> + <widget class="QSpinBox" name="limitSpeed"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="suffix"> + <string> KB/s</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>999999</number> + </property> + </widget> + </item> + <item row="7" column="2"> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>133</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="1" colspan="2"> + <widget class="QCheckBox" name="alwaysOnTop"/> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_startMinimized"> + <property name="text"> + <string>Start minimized</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QCheckBox" name="startMinimized"> + <property name="text"> + <string/> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="page_2"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>509</width> + <height>292</height> + </rect> + </property> + <attribute name="label"> + <string>Informations</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="labelShowSpeedAsMain"> + <property name="text"> + <string>Show speed as main information</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="checkBoxShowSpeed"/> + </item> + <item row="1" column="2"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>529</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QWidget" name="page_3"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>509</width> + <height>292</height> + </rect> + </property> + <attribute name="label"> + <string>Display</string> + </attribute> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="labelSpeedWithProgressBar"> + <property name="text"> + <string>Speed with progress bar</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="speedWithProgressBar"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="labelDualProgression"> + <property name="text"> + <string>Show dual progression</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="showDualProgression"/> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Show progression in the title</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="showProgressionInTheTitle"/> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="labelProgressionColor"> + <property name="text"> + <string>Progression color</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QFrame" name="frameProgressionColor"> + <property name="minimumSize"> + <size> + <width>225</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>225</width> + <height>20</height> + </size> + </property> + <property name="toolTip"> + <string>Click to edit the color</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QPushButton" name="progressColorWrite"> + <property name="minimumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="iconSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="progressColorRead"> + <property name="minimumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="iconSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="progressColorRemaining"> + <property name="minimumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="iconSize"> + <size> + <width>75</width> + <height>20</height> + </size> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="4" column="0"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>455</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>checkBox_limitSpeed</sender> + <signal>clicked(bool)</signal> + <receiver>limitSpeed</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>109</x> + <y>144</y> + </hint> + <hint type="destinationlabel"> + <x>199</x> + <y>144</y> + </hint> + </hints> + </connection> + </connections> +</ui> diff --git a/plugins/Themes/Supercopier/informations.xml b/plugins/Themes/Supercopier/informations.xml new file mode 100644 index 0000000..d5cb35e --- /dev/null +++ b/plugins/Themes/Supercopier/informations.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package> + <title xml:lang="en"><![CDATA[Supercopier style for Ultracopier]]></title><!-- english is required --> + <title xml:lang="fr"><![CDATA[Style supercopier pour Ultracopier]]></title> + <!-- What kind of plugin this is --> + <category>Themes</category> + <!-- Who wrote this plugin --> + <author><![CDATA[BRULE Herman, alpha_one_x86 (alpha_one_x86@first-world.info)]]></author> + <!-- URL of page or site for this plugin (may provide additional information, bug reports, feature requests). --> + <website xml:lang="en"><![CDATA[http://ultracopier.first-world.info/]]></website><!-- not required --> + <website xml:lang="fr"><![CDATA[http://ultracopier-fr.first-world.info/]]></website><!-- not required --> + <!-- the date-time format should be in timestamps format --> + <pubDate>1287496800</pubDate> + <!-- the architecture code of this plugin, found PlatformMacro.h into ultracopier source --> + <architecture>windows-x86</architecture> + <!-- Detailed description --> + <description xml:lang="en"><![CDATA[Supercopier style for Ultracopier]]></description> + <description xml:lang="fr"><![CDATA[Style supercopier pour Ultracopier]]></description> + <!-- Version of this release of this plugin, need be like that's: A.B.C.D, where A, B, C and D is number --> + <version>1.4.0.4</version> + <!-- This internal name should never change, because it is used to detect when a particular plugin is updated. It must comprise only lower case ASCII characters (a-z), numerical digits (0-9), "-", "." or "_", and it must be be unique within the category. And have size lower than 64 char. --> + <name>Supercopier</name> + <!-- Dependency checking. This is used to check when a plugin may not be compatible with an updated version of either Ultracopier or another plugin. This example only checks Ultracopier. --> + <dependencies><![CDATA[ + ]]></dependencies> +</package> diff --git a/plugins/Themes/Supercopier/interface.pro b/plugins/Themes/Supercopier/interface.pro new file mode 100644 index 0000000..1b0ef2e --- /dev/null +++ b/plugins/Themes/Supercopier/interface.pro @@ -0,0 +1,10 @@ +DEFINES+=SUPERCOPIER + +include($$PWD/../Oxygen/interfaceInclude.pri) + +!CONFIG(static) { +RESOURCES += \ + $$PWD/../Supercopier/interfaceResources.qrc \ + $$PWD/../Supercopier/interfaceResources_unix.qrc \ + $$PWD/../Supercopier/interfaceResources_windows.qrc +} diff --git a/plugins/Themes/Supercopier/interfaceResources.qrc b/plugins/Themes/Supercopier/interfaceResources.qrc new file mode 100644 index 0000000..d8990aa --- /dev/null +++ b/plugins/Themes/Supercopier/interfaceResources.qrc @@ -0,0 +1,24 @@ +<RCC> + <qresource prefix="/Themes/Supercopier"> + <file>resources/add.png</file> + <file>resources/cancel.png</file> + <file>resources/main.png</file> + <file>resources/moveDown.png</file> + <file>resources/moveUp.png</file> + <file>resources/player_end.png</file> + <file>resources/player_pause.png</file> + <file>resources/player_play.png</file> + <file>resources/putOnBottom.png</file> + <file>resources/putOnTop.png</file> + <file>resources/remove.png</file> + <file>resources/search.png</file> + <file>resources/export-transfer-list.png</file> + <file>resources/import-transfer-list.png</file> + <file>resources/SystemTrayIcon/add.png</file> + <file>resources/SystemTrayIcon/exit.png</file> + <file>resources/SystemTrayIcon/informations.png</file> + <file>resources/SystemTrayIcon/options.png</file> + <file>resources/progressbarleft.png</file> + <file>resources/progressbarright.png</file> + </qresource> +</RCC> diff --git a/plugins/Themes/Supercopier/interfaceResources_unix.qrc b/plugins/Themes/Supercopier/interfaceResources_unix.qrc new file mode 100644 index 0000000..2cf979f --- /dev/null +++ b/plugins/Themes/Supercopier/interfaceResources_unix.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/Themes/Supercopier"> + <file>resources/SystemTrayIcon/systray_Caught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Unix.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Unix.png</file> + </qresource> +</RCC> diff --git a/plugins/Themes/Supercopier/interfaceResources_windows.qrc b/plugins/Themes/Supercopier/interfaceResources_windows.qrc new file mode 100644 index 0000000..abbedba --- /dev/null +++ b/plugins/Themes/Supercopier/interfaceResources_windows.qrc @@ -0,0 +1,7 @@ +<RCC> + <qresource prefix="/Themes/Supercopier"> + <file>resources/SystemTrayIcon/systray_Caught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Semiuncaught_Windows.png</file> + <file>resources/SystemTrayIcon/systray_Uncaught_Windows.png</file> + </qresource> +</RCC> diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/add.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/add.png Binary files differnew file mode 100644 index 0000000..d41fce6 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/add.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/exit.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/exit.png Binary files differnew file mode 100644 index 0000000..9599bba --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/exit.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/informations.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/informations.png Binary files differnew file mode 100644 index 0000000..86c9ba6 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/informations.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/options.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/options.png Binary files differnew file mode 100644 index 0000000..cf699d5 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/options.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png Binary files differnew file mode 100644 index 0000000..be2ba20 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Unix.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png Binary files differnew file mode 100644 index 0000000..9c597af --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Caught_Windows.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png Binary files differnew file mode 100644 index 0000000..be2ba20 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Unix.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png Binary files differnew file mode 100644 index 0000000..9c597af --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Semiuncaught_Windows.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png Binary files differnew file mode 100644 index 0000000..4da8cc0 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Unix.png diff --git a/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png Binary files differnew file mode 100644 index 0000000..8bfbcf9 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/SystemTrayIcon/systray_Uncaught_Windows.png diff --git a/plugins/Themes/Supercopier/resources/add.png b/plugins/Themes/Supercopier/resources/add.png Binary files differnew file mode 100644 index 0000000..af8a401 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/add.png diff --git a/plugins/Themes/Supercopier/resources/cancel.png b/plugins/Themes/Supercopier/resources/cancel.png Binary files differnew file mode 100644 index 0000000..1e7579c --- /dev/null +++ b/plugins/Themes/Supercopier/resources/cancel.png diff --git a/plugins/Themes/Supercopier/resources/export-transfer-list.png b/plugins/Themes/Supercopier/resources/export-transfer-list.png Binary files differnew file mode 100644 index 0000000..2bcc455 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/export-transfer-list.png diff --git a/plugins/Themes/Supercopier/resources/import-transfer-list.png b/plugins/Themes/Supercopier/resources/import-transfer-list.png Binary files differnew file mode 100644 index 0000000..d208342 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/import-transfer-list.png diff --git a/plugins/Themes/Supercopier/resources/main.png b/plugins/Themes/Supercopier/resources/main.png Binary files differnew file mode 100644 index 0000000..9bec399 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/main.png diff --git a/plugins/Themes/Supercopier/resources/moveDown.png b/plugins/Themes/Supercopier/resources/moveDown.png Binary files differnew file mode 100644 index 0000000..7f4ff27 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/moveDown.png diff --git a/plugins/Themes/Supercopier/resources/moveUp.png b/plugins/Themes/Supercopier/resources/moveUp.png Binary files differnew file mode 100644 index 0000000..9397b76 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/moveUp.png diff --git a/plugins/Themes/Supercopier/resources/player_end.png b/plugins/Themes/Supercopier/resources/player_end.png Binary files differnew file mode 100644 index 0000000..9730302 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/player_end.png diff --git a/plugins/Themes/Supercopier/resources/player_pause.png b/plugins/Themes/Supercopier/resources/player_pause.png Binary files differnew file mode 100644 index 0000000..429ae43 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/player_pause.png diff --git a/plugins/Themes/Supercopier/resources/player_play.png b/plugins/Themes/Supercopier/resources/player_play.png Binary files differnew file mode 100644 index 0000000..a28ac73 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/player_play.png diff --git a/plugins/Themes/Supercopier/resources/progressbarleft.png b/plugins/Themes/Supercopier/resources/progressbarleft.png Binary files differnew file mode 100644 index 0000000..bbee9c8 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/progressbarleft.png diff --git a/plugins/Themes/Supercopier/resources/progressbarright.png b/plugins/Themes/Supercopier/resources/progressbarright.png Binary files differnew file mode 100644 index 0000000..93e5781 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/progressbarright.png diff --git a/plugins/Themes/Supercopier/resources/putOnBottom.png b/plugins/Themes/Supercopier/resources/putOnBottom.png Binary files differnew file mode 100644 index 0000000..9ac517c --- /dev/null +++ b/plugins/Themes/Supercopier/resources/putOnBottom.png diff --git a/plugins/Themes/Supercopier/resources/putOnTop.png b/plugins/Themes/Supercopier/resources/putOnTop.png Binary files differnew file mode 100644 index 0000000..5682829 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/putOnTop.png diff --git a/plugins/Themes/Supercopier/resources/remove.png b/plugins/Themes/Supercopier/resources/remove.png Binary files differnew file mode 100644 index 0000000..3a2a9f1 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/remove.png diff --git a/plugins/Themes/Supercopier/resources/search.png b/plugins/Themes/Supercopier/resources/search.png Binary files differnew file mode 100644 index 0000000..567f498 --- /dev/null +++ b/plugins/Themes/Supercopier/resources/search.png diff --git a/plugins/static-plugins-oxygen.qrc b/plugins/static-plugins-oxygen.qrc new file mode 100644 index 0000000..21b4be0 --- /dev/null +++ b/plugins/static-plugins-oxygen.qrc @@ -0,0 +1,6 @@ +<RCC> + <qresource prefix="/"> + <file>Themes/Oxygen/informations.xml</file> + <file>Themes/Oxygen/Languages/fr/translation.qm</file> + </qresource> +</RCC> diff --git a/plugins/static-plugins-windows.qrc b/plugins/static-plugins-windows.qrc new file mode 100644 index 0000000..6ddcdc0 --- /dev/null +++ b/plugins/static-plugins-windows.qrc @@ -0,0 +1,6 @@ +<RCC> + <qresource prefix="/"> + <file>PluginLoader/catchcopy-v0002/informations.xml</file> + <file>PluginLoader/catchcopy-v0002/Languages/fr/translation.qm</file> + </qresource> +</RCC> diff --git a/plugins/static-plugins.qrc b/plugins/static-plugins.qrc new file mode 100644 index 0000000..b250e7c --- /dev/null +++ b/plugins/static-plugins.qrc @@ -0,0 +1,12 @@ +<RCC> + <qresource prefix="/"> + <file>CopyEngine/Ultracopier/informations.xml</file> + <file>CopyEngine/Ultracopier/Languages/fr/translation.qm</file> + <file>Languages/fr/informations.xml</file> + <file>Languages/fr/flag.png</file> + <file>Languages/fr/translation.qm</file> + <file>Listener/catchcopy-v0002/informations.xml</file> + <file>Themes/Oxygen/informations.xml</file> + <file>Themes/Oxygen/Languages/fr/translation.qm</file> + </qresource> +</RCC> |