Comparar commits

...

81 Commits

Autor SHA1 Mensagem Data
Olivier Goffart 3bb364980c FolderWatcher (linux): optimize slotAddFolderRecursive
- Instead of putting all the pathes in a big QStringList and then process them,
  do the processing as we iterate with QDirIterator

- Since we know that the parent directory is not ignored, we can simplify the
  ignore check by not checking the part before (i.e: we call
  ExcludedFiles::isExcluded with the parent 'path' as base path) This is what
  speeds up considerably the function.

Note that the OWNCLOUD_TEST check is already there in FolderWatcher::pathIsIgnored
so the behavior is not changed
2016-10-12 16:56:05 +02:00
Markus Goetz fc7aaf792b Auto Start: Only set on first account setup, not all later ones 2016-10-11 20:28:14 +02:00
Markus Goetz f6355e15a3 sqlite: Update bundled version to 3.14.2
For OS X and Windows.
2016-10-11 20:06:43 +02:00
Olivier Goffart d80d5a8ee4 SyncEngine: Fix renaming a folder should keep the selective sync state
Issue #5224

Two problems:

 - In the discovery phase, we need to check the selective sync entries of
   the source path in case of renames.

 - When the rename is done, we need to actually update the black list in the
   database.
2016-10-11 14:38:25 +02:00
Olivier Goffart e0a36ab313 TestFolderMan: don't pollute user's settings 2016-10-11 14:27:14 +02:00
Olivier Goffart 9d3e78ed54 AccountManager: do not load invalid account
Some tests (such as FolderManTest) can polute the config file with invalid
accounts.

(That's because most of the code, (even in libsync) always instentiate a ConfigFile)
2016-10-11 14:27:14 +02:00
Olivier Goffart b6079bfe4f Remove usused variable 2016-10-11 12:12:28 +02:00
Olivier Goffart f75106fd8e SyncJournalDB: check the return value of the prepare statements in checkConnect
Relates to #5199
2016-10-11 11:35:26 +02:00
Olivier Goffart 57fe7b800f Theme: Fix compiler warning
Relates #5227
2016-10-11 10:31:47 +02:00
Olivier Goffart c2fa9b5bbf AccoutWizard: Change the set policy of a radio button
In an attempt to make sure the button next to it don't get too small.

Issue #5209
2016-10-10 13:27:28 +02:00
Olivier Goffart 86522cbbf0 OwnSQL: avoid crashing in SqlQuery::reset_and_clear_bindings
The crash reporter shows a lot of crashes in sqlite3_clear_bindings
which seems to indicate that _stmt is null. We should guard against
a null value in order to avoid crashing.

This should only happen if the prepare call fails. We don't usually
check the return value of the prepare call, but if _stmt is null, the
exec call should return false, not true. We check the result of the
exec call, so this should then abort the sync with an error, rather
than crashing.
2016-10-10 13:27:12 +02:00
Christian Kamm 91b6b88883 Tray: Fix crash on startup for non-OSX oses 2016-10-07 13:32:42 +02:00
Christian Kamm f36d4562a1 Doc: Remove mention of "F5 to reset database" #5130 2016-10-07 13:22:43 +02:00
Tommy Sparber 67ecca492b Improve macOS SysTray/StatusBar monochrome icon (#5227)
- Use a white icon if the context menu is visible.
- Enable `QIcon::setIsMask` if compiled on Qt >= 5.6 to allow automatic
  macOS color handling.
- No changes if the colored icons are used.
2016-10-06 17:18:51 +02:00
Markus Goetz 84c925dc58 503: Also parse other server error message (#5228)
From https://github.com/owncloud/core/pull/26145
2016-10-06 14:45:04 +02:00
Jenkins for ownCloud 6382a142cd [tx-robot] updated from transifex 2016-10-01 01:15:17 +02:00
Christian Kamm 5f2b1999f6 Package: Fix nautilus plugin name collision when branded
As suggested by @olifre in #5183
2016-09-28 13:10:48 +02:00
Christian Kamm bd2bcad3ba ShareDialog: Remove context help button
Ticket #5203
2016-09-28 13:00:52 +02:00
Christian Kamm 598a7cec5d Merge remote-tracking branch 'origin/2.2' 2016-09-28 12:07:45 +02:00
Jenkins for ownCloud 46d934bd95 [tx-robot] updated from transifex 2016-09-28 02:18:31 +02:00
Markus Goetz e8c8943a30 VERSION.cmake: We're at 2.2.5 2016-09-27 18:21:55 +02:00
Markus Goetz f1e2e42d99 2.2.4: Set release date 2016-09-27 10:52:18 +02:00
Markus Goetz 95c479aa07 Wizard: Do the system proxy lookup in a thread (#5160)
This is analogous to the code in ConnectionValidator.
2016-09-26 15:45:30 +02:00
ckamm 035442b6da Improve the "new big folder" UI #5202 (#5204)
Instead of using the regular selective-sync UI (where it's unclear what
the "Cancel" button would even mean in this context), provide a
different set of buttons that allow the user to quickly synchronize
all pending big folders, none of them, or perform manual changes
as usual.
2016-09-23 13:47:57 +02:00
ckamm 98efb07535 Tray: Workaround collection (#5179)
Tray: Workaround collection

* QDBus workaround for Qt 5.5.0 only, there were reports of the tray
  working fine with 5.5.1. #5164
* OWNCLOUD_FORCE_QDBUS_TRAY_WORKAROUND to force the workaround on an off
* OWNCLOUD_TRAY_UPDATE_WHILE_VISIBLE to enable or disable updating of
  the menu while it's visible - disable by default due to problems on OSX and Xubuntu.
* Track the visibility of the tray menu with aboutToShow/aboutToHide
  only on OSX - the aboutToHide signal doesn't trigger reliably on linux
* Refactor such that setupContextMenu is different from updateContextMenu
* Don't use on-demand updating of the tray menu when the qdbus workaround
  is active, instead to occasional (30s) updates of the tray menu.
2016-09-23 10:44:54 +02:00
Olivier Goffart bc04f79959 Missing Inc -> GmbH (#5181) 2016-09-22 15:32:12 +02:00
Christian Kamm e10c97573f Warning if mailto url fails #5142 2016-09-22 14:16:58 +02:00
Christian Kamm 383479fbfd Fix Windows build with WITH_UNIT_TESTING 2016-09-22 13:55:48 +02:00
Olivier Goffart fca5f1b210 owncloudcmd: fix --silent
We ignored csync log, but we also need to silent Qt debug output.
We need to ignore it at the very begining because there might be
qDebug also in account creation.

Issue #5196
2016-09-22 10:32:27 +02:00
Christian Kamm 0cea3d85f5 Add log messages for LockWatcher use #5190 2016-09-22 09:57:42 +02:00
Olivier Goffart 85b8ab178e SyncEngine: Fix renaming of folder when file are changed (#5195)
Two bugs:
 - The change filed are not considered as move, they are re-downloaded
   but the old file was not removed from the database. The change in
   owncloudpropagator.cpp takes care of removing the old entries.

 - Next sync would then remove the file in the server in the old folder
   This was not a problem until we start reusing the sync engine, and
   that the _renamedFolders map is not cleared. We were before deleting
   a non-existing file. But now we delete the actual file.

Also improve the tests to be able to do move on the server.
This include support for file id.

Issue #5192
2016-09-22 09:02:47 +02:00
Jenkins for ownCloud ea9d17b41d [tx-robot] updated from transifex 2016-09-22 01:15:16 +02:00
Piotr Mrówczyński b7eb37dc03 Merge pull request #5170 from owncloud/add_capabilities_owncloudcmd
add server capabilities to owncloudcmd
2016-09-21 22:28:41 +02:00
Olivier Goffart 98bfa8d5de Propagator: properly send the success flag (#5189)
In case of the root directory, it may happen that the _item
is empty and the _item->_status is NoStatus.  But we still need to report
the proper success or error of the whole propagation. We should really
use _hasError for that. However, _hasError is also defined to NoStatus
if there was no error, so in that case we need to set Success.

This fixes the problem in which the data-fingerprint is not saved on the
database because the SyncEngine think that the sync failed. (Issue #5185)
2016-09-21 16:35:42 +02:00
Olivier Goffart ff701bd473 ConnectionValidator: properly handle error in status.php (#5188)
We wwer enot connecting to the right signal from the check server
job, and therefore we were not catching the condition in which the
json was invalid. We would then never terminate the ConnectionValidator job.

Note that instanceNotFound is also emited if there is a network error.

The log looked like this:

10:25:51.247 OCC::CheckServerJob::finished: status.php from server is not valid JSON!
10:25:51.248 OCC::CheckServerJob::finished: status.php returns:  QMap()   QNetworkReply::NetworkError(NoError)  Reply:  QNetworkReplyHttpImpl(0x2b6a790)
10:25:51.248 OCC::CheckServerJob::finished: No proper answer on  QUrl("http://localhost/~owncloud/status.php")
10:26:23.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
10:26:55.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
[...]
2016-09-20 11:55:43 +02:00
Jocelyn Turcotte 31aaf956f5 Merge pull request #5182 from jturcotte/msvcBuild
Fix the MSVC build
2016-09-20 10:39:14 +02:00
Jocelyn Turcotte a221ac1e4d Fix unit testing build warning on Linux
The compiler complained about the PathComponent reference on the lambdas comes from the anonymous namespace.
2016-09-16 17:55:28 +02:00
Jocelyn Turcotte 2b274e9460 Fix the MSVC build
- Replace functions that are provided by MinGW with a Win32-based
  implementation
- Explicitly export needed symbols from ocsync.dll
- Rename share.h to sharemanager.h since the name clashes with one
  of the Windows headers and get included from there
- Remove the timestamp from the fallback csync stderr logging, it's
  not used since we always provide a log callback
2016-09-16 17:43:39 +02:00
Markus Goetz aa5d3055be Folder/Watcher: Fix up #5174 #5153 (#5186)
It was surprising to have a broken symlink return empty for
canonical path.
2016-09-15 14:56:37 +02:00
Christian Kamm 3e1690ff7a Improvements to file recall 2016-09-14 15:42:19 +02:00
Jenkins for ownCloud 826a675f32 [tx-robot] updated from transifex 2016-09-27 02:18:32 +02:00
Jenkins for ownCloud 323ebf9bf2 [tx-robot] updated from transifex 2016-09-26 02:18:30 +02:00
Jenkins for ownCloud e4bf3ec19a [tx-robot] updated from transifex 2016-09-25 02:18:36 +02:00
Jenkins for ownCloud f2721aff1d [tx-robot] updated from transifex 2016-09-24 02:18:33 +02:00
Markus Goetz 29bd8658bb ChangeLog: 2.2.4 2016-09-22 15:41:30 +02:00
Klaas Freitag 8b9ca63eeb Dolphin Plugin: Use the Application name for the socket path (#5172)
do not hardcode.

This should fix #5165
(cherry picked from commit 2d110540ee)
2016-09-22 09:20:47 +02:00
Olivier Goffart 6f1b03c560 SyncEngine: Fix renaming of folder when file are changed (#5195)
Two bugs:
 - The change filed are not considered as move, they are re-downloaded
   but the old file was not removed from the database. The change in
   owncloudpropagator.cpp takes care of removing the old entries.

 - Next sync would then remove the file in the server in the old folder
   This was not a problem until we start reusing the sync engine, and
   that the _renamedFolders map is not cleared. We were before deleting
   a non-existing file. But now we delete the actual file.

Also improve the tests to be able to do move on the server.
This include support for file id.

Issue #5192
(cherry picked from commit 85b8ab178e)
2016-09-22 09:05:09 +02:00
Jenkins for ownCloud 3bd3ffb8e2 [tx-robot] updated from transifex 2016-09-22 02:18:32 +02:00
Olivier Goffart a810d69daa ConnectionValidator: properly handle error in status.php (#5188)
We wwer enot connecting to the right signal from the check server
job, and therefore we were not catching the condition in which the
json was invalid. We would then never terminate the ConnectionValidator job.

Note that instanceNotFound is also emited if there is a network error.

The log looked like this:

10:25:51.247 OCC::CheckServerJob::finished: status.php from server is not valid JSON!
10:25:51.248 OCC::CheckServerJob::finished: status.php returns:  QMap()   QNetworkReply::NetworkError(NoError)  Reply:  QNetworkReplyHttpImpl(0x2b6a790)
10:25:51.248 OCC::CheckServerJob::finished: No proper answer on  QUrl("http://localhost/~owncloud/status.php")
10:26:23.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
10:26:55.235 OCC::AccountState::checkConnectivity: ConnectionValidator already running, ignoring "owncloud@localhost"
[...]
(cherry picked from commit ff701bd473)
2016-09-21 14:30:36 +02:00
Jenkins for ownCloud 8496817db2 [tx-robot] updated from transifex 2016-09-21 02:18:30 +02:00
Jenkins for ownCloud 3d06f4b7c9 [tx-robot] updated from transifex 2016-09-20 09:12:39 +02:00
Olivier Goffart b228488eb7 Revert "FolderWatcher: Act on relative paths #5116 (#5153)"
This is not sufficient as it is not working for the Socket API.
Next commit will fix it in another layer.

Also, not ignoring paths that are not inside the folder is wrong
as it might still happen if the name has a different casing

This reverts commit d5a481f132.

(cherry picked from commit 904cd46f75)
2016-09-15 16:26:25 +02:00
Markus Goetz b7809ded23 OS X: Try to fix tray menu not updating correctly #5158 (#5177)
I even had this issue long before 2.3 that submenus suddenly disappeared.
Now we refrain from updating while visible.
2016-09-13 14:34:22 +02:00
ckamm dfb121236c Excludes: Consider files in hidden folders excluded #5163 (#5173)
Previously, we only checked the hiddenness of the target file and
ignored the hiddenness of the containing folders. This lead to
undesired behavior when people synced their home folders and there
was a folder watcher notification for a non-hidden file in one of
the hidden folders.

I'm not fully sure why, but sometimes notifications for .foo/bar were
already ignored, but notifications for .foo/bar/car were not. This may
be because of how we set up the FolderWatchers on Linux.

The new behavior is to check all path components for hiddenness, up
until the base path (but excluding the base path, so using a hidden
folder as a sync folder will work).
2016-09-13 14:14:27 +02:00
ckamm f286493c90 Merge pull request #5174 from owncloud/fix5116_2
Better fix for #5116
2016-09-13 10:16:05 +02:00
Olivier Goffart c2cb729fee Folder: Cannonicalize the path
This is important because we compare the paths from the file system watcher if it
starts with this path.
Same in the SocketAPI where we need to use cannonical paths in the REGISTER_PATH command,
as the plugin themself will do this comparison.

Issue #5116
2016-09-12 16:56:59 +02:00
Olivier Goffart 904cd46f75 Revert "FolderWatcher: Act on relative paths #5116 (#5153)"
This is not sufficient as it is not working for the Socket API.
Next commit will fix it in another layer.

Also, not ignoring paths that are not inside the folder is wrong
as it might still happen if the name has a different casing

This reverts commit d5a481f132.
2016-09-12 16:05:55 +02:00
Klaas Freitag 2d110540ee Dolphin Plugin: Use the Application name for the socket path (#5172)
do not hardcode.

This should fix #5165
2016-09-12 14:12:33 +02:00
Markus Goetz 907918dca3 FolderWatcher: Act on relative paths #5116 (#5153)
(cherry picked from commit d5a481f132)
2016-09-12 14:09:13 +02:00
Christian Kamm 5ffaf3a90f Set discovery thread priority to low #5017
(cherry picked from commit bd7ec19644)
2016-09-12 14:09:13 +02:00
Olivier Goffart 1040e7b57b ExcludeFiles: Fix when the folder casing is not the same in the settings and in the FS
If the folder has different case in the settings and in the FS, we should
not ignore all the files. This is important for the files system watcher.

(cherry picked from commit 98268d102f)
2016-09-12 14:09:12 +02:00
Olivier Goffart 65c49e1de6 CleanupPollsJob: Fix possible leak
Missing deleteLater when the CleanupPollsJob aborts.
This is only a problem if the SyncEngine is kept alive a long time. Which is
usually not the case in the configuration where poll jobs are used.

(cherry picked from commit 3465024898)
2016-09-12 14:09:12 +02:00
Christian Kamm 4abaee7736 Recall: Copy instead of move recalled file #5150
That was an unintentional change in
2662203fb7

Also expand the test case to cover this.

(cherry picked from commit af9c4d0e2f)
2016-09-12 14:09:12 +02:00
Markus Goetz 3cdcd8dea0 Selective Sync: Fix request loop and show error in view (#5154)
I got into a situation where the model would endlessly request the directory
contents from the server because we did not notice yet that the server
is actually in maintenance mode while we were expanding the tree view when
changing the tab to the account or when just expanding it by clicking.
(cherry picked from commit 524220d090)
2016-09-12 14:09:12 +02:00
Christian Kamm cb19ebc9e3 ShareLink: Ensure the password line edit is enabled #5117
(cherry picked from commit b541fea793)
2016-09-12 14:09:12 +02:00
Daniel Molkentin 37adaa7872 Update owner to be ownCloud GmbH
Fixes #5079

(cherry picked from commit a83c5598e8)
2016-09-12 14:09:12 +02:00
Christian Kamm 9d93afb2a1 Switch target version of this branch to 2.2.4 2016-09-12 14:07:33 +02:00
Markus Goetz d5a481f132 FolderWatcher: Act on relative paths #5116 (#5153) 2016-09-12 14:03:11 +02:00
Jenkins for ownCloud 7c24ed769e [tx-robot] updated from transifex 2016-09-06 02:18:30 +02:00
Jenkins for ownCloud 65110f7a91 [tx-robot] updated from transifex 2016-09-05 02:18:30 +02:00
Jenkins for ownCloud c33abd468d [tx-robot] updated from transifex 2016-09-04 02:18:30 +02:00
Jenkins for ownCloud 584b205bd5 [tx-robot] updated from transifex 2016-09-03 02:18:31 +02:00
Jenkins for ownCloud b75f50d62c [tx-robot] updated from transifex 2016-09-02 02:18:31 +02:00
Jenkins for ownCloud 14457e93e6 [tx-robot] updated from transifex 2016-09-01 02:18:31 +02:00
Jenkins for ownCloud 9c0ecad420 [tx-robot] updated from transifex 2016-08-31 02:18:30 +02:00
Jenkins for ownCloud 85b5fdb3d3 [tx-robot] updated from transifex 2016-08-30 02:18:35 +02:00
Jenkins for ownCloud f2c6669224 [tx-robot] updated from transifex 2016-08-29 02:18:30 +02:00
Jenkins for ownCloud d8f9bf3a0b [tx-robot] updated from transifex 2016-08-28 02:18:32 +02:00
Jenkins for ownCloud d5fa8faa91 [tx-robot] updated from transifex 2016-08-27 02:18:32 +02:00
Jenkins for ownCloud d1a1b95926 [tx-robot] updated from transifex 2016-08-26 02:18:32 +02:00
Jenkins for ownCloud ee2a67e332 [tx-robot] updated from transifex 2016-08-25 02:18:31 +02:00
121 arquivos alterados com 7013 adições e 4911 exclusões
+8 -1
Ver Arquivo
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.6)
cmake_policy(VERSION 2.8.0) cmake_policy(VERSION 2.8.0)
if(POLICY CMP0020)
cmake_policy(SET CMP0020 NEW)
endif()
project(client) project(client)
@@ -57,7 +60,7 @@ endif()
include(GNUInstallDirs) include(GNUInstallDirs)
include(DefineInstallationPaths) include(DefineInstallationPaths)
include(GenerateExportHeader)
include(GetGitRevisionDescription) include(GetGitRevisionDescription)
@@ -166,6 +169,9 @@ find_package(SQLite3 3.8.0 REQUIRED)
# On some OS, we want to use our own, not the system sqlite # On some OS, we want to use our own, not the system sqlite
if (USE_OUR_OWN_SQLITE3) if (USE_OUR_OWN_SQLITE3)
include_directories(BEFORE ${SQLITE3_INCLUDE_DIR}) include_directories(BEFORE ${SQLITE3_INCLUDE_DIR})
if (WIN32)
add_definitions(-DSQLITE_API=__declspec\(dllimport\))
endif()
endif() endif()
find_package(ZLIB) find_package(ZLIB)
@@ -180,6 +186,7 @@ add_definitions(-DUNICODE)
add_definitions(-D_UNICODE) add_definitions(-D_UNICODE)
if( WIN32 ) if( WIN32 )
add_definitions( -D__USE_MINGW_ANSI_STDIO=1 ) add_definitions( -D__USE_MINGW_ANSI_STDIO=1 )
add_definitions( -DNOMINMAX )
endif( WIN32 ) endif( WIN32 )
# Handle Translations, pick all client_* files from trans directory. # Handle Translations, pick all client_* files from trans directory.
+9
Ver Arquivo
@@ -1,6 +1,15 @@
ChangeLog ChangeLog
========= =========
version 2.2.4 (release 2016-09-27)
* Dolphin Plugin: Use the Application name for the socket path (#5172)
* SyncEngine: Fix renaming of folder when file are changed (#5195)
* Selective Sync: Fix HTTP request loop and show error in view (#5154)
* ConnectionValidator: properly handle error in status.php request (#5188)
* Discovery: Set thread priority to low (#5017)
* ExcludeFiles: Fix when the folder casing is not the same in the settings and in the FS
* ShareLink: Ensure the password line edit is enabled (#5117)
version 2.2.3 (release 2016-08-08) version 2.2.3 (release 2016-08-08)
* SyncEngine: Fix detection of backup (#5104) * SyncEngine: Fix detection of backup (#5104)
* Fix bug with overriding URL in config (#5016) * Fix bug with overriding URL in config (#5016)
+1 -1
Ver Arquivo
@@ -1,5 +1,5 @@
# Auto-generated - do not modify # Auto-generated - do not modify
StrCpy $MUI_FINISHPAGE_SHOWREADME_TEXT_STRING "Toon opmerkingen bij deze uitgave" StrCpy $MUI_FINISHPAGE_SHOWREADME_TEXT_STRING "Toon opmerkingen bij deze versie"
StrCpy $ConfirmEndProcess_MESSAGEBOX_TEXT "Gevonden ${APPLICATION_EXECUTABLE} proces(sen) moet worden gestopt.$\nWilt u dat het installatieprogramma dat voor u doet?" StrCpy $ConfirmEndProcess_MESSAGEBOX_TEXT "Gevonden ${APPLICATION_EXECUTABLE} proces(sen) moet worden gestopt.$\nWilt u dat het installatieprogramma dat voor u doet?"
StrCpy $ConfirmEndProcess_KILLING_PROCESSES_TEXT "Stoppen ${APPLICATION_EXECUTABLE} processen." StrCpy $ConfirmEndProcess_KILLING_PROCESSES_TEXT "Stoppen ${APPLICATION_EXECUTABLE} processen."
StrCpy $ConfirmEndProcess_KILL_NOT_FOUND_TEXT "Het te stoppen proces is niet gevonden!" StrCpy $ConfirmEndProcess_KILL_NOT_FOUND_TEXT "Het te stoppen proces is niet gevonden!"
+1 -1
Ver Arquivo
@@ -2,7 +2,7 @@
StrCpy $MUI_FINISHPAGE_SHOWREADME_TEXT_STRING "Mostrar notas de lançamento" StrCpy $MUI_FINISHPAGE_SHOWREADME_TEXT_STRING "Mostrar notas de lançamento"
StrCpy $ConfirmEndProcess_MESSAGEBOX_TEXT "Encontrados ${APPLICATION_EXECUTABLE} processo(s) em execução que precisa(m) de ser interrompido(s).$\nDeseja que o instalador o(s) termine por si?" StrCpy $ConfirmEndProcess_MESSAGEBOX_TEXT "Encontrados ${APPLICATION_EXECUTABLE} processo(s) em execução que precisa(m) de ser interrompido(s).$\nDeseja que o instalador o(s) termine por si?"
StrCpy $ConfirmEndProcess_KILLING_PROCESSES_TEXT "A terminar os processos de ${APPLICATION_EXECUTABLE}." StrCpy $ConfirmEndProcess_KILLING_PROCESSES_TEXT "A terminar os processos de ${APPLICATION_EXECUTABLE}."
StrCpy $ConfirmEndProcess_KILL_NOT_FOUND_TEXT "Não foi encontrado nenhum processo para terminar!" StrCpy $ConfirmEndProcess_KILL_NOT_FOUND_TEXT "Não foi encontrado o processo para terminar!"
StrCpy $PageReinstall_NEW_Field_1 "Está instalada no sistema uma versão antiga de ${APPLICATION_NAME}. É recomendado que desinstale a versão atual antes de instalar a mais recente. Selecione a operação que deseja executar e clique em $\"Seguinte$\" para continuar." StrCpy $PageReinstall_NEW_Field_1 "Está instalada no sistema uma versão antiga de ${APPLICATION_NAME}. É recomendado que desinstale a versão atual antes de instalar a mais recente. Selecione a operação que deseja executar e clique em $\"Seguinte$\" para continuar."
StrCpy $PageReinstall_NEW_Field_2 "Desinstalar antes de instalar" StrCpy $PageReinstall_NEW_Field_2 "Desinstalar antes de instalar"
StrCpy $PageReinstall_NEW_Field_3 "Não desinstale" StrCpy $PageReinstall_NEW_Field_3 "Não desinstale"
+17 -15
Ver Arquivo
@@ -2,21 +2,23 @@
# Redistribution and use is allowed according to the terms of the BSD license. # Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING* file. # For details see the accompanying COPYING* file.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -Wno-long-long") if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -Wno-long-long")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
if(CMAKE_COMPILER_IS_GNUCXX) if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
OUTPUT_VARIABLE GCC_VERSION) OUTPUT_VARIABLE GCC_VERSION)
if(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8) if(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic")
else(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8) else(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
endif(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
endif(GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8) endif()
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
endif(CMAKE_COMPILER_IS_GNUCXX)
if(DEFINED MIRALL_FATAL_WARNINGS) if(DEFINED MIRALL_FATAL_WARNINGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
endif(DEFINED MIRALL_FATAL_WARNINGS) endif(DEFINED MIRALL_FATAL_WARNINGS)
endif()
+13
Ver Arquivo
@@ -81,6 +81,13 @@ set(csync_HDRS
# Statically include sqlite # Statically include sqlite
if (USE_OUR_OWN_SQLITE3) if (USE_OUR_OWN_SQLITE3)
list(APPEND csync_SRCS ${SQLITE3_SOURCE}) list(APPEND csync_SRCS ${SQLITE3_SOURCE})
if (WIN32)
# We want to export sqlite symbols from the ocsync DLL without
# having to patch both sqlite3.h and the amalgation sqlite3.c,
# so do the import/export magic manually through the build system.
remove_definitions(-DSQLITE_API=__declspec\(dllimport\))
add_definitions(-DSQLITE_API=__declspec\(dllexport\))
endif()
endif() endif()
include_directories( include_directories(
@@ -91,6 +98,12 @@ include_directories(
add_library(${CSYNC_LIBRARY} SHARED ${csync_SRCS}) add_library(${CSYNC_LIBRARY} SHARED ${csync_SRCS})
#add_library(${CSYNC_LIBRARY}_static STATIC ${csync_SRCS}) #add_library(${CSYNC_LIBRARY}_static STATIC ${csync_SRCS})
generate_export_header( ${CSYNC_LIBRARY}
BASE_NAME ${CSYNC_LIBRARY}
EXPORT_MACRO_NAME OCSYNC_EXPORT
EXPORT_FILE_NAME ocsynclib.h
)
target_link_libraries(${CSYNC_LIBRARY} ${CSYNC_LINK_LIBRARIES}) target_link_libraries(${CSYNC_LIBRARY} ${CSYNC_LINK_LIBRARIES})
#target_link_libraries(${CSYNC_LIBRARY}_static ${CSYNC_LINK_LIBRARIES}) #target_link_libraries(${CSYNC_LIBRARY}_static ${CSYNC_LINK_LIBRARIES})
-1
Ver Arquivo
@@ -30,7 +30,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdbool.h> #include <stdbool.h>
+32 -32
Ver Arquivo
@@ -33,10 +33,10 @@
#define _CSYNC_H #define _CSYNC_H
#include "std/c_private.h" #include "std/c_private.h"
#include "ocsynclib.h"
#include <sys/stat.h> #include <sys/stat.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <config_csync.h> #include <config_csync.h>
@@ -229,14 +229,14 @@ struct csync_vio_file_stat_s {
char *original_name; // only set if locale conversion fails char *original_name; // only set if locale conversion fails
}; };
csync_vio_file_stat_t *csync_vio_file_stat_new(void); csync_vio_file_stat_t OCSYNC_EXPORT *csync_vio_file_stat_new(void);
csync_vio_file_stat_t *csync_vio_file_stat_copy(csync_vio_file_stat_t *file_stat); csync_vio_file_stat_t OCSYNC_EXPORT *csync_vio_file_stat_copy(csync_vio_file_stat_t *file_stat);
void csync_vio_file_stat_destroy(csync_vio_file_stat_t *fstat); void OCSYNC_EXPORT csync_vio_file_stat_destroy(csync_vio_file_stat_t *fstat);
void csync_vio_file_stat_set_file_id( csync_vio_file_stat_t* dst, const char* src ); void OCSYNC_EXPORT csync_vio_file_stat_set_file_id( csync_vio_file_stat_t* dst, const char* src );
void csync_vio_set_file_id(char* dst, const char *src ); void OCSYNC_EXPORT csync_vio_set_file_id(char* dst, const char *src );
/** /**
@@ -317,7 +317,7 @@ typedef const char* (*csync_checksum_hook) (
* *
* @param csync The context variable to allocate. * @param csync The context variable to allocate.
*/ */
void csync_create(CSYNC **csync, const char *local, const char *remote); void OCSYNC_EXPORT csync_create(CSYNC **csync, const char *local, const char *remote);
/** /**
* @brief Initialize the file synchronizer. * @brief Initialize the file synchronizer.
@@ -326,7 +326,7 @@ void csync_create(CSYNC **csync, const char *local, const char *remote);
* *
* @param ctx The context to initialize. * @param ctx The context to initialize.
*/ */
void csync_init(CSYNC *ctx); void OCSYNC_EXPORT csync_init(CSYNC *ctx);
/** /**
* @brief Update detection * @brief Update detection
@@ -335,7 +335,7 @@ void csync_init(CSYNC *ctx);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_update(CSYNC *ctx); int OCSYNC_EXPORT csync_update(CSYNC *ctx);
/** /**
* @brief Reconciliation * @brief Reconciliation
@@ -344,7 +344,7 @@ int csync_update(CSYNC *ctx);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_reconcile(CSYNC *ctx); int OCSYNC_EXPORT csync_reconcile(CSYNC *ctx);
/** /**
* @brief Re-initializes the csync context * @brief Re-initializes the csync context
@@ -353,7 +353,7 @@ int csync_reconcile(CSYNC *ctx);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_commit(CSYNC *ctx); int OCSYNC_EXPORT csync_commit(CSYNC *ctx);
/** /**
* @brief Destroy the csync context * @brief Destroy the csync context
@@ -364,7 +364,7 @@ int csync_commit(CSYNC *ctx);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_destroy(CSYNC *ctx); int OCSYNC_EXPORT csync_destroy(CSYNC *ctx);
/** /**
* @brief Get the userdata saved in the context. * @brief Get the userdata saved in the context.
@@ -386,7 +386,7 @@ void *csync_get_userdata(CSYNC *ctx);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_set_userdata(CSYNC *ctx, void *userdata); int OCSYNC_EXPORT csync_set_userdata(CSYNC *ctx, void *userdata);
/** /**
* @brief Get the authentication callback set. * @brief Get the authentication callback set.
@@ -396,7 +396,7 @@ int csync_set_userdata(CSYNC *ctx, void *userdata);
* @return The authentication callback set or NULL if an error * @return The authentication callback set or NULL if an error
* occurred. * occurred.
*/ */
csync_auth_callback csync_get_auth_callback(CSYNC *ctx); csync_auth_callback OCSYNC_EXPORT csync_get_auth_callback(CSYNC *ctx);
/** /**
* @brief Set the authentication callback. * @brief Set the authentication callback.
@@ -407,7 +407,7 @@ csync_auth_callback csync_get_auth_callback(CSYNC *ctx);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_set_auth_callback(CSYNC *ctx, csync_auth_callback cb); int OCSYNC_EXPORT csync_set_auth_callback(CSYNC *ctx, csync_auth_callback cb);
/** /**
* @brief Set the log level. * @brief Set the log level.
@@ -416,14 +416,14 @@ int csync_set_auth_callback(CSYNC *ctx, csync_auth_callback cb);
* *
* @return 0 on success, < 0 if an error occurred. * @return 0 on success, < 0 if an error occurred.
*/ */
int csync_set_log_level(int level); int OCSYNC_EXPORT csync_set_log_level(int level);
/** /**
* @brief Get the log verbosity * @brief Get the log verbosity
* *
* @return The log verbosity, -1 on error. * @return The log verbosity, -1 on error.
*/ */
int csync_get_log_level(void); int OCSYNC_EXPORT csync_get_log_level(void);
/** /**
* @brief Get the logging callback set. * @brief Get the logging callback set.
@@ -431,7 +431,7 @@ int csync_get_log_level(void);
* @return The logging callback set or NULL if an error * @return The logging callback set or NULL if an error
* occurred. * occurred.
*/ */
csync_log_callback csync_get_log_callback(void); csync_log_callback OCSYNC_EXPORT csync_get_log_callback(void);
/** /**
* @brief Set the logging callback. * @brief Set the logging callback.
@@ -440,14 +440,14 @@ csync_log_callback csync_get_log_callback(void);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_set_log_callback(csync_log_callback cb); int OCSYNC_EXPORT csync_set_log_callback(csync_log_callback cb);
/** /**
* @brief get the userdata set for the logging callback. * @brief get the userdata set for the logging callback.
* *
* @return The userdata or NULL. * @return The userdata or NULL.
*/ */
void *csync_get_log_userdata(void); void OCSYNC_EXPORT *csync_get_log_userdata(void);
/** /**
* @brief Set the userdata passed to the logging callback. * @brief Set the userdata passed to the logging callback.
@@ -456,13 +456,13 @@ void *csync_get_log_userdata(void);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_set_log_userdata(void *data); int OCSYNC_EXPORT csync_set_log_userdata(void *data);
/* Used for special modes or debugging */ /* Used for special modes or debugging */
CSYNC_STATUS csync_get_status(CSYNC *ctx); CSYNC_STATUS OCSYNC_EXPORT csync_get_status(CSYNC *ctx);
/* Used for special modes or debugging */ /* Used for special modes or debugging */
int csync_set_status(CSYNC *ctx, int status); int OCSYNC_EXPORT csync_set_status(CSYNC *ctx, int status);
typedef int csync_treewalk_visit_func(TREE_WALK_FILE* ,void*); typedef int csync_treewalk_visit_func(TREE_WALK_FILE* ,void*);
@@ -475,7 +475,7 @@ typedef int csync_treewalk_visit_func(TREE_WALK_FILE* ,void*);
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_walk_local_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int filter); int OCSYNC_EXPORT csync_walk_local_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int filter);
/** /**
* @brief Walk the remote file tree and call a visitor function for each file. * @brief Walk the remote file tree and call a visitor function for each file.
@@ -486,7 +486,7 @@ int csync_walk_local_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int fi
* *
* @return 0 on success, less than 0 if an error occurred. * @return 0 on success, less than 0 if an error occurred.
*/ */
int csync_walk_remote_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int filter); int OCSYNC_EXPORT csync_walk_remote_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int filter);
/** /**
* @brief Get the csync status string. * @brief Get the csync status string.
@@ -495,7 +495,7 @@ int csync_walk_remote_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int f
* *
* @return A const pointer to a string with more precise status info. * @return A const pointer to a string with more precise status info.
*/ */
const char *csync_get_status_string(CSYNC *ctx); const char OCSYNC_EXPORT *csync_get_status_string(CSYNC *ctx);
#ifdef WITH_ICONV #ifdef WITH_ICONV
/** /**
@@ -505,7 +505,7 @@ const char *csync_get_status_string(CSYNC *ctx);
* *
* @return 0 on success, or an iconv error number. * @return 0 on success, or an iconv error number.
*/ */
int csync_set_iconv_codec(const char *from); int OCSYNC_EXPORT csync_set_iconv_codec(const char *from);
#endif #endif
/** /**
@@ -513,24 +513,24 @@ int csync_set_iconv_codec(const char *from);
* *
* @param ctx The csync context. * @param ctx The csync context.
*/ */
void csync_request_abort(CSYNC *ctx); void OCSYNC_EXPORT csync_request_abort(CSYNC *ctx);
/** /**
* @brief Clears the abort flag. Can be called from another thread. * @brief Clears the abort flag. Can be called from another thread.
* *
* @param ctx The csync context. * @param ctx The csync context.
*/ */
void csync_resume(CSYNC *ctx); void OCSYNC_EXPORT csync_resume(CSYNC *ctx);
/** /**
* @brief Checks for the abort flag, to be used from the modules. * @brief Checks for the abort flag, to be used from the modules.
* *
* @param ctx The csync context. * @param ctx The csync context.
*/ */
int csync_abort_requested(CSYNC *ctx); int OCSYNC_EXPORT csync_abort_requested(CSYNC *ctx);
char *csync_normalize_etag(const char *); char OCSYNC_EXPORT *csync_normalize_etag(const char *);
time_t oc_httpdate_parse( const char *date ); time_t OCSYNC_EXPORT oc_httpdate_parse( const char *date );
#ifdef __cplusplus #ifdef __cplusplus
} }
+6 -1
Ver Arquivo
@@ -28,7 +28,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h>
#include "c_lib.h" #include "c_lib.h"
#include "c_private.h" #include "c_private.h"
@@ -37,6 +36,12 @@
#include "csync_exclude.h" #include "csync_exclude.h"
#include "csync_misc.h" #include "csync_misc.h"
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
#define CSYNC_LOG_CATEGORY_NAME "csync.exclude" #define CSYNC_LOG_CATEGORY_NAME "csync.exclude"
#include "csync_log.h" #include "csync_log.h"
+5 -3
Ver Arquivo
@@ -21,6 +21,8 @@
#ifndef _CSYNC_EXCLUDE_H #ifndef _CSYNC_EXCLUDE_H
#define _CSYNC_EXCLUDE_H #define _CSYNC_EXCLUDE_H
#include "ocsynclib.h"
enum csync_exclude_type_e { enum csync_exclude_type_e {
CSYNC_NOT_EXCLUDED = 0, CSYNC_NOT_EXCLUDED = 0,
CSYNC_FILE_SILENTLY_EXCLUDED, CSYNC_FILE_SILENTLY_EXCLUDED,
@@ -35,7 +37,7 @@ enum csync_exclude_type_e {
typedef enum csync_exclude_type_e CSYNC_EXCLUDE_TYPE; typedef enum csync_exclude_type_e CSYNC_EXCLUDE_TYPE;
#ifdef WITH_UNIT_TESTING #ifdef WITH_UNIT_TESTING
int _csync_exclude_add(c_strlist_t **inList, const char *string); int OCSYNC_EXPORT _csync_exclude_add(c_strlist_t **inList, const char *string);
#endif #endif
/** /**
@@ -46,7 +48,7 @@ int _csync_exclude_add(c_strlist_t **inList, const char *string);
* *
* @return 0 on success, -1 if an error occurred with errno set. * @return 0 on success, -1 if an error occurred with errno set.
*/ */
int csync_exclude_load(const char *fname, c_strlist_t **list); int OCSYNC_EXPORT csync_exclude_load(const char *fname, c_strlist_t **list);
/** /**
* @brief Check if the given path should be excluded in a traversal situation. * @brief Check if the given path should be excluded in a traversal situation.
@@ -72,7 +74,7 @@ CSYNC_EXCLUDE_TYPE csync_excluded_traversal(c_strlist_t *excludes, const char *p
* @param filetype * @param filetype
* @return * @return
*/ */
CSYNC_EXCLUDE_TYPE csync_excluded_no_ctx(c_strlist_t *excludes, const char *path, int filetype); CSYNC_EXCLUDE_TYPE OCSYNC_EXPORT csync_excluded_no_ctx(c_strlist_t *excludes, const char *path, int filetype);
#endif /* _CSYNC_EXCLUDE_H */ #endif /* _CSYNC_EXCLUDE_H */
/** /**
+1 -42
Ver Arquivo
@@ -23,12 +23,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#ifndef _WIN32
#include <sys/time.h>
#else
#include <sys/utime.h>
#endif
#include <time.h>
#include "csync_private.h" #include "csync_private.h"
#include "csync_log.h" #include "csync_log.h"
@@ -37,46 +31,11 @@ CSYNC_THREAD int csync_log_level;
CSYNC_THREAD csync_log_callback csync_log_cb; CSYNC_THREAD csync_log_callback csync_log_cb;
CSYNC_THREAD void *csync_log_userdata; CSYNC_THREAD void *csync_log_userdata;
static int current_timestring(int hires, char *buf, size_t len)
{
char tbuf[64];
struct timeval tv;
struct tm *tm;
time_t t;
gettimeofday(&tv, NULL);
t = (time_t) tv.tv_sec;
tm = localtime(&t);
if (tm == NULL) {
return -1;
}
if (hires) {
strftime(tbuf, sizeof(tbuf) - 1, "%Y/%m/%d %H:%M:%S", tm);
snprintf(buf, len, "%s.%06ld", tbuf, (long) tv.tv_usec);
} else {
strftime(tbuf, sizeof(tbuf) - 1, "%Y/%m/%d %H:%M:%S", tm);
snprintf(buf, len, "%s", tbuf);
}
return 0;
}
static void csync_log_stderr(int verbosity, static void csync_log_stderr(int verbosity,
const char *function, const char *function,
const char *buffer) const char *buffer)
{ {
char date[64] = {0}; fprintf(stderr, "[%d] %s", verbosity, function);
int rc;
rc = current_timestring(1, date, sizeof(date));
if (rc == 0) {
fprintf(stderr, "[%s, %d] %s:", date+5, verbosity, function);
} else {
fprintf(stderr, "[%d] %s", verbosity, function);
}
fprintf(stderr, " %s\n", buffer); fprintf(stderr, " %s\n", buffer);
} }
static void csync_log_function(int verbosity, static void csync_log_function(int verbosity,
-1
Ver Arquivo
@@ -39,7 +39,6 @@
# include <shlobj.h> # include <shlobj.h>
#else /* _WIN32 */ #else /* _WIN32 */
# include <pwd.h> # include <pwd.h>
# include <unistd.h>
#endif /* _WIN32 */ #endif /* _WIN32 */
#include "c_lib.h" #include "c_lib.h"
+1 -1
Ver Arquivo
@@ -36,7 +36,7 @@
#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ #define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */
#endif #endif
int csync_fnmatch(__const char *__pattern, __const char *__name, int __flags); int csync_fnmatch(const char *pattern, const char *name, int flags);
/** /**
* @brief csync_errno_to_status - errno to csync status code * @brief csync_errno_to_status - errno to csync status code
-3
Ver Arquivo
@@ -224,9 +224,6 @@ struct _csync_treewalk_context_s
}; };
typedef struct _csync_treewalk_context_s _csync_treewalk_context; typedef struct _csync_treewalk_context_s _csync_treewalk_context;
time_t oc_httpdate_parse( const char *date );
void set_errno_from_http_errcode( int err ); void set_errno_from_http_errcode( int err );
/** /**
+1 -1
Ver Arquivo
@@ -50,7 +50,7 @@
* *
* @todo Add an argument to set the algorithm to use. * @todo Add an argument to set the algorithm to use.
*/ */
int csync_reconcile_updates(CSYNC *ctx); int OCSYNC_EXPORT csync_reconcile_updates(CSYNC *ctx);
/** /**
* }@ * }@
+5
Ver Arquivo
@@ -20,6 +20,7 @@
extern "C" { extern "C" {
#include "csync_private.h" #include "csync_private.h"
#include "csync_rename.h"
} }
#include <map> #include <map>
@@ -93,5 +94,9 @@ char* csync_rename_adjust_path_source(CSYNC* ctx, const char* path)
return c_strdup(path); return c_strdup(path);
} }
bool csync_rename_count(CSYNC *ctx) {
csync_rename_s* d = csync_rename_s::get(ctx);
return d->folder_renamed_from.size();
}
} }
+6 -4
Ver Arquivo
@@ -27,11 +27,13 @@ extern "C" {
#endif #endif
/* Return the final destination path of a given patch in case of renames */ /* Return the final destination path of a given patch in case of renames */
char *csync_rename_adjust_path(CSYNC *ctx, const char *path); char OCSYNC_EXPORT *csync_rename_adjust_path(CSYNC *ctx, const char *path);
/* Return the source of a given path in case of renames */ /* Return the source of a given path in case of renames */
char *csync_rename_adjust_path_source(CSYNC *ctx, const char *path); char OCSYNC_EXPORT *csync_rename_adjust_path_source(CSYNC *ctx, const char *path);
void csync_rename_destroy(CSYNC *ctx); void OCSYNC_EXPORT csync_rename_destroy(CSYNC *ctx);
void csync_rename_record(CSYNC *ctx, const char *from, const char *to); void OCSYNC_EXPORT csync_rename_record(CSYNC *ctx, const char *from, const char *to);
/* Return the amount of renamed item recorded */
bool OCSYNC_EXPORT csync_rename_count(CSYNC *ctx);
#ifdef __cplusplus #ifdef __cplusplus
} }
+4 -7
Ver Arquivo
@@ -27,7 +27,6 @@
#include <sqlite3.h> #include <sqlite3.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
@@ -53,7 +52,7 @@
#define sqlite_open(A, B) sqlite3_open_v2(A,B, SQLITE_OPEN_READONLY+SQLITE_OPEN_NOMUTEX, NULL) #define sqlite_open(A, B) sqlite3_open_v2(A,B, SQLITE_OPEN_READONLY+SQLITE_OPEN_NOMUTEX, NULL)
#define SQLTM_TIME 150000 #define SQLTM_TIME 150
#define SQLTM_COUNT 10 #define SQLTM_COUNT 10
#define SQLITE_BUSY_HANDLED(F) if(1) { \ #define SQLITE_BUSY_HANDLED(F) if(1) { \
@@ -61,7 +60,7 @@
do { rc = F ; \ do { rc = F ; \
if( (rc == SQLITE_BUSY) || (rc == SQLITE_LOCKED) ) { \ if( (rc == SQLITE_BUSY) || (rc == SQLITE_LOCKED) ) { \
n++; \ n++; \
usleep(SQLTM_TIME); \ csync_sleep(SQLTM_TIME); \
} \ } \
}while( (n < SQLTM_COUNT) && ((rc == SQLITE_BUSY) || (rc == SQLITE_LOCKED))); \ }while( (n < SQLTM_COUNT) && ((rc == SQLITE_BUSY) || (rc == SQLITE_LOCKED))); \
} }
@@ -519,8 +518,7 @@ c_strlist_t *csync_statedb_query(sqlite3 *db,
/* compile SQL program into a virtual machine, reattempteing if busy */ /* compile SQL program into a virtual machine, reattempteing if busy */
do { do {
if (busy_count) { if (busy_count) {
/* sleep 100 msec */ csync_sleep(100);
usleep(100000);
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "sqlite3_prepare: BUSY counter: %zu", busy_count); CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "sqlite3_prepare: BUSY counter: %zu", busy_count);
} }
err = sqlite3_prepare(db, statement, -1, &stmt, &tail); err = sqlite3_prepare(db, statement, -1, &stmt, &tail);
@@ -547,8 +545,7 @@ c_strlist_t *csync_statedb_query(sqlite3 *db,
CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "Busy counter has reached its maximum. Aborting this sql statement"); CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "Busy counter has reached its maximum. Aborting this sql statement");
break; break;
} }
/* sleep 100 msec */ csync_sleep(100);
usleep(100000);
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "sqlite3_step: BUSY counter: %zu", busy_count); CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "sqlite3_step: BUSY counter: %zu", busy_count);
continue; continue;
} }
+20 -2
Ver Arquivo
@@ -31,6 +31,11 @@
#include "csync_time.h" #include "csync_time.h"
#include "vio/csync_vio.h" #include "vio/csync_vio.h"
#ifndef _WIN32
#include <unistd.h>
#include <sys/time.h>
#endif
#define CSYNC_LOG_CATEGORY_NAME "csync.time" #define CSYNC_LOG_CATEGORY_NAME "csync.time"
#include "csync_log.h" #include "csync_log.h"
@@ -45,7 +50,13 @@
int csync_gettime(struct timespec *tp) int csync_gettime(struct timespec *tp)
{ {
#ifdef HAVE_CLOCK_GETTIME #if defined(_WIN32)
__int64 wintime;
GetSystemTimeAsFileTime((FILETIME*)&wintime);
wintime -= 116444736000000000ll; //1jan1601 to 1jan1970
tp->tv_sec = wintime / 10000000ll; //seconds
tp->tv_nsec = wintime % 10000000ll * 100; //nano-seconds
#elif defined(HAVE_CLOCK_GETTIME)
return clock_gettime(CSYNC_CLOCK, tp); return clock_gettime(CSYNC_CLOCK, tp);
#else #else
struct timeval tv; struct timeval tv;
@@ -62,4 +73,11 @@ int csync_gettime(struct timespec *tp)
#undef CSYNC_CLOCK #undef CSYNC_CLOCK
/* vim: set ts=8 sw=2 et cindent: */ void csync_sleep(unsigned int msecs)
{
#if defined(_WIN32)
Sleep(msecs);
#else
usleep(msecs * 1000);
#endif
}
+1
Ver Arquivo
@@ -26,5 +26,6 @@
#include "csync_private.h" #include "csync_private.h"
int csync_gettime(struct timespec *tp); int csync_gettime(struct timespec *tp);
void csync_sleep(unsigned int msecs);
#endif /* _CSYNC_TIME_H */ #endif /* _CSYNC_TIME_H */
+3 -3
Ver Arquivo
@@ -26,9 +26,9 @@
#include "csync_private.h" #include "csync_private.h"
const char *csync_instruction_str(enum csync_instructions_e instr); const char OCSYNC_EXPORT *csync_instruction_str(enum csync_instructions_e instr);
void csync_memstat_check(void); void OCSYNC_EXPORT csync_memstat_check(void);
bool csync_file_locked_or_open( const char *dir, const char *fname); bool OCSYNC_EXPORT csync_file_locked_or_open( const char *dir, const char *fname);
#endif /* _CSYNC_UTIL_H */ #endif /* _CSYNC_UTIL_H */
+6
Ver Arquivo
@@ -26,6 +26,12 @@ set(cstdlib_SRCS
c_time.c c_time.c
) )
if(NOT HAVE_ASPRINTF AND NOT HAVE___MINGW_ASPRINTF)
list(APPEND cstdlib_SRCS
asprintf.c
)
endif()
include_directories( include_directories(
${CSTDLIB_PUBLIC_INCLUDE_DIRS} ${CSTDLIB_PUBLIC_INCLUDE_DIRS}
${CSTDLIB_PRIVATE_INCLUDE_DIRS} ${CSTDLIB_PRIVATE_INCLUDE_DIRS}
+90
Ver Arquivo
@@ -0,0 +1,90 @@
/*
https://raw.githubusercontent.com/littlstar/asprintf.c/20ce5207a4ecb24017b5a17e6cd7d006e3047146/asprintf.c
The MIT License (MIT)
Copyright (c) 2014 Little Star Media, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/**
* `asprintf.c' - asprintf
*
* copyright (c) 2014 joseph werle <joseph.werle@gmail.com>
*/
#ifndef HAVE_ASPRINTF
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include "asprintf.h"
int
asprintf (char **str, const char *fmt, ...) {
int size = 0;
va_list args;
// init variadic argumens
va_start(args, fmt);
// format and get size
size = vasprintf(str, fmt, args);
// toss args
va_end(args);
return size;
}
int
vasprintf (char **str, const char *fmt, va_list args) {
int size = 0;
va_list tmpa;
// copy
va_copy(tmpa, args);
// apply variadic arguments to
// sprintf with format to get size
size = vsnprintf(NULL, size, fmt, tmpa);
// toss args
va_end(tmpa);
// return -1 to be compliant if
// size is less than 0
if (size < 0) { return -1; }
// alloc with size plus 1 for `\0'
*str = (char *) malloc(size + 1);
// return -1 to be compliant
// if pointer is `NULL'
if (NULL == *str) { return -1; }
// format string with original
// variadic arguments and set new size
size = vsprintf(*str, fmt, args);
return size;
}
#endif
+60
Ver Arquivo
@@ -0,0 +1,60 @@
/*
https://raw.githubusercontent.com/littlstar/asprintf.c/20ce5207a4ecb24017b5a17e6cd7d006e3047146/asprintf.h
The MIT License (MIT)
Copyright (c) 2014 Little Star Media, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/**
* `asprintf.h' - asprintf.c
*
* copyright (c) 2014 joseph werle <joseph.werle@gmail.com>
*/
#ifndef HAVE_ASPRINTF
#ifndef ASPRINTF_H
#define ASPRINTF_H 1
#include <stdarg.h>
/**
* Sets `char **' pointer to be a buffer
* large enough to hold the formatted string
* accepting a `va_list' args of variadic
* arguments.
*/
int
vasprintf (char **, const char *, va_list);
/**
* Sets `char **' pointer to be a buffer
* large enough to hold the formatted
* string accepting `n' arguments of
* variadic arguments.
*/
int
asprintf (char **, const char *, ...);
#endif
#endif
+11 -2
Ver Arquivo
@@ -31,14 +31,17 @@
#include <sys/stat.h> #include <sys/stat.h>
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h>
#include <windef.h> #include <windef.h>
#include <winbase.h> #include <winbase.h>
#include <wchar.h> #include <wchar.h>
#else
#include <unistd.h>
#endif #endif
#include <errno.h> #include <errno.h>
#ifdef _WIN32 #ifdef __MINGW32__
#define EDQUOT 0 #define EDQUOT 0
#define ENODATA 0 #define ENODATA 0
#ifndef S_IRGRP #ifndef S_IRGRP
@@ -65,6 +68,8 @@
#define nlink_t int #define nlink_t int
#define getuid() 0 #define getuid() 0
#define geteuid() 0 #define geteuid() 0
#elif defined(_WIN32)
#define mode_t int
#else #else
#include <fcntl.h> #include <fcntl.h>
#endif #endif
@@ -89,8 +94,12 @@ typedef struct stat csync_stat_t;
#define ENODATA EBADF #define ENODATA EBADF
#endif #endif
#if !defined(HAVE_ASPRINTF) && defined(HAVE___MINGW_ASPRINTF) #if !defined(HAVE_ASPRINTF)
#if defined(HAVE___MINGW_ASPRINTF)
#define asprintf __mingw_asprintf #define asprintf __mingw_asprintf
#else
#include "asprintf.h"
#endif
#endif #endif
#ifndef HAVE_STRERROR_R #ifndef HAVE_STRERROR_R
+4
Ver Arquivo
@@ -25,6 +25,10 @@
#include "c_path.h" #include "c_path.h"
#include "c_time.h" #include "c_time.h"
#ifndef _WIN32
#include <sys/time.h>
#endif
struct timespec c_tspecdiff(struct timespec time1, struct timespec time0) { struct timespec c_tspecdiff(struct timespec time1, struct timespec time0) {
struct timespec ret; struct timespec ret;
int xsec = 0; int xsec = 0;
-1
Ver Arquivo
@@ -22,7 +22,6 @@
#define _C_TIME_H #define _C_TIME_H
#include <time.h> #include <time.h>
#include <sys/time.h>
/** /**
* @brief Calculate time difference * @brief Calculate time difference
+4 -6
Ver Arquivo
@@ -21,12 +21,10 @@
#ifndef _CSYNC_VIO_LOCAL_H #ifndef _CSYNC_VIO_LOCAL_H
#define _CSYNC_VIO_LOCAL_H #define _CSYNC_VIO_LOCAL_H
#include <sys/time.h> csync_vio_handle_t OCSYNC_EXPORT *csync_vio_local_opendir(const char *name);
int OCSYNC_EXPORT csync_vio_local_closedir(csync_vio_handle_t *dhandle);
csync_vio_file_stat_t OCSYNC_EXPORT *csync_vio_local_readdir(csync_vio_handle_t *dhandle);
csync_vio_handle_t *csync_vio_local_opendir(const char *name); int OCSYNC_EXPORT csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf);
int csync_vio_local_closedir(csync_vio_handle_t *dhandle);
csync_vio_file_stat_t *csync_vio_local_readdir(csync_vio_handle_t *dhandle);
int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf);
#endif /* _CSYNC_VIO_LOCAL_H */ #endif /* _CSYNC_VIO_LOCAL_H */
-1
Ver Arquivo
@@ -23,7 +23,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <dirent.h>
#include <stdio.h> #include <stdio.h>
#include "windows.h" #include "windows.h"
@@ -20,6 +20,7 @@
#include "config_csync.h" #include "config_csync.h"
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <sys/time.h>
#include "torture.h" #include "torture.h"
-1
Ver Arquivo
@@ -19,7 +19,6 @@
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h>
#include "torture.h" #include "torture.h"
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <string.h> #include <string.h>
#include <unistd.h>
#include "torture.h" #include "torture.h"
+6
Ver Arquivo
@@ -56,6 +56,8 @@ assertLocalAndRemoteDir( '', 0);
printInfo( "Testing with a .sys.admin#recall#" ); printInfo( "Testing with a .sys.admin#recall#" );
system("echo 'dir/file2.dat' > ". $tmpdir . ".sys.admin\#recall\#"); system("echo 'dir/file2.dat' > ". $tmpdir . ".sys.admin\#recall\#");
system("echo 'dir/file3.dat' >> ". $tmpdir . ".sys.admin\#recall\#"); system("echo 'dir/file3.dat' >> ". $tmpdir . ".sys.admin\#recall\#");
system("echo 'nonexistant' >> ". $tmpdir . ".sys.admin\#recall\#");
system("echo '/tmp/t_recall/file4.dat' >> ". $tmpdir . ".sys.admin\#recall\#");
glob_put( "$tmpdir/.sys.admin\#recall\#", "" ); glob_put( "$tmpdir/.sys.admin\#recall\#", "" );
csync(); csync();
@@ -68,6 +70,10 @@ assert( -e glob(localDir().'dir/file3_.sys.admin#recall#-*.dat' ) );
assert( -e glob(localDir().'dir/file2.dat' ) ); assert( -e glob(localDir().'dir/file2.dat' ) );
assert( -e glob(localDir().'dir/file3.dat' ) ); assert( -e glob(localDir().'dir/file3.dat' ) );
assert( !-e glob(localDir().'nonexistant*' ) );
assert( !-e glob('/tmp/t_recall/file4_.sys.admin#recall#-*.dat' ) );
assert( -e glob('/tmp/t_recall/file4.dat' ) );
#Remove the recall file #Remove the recall file
unlink(localDir() . ".sys.admin#recall#"); unlink(localDir() . ".sys.admin#recall#");
-1
Ver Arquivo
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <string.h> #include <string.h>
#include <unistd.h>
#include "torture.h" #include "torture.h"
-1
Ver Arquivo
@@ -22,7 +22,6 @@
#include <fcntl.h> #include <fcntl.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <unistd.h>
#include "torture.h" #include "torture.h"
-1
Ver Arquivo
@@ -22,7 +22,6 @@
#include <fcntl.h> #include <fcntl.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include "torture.h" #include "torture.h"
-6
Ver Arquivo
@@ -199,12 +199,6 @@ the database by comparing the files and their modification times. This process
ensures that both server and client are synchronized using the appropriate NTP ensures that both server and client are synchronized using the appropriate NTP
time before restarting the client following a database removal. time before restarting the client following a database removal.
Pressing ``F5`` while in the Account Settings Dialog enables you to "reset" the
journal. This function can be used to recreate the journal database.
.. note:: We recommend that you use this function only when advised to do so by
ownCloud support staff.
Custom WebDAV Properties Custom WebDAV Properties
------------------------ ------------------------
+63
Ver Arquivo
@@ -292,6 +292,69 @@ X-GNOME-Autostart-Delay=3
# Translations # Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations
# Translations # Translations
Comment[oc]=@APPLICATION_NAME@ sincronizacion del client Comment[oc]=@APPLICATION_NAME@ sincronizacion del client
GenericName[oc]=Dorsièr de Sincronizacion GenericName[oc]=Dorsièr de Sincronizacion
@@ -21,6 +21,7 @@
#include <qcoreevent.h> #include <qcoreevent.h>
#include <QFile> #include <QFile>
#include "ownclouddolphinpluginhelper.h" #include "ownclouddolphinpluginhelper.h"
#include "config.h"
OwncloudDolphinPluginHelper* OwncloudDolphinPluginHelper::instance() OwncloudDolphinPluginHelper* OwncloudDolphinPluginHelper::instance()
{ {
@@ -67,7 +68,10 @@ void OwncloudDolphinPluginHelper::tryConnect()
return; return;
} }
QString runtimeDir = QFile::decodeName(qgetenv("XDG_RUNTIME_DIR")); QString runtimeDir = QFile::decodeName(qgetenv("XDG_RUNTIME_DIR"));
QString socketPath = runtimeDir + QLatin1String("/ownCloud/socket"); runtimeDir.append( QChar('/'));
runtimeDir.append( QLatin1String(APPLICATION_SHORTNAME) );
const QString socketPath = runtimeDir + QLatin1String("/socket");
_socket.connectToServer(socketPath); _socket.connectToServer(socketPath);
} }
+2 -2
Ver Arquivo
@@ -19,8 +19,8 @@ if( UNIX AND NOT APPLE )
ERROR_VARIABLE errors OUTPUT_VARIABLE out) ERROR_VARIABLE errors OUTPUT_VARIABLE out)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate.py DESTINATION ${DATADIR}/nautilus-python/extensions) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate.py DESTINATION ${DATADIR}/nautilus-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate_nemo.py DESTINATION ${DATADIR}/nemo-python/extensions RENAME syncstate.py) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/syncstate_nemo.py DESTINATION ${DATADIR}/nemo-python/extensions RENAME syncstate-${APPLICATION_SHORTNAME}.py)
+3732 -2679
Ver Arquivo
Diferenças do arquivo suprimidas por serem muito extensas Carregar Diff
+421 -267
Ver Arquivo
Diferenças do arquivo suprimidas por serem muito extensas Carregar Diff
+9 -1
Ver Arquivo
@@ -42,10 +42,14 @@
#include <windows.h> #include <windows.h>
#else #else
#include <termios.h> #include <termios.h>
#include <unistd.h>
#endif #endif
using namespace OCC; using namespace OCC;
static void nullMessageHandler(QtMsgType, const char *) {}
struct CmdOptions { struct CmdOptions {
QString source_dir; QString source_dir;
QString target_url; QString target_url;
@@ -298,6 +302,11 @@ int main(int argc, char **argv) {
parseOptions( app.arguments(), &options ); parseOptions( app.arguments(), &options );
csync_set_log_level(options.silent ? 1 : 11);
if (options.silent) {
qInstallMsgHandler(nullMessageHandler);
}
AccountPtr account = Account::create(); AccountPtr account = Account::create();
if( !account ) { if( !account ) {
@@ -414,7 +423,6 @@ int main(int argc, char **argv) {
int restartCount = 0; int restartCount = 0;
restart_sync: restart_sync:
csync_set_log_level(options.silent ? 1 : 11);
opts = &options; opts = &options;
+1 -1
Ver Arquivo
@@ -70,9 +70,9 @@ set(client_SRCS
activityitemdelegate.cpp activityitemdelegate.cpp
selectivesyncdialog.cpp selectivesyncdialog.cpp
settingsdialog.cpp settingsdialog.cpp
share.cpp
sharedialog.cpp sharedialog.cpp
sharelinkwidget.cpp sharelinkwidget.cpp
sharemanager.cpp
shareusergroupwidget.cpp shareusergroupwidget.cpp
sharee.cpp sharee.cpp
socketapi.cpp socketapi.cpp
+8 -1
Ver Arquivo
@@ -209,6 +209,13 @@ void AccountManager::saveAccountHelper(Account* acc, QSettings& settings, bool s
AccountPtr AccountManager::loadAccountHelper(QSettings& settings) AccountPtr AccountManager::loadAccountHelper(QSettings& settings)
{ {
auto urlConfig = settings.value(QLatin1String(urlC));
if (!urlConfig.isValid()) {
// No URL probably means a corrupted entry in the account settings
qDebug() << "No URL for account " << settings.group();
return AccountPtr();
}
auto acc = createAccount(); auto acc = createAccount();
QString authType = settings.value(QLatin1String(authTypeC)).toString(); QString authType = settings.value(QLatin1String(authTypeC)).toString();
@@ -220,7 +227,7 @@ AccountPtr AccountManager::loadAccountHelper(QSettings& settings)
acc->setUrl(overrideUrl); acc->setUrl(overrideUrl);
authType = forceAuth; authType = forceAuth;
} else { } else {
acc->setUrl(settings.value(QLatin1String(urlC)).toUrl()); acc->setUrl(urlConfig.toUrl());
} }
acc->_serverVersion = settings.value(QLatin1String(serverVersionC)).toString(); acc->_serverVersion = settings.value(QLatin1String(serverVersionC)).toString();
+8 -3
Ver Arquivo
@@ -117,6 +117,10 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) :
connect(ui->selectiveSyncApply, SIGNAL(clicked()), _model, SLOT(slotApplySelectiveSync())); connect(ui->selectiveSyncApply, SIGNAL(clicked()), _model, SLOT(slotApplySelectiveSync()));
connect(ui->selectiveSyncCancel, SIGNAL(clicked()), _model, SLOT(resetFolders())); connect(ui->selectiveSyncCancel, SIGNAL(clicked()), _model, SLOT(resetFolders()));
connect(ui->bigFolderApply, SIGNAL(clicked(bool)), _model, SLOT(slotApplySelectiveSync()));
connect(ui->bigFolderSyncAll, SIGNAL(clicked(bool)), _model, SLOT(slotSyncAllPendingBigFolders()));
connect(ui->bigFolderSyncNone, SIGNAL(clicked(bool)), _model, SLOT(slotSyncNoPendingBigFolders()));
connect(FolderMan::instance(), SIGNAL(folderListChanged(Folder::Map)), _model, SLOT(resetFolders())); connect(FolderMan::instance(), SIGNAL(folderListChanged(Folder::Map)), _model, SLOT(resetFolders()));
connect(this, SIGNAL(folderChanged()), _model, SLOT(resetFolders())); connect(this, SIGNAL(folderChanged()), _model, SLOT(resetFolders()));
@@ -635,12 +639,13 @@ void AccountSettings::refreshSelectiveSyncStatus()
} }
if (msg.isEmpty()) { if (msg.isEmpty()) {
ui->selectiveSyncNotification->setVisible(false); ui->selectiveSyncButtons->setVisible(true);
ui->selectiveSyncNotification->setText(QString()); ui->bigFolderUi->setVisible(false);
} else { } else {
ui->selectiveSyncNotification->setVisible(true);
QString wholeMsg = tr("There are new folders that were not synchronized because they are too big: ") + msg; QString wholeMsg = tr("There are new folders that were not synchronized because they are too big: ") + msg;
ui->selectiveSyncNotification->setText(wholeMsg); ui->selectiveSyncNotification->setText(wholeMsg);
ui->selectiveSyncButtons->setVisible(false);
ui->bigFolderUi->setVisible(true);
shouldBeVisible = true; shouldBeVisible = true;
} }
+94 -33
Ver Arquivo
@@ -154,44 +154,105 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="selectiveSyncNotification"> <widget class="QWidget" name="bigFolderUi" native="true">
<property name="styleSheet"> <layout class="QVBoxLayout" name="verticalLayout">
<string notr="true">color: red</string> <property name="leftMargin">
</property> <number>0</number>
<property name="text"> </property>
<string/> <property name="topMargin">
</property> <number>0</number>
<property name="wordWrap"> </property>
<bool>true</bool> <property name="rightMargin">
</property> <number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="selectiveSyncNotification">
<property name="styleSheet">
<string notr="true">color: red</string>
</property>
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="bigFolderSyncAll">
<property name="text">
<string>Synchronize all</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bigFolderSyncNone">
<property name="text">
<string>Synchronize none</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bigFolderApply">
<property name="text">
<string>Apply manual changes</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QPushButton" name="selectiveSyncCancel"> <widget class="QWidget" name="selectiveSyncButtons" native="true">
<property name="sizePolicy"> <layout class="QHBoxLayout" name="horizontalLayout">
<sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <property name="leftMargin">
<horstretch>0</horstretch> <number>0</number>
<verstretch>0</verstretch> </property>
</sizepolicy> <property name="topMargin">
</property> <number>0</number>
<property name="text"> </property>
<string>Cancel</string> <property name="rightMargin">
</property> <number>0</number>
</widget> </property>
</item> <property name="bottomMargin">
<item> <number>0</number>
<widget class="QPushButton" name="selectiveSyncApply"> </property>
<property name="sizePolicy"> <item>
<sizepolicy hsizetype="Minimum" vsizetype="Maximum"> <widget class="QPushButton" name="selectiveSyncCancel">
<horstretch>0</horstretch> <property name="sizePolicy">
<verstretch>0</verstretch> <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
</sizepolicy> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="text"> </sizepolicy>
<string>Apply</string> </property>
</property> <property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="selectiveSyncApply">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Apply</string>
</property>
</widget>
</item>
</layout>
</widget> </widget>
</item> </item>
</layout> </layout>
+7 -2
Ver Arquivo
@@ -336,8 +336,13 @@ void Application::slotownCloudWizardDone( int res )
_checkConnectionTimer.start(); _checkConnectionTimer.start();
slotCheckConnection(); slotCheckConnection();
// The very first time an account is configured: enabled autostart // If one account is configured: enable autostart
// TODO: Doing this every time the account wizard finishes will annoy users. bool shouldSetAutoStart = (accountMan->accounts().size() == 1);
#ifdef Q_OS_MAC
// Don't auto start when not being 'installed'
shouldSetAutoStart = shouldSetAutoStart
&& QCoreApplication::applicationDirPath().startsWith("/Applications/");
#endif
Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), true); Utility::setLaunchOnStartup(_theme->appName(), _theme->appNameGUI(), true);
} }
} }
+10 -7
Ver Arquivo
@@ -123,6 +123,13 @@ Folder::~Folder()
void Folder::checkLocalPath() void Folder::checkLocalPath()
{ {
const QFileInfo fi(_definition.localPath); const QFileInfo fi(_definition.localPath);
_canonicalLocalPath = fi.canonicalFilePath();
if (_canonicalLocalPath.isEmpty()) {
qDebug() << "Broken symlink:" << _definition.localPath;
_canonicalLocalPath = _definition.localPath;
} else if( !_canonicalLocalPath.endsWith('/') ) {
_canonicalLocalPath.append('/');
}
if( fi.isDir() && fi.isReadable() ) { if( fi.isDir() && fi.isReadable() ) {
qDebug() << "Checked local path ok"; qDebug() << "Checked local path ok";
@@ -161,11 +168,7 @@ QString Folder::alias() const
QString Folder::path() const QString Folder::path() const
{ {
QString p(_definition.localPath); return _canonicalLocalPath;
if( ! p.endsWith('/') ) {
p.append('/');
}
return p;
} }
QString Folder::shortGuiLocalPath() const QString Folder::shortGuiLocalPath() const
@@ -185,7 +188,7 @@ QString Folder::shortGuiLocalPath() const
} }
bool Folder::ignoreHiddenFiles() bool Folder::ignoreHiddenFiles() const
{ {
bool re(_definition.ignoreHiddenFiles); bool re(_definition.ignoreHiddenFiles);
return re; return re;
@@ -198,7 +201,7 @@ void Folder::setIgnoreHiddenFiles(bool ignore)
QString Folder::cleanPath() QString Folder::cleanPath()
{ {
QString cleanedPath = QDir::cleanPath(_definition.localPath); QString cleanedPath = QDir::cleanPath(_canonicalLocalPath);
if(cleanedPath.length() == 3 && cleanedPath.endsWith(":/")) if(cleanedPath.length() == 3 && cleanedPath.endsWith(":/"))
cleanedPath.remove(2,1); cleanedPath.remove(2,1);
+2 -1
Ver Arquivo
@@ -167,7 +167,7 @@ public:
* Ignore syncing of hidden files or not. This is defined in the * Ignore syncing of hidden files or not. This is defined in the
* folder definition * folder definition
*/ */
bool ignoreHiddenFiles(); bool ignoreHiddenFiles() const;
void setIgnoreHiddenFiles(bool ignore); void setIgnoreHiddenFiles(bool ignore);
// Used by the Socket API // Used by the Socket API
@@ -288,6 +288,7 @@ private:
AccountStatePtr _accountState; AccountStatePtr _accountState;
FolderDefinition _definition; FolderDefinition _definition;
QString _canonicalLocalPath; // As returned with QFileInfo:canonicalFilePath. Always ends with "/"
SyncResult _syncResult; SyncResult _syncResult;
QScopedPointer<SyncEngine> _engine; QScopedPointer<SyncEngine> _engine;
+71
Ver Arquivo
@@ -1046,6 +1046,77 @@ void FolderStatusModel::resetFolders()
setAccountState(_accountState); setAccountState(_accountState);
} }
void FolderStatusModel::slotSyncAllPendingBigFolders()
{
for (int i = 0; i < _folders.count(); ++i) {
if (!_folders[i]._fetched) {
_folders[i]._folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList, QStringList());
continue;
}
auto folder = _folders.at(i)._folder;
bool ok;
auto undecidedList = folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList, &ok);
if( !ok ) {
qDebug() << Q_FUNC_INFO << "Could not read selective sync list from db.";
return;
}
// If this folder had no undecided entries, skip it.
if (undecidedList.isEmpty()) {
continue;
}
// Remove all undecided folders from the blacklist
auto blackList = folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, &ok);
if( !ok ) {
qDebug() << Q_FUNC_INFO << "Could not read selective sync list from db.";
return;
}
foreach (const auto& undecidedFolder, undecidedList) {
blackList.removeAll(undecidedFolder);
}
folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, blackList);
// Add all undecided folders to the white list
auto whiteList = folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncWhiteList, &ok);
if( !ok ) {
qDebug() << Q_FUNC_INFO << "Could not read selective sync list from db.";
return;
}
whiteList += undecidedList;
folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncWhiteList, whiteList);
// Clear the undecided list
folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList, QStringList());
// Trigger a sync
if (folder->isBusy()) {
folder->slotTerminateSync();
}
// The part that changed should not be read from the DB on next sync because there might be new folders
// (the ones that are no longer in the blacklist)
foreach (const auto &it, undecidedList) {
folder->journalDb()->avoidReadFromDbOnNextSync(it);
}
FolderMan::instance()->slotScheduleSync(folder);
}
resetFolders();
}
void FolderStatusModel::slotSyncNoPendingBigFolders()
{
for (int i = 0; i < _folders.count(); ++i) {
auto folder = _folders.at(i)._folder;
// clear the undecided list
folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList, QStringList());
}
resetFolders();
}
void FolderStatusModel::slotNewBigFolder() void FolderStatusModel::slotNewBigFolder()
{ {
auto f = qobject_cast<Folder *>(sender()); auto f = qobject_cast<Folder *>(sender());
+2
Ver Arquivo
@@ -107,6 +107,8 @@ public slots:
void slotUpdateFolderState(Folder *); void slotUpdateFolderState(Folder *);
void slotApplySelectiveSync(); void slotApplySelectiveSync();
void resetFolders(); void resetFolders();
void slotSyncAllPendingBigFolders();
void slotSyncNoPendingBigFolders();
void slotSetProgress(const ProgressInfo &progress); void slotSetProgress(const ProgressInfo &progress);
private slots: private slots:
+35 -53
Ver Arquivo
@@ -23,6 +23,7 @@
#include <QStringList> #include <QStringList>
#include <QObject> #include <QObject>
#include <QVarLengthArray> #include <QVarLengthArray>
#include <syncengine.h>
namespace OCC { namespace OCC {
@@ -48,31 +49,6 @@ FolderWatcherPrivate::~FolderWatcherPrivate()
} }
// attention: result list passed by reference!
bool FolderWatcherPrivate::findFoldersBelow( const QDir& dir, QStringList& fullList )
{
bool ok = true;
if( !(dir.exists() && dir.isReadable()) ) {
qDebug() << "Non existing path coming in: " << dir.absolutePath();
ok = false;
} else {
QStringList nameFilter;
nameFilter << QLatin1String("*");
QDir::Filters filter = QDir::Dirs | QDir::NoDotAndDotDot | QDir::NoSymLinks | QDir::Hidden;
const QStringList pathes = dir.entryList(nameFilter, filter);
QStringList::const_iterator constIterator;
for (constIterator = pathes.constBegin(); constIterator != pathes.constEnd();
++constIterator) {
const QString fullPath(dir.path()+QLatin1String("/")+(*constIterator));
fullList.append(fullPath);
ok = findFoldersBelow(QDir(fullPath), fullList);
}
}
return ok;
}
void FolderWatcherPrivate::inotifyRegisterPath(const QString& path) void FolderWatcherPrivate::inotifyRegisterPath(const QString& path)
{ {
if( !path.isEmpty()) { if( !path.isEmpty()) {
@@ -88,41 +64,47 @@ void FolderWatcherPrivate::inotifyRegisterPath(const QString& path)
void FolderWatcherPrivate::slotAddFolderRecursive(const QString &path) void FolderWatcherPrivate::slotAddFolderRecursive(const QString &path)
{ {
int subdirs = 0;
qDebug() << "(+) Watcher:" << path; qDebug() << "(+) Watcher:" << path;
QDir inPath(path);
inotifyRegisterPath(inPath.absolutePath());
const QStringList watchedFolders = _watches.values(); const QStringList watchedFolders = _watches.values();
int subdirs = addFolderRecursiveHelper(path, watchedFolders.toSet());
QStringList allSubfolders;
if( !findFoldersBelow(QDir(path), allSubfolders)) {
qDebug() << "Could not traverse all sub folders";
}
// qDebug() << "currently watching " << watchedFolders;
QStringListIterator subfoldersIt(allSubfolders);
while (subfoldersIt.hasNext()) {
QString subfolder = subfoldersIt.next();
// qDebug() << " (**) subfolder: " << subfolder;
QDir folder (subfolder);
if (folder.exists() && !watchedFolders.contains(folder.absolutePath())) {
subdirs++;
if( _parent->pathIsIgnored(subfolder) ) {
qDebug() << "* Not adding" << folder.path();
continue;
}
inotifyRegisterPath(folder.absolutePath());
} else {
qDebug() << " `-> discarded:" << folder.path();
}
}
if (subdirs >0) { if (subdirs >0) {
qDebug() << " `-> and" << subdirs << "subdirectories"; qDebug() << " `-> and" << subdirs << "subdirectories";
} }
} }
int FolderWatcherPrivate::addFolderRecursiveHelper(const QString &path, const QSet<QString> &watchedFolders)
{
QDir dir(path);
if( !(dir.exists() && dir.isReadable()) ) {
qDebug() << "Non existing path coming in: " << dir.absolutePath();
return 0;
}
int subdirs = 1;
inotifyRegisterPath(dir.absolutePath());
QDir::Filters filter = QDir::Dirs | QDir::NoDotAndDotDot | QDir::NoSymLinks | QDir::Hidden;
const QStringList pathes = dir.entryList(filter);
for (auto constIterator = pathes.constBegin(); constIterator != pathes.constEnd(); ++constIterator) {
const QString subfolder = path + QLatin1String("/") + (*constIterator);
QDir folder(subfolder);
if (folder.exists() && !watchedFolders.contains(subfolder)) {
#ifndef OWNCLOUD_TEST // InotifyWatcherTest is not interested in ignored files and does not link against the folder
if( _parent->_folder->syncEngine().excludedFiles().isExcluded(
subfolder, path, _parent->_folder->ignoreHiddenFiles())) {
qDebug() << "* Not adding" << folder.path();
continue;
}
#endif
subdirs += addFolderRecursiveHelper(subfolder, watchedFolders);
} else {
qDebug() << " `-> discarded:" << folder.path();
}
}
return subdirs;
}
void FolderWatcherPrivate::slotReceivedNotification(int fd) void FolderWatcherPrivate::slotReceivedNotification(int fd)
{ {
int len; int len;
+1 -3
Ver Arquivo
@@ -33,7 +33,6 @@ class FolderWatcherPrivate : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
FolderWatcherPrivate() { }
FolderWatcherPrivate(FolderWatcher *p, const QString &path); FolderWatcherPrivate(FolderWatcher *p, const QString &path);
~FolderWatcherPrivate(); ~FolderWatcherPrivate();
@@ -45,10 +44,9 @@ protected slots:
void slotAddFolderRecursive(const QString &path); void slotAddFolderRecursive(const QString &path);
protected: protected:
bool findFoldersBelow( const QDir& dir, QStringList& fullList ); int addFolderRecursiveHelper(const QString &path, const QSet<QString> &watchedFolders);
void inotifyRegisterPath(const QString& path); void inotifyRegisterPath(const QString& path);
private:
FolderWatcher *_parent; FolderWatcher *_parent;
QString _folder; QString _folder;
+3
Ver Arquivo
@@ -15,6 +15,7 @@
#include "filesystem.h" #include "filesystem.h"
#include <QTimer> #include <QTimer>
#include <QDebug>
using namespace OCC; using namespace OCC;
@@ -30,6 +31,7 @@ LockWatcher::LockWatcher(QObject* parent)
void LockWatcher::addFile(const QString& path) void LockWatcher::addFile(const QString& path)
{ {
qDebug() << "Watching for lock of" << path << "being released";
_watchedPaths.insert(path); _watchedPaths.insert(path);
} }
@@ -39,6 +41,7 @@ void LockWatcher::checkFiles()
foreach (const QString& path, _watchedPaths) { foreach (const QString& path, _watchedPaths) {
if (!FileSystem::isFileLocked(path)) { if (!FileSystem::isFileLocked(path)) {
qDebug() << "Lock of" << path << "was released";
emit fileUnlocked(path); emit fileUnlocked(path);
unlocked.insert(path); unlocked.insert(path);
} }
+1 -1
Ver Arquivo
@@ -15,7 +15,7 @@
#define OCSSHAREJOB_H #define OCSSHAREJOB_H
#include "ocsjob.h" #include "ocsjob.h"
#include "share.h" #include "sharemanager.h"
#include <QVector> #include <QVector>
#include <QList> #include <QList>
#include <QPair> #include <QPair>
+176 -62
Ver Arquivo
@@ -56,6 +56,7 @@ ownCloudGui::ownCloudGui(Application *parent) :
_settingsDialog(new SettingsDialog(this)), _settingsDialog(new SettingsDialog(this)),
#endif #endif
_logBrowser(0), _logBrowser(0),
_contextMenuVisibleOsx(false),
_recentActionsMenu(0), _recentActionsMenu(0),
_qdbusmenuWorkaround(false), _qdbusmenuWorkaround(false),
_folderOpenActionMapper(new QSignalMapper(this)), _folderOpenActionMapper(new QSignalMapper(this)),
@@ -66,7 +67,7 @@ ownCloudGui::ownCloudGui(Application *parent) :
_tray->setParent(this); _tray->setParent(this);
// for the beginning, set the offline icon until the account was verified // for the beginning, set the offline icon until the account was verified
_tray->setIcon( Theme::instance()->folderOfflineIcon(true)); _tray->setIcon( Theme::instance()->folderOfflineIcon(/*systray?*/ true, /*currently visible?*/ false));
connect(_tray.data(), SIGNAL(activated(QSystemTrayIcon::ActivationReason)), connect(_tray.data(), SIGNAL(activated(QSystemTrayIcon::ActivationReason)),
SLOT(slotTrayClicked(QSystemTrayIcon::ActivationReason))); SLOT(slotTrayClicked(QSystemTrayIcon::ActivationReason)));
@@ -92,9 +93,9 @@ ownCloudGui::ownCloudGui(Application *parent) :
this,SLOT(slotSyncStateChange(Folder*))); this,SLOT(slotSyncStateChange(Folder*)));
connect( AccountManager::instance(), SIGNAL(accountAdded(AccountState*)), connect( AccountManager::instance(), SIGNAL(accountAdded(AccountState*)),
SLOT(setupContextMenuIfVisible())); SLOT(updateContextMenuNeeded()));
connect( AccountManager::instance(), SIGNAL(accountRemoved(AccountState*)), connect( AccountManager::instance(), SIGNAL(accountRemoved(AccountState*)),
SLOT(setupContextMenuIfVisible())); SLOT(updateContextMenuNeeded()));
connect( Logger::instance(), SIGNAL(guiLog(QString,QString)), connect( Logger::instance(), SIGNAL(guiLog(QString,QString)),
SLOT(slotShowTrayMessage(QString,QString))); SLOT(slotShowTrayMessage(QString,QString)));
@@ -193,7 +194,7 @@ void ownCloudGui::slotTrayClicked( QSystemTrayIcon::ActivationReason reason )
void ownCloudGui::slotSyncStateChange( Folder* folder ) void ownCloudGui::slotSyncStateChange( Folder* folder )
{ {
slotComputeOverallSyncStatus(); slotComputeOverallSyncStatus();
setupContextMenuIfVisible(); updateContextMenuNeeded();
if( !folder ) { if( !folder ) {
return; // Valid, just a general GUI redraw was needed. return; // Valid, just a general GUI redraw was needed.
@@ -215,7 +216,7 @@ void ownCloudGui::slotSyncStateChange( Folder* folder )
void ownCloudGui::slotFoldersChanged() void ownCloudGui::slotFoldersChanged()
{ {
slotComputeOverallSyncStatus(); slotComputeOverallSyncStatus();
setupContextMenuIfVisible(); updateContextMenuNeeded();
} }
void ownCloudGui::slotOpenPath(const QString &path) void ownCloudGui::slotOpenPath(const QString &path)
@@ -225,7 +226,7 @@ void ownCloudGui::slotOpenPath(const QString &path)
void ownCloudGui::slotAccountStateChanged() void ownCloudGui::slotAccountStateChanged()
{ {
setupContextMenuIfVisible(); updateContextMenuNeeded();
slotComputeOverallSyncStatus(); slotComputeOverallSyncStatus();
} }
@@ -261,7 +262,7 @@ void ownCloudGui::slotComputeOverallSyncStatus()
} }
if (!problemAccounts.empty()) { if (!problemAccounts.empty()) {
_tray->setIcon(Theme::instance()->folderOfflineIcon(true)); _tray->setIcon(Theme::instance()->folderOfflineIcon(true, contextMenuVisible()));
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
// Windows has a 128-char tray tooltip length limit. // Windows has a 128-char tray tooltip length limit.
QStringList accountNames; QStringList accountNames;
@@ -288,11 +289,11 @@ void ownCloudGui::slotComputeOverallSyncStatus()
} }
if (allSignedOut) { if (allSignedOut) {
_tray->setIcon(Theme::instance()->folderOfflineIcon(true)); _tray->setIcon(Theme::instance()->folderOfflineIcon(true, contextMenuVisible()));
_tray->setToolTip(tr("Please sign in")); _tray->setToolTip(tr("Please sign in"));
return; return;
} else if (allPaused) { } else if (allPaused) {
_tray->setIcon(Theme::instance()->syncStateIcon(SyncResult::Paused, true)); _tray->setIcon(Theme::instance()->syncStateIcon(SyncResult::Paused, true, contextMenuVisible()));
_tray->setToolTip(tr("Account synchronization is disabled")); _tray->setToolTip(tr("Account synchronization is disabled"));
return; return;
} }
@@ -322,12 +323,12 @@ void ownCloudGui::slotComputeOverallSyncStatus()
trayMessage = tr("No sync folders configured."); trayMessage = tr("No sync folders configured.");
} }
QIcon statusIcon = Theme::instance()->syncStateIcon( overallResult.status(), true); QIcon statusIcon = Theme::instance()->syncStateIcon( overallResult.status(), true, contextMenuVisible());
_tray->setIcon( statusIcon ); _tray->setIcon( statusIcon );
_tray->setToolTip(trayMessage); _tray->setToolTip(trayMessage);
} else { } else {
// undefined because there are no folders. // undefined because there are no folders.
QIcon icon = Theme::instance()->syncStateIcon(SyncResult::Problem, true); QIcon icon = Theme::instance()->syncStateIcon(SyncResult::Problem, true, contextMenuVisible());
_tray->setIcon( icon ); _tray->setIcon( icon );
_tray->setToolTip(tr("There are no sync folders configured.")); _tray->setToolTip(tr("There are no sync folders configured."));
} }
@@ -399,26 +400,160 @@ void ownCloudGui::addAccountContextMenu(AccountStatePtr accountState, QMenu *men
} }
void ownCloudGui::slotContextMenuAboutToShow()
{
// For some reason on OS X _contextMenu->isVisible returns always false
qDebug() << "";
_contextMenuVisibleOsx = true;
// Update icon in sys tray, as it might change depending on the context menu state
slotComputeOverallSyncStatus();
}
void ownCloudGui::slotContextMenuAboutToHide()
{
// For some reason on OS X _contextMenu->isVisible returns always false
qDebug() << "";
_contextMenuVisibleOsx = false;
// Update icon in sys tray, as it might change depending on the context menu state
slotComputeOverallSyncStatus();
}
bool ownCloudGui::contextMenuVisible() const
{
#ifdef Q_OS_MAC
return _contextMenuVisibleOsx;
#else
return _contextMenu->isVisible();
#endif
}
static bool minimalTrayMenu() static bool minimalTrayMenu()
{ {
static QByteArray var = qgetenv("OWNCLOUD_MINIMAL_TRAY_MENU"); static QByteArray var = qgetenv("OWNCLOUD_MINIMAL_TRAY_MENU");
return !var.isEmpty(); return !var.isEmpty();
} }
static bool updateWhileVisible()
{
static QByteArray var = qgetenv("OWNCLOUD_TRAY_UPDATE_WHILE_VISIBLE");
if (var == "1") {
return true;
} else if (var == "0") {
return false;
} else {
// triggers bug on OS X: https://bugreports.qt.io/browse/QTBUG-54845
// or flickering on Xubuntu
return false;
}
}
static QByteArray forceQDBusTrayWorkaround()
{
static QByteArray var = qgetenv("OWNCLOUD_FORCE_QDBUS_TRAY_WORKAROUND");
return var;
}
void ownCloudGui::setupContextMenu() void ownCloudGui::setupContextMenu()
{ {
if (_contextMenu) {
return;
}
_contextMenu.reset(new QMenu());
_contextMenu->setTitle(Theme::instance()->appNameGUI() );
_recentActionsMenu = new QMenu(tr("Recent Changes"), _contextMenu.data());
// this must be called only once after creating the context menu, or
// it will trigger a bug in Ubuntu's SNI bridge patch (11.10, 12.04).
_tray->setContextMenu(_contextMenu.data());
// The tray menu is surprisingly problematic. Being able to switch to // The tray menu is surprisingly problematic. Being able to switch to
// a minimal version of it is a useful workaround and testing tool. // a minimal version of it is a useful workaround and testing tool.
if (minimalTrayMenu()) { if (minimalTrayMenu()) {
if (!_contextMenu) { _contextMenu->addAction(_actionQuit);
_contextMenu.reset(new QMenu());
_recentActionsMenu = new QMenu(tr("Recent Changes"), _contextMenu.data());
_tray->setContextMenu(_contextMenu.data());
_contextMenu->addAction(_actionQuit);
}
return; return;
} }
// Enables workarounds for bugs introduced in Qt 5.5.0
// In particular QTBUG-47863 #3672 (tray menu fails to update and
// becomes unresponsive) and QTBUG-48068 #3722 (click signal is
// emitted several times)
// The Qt version check intentionally uses 5.0.0 (where platformMenu()
// was introduced) instead of 5.5.0 to avoid issues where the Qt
// version used to build is different from the one used at runtime.
// If we build with 5.6.1 or newer, we can skip this because the
// bugs should be fixed there.
#ifdef Q_OS_LINUX
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) && (QT_VERSION < QT_VERSION_CHECK(5, 6, 0))
if (qVersion() == QByteArray("5.5.0")) {
QObject* platformMenu = reinterpret_cast<QObject*>(_tray->contextMenu()->platformMenu());
if (platformMenu
&& platformMenu->metaObject()->className() == QLatin1String("QDBusPlatformMenu")) {
_qdbusmenuWorkaround = true;
qDebug() << "Enabled QDBusPlatformMenu workaround";
}
}
#endif
#endif
if (forceQDBusTrayWorkaround() == "1") {
_qdbusmenuWorkaround = true;
} else if (forceQDBusTrayWorkaround() == "0") {
_qdbusmenuWorkaround = false;
}
// When the qdbusmenuWorkaround is necessary, we can't do on-demand updates
// because the workaround is to hide and show the tray icon.
if (_qdbusmenuWorkaround) {
connect(&_workaroundBatchTrayUpdate, SIGNAL(timeout()), SLOT(updateContextMenu()));
_workaroundBatchTrayUpdate.setInterval(30 * 1000);
_workaroundBatchTrayUpdate.setSingleShot(true);
} else {
// Update the context menu whenever we're about to show it
// to the user.
#ifdef Q_OS_MAC
// https://bugreports.qt.io/browse/QTBUG-54633
connect(_contextMenu.data(), SIGNAL(aboutToShow()), SLOT(slotContextMenuAboutToShow()));
connect(_contextMenu.data(), SIGNAL(aboutToHide()), SLOT(slotContextMenuAboutToHide()));
#else
connect(_contextMenu.data(), SIGNAL(aboutToShow()), SLOT(updateContextMenu()));
#endif
}
// Populate the context menu now.
updateContextMenu();
}
void ownCloudGui::updateContextMenu()
{
if (minimalTrayMenu()) {
return;
}
if (_qdbusmenuWorkaround) {
// To make tray menu updates work with these bugs (see setupContextMenu)
// we need to hide and show the tray icon. We don't want to do that
// while it's visible!
if (contextMenuVisible()) {
if (!_workaroundBatchTrayUpdate.isActive()) {
_workaroundBatchTrayUpdate.start();
}
return;
}
_tray->hide();
}
_contextMenu->clear();
slotRebuildRecentMenus();
// We must call deleteLater because we might be called from the press in one of the actions.
foreach (auto menu, _accountMenus) { menu->deleteLater(); }
_accountMenus.clear();
auto accountList = AccountManager::instance()->accounts(); auto accountList = AccountManager::instance()->accounts();
bool isConfigured = (!accountList.isEmpty()); bool isConfigured = (!accountList.isEmpty());
@@ -445,47 +580,6 @@ void ownCloudGui::setupContextMenu()
} }
} }
if ( _contextMenu ) {
if (_qdbusmenuWorkaround) {
_tray->hide();
}
_contextMenu->clear();
} else {
_contextMenu.reset(new QMenu());
// Update the context menu whenever we're about to show it
// to the user.
connect(_contextMenu.data(), SIGNAL(aboutToShow()), SLOT(setupContextMenu()));
_recentActionsMenu = new QMenu(tr("Recent Changes"), _contextMenu.data());
// this must be called only once after creating the context menu, or
// it will trigger a bug in Ubuntu's SNI bridge patch (11.10, 12.04).
_tray->setContextMenu(_contextMenu.data());
// Enables workarounds for bugs introduced in Qt 5.5.0
// In particular QTBUG-47863 #3672 (tray menu fails to update and
// becomes unresponsive) and QTBUG-48068 #3722 (click signal is
// emitted several times)
// The Qt version check intentionally uses 5.0.0 (where platformMenu()
// was introduced) instead of 5.5.0 to avoid issues where the Qt
// version used to build is different from the one used at runtime.
#ifdef Q_OS_LINUX
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
QObject* platformMenu = reinterpret_cast<QObject*>(_tray->contextMenu()->platformMenu());
if (platformMenu
&& platformMenu->metaObject()->className() == QLatin1String("QDBusPlatformMenu")) {
_qdbusmenuWorkaround = true;
qDebug() << "Enabled QDBusPlatformMenu workaround";
}
#endif
#endif
}
_contextMenu->setTitle(Theme::instance()->appNameGUI() );
slotRebuildRecentMenus();
// We must call deleteLater because we might be called from the press in one of the actions.
foreach (auto menu, _accountMenus) { menu->deleteLater(); }
_accountMenus.clear();
if (accountList.count() > 1) { if (accountList.count() > 1) {
foreach (AccountStatePtr account, accountList) { foreach (AccountStatePtr account, accountList) {
QMenu* accountMenu = new QMenu(account->account()->displayName(), _contextMenu.data()); QMenu* accountMenu = new QMenu(account->account()->displayName(), _contextMenu.data());
@@ -558,10 +652,30 @@ void ownCloudGui::setupContextMenu()
} }
} }
void ownCloudGui::setupContextMenuIfVisible() void ownCloudGui::updateContextMenuNeeded()
{ {
if (_contextMenu && _contextMenu->isVisible()) // For the workaround case updating while visible is impossible. Instead
setupContextMenu(); // occasionally update the menu when it's invisible.
if (_qdbusmenuWorkaround) {
if (!_workaroundBatchTrayUpdate.isActive()) {
_workaroundBatchTrayUpdate.start();
}
return;
}
#ifdef Q_OS_MAC
// https://bugreports.qt.io/browse/QTBUG-54845
// We cannot update on demand or while visible -> update when invisible.
if (!contextMenuVisible()) {
updateContextMenu();
}
#else
if (updateWhileVisible() && contextMenuVisible())
updateContextMenu();
#endif
// If no update was done here, we might update it on-demand due to
// the aboutToShow() signal.
} }
void ownCloudGui::slotShowTrayMessage(const QString &title, const QString &msg) void ownCloudGui::slotShowTrayMessage(const QString &title, const QString &msg)
@@ -724,7 +838,7 @@ void ownCloudGui::slotUpdateProgress(const QString &folder, const ProgressInfo&
// Update the "Recent" menu if the context menu is being shown, // Update the "Recent" menu if the context menu is being shown,
// otherwise it'll be updated later, when the context menu is opened. // otherwise it'll be updated later, when the context menu is opened.
if (_contextMenu && _contextMenu->isVisible()) { if (updateWhileVisible() && contextMenuVisible()) {
slotRebuildRecentMenus(); slotRebuildRecentMenus();
} }
} }
+14 -1
Ver Arquivo
@@ -24,6 +24,7 @@
#include <QMenu> #include <QMenu>
#include <QSignalMapper> #include <QSignalMapper>
#include <QSize> #include <QSize>
#include <QTimer>
namespace OCC { namespace OCC {
@@ -52,12 +53,18 @@ public:
static QSize settingsDialogSize() { return QSize(800, 500); } static QSize settingsDialogSize() { return QSize(800, 500); }
void setupOverlayIcons(); void setupOverlayIcons();
/// Whether the tray menu is visible
bool contextMenuVisible() const;
signals: signals:
void setupProxy(); void setupProxy();
public slots: public slots:
void setupContextMenu(); void setupContextMenu();
void setupContextMenuIfVisible(); void updateContextMenu();
void updateContextMenuNeeded();
void slotContextMenuAboutToShow();
void slotContextMenuAboutToHide();
void slotComputeOverallSyncStatus(); void slotComputeOverallSyncStatus();
void slotShowTrayMessage(const QString &title, const QString &msg); void slotShowTrayMessage(const QString &title, const QString &msg);
void slotShowOptionalTrayMessage(const QString &title, const QString &msg); void slotShowOptionalTrayMessage(const QString &title, const QString &msg);
@@ -102,9 +109,15 @@ private:
QPointer<LogBrowser>_logBrowser; QPointer<LogBrowser>_logBrowser;
// tray's menu // tray's menu
QScopedPointer<QMenu> _contextMenu; QScopedPointer<QMenu> _contextMenu;
// Manually tracking whether the context menu is visible, but only works
// on OSX because aboutToHide is not reliable everywhere.
bool _contextMenuVisibleOsx;
QMenu *_recentActionsMenu; QMenu *_recentActionsMenu;
QVector<QMenu*> _accountMenus; QVector<QMenu*> _accountMenus;
bool _qdbusmenuWorkaround; bool _qdbusmenuWorkaround;
QTimer _workaroundBatchTrayUpdate;
QMap<QString, QPointer<ShareDialog> > _shareDialogs; QMap<QString, QPointer<ShareDialog> > _shareDialogs;
QAction *_actionLogin; QAction *_actionLogin;
+34 -2
Ver Arquivo
@@ -30,6 +30,7 @@
#include "networkjobs.h" #include "networkjobs.h"
#include "sslerrordialog.h" #include "sslerrordialog.h"
#include "accountmanager.h" #include "accountmanager.h"
#include "clientproxy.h"
#include "creds/credentialsfactory.h" #include "creds/credentialsfactory.h"
#include "creds/abstractcredentials.h" #include "creds/abstractcredentials.h"
@@ -128,7 +129,38 @@ void OwncloudSetupWizard::slotDetermineAuthType(const QString &urlString)
account->setUrl(url); account->setUrl(url);
// Reset the proxy which might had been determined previously in ConnectionValidator::checkServerAndAuth() // Reset the proxy which might had been determined previously in ConnectionValidator::checkServerAndAuth()
// when there was a previous account. // when there was a previous account.
account->networkAccessManager()->setProxy(QNetworkProxy(QNetworkProxy::DefaultProxy)); account->networkAccessManager()->setProxy(QNetworkProxy(QNetworkProxy::NoProxy));
// Lookup system proxy in a thread https://github.com/owncloud/client/issues/2993
if (ClientProxy::isUsingSystemDefault()) {
qDebug() << "Trying to look up system proxy";
ClientProxy::lookupSystemProxyAsync(account->url(),
this, SLOT(slotSystemProxyLookupDone(QNetworkProxy)));
} else {
// We want to reset the QNAM proxy so that the global proxy settings are used (via ClientProxy settings)
account->networkAccessManager()->setProxy(QNetworkProxy(QNetworkProxy::DefaultProxy));
// use a queued invocation so we're as asynchronous as with the other code path
QMetaObject::invokeMethod(this, "slotContinueDetermineAuth", Qt::QueuedConnection);
}
}
void OwncloudSetupWizard::slotSystemProxyLookupDone(const QNetworkProxy &proxy)
{
if (proxy.type() != QNetworkProxy::NoProxy) {
qDebug() << "Setting QNAM proxy to be system proxy" << printQNetworkProxy(proxy);
} else {
qDebug() << "No system proxy set by OS";
}
AccountPtr account = _ocWizard->account();
account->networkAccessManager()->setProxy(proxy);
slotContinueDetermineAuth();
}
void OwncloudSetupWizard::slotContinueDetermineAuth()
{
AccountPtr account = _ocWizard->account();
// Set fake credentials before we check what credential it actually is. // Set fake credentials before we check what credential it actually is.
account->setCredentials(CredentialsFactory::create("dummy")); account->setCredentials(CredentialsFactory::create("dummy"));
CheckServerJob *job = new CheckServerJob(_ocWizard->account(), this); CheckServerJob *job = new CheckServerJob(_ocWizard->account(), this);
@@ -136,7 +168,7 @@ void OwncloudSetupWizard::slotDetermineAuthType(const QString &urlString)
connect(job, SIGNAL(instanceFound(QUrl,QVariantMap)), SLOT(slotOwnCloudFoundAuth(QUrl,QVariantMap))); connect(job, SIGNAL(instanceFound(QUrl,QVariantMap)), SLOT(slotOwnCloudFoundAuth(QUrl,QVariantMap)));
connect(job, SIGNAL(instanceNotFound(QNetworkReply*)), SLOT(slotNoOwnCloudFoundAuth(QNetworkReply*))); connect(job, SIGNAL(instanceNotFound(QNetworkReply*)), SLOT(slotNoOwnCloudFoundAuth(QNetworkReply*)));
connect(job, SIGNAL(timeout(const QUrl&)), SLOT(slotNoOwnCloudFoundAuthTimeout(const QUrl&))); connect(job, SIGNAL(timeout(const QUrl&)), SLOT(slotNoOwnCloudFoundAuthTimeout(const QUrl&)));
job->setTimeout(10*1000); job->setTimeout((account->url().scheme() == "https") ? 30*1000 : 10*1000);
job->start(); job->start();
} }
+2
Ver Arquivo
@@ -66,6 +66,8 @@ signals:
private slots: private slots:
void slotDetermineAuthType(const QString&); void slotDetermineAuthType(const QString&);
void slotSystemProxyLookupDone(const QNetworkProxy &proxy);
void slotContinueDetermineAuth();
void slotOwnCloudFoundAuth(const QUrl&, const QVariantMap&); void slotOwnCloudFoundAuth(const QUrl&, const QVariantMap&);
void slotNoOwnCloudFoundAuth(QNetworkReply *reply); void slotNoOwnCloudFoundAuth(QNetworkReply *reply);
void slotNoOwnCloudFoundAuthTimeout(const QUrl&url); void slotNoOwnCloudFoundAuthTimeout(const QUrl&url);
+1
Ver Arquivo
@@ -46,6 +46,7 @@ ShareDialog::ShareDialog(QPointer<AccountState> accountState,
_userGroupWidget(NULL), _userGroupWidget(NULL),
_progressIndicator(NULL) _progressIndicator(NULL)
{ {
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);
setObjectName("SharingDialog"); // required as group for saveGeometry call setObjectName("SharingDialog"); // required as group for saveGeometry call
+16 -8
Ver Arquivo
@@ -17,13 +17,14 @@
#include "account.h" #include "account.h"
#include "capabilities.h" #include "capabilities.h"
#include "share.h" #include "sharemanager.h"
#include "QProgressIndicator.h" #include "QProgressIndicator.h"
#include <QBuffer> #include <QBuffer>
#include <QClipboard> #include <QClipboard>
#include <QFileInfo> #include <QFileInfo>
#include <QDesktopServices> #include <QDesktopServices>
#include <QMessageBox>
namespace OCC { namespace OCC {
@@ -490,13 +491,20 @@ void ShareLinkWidget::slotPushButtonMailLinkPressed()
{ {
QString fileName = _sharePath.mid(_sharePath.lastIndexOf('/') + 1); QString fileName = _sharePath.mid(_sharePath.lastIndexOf('/') + 1);
QDesktopServices::openUrl(QUrl(QString( if (!QDesktopServices::openUrl(QUrl(QString(
"mailto: " "mailto: "
"?subject=I shared %1 with you" "?subject=I shared %1 with you"
"&body=%2").arg( "&body=%2").arg(
fileName, fileName,
_shareUrl), _shareUrl),
QUrl::TolerantMode)); QUrl::TolerantMode))) {
QMessageBox::warning(
this,
tr("Could not open email client"),
tr("There was an error when launching the email client to "
"create a new message. Maybe no default email client is "
"configured?"));
}
} }
void ShareLinkWidget::slotCheckBoxEditingClicked() void ShareLinkWidget::slotCheckBoxEditingClicked()
+8 -8
Ver Arquivo
@@ -11,7 +11,7 @@
* for more details. * for more details.
*/ */
#include "share.h" #include "sharemanager.h"
#include "ocssharejob.h" #include "ocssharejob.h"
#include "account.h" #include "account.h"
@@ -30,9 +30,9 @@ Q_DECLARE_METATYPE(CreateShare)
namespace OCC { namespace OCC {
Share::Share(AccountPtr account, Share::Share(AccountPtr account,
const QString& id, const QString& id,
const QString& path, const QString& path,
const ShareType shareType, const ShareType shareType,
const Permissions permissions, const Permissions permissions,
const QSharedPointer<Sharee> shareWith) const QSharedPointer<Sharee> shareWith)
@@ -100,7 +100,7 @@ void Share::slotDeleted()
void Share::slotOcsError(int statusCode, const QString &message) void Share::slotOcsError(int statusCode, const QString &message)
{ {
emit serverError(statusCode, message); emit serverError(statusCode, message);
} }
QUrl LinkShare::getLink() const QUrl LinkShare::getLink() const
@@ -229,7 +229,7 @@ void ShareManager::slotLinkShareCreated(const QVariantMap &reply)
if (code == 403) { if (code == 403) {
emit linkShareRequiresPassword(message); emit linkShareRequiresPassword(message);
return; return;
} }
//Parse share //Parse share
auto data = reply.value("ocs").toMap().value("data").toMap(); auto data = reply.value("ocs").toMap().value("data").toMap();
@@ -329,7 +329,7 @@ void ShareManager::slotSharesFetched(const QVariantMap &reply)
newShare = parseShare(data); newShare = parseShare(data);
} }
shares.append(QSharedPointer<Share>(newShare)); shares.append(QSharedPointer<Share>(newShare));
} }
qDebug() << Q_FUNC_INFO << "Sending " << shares.count() << "shares"; qDebug() << Q_FUNC_INFO << "Sending " << shares.count() << "shares";
@@ -371,7 +371,7 @@ QSharedPointer<Share> ShareManager::parseShare(const QVariantMap &data)
QSharedPointer<Sharee> sharee(new Sharee(data.value("share_with").toString(), QSharedPointer<Sharee> sharee(new Sharee(data.value("share_with").toString(),
data.value("share_with_displayname").toString(), data.value("share_with_displayname").toString(),
(Sharee::Type)data.value("share_type").toInt())); (Sharee::Type)data.value("share_type").toInt()));
return QSharedPointer<Share>(new Share(_account, return QSharedPointer<Share>(new Share(_account,
data.value("id").toString(), data.value("id").toString(),
data.value("path").toString(), data.value("path").toString(),
+5 -6
Ver Arquivo
@@ -11,8 +11,8 @@
* for more details. * for more details.
*/ */
#ifndef SHARE_H #ifndef SHAREMANAGER_H
#define SHARE_H #define SHAREMANAGER_H
#include "accountfwd.h" #include "accountfwd.h"
#include "sharee.h" #include "sharee.h"
@@ -127,7 +127,7 @@ private slots:
class LinkShare : public Share { class LinkShare : public Share {
Q_OBJECT Q_OBJECT
public: public:
explicit LinkShare(AccountPtr account, explicit LinkShare(AccountPtr account,
const QString& id, const QString& id,
const QString& path, const QString& path,
@@ -154,7 +154,7 @@ public:
* In case of a server error the serverError signal is emitted. * In case of a server error the serverError signal is emitted.
*/ */
void setPublicUpload(bool publicUpload); void setPublicUpload(bool publicUpload);
/* /*
* Set the password * Set the password
* *
@@ -276,7 +276,6 @@ private:
AccountPtr _account; AccountPtr _account;
}; };
} }
#endif // SHARE_H #endif // SHAREMANAGER_H
+1 -1
Ver Arquivo
@@ -24,8 +24,8 @@
#include "capabilities.h" #include "capabilities.h"
#include "thumbnailjob.h" #include "thumbnailjob.h"
#include "share.h"
#include "sharee.h" #include "sharee.h"
#include "sharemanager.h"
#include "QProgressIndicator.h" #include "QProgressIndicator.h"
#include <QBuffer> #include <QBuffer>
@@ -267,6 +267,12 @@
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QRadioButton" name="rSelectiveSync"> <widget class="QRadioButton" name="rSelectiveSync">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
-1
Ver Arquivo
@@ -1,6 +1,5 @@
project(libsync) project(libsync)
set(CMAKE_AUTOMOC TRUE) set(CMAKE_AUTOMOC TRUE)
include(GenerateExportHeader)
configure_file( version.h.in "${CMAKE_CURRENT_BINARY_DIR}/version.h" ) configure_file( version.h.in "${CMAKE_CURRENT_BINARY_DIR}/version.h" )
-1
Ver Arquivo
@@ -129,7 +129,6 @@ SystemProxyRunnable::SystemProxyRunnable(const QUrl &url) : QObject(), QRunnable
void SystemProxyRunnable::run() void SystemProxyRunnable::run()
{ {
qDebug() << Q_FUNC_INFO << "Starting system proxy lookup";
qRegisterMetaType<QNetworkProxy>("QNetworkProxy"); qRegisterMetaType<QNetworkProxy>("QNetworkProxy");
QList<QNetworkProxy> proxies = QNetworkProxyFactory::systemProxyForQuery(QNetworkProxyQuery(_url)); QList<QNetworkProxy> proxies = QNetworkProxyFactory::systemProxyForQuery(QNetworkProxyQuery(_url));
+1 -1
Ver Arquivo
@@ -57,7 +57,7 @@ private:
QUrl _url; QUrl _url;
}; };
QString printQNetworkProxy(const QNetworkProxy &proxy); OWNCLOUDSYNC_EXPORT QString printQNetworkProxy(const QNetworkProxy &proxy);
} }
+1 -1
Ver Arquivo
@@ -106,7 +106,7 @@ void ConnectionValidator::slotCheckServerAndAuth()
checkJob->setTimeout(timeoutToUseMsec); checkJob->setTimeout(timeoutToUseMsec);
checkJob->setIgnoreCredentialFailure(true); checkJob->setIgnoreCredentialFailure(true);
connect(checkJob, SIGNAL(instanceFound(QUrl,QVariantMap)), SLOT(slotStatusFound(QUrl,QVariantMap))); connect(checkJob, SIGNAL(instanceFound(QUrl,QVariantMap)), SLOT(slotStatusFound(QUrl,QVariantMap)));
connect(checkJob, SIGNAL(networkError(QNetworkReply*)), SLOT(slotNoStatusFound(QNetworkReply*))); connect(checkJob, SIGNAL(instanceNotFound(QNetworkReply*)), SLOT(slotNoStatusFound(QNetworkReply*)));
connect(checkJob, SIGNAL(timeout(QUrl)), SLOT(slotJobTimeout(QUrl))); connect(checkJob, SIGNAL(timeout(QUrl)), SLOT(slotJobTimeout(QUrl)));
checkJob->start(); checkJob->start();
} }
+18 -4
Ver Arquivo
@@ -14,6 +14,7 @@
#include "discoveryphase.h" #include "discoveryphase.h"
#include <csync_private.h> #include <csync_private.h>
#include <csync_rename.h>
#include <qdebug.h> #include <qdebug.h>
#include <QUrl> #include <QUrl>
@@ -51,7 +52,7 @@ static bool findPathInList(const QStringList &list, const QString &path)
return pathSlash.startsWith(*it); return pathSlash.startsWith(*it);
} }
bool DiscoveryJob::isInSelectiveSyncBlackList(const QString& path) const bool DiscoveryJob::isInSelectiveSyncBlackList(const char *path) const
{ {
if (_selectiveSyncBlackList.isEmpty()) { if (_selectiveSyncBlackList.isEmpty()) {
// If there is no black list, everything is allowed // If there is no black list, everything is allowed
@@ -59,13 +60,25 @@ bool DiscoveryJob::isInSelectiveSyncBlackList(const QString& path) const
} }
// Block if it is in the black list // Block if it is in the black list
return findPathInList(_selectiveSyncBlackList, path); if (findPathInList(_selectiveSyncBlackList, QString::fromUtf8(path))) {
return true;
}
// Also try to adjust the path if there was renames
if (csync_rename_count(_csync_ctx)) {
QScopedPointer<char, QScopedPointerPodDeleter> adjusted(
csync_rename_adjust_path_source(_csync_ctx, path));
if (strcmp(adjusted.data(), path) != 0) {
return findPathInList(_selectiveSyncBlackList, QString::fromUtf8(adjusted.data()));
}
}
return false;
} }
int DiscoveryJob::isInSelectiveSyncBlackListCallback(void *data, const char *path) int DiscoveryJob::isInSelectiveSyncBlackListCallback(void *data, const char *path)
{ {
return static_cast<DiscoveryJob*>(data)->isInSelectiveSyncBlackList(QString::fromUtf8(path)); return static_cast<DiscoveryJob*>(data)->isInSelectiveSyncBlackList(path);
} }
bool DiscoveryJob::checkSelectiveSyncNewFolder(const QString& path) bool DiscoveryJob::checkSelectiveSyncNewFolder(const QString& path)
@@ -192,7 +205,8 @@ int get_errno_from_http_errcode( int err, const QString & reason ) {
new_errno = EIO; new_errno = EIO;
break; break;
case 503: /* Service Unavailable */ case 503: /* Service Unavailable */
if (reason == "Storage not available") { // https://github.com/owncloud/core/pull/26145/files
if (reason == "Storage not available" || reason == "Storage is temporarily not available") {
new_errno = ERRNO_STORAGE_UNAVAILABLE; new_errno = ERRNO_STORAGE_UNAVAILABLE;
} else { } else {
new_errno = ERRNO_SERVICE_UNAVAILABLE; new_errno = ERRNO_SERVICE_UNAVAILABLE;
+1 -1
Ver Arquivo
@@ -174,7 +174,7 @@ class DiscoveryJob : public QObject {
* return true if the given path should be ignored, * return true if the given path should be ignored,
* false if the path should be synced * false if the path should be synced
*/ */
bool isInSelectiveSyncBlackList(const QString &path) const; bool isInSelectiveSyncBlackList(const char* path) const;
static int isInSelectiveSyncBlackListCallback(void *, const char *); static int isInSelectiveSyncBlackListCallback(void *, const char *);
bool checkSelectiveSyncNewFolder(const QString &path); bool checkSelectiveSyncNewFolder(const QString &path);
static int checkSelectiveSyncNewFolderCallback(void*, const char*); static int checkSelectiveSyncNewFolderCallback(void*, const char*);
+12 -3
Ver Arquivo
@@ -76,13 +76,22 @@ bool ExcludedFiles::isExcluded(
return true; return true;
} }
QFileInfo fi(filePath);
if( excludeHidden ) { if( excludeHidden ) {
if( fi.isHidden() || fi.fileName().startsWith(QLatin1Char('.')) ) { QString path = filePath;
return true; // Check all path subcomponents, but to *not* check the base path:
// We do want to be able to sync with a hidden folder as the target.
while (path.size() > basePath.size()) {
QFileInfo fi(path);
if( fi.isHidden() || fi.fileName().startsWith(QLatin1Char('.')) ) {
return true;
}
// Get the parent path
path = fi.absolutePath();
} }
} }
QFileInfo fi(filePath);
csync_ftw_type_e type = CSYNC_FTW_TYPE_FILE; csync_ftw_type_e type = CSYNC_FTW_TYPE_FILE;
if (fi.isDir()) { if (fi.isDir()) {
type = CSYNC_FTW_TYPE_DIR; type = CSYNC_FTW_TYPE_DIR;
+2 -1
Ver Arquivo
@@ -29,10 +29,11 @@
#endif #endif
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <windows.h>
#include <windef.h> #include <windef.h>
#include <winbase.h> #include <winbase.h>
#include <fcntl.h> #include <fcntl.h>
#include <io.h>
#endif #endif
// We use some internals of csync: // We use some internals of csync:
+8 -2
Ver Arquivo
@@ -668,6 +668,12 @@ void PropagateDirectory::finalize()
bool ok = true; bool ok = true;
if (!_item->isEmpty() && _hasError == SyncFileItem::NoStatus) { if (!_item->isEmpty() && _hasError == SyncFileItem::NoStatus) {
if( !_item->_renameTarget.isEmpty() ) { if( !_item->_renameTarget.isEmpty() ) {
if(_item->_instruction == CSYNC_INSTRUCTION_RENAME
&& _item->_originalFile != _item->_renameTarget) {
// Remove the stale entries from the database.
_propagator->_journal->deleteFileRecord(_item->_originalFile, true);
}
_item->_file = _item->_renameTarget; _item->_file = _item->_renameTarget;
} }
@@ -686,14 +692,14 @@ void PropagateDirectory::finalize()
SyncJournalFileRecord record(*_item, _propagator->_localDir + _item->_file); SyncJournalFileRecord record(*_item, _propagator->_localDir + _item->_file);
ok = _propagator->_journal->setFileRecordMetadata(record); ok = _propagator->_journal->setFileRecordMetadata(record);
if (!ok) { if (!ok) {
_item->_status = SyncFileItem::FatalError; _hasError = _item->_status = SyncFileItem::FatalError;
_item->_errorString = tr("Error writing metadata to the database"); _item->_errorString = tr("Error writing metadata to the database");
qWarning() << "Error writing to the database for file" << _item->_file; qWarning() << "Error writing to the database for file" << _item->_file;
} }
} }
} }
_state = Finished; _state = Finished;
emit finished(_item->_status); emit finished(_hasError == SyncFileItem::NoStatus ? SyncFileItem::Success : _hasError);
} }
qint64 PropagateDirectory::committedDiskSpace() const qint64 PropagateDirectory::committedDiskSpace() const
+2 -2
Ver Arquivo
@@ -49,8 +49,8 @@ QString ownCloudTheme::about() const
"Olivier Goffart, Markus Götz and others.</small></p>" "Olivier Goffart, Markus Götz and others.</small></p>"
"<p>Copyright ownCloud GmbH</p>" "<p>Copyright ownCloud GmbH</p>"
"<p>Licensed under the GNU General Public License (GPL) Version 2.0<br/>" "<p>Licensed under the GNU General Public License (GPL) Version 2.0<br/>"
"ownCloud and the ownCloud Logo are registered trademarks of ownCloud, " "ownCloud and the ownCloud Logo are registered trademarks of ownCloud GmbH "
"Inc. in the United States, other countries, or both.</p>" "in the United States, other countries, or both.</p>"
) )
.arg(MIRALL_VERSION_STRING) .arg(MIRALL_VERSION_STRING)
.arg("https://" MIRALL_STRINGIFY(APPLICATION_DOMAIN)) .arg("https://" MIRALL_STRINGIFY(APPLICATION_DOMAIN))
+9 -3
Ver Arquivo
@@ -230,8 +230,12 @@ bool SqlQuery::isPragma()
bool SqlQuery::exec() bool SqlQuery::exec()
{ {
if (!_stmt) {
return false;
}
// Don't do anything for selects, that is how we use the lib :-| // Don't do anything for selects, that is how we use the lib :-|
if(_stmt && !isSelect() && !isPragma() ) { if( !isSelect() && !isPragma() ) {
int rc, n = 0; int rc, n = 0;
do { do {
rc = sqlite3_step(_stmt); rc = sqlite3_step(_stmt);
@@ -376,8 +380,10 @@ void SqlQuery::finish()
void SqlQuery::reset_and_clear_bindings() void SqlQuery::reset_and_clear_bindings()
{ {
SQLITE_DO(sqlite3_reset(_stmt)); if (_stmt) {
SQLITE_DO(sqlite3_clear_bindings(_stmt)); SQLITE_DO(sqlite3_reset(_stmt));
SQLITE_DO(sqlite3_clear_bindings(_stmt));
}
} }
} // namespace OCC } // namespace OCC
+36 -13
Ver Arquivo
@@ -31,6 +31,10 @@
#include <QDebug> #include <QDebug>
#include <cmath> #include <cmath>
#ifdef Q_OS_UNIX
#include <unistd.h>
#endif
namespace OCC { namespace OCC {
// Always coming in with forward slashes. // Always coming in with forward slashes.
@@ -616,30 +620,47 @@ static QString makeRecallFileName(const QString &fn)
return recallFileName; return recallFileName;
} }
static void handleRecallFile(const QString &fn) void handleRecallFile(const QString& filePath, const QString& folderPath, SyncJournalDb& journal)
{ {
qDebug() << "handleRecallFile: " << fn; qDebug() << "handleRecallFile: " << filePath;
FileSystem::setFileHidden(fn, true); FileSystem::setFileHidden(filePath, true);
QFile file(fn); QFile file(filePath);
if (!file.open(QIODevice::ReadOnly)) { if (!file.open(QIODevice::ReadOnly)) {
qWarning() << "Could not open recall file" << file.errorString(); qWarning() << "Could not open recall file" << file.errorString();
return; return;
} }
QFileInfo existingFile(fn); QFileInfo existingFile(filePath);
QDir thisDir = existingFile.dir(); QDir baseDir = existingFile.dir();
while (!file.atEnd()) { while (!file.atEnd()) {
QByteArray line = file.readLine(); QByteArray line = file.readLine();
line.chop(1); // remove trailing \n line.chop(1); // remove trailing \n
QString fpath = thisDir.filePath(line);
QString rpath = makeRecallFileName(fpath);
qDebug() << "Copy recall file: " << fpath << " -> " << rpath; QString recalledFile = QDir::cleanPath(baseDir.filePath(line));
if (!recalledFile.startsWith(folderPath) || !recalledFile.startsWith(baseDir.path())) {
qDebug() << "Ignoring recall of " << recalledFile;
continue;
}
// Path of the recalled file in the local folder
QString localRecalledFile = recalledFile.mid(folderPath.size());
SyncJournalFileRecord record = journal.getFileRecord(localRecalledFile);
if (!record.isValid()) {
qDebug() << "No db entry for recall of" << localRecalledFile;
continue;
}
qDebug() << "Recalling" << localRecalledFile << "Checksum:" << record._contentChecksumType << record._contentChecksum;
QString targetPath = makeRecallFileName(recalledFile);
qDebug() << "Copy recall file: " << recalledFile << " -> " << targetPath;
// Remove the target first, QFile::copy will not overwrite it. // Remove the target first, QFile::copy will not overwrite it.
FileSystem::remove(rpath); FileSystem::remove(targetPath);
QFile::copy(fpath, rpath); QFile::copy(recalledFile, targetPath);
} }
} }
@@ -796,8 +817,10 @@ void PropagateDownloadFile::downloadFinished()
done(isConflict ? SyncFileItem::Conflict : SyncFileItem::Success); done(isConflict ? SyncFileItem::Conflict : SyncFileItem::Success);
// handle the special recall file // handle the special recall file
if(_item->_file == QLatin1String(".sys.admin#recall#") || _item->_file.endsWith("/.sys.admin#recall#")) { if(!_item->_remotePerm.contains("S")
handleRecallFile(fn); && (_item->_file == QLatin1String(".sys.admin#recall#")
|| _item->_file.endsWith("/.sys.admin#recall#"))) {
handleRecallFile(fn, _propagator->_localDir, *_propagator->_journal);
} }
qint64 duration = _stopwatch.elapsed(); qint64 duration = _stopwatch.elapsed();
+36
Ver Arquivo
@@ -13,6 +13,7 @@
*/ */
#include "propagateremotemove.h" #include "propagateremotemove.h"
#include "propagatorjobs.h"
#include "owncloudpropagator_p.h" #include "owncloudpropagator_p.h"
#include "account.h" #include "account.h"
#include "syncjournalfilerecord.h" #include "syncjournalfilerecord.h"
@@ -175,10 +176,45 @@ void PropagateRemoteMove::finalize()
done(SyncFileItem::FatalError, tr("Error writing metadata to the database")); done(SyncFileItem::FatalError, tr("Error writing metadata to the database"));
return; return;
} }
if (_item->_isDirectory) {
if (!adjustSelectiveSync(_propagator->_journal, _item->_file, _item->_renameTarget)) {
done(SyncFileItem::FatalError, tr("Error writing metadata to the database"));
return;
}
}
_propagator->_journal->commit("Remote Rename"); _propagator->_journal->commit("Remote Rename");
done(SyncFileItem::Success); done(SyncFileItem::Success);
} }
bool PropagateRemoteMove::adjustSelectiveSync(SyncJournalDb *journal, const QString &from_, const QString &to_)
{
bool ok;
// We only care about preserving the blacklist. The white list should anyway be empty.
// And the undecided list will be repopulated on the next sync, if there is anything too big.
QStringList list = journal->getSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, &ok);
if (!ok)
return false;
bool changed = false;
Q_ASSERT(!from_.endsWith(QLatin1String("/")));
Q_ASSERT(!to_.endsWith(QLatin1String("/")));
QString from = from_ + QLatin1String("/");
QString to = to_ + QLatin1String("/");
for (auto it = list.begin(); it != list.end(); ++it) {
if (it->startsWith(from)) {
*it = it->replace(0, from.size(), to);
changed = true;
}
}
if (changed) {
journal->setSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, list);
}
return true;
}
} }
+6
Ver Arquivo
@@ -51,6 +51,12 @@ public:
void start() Q_DECL_OVERRIDE; void start() Q_DECL_OVERRIDE;
void abort() Q_DECL_OVERRIDE; void abort() Q_DECL_OVERRIDE;
JobParallelism parallelism() Q_DECL_OVERRIDE { return OCC::PropagatorJob::WaitForFinishedInParentDirectory; } JobParallelism parallelism() Q_DECL_OVERRIDE { return OCC::PropagatorJob::WaitForFinishedInParentDirectory; }
/**
* Rename the directory in the selective sync list
*/
static bool adjustSelectiveSync(SyncJournalDb *journal, const QString &from, const QString &to);
private slots: private slots:
void slotMoveJobFinished(); void slotMoveJobFinished();
void finalize(); void finalize();
+8 -2
Ver Arquivo
@@ -15,7 +15,7 @@
#include "propagatorjobs.h" #include "propagatorjobs.h"
#include "owncloudpropagator_p.h" #include "owncloudpropagator_p.h"
#include "propagateremotemove.h"
#include "utility.h" #include "utility.h"
#include "syncjournaldb.h" #include "syncjournaldb.h"
#include "syncjournalfilerecord.h" #include "syncjournalfilerecord.h"
@@ -231,6 +231,7 @@ void PropagateLocalRename::start()
_propagator->_journal->deleteFileRecord(_item->_originalFile); _propagator->_journal->deleteFileRecord(_item->_originalFile);
// store the rename file name in the item. // store the rename file name in the item.
const auto oldFile = _item->_file;
_item->_file = _item->_renameTarget; _item->_file = _item->_renameTarget;
SyncJournalFileRecord record(*_item, targetFile); SyncJournalFileRecord record(*_item, targetFile);
@@ -245,9 +246,14 @@ void PropagateLocalRename::start()
done(SyncFileItem::FatalError, tr("Error writing metadata to the database")); done(SyncFileItem::FatalError, tr("Error writing metadata to the database"));
return; return;
} }
} else {
if (!PropagateRemoteMove::adjustSelectiveSync(_propagator->_journal, oldFile, _item->_renameTarget)) {
done(SyncFileItem::FatalError, tr("Error writing metadata to the database"));
return;
}
} }
_propagator->_journal->commit("localRename");
_propagator->_journal->commit("localRename");
done(SyncFileItem::Success); done(SyncFileItem::Success);
} }
+1
Ver Arquivo
@@ -868,6 +868,7 @@ void SyncEngine::slotDiscoveryJobFinished(int discoveryResult)
bool walkOk = true; bool walkOk = true;
_seenFiles.clear(); _seenFiles.clear();
_temporarilyUnavailablePaths.clear(); _temporarilyUnavailablePaths.clear();
_renamedFolders.clear();
if( csync_walk_local_tree(_csync_ctx, &treewalkLocal, 0) < 0 ) { if( csync_walk_local_tree(_csync_ctx, &treewalkLocal, 0) < 0 ) {
qDebug() << "Error in local treewalk."; qDebug() << "Error in local treewalk.";
-1
Ver Arquivo
@@ -202,7 +202,6 @@ private:
SyncJournalDb *_journal; SyncJournalDb *_journal;
QPointer<DiscoveryMainThread> _discoveryMainThread; QPointer<DiscoveryMainThread> _discoveryMainThread;
QSharedPointer <OwncloudPropagator> _propagator; QSharedPointer <OwncloudPropagator> _propagator;
QString _lastDeleted; // if the last item was a path and it has been deleted
// After a sync, only the syncdb entries whose filenames appear in this // After a sync, only the syncdb entries whose filenames appear in this
// set will be kept. See _temporarilyUnavailablePaths. // set will be kept. See _temporarilyUnavailablePaths.
+75 -31
Ver Arquivo
@@ -318,7 +318,9 @@ bool SyncJournalDb::checkConnect()
createQuery.bindValue(2, MIRALL_VERSION_MINOR); createQuery.bindValue(2, MIRALL_VERSION_MINOR);
createQuery.bindValue(3, MIRALL_VERSION_PATCH); createQuery.bindValue(3, MIRALL_VERSION_PATCH);
createQuery.bindValue(4, MIRALL_VERSION_BUILD); createQuery.bindValue(4, MIRALL_VERSION_BUILD);
createQuery.exec(); if (!createQuery.exec()) {
return sqlFail("Update version", createQuery);
}
} else { } else {
int major = versionQuery.intValue(0); int major = versionQuery.intValue(0);
@@ -367,60 +369,84 @@ bool SyncJournalDb::checkConnect()
} }
_getFileRecordQuery.reset(new SqlQuery(_db)); _getFileRecordQuery.reset(new SqlQuery(_db));
_getFileRecordQuery->prepare( if (_getFileRecordQuery->prepare(
"SELECT path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize," "SELECT path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize,"
" ignoredChildrenRemote, contentChecksum, contentchecksumtype.name" " ignoredChildrenRemote, contentChecksum, contentchecksumtype.name"
" FROM metadata" " FROM metadata"
" LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id" " LEFT JOIN checksumtype as contentchecksumtype ON metadata.contentChecksumTypeId == contentchecksumtype.id"
" WHERE phash=?1" ); " WHERE phash=?1" )) {
return sqlFail("prepare _getFileRecordQuery", *_getFileRecordQuery);
}
_setFileRecordQuery.reset(new SqlQuery(_db) ); _setFileRecordQuery.reset(new SqlQuery(_db) );
_setFileRecordQuery->prepare("INSERT OR REPLACE INTO metadata " if (_setFileRecordQuery->prepare("INSERT OR REPLACE INTO metadata "
"(phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentChecksum, contentChecksumTypeId) " "(phash, pathlen, path, inode, uid, gid, mode, modtime, type, md5, fileid, remotePerm, filesize, ignoredChildrenRemote, contentChecksum, contentChecksumTypeId) "
"VALUES (?1 , ?2, ?3 , ?4 , ?5 , ?6 , ?7, ?8 , ?9 , ?10, ?11, ?12, ?13, ?14, ?15, ?16);" ); "VALUES (?1 , ?2, ?3 , ?4 , ?5 , ?6 , ?7, ?8 , ?9 , ?10, ?11, ?12, ?13, ?14, ?15, ?16);" )) {
return sqlFail("prepare _setFileRecordQuery", *_setFileRecordQuery);
}
_setFileRecordChecksumQuery.reset(new SqlQuery(_db) ); _setFileRecordChecksumQuery.reset(new SqlQuery(_db) );
_setFileRecordChecksumQuery->prepare( if (_setFileRecordChecksumQuery->prepare(
"UPDATE metadata" "UPDATE metadata"
" SET contentChecksum = ?2, contentChecksumTypeId = ?3" " SET contentChecksum = ?2, contentChecksumTypeId = ?3"
" WHERE phash == ?1;"); " WHERE phash == ?1;")) {
return sqlFail("prepare _setFileRecordChecksumQuery", *_setFileRecordChecksumQuery);
}
_setFileRecordLocalMetadataQuery.reset(new SqlQuery(_db)); _setFileRecordLocalMetadataQuery.reset(new SqlQuery(_db));
_setFileRecordLocalMetadataQuery->prepare( if (_setFileRecordLocalMetadataQuery->prepare(
"UPDATE metadata" "UPDATE metadata"
" SET inode=?2, modtime=?3, filesize=?4" " SET inode=?2, modtime=?3, filesize=?4"
" WHERE phash == ?1;"); " WHERE phash == ?1;")) {
return sqlFail("prepare _setFileRecordLocalMetadataQuery", *_setFileRecordLocalMetadataQuery);
}
_getDownloadInfoQuery.reset(new SqlQuery(_db) ); _getDownloadInfoQuery.reset(new SqlQuery(_db) );
_getDownloadInfoQuery->prepare( "SELECT tmpfile, etag, errorcount FROM " if (_getDownloadInfoQuery->prepare( "SELECT tmpfile, etag, errorcount FROM "
"downloadinfo WHERE path=?1" ); "downloadinfo WHERE path=?1" )) {
return sqlFail("prepare _getDownloadInfoQuery", *_getDownloadInfoQuery);
}
_setDownloadInfoQuery.reset(new SqlQuery(_db) ); _setDownloadInfoQuery.reset(new SqlQuery(_db) );
_setDownloadInfoQuery->prepare( "INSERT OR REPLACE INTO downloadinfo " if (_setDownloadInfoQuery->prepare( "INSERT OR REPLACE INTO downloadinfo "
"(path, tmpfile, etag, errorcount) " "(path, tmpfile, etag, errorcount) "
"VALUES ( ?1 , ?2, ?3, ?4 )" ); "VALUES ( ?1 , ?2, ?3, ?4 )" )) {
return sqlFail("prepare _setDownloadInfoQuery", *_setDownloadInfoQuery);
}
_deleteDownloadInfoQuery.reset(new SqlQuery(_db) ); _deleteDownloadInfoQuery.reset(new SqlQuery(_db) );
_deleteDownloadInfoQuery->prepare( "DELETE FROM downloadinfo WHERE path=?1" ); if (_deleteDownloadInfoQuery->prepare( "DELETE FROM downloadinfo WHERE path=?1" )) {
return sqlFail("prepare _deleteDownloadInfoQuery", *_deleteDownloadInfoQuery);
}
_getUploadInfoQuery.reset(new SqlQuery(_db)); _getUploadInfoQuery.reset(new SqlQuery(_db));
_getUploadInfoQuery->prepare( "SELECT chunk, transferid, errorcount, size, modtime FROM " if (_getUploadInfoQuery->prepare( "SELECT chunk, transferid, errorcount, size, modtime FROM "
"uploadinfo WHERE path=?1" ); "uploadinfo WHERE path=?1" )) {
return sqlFail("prepare _getUploadInfoQuery", *_getUploadInfoQuery);
}
_setUploadInfoQuery.reset(new SqlQuery(_db)); _setUploadInfoQuery.reset(new SqlQuery(_db));
_setUploadInfoQuery->prepare( "INSERT OR REPLACE INTO uploadinfo " if (_setUploadInfoQuery->prepare( "INSERT OR REPLACE INTO uploadinfo "
"(path, chunk, transferid, errorcount, size, modtime) " "(path, chunk, transferid, errorcount, size, modtime) "
"VALUES ( ?1 , ?2, ?3 , ?4 , ?5, ?6 )"); "VALUES ( ?1 , ?2, ?3 , ?4 , ?5, ?6 )")) {
return sqlFail("prepare _setUploadInfoQuery", *_setUploadInfoQuery);
}
_deleteUploadInfoQuery.reset(new SqlQuery(_db)); _deleteUploadInfoQuery.reset(new SqlQuery(_db));
_deleteUploadInfoQuery->prepare("DELETE FROM uploadinfo WHERE path=?1" ); if (_deleteUploadInfoQuery->prepare("DELETE FROM uploadinfo WHERE path=?1" )) {
return sqlFail("prepare _deleteUploadInfoQuery", *_deleteUploadInfoQuery);
}
_deleteFileRecordPhash.reset(new SqlQuery(_db)); _deleteFileRecordPhash.reset(new SqlQuery(_db));
_deleteFileRecordPhash->prepare("DELETE FROM metadata WHERE phash=?1"); if (_deleteFileRecordPhash->prepare("DELETE FROM metadata WHERE phash=?1")) {
return sqlFail("prepare _deleteFileRecordPhash", *_deleteFileRecordPhash);
}
_deleteFileRecordRecursively.reset(new SqlQuery(_db)); _deleteFileRecordRecursively.reset(new SqlQuery(_db));
_deleteFileRecordRecursively->prepare("DELETE FROM metadata WHERE path LIKE(?||'/%')"); if (_deleteFileRecordRecursively->prepare("DELETE FROM metadata WHERE path LIKE(?||'/%')")) {
return sqlFail("prepare _deleteFileRecordRecursively", *_deleteFileRecordRecursively);
}
QString sql( "SELECT lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget " QString sql( "SELECT lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget "
"FROM blacklist WHERE path=?1"); "FROM blacklist WHERE path=?1");
@@ -430,32 +456,50 @@ bool SyncJournalDb::checkConnect()
sql += QLatin1String(" COLLATE NOCASE"); sql += QLatin1String(" COLLATE NOCASE");
} }
_getErrorBlacklistQuery.reset(new SqlQuery(_db)); _getErrorBlacklistQuery.reset(new SqlQuery(_db));
_getErrorBlacklistQuery->prepare(sql); if (_getErrorBlacklistQuery->prepare(sql)) {
return sqlFail("prepare _getErrorBlacklistQuery", *_getErrorBlacklistQuery);
}
_setErrorBlacklistQuery.reset(new SqlQuery(_db)); _setErrorBlacklistQuery.reset(new SqlQuery(_db));
_setErrorBlacklistQuery->prepare("INSERT OR REPLACE INTO blacklist " if (_setErrorBlacklistQuery->prepare("INSERT OR REPLACE INTO blacklist "
"(path, lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget) " "(path, lastTryEtag, lastTryModtime, retrycount, errorstring, lastTryTime, ignoreDuration, renameTarget) "
"VALUES ( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8)"); "VALUES ( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8)")) {
return sqlFail("prepare _setErrorBlacklistQuery", *_setErrorBlacklistQuery);
}
_getSelectiveSyncListQuery.reset(new SqlQuery(_db)); _getSelectiveSyncListQuery.reset(new SqlQuery(_db));
_getSelectiveSyncListQuery->prepare("SELECT path FROM selectivesync WHERE type=?1"); if (_getSelectiveSyncListQuery->prepare("SELECT path FROM selectivesync WHERE type=?1")) {
return sqlFail("prepare _getSelectiveSyncListQuery", *_getSelectiveSyncListQuery);
}
_getChecksumTypeIdQuery.reset(new SqlQuery(_db)); _getChecksumTypeIdQuery.reset(new SqlQuery(_db));
_getChecksumTypeIdQuery->prepare("SELECT id FROM checksumtype WHERE name=?1"); if (_getChecksumTypeIdQuery->prepare("SELECT id FROM checksumtype WHERE name=?1")) {
return sqlFail("prepare _getChecksumTypeIdQuery", *_getChecksumTypeIdQuery);
}
_getChecksumTypeQuery.reset(new SqlQuery(_db)); _getChecksumTypeQuery.reset(new SqlQuery(_db));
_getChecksumTypeQuery->prepare("SELECT name FROM checksumtype WHERE id=?1"); if (_getChecksumTypeQuery->prepare("SELECT name FROM checksumtype WHERE id=?1")) {
return sqlFail("prepare _getChecksumTypeQuery", *_getChecksumTypeQuery);
}
_insertChecksumTypeQuery.reset(new SqlQuery(_db)); _insertChecksumTypeQuery.reset(new SqlQuery(_db));
_insertChecksumTypeQuery->prepare("INSERT OR IGNORE INTO checksumtype (name) VALUES (?1)"); if (_insertChecksumTypeQuery->prepare("INSERT OR IGNORE INTO checksumtype (name) VALUES (?1)")) {
return sqlFail("prepare _insertChecksumTypeQuery", *_insertChecksumTypeQuery);
}
_getDataFingerprintQuery.reset(new SqlQuery(_db)); _getDataFingerprintQuery.reset(new SqlQuery(_db));
_getDataFingerprintQuery->prepare("SELECT fingerprint FROM datafingerprint"); if (_getDataFingerprintQuery->prepare("SELECT fingerprint FROM datafingerprint")) {
return sqlFail("prepare _getDataFingerprintQuery", *_getDataFingerprintQuery);
}
_setDataFingerprintQuery1.reset(new SqlQuery(_db)); _setDataFingerprintQuery1.reset(new SqlQuery(_db));
_setDataFingerprintQuery1->prepare("DELETE FROM datafingerprint;"); if (_setDataFingerprintQuery1->prepare("DELETE FROM datafingerprint;")) {
return sqlFail("prepare _setDataFingerprintQuery1", *_setDataFingerprintQuery1);
}
_setDataFingerprintQuery2.reset(new SqlQuery(_db)); _setDataFingerprintQuery2.reset(new SqlQuery(_db));
_setDataFingerprintQuery2->prepare("INSERT INTO datafingerprint (fingerprint) VALUES (?1);"); if (_setDataFingerprintQuery2->prepare("INSERT INTO datafingerprint (fingerprint) VALUES (?1);")) {
return sqlFail("prepare _setDataFingerprintQuery2", *_setDataFingerprintQuery2);
}
// don't start a new transaction now // don't start a new transaction now
commitInternal(QString("checkConnect End"), false); commitInternal(QString("checkConnect End"), false);
+22 -7
Ver Arquivo
@@ -115,11 +115,11 @@ QIcon Theme::trayFolderIcon( const QString& backend ) const
* helper to load a icon from either the icon theme the desktop provides or from * helper to load a icon from either the icon theme the desktop provides or from
* the apps Qt resources. * the apps Qt resources.
*/ */
QIcon Theme::themeIcon( const QString& name, bool sysTray ) const QIcon Theme::themeIcon( const QString& name, bool sysTray, bool sysTrayMenuVisible ) const
{ {
QString flavor; QString flavor;
if (sysTray) { if (sysTray) {
flavor = systrayIconFlavor(_mono); flavor = systrayIconFlavor(_mono, sysTrayMenuVisible);
} else { } else {
flavor = QLatin1String("colored"); flavor = QLatin1String("colored");
} }
@@ -158,6 +158,14 @@ QIcon Theme::themeIcon( const QString& name, bool sysTray ) const
} }
} }
#ifdef Q_OS_MAC
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
// This defines the icon as a template and enables automatic macOS color handling
// See https://bugreports.qt.io/browse/QTBUG-42109
cached.setIsMask(_mono && sysTray && !sysTrayMenuVisible);
#endif
#endif
return cached; return cached;
} }
@@ -227,11 +235,18 @@ QString Theme::defaultClientFolder() const
return appName(); return appName();
} }
QString Theme::systrayIconFlavor(bool mono) const QString Theme::systrayIconFlavor(bool mono, bool sysTrayMenuVisible ) const
{ {
Q_UNUSED(sysTrayMenuVisible)
QString flavor; QString flavor;
if (mono) { if (mono) {
flavor = Utility::hasDarkSystray() ? QLatin1String("white") : QLatin1String("black"); flavor = Utility::hasDarkSystray() ? QLatin1String("white") : QLatin1String("black");
#ifdef Q_OS_MAC
if (sysTrayMenuVisible) {
flavor = QLatin1String("white");
}
#endif
} else { } else {
flavor = QLatin1String("colored"); flavor = QLatin1String("colored");
} }
@@ -331,7 +346,7 @@ QVariant Theme::customMedia( CustomMediaType type )
return re; return re;
} }
QIcon Theme::syncStateIcon( SyncResult::Status status, bool sysTray ) const QIcon Theme::syncStateIcon( SyncResult::Status status, bool sysTray, bool sysTrayMenuVisible ) const
{ {
// FIXME: Mind the size! // FIXME: Mind the size!
QString statusIcon; QString statusIcon;
@@ -363,7 +378,7 @@ QIcon Theme::syncStateIcon( SyncResult::Status status, bool sysTray ) const
statusIcon = QLatin1String("state-error"); statusIcon = QLatin1String("state-error");
} }
return themeIcon( statusIcon, sysTray ); return themeIcon( statusIcon, sysTray, sysTrayMenuVisible );
} }
QIcon Theme::folderDisabledIcon( ) const QIcon Theme::folderDisabledIcon( ) const
@@ -371,9 +386,9 @@ QIcon Theme::folderDisabledIcon( ) const
return themeIcon( QLatin1String("state-pause") ); return themeIcon( QLatin1String("state-pause") );
} }
QIcon Theme::folderOfflineIcon(bool systray) const QIcon Theme::folderOfflineIcon(bool sysTray, bool sysTrayMenuVisible ) const
{ {
return themeIcon( QLatin1String("state-offline"), systray ); return themeIcon( QLatin1String("state-offline"), sysTray, sysTrayMenuVisible );
} }
QColor Theme::wizardHeaderTitleColor() const QColor Theme::wizardHeaderTitleColor() const
+4 -4
Ver Arquivo
@@ -97,10 +97,10 @@ public:
/** /**
* get an sync state icon * get an sync state icon
*/ */
virtual QIcon syncStateIcon( SyncResult::Status, bool sysTray = false ) const; virtual QIcon syncStateIcon( SyncResult::Status, bool sysTray = false, bool sysTrayMenuVisible = false) const;
virtual QIcon folderDisabledIcon() const; virtual QIcon folderDisabledIcon() const;
virtual QIcon folderOfflineIcon(bool systray = false) const; virtual QIcon folderOfflineIcon(bool sysTray = false, bool sysTrayMenuVisible = false) const;
virtual QIcon applicationIcon() const = 0; virtual QIcon applicationIcon() const = 0;
#endif #endif
@@ -152,7 +152,7 @@ public:
virtual QString enforcedLocale() const { return QString::null; } virtual QString enforcedLocale() const { return QString::null; }
/** colored, white or black */ /** colored, white or black */
QString systrayIconFlavor(bool mono) const; QString systrayIconFlavor(bool mono, bool sysTrayMenuVisible = false) const;
#ifndef TOKEN_AUTH_ONLY #ifndef TOKEN_AUTH_ONLY
/** /**
@@ -304,7 +304,7 @@ public:
protected: protected:
#ifndef TOKEN_AUTH_ONLY #ifndef TOKEN_AUTH_ONLY
QIcon themeIcon(const QString& name, bool sysTray = false) const; QIcon themeIcon(const QString& name, bool sysTray = false, bool sysTrayMenuVisible = false) const;
#endif #endif
Theme(); Theme();
+77 -4
Ver Arquivo
@@ -14,17 +14,21 @@
#include <QDir> #include <QDir>
#include <QNetworkReply> #include <QNetworkReply>
#include <QMap>
#include <QtTest> #include <QtTest>
static const QUrl sRootUrl("owncloud://somehost/owncloud/remote.php/webdav/"); static const QUrl sRootUrl("owncloud://somehost/owncloud/remote.php/webdav/");
namespace { inline QString generateEtag() {
QString generateEtag() {
return QString::number(QDateTime::currentDateTime().toMSecsSinceEpoch(), 16); return QString::number(QDateTime::currentDateTime().toMSecsSinceEpoch(), 16);
} }
inline QByteArray generateFileId() {
return QByteArray::number(qrand(), 16);
}
class PathComponents : public QStringList { class PathComponents : public QStringList {
public: public:
PathComponents(const char *path) : PathComponents{QString::fromUtf8(path)} {}
PathComponents(const QString &path) : QStringList{path.split('/', QString::SkipEmptyParts)} { } PathComponents(const QString &path) : QStringList{path.split('/', QString::SkipEmptyParts)} { }
PathComponents(const QStringList &pathComponents) : QStringList{pathComponents} { } PathComponents(const QStringList &pathComponents) : QStringList{pathComponents} { }
@@ -35,7 +39,6 @@ public:
QString pathRoot() const { return first(); } QString pathRoot() const { return first(); }
QString fileName() const { return last(); } QString fileName() const { return last(); }
}; };
}
class FileModifier class FileModifier
{ {
@@ -46,6 +49,7 @@ public:
virtual void setContents(const QString &relativePath, char contentChar) = 0; virtual void setContents(const QString &relativePath, char contentChar) = 0;
virtual void appendByte(const QString &relativePath) = 0; virtual void appendByte(const QString &relativePath) = 0;
virtual void mkdir(const QString &relativePath) = 0; virtual void mkdir(const QString &relativePath) = 0;
virtual void rename(const QString &relativePath, const QString &relativeDestinationDirectory) = 0;
}; };
class DiskFileModifier : public FileModifier class DiskFileModifier : public FileModifier
@@ -87,6 +91,10 @@ public:
void mkdir(const QString &relativePath) override { void mkdir(const QString &relativePath) override {
_rootDir.mkpath(relativePath); _rootDir.mkpath(relativePath);
} }
void rename(const QString &from, const QString &to) override {
QVERIFY(_rootDir.exists(from));
QVERIFY(_rootDir.rename(from, to));
}
}; };
class FileInfo : public FileModifier class FileInfo : public FileModifier
@@ -127,6 +135,7 @@ public:
for (const auto &source : children) { for (const auto &source : children) {
auto &dest = this->children[source.name] = source; auto &dest = this->children[source.name] = source;
dest.parentPath = p; dest.parentPath = p;
dest.fixupParentPathRecursively();
} }
} }
@@ -158,6 +167,21 @@ public:
createDir(relativePath); createDir(relativePath);
} }
void rename(const QString &oldPath, const QString &newPath) override {
const PathComponents newPathComponents{newPath};
FileInfo *dir = findInvalidatingEtags(newPathComponents.parentDirComponents());
Q_ASSERT(dir);
Q_ASSERT(dir->isDir);
const PathComponents pathComponents{oldPath};
FileInfo *parent = findInvalidatingEtags(pathComponents.parentDirComponents());
Q_ASSERT(parent);
FileInfo fi = parent->children.take(pathComponents.fileName());
fi.parentPath = dir->path();
fi.name = newPathComponents.fileName();
fi.fixupParentPathRecursively();
dir->children.insert(newPathComponents.fileName(), std::move(fi));
}
FileInfo *find(const PathComponents &pathComponents, const bool invalidateEtags = false) { FileInfo *find(const PathComponents &pathComponents, const bool invalidateEtags = false) {
if (pathComponents.isEmpty()) { if (pathComponents.isEmpty()) {
if (invalidateEtags) if (invalidateEtags)
@@ -219,6 +243,7 @@ public:
bool isShared = false; bool isShared = false;
QDateTime lastModified = QDateTime::currentDateTime().addDays(-7); QDateTime lastModified = QDateTime::currentDateTime().addDays(-7);
QString etag = generateEtag(); QString etag = generateEtag();
QByteArray fileId = generateFileId();
qint64 size = 0; qint64 size = 0;
char contentChar = 'W'; char contentChar = 'W';
@@ -230,6 +255,19 @@ private:
FileInfo *findInvalidatingEtags(const PathComponents &pathComponents) { FileInfo *findInvalidatingEtags(const PathComponents &pathComponents) {
return find(pathComponents, true); return find(pathComponents, true);
} }
void fixupParentPathRecursively() {
auto p = path();
for (auto it = children.begin(); it != children.end(); ++it) {
Q_ASSERT(it.key() == it->name);
it->parentPath = p;
it->fixupParentPathRecursively();
}
}
friend inline QDebug operator<<(QDebug dbg, const FileInfo& fi) {
return dbg << "{ " << fi.path() << ": " << fi.children;
}
}; };
class FakePropfindReply : public QNetworkReply class FakePropfindReply : public QNetworkReply
@@ -275,6 +313,7 @@ public:
xml.writeTextElement(davUri, QStringLiteral("getcontentlength"), QString::number(fileInfo.size)); xml.writeTextElement(davUri, QStringLiteral("getcontentlength"), QString::number(fileInfo.size));
xml.writeTextElement(davUri, QStringLiteral("getetag"), fileInfo.etag); xml.writeTextElement(davUri, QStringLiteral("getetag"), fileInfo.etag);
xml.writeTextElement(ocUri, QStringLiteral("permissions"), fileInfo.isShared ? QStringLiteral("SRDNVCKW") : QStringLiteral("RDNVCKW")); xml.writeTextElement(ocUri, QStringLiteral("permissions"), fileInfo.isShared ? QStringLiteral("SRDNVCKW") : QStringLiteral("RDNVCKW"));
xml.writeTextElement(ocUri, QStringLiteral("id"), fileInfo.fileId);
xml.writeEndElement(); // prop xml.writeEndElement(); // prop
xml.writeTextElement(davUri, QStringLiteral("status"), "HTTP/1.1 200 OK"); xml.writeTextElement(davUri, QStringLiteral("status"), "HTTP/1.1 200 OK");
xml.writeEndElement(); // propstat xml.writeEndElement(); // propstat
@@ -284,6 +323,7 @@ public:
Q_ASSERT(request.url().path().startsWith(sRootUrl.path())); Q_ASSERT(request.url().path().startsWith(sRootUrl.path()));
QString fileName = request.url().path().mid(sRootUrl.path().length()); QString fileName = request.url().path().mid(sRootUrl.path().length());
const FileInfo *fileInfo = remoteRootFileInfo.find(fileName); const FileInfo *fileInfo = remoteRootFileInfo.find(fileName);
Q_ASSERT(fileInfo);
writeFileResponse(*fileInfo); writeFileResponse(*fileInfo);
foreach(const FileInfo &childFileInfo, fileInfo->children) foreach(const FileInfo &childFileInfo, fileInfo->children)
@@ -382,7 +422,7 @@ public:
} }
Q_INVOKABLE void respond() { Q_INVOKABLE void respond() {
// FIXME: setRawHeader("OC-FileId", fileInfo->???); setRawHeader("OC-FileId", fileInfo->fileId);
setAttribute(QNetworkRequest::HttpStatusCodeAttribute, 201); setAttribute(QNetworkRequest::HttpStatusCodeAttribute, 201);
emit metaDataChanged(); emit metaDataChanged();
emit finished(); emit finished();
@@ -419,6 +459,36 @@ public:
qint64 readData(char *, qint64) override { return 0; } qint64 readData(char *, qint64) override { return 0; }
}; };
class FakeMoveReply : public QNetworkReply
{
Q_OBJECT
public:
FakeMoveReply(FileInfo &remoteRootFileInfo, QNetworkAccessManager::Operation op, const QNetworkRequest &request, QObject *parent)
: QNetworkReply{parent} {
setRequest(request);
setUrl(request.url());
setOperation(op);
open(QIODevice::ReadOnly);
Q_ASSERT(request.url().path().startsWith(sRootUrl.path()));
QString fileName = request.url().path().mid(sRootUrl.path().length());
QString destPath = request.rawHeader("Destination");
Q_ASSERT(destPath.startsWith(sRootUrl.path()));
QString dest = destPath.mid(sRootUrl.path().length());
remoteRootFileInfo.rename(fileName, dest);
QMetaObject::invokeMethod(this, "respond", Qt::QueuedConnection);
}
Q_INVOKABLE void respond() {
setAttribute(QNetworkRequest::HttpStatusCodeAttribute, 201);
emit metaDataChanged();
emit finished();
}
void abort() override { }
qint64 readData(char *, qint64) override { return 0; }
};
class FakeGetReply : public QNetworkReply class FakeGetReply : public QNetworkReply
{ {
Q_OBJECT Q_OBJECT
@@ -445,6 +515,7 @@ public:
setAttribute(QNetworkRequest::HttpStatusCodeAttribute, 200); setAttribute(QNetworkRequest::HttpStatusCodeAttribute, 200);
setRawHeader("OC-ETag", fileInfo->etag.toLatin1()); setRawHeader("OC-ETag", fileInfo->etag.toLatin1());
setRawHeader("ETag", fileInfo->etag.toLatin1()); setRawHeader("ETag", fileInfo->etag.toLatin1());
setRawHeader("OC-FileId", fileInfo->fileId);
emit metaDataChanged(); emit metaDataChanged();
if (bytesAvailable()) if (bytesAvailable())
emit readyRead(); emit readyRead();
@@ -513,6 +584,8 @@ protected:
return new FakeMkcolReply{_remoteRootFileInfo, op, request, this}; return new FakeMkcolReply{_remoteRootFileInfo, op, request, this};
else if (verb == QLatin1String("DELETE")) else if (verb == QLatin1String("DELETE"))
return new FakeDeleteReply{_remoteRootFileInfo, op, request, this}; return new FakeDeleteReply{_remoteRootFileInfo, op, request, this};
else if (verb == QLatin1String("MOVE"))
return new FakeMoveReply{_remoteRootFileInfo, op, request, this};
else { else {
qDebug() << verb << outgoingData; qDebug() << verb << outgoingData;
Q_UNREACHABLE(); Q_UNREACHABLE();
+2
Ver Arquivo
@@ -15,6 +15,7 @@
#include "folderman.h" #include "folderman.h"
#include "account.h" #include "account.h"
#include "accountstate.h" #include "accountstate.h"
#include "configfile.h"
using namespace OCC; using namespace OCC;
@@ -39,6 +40,7 @@ private slots:
{ {
#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)
QTemporaryDir dir; QTemporaryDir dir;
ConfigFile::setConfDir(dir.path()); // we don't want to pollute the user's config file
QVERIFY(dir.isValid()); QVERIFY(dir.isValid());
QDir dir2(dir.path()); QDir dir2(dir.path());
QVERIFY(dir2.mkpath("sub/ownCloud1/folder/f")); QVERIFY(dir2.mkpath("sub/ownCloud1/folder/f"));
+22 -24
Ver Arquivo
@@ -11,18 +11,23 @@
using namespace OCC; using namespace OCC;
class TestInotifyWatcher: public FolderWatcherPrivate
struct FriendlyFolderWatcherPrivate : FolderWatcherPrivate
{
using FolderWatcherPrivate::FolderWatcherPrivate;
friend class TestInotifyWatcher;
};
class TestInotifyWatcher : public QObject
{ {
Q_OBJECT Q_OBJECT
private:
QString _root;
private slots: private slots:
void initTestCase() { // Test the recursive path listing function lists everything
qsrand(QTime::currentTime().msec()); void testAddFolderRecursiveHelper() {
QTemporaryDir tmpDir;
_root = QDir::tempPath() + "/" + "test_" + QString::number(qrand()); QString _root = tmpDir.path();
qDebug() << "creating test directory tree in " << _root; qDebug() << "creating test directory tree in " << _root;
QDir rootDir(_root); QDir rootDir(_root);
@@ -32,13 +37,13 @@ private slots:
rootDir.mkpath(_root + "/a1/b3/c3"); rootDir.mkpath(_root + "/a1/b3/c3");
rootDir.mkpath(_root + "/a2/b3/c3"); rootDir.mkpath(_root + "/a2/b3/c3");
} FriendlyFolderWatcherPrivate watcher(0, _root);
QVERIFY(watcher._fd >= 0);
QCoreApplication::processEvents(); // Let the slotAddFolderRecursive slot run;
QStringList dirs = watcher._watches.values();
// Test the recursive path listing function findFoldersBelow QVERIFY( dirs.indexOf(_root)>-1);
void testDirsBelowPath() {
QStringList dirs;
bool ok = findFoldersBelow(QDir(_root), dirs);
QVERIFY( dirs.indexOf(_root + "/a1")>-1); QVERIFY( dirs.indexOf(_root + "/a1")>-1);
QVERIFY( dirs.indexOf(_root + "/a1/b1")>-1); QVERIFY( dirs.indexOf(_root + "/a1/b1")>-1);
QVERIFY( dirs.indexOf(_root + "/a1/b1/c1")>-1); QVERIFY( dirs.indexOf(_root + "/a1/b1/c1")>-1);
@@ -53,20 +58,13 @@ private slots:
QVERIFY( dirs.indexOf(_root + "/a1/b3")>-1); QVERIFY( dirs.indexOf(_root + "/a1/b3")>-1);
QVERIFY( dirs.indexOf(_root + "/a1/b3/c3")>-1); QVERIFY( dirs.indexOf(_root + "/a1/b3/c3")>-1);
QVERIFY( dirs.indexOf(_root + "/a2")); QVERIFY( dirs.contains(_root + "/a2"));
QVERIFY( dirs.indexOf(_root + "/a2/b3")); QVERIFY( dirs.contains(_root + "/a2/b3"));
QVERIFY( dirs.indexOf(_root + "/a2/b3/c3")); QVERIFY( dirs.contains(_root + "/a2/b3/c3"));
QVERIFY2(dirs.count() == 11, "Directory count wrong."); QCOMPARE(dirs.count(), 12);
QVERIFY2(ok, "findFoldersBelow failed.");
} }
void cleanupTestCase() {
if( _root.startsWith(QDir::tempPath() )) {
system( QString("rm -rf %1").arg(_root).toLocal8Bit() );
}
}
}; };
QTEST_APPLESS_MAIN(TestInotifyWatcher) QTEST_APPLESS_MAIN(TestInotifyWatcher)
+94
Ver Arquivo
@@ -7,6 +7,7 @@
#include <QtTest> #include <QtTest>
#include "syncenginetestutils.h" #include "syncenginetestutils.h"
#include <syncengine.h>
using namespace OCC; using namespace OCC;
@@ -119,6 +120,99 @@ private slots:
QVERIFY(itemDidCompleteSuccessfully(completeSpy, "a3.eml")); QVERIFY(itemDidCompleteSuccessfully(completeSpy, "a3.eml"));
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState()); QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());
} }
void testRemoteChangeInMovedFolder() {
// issue #5192
FakeFolder fakeFolder{FileInfo{ QString(), {
FileInfo { QStringLiteral("folder"), {
FileInfo{ QStringLiteral("folderA"), { { QStringLiteral("file.txt"), 400 } } },
QStringLiteral("folderB")
}
}}}};
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());
// Edit a file in a moved directory.
fakeFolder.remoteModifier().setContents("folder/folderA/file.txt", 'a');
fakeFolder.remoteModifier().rename("folder/folderA", "folder/folderB/folderA");
fakeFolder.syncOnce();
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());
auto oldState = fakeFolder.currentLocalState();
QVERIFY(oldState.find("folder/folderB/folderA/file.txt"));
QVERIFY(!oldState.find("folder/folderA/file.txt"));
// This sync should not remove the file
fakeFolder.syncOnce();
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());
QCOMPARE(fakeFolder.currentLocalState(), oldState);
}
void testSelectiveSyncModevFolder() {
// issue #5224
FakeFolder fakeFolder{FileInfo{ QString(), {
FileInfo { QStringLiteral("parentFolder"), {
FileInfo{ QStringLiteral("subFolderA"), { { QStringLiteral("fileA.txt"), 400 } } },
FileInfo{ QStringLiteral("subFolderB"), { { QStringLiteral("fileB.txt"), 400 } } }
}
}}}};
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());
auto expectedServerState = fakeFolder.currentRemoteState();
// Remove subFolderA with selectiveSync:
fakeFolder.syncEngine().journal()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList,
{"parentFolder/subFolderA/"});
fakeFolder.syncEngine().journal()->avoidReadFromDbOnNextSync("parentFolder/subFolderA/");
fakeFolder.syncOnce();
{
// Nothing changed on the server
QCOMPARE(fakeFolder.currentRemoteState(), expectedServerState);
// The local state should not have subFolderA
auto remoteState = fakeFolder.currentRemoteState();
remoteState.remove("parentFolder/subFolderA");
QCOMPARE(fakeFolder.currentLocalState(), remoteState);
}
// Rename parentFolder on the server
fakeFolder.remoteModifier().rename("parentFolder", "parentFolderRenamed");
expectedServerState = fakeFolder.currentRemoteState();
fakeFolder.syncOnce();
{
QCOMPARE(fakeFolder.currentRemoteState(), expectedServerState);
auto remoteState = fakeFolder.currentRemoteState();
// The subFolderA should still be there on the server.
QVERIFY(remoteState.find("parentFolderRenamed/subFolderA/fileA.txt"));
// But not on the client because of the selective sync
remoteState.remove("parentFolderRenamed/subFolderA");
QCOMPARE(fakeFolder.currentLocalState(), remoteState);
}
// Rename it again, locally this time.
fakeFolder.localModifier().rename("parentFolderRenamed", "parentThirdName");
fakeFolder.syncOnce();
{
auto remoteState = fakeFolder.currentRemoteState();
// The subFolderA should still be there on the server.
QVERIFY(remoteState.find("parentThirdName/subFolderA/fileA.txt"));
// But not on the client because of the selective sync
remoteState.remove("parentThirdName/subFolderA");
QCOMPARE(fakeFolder.currentLocalState(), remoteState);
expectedServerState = fakeFolder.currentRemoteState();
QSignalSpy completeSpy(&fakeFolder.syncEngine(), SIGNAL(itemCompleted(const SyncFileItem &, const PropagatorJob &)));
fakeFolder.syncOnce(); // This sync should do nothing
QCOMPARE(completeSpy.count(), 0);
QCOMPARE(fakeFolder.currentRemoteState(), expectedServerState);
QCOMPARE(fakeFolder.currentLocalState(), remoteState);
}
}
}; };
QTEST_GUILESS_MAIN(TestSyncEngine) QTEST_GUILESS_MAIN(TestSyncEngine)
+47 -47
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Error en escriure les metadades a la base de dades</translation> <translation>Error en escriure les metadades a la base de dades</translation>
</message> </message>
@@ -892,7 +892,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation>Error en carregar la llista de carpetes del servidor.</translation> <translation>Error en carregar la llista de carpetes del servidor.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>S&apos;ha desconnectat</translation> <translation>S&apos;ha desconnectat</translation>
</message> </message>
@@ -902,96 +902,96 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation>S&apos;està comprovant els canvis a &apos;%1&apos;</translation> <translation>S&apos;està comprovant els canvis a &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation>, &apos;%1&apos;</translation> <translation>, &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>S&apos;està sincronitzant %1</translation> <translation>S&apos;està sincronitzant %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>descarrega %1/s</translation> <translation>descarrega %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>pujada %1/s</translation> <translation>pujada %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%3 de %4)</translation> <translation>%1 %2 (%3 de %4)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation>%5 pendent, %1 de %2, fitxer %3 de %4</translation> <translation>%5 pendent, %1 de %2, fitxer %3 de %4</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>fitxer %1 de %2</translation> <translation>fitxer %1 de %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>S&apos;està esperant...</translation> <translation>S&apos;està esperant...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation><numerusform>S&apos;està esperant %n altra carpeta...</numerusform><numerusform>S&apos;està esperant %n altres carpetes</numerusform></translation> <translation><numerusform>S&apos;està esperant %n altra carpeta...</numerusform><numerusform>S&apos;està esperant %n altres carpetes</numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>S&apos;està preparant per sincronitzar...</translation> <translation>S&apos;està preparant per sincronitzar...</translation>
</message> </message>
@@ -1916,7 +1916,7 @@ No és aconsellada usar-la.</translation>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Error en escriure les metadades a la base de dades</translation> <translation>Error en escriure les metadades a la base de dades</translation>
</message> </message>
@@ -1954,17 +1954,17 @@ No és aconsellada usar-la.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation>El fitxer ha canviat des de que es va descobrir</translation> <translation>El fitxer ha canviat des de que es va descobrir</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Error en escriure les metadades a la base de dades</translation> <translation>Error en escriure les metadades a la base de dades</translation>
</message> </message>
@@ -2450,18 +2450,18 @@ No és aconsellada usar-la.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation>La comp&amp;artició pública requereix una contrasenya</translation> <translation>La comp&amp;artició pública requereix una contrasenya</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>Establiu la contrasenya</translation> <translation>Establiu la contrasenya</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation>Com&amp;parteix l&apos;enllaç</translation> <translation>Com&amp;parteix l&apos;enllaç</translation>
</message> </message>
@@ -2871,12 +2871,12 @@ No és aconsellada usar-la.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2981,64 +2981,64 @@ No és aconsellada usar-la.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation>No es pot obrir el diari de sincronització</translation> <translation>No es pot obrir el diari de sincronització</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>El nom del fitxer conté al menys un caràcter invàlid</translation> <translation>El nom del fitxer conté al menys un caràcter invàlid</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation>S&apos;ignora degut al filtre a «Trieu què sincronitzar»</translation> <translation>S&apos;ignora degut al filtre a «Trieu què sincronitzar»</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation>No es permet pujar aquest fitxer perquè només és de lectura en el servidor, es restaura</translation> <translation>No es permet pujar aquest fitxer perquè només és de lectura en el servidor, es restaura</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>No es permet l&apos;eliminació, es restaura</translation> <translation>No es permet l&apos;eliminació, es restaura</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation>Fitxers locals i carpeta compartida esborrats.</translation> <translation>Fitxers locals i carpeta compartida esborrats.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>No es permet moure&apos;l, l&apos;element es restaura</translation> <translation>No es permet moure&apos;l, l&apos;element es restaura</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation>No es permet moure perquè %1 només és de lectura</translation> <translation>No es permet moure perquè %1 només és de lectura</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>el destí</translation> <translation>el destí</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>l&apos;origen</translation> <translation>l&apos;origen</translation>
</message> </message>
@@ -3068,7 +3068,7 @@ No és aconsellada usar-la.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
@@ -3293,8 +3293,8 @@ No és aconsellada usar-la.</translation>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation>&lt;p&gt;Versió %2. Per més informació visiteu &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Per Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz i altres.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;amb llicència GNU General Public License (GPL) versió 2.0&lt;br/&gt;ownCloud i el logo d&apos;ownCloud són marques registrades d&apos;ownCloud, Inc. als Estats Units, altres països, o ambdós.&lt;/p&gt;</translation> <translation type="unfinished"/>
</message> </message>
</context> </context>
<context> <context>
+48 -48
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Chyba zápisu metadat do databáze</translation> <translation>Chyba zápisu metadat do databáze</translation>
</message> </message>
@@ -894,7 +894,7 @@ Pokračováním v synchronizaci způsobí přepsání všech vašich souborů st
<translation>Chyba při načítání seznamu adresářů ze serveru.</translation> <translation>Chyba při načítání seznamu adresářů ze serveru.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>Odhlášeno</translation> <translation>Odhlášeno</translation>
</message> </message>
@@ -904,96 +904,96 @@ Pokračováním v synchronizaci způsobí přepsání všech vašich souborů st
<translation>Přidání adresáře je vypnuto, protože již synchronizujete všechny své soubory. Pokud chcete synchronizovat pouze některé adresáře, odstraňte aktuálně nastavený kořenový adresář.</translation> <translation>Přidání adresáře je vypnuto, protože již synchronizujete všechny své soubory. Pokud chcete synchronizovat pouze některé adresáře, odstraňte aktuálně nastavený kořenový adresář.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation>Načítání seznamu adresářů ze serveru...</translation> <translation>Načítání seznamu adresářů ze serveru...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation>Kontrola změn v &apos;%1&apos;</translation> <translation>Kontrola změn v &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation>, &apos;%1&apos;</translation> <translation>, &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>Synchronizuji %1</translation> <translation>Synchronizuji %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>stahování %1/s</translation> <translation>stahování %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>nahrávání %1/s</translation> <translation>nahrávání %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation>u2191 %1/s</translation> <translation>u2191 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%3 ze %4)</translation> <translation>%1 %2 (%3 ze %4)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation>%5 zbývá, %1 ze %2, soubor %3 z %4</translation> <translation>%5 zbývá, %1 ze %2, soubor %3 z %4</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>soubor %1 z %2</translation> <translation>soubor %1 z %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>Chvíli strpení...</translation> <translation>Chvíli strpení...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation><numerusform>Čeká se na %n další adresář...</numerusform><numerusform>Čeká se na %n další adresáře...</numerusform><numerusform>Čeká se na %n dalších adresářů...</numerusform></translation> <translation><numerusform>Čeká se na %n další adresář...</numerusform><numerusform>Čeká se na %n další adresáře...</numerusform><numerusform>Čeká se na %n dalších adresářů...</numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>Synchronizace se připravuje...</translation> <translation>Synchronizace se připravuje...</translation>
</message> </message>
@@ -1918,7 +1918,7 @@ Nedoporučuje se jí používat.</translation>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Chyba zápisu metadat do databáze</translation> <translation>Chyba zápisu metadat do databáze</translation>
</message> </message>
@@ -1956,17 +1956,17 @@ Nedoporučuje se jí používat.</translation>
<translation>Stažený soubor je prázdný, přestože server oznámil, že měl být %1.</translation> <translation>Stažený soubor je prázdný, přestože server oznámil, že měl být %1.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation>Soubor %1 nemohl být uložen z důvodu kolize názvu se souborem v místním systému!</translation> <translation>Soubor %1 nemohl být uložen z důvodu kolize názvu se souborem v místním systému!</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation>Soubor se mezitím změnil</translation> <translation>Soubor se mezitím změnil</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Chyba zápisu metadat do databáze</translation> <translation>Chyba zápisu metadat do databáze</translation>
</message> </message>
@@ -2452,18 +2452,18 @@ Nedoporučuje se jí používat.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation>Veřejné s&amp;dílení vyžaduje heslo</translation> <translation>Veřejné s&amp;dílení vyžaduje heslo</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>Nastavte prosím heslo</translation> <translation>Nastavte prosím heslo</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation>&amp;Sdílet odkaz</translation> <translation>&amp;Sdílet odkaz</translation>
</message> </message>
@@ -2873,12 +2873,12 @@ Nedoporučuje se jí používat.</translation>
<translation>Je dostupných pouze %1, pro spuštění je potřeba alespoň %2</translation> <translation>Je dostupných pouze %1, pro spuštění je potřeba alespoň %2</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation>Není povoleno, protože nemáte oprávnění vytvořit nadřazený adresář</translation> <translation>Není povoleno, protože nemáte oprávnění vytvořit nadřazený adresář</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation>Není povoleno, protože nemáte oprávnění přidávat soubory do tohoto adresáře</translation> <translation>Není povoleno, protože nemáte oprávnění přidávat soubory do tohoto adresáře</translation>
</message> </message>
@@ -2983,64 +2983,64 @@ Nedoporučuje se jí používat.</translation>
<translation>Nelze načíst blacklist z místní databáze</translation> <translation>Nelze načíst blacklist z místní databáze</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation>Nelze číst ze žurnálu synchronizace.</translation> <translation>Nelze číst ze žurnálu synchronizace.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation>Nelze otevřít synchronizační žurnál</translation> <translation>Nelze otevřít synchronizační žurnál</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>Jméno souboru obsahuje aelspoň jeden neplatný znak</translation> <translation>Jméno souboru obsahuje aelspoň jeden neplatný znak</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation>Ignorováno podle nastavení &quot;vybrat co synchronizovat&quot;</translation> <translation>Ignorováno podle nastavení &quot;vybrat co synchronizovat&quot;</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation>Není povoleno, protože nemáte oprávnění přidávat podadresáře do tohoto adresáře</translation> <translation>Není povoleno, protože nemáte oprávnění přidávat podadresáře do tohoto adresáře</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation>Není povoleno nahrát tento soubor, protože je na serveru uložen pouze pro čtení, obnovuji</translation> <translation>Není povoleno nahrát tento soubor, protože je na serveru uložen pouze pro čtení, obnovuji</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>Odstranění není povoleno, obnovuji</translation> <translation>Odstranění není povoleno, obnovuji</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation>Místní soubory a sdílený adresář byly odstraněny.</translation> <translation>Místní soubory a sdílený adresář byly odstraněny.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>Přesun není povolen, položka obnovena</translation> <translation>Přesun není povolen, položka obnovena</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation>Přesun není povolen, protože %1 je pouze pro čtení</translation> <translation>Přesun není povolen, protože %1 je pouze pro čtení</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>cílové umístění</translation> <translation>cílové umístění</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>zdroj</translation> <translation>zdroj</translation>
</message> </message>
@@ -3070,8 +3070,8 @@ Nedoporučuje se jí používat.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</translation> <translation>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="290"/> <location filename="../src/libsync/theme.cpp" line="290"/>
@@ -3295,8 +3295,8 @@ Nedoporučuje se jí používat.</translation>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation>&lt;p&gt;Verze %2. Pro další informace navštivte &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz a další.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licencováno pod GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud a ownCloud logo jsou registrované obchodní známky ownCloud, Inc. ve Spojených státech, ostatních zemích nebo obojí&lt;/p&gt;</translation> <translation>&lt;p&gt;Verze %2. Pro další informace navštivte &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz a další.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licencováno pod GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud a ownCloud logo jsou registrované obchodní známky ownCloud, Inc. ve Spojených státech, ostatních zemích nebo obojí&lt;/p&gt;</translation>
</message> </message>
</context> </context>
<context> <context>
+48 -48
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Fehler beim Schreiben der Metadaten in die Datenbank</translation> <translation>Fehler beim Schreiben der Metadaten in die Datenbank</translation>
</message> </message>
@@ -893,7 +893,7 @@ Wenn diese Synchronisation fortgesetzt wird, werden Dateien eventuell von älter
<translation>Fehler beim Empfang der Ordnerliste vom Server.</translation> <translation>Fehler beim Empfang der Ordnerliste vom Server.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>Abgemeldet</translation> <translation>Abgemeldet</translation>
</message> </message>
@@ -903,96 +903,96 @@ Wenn diese Synchronisation fortgesetzt wird, werden Dateien eventuell von älter
<translation>Sie können keinen weiteren Ordner hinzufügen, da Sie bereits alle Dateien synchronisieren. Falls sie mehrere Ordner synchronisieren wollen, entferen Sie zunächst den konfigurierten Wurzel-Ordner.</translation> <translation>Sie können keinen weiteren Ordner hinzufügen, da Sie bereits alle Dateien synchronisieren. Falls sie mehrere Ordner synchronisieren wollen, entferen Sie zunächst den konfigurierten Wurzel-Ordner.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation>Empfange Orderliste vom Server...</translation> <translation>Empfange Orderliste vom Server...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation>Nach Änderungen suchen in &apos;%1&apos;</translation> <translation>Nach Änderungen suchen in &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation>, &apos;%1&apos;</translation> <translation>, &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>Synchronisiere %1</translation> <translation>Synchronisiere %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>Download %1/s</translation> <translation>Download %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>Upload %1/s</translation> <translation>Upload %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation>u2191 %1/s</translation> <translation>u2191 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%3 von %4)</translation> <translation>%1 %2 (%3 von %4)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation>%5 übrig, %1 von %2, Datei %3 von %4</translation> <translation>%5 übrig, %1 von %2, Datei %3 von %4</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>Datei %1 von %2</translation> <translation>Datei %1 von %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>Warte...</translation> <translation>Warte...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation><numerusform>Warte auf einen anderen Ordner</numerusform><numerusform>Warte auf %n andere Ordner</numerusform></translation> <translation><numerusform>Warte auf einen anderen Ordner</numerusform><numerusform>Warte auf %n andere Ordner</numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>Bereite Synchronisation vor...</translation> <translation>Bereite Synchronisation vor...</translation>
</message> </message>
@@ -1916,7 +1916,7 @@ Es ist nicht ratsam, diese zu benutzen.</translation>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Fehler beim Schreiben der Metadaten in die Datenbank</translation> <translation>Fehler beim Schreiben der Metadaten in die Datenbank</translation>
</message> </message>
@@ -1954,17 +1954,17 @@ Es ist nicht ratsam, diese zu benutzen.</translation>
<translation>Die heruntergeladene Datei ist leer, obwohl der Server %1 als Größe übermittelt hat.</translation> <translation>Die heruntergeladene Datei ist leer, obwohl der Server %1 als Größe übermittelt hat.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation>Die Datei %1 kann aufgrund eines Konfliktes mit dem lokalen Dateinamen nicht gespeichert geladen werden!</translation> <translation>Die Datei %1 kann aufgrund eines Konfliktes mit dem lokalen Dateinamen nicht gespeichert geladen werden!</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation>Datei ist seit der Entdeckung geändert worden</translation> <translation>Datei ist seit der Entdeckung geändert worden</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Fehler beim Schreiben der Metadaten in die Datenbank</translation> <translation>Fehler beim Schreiben der Metadaten in die Datenbank</translation>
</message> </message>
@@ -2450,18 +2450,18 @@ Es ist nicht ratsam, diese zu benutzen.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation>Öffentliches Teilen erfordert ein P&amp;asswort</translation> <translation>Öffentliches Teilen erfordert ein P&amp;asswort</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>Bitte wählen Sie ein Passwort:</translation> <translation>Bitte wählen Sie ein Passwort:</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation>&amp;Link teilen</translation> <translation>&amp;Link teilen</translation>
</message> </message>
@@ -2871,12 +2871,12 @@ Es ist nicht ratsam, diese zu benutzen.</translation>
<translation>Nur %1 sind verfügbar. Zum Beginnen werden mindestens %2 benötigt.</translation> <translation>Nur %1 sind verfügbar. Zum Beginnen werden mindestens %2 benötigt.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation>Nicht erlaubt, da Sie keine Rechte zur Erstellung von Unterordnern haben</translation> <translation>Nicht erlaubt, da Sie keine Rechte zur Erstellung von Unterordnern haben</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation>Nicht erlaubt, da Sie keine Rechte zum Hinzufügen von Dateien in diesen Ordner haben</translation> <translation>Nicht erlaubt, da Sie keine Rechte zum Hinzufügen von Dateien in diesen Ordner haben</translation>
</message> </message>
@@ -2981,64 +2981,64 @@ Es ist nicht ratsam, diese zu benutzen.</translation>
<translation>Fehler beim Einlesen der Blacklist aus der lokalen Datenbank</translation> <translation>Fehler beim Einlesen der Blacklist aus der lokalen Datenbank</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation>Fehler beim Einlesen des Synchronisierungsprotokolls.</translation> <translation>Fehler beim Einlesen des Synchronisierungsprotokolls.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation>Synchronisationsbericht kann nicht geöffnet werden</translation> <translation>Synchronisationsbericht kann nicht geöffnet werden</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>Der Dateiname enthält mindestens ein ungültiges Zeichen</translation> <translation>Der Dateiname enthält mindestens ein ungültiges Zeichen</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation>Aufgrund der »Zu synchronisierende Elemente auswählen«-Sperrliste ignoriert</translation> <translation>Aufgrund der »Zu synchronisierende Elemente auswählen«-Sperrliste ignoriert</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation>Nicht erlaubt, da Sie keine Rechte zur Erstellung von Unterordnern haben</translation> <translation>Nicht erlaubt, da Sie keine Rechte zur Erstellung von Unterordnern haben</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation>Das Hochladen dieser Datei ist nicht erlaubt, da die Datei auf dem Server schreibgeschützt ist, Wiederherstellung</translation> <translation>Das Hochladen dieser Datei ist nicht erlaubt, da die Datei auf dem Server schreibgeschützt ist, Wiederherstellung</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>Löschen nicht erlaubt, Wiederherstellung</translation> <translation>Löschen nicht erlaubt, Wiederherstellung</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation>Lokale Dateien und Freigabeordner wurden entfernt.</translation> <translation>Lokale Dateien und Freigabeordner wurden entfernt.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>Verschieben nicht erlaubt, Element wiederhergestellt</translation> <translation>Verschieben nicht erlaubt, Element wiederhergestellt</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation>Verschieben nicht erlaubt, da %1 schreibgeschützt ist</translation> <translation>Verschieben nicht erlaubt, da %1 schreibgeschützt ist</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>Das Ziel</translation> <translation>Das Ziel</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>Die Quelle</translation> <translation>Die Quelle</translation>
</message> </message>
@@ -3068,8 +3068,8 @@ Es ist nicht ratsam, diese zu benutzen.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</translation> <translation>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="290"/> <location filename="../src/libsync/theme.cpp" line="290"/>
@@ -3293,8 +3293,8 @@ Es ist nicht ratsam, diese zu benutzen.</translation>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation>&lt;p&gt;Version %2. Weitere Informationen unter &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Von Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz und anderen.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Lizensiert unter den Bedingungen der GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud und das ownCloud Logo sind eingetragene Warenzeichen der ownCloud Inc. in den USA, anderen Ländern, oder beidem.&lt;/p&gt;</translation> <translation>&lt;p&gt;Version %2. Weitere Informationen unter &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Von Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz und anderen.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Lizensiert unter den Bedingungen der GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud und das ownCloud Logo sind eingetragene Warenzeichen der ownCloud Inc. in den USA, anderen Ländern, oder beidem.&lt;/p&gt;</translation>
</message> </message>
</context> </context>
<context> <context>
+81 -81
Ver Arquivo
@@ -522,9 +522,9 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -724,7 +724,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<message> <message>
<location filename="../src/gui/folder.cpp" line="1006"/> <location filename="../src/gui/folder.cpp" line="1006"/>
<source>Backup detected</source> <source>Backup detected</source>
<translation type="unfinished"/> <translation>Ανιχνεύθηκε αντίγραφο ασφαλείας</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folder.cpp" line="1008"/> <location filename="../src/gui/folder.cpp" line="1008"/>
@@ -860,7 +860,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<message> <message>
<location filename="../src/gui/folderstatusdelegate.cpp" line="241"/> <location filename="../src/gui/folderstatusdelegate.cpp" line="241"/>
<source>Synchronizing with local folder</source> <source>Synchronizing with local folder</source>
<translation type="unfinished"/> <translation>Συγχρονισμός με τοπικό φάκελο</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusdelegate.cpp" line="285"/> <location filename="../src/gui/folderstatusdelegate.cpp" line="285"/>
@@ -892,7 +892,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation>Σφάλμα κατά τη φόρτωση της λίστας φακέλων από το διακομιστή.</translation> <translation>Σφάλμα κατά τη φόρτωση της λίστας φακέλων από το διακομιστή.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>Αποσύνδεση</translation> <translation>Αποσύνδεση</translation>
</message> </message>
@@ -902,96 +902,96 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation>Η επιλογή προσθήκης φακέλου δεν είναι διαθέσιμη καθώς συγχρονίζονται ήδη όλα τα αρχεία. Για να επιλέξετε συγχρονισμό φακέλων, αφαιρέστε τον αρχικό φάκελο που έχει ρυθμιστεί.</translation> <translation>Η επιλογή προσθήκης φακέλου δεν είναι διαθέσιμη καθώς συγχρονίζονται ήδη όλα τα αρχεία. Για να επιλέξετε συγχρονισμό φακέλων, αφαιρέστε τον αρχικό φάκελο που έχει ρυθμιστεί.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation>Λήψη λίστας φακέλων από το διακομιστή...</translation> <translation>Λήψη λίστας φακέλων από το διακομιστή...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation>Έλεγχος αλλαγών στο &apos;%1&apos;.</translation> <translation>Έλεγχος αλλαγών στο &apos;%1&apos;.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation>, &apos;%1&apos;</translation> <translation>, &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>Συγχρονισμός %1</translation> <translation>Συγχρονισμός %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>λήψη %1/s</translation> <translation>λήψη %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>μεταφόρτωση %1/s</translation> <translation>μεταφόρτωση %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation>u2191 %1/s</translation> <translation>u2191 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%3 από %4)</translation> <translation>%1 %2 (%3 από %4)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>αρχείο %1 από %2</translation> <translation>αρχείο %1 από %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>Αναμονή...</translation> <translation>Αναμονή...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation><numerusform>Αναμονή για %n άλλο φάκελο...</numerusform><numerusform>Αναμονή για %n άλλους φακέλους...</numerusform></translation> <translation><numerusform>Αναμονή για %n άλλο φάκελο...</numerusform><numerusform>Αναμονή για %n άλλους φακέλους...</numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>Προετοιμασία για συγχρονισμό...</translation> <translation>Προετοιμασία για συγχρονισμό...</translation>
</message> </message>
@@ -1526,7 +1526,7 @@ Items where deletion is allowed will be deleted if they prevent a directory from
<message> <message>
<location filename="../src/gui/notificationwidget.cpp" line="99"/> <location filename="../src/gui/notificationwidget.cpp" line="99"/>
<source>Closing in a few seconds...</source> <source>Closing in a few seconds...</source>
<translation type="unfinished"/> <translation>Κλείσιμο σε λίγα δευτερόλεπτα...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/notificationwidget.cpp" line="133"/> <location filename="../src/gui/notificationwidget.cpp" line="133"/>
@@ -1916,9 +1916,9 @@ It is not advisable to use it.</source>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -1954,19 +1954,19 @@ It is not advisable to use it.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation>Το αρχείο %1 δεν είναι δυνατό να αποθηκευτεί λόγω διένεξης με το όνομα ενός τοπικού ονόματος αρχείου!</translation> <translation>Το αρχείο %1 δεν είναι δυνατό να αποθηκευτεί λόγω διένεξης με το όνομα ενός τοπικού ονόματος αρχείου!</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation>Το αρχείο έχει αλλάξει από όταν ανακαλύφθηκε</translation> <translation>Το αρχείο έχει αλλάξει από όταν ανακαλύφθηκε</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -1992,7 +1992,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/propagatorjobs.cpp" line="155"/> <location filename="../src/libsync/propagatorjobs.cpp" line="155"/>
<source>could not delete file %1, error: %2</source> <source>could not delete file %1, error: %2</source>
<translation type="unfinished"/> <translation>αδυναμία διαγραφής αρχείου %1, σφάλμα: %2</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatorjobs.cpp" line="163"/> <location filename="../src/libsync/propagatorjobs.cpp" line="163"/>
@@ -2007,7 +2007,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/propagatorjobs.cpp" line="181"/> <location filename="../src/libsync/propagatorjobs.cpp" line="181"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -2038,7 +2038,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/propagatorjobs.cpp" line="245"/> <location filename="../src/libsync/propagatorjobs.cpp" line="245"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -2064,7 +2064,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/propagateremotemkdir.cpp" line="148"/> <location filename="../src/libsync/propagateremotemkdir.cpp" line="148"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -2092,7 +2092,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/propagateremotemove.cpp" line="175"/> <location filename="../src/libsync/propagateremotemove.cpp" line="175"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -2141,7 +2141,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/propagateupload.cpp" line="800"/> <location filename="../src/libsync/propagateupload.cpp" line="800"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation>Σφάλμα εγγραφής μεταδεδομένων στην βάση δεδομένων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -2184,7 +2184,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/protocolwidget.cpp" line="78"/> <location filename="../src/gui/protocolwidget.cpp" line="78"/>
<source>Local sync protocol</source> <source>Local sync protocol</source>
<translation type="unfinished"/> <translation>Πρωτόκολλο τοπικού συγχρονισμού</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/protocolwidget.cpp" line="80"/> <location filename="../src/gui/protocolwidget.cpp" line="80"/>
@@ -2279,7 +2279,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/selectivesyncdialog.cpp" line="247"/> <location filename="../src/gui/selectivesyncdialog.cpp" line="247"/>
<source>An error occurred while loading the list of sub folders.</source> <source>An error occurred while loading the list of sub folders.</source>
<translation type="unfinished"/> <translation>Παρουσιάστηκε σφάλμα κατά την φόρτωση της λίστας των υπο-φακέλων</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -2378,7 +2378,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/sharedialog.cpp" line="101"/> <location filename="../src/gui/sharedialog.cpp" line="101"/>
<source>The server does not allow sharing</source> <source>The server does not allow sharing</source>
<translation type="unfinished"/> <translation>Ο διακομιστής δεν επιτρέπει τον διαμοιρασμό</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharedialog.cpp" line="113"/> <location filename="../src/gui/sharedialog.cpp" line="113"/>
@@ -2450,18 +2450,18 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation>Ο δημόσιος &amp;διαμοιρασμός απαιτεί κωδικό πρόσβασης</translation> <translation>Ο δημόσιος &amp;διαμοιρασμός απαιτεί κωδικό πρόσβασης</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>Παρακαλούμε ορίστε Κωδικό</translation> <translation>Παρακαλούμε ορίστε Κωδικό</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation>Δ&amp;ιαμοιρασμός συνδέσμου</translation> <translation>Δ&amp;ιαμοιρασμός συνδέσμου</translation>
</message> </message>
@@ -2481,7 +2481,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/shareusergroupwidget.cpp" line="224"/> <location filename="../src/gui/shareusergroupwidget.cpp" line="224"/>
<source>No results for &apos;%1&apos;</source> <source>No results for &apos;%1&apos;</source>
<translation type="unfinished"/> <translation>Κανένα αποτέλεσμα για &apos;%1&apos;</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -2862,7 +2862,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="440"/> <location filename="../src/libsync/syncengine.cpp" line="440"/>
<source>File/Folder is ignored because it&apos;s hidden.</source> <source>File/Folder is ignored because it&apos;s hidden.</source>
<translation type="unfinished"/> <translation>Το Αρχείο/ο Φάκελος αγνοήθηκε επειδή είναι κρυφό.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="701"/> <location filename="../src/libsync/syncengine.cpp" line="701"/>
@@ -2871,12 +2871,12 @@ It is not advisable to use it.</source>
<translation>Μόνο %1 είναι διαθέσιμα, απαιτούνται τουλάχιστον %2 για την εκκίνηση</translation> <translation>Μόνο %1 είναι διαθέσιμα, απαιτούνται τουλάχιστον %2 για την εκκίνηση</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation>Δεν επιτρέπεται επειδή δεν έχετε δικαιώματα να προσθέσετε γονικό κατάλογο</translation> <translation>Δεν επιτρέπεται επειδή δεν έχετε δικαιώματα να προσθέσετε γονικό κατάλογο</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation>Δεν επιτρέπεται επειδή δεν έχετε δικαιώματα να προσθέσετε αρχεία σε αυτόν τον φάκελο</translation> <translation>Δεν επιτρέπεται επειδή δεν έχετε δικαιώματα να προσθέσετε αρχεία σε αυτόν τον φάκελο</translation>
</message> </message>
@@ -2928,7 +2928,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="188"/> <location filename="../src/libsync/syncengine.cpp" line="188"/>
<source>Access is forbidden</source> <source>Access is forbidden</source>
<translation type="unfinished"/> <translation>Δεν επιτρέπεται η πρόσβαση</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="199"/> <location filename="../src/libsync/syncengine.cpp" line="199"/>
@@ -2978,67 +2978,67 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="754"/> <location filename="../src/libsync/syncengine.cpp" line="754"/>
<source>Unable to read the blacklist from the local database</source> <source>Unable to read the blacklist from the local database</source>
<translation type="unfinished"/> <translation>Αδυναμία ανάγνωσης της μαύρης λίστας από την τοπική βάση δεδομένων</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation>Αδυναμία ανοίγματος του αρχείου συγχρονισμού</translation> <translation>Αδυναμία ανοίγματος του αρχείου συγχρονισμού</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>Το όνομα αρχείου περιέχει έναν τουλάχιστον μη έγκυρο χαρακτήρα</translation> <translation>Το όνομα αρχείου περιέχει έναν τουλάχιστον μη έγκυρο χαρακτήρα</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation>Αγνοήθηκε εξαιτίας της μαύρης λίστας &quot;διάλεξε τι να συγχρονιστεί&quot;</translation> <translation>Αγνοήθηκε εξαιτίας της μαύρης λίστας &quot;διάλεξε τι να συγχρονιστεί&quot;</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation>Δεν επιτρέπεται επειδή δεν έχετε δικαιώματα να προσθέσετε υποφακέλους σε αυτό τον φάκελο</translation> <translation>Δεν επιτρέπεται επειδή δεν έχετε δικαιώματα να προσθέσετε υποφακέλους σε αυτό τον φάκελο</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation>Δεν επιτρέπεται να μεταφορτώσετε αυτό το αρχείο επειδή είναι μόνο για ανάγνωση στο διακομιστή, αποκατάσταση σε εξέλιξη</translation> <translation>Δεν επιτρέπεται να μεταφορτώσετε αυτό το αρχείο επειδή είναι μόνο για ανάγνωση στο διακομιστή, αποκατάσταση σε εξέλιξη</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>Δεν επιτρέπεται η αφαίρεση, αποκατάσταση σε εξέλιξη</translation> <translation>Δεν επιτρέπεται η αφαίρεση, αποκατάσταση σε εξέλιξη</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation>Οι τοπικοί φάκελοι και ο φάκελος κοινής χρήσης αφαιρέθηκαν.</translation> <translation>Οι τοπικοί φάκελοι και ο φάκελος κοινής χρήσης αφαιρέθηκαν.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>Η μετακίνηση δεν επιτρέπεται, το αντικείμενο αποκαταστάθηκε</translation> <translation>Η μετακίνηση δεν επιτρέπεται, το αντικείμενο αποκαταστάθηκε</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation>Η μετακίνηση δεν επιτρέπεται επειδή το %1 είναι μόνο για ανάγνωση</translation> <translation>Η μετακίνηση δεν επιτρέπεται επειδή το %1 είναι μόνο για ανάγνωση</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>ο προορισμός</translation> <translation>ο προορισμός</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>η προέλευση</translation> <translation>η προέλευση</translation>
</message> </message>
@@ -3048,7 +3048,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/synclogdialog.ui" line="14"/> <location filename="../src/gui/synclogdialog.ui" line="14"/>
<source>Synchronisation Log</source> <source>Synchronisation Log</source>
<translation type="unfinished"/> <translation>Ιστορικό συγχρονισμού</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -3068,8 +3068,8 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation>&lt;p&gt;Πνευματικά δικαιώματα ownCloud, Ανώνυμη Εταιρία&lt;/p&gt;</translation> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="290"/> <location filename="../src/libsync/theme.cpp" line="290"/>
@@ -3195,7 +3195,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="236"/> <location filename="../src/gui/owncloudgui.cpp" line="236"/>
<source>Unsupported Server Version</source> <source>Unsupported Server Version</source>
<translation type="unfinished"/> <translation>Μη υποστηριζόμενη έκδοση διακομιστή</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="237"/> <location filename="../src/gui/owncloudgui.cpp" line="237"/>
@@ -3215,37 +3215,37 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="296"/> <location filename="../src/gui/owncloudgui.cpp" line="296"/>
<source>Account synchronization is disabled</source> <source>Account synchronization is disabled</source>
<translation type="unfinished"/> <translation>Ο λογαριασμός συγχρονισμού έχει απενεργοποιηθεί</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="379"/> <location filename="../src/gui/owncloudgui.cpp" line="379"/>
<source>Unpause all folders</source> <source>Unpause all folders</source>
<translation type="unfinished"/> <translation>Αναίρεση παύσης όλων των φακέλων</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="384"/> <location filename="../src/gui/owncloudgui.cpp" line="384"/>
<source>Pause all folders</source> <source>Pause all folders</source>
<translation type="unfinished"/> <translation>Παύση όλων των φακέλων</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="515"/> <location filename="../src/gui/owncloudgui.cpp" line="515"/>
<source>Unpause all synchronization</source> <source>Unpause all synchronization</source>
<translation type="unfinished"/> <translation>Αναίρεση παύσης όλων των συγχρονισμών</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="517"/> <location filename="../src/gui/owncloudgui.cpp" line="517"/>
<source>Unpause synchronization</source> <source>Unpause synchronization</source>
<translation type="unfinished"/> <translation>Αναίρεση παύσης συγχρονσμού</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="525"/> <location filename="../src/gui/owncloudgui.cpp" line="525"/>
<source>Pause all synchronization</source> <source>Pause all synchronization</source>
<translation type="unfinished"/> <translation>Παύση όλων των συγχρονισμών</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="527"/> <location filename="../src/gui/owncloudgui.cpp" line="527"/>
<source>Pause synchronization</source> <source>Pause synchronization</source>
<translation type="unfinished"/> <translation>Παύση συγχρονισμού</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/owncloudgui.cpp" line="534"/> <location filename="../src/gui/owncloudgui.cpp" line="534"/>
@@ -3293,8 +3293,8 @@ It is not advisable to use it.</source>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation>&lt;p&gt;Έκδοση %2. Για περισσότερες πληροφορίες επισκεφθείτε &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Των Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz και άλλων.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Πνευματικά δικαιώματα ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Αδειοδότηση υπό την GNU General Public License (GPL) Έκδοση 2.0&lt;br/&gt;το ownCloud και το λογότυπο ownCloud είναι σήματα κατατεθέντα της ownCloud, Inc. στις Η.Π.Α., σε άλλες χώρες ή και στα δύο&lt;/p&gt;</translation> <translation type="unfinished"/>
</message> </message>
</context> </context>
<context> <context>
@@ -3507,7 +3507,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/gui/application.cpp" line="599"/> <location filename="../src/gui/application.cpp" line="599"/>
<source>QT_LAYOUT_DIRECTION</source> <source>QT_LAYOUT_DIRECTION</source>
<translation type="unfinished"/> <translation>QT_LAYOUT_DIRECTION</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -3515,7 +3515,7 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/utility.cpp" line="473"/> <location filename="../src/libsync/utility.cpp" line="473"/>
<source>in the future</source> <source>in the future</source>
<translation type="unfinished"/> <translation>στο μέλλον</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/libsync/utility.cpp" line="469"/> <location filename="../src/libsync/utility.cpp" line="469"/>
@@ -3530,12 +3530,12 @@ It is not advisable to use it.</source>
<message> <message>
<location filename="../src/libsync/utility.cpp" line="482"/> <location filename="../src/libsync/utility.cpp" line="482"/>
<source>now</source> <source>now</source>
<translation type="unfinished"/> <translation>τώρα</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/utility.cpp" line="484"/> <location filename="../src/libsync/utility.cpp" line="484"/>
<source>Less than a minute ago</source> <source>Less than a minute ago</source>
<translation type="unfinished"/> <translation>Λιγότερο από ένα λεπτό πριν</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/libsync/utility.cpp" line="487"/> <location filename="../src/libsync/utility.cpp" line="487"/>
@@ -3573,7 +3573,7 @@ It is not advisable to use it.</source>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/libsync/utility.cpp" line="319"/> <location filename="../src/libsync/utility.cpp" line="319"/>
<source>%n year(s)</source> <source>%n year(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> <translation><numerusform>%n χρόνος</numerusform><numerusform>%n χρόνια</numerusform></translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/libsync/utility.cpp" line="320"/> <location filename="../src/libsync/utility.cpp" line="320"/>
+46 -46
Ver Arquivo
@@ -530,7 +530,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -918,7 +918,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -928,91 +928,91 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing &apos;foo.txt&apos;, &apos;bar.txt&apos;&quot;</extracomment> <extracomment>Example text: &quot;Syncing &apos;foo.txt&apos;, &apos;bar.txt&apos;&quot;</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform></numerusform>
@@ -1020,7 +1020,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
</translation> </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -1937,7 +1937,7 @@ It is not advisable to use it.</source>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -1975,17 +1975,17 @@ It is not advisable to use it.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -2471,18 +2471,18 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -2890,12 +2890,12 @@ It is not advisable to use it.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -3000,64 +3000,64 @@ It is not advisable to use it.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@@ -3087,7 +3087,7 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@@ -3312,7 +3312,7 @@ It is not advisable to use it.</source>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
+48 -48
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Error al escribir los metadatos en la base de datos</translation> <translation>Error al escribir los metadatos en la base de datos</translation>
</message> </message>
@@ -894,7 +894,7 @@ Continuar con la sincronización hará que todos los archivos sean sobreescritos
<translation>Error mientras se cargaba la lista de carpetas desde el servidor.</translation> <translation>Error mientras se cargaba la lista de carpetas desde el servidor.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>Cerrar sesión</translation> <translation>Cerrar sesión</translation>
</message> </message>
@@ -904,96 +904,96 @@ Continuar con la sincronización hará que todos los archivos sean sobreescritos
<translation>Añadir carpetas está deshabilitado debido a que ya están sincronizándose todos sus archivos. Si desea sincronizar múltiples carpeta, elimine la carpeta raíz actualmente configurada.</translation> <translation>Añadir carpetas está deshabilitado debido a que ya están sincronizándose todos sus archivos. Si desea sincronizar múltiples carpeta, elimine la carpeta raíz actualmente configurada.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation>Obtención de lista de carpetas del servidor...</translation> <translation>Obtención de lista de carpetas del servidor...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation>Buscando cambios en &apos;%1&apos;</translation> <translation>Buscando cambios en &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation>, &apos;%1&apos;</translation> <translation>, &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>Sincronizando %1</translation> <translation>Sincronizando %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>descargando: %1/s</translation> <translation>descargando: %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>cargar %1/s</translation> <translation>cargar %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation>u2191 %1/s</translation> <translation>u2191 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%3 de %4)</translation> <translation>%1 %2 (%3 de %4)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation>%5 restantes, %1 de %2, archivo %3 de %4</translation> <translation>%5 restantes, %1 de %2, archivo %3 de %4</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>archivo %1 de %2</translation> <translation>archivo %1 de %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>Esperando...</translation> <translation>Esperando...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation><numerusform>Esperando por %n carpeta...</numerusform><numerusform>Esperando por %n otras carpetas...</numerusform></translation> <translation><numerusform>Esperando por %n carpeta...</numerusform><numerusform>Esperando por %n otras carpetas...</numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>Preparando para sincronizar...</translation> <translation>Preparando para sincronizar...</translation>
</message> </message>
@@ -1917,7 +1917,7 @@ No se recomienda usarla.</translation>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Error al escribir los metadatos en la base de datos</translation> <translation>Error al escribir los metadatos en la base de datos</translation>
</message> </message>
@@ -1955,17 +1955,17 @@ No se recomienda usarla.</translation>
<translation>El archivo descargado está vacio aunque el servidor dice que deberia haber sido %1.</translation> <translation>El archivo descargado está vacio aunque el servidor dice que deberia haber sido %1.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation>¡El fichero %1 no puede guardarse debido a un conflicto con el nombre de otro fichero local!</translation> <translation>¡El fichero %1 no puede guardarse debido a un conflicto con el nombre de otro fichero local!</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation>El archivo ha cambiado desde que fue descubierto</translation> <translation>El archivo ha cambiado desde que fue descubierto</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation>Error al escribir los metadatos en la base de datos</translation> <translation>Error al escribir los metadatos en la base de datos</translation>
</message> </message>
@@ -2451,18 +2451,18 @@ No se recomienda usarla.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation>Compartir public&amp;amente requiere contraseña</translation> <translation>Compartir public&amp;amente requiere contraseña</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>Por favor establece una contraseña</translation> <translation>Por favor establece una contraseña</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation>&amp;Compartir enlace</translation> <translation>&amp;Compartir enlace</translation>
</message> </message>
@@ -2872,12 +2872,12 @@ No se recomienda usarla.</translation>
<translation>Solo %1 disponible, se necesita por lo menos %2 para comenzar</translation> <translation>Solo %1 disponible, se necesita por lo menos %2 para comenzar</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation>No permitido porque no tienes permiso para añadir un directorio padre</translation> <translation>No permitido porque no tienes permiso para añadir un directorio padre</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation>No permitido porque no tienes permiso para añadir archivos a ese directorio</translation> <translation>No permitido porque no tienes permiso para añadir archivos a ese directorio</translation>
</message> </message>
@@ -2982,64 +2982,64 @@ No se recomienda usarla.</translation>
<translation>No se pudo leer la lista de bloqueo de la base de datos local</translation> <translation>No se pudo leer la lista de bloqueo de la base de datos local</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation>No se ha podido leer desde el registro de sincronización</translation> <translation>No se ha podido leer desde el registro de sincronización</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation>No es posible abrir el diario de sincronización</translation> <translation>No es posible abrir el diario de sincronización</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>Nombre de archivo contiene al menos un caracter no válido</translation> <translation>Nombre de archivo contiene al menos un caracter no válido</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation>Ignorado porque se encuentra en la lista negra de &quot;elija qué va a sincronizar&quot;</translation> <translation>Ignorado porque se encuentra en la lista negra de &quot;elija qué va a sincronizar&quot;</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation>No permitido porque no tienes permiso para añadir subdirectorios a ese directorio</translation> <translation>No permitido porque no tienes permiso para añadir subdirectorios a ese directorio</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation>No está permitido subir este archivo porque es de solo lectura en el servidor, restaurando.</translation> <translation>No está permitido subir este archivo porque es de solo lectura en el servidor, restaurando.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>No está permitido borrar, restaurando.</translation> <translation>No está permitido borrar, restaurando.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation>Se han eliminado los archivos locales y la carpeta compartida.</translation> <translation>Se han eliminado los archivos locales y la carpeta compartida.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>No está permitido mover, elemento restaurado.</translation> <translation>No está permitido mover, elemento restaurado.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation>No está permitido mover, porque %1 es de sólo lectura.</translation> <translation>No está permitido mover, porque %1 es de sólo lectura.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>destino</translation> <translation>destino</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>origen</translation> <translation>origen</translation>
</message> </message>
@@ -3069,8 +3069,8 @@ No se recomienda usarla.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation>&lt;p&gt;Copyright ownCloud, incorporado&lt;/p&gt;</translation> <translation>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="290"/> <location filename="../src/libsync/theme.cpp" line="290"/>
@@ -3294,8 +3294,8 @@ No se recomienda usarla.</translation>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation>&lt;p&gt;Versión %2. Para más información, visite &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Creado por Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz y otros.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Está bajo la Licencia General Pública (GPL, en inglés) GNU Versión 2.0&lt;br/&gt;ownCloud y el logo de ownCloud son marcas registradas de ownCloud, Inc. en los Estados Unidos, otros países, o ambos.&lt;/p&gt;</translation> <translation>&lt;p&gt;Version %2. Para más información visita &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</translation>
</message> </message>
</context> </context>
<context> <context>
+46 -46
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -889,7 +889,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>Desautentificado</translation> <translation>Desautentificado</translation>
</message> </message>
@@ -899,96 +899,96 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>Sincronizando %1</translation> <translation>Sincronizando %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>Cargado %1/s</translation> <translation>Cargado %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>Archivo %1 de %2</translation> <translation>Archivo %1 de %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>Esperando...</translation> <translation>Esperando...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>Preparando para sincronizar...</translation> <translation>Preparando para sincronizar...</translation>
</message> </message>
@@ -1905,7 +1905,7 @@ It is not advisable to use it.</source>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -1943,17 +1943,17 @@ It is not advisable to use it.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2439,18 +2439,18 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2858,12 +2858,12 @@ It is not advisable to use it.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2968,64 +2968,64 @@ It is not advisable to use it.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -3055,7 +3055,7 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
@@ -3280,7 +3280,7 @@ It is not advisable to use it.</source>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
</context> </context>
+46 -46
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -889,7 +889,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>Välja logitud</translation> <translation>Välja logitud</translation>
</message> </message>
@@ -899,96 +899,96 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation>Kontrollitakse muudatusi kaustas &apos;%1&apos;</translation> <translation>Kontrollitakse muudatusi kaustas &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation>, &apos;%1&apos;</translation> <translation>, &apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation>&apos;%1&apos;</translation> <translation>&apos;%1&apos;</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>Sünkroniseerimine %1</translation> <translation>Sünkroniseerimine %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>allalaadimine %1/s</translation> <translation>allalaadimine %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>üleslaadimine %1/s</translation> <translation>üleslaadimine %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation>u2191 %1/s</translation> <translation>u2191 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%3 / %4)</translation> <translation>%1 %2 (%3 / %4)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>fail %1 / %2-st</translation> <translation>fail %1 / %2-st</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>Ootamine...</translation> <translation>Ootamine...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation> <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>Sünkroniseerimiseks valmistumine...</translation> <translation>Sünkroniseerimiseks valmistumine...</translation>
</message> </message>
@@ -1906,7 +1906,7 @@ Selle kasutamine pole soovitatav.</translation>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -1944,17 +1944,17 @@ Selle kasutamine pole soovitatav.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation>Faili %1 ei saa salvestada kuna on nime konflikt kohaliku failiga!</translation> <translation>Faili %1 ei saa salvestada kuna on nime konflikt kohaliku failiga!</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation>Faili on pärast avastamist muudetud</translation> <translation>Faili on pärast avastamist muudetud</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2440,18 +2440,18 @@ Selle kasutamine pole soovitatav.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation>Avalik j&amp;agamine nõuab parooli</translation> <translation>Avalik j&amp;agamine nõuab parooli</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>Palun määra parool</translation> <translation>Palun määra parool</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation>&amp;Jaga linki</translation> <translation>&amp;Jaga linki</translation>
</message> </message>
@@ -2861,12 +2861,12 @@ Selle kasutamine pole soovitatav.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2971,64 +2971,64 @@ Selle kasutamine pole soovitatav.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation>Ei suuda avada sünkroniseeringu zurnaali</translation> <translation>Ei suuda avada sünkroniseeringu zurnaali</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>Faili nimesonvähemalt üks keelatud märk</translation> <translation>Faili nimesonvähemalt üks keelatud märk</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation>&quot;Vali, mida sünkroniseerida&quot; musta nimekirja tõttu vahele jäetud</translation> <translation>&quot;Vali, mida sünkroniseerida&quot; musta nimekirja tõttu vahele jäetud</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation>Pole lubatud üles laadida, kuna tegemist on ainult-loetava serveriga, taastan</translation> <translation>Pole lubatud üles laadida, kuna tegemist on ainult-loetava serveriga, taastan</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>Eemaldamine pole lubatud, taastan</translation> <translation>Eemaldamine pole lubatud, taastan</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation>Kohalikud failid ja jagatud kaustad eemaldatud.</translation> <translation>Kohalikud failid ja jagatud kaustad eemaldatud.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>Liigutamine pole lubatud, üksus taastatud</translation> <translation>Liigutamine pole lubatud, üksus taastatud</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation>Liigutamien pole võimalik kuna %1 on ainult lugemiseks</translation> <translation>Liigutamien pole võimalik kuna %1 on ainult lugemiseks</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>sihtkoht</translation> <translation>sihtkoht</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>allikas</translation> <translation>allikas</translation>
</message> </message>
@@ -3058,7 +3058,7 @@ Selle kasutamine pole soovitatav.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
@@ -3283,7 +3283,7 @@ Selle kasutamine pole soovitatav.</translation>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
</context> </context>
+47 -47
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -889,7 +889,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation>Errorea zerbitzaritik karpeten zerrenda eskuratzean.</translation> <translation>Errorea zerbitzaritik karpeten zerrenda eskuratzean.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>Saioa bukatuta</translation> <translation>Saioa bukatuta</translation>
</message> </message>
@@ -899,96 +899,96 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation>Zerbitzaritik karpeta zerrenda eskuratzen...</translation> <translation>Zerbitzaritik karpeta zerrenda eskuratzen...</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>%1 Sinkronizatzen</translation> <translation>%1 Sinkronizatzen</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>, </translation> <translation>, </translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>Deskargatu %1/s</translation> <translation>Deskargatu %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>igo %1/s</translation> <translation>igo %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation>u2191 %1/s</translation> <translation>u2191 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%4 - %3tik)</translation> <translation>%1 %2 (%4 - %3tik)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>%1. fitxategia %2tik</translation> <translation>%1. fitxategia %2tik</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>Itxoiten...</translation> <translation>Itxoiten...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation><numerusform>Itxoiten beste karpeta %n...</numerusform><numerusform>Itxoiten beste %n karpeta...</numerusform></translation> <translation><numerusform>Itxoiten beste karpeta %n...</numerusform><numerusform>Itxoiten beste %n karpeta...</numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>Sinkronizatzeko prestatzen...</translation> <translation>Sinkronizatzeko prestatzen...</translation>
</message> </message>
@@ -1912,7 +1912,7 @@ Ez da gomendagarria erabltzea.</translation>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -1950,17 +1950,17 @@ Ez da gomendagarria erabltzea.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2446,18 +2446,18 @@ Ez da gomendagarria erabltzea.</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>Mesedez Ezarri Pasahitza</translation> <translation>Mesedez Ezarri Pasahitza</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2865,12 +2865,12 @@ Ez da gomendagarria erabltzea.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2975,64 +2975,64 @@ Ez da gomendagarria erabltzea.</translation>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation>Ezin da sinkronizazio egunerokoa ireki</translation> <translation>Ezin da sinkronizazio egunerokoa ireki</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>Fitxategi izenak behintzat baliogabeko karaktere bat du</translation> <translation>Fitxategi izenak behintzat baliogabeko karaktere bat du</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>Ezabatzeko baimenik gabe, berrezartzen</translation> <translation>Ezabatzeko baimenik gabe, berrezartzen</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>Mugitzea ez dago baimenduta, elementua berrezarri da</translation> <translation>Mugitzea ez dago baimenduta, elementua berrezarri da</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation>Mugitzea ez dago baimenduta %1 irakurtzeko bakarrik delako</translation> <translation>Mugitzea ez dago baimenduta %1 irakurtzeko bakarrik delako</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>helburua</translation> <translation>helburua</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>jatorria</translation> <translation>jatorria</translation>
</message> </message>
@@ -3062,7 +3062,7 @@ Ez da gomendagarria erabltzea.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
@@ -3287,8 +3287,8 @@ Ez da gomendagarria erabltzea.</translation>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation>&lt;p&gt;%2 Bertsioa. Informazio gehiago eskuratzeko ikusi &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;Egileak: Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz eta bestea batzuk.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;GNU General Public License (GPL) 2.0 bertsioaren lizentziapean banatuta.&lt;br/&gt;ownCloud eta ownCloud-en Logoa ownCloud, Inc. enpresaren marka erregistratuak dira Estatu Batuetan, beste herrialdeetan edo bietan.&lt;/p&gt;</translation> <translation type="unfinished"/>
</message> </message>
</context> </context>
<context> <context>
+46 -46
Ver Arquivo
@@ -522,7 +522,7 @@
<context> <context>
<name>OCC::CleanupPollsJob</name> <name>OCC::CleanupPollsJob</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="772"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="779"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -889,7 +889,7 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="204"/> <location filename="../src/gui/folderstatusmodel.cpp" line="205"/>
<source>Signed out</source> <source>Signed out</source>
<translation>خارج شد</translation> <translation>خارج شد</translation>
</message> </message>
@@ -899,96 +899,96 @@ Continuing the sync as normal will cause all your files to be overwritten by an
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="169"/> <location filename="../src/gui/folderstatusmodel.cpp" line="170"/>
<source>Fetching folder list from server...</source> <source>Fetching folder list from server...</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="832"/> <location filename="../src/gui/folderstatusmodel.cpp" line="841"/>
<source>Checking for changes in &apos;%1&apos;</source> <source>Checking for changes in &apos;%1&apos;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="867"/> <location filename="../src/gui/folderstatusmodel.cpp" line="876"/>
<source>, &apos;%1&apos;</source> <source>, &apos;%1&apos;</source>
<extracomment>Build a list of file names</extracomment> <extracomment>Build a list of file names</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="870"/> <location filename="../src/gui/folderstatusmodel.cpp" line="879"/>
<source>&apos;%1&apos;</source> <source>&apos;%1&apos;</source>
<extracomment>Argument is a file name</extracomment> <extracomment>Argument is a file name</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="895"/> <location filename="../src/gui/folderstatusmodel.cpp" line="904"/>
<source>Syncing %1</source> <source>Syncing %1</source>
<extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment> <extracomment>Example text: &quot;Syncing 'foo.txt', 'bar.txt'&quot;</extracomment>
<translation>همگامسازی %1</translation> <translation>همگامسازی %1</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="897"/> <location filename="../src/gui/folderstatusmodel.cpp" line="906"/>
<location filename="../src/gui/folderstatusmodel.cpp" line="907"/> <location filename="../src/gui/folderstatusmodel.cpp" line="916"/>
<source>, </source> <source>, </source>
<translation>رشته های ترجمه نشده</translation> <translation>رشته های ترجمه نشده</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="901"/> <location filename="../src/gui/folderstatusmodel.cpp" line="910"/>
<source>download %1/s</source> <source>download %1/s</source>
<extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;download 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>دانلود %1/s</translation> <translation>دانلود %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="903"/> <location filename="../src/gui/folderstatusmodel.cpp" line="912"/>
<source>u2193 %1/s</source> <source>u2193 %1/s</source>
<translation>u2193 %1/s</translation> <translation>u2193 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="910"/> <location filename="../src/gui/folderstatusmodel.cpp" line="919"/>
<source>upload %1/s</source> <source>upload %1/s</source>
<extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment> <extracomment>Example text: &quot;upload 24Kb/s&quot; (%1 is replaced by 24Kb (translated))</extracomment>
<translation>آپلود %1/s</translation> <translation>آپلود %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="912"/> <location filename="../src/gui/folderstatusmodel.cpp" line="921"/>
<source>u2191 %1/s</source> <source>u2191 %1/s</source>
<translation>u2191 %1/s</translation> <translation>u2191 %1/s</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="917"/> <location filename="../src/gui/folderstatusmodel.cpp" line="926"/>
<source>%1 %2 (%3 of %4)</source> <source>%1 %2 (%3 of %4)</source>
<extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png (2MB of 2MB)&quot;</extracomment>
<translation>%1 %2 (%3 از %4)</translation> <translation>%1 %2 (%3 از %4)</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="921"/> <location filename="../src/gui/folderstatusmodel.cpp" line="930"/>
<source>%1 %2</source> <source>%1 %2</source>
<extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment> <extracomment>Example text: &quot;uploading foobar.png&quot;</extracomment>
<translation>%1 %2</translation> <translation>%1 %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="938"/> <location filename="../src/gui/folderstatusmodel.cpp" line="947"/>
<source>%5 left, %1 of %2, file %3 of %4</source> <source>%5 left, %1 of %2, file %3 of %4</source>
<extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment> <extracomment>Example text: &quot;5 minutes left, 12 MB of 345 MB, file 6 of 7&quot;</extracomment>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="944"/> <location filename="../src/gui/folderstatusmodel.cpp" line="953"/>
<source>file %1 of %2</source> <source>file %1 of %2</source>
<translation>فایل %1 از %2</translation> <translation>فایل %1 از %2</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="984"/> <location filename="../src/gui/folderstatusmodel.cpp" line="993"/>
<source>Waiting...</source> <source>Waiting...</source>
<translation>درحال انتظار...</translation> <translation>درحال انتظار...</translation>
</message> </message>
<message numerus="yes"> <message numerus="yes">
<location filename="../src/gui/folderstatusmodel.cpp" line="986"/> <location filename="../src/gui/folderstatusmodel.cpp" line="995"/>
<source>Waiting for %n other folder(s)...</source> <source>Waiting for %n other folder(s)...</source>
<translation><numerusform>در انتظار برای %n پوشهی دیگر ...</numerusform></translation> <translation><numerusform>در انتظار برای %n پوشهی دیگر ...</numerusform></translation>
</message> </message>
<message> <message>
<location filename="../src/gui/folderstatusmodel.cpp" line="992"/> <location filename="../src/gui/folderstatusmodel.cpp" line="1001"/>
<source>Preparing to sync...</source> <source>Preparing to sync...</source>
<translation>آمادهسازی همگامسازی ...</translation> <translation>آمادهسازی همگامسازی ...</translation>
</message> </message>
@@ -1905,7 +1905,7 @@ It is not advisable to use it.</source>
<context> <context>
<name>OCC::PropagateDirectory</name> <name>OCC::PropagateDirectory</name>
<message> <message>
<location filename="../src/libsync/owncloudpropagator.cpp" line="712"/> <location filename="../src/libsync/owncloudpropagator.cpp" line="718"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -1943,17 +1943,17 @@ It is not advisable to use it.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="693"/> <location filename="../src/libsync/propagatedownload.cpp" line="711"/>
<source>File %1 cannot be saved because of a local file name clash!</source> <source>File %1 cannot be saved because of a local file name clash!</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="741"/> <location filename="../src/libsync/propagatedownload.cpp" line="759"/>
<source>File has changed since discovery</source> <source>File has changed since discovery</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/propagatedownload.cpp" line="791"/> <location filename="../src/libsync/propagatedownload.cpp" line="809"/>
<source>Error writing metadata to the database</source> <source>Error writing metadata to the database</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2439,18 +2439,18 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="366"/> <location filename="../src/gui/sharelinkwidget.cpp" line="366"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="412"/> <location filename="../src/gui/sharelinkwidget.cpp" line="413"/>
<source>Public sh&amp;aring requires a password</source> <source>Public sh&amp;aring requires a password</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="434"/> <location filename="../src/gui/sharelinkwidget.cpp" line="435"/>
<source>Please Set Password</source> <source>Please Set Password</source>
<translation>لطفا رمزعبور را تعیین کنید</translation> <translation>لطفا رمزعبور را تعیین کنید</translation>
</message> </message>
<message> <message>
<location filename="../src/gui/sharelinkwidget.cpp" line="498"/> <location filename="../src/gui/sharelinkwidget.cpp" line="500"/>
<location filename="../src/gui/sharelinkwidget.cpp" line="499"/> <location filename="../src/gui/sharelinkwidget.cpp" line="501"/>
<source>&amp;Share link</source> <source>&amp;Share link</source>
<translation>&amp;اشتراکگذاری لینک</translation> <translation>&amp;اشتراکگذاری لینک</translation>
</message> </message>
@@ -2858,12 +2858,12 @@ It is not advisable to use it.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1134"/> <location filename="../src/libsync/syncengine.cpp" line="1139"/>
<source>Not allowed because you don&apos;t have permission to add parent folder</source> <source>Not allowed because you don&apos;t have permission to add parent folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1141"/> <location filename="../src/libsync/syncengine.cpp" line="1146"/>
<source>Not allowed because you don&apos;t have permission to add files in that folder</source> <source>Not allowed because you don&apos;t have permission to add files in that folder</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
@@ -2968,64 +2968,64 @@ It is not advisable to use it.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="787"/> <location filename="../src/libsync/syncengine.cpp" line="791"/>
<source>Unable to read from the sync journal.</source> <source>Unable to read from the sync journal.</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="833"/> <location filename="../src/libsync/syncengine.cpp" line="837"/>
<source>Cannot open the sync journal</source> <source>Cannot open the sync journal</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="889"/> <location filename="../src/libsync/syncengine.cpp" line="894"/>
<source>File name contains at least one invalid character</source> <source>File name contains at least one invalid character</source>
<translation>نام فایل دارای حداقل یک کاراکتر نامعتبر است</translation> <translation>نام فایل دارای حداقل یک کاراکتر نامعتبر است</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1093"/> <location filename="../src/libsync/syncengine.cpp" line="1098"/>
<location filename="../src/libsync/syncengine.cpp" line="1100"/> <location filename="../src/libsync/syncengine.cpp" line="1105"/>
<source>Ignored because of the &quot;choose what to sync&quot; blacklist</source> <source>Ignored because of the &quot;choose what to sync&quot; blacklist</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1119"/> <location filename="../src/libsync/syncengine.cpp" line="1124"/>
<source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source> <source>Not allowed because you don&apos;t have permission to add subfolders to that folder</source>
<translation>با توجه به عدم اجازهی شما به ایجاد زیرپوشه به پوشه مجاز نیست</translation> <translation>با توجه به عدم اجازهی شما به ایجاد زیرپوشه به پوشه مجاز نیست</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1161"/> <location filename="../src/libsync/syncengine.cpp" line="1166"/>
<source>Not allowed to upload this file because it is read-only on the server, restoring</source> <source>Not allowed to upload this file because it is read-only on the server, restoring</source>
<translation>آپلود این فایل با توجه به فقط-خواندنی بودن آن در سرور مجاز نیست، در حال بازگرداندن</translation> <translation>آپلود این فایل با توجه به فقط-خواندنی بودن آن در سرور مجاز نیست، در حال بازگرداندن</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1178"/> <location filename="../src/libsync/syncengine.cpp" line="1183"/>
<location filename="../src/libsync/syncengine.cpp" line="1198"/> <location filename="../src/libsync/syncengine.cpp" line="1203"/>
<source>Not allowed to remove, restoring</source> <source>Not allowed to remove, restoring</source>
<translation>حذف مجاز نیست، در حال بازگردادن</translation> <translation>حذف مجاز نیست، در حال بازگردادن</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1211"/> <location filename="../src/libsync/syncengine.cpp" line="1216"/>
<source>Local files and share folder removed.</source> <source>Local files and share folder removed.</source>
<translation>فایلهای محلی و پوشهی اشتراک حذف شد.</translation> <translation>فایلهای محلی و پوشهی اشتراک حذف شد.</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1267"/> <location filename="../src/libsync/syncengine.cpp" line="1272"/>
<source>Move not allowed, item restored</source> <source>Move not allowed, item restored</source>
<translation>انتقال مجاز نیست، مورد بازگردانده شد</translation> <translation>انتقال مجاز نیست، مورد بازگردانده شد</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1278"/> <location filename="../src/libsync/syncengine.cpp" line="1283"/>
<source>Move not allowed because %1 is read-only</source> <source>Move not allowed because %1 is read-only</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the destination</source> <source>the destination</source>
<translation>مقصد</translation> <translation>مقصد</translation>
</message> </message>
<message> <message>
<location filename="../src/libsync/syncengine.cpp" line="1279"/> <location filename="../src/libsync/syncengine.cpp" line="1284"/>
<source>the source</source> <source>the source</source>
<translation>مبدا</translation> <translation>مبدا</translation>
</message> </message>
@@ -3055,7 +3055,7 @@ It is not advisable to use it.</source>
</message> </message>
<message> <message>
<location filename="../src/libsync/theme.cpp" line="289"/> <location filename="../src/libsync/theme.cpp" line="289"/>
<source>&lt;p&gt;Copyright ownCloud, Incorporated&lt;/p&gt;</source> <source>&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
<message> <message>
@@ -3280,7 +3280,7 @@ It is not advisable to use it.</source>
<name>OCC::ownCloudTheme</name> <name>OCC::ownCloudTheme</name>
<message> <message>
<location filename="../src/libsync/owncloudtheme.cpp" line="47"/> <location filename="../src/libsync/owncloudtheme.cpp" line="47"/>
<source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud, Inc.&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source> <source>&lt;p&gt;Version %2. For more information visit &lt;a href=&quot;%3&quot;&gt;%4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;small&gt;By Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, Olivier Goffart, Markus Götz and others.&lt;/small&gt;&lt;/p&gt;&lt;p&gt;Copyright ownCloud GmbH&lt;/p&gt;&lt;p&gt;Licensed under the GNU General Public License (GPL) Version 2.0&lt;br/&gt;ownCloud and the ownCloud Logo are registered trademarks of ownCloud, Inc. in the United States, other countries, or both.&lt;/p&gt;</source>
<translation type="unfinished"/> <translation type="unfinished"/>
</message> </message>
</context> </context>

Alguns arquivos não foram exibidos porque demasiados arquivos foram alterados neste diff Mostrar Mais