Ignore:
Timestamp:
Aug 7, 2017, 2:41:40 PM (3 years ago)
Author:
jrpelegrina
Message:

Wip in check empty folder when profile is created or updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-gdrive/trunk/fuentes/lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py

    r4042 r5661  
    575575                check_form=self.core.LliurexGoogleDriveManager.check_profile_info(self.new_profile,self.new_mountpoint,self.edition)
    576576
     577               
    577578                if not check_form["result"]:
    578579                        if check_form["code"]==1:
     
    585586                                msg_check=_("Profile already exists")
    586587                       
    587                         else:
     588                        elif check_form["code"]==4:
    588589                                msg_check=_("Mount point already used by another profile")     
     590
     591                        elif check_form["code"]==5:
     592                                msg_check=_("The mount point must be an empty folder") 
     593
     594                        elif check_form["code"]==6:
     595                                msg_check=_("Mount point is not owned by user")
    589596
    590597
Note: See TracChangeset for help on using the changeset viewer.