diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2013-03-21 11:01:59 +0100 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2013-03-21 11:01:59 +0100 |
commit | e297dbd8052ef4e66f069e2dd1865ae7fa8af28e (patch) | |
tree | 342fea0a2f6f33b8b62dad2d1729f8209da1a1ba /plugins-alternative/Themes/Teracopy | |
parent | 8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff) |
Imported Upstream version 0.3.1.0
Diffstat (limited to 'plugins-alternative/Themes/Teracopy')
41 files changed, 1041 insertions, 826 deletions
diff --git a/plugins-alternative/Themes/Teracopy/Languages/ar/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/ar/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/ar/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/ar/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/ar/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/ar/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/ar/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/de/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/de/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/de/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/de/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/de/translation.ts index e8d8cf2..237dc4f 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/de/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/de/translation.ts @@ -1,109 +1,93 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> -<TS version="2.0"> +<TS version="2.0" language="de" sourcelanguage="en"> <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> - <translation type="unfinished"></translation> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> + <translation>Total: %1 von %2</translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> - <translation type="unfinished"></translation> + <translation>%1 von %2</translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> - <translation type="unfinished"></translation> + <translation>%1% erledigt</translation> </message> </context> <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> - <translation type="unfinished"></translation> + <translation>Mehr</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> - <translation type="unfinished"></translation> + <translation></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> - <translation type="unfinished"></translation> + <translation></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> - <translation type="unfinished"></translation> + <translation>überspringen</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> - <translation type="unfinished"></translation> + <translation>Stornieren</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">unterstützen Ultracopier</span></a></p></body></html></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> - <translation type="unfinished"></translation> + <translation>Datei hinzufügen</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> - <translation type="unfinished"></translation> + <translation>Ordner hinzufügen</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> - <translation type="unfinished"></translation> + <translation>Bewegen Sie Datei (en)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> - <translation type="unfinished"></translation> + <translation>bewegen Sie Ordner</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> - <translation type="unfinished"></translation> + <translation>Kopieren Sie die Datei (en)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> - <translation type="unfinished"></translation> + <translation>kopieren Sie das Verzeichnis</translation> </message> </context> </TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/el/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/el/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/el/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/el/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/el/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/el/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/el/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/es/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/es/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/es/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/es/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/es/translation.ts index e8d8cf2..fe526da 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/es/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/es/translation.ts @@ -1,109 +1,93 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> -<TS version="2.0"> +<TS version="2.0" language="es" sourcelanguage="en"> <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> - <translation type="unfinished"></translation> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> + <translation>Total: %1 de %2</translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> - <translation type="unfinished"></translation> + <translation>%1 de %2</translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> - <translation type="unfinished"></translation> + <translation>%1% hecho</translation> </message> </context> <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> - <translation type="unfinished"></translation> + <translation>Más</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> - <translation type="unfinished"></translation> + <translation></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> - <translation type="unfinished"></translation> + <translation>Pausa</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> - <translation type="unfinished"></translation> + <translation>Omitir</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> - <translation type="unfinished"></translation> + <translation>Cancelar</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Apoyar Ultracopier</span></a></p></body></html></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> - <translation type="unfinished"></translation> + <translation>Añadir archivo</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> - <translation type="unfinished"></translation> + <translation>Añadir carpeta</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> - <translation type="unfinished"></translation> + <translation>Mover archivo(s)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> - <translation type="unfinished"></translation> + <translation>Mueva la carpeta</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> - <translation type="unfinished"></translation> + <translation>Copia el archivo(s)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> - <translation type="unfinished"></translation> + <translation>Copia la carpeta</translation> </message> </context> </TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/fr/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/fr/translation.qm Binary files differdeleted file mode 100644 index 27844c4..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/fr/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/fr/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/fr/translation.ts index 49088e8..42ac61d 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/fr/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/fr/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> - <translation>Total: %3 sur %4</translation> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> + <translation>Total: %1 sur %2</translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation>%1 sur %2</translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation>Quitter</translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation>Copie</translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation>Déplacement</translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation>%1% fait</translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation>&Plus</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation>...</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation>&Pause</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation>&Passer</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation>&Anuler</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -75,37 +60,32 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Supporter Ultracopier</span></a></p></body></html></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation>Source</translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation>Ajouter un fichier</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation>Ajouter un dossier</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation>Déplacer des fichier(s)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation>Déplacer un dossier</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation>Copier des fichier(s)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation>Copier un dossier</translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/hi/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/hi/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/hi/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/hi/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/hi/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/hi/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/hi/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/id/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/id/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/id/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/id/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/id/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/id/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/id/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/it/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/it/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/it/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/it/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/it/translation.ts index e8d8cf2..746b8a6 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/it/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/it/translation.ts @@ -1,109 +1,93 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> -<TS version="2.0"> +<TS version="2.0" language="it" sourcelanguage="en"> <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> - <translation type="unfinished"></translation> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> + <translation>Totale: %1 di %2</translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> - <translation type="unfinished"></translation> + <translation>%1 di %2</translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> - <translation type="unfinished"></translation> + <translation>%1% fatto</translation> </message> </context> <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> - <translation type="unfinished"></translation> + <translation>Di più</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> - <translation type="unfinished"></translation> + <translation></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> - <translation type="unfinished"></translation> + <translation>Pausa</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> - <translation type="unfinished"></translation> + <translation>Saltare</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> - <translation type="unfinished"></translation> + <translation>Annullare</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Sostenere Ultracopier</span></a></p></body></html></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> - <translation type="unfinished"></translation> + <translation>Aggiungi file</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> - <translation type="unfinished"></translation> + <translation>Aggiungi cartella</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> - <translation type="unfinished"></translation> + <translation>Spostare file(s)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> - <translation type="unfinished"></translation> + <translation>Spostare la cartella</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> - <translation type="unfinished"></translation> + <translation>Copiare il file(s)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> - <translation type="unfinished"></translation> + <translation>Copia la cartella</translation> </message> </context> </TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/ja/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/ja/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/ja/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/ja/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/ja/translation.ts index cadbddc..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/ja/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/ja/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="56"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="57"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="91"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="332"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="334"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="342"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/ko/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/ko/translation.ts new file mode 100644 index 0000000..6c66c5a --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/Languages/ko/translation.ts @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>InterfacePlugin</name> + <message> + <location filename="../../interface.cpp" line="+76"/> + <source>Total: %1 of %2</source> + <translation type="unfinished">전체: %3 / %2 {1 ?}</translation> + </message> + <message> + <location line="+1"/> + <source>%1 of %2</source> + <translation type="unfinished">%1 / %2</translation> + </message> + <message> + <location line="+135"/> + <source>%1% done</source> + <translation type="unfinished">%1% 완료</translation> + </message> +</context> +<context> + <name>interfaceCopy</name> + <message> + <location filename="../../interface.ui" line="+159"/> + <source>&More</source> + <translation type="unfinished">&자세히</translation> + </message> + <message> + <location line="+13"/> + <source>...</source> + <translation type="unfinished">...</translation> + </message> + <message> + <location line="+38"/> + <source>&Pause</source> + <translation type="unfinished">&일시 중지</translation> + </message> + <message> + <location line="+22"/> + <source>&Skip</source> + <translation type="unfinished">&건너뛰기</translation> + </message> + <message> + <location line="+19"/> + <source>&Cancel</source> + <translation type="unfinished">&취소</translation> + </message> + <message> + <location line="+30"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> + <translation type="unfinished"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Ultracopier 지원</span></a></p></body></html></translation> + </message> + <message> + <location line="+27"/> + <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> +</TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/nl/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/nl/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/nl/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/nl/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/nl/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/nl/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/nl/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/no/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/no/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/no/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/no/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/no/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/no/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/no/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/pl/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/pl/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/pl/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/pl/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/pl/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/pl/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/pl/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/ru/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/ru/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/ru/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/ru/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/ru/translation.ts index e8d8cf2..1219c56 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/ru/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/ru/translation.ts @@ -1,109 +1,93 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> -<TS version="2.0"> +<TS version="2.0" language="ru" sourcelanguage="et"> <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> - <translation type="unfinished"></translation> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> + <translation>Всего: %1 из %2</translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> - <translation type="unfinished"></translation> + <translation>%1 из %2</translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> - <translation type="unfinished"></translation> + <translation>%1% сделанный</translation> </message> </context> <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> - <translation type="unfinished"></translation> + <translation>больше</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> - <translation type="unfinished"></translation> + <translation></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> - <translation type="unfinished"></translation> + <translation>пауза</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> - <translation type="unfinished"></translation> + <translation>пропускать</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> - <translation type="unfinished"></translation> + <translation>отменить</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">Support Ultracopier</span></a></p></body></html></source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://ultracopier.first-world.info/"><span style=" font-size:8pt; text-decoration: underline; color:#0057ae;">поддержка Ultracopier</span></a></p></body></html></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> - <translation type="unfinished"></translation> + <translation>Добавить файл</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> - <translation type="unfinished"></translation> + <translation>Добавить папку</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> - <translation type="unfinished"></translation> + <translation>Перемещение файла(ов)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> - <translation type="unfinished"></translation> + <translation>Перемещение папки</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> - <translation type="unfinished"></translation> + <translation>Копировать файл(ы)</translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> - <translation type="unfinished"></translation> + <translation>Копировать папку</translation> </message> </context> </TS> diff --git a/plugins-alternative/Themes/Teracopy/Languages/th/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/th/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/th/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/th/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/th/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/th/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/th/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/tr/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/tr/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/tr/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/tr/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/tr/translation.ts index e8d8cf2..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/tr/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/tr/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="62"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="63"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="97"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="333"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="335"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="343"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/Languages/zh/translation.qm b/plugins-alternative/Themes/Teracopy/Languages/zh/translation.qm Binary files differdeleted file mode 100644 index 3738845..0000000 --- a/plugins-alternative/Themes/Teracopy/Languages/zh/translation.qm +++ /dev/null diff --git a/plugins-alternative/Themes/Teracopy/Languages/zh/translation.ts b/plugins-alternative/Themes/Teracopy/Languages/zh/translation.ts index cadbddc..33cd084 100644 --- a/plugins-alternative/Themes/Teracopy/Languages/zh/translation.ts +++ b/plugins-alternative/Themes/Teracopy/Languages/zh/translation.ts @@ -4,32 +4,17 @@ <context> <name>InterfacePlugin</name> <message> - <location filename="../../interface.cpp" line="56"/> - <source>Total: %3 of %4</source> + <location filename="../../interface.cpp" line="76"/> + <source>Total: %1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="57"/> + <location filename="../../interface.cpp" line="77"/> <source>%1 of %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.cpp" line="91"/> - <source>Quit</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="332"/> - <source>Copy</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="334"/> - <source>Move</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.cpp" line="342"/> + <location filename="../../interface.cpp" line="212"/> <source>%1% done</source> <translation type="unfinished"></translation> </message> @@ -37,32 +22,32 @@ <context> <name>interfaceCopy</name> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="159"/> <source>&More</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="172"/> <source>...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="210"/> <source>&Pause</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="232"/> <source>&Skip</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="251"/> <source>&Cancel</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="281"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -71,37 +56,32 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> - <source>Source</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="308"/> <source>Add file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="317"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="326"/> <source>Move file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="335"/> <source>Move folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="344"/> <source>Copy file(s)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../interface.ui"/> + <location filename="../../interface.ui" line="353"/> <source>Copy folder</source> <translation type="unfinished"></translation> </message> diff --git a/plugins-alternative/Themes/Teracopy/TransferModel.cpp b/plugins-alternative/Themes/Teracopy/TransferModel.cpp new file mode 100644 index 0000000..569d31c --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/TransferModel.cpp @@ -0,0 +1,441 @@ +#include "TransferModel.h" + +#define COLUMN_COUNT 3 + +// Model + +TransferModel::TransferModel() +{ + iconStart=QIcon(":/resources/player_play.png"); + iconPause=QIcon(":/resources/player_pause.png"); + iconStop=QIcon(":/resources/checkbox.png"); + currentIndexSearch=0; + haveSearchItem=false; +} + +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 || row >= transfertItemList.count() || column < 0 || column >= COLUMN_COUNT) + return QVariant(); + + const transfertItem& item = transfertItemList[row]; + if(role==Qt::UserRole) + return item.id; + else if(role==Qt::DisplayRole) + { + switch(column) + { + case 0: + return item.source; + break; + case 1: + return item.size; + break; + case 2: + return item.destination; + break; + default: + return QVariant(); + } + } + else if(role==Qt::DecorationRole) + { + switch(column) + { + case 0: + /*if(item.done) + return iconStop; + else */if(stopId.contains(item.id)) + return iconPause; + else if(startId.contains(item.id)) + return iconStart; + else + return QVariant(); + break; + default: + return QVariant(); + } + } + else if(role==Qt::BackgroundRole) + { + if(!search_text.isEmpty() && (item.source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || item.destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1)) + { + 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.count() : 0; +} + +quint64 TransferModel::firstId() +{ + if(transfertItemList.count()>0) + return transfertItemList[0].id; + else + return 0; +} + +QVariant TransferModel::headerData( int section, Qt::Orientation orientation, int role ) const +{ + if ( role == Qt::DisplayRole && orientation == Qt::Horizontal && section >= 0 && section < COLUMN_COUNT ) { + switch ( section ) { + case 0: + return facilityEngine->translateText("Source"); + case 1: + return facilityEngine->translateText("Size"); + case 2: + return 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 || row >= transfertItemList.count() || 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(); + emit dataChanged(index,index); + return true; + break; + case 1: + item.size=value.toString(); + emit dataChanged(index,index); + return true; + break; + case 2: + item.destination=value.toString(); + emit dataChanged(index,index); + return true; + break; + default: + return false; + } + } + return false; +} + +/* + Return[0]: totalFile + Return[1]: totalSize + Return[2]: currentFile + */ +QList<quint64> TransferModel::synchronizeItems(const QList<returnActionOnCopyList>& returnActions) +{ + loop_size=returnActions.size(); + index_for_loop=0; + totalFile=0; + totalSize=0; + currentFile=0; + emit layoutAboutToBeChanged(); + while(index_for_loop<loop_size) + { + const returnActionOnCopyList& action=returnActions.at(index_for_loop); + switch(action.type) + { + case 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; +// newItem.done=false; + transfertItemList<<newItem; + totalFile++; + totalSize+=action.addAction.size; + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("id: %1, size: %2, name: %3").arg(action.addAction.id).arg(action.addAction.size).arg(action.addAction.sourceFullPath)); + } + break; + case MoveItem: + { + //bool current_entry= + if(action.userAction.position<0) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position)); + break; + } + if(action.userAction.position>(transfertItemList.size()-1)) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position)); + break; + } + if(action.userAction.moveAt<0) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position)); + break; + } + if(action.userAction.moveAt>(transfertItemList.size()-1)) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position)); + break; + } + transfertItemList.move(action.userAction.position,action.userAction.moveAt); + } + break; + case RemoveItem: + { + if(currentIndexSearch>0 && action.userAction.position<=currentIndexSearch) + currentIndexSearch--; + if(action.userAction.position<0) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position)); + break; + } + if(action.userAction.position>(transfertItemList.size()-1)) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("id: %1, position is wrong: %3").arg(action.addAction.id).arg(action.userAction.position)); + break; + } + transfertItemList.removeAt(action.userAction.position); + currentFile++; + startId.remove(action.addAction.id); + stopId.remove(action.addAction.id); + } + break; + case PreOperation: + { + ItemOfCopyListWithMoreInformations tempItem; + tempItem.currentProgression=0; + tempItem.generalData=action.addAction; + tempItem.actionType=action.type; + internalRunningOperation[action.addAction.id]=tempItem; + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("set for file %1: actionType: PreOperation").arg(action.addAction.id)); + } + break; + case Transfer: + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("found entry for file %1: actionType: Transfer").arg(action.addAction.id)); + if(!startId.contains(action.addAction.id)) + startId << action.addAction.id; + stopId.remove(action.addAction.id); + if(internalRunningOperation.contains(action.addAction.id)) + internalRunningOperation[action.addAction.id].actionType=action.type; + else + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Warning,QString("unable to found entry for file %1: actionType: Transfer").arg(action.addAction.id)); + } + break; + case PostOperation: + { + if(!stopId.contains(action.addAction.id)) + stopId << action.addAction.id; + startId.remove(action.addAction.id); + internalRunningOperation.remove(action.addAction.id); + } + break; + case CustomOperation: + { + bool custom_with_progression=(action.addAction.size==1); + //without progression + if(custom_with_progression) + { + if(startId.remove(action.addAction.id)) + if(!stopId.contains(action.addAction.id)) + stopId << action.addAction.id; + } + //with progression + else + { + stopId.remove(action.addAction.id); + if(!startId.contains(action.addAction.id)) + startId << action.addAction.id; + } + if(internalRunningOperation.contains(action.addAction.id)) + { + ItemOfCopyListWithMoreInformations &item=internalRunningOperation[action.addAction.id]; + item.actionType=action.type; + item.custom_with_progression=custom_with_progression; + item.currentProgression=0; + } + } + break; + default: + //unknow code, ignore it + break; + } + index_for_loop++; + } + emit layoutChanged(); + return QList<quint64>() << totalFile << totalSize << currentFile; +} + +void TransferModel::setFacilityEngine(FacilityInterface * facilityEngine) +{ + this->facilityEngine=facilityEngine; +} + +int TransferModel::search(const QString &text,bool searchNext) +{ + emit layoutAboutToBeChanged(); + search_text=text; + emit layoutChanged(); + if(transfertItemList.size()==0) + return -1; + if(text.isEmpty()) + 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) + { + if(transfertItemList.at(currentIndexSearch).source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || transfertItemList.at(currentIndexSearch).destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1) + { + 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 QString &text) +{ + emit layoutAboutToBeChanged(); + search_text=text; + emit layoutChanged(); + if(transfertItemList.size()==0) + return -1; + if(text.isEmpty()) + 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) + { + if(transfertItemList.at(currentIndexSearch).source.indexOf(search_text,0,Qt::CaseInsensitive)!=-1 || transfertItemList.at(currentIndexSearch).destination.indexOf(search_text,0,Qt::CaseInsensitive)!=-1) + { + 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(QList<ProgressionItem> &progressionList) +{ + loop_size=progressionList.size(); + index_for_loop=0; + while(index_for_loop<loop_size) + { + if(internalRunningOperation.contains(progressionList.at(index_for_loop).id)) + { + internalRunningOperation[progressionList.at(index_for_loop).id].generalData.size=progressionList.at(index_for_loop).total; + internalRunningOperation[progressionList.at(index_for_loop).id].currentProgression=progressionList.at(index_for_loop).current; + #ifdef ULTRACOPIER_PLUGIN_DEBUG + progressionList.removeAt(index_for_loop); + #endif + } + index_for_loop++; + } + #ifdef ULTRACOPIER_PLUGIN_DEBUG + if(progressionList.size()>0) + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Critical,"progression remaning items"); + #endif +} + +TransferModel::currentTransfertItem TransferModel::getCurrentTransfertItem() +{ + currentTransfertItem returnItem; + returnItem.haveItem=startId.size()>0; + if(returnItem.haveItem) + { + if(!internalRunningOperation.contains(*startId.constBegin())) + { + returnItem.haveItem=false; + return returnItem; + } + const ItemOfCopyListWithMoreInformations &itemTransfer=internalRunningOperation[*startId.constBegin()]; + returnItem.from=itemTransfer.generalData.sourceFullPath; + returnItem.to=itemTransfer.generalData.destinationFullPath; + returnItem.current_file=itemTransfer.generalData.destinationFileName+", "+facilityEngine->sizeToString(itemTransfer.generalData.size); + switch(itemTransfer.actionType) + { + case CustomOperation: + if(!itemTransfer.custom_with_progression) + returnItem.progressBar_file=-1; + else + { + if(itemTransfer.generalData.size>0) + returnItem.progressBar_file=((double)itemTransfer.currentProgression/itemTransfer.generalData.size)*65535; + else + returnItem.progressBar_file=-1; + } + break; + case Transfer: + if(itemTransfer.generalData.size>0) + returnItem.progressBar_file=((double)itemTransfer.currentProgression/itemTransfer.generalData.size)*65535; + else + returnItem.progressBar_file=0; + break; + //should never pass here + case PostOperation: + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Warning,QString("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType)); + returnItem.progressBar_file=65535; + break; + //should never pass here + case PreOperation: + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Warning,QString("wrong action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType)); + returnItem.progressBar_file=0; + break; + default: + returnItem.progressBar_file=0; + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Warning,QString("unknow action type for file %1: actionType: %2").arg(itemTransfer.generalData.id).arg(itemTransfer.actionType)); + break; + } + } +/* else + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("No have running item"));*/ + return returnItem; +} diff --git a/plugins-alternative/Themes/Teracopy/TransferModel.h b/plugins-alternative/Themes/Teracopy/TransferModel.h new file mode 100644 index 0000000..486532e --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/TransferModel.h @@ -0,0 +1,92 @@ +#ifndef TRANSFERMODEL_H +#define TRANSFERMODEL_H + +#include <QAbstractTableModel> +#include <QModelIndex> +#include <QVariant> +#include <QList> +#include <QSet> +#include <QIcon> +#include <QString> + +#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 + { + quint64 id; + QString source; + QString size; + QString destination; + }; + /// \brief the transfer item with progression + struct ItemOfCopyListWithMoreInformations + { + quint64 currentProgression; + ItemOfCopyList generalData; + ActionTypeCopyList actionType; + bool custom_with_progression; + }; + /// \brief returned first transfer item + struct currentTransfertItem + { + quint64 id; + bool haveItem; + QString from; + QString to; + QString current_file; + int progressBar_file; + }; + + 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); + + QList<quint64> synchronizeItems(const QList<returnActionOnCopyList>& returnActions); + void setFacilityEngine(FacilityInterface * facilityEngine); + + int search(const QString &text,bool searchNext); + int searchPrev(const QString &text); + + void setFileProgression(QList<ProgressionItem> &progressionList); + + currentTransfertItem getCurrentTransfertItem(); + + quint64 firstId(); +protected: + QList<transfertItem> transfertItemList;///< To have a transfer list for the user + QList<transfertItem> transfertItemListDone;///< To have a transfer list for the user + QSet<quint64> startId,stopId;///< To show what is started, what is stopped + QHash<quint64,ItemOfCopyListWithMoreInformations> internalRunningOperation;///< to have progression and stat + QIcon iconStart,iconPause,iconStop; +private: + int loop_size,index_for_loop; + int sub_loop_size,sub_index_for_loop; + int row,column; + quint64 totalFile,totalSize,currentFile; + FacilityInterface * facilityEngine; + QString search_text; + /// \brief index from start the search, decresed by remove before it + int currentIndexSearch; + bool haveSearchItem; + quint64 searchId; +signals: + #ifdef ULTRACOPIER_PLUGIN_DEBUG + /// \brief To debug source + void debugInformation(DebugLevel level,QString fonction,QString text,QString file,int ligne); + #endif +}; + +#endif // TRANSFERMODEL_H diff --git a/plugins-alternative/Themes/Teracopy/informations.xml b/plugins-alternative/Themes/Teracopy/informations.xml index 66e8ee1..5fd194d 100644 --- a/plugins-alternative/Themes/Teracopy/informations.xml +++ b/plugins-alternative/Themes/Teracopy/informations.xml @@ -12,16 +12,16 @@ <!-- 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> + <architecture>windows-x86</architecture> <!-- Detailed description --> <description xml:lang="en"><![CDATA[Teracopy style for Ultracopier, reproduct with screenshot on internet]]></description> <description xml:lang="fr"><![CDATA[Style Teracopy pour Ultracopier, reproduit avec les screenshots vu sur internet]]></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>0.3.0.5</version> + <version>0.3.1.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>Teracopy</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[ - =ultracopier-0.3.0.5 + >=ultracopier-0.3.1.0 ]]></dependencies> </package>
\ No newline at end of file diff --git a/plugins-alternative/Themes/Teracopy/interface.cpp b/plugins-alternative/Themes/Teracopy/interface.cpp index be54075..a7014dd 100644 --- a/plugins-alternative/Themes/Teracopy/interface.cpp +++ b/plugins-alternative/Themes/Teracopy/interface.cpp @@ -15,6 +15,9 @@ InterfacePlugin::InterfacePlugin(FacilityInterface * facilityEngine) : { this->facilityEngine=facilityEngine; ui->setupUi(this); + ui->TransferList->setModel(&transferModel); + transferModel.setFacilityEngine(facilityEngine); + currentFile = 0; totalFile = 0; currentSize = 0; @@ -34,9 +37,9 @@ InterfacePlugin::InterfacePlugin(FacilityInterface * facilityEngine) : connect(ui->actionAddFolderToMove,SIGNAL(triggered()),this,SLOT(forcedModeAddFolderToMove())); connect(ui->actionAddFolder,SIGNAL(triggered()),this,SLOT(forcedModeAddFolder())); - iconStart=QIcon(":/resources/player_play.png"); - iconPause=QIcon(":/resources/player_pause.png"); - iconStop=QIcon(":/resources/checkbox.png"); + #ifdef ULTRACOPIER_PLUGIN_DEBUG + connect(&transferModel,SIGNAL(debugInformation(DebugLevel,QString,QString,QString,int)),this,SIGNAL(debugInformation(DebugLevel,QString,QString,QString,int))); + #endif } InterfacePlugin::~InterfacePlugin() @@ -70,7 +73,7 @@ void InterfacePlugin::closeEvent(QCloseEvent *event) void InterfacePlugin::updateOverallInformation() { - ui->overall->setText(tr("Total: %3 of %4").arg(facilityEngine->sizeToString(currentSize)).arg(facilityEngine->sizeToString(totalSize))); + ui->overall->setText(tr("Total: %1 of %2").arg(facilityEngine->sizeToString(currentSize)).arg(facilityEngine->sizeToString(totalSize))); ui->labelNumberFile->setText(tr("%1 of %2").arg(currentFile).arg(totalFile)); } @@ -105,7 +108,7 @@ void InterfacePlugin::actionInProgess(EngineActionInProgress action) haveStarted=true; break; case Idle: - ui->cancelButton->setText(tr("Quit")); + ui->cancelButton->setText(facilityEngine->translateText("Quit")); break; default: break; @@ -196,9 +199,9 @@ void InterfacePlugin::forceCopyMode(CopyMode mode) modeIsForced=true; this->mode=mode; if(mode==Copy) - this->setWindowTitle("Ultracopier - "+tr("Copy")); + this->setWindowTitle("Ultracopier - "+facilityEngine->translateText("Copy")); else - this->setWindowTitle("Ultracopier - "+tr("Move")); + this->setWindowTitle("Ultracopier - "+facilityEngine->translateText("Move")); updateModeAndType(); } @@ -235,18 +238,31 @@ void InterfacePlugin::isInPause(bool isInPause) void InterfacePlugin::updateCurrentFileInformation() { - if(currentProgressList.size()>0) + TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem(); + if(transfertItem.haveItem) { - ui->from->setText(currentProgressList.first().generalData.sourceFullPath); - if(currentProgressList.first().generalData.size>0) - ui->progressBar_file->setValue(((double)currentProgressList.first().currentProgression/currentProgressList.first().generalData.size)*65535); + ui->from->setText(transfertItem.from); + //commented because not displayed on this interface + //ui->to->setText(transfertItem.to); + //ui->current_file->setText(transfertItem.current_file); + if(transfertItem.progressBar_file!=-1) + { + ui->progressBar_file->setRange(0,65535); + ui->progressBar_file->setValue(transfertItem.progressBar_file); + } else - ui->progressBar_file->setValue(0); + ui->progressBar_file->setRange(0,0); } else { - ui->from->setText("-"); - ui->progressBar_file->setValue(65535); + ui->from->setText(""); + //commented because not displayed on this interface + //ui->to->setText(""); + //ui->current_file->setText("-"); + if(haveStarted && transferModel.rowCount()==0) + ui->progressBar_file->setValue(65535); + else if(!haveStarted) + ui->progressBar_file->setValue(0); } } @@ -270,11 +286,22 @@ void InterfacePlugin::on_pauseButton_clicked() void InterfacePlugin::on_skipButton_clicked() { - ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start"); - if(currentProgressList.size()>0) - emit skip(currentProgressList.first().generalData.id); + TransferModel::currentTransfertItem transfertItem=transferModel.getCurrentTransfertItem(); + if(transfertItem.haveItem) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("skip at running: %1").arg(transfertItem.id)); + emit skip(transfertItem.id); + } else - ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Critical,"unable to skip the transfer, because no transfer running"); + { + if(transferModel.rowCount()>1) + { + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,QString("skip at idle: %1").arg(transferModel.firstId())); + emit skip(transferModel.firstId()); + } + else + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Critical,"unable to skip the transfer, because no transfer running"); + } } void InterfacePlugin::updateModeAndType() @@ -353,140 +380,29 @@ void InterfacePlugin::newLanguageLoaded() */ void InterfacePlugin::getActionOnList(const QList<returnActionOnCopyList>& returnActions) { - loop_size=returnActions.size(); - index_for_loop=0; - while(index_for_loop<loop_size) + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"start, returnActions.size(): "+QString::number(returnActions.size())); + QList<quint64> returnValue=transferModel.synchronizeItems(returnActions); + totalFile+=returnValue[0]; + totalSize+=returnValue[1]; + currentFile+=returnValue[2]; + if(transferModel.rowCount()==0) { - const returnActionOnCopyList& action=returnActions.at(index_for_loop); - switch(action.type) - { - case AddingItem: - { - InternalRunningOperationGraphic.insert(action.addAction.id,new QTreeWidgetItem(QStringList() << action.addAction.sourceFullPath << facilityEngine->sizeToString(action.addAction.size) << action.addAction.destinationFullPath)); - ui->CopyList->addTopLevelItem(InternalRunningOperationGraphic[action.addAction.id]); - totalFile++; - totalSize+=action.addAction.size; - } - break; - case MoveItem: - ui->CopyList->move(action.userAction.position,action.userAction.moveAt); - break; - case RemoveItem: - { - InternalRunningOperationGraphic[action.addAction.id]->setIcon(0,iconStop); - InternalRunningOperationGraphic.remove(action.addAction.id); - //delete ui->CopyList->topLevelItem(action.userAction.position); - currentFile++; - startId.removeOne(action.addAction.id); - stopId.removeOne(action.addAction.id); - } - break; - case PreOperation: - { - ItemOfCopyListWithMoreInformations tempItem; - tempItem.currentProgression=0; - tempItem.generalData=action.addAction; - InternalRunningOperation << tempItem; - } - break; - case Transfer: - { - if(!startId.contains(action.addAction.id)) - startId << action.addAction.id; - stopId.removeOne(action.addAction.id); - sub_index_for_loop=0; - sub_loop_size=InternalRunningOperation.size(); - while(sub_index_for_loop<sub_loop_size) - { - if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) - { - InternalRunningOperation[sub_index_for_loop].actionType=action.type; - break; - } - sub_index_for_loop++; - } - InternalRunningOperationGraphic[action.addAction.id]->setIcon(0,iconStart); - } - break; - case PostOperation: - { - if(!stopId.contains(action.addAction.id)) - stopId << action.addAction.id; - startId.removeOne(action.addAction.id); - sub_index_for_loop=0; - sub_loop_size=InternalRunningOperation.size(); - while(sub_index_for_loop<sub_loop_size) - { - if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) - { - InternalRunningOperation.removeAt(sub_index_for_loop); - break; - } - sub_index_for_loop++; - } - InternalRunningOperationGraphic[action.addAction.id]->setIcon(0,iconPause); - } - break; - case CustomOperation: - { - bool custom_with_progression=(action.addAction.size==1); - //without progression - if(custom_with_progression) - { - if(startId.removeOne(action.addAction.id)) - if(!stopId.contains(action.addAction.id)) - stopId << action.addAction.id; - } - //with progression - else - { - stopId.removeOne(action.addAction.id); - if(!startId.contains(action.addAction.id)) - startId << action.addAction.id; - } - sub_index_for_loop=0; - sub_loop_size=InternalRunningOperation.size(); - while(sub_index_for_loop<sub_loop_size) - { - if(InternalRunningOperation.at(sub_index_for_loop).generalData.id==action.addAction.id) - { - InternalRunningOperation[sub_index_for_loop].actionType=action.type; - InternalRunningOperation[sub_index_for_loop].custom_with_progression=custom_with_progression; - InternalRunningOperation[sub_index_for_loop].currentProgression=0; - break; - } - sub_index_for_loop++; - } - } - break; - default: - //unknow code, ignore it - break; - } - index_for_loop++; + ui->skipButton->setEnabled(false); + ui->progressBar_all->setValue(65535); + ui->progressBar_file->setValue(65535); + currentSize=totalSize; } + else + ui->skipButton->setEnabled(true); + updateOverallInformation(); + ULTRACOPIER_DEBUGCONSOLE(DebugLevel_Notice,"transferModel.rowCount(): "+QString::number(transferModel.rowCount())); } void InterfacePlugin::setFileProgression(const QList<ProgressionItem> &progressionList) { - loop_size=InternalRunningOperation.size(); - sub_loop_size=progressionList.size(); - index_for_loop=0; - while(index_for_loop<loop_size) - { - sub_index_for_loop=0; - while(sub_index_for_loop<sub_loop_size) - { - if(progressionList.at(sub_index_for_loop).id==InternalRunningOperation.at(index_for_loop).generalData.id) - { - InternalRunningOperation[index_for_loop].generalData.size=progressionList.at(sub_index_for_loop).total; - InternalRunningOperation[index_for_loop].currentProgression=progressionList.at(sub_index_for_loop).current; - break; - } - sub_index_for_loop++; - } - index_for_loop++; - } + QList<ProgressionItem> progressionListBis=progressionList; + transferModel.setFileProgression(progressionListBis); + updateCurrentFileInformation(); } InterfacePlugin::currentTransfertItem InterfacePlugin::getCurrentTransfertItem() diff --git a/plugins-alternative/Themes/Teracopy/interface.h b/plugins-alternative/Themes/Teracopy/interface.h index 865456e..899a03b 100644 --- a/plugins-alternative/Themes/Teracopy/interface.h +++ b/plugins-alternative/Themes/Teracopy/interface.h @@ -16,6 +16,7 @@ #include "ui_interface.h" #include "Environment.h" +#include "TransferModel.h" namespace Ui { class interfaceCopy; @@ -42,11 +43,6 @@ private: QString current_file; int progressBar_file; }; - struct graphicItem - { - quint64 id; - QTreeWidgetItem * item; - }; Ui::interfaceCopy *ui; quint64 currentFile; quint64 totalFile; @@ -57,7 +53,6 @@ private: EngineActionInProgress action; void closeEvent(QCloseEvent *event); QList<ItemOfCopyListWithMoreInformations> currentProgressList; - QList<graphicItem> graphicItemList; QString speedString; bool storeIsInPause; bool modeIsForced; @@ -74,8 +69,8 @@ private: currentTransfertItem getCurrentTransfertItem(); QList<quint64> startId,stopId;///< To show what is started, what is stopped QList<ItemOfCopyListWithMoreInformations> InternalRunningOperation;///< to have progression and stat - QHash<quint64,QTreeWidgetItem *> InternalRunningOperationGraphic; - QIcon iconStart,iconPause,iconStop; + /// \brief the custom transfer model + TransferModel transferModel; public: //send information about the copy /// \brief to set the action in progress diff --git a/plugins-alternative/Themes/Teracopy/interface.pro b/plugins-alternative/Themes/Teracopy/interface.pro index 012c8c1..4cecacb 100644 --- a/plugins-alternative/Themes/Teracopy/interface.pro +++ b/plugins-alternative/Themes/Teracopy/interface.pro @@ -7,18 +7,20 @@ HEADERS = interface.h \ DebugEngineMacro.h \ Environment.h \ Variable.h \ - ../../../interface/PluginInterface_Themes.h + ../../../interface/PluginInterface_Themes.h \ + TransferModel.h SOURCES = interface.cpp \ - factory.cpp + factory.cpp \ + TransferModel.cpp TARGET = $$qtLibraryTarget(interface) -TRANSLATIONS += Languages/fr/translation.ts \ +TRANSLATIONS += Languages/fr/translation.ts \ Languages/ar/translation.ts \ - Languages/ch/translation.ts \ + Languages/zh/translation.ts \ Languages/es/translation.ts \ Languages/de/translation.ts \ Languages/el/translation.ts \ Languages/it/translation.ts \ - Languages/jp/translation.ts \ + Languages/ja/translation.ts \ Languages/id/translation.ts \ Languages/pl/translation.ts \ Languages/ru/translation.ts \ @@ -27,7 +29,8 @@ TRANSLATIONS += Languages/fr/translation.ts \ Languages/hi/translation.ts \ Languages/nl/translation.ts \ Languages/no/translation.ts \ - Languages/pt/translation.ts + Languages/pt/translation.ts \ + Languages/ko/translation.ts RESOURCES += resources.qrc diff --git a/plugins-alternative/Themes/Teracopy/interface.ui b/plugins-alternative/Themes/Teracopy/interface.ui index d547c49..1bccf44 100644 --- a/plugins-alternative/Themes/Teracopy/interface.ui +++ b/plugins-alternative/Themes/Teracopy/interface.ui @@ -289,18 +289,13 @@ p, li { white-space: pre-wrap; } </layout> </item> <item> - <widget class="QTreeWidget" name="CopyList"> + <widget class="QTreeView" name="TransferList"> <property name="selectionMode"> <enum>QAbstractItemView::NoSelection</enum> </property> <property name="rootIsDecorated"> <bool>false</bool> </property> - <column> - <property name="text"> - <string>Source</string> - </property> - </column> </widget> </item> </layout> @@ -366,22 +361,6 @@ p, li { white-space: pre-wrap; } <connection> <sender>moreButton</sender> <signal>toggled(bool)</signal> - <receiver>CopyList</receiver> - <slot>setVisible(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>32</x> - <y>107</y> - </hint> - <hint type="destinationlabel"> - <x>54</x> - <y>163</y> - </hint> - </hints> - </connection> - <connection> - <sender>moreButton</sender> - <signal>toggled(bool)</signal> <receiver>label_2</receiver> <slot>setVisible(bool)</slot> <hints> diff --git a/plugins-alternative/Themes/Teracopy/resources/player_pause.png b/plugins-alternative/Themes/Teracopy/resources/player_pause.png Binary files differnew file mode 100644 index 0000000..a9b3113 --- /dev/null +++ b/plugins-alternative/Themes/Teracopy/resources/player_pause.png |