[Pkg-owncloud-commits] [owncloud-client] 401/498: Wizard: Make the name of the backup folder more user friendly

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 3b261bc6129a77619cd9ecc33949e661544ebc64
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Wed Jul 29 12:23:33 2015 +0200

    Wizard: Make the name of the backup folder more user friendly
    
    Issue #3512
---
 src/gui/folderman.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp
index ba19e6a..21d38a7 100644
--- a/src/gui/folderman.cpp
+++ b/src/gui/folderman.cpp
@@ -846,12 +846,12 @@ QString FolderMan::getBackupName( QString fullPathName ) const
 
     if( fullPathName.isEmpty() ) return QString::null;
 
-     QString newName = fullPathName + QLatin1String(".oC_bak");
+     QString newName = fullPathName + tr(" (backup)");
      QFileInfo fi( newName );
      int cnt = 1;
      do {
          if( fi.exists() ) {
-             newName = fullPathName + QString( ".oC_bak_%1").arg(cnt++);
+             newName = fullPathName + tr(" (backup %1)").arg(cnt++);
              fi.setFile(newName);
          }
      } while( fi.exists() );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list