Changeset 7321


Ignore:
Timestamp:
May 31, 2018, 12:17:34 PM (17 months ago)
Author:
jrpelegrina
Message:

Added changes to check if Chromium is default browser

Location:
lliurex-gdrive/trunk/fuentes
Files:
2 added
6 edited

Legend:

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

    r5645 r7321  
    5050                        dialog.run()
    5151                        sys.exit(1)
     52
     53        #def islgd_running             
    5254       
    5355
     
    106108                self.profile_box.load_info(self.load_profiles)
    107109
     110        #def load_info 
    108111               
    109112        def set_css_info(self):
     
    118121                self.check_plabel.set_name("MSG_LABEL")
    119122
    120                                
     123        #def remove_chromium_bin                       
    121124                       
    122125        def connect_signals(self):
     
    149152                                f.close
    150153
     154        #def config_indicator                   
    151155
    152156        def cleanLockToken(self):
     
    165169                        self.launch_indicator()
    166170
     171                self.core.LliurexGoogleDriveManager.remove_chromium_bin()
    167172                self.cleanLockToken()
    168173                Gtk.main_quit()
     174       
     175        #def quit
    169176       
    170177        def start_gui(self):
  • lliurex-gdrive/trunk/fuentes/lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py

    r7144 r7321  
    300300
    301301                self.edition=False
    302                 self.core.lgd.check_plabel.set_text(_("Checking connection to google..."))
    303                 self.core.lgd.check_window.show()
    304                 self.init_threads()
    305                 self.check_connection_t.start()
    306                 GLib.timeout_add(100,self.pulsate_add_connection)
     302                self.msg_label.set_text("")
     303                is_chromium_favourite=self.core.LliurexGoogleDriveManager.is_chromium_favourite_browser()
     304                changed_browser=True
     305
     306                if is_chromium_favourite:
     307                        can_change=self.core.LliurexGoogleDriveManager.can_change_browser()
     308                        if can_change:
     309                                dialog = Gtk.MessageDialog(None,0,Gtk.MessageType.WARNING, Gtk.ButtonsType.YES_NO, "Lliurex GDrive")
     310                                dialog.format_secondary_text(_("To add a profile it is necessary to change Chromium as default browser by another (Firefox or Chrome).\nThe change will be made automatically. Once the profile is added Chromium it will be the favorite browser again.\nDo you wish to continue?"))
     311                                response=dialog.run()
     312                                dialog.destroy()
     313                                if response==Gtk.ResponseType.YES:
     314                                        self.core.LliurexGoogleDriveManager.change_default_browser()
     315                                else:
     316                                        changed_browser=False
     317                        else:
     318                                changed_browser=False           
     319
     320                if changed_browser:                             
     321                        self.core.lgd.check_plabel.set_text(_("Checking connection to google..."))
     322                        self.core.lgd.check_window.show()
     323                        self.init_threads()
     324                        self.check_connection_t.start()
     325                        GLib.timeout_add(100,self.pulsate_add_connection)
     326
     327                else:   
     328                        msg_error=self.get_msg(21)
     329                        self.msg_label.set_name("MSG_ERROR_LABEL")
     330                        self.msg_label.set_text(msg_error)
    307331
    308332        #def add_new_profile_button_clicked     
     
    334358                                self.new_profile_window.show()
    335359                               
    336                         else:           
     360                        else:
     361                                self.core.LliurexGoogleDriveManager.remove_chromium_bin()               
    337362                                msg_error=self.get_msg(8)
    338363                                self.msg_label.set_name("MSG_ERROR_LABEL")
     
    673698                        GLib.timeout_add(100,self.pulsate_check_form)
    674699
     700        #def accept_add_profile_clicked         
     701
    675702
    676703        def pulsate_check_form(self):
     
    721748                                return True             
    722749
     750        #def check_form                 
     751
    723752        def check_form(self):                   
    724753
     
    728757
    729758       
    730         #def accept_add_profile_clicked
     759        #def check_form
    731760
    732761        def check_mountpoint_folder(self,widget):
     
    900929               
    901930                elif code==20:
    902                         msg_text=_("Error: No folders found in Gdrive profile. You must disable the option")   
     931                        msg_text=_("Error: No folders found in Gdrive profile. You must disable the option")
     932
     933                elif code==21:
     934                        msg_text=_("Error: To add a profile it is required that Chromium is not the default browser")           
    903935
    904936                               
     
    915947                                child.kill()
    916948                                self.create_profile_t.terminate()
     949                                self.core.LliurexGoogleDriveManager.remove_chromium_bin()               
    917950                                self.profile_msg.set_name("MSG_ERROR_LABEL")
    918951                                self.profile_msg.set_text(_("Error getting authorization"))
     
    9801013        def cancel_add_profile_clicked(self,widget):
    9811014               
     1015                self.core.LliurexGoogleDriveManager.remove_chromium_bin()               
    9821016                self.new_profile_window.hide()
    983 
    9841017       
    9851018        #def cancel_add_profile_clicked
     1019
    9861020       
    9871021        def root_folder_clicked(self,widget,event):
     
    10011035        #def root_folder_clicked               
    10021036
    1003 
    1004         #def pulsate_read_mountpoint                   
    10051037
    10061038        def init_read_mountpoint_dialog(self):
     
    10611093                                return True
    10621094
    1063        
     1095        #def pulsate_read_mountpoint   
    10641096
    10651097        def read_mountpoint(self):
  • lliurex-gdrive/trunk/fuentes/lliurex-po/lliurex-gdrive-gui/ca_ES@valencia.po

    r6488 r7321  
    1010"Project-Id-Version: \n"
    1111"Report-Msgid-Bugs-To: \n"
    12 "POT-Creation-Date: 2017-12-11 10:17+0100\n"
    13 "PO-Revision-Date: 2017-12-15 12:00+0200\n"
     12"POT-Creation-Date: 2018-05-31 12:16+0200\n"
     13"PO-Revision-Date: 2018-05-31 12:16+0200\n"
    1414"Last-Translator: Pilar Embid Giner <embid_mar@gva.es>\n"
    1515"Language-Team: LliureX\n"
     
    1919"Content-Transfer-Encoding: 8bit\n"
    2020"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    21 "X-Generator: Virtaal 0.7.1\n"
     21"X-Generator: Poedit 1.8.7.1\n"
    2222
    2323#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:238
     
    3030
    3131#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:269
    32 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:581
     32#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:606
    3333msgid "Edit profile"
    3434msgstr "Edita el perfil"
    3535
    3636#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:294
    37 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:394
     37#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:402
    3838msgid "Close"
    3939msgstr "Tanca"
    4040
    41 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:302
    42 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:465
     41#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:310
     42msgid ""
     43"To add a profile it is necessary to change Chromium as default browser by "
     44"another (Firefox or Chrome).\n"
     45"The change will be made automatically. Once the profile is added Chromium it "
     46"will be the favorite browser again.\n"
     47"Do you wish to continue?"
     48msgstr ""
     49
     50#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:321
     51#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:490
    4352msgid "Checking connection to google..."
    4453msgstr "S'està comprovant la connexió a Google..."
    4554
    46 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:349
     55#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:374
    4756msgid "Do you want delete the profile?"
    4857msgstr "Voleu esborrar el perfil?"
    4958
    50 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:367
    51 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:411
    52 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:704
    53 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:503
     59#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:392
     60#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:436
     61#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:734
     62#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:522
    5463msgid "Applying changes..."
    5564msgstr "S'estan aplicant els canvis..."
    5665
    57 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:573
     66#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:598
    5867msgid "Delete profile"
    5968msgstr "Esborra el perfil"
    6069
    61 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:623
    62 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:612
     70#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:648
     71#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:631
    6372msgid "Without connection. Clicked to update"
    6473msgstr "No hi ha connexió. Feu clic per a actualitzar"
    6574
    66 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:627
    67 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:617
     75#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:652
     76#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:636
    6877msgid "Mounted. Clicked to dismount now"
    6978msgstr "Muntat. Feu clic per a desmuntar ara."
    7079
    71 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:631
    72 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:622
     80#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:656
     81#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:641
    7382msgid "Dismounted. Clicked to mount now"
    7483msgstr "Desmuntat. Feu clic per a muntar ara."
    7584
    76 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:669
     85#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:697
    7786msgid "Validating entered data..."
    7887msgstr "S'estan validant les dades introduïdes..."
    7988
    80 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:695
     89#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:725
    8190msgid "Connecting with google to get account access..."
    8291msgstr "S'està connectant amb Google per a accedir al compte..."
    8392
    84 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:801
     93#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:834
    8594msgid "Creating profile... "
    8695msgstr "S'està creant el perfil..."
    8796
    88 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:810
     97#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:843
    8998msgid "Profile created successfully"
    9099msgstr "El perfil s'ha creat correctament."
    91100
    92 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:838
    93 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:524
     101#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:871
     102#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:543
    94103msgid "Changes applied successfully"
    95104msgstr "Els canvis s'han aplicat correctament."
    96105
    97 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:841
     106#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:874
    98107msgid "Error: Unable to create mount point"
    99108msgstr "Error: No s'ha pogut crear el punt de muntatge."
    100109
    101 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:844
     110#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:877
    102111msgid "Error: Unable to mount mount point"
    103112msgstr "Error: No s'ha pogut muntar el punt de muntatge."
    104113
    105 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:847
     114#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:880
    106115msgid "Error: Mount point is not owned by user"
    107116msgstr "Error: El punt de muntatge no és propietat de l'usuari."
    108117
    109 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:850
     118#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:883
    110119msgid "Error: No mount point indicated"
    111120msgstr "Error: No s'ha especificat un punt de muntatge."
    112121
    113 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:853
     122#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:886
    114123msgid "Error: Profile is not authorized to Google Drive"
    115124msgstr "Error: El perfil no té autorització al Google Drive."
    116125
    117 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:856
     126#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:889
    118127msgid "Error: Unknow profile"
    119128msgstr "Error: Perfil desconegut."
    120129
    121 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:859
     130#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:892
    122131msgid "Error: Unable to dismount mount point"
    123132msgstr "Error: No s'ha pogut desmuntar el punt de muntatge."
    124133
    125 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:862
    126 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:512
     134#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:895
     135#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:531
    127136msgid "Error: Unable to connect with google"
    128137msgstr "Error: No s'ha pogut connectar amb Google."
    129138
    130 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:865
    131 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:522
     139#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:898
     140#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:541
    132141msgid "Status updated. Now you can change it"
    133142msgstr "S'ha actualitzat l'estat. Ara podeu canviar-lo."
    134143
    135 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:868
     144#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:901
    136145msgid "You must indicate a profile"
    137146msgstr "Cal que indiqueu un perfil"
    138147
    139 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:871
     148#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:904
    140149msgid "Profile can not contain blanks"
    141150msgstr "El perfil no pot contindre espais en blanc"
    142151
    143 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:874
     152#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:907
    144153msgid "Profile already exists"
    145154msgstr "El perfil ja existeix."
    146155
    147 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:877
     156#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:910
    148157msgid "Mount point already used by another profile"
    149158msgstr "El punt de muntatge ja s'està utilitzant per un altre perfil."
    150159
    151 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:880
     160#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:913
    152161msgid "The mount point must be an empty folder"
    153162msgstr "El punt de muntatge ha de ser una carpeta buida."
    154163
    155 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:883
     164#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:916
    156165msgid "Mount point is not owned by user"
    157166msgstr "El punt de muntatge no és propietat de l'usuari."
    158167
    159 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:886
     168#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:919
    160169msgid "Path of mount point can not contain blanks"
    161170msgstr "La ubicació del punt de muntatge no pot contindre espais en blanc."
    162171
    163 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:889
     172#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:922
    164173msgid "Error: You must specify a GDrive folder or disable the option"
    165174msgstr "Error: Heu d'especificar una carpeta al GDrive o inhabilitar l'opció"
    166175
    167 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:892
     176#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:925
    168177msgid ""
    169178"Error: Unable to mount mount point. The synced GDrive folder maybe not be "
     
    173182"sincronitzada al GDrive no és correcta."
    174183
    175 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:895
     184#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:928
    176185msgid "Error: Synced Gdrive folder no longer exists"
    177186msgstr "Error: La carpeta sincronitzada al Gdrive ja no existeix."
    178187
    179 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:898
     188#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:931
    180189msgid "Error: No folders found in Gdrive profile. You must disable the option"
    181190msgstr ""
     
    183192"l'opció"
    184193
    185 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:914
     194#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:934
     195msgid ""
     196"Error: To add a profile it is required that Chromium is not the default "
     197"browser"
     198msgstr ""
     199
     200#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:951
    186201msgid "Error getting authorization"
    187202msgstr "S'ha produït un error mentre s'obtenia autorització."
    188203
    189 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1008
     204#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1046
    190205msgid "Getting folders from Google Drive profile ..."
    191206msgstr "S'estan obtenint les carpetes des del perfil del Google Drive..."
    192207
    193 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1046
     208#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1084
    194209msgid "No folders detected on google drive profile"
    195210msgstr "No s'ha detectat cap carpeta en el perfil del Google Drive."
     
    239254msgstr "Afig perfil"
    240255
    241 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:334
     256#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:342
    242257msgid "Open folder"
    243258msgstr "Obri la carpeta"
    244259
    245 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:343
     260#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:351
    246261msgid "Update cache"
    247262msgstr "Actualitza la memòria cau"
    248263
    249 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:345
     264#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:353
    250265msgid "Click if do not see all the files in the Google Drive account"
    251266msgstr ""
     
    253268"Google Drive"
    254269
    255 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:377
     270#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:385
    256271msgid "Open Lliurex GDrive"
    257272msgstr "Obri el LliureX GDrive"
    258273
    259 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:516
     274#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:535
    260275msgid "dismount"
    261276msgstr "desmunta"
    262277
    263 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:518
     278#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:537
    264279msgid "mount"
    265280msgstr "munta"
    266281
    267 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:519
     282#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:538
    268283msgid "Error: Unable to "
    269284msgstr "Error: No s'ha pogut "
    270285
    271 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:588
     286#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:607
    272287msgid "Cache updated successfully"
    273288msgstr "Memòria cau actualitzada correctament"
    274289
    275 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:591
     290#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:610
    276291msgid "An error occurred updating the cache. Try again"
    277292msgstr ""
    278293"S'ha produït un error en actualitzar la memòria cau. Torneu-ho a provar"
    279294
    280 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:613
    281 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:623
     295#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:632
     296#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:642
    282297msgid "Used: not available"
    283298msgstr "En ús: no disponible"
    284299
    285 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:618
     300#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:637
    286301#, python-format
    287302msgid "Used: %s of %s"
    288303msgstr "Ús: %s de %s"
    289304
    290 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:720
     305#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:739
    291306msgid "Changes in last 15 minutes in "
    292307msgstr "Canvis realitzats en els últims 15 minuts en "
    293308
    294 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:725
     309#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:744
    295310msgid "-Files updated: "
    296311msgstr "-Fitxers actualitzats: "
    297312
    298 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:738
     313#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:761
    299314msgid "-Files added: "
    300315msgstr "-Fitxers afegits: "
    301316
    302 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:751
     317#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:778
    303318msgid "-Files deleted: "
    304319msgstr "-Fitxers suprimits: "
  • lliurex-gdrive/trunk/fuentes/lliurex-po/lliurex-gdrive-gui/es.po

    r6499 r7321  
    99"Project-Id-Version: \n"
    1010"Report-Msgid-Bugs-To: \n"
    11 "POT-Creation-Date: 2017-12-11 10:16+0100\n"
    12 "PO-Revision-Date: 2017-12-18 08:58+0100\n"
     11"POT-Creation-Date: 2018-05-31 12:13+0200\n"
     12"PO-Revision-Date: 2018-05-31 12:16+0200\n"
    1313"Last-Translator: lliurex <lliurex@gva.es>\n"
    1414"Language-Team: Spanish <es@li.org>\n"
     
    2929
    3030#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:269
    31 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:581
     31#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:606
    3232msgid "Edit profile"
    3333msgstr "Editar perfil"
    3434
    3535#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:294
    36 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:394
     36#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:402
    3737msgid "Close"
    3838msgstr "Cerrar"
    3939
    40 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:302
    41 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:465
     40#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:310
     41msgid ""
     42"To add a profile it is necessary to change Chromium as default browser by "
     43"another (Firefox or Chrome).\n"
     44"The change will be made automatically. Once the profile is added Chromium it "
     45"will be the favorite browser again.\n"
     46"Do you wish to continue?"
     47msgstr ""
     48"Para añadir un perfil es necesario cambiar Chromium como navegador por "
     49"defecto por otro (Firefox o Chrome).\n"
     50"El cambio se realizará de forma automática. Una vez creado el perfil "
     51"Chromium volverá otra vez a ser el navegador favorito.\n"
     52"\n"
     53"¿Desea continuar?"
     54
     55#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:321
     56#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:490
    4257msgid "Checking connection to google..."
    4358msgstr "Comprobando conexión con Google..."
    4459
    45 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:349
     60#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:374
    4661msgid "Do you want delete the profile?"
    4762msgstr "¿Deseas borrar el perfil?"
    4863
    49 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:367
    50 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:411
    51 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:704
    52 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:503
     64#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:392
     65#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:436
     66#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:734
     67#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:522
    5368msgid "Applying changes..."
    5469msgstr "Aplicando cambios..."
    5570
    56 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:573
     71#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:598
    5772msgid "Delete profile"
    5873msgstr "Borrar perfil"
    5974
    60 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:623
    61 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:612
     75#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:648
     76#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:631
    6277msgid "Without connection. Clicked to update"
    6378msgstr "Sin conexión. Pulse para actualizar"
    6479
    65 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:627
    66 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:617
     80#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:652
     81#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:636
    6782msgid "Mounted. Clicked to dismount now"
    6883msgstr "Montado. Pulse para desmontar ahora"
    6984
    70 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:631
    71 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:622
     85#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:656
     86#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:641
    7287msgid "Dismounted. Clicked to mount now"
    7388msgstr "Desmontado. Pulse para montar ahora"
    7489
    75 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:669
     90#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:697
    7691msgid "Validating entered data..."
    7792msgstr "Validando la información introducida..."
    7893
    79 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:695
     94#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:725
    8095msgid "Connecting with google to get account access..."
    8196msgstr "Conectando con google para obtener acceso a la cuenta..."
    8297
    83 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:801
     98#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:834
    8499msgid "Creating profile... "
    85100msgstr "Creando perfil..."
    86101
    87 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:810
     102#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:843
    88103msgid "Profile created successfully"
    89104msgstr "Perfil creado correctamente"
    90105
    91 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:838
    92 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:524
     106#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:871
     107#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:543
    93108msgid "Changes applied successfully"
    94109msgstr "Cambios aplicados correctamente"
    95110
    96 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:841
     111#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:874
    97112msgid "Error: Unable to create mount point"
    98113msgstr "Error: Imposible crear el punto de montaje"
    99114
    100 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:844
     115#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:877
    101116msgid "Error: Unable to mount mount point"
    102117msgstr "Error: Imposible montar el punto de montaje"
    103118
    104 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:847
     119#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:880
    105120msgid "Error: Mount point is not owned by user"
    106121msgstr "Error: Punto de montaje no pertenece al usurio"
    107122
    108 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:850
     123#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:883
    109124msgid "Error: No mount point indicated"
    110125msgstr "Error: No se ha indicado un punto de montaje"
    111126
    112 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:853
     127#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:886
    113128msgid "Error: Profile is not authorized to Google Drive"
    114129msgstr "Error: El perfil no tiene autorización para Google Drive"
    115130
    116 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:856
     131#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:889
    117132msgid "Error: Unknow profile"
    118133msgstr "Error: Perfil desconocido"
    119134
    120 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:859
     135#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:892
    121136msgid "Error: Unable to dismount mount point"
    122137msgstr "Error: Imposible desmontar el punto de montaje"
    123138
    124 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:862
    125 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:512
     139#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:895
     140#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:531
    126141msgid "Error: Unable to connect with google"
    127142msgstr "Error: Imposible conectar con Google"
    128143
    129 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:865
    130 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:522
     144#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:898
     145#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:541
    131146msgid "Status updated. Now you can change it"
    132147msgstr "Estado actualizado. Ahora puedes cambiarlo"
    133148
    134 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:868
     149#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:901
    135150msgid "You must indicate a profile"
    136151msgstr "Debes indicar un perfil"
    137152
    138 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:871
     153#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:904
    139154msgid "Profile can not contain blanks"
    140155msgstr "El perfil no puede contener espacios en blanco"
    141156
    142 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:874
     157#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:907
    143158msgid "Profile already exists"
    144159msgstr "El perfil ya existe"
    145160
    146 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:877
     161#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:910
    147162msgid "Mount point already used by another profile"
    148163msgstr "El punto de montaje ya esta siendo usado por otro perfil"
    149164
    150 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:880
     165#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:913
    151166msgid "The mount point must be an empty folder"
    152167msgstr "El punto de montaje debe ser una carpeta vacía"
    153168
    154 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:883
     169#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:916
    155170msgid "Mount point is not owned by user"
    156171msgstr "El punto de montaje no pertenece al usuario"
    157172
    158 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:886
     173#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:919
    159174msgid "Path of mount point can not contain blanks"
    160175msgstr "La ruta del punto de montaje no puede contener espacios en blanco"
    161176
    162 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:889
     177#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:922
    163178msgid "Error: You must specify a GDrive folder or disable the option"
    164179msgstr "Error: Debe especificar la carpeta de Gdrive o deshabilitar la opción"
    165180
    166 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:892
     181#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:925
    167182msgid ""
    168183"Error: Unable to mount mount point. The synced GDrive folder maybe not be "
     
    172187"sincronizada no sea correcta"
    173188
    174 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:895
     189#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:928
    175190msgid "Error: Synced Gdrive folder no longer exists"
    176191msgstr "Error: La carpeta sincronizada de Gdrive no existe"
    177192
    178 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:898
     193#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:931
    179194msgid "Error: No folders found in Gdrive profile. You must disable the option"
    180195msgstr ""
     
    182197"deshabilitar la opción"
    183198
    184 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:914
     199#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:934
     200msgid ""
     201"Error: To add a profile it is required that Chromium is not the default "
     202"browser"
     203msgstr ""
     204"Error: Para añadir un perfil es necesario que Chromium no sea el navegador "
     205"por defecto"
     206
     207#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:951
    185208msgid "Error getting authorization"
    186209msgstr "Error obteniendo autorización"
    187210
    188 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1008
     211#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1046
    189212msgid "Getting folders from Google Drive profile ..."
    190213msgstr "Obteniendo carpetas del perfil de Google Drive..."
    191214
    192 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1046
     215#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1084
    193216msgid "No folders detected on google drive profile"
    194217msgstr "No se han detectado carpetas en el perfil de Google Drive"
     
    238261msgstr "Añadir perfil"
    239262
    240 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:334
     263#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:342
    241264msgid "Open folder"
    242265msgstr "Abrir carpeta"
    243266
    244 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:343
     267#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:351
    245268msgid "Update cache"
    246269msgstr "Actualizar caché"
    247270
    248 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:345
     271#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:353
    249272msgid "Click if do not see all the files in the Google Drive account"
    250273msgstr ""
     
    252275"Google Drive"
    253276
    254 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:377
     277#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:385
    255278msgid "Open Lliurex GDrive"
    256279msgstr "Abrir Lliurex GDrive"
    257280
    258 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:516
     281#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:535
    259282msgid "dismount"
    260283msgstr "desmontar"
    261284
    262 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:518
     285#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:537
    263286msgid "mount"
    264287msgstr "montar"
    265288
    266 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:519
     289#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:538
    267290msgid "Error: Unable to "
    268291msgstr "Error: Imposible de "
    269292
    270 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:588
     293#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:607
    271294msgid "Cache updated successfully"
    272295msgstr "Caché actualizada correctamente"
    273296
    274 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:591
     297#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:610
    275298msgid "An error occurred updating the cache. Try again"
    276299msgstr "Se ha producido un error actualizando la caché. Inténtelo de nuevo"
    277300
    278 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:613
    279 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:623
     301#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:632
     302#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:642
    280303msgid "Used: not available"
    281304msgstr "Usado: no disponible"
    282305
    283 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:618
     306#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:637
    284307#, python-format
    285308msgid "Used: %s of %s"
    286309msgstr "Usado: %s de %s"
    287310
    288 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:720
     311#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:739
    289312msgid "Changes in last 15 minutes in "
    290313msgstr "Cambios en los últimos 15 minutos en "
    291314
    292 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:725
     315#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:744
    293316msgid "-Files updated: "
    294317msgstr "-Archivos actualizados: "
    295318
    296 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:738
     319#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:761
    297320msgid "-Files added: "
    298321msgstr "-Archivos nuevos: "
    299322
    300 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:751
     323#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:778
    301324msgid "-Files deleted: "
    302325msgstr "-Archivos eliminados: "
  • lliurex-gdrive/trunk/fuentes/lliurex-po/lliurex-gdrive-gui/lliurex-gdrive.pot

    r6499 r7321  
    99"Project-Id-Version: PACKAGE VERSION\n"
    1010"Report-Msgid-Bugs-To: \n"
    11 "POT-Creation-Date: 2017-12-11 10:16+0100\n"
     11"POT-Creation-Date: 2018-05-31 12:13+0200\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    2727
    2828#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:269
    29 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:581
     29#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:606
    3030msgid "Edit profile"
    3131msgstr ""
    3232
    3333#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:294
    34 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:394
     34#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:402
    3535msgid "Close"
    3636msgstr ""
    3737
    38 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:302
    39 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:465
     38#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:310
     39msgid ""
     40"To add a profile it is necessary to change Chromium as default browser by "
     41"another (Firefox or Chrome).\n"
     42"The change will be made automatically. Once the profile is added Chromium it "
     43"will be the favorite browser again.\n"
     44"Do you wish to continue?"
     45msgstr ""
     46
     47#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:321
     48#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:490
    4049msgid "Checking connection to google..."
    4150msgstr ""
    4251
    43 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:349
     52#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:374
    4453msgid "Do you want delete the profile?"
    4554msgstr ""
    4655
    47 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:367
    48 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:411
    49 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:704
    50 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:503
     56#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:392
     57#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:436
     58#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:734
     59#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:522
    5160msgid "Applying changes..."
    5261msgstr ""
    5362
    54 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:573
     63#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:598
    5564msgid "Delete profile"
    5665msgstr ""
    5766
    58 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:623
    59 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:612
     67#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:648
     68#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:631
    6069msgid "Without connection. Clicked to update"
    6170msgstr ""
    6271
    63 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:627
    64 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:617
     72#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:652
     73#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:636
    6574msgid "Mounted. Clicked to dismount now"
    6675msgstr ""
    6776
    68 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:631
    69 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:622
     77#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:656
     78#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:641
    7079msgid "Dismounted. Clicked to mount now"
    7180msgstr ""
    7281
    73 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:669
     82#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:697
    7483msgid "Validating entered data..."
    7584msgstr ""
    7685
    77 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:695
     86#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:725
    7887msgid "Connecting with google to get account access..."
    7988msgstr ""
    8089
    81 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:801
     90#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:834
    8291msgid "Creating profile... "
    8392msgstr ""
    8493
    85 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:810
     94#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:843
    8695msgid "Profile created successfully"
    8796msgstr ""
    8897
    89 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:838
    90 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:524
     98#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:871
     99#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:543
    91100msgid "Changes applied successfully"
    92101msgstr ""
    93102
    94 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:841
     103#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:874
    95104msgid "Error: Unable to create mount point"
    96105msgstr ""
    97106
    98 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:844
     107#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:877
    99108msgid "Error: Unable to mount mount point"
    100109msgstr ""
    101110
    102 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:847
     111#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:880
    103112msgid "Error: Mount point is not owned by user"
    104113msgstr ""
    105114
    106 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:850
     115#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:883
    107116msgid "Error: No mount point indicated"
    108117msgstr ""
    109118
    110 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:853
     119#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:886
    111120msgid "Error: Profile is not authorized to Google Drive"
    112121msgstr ""
    113122
    114 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:856
     123#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:889
    115124msgid "Error: Unknow profile"
    116125msgstr ""
    117126
    118 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:859
     127#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:892
    119128msgid "Error: Unable to dismount mount point"
    120129msgstr ""
    121130
    122 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:862
    123 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:512
     131#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:895
     132#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:531
    124133msgid "Error: Unable to connect with google"
    125134msgstr ""
    126135
    127 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:865
    128 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:522
     136#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:898
     137#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:541
    129138msgid "Status updated. Now you can change it"
    130139msgstr ""
    131140
    132 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:868
     141#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:901
    133142msgid "You must indicate a profile"
    134143msgstr ""
    135144
    136 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:871
     145#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:904
    137146msgid "Profile can not contain blanks"
    138147msgstr ""
    139148
    140 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:874
     149#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:907
    141150msgid "Profile already exists"
    142151msgstr ""
    143152
    144 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:877
     153#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:910
    145154msgid "Mount point already used by another profile"
    146155msgstr ""
    147156
    148 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:880
     157#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:913
    149158msgid "The mount point must be an empty folder"
    150159msgstr ""
    151160
    152 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:883
     161#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:916
    153162msgid "Mount point is not owned by user"
    154163msgstr ""
    155164
    156 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:886
     165#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:919
    157166msgid "Path of mount point can not contain blanks"
    158167msgstr ""
    159168
    160 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:889
     169#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:922
    161170msgid "Error: You must specify a GDrive folder or disable the option"
    162171msgstr ""
    163172
    164 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:892
     173#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:925
    165174msgid ""
    166175"Error: Unable to mount mount point. The synced GDrive folder maybe not be "
     
    168177msgstr ""
    169178
    170 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:895
     179#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:928
    171180msgid "Error: Synced Gdrive folder no longer exists"
    172181msgstr ""
    173182
    174 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:898
     183#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:931
    175184msgid "Error: No folders found in Gdrive profile. You must disable the option"
    176185msgstr ""
    177186
    178 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:914
     187#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:934
     188msgid ""
     189"Error: To add a profile it is required that Chromium is not the default "
     190"browser"
     191msgstr ""
     192
     193#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:951
    179194msgid "Error getting authorization"
    180195msgstr ""
    181196
    182 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1008
     197#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1046
    183198msgid "Getting folders from Google Drive profile ..."
    184199msgstr ""
    185200
    186 #: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1046
     201#: ../lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py:1084
    187202msgid "No folders detected on google drive profile"
    188203msgstr ""
     
    232247msgstr ""
    233248
    234 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:334
     249#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:342
    235250msgid "Open folder"
    236251msgstr ""
    237252
    238 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:343
     253#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:351
    239254msgid "Update cache"
    240255msgstr ""
    241256
    242 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:345
     257#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:353
    243258msgid "Click if do not see all the files in the Google Drive account"
    244259msgstr ""
    245260
    246 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:377
     261#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:385
    247262msgid "Open Lliurex GDrive"
    248263msgstr ""
    249264
    250 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:516
     265#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:535
    251266msgid "dismount"
    252267msgstr ""
    253268
    254 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:518
     269#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:537
    255270msgid "mount"
    256271msgstr ""
    257272
    258 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:519
     273#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:538
    259274msgid "Error: Unable to "
    260275msgstr ""
    261276
    262 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:588
     277#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:607
    263278msgid "Cache updated successfully"
    264279msgstr ""
    265280
    266 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:591
     281#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:610
    267282msgid "An error occurred updating the cache. Try again"
    268283msgstr ""
    269284
    270 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:613
    271 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:623
     285#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:632
     286#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:642
    272287msgid "Used: not available"
    273288msgstr ""
    274289
    275 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:618
     290#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:637
    276291#, python-format
    277292msgid "Used: %s of %s"
    278293msgstr ""
    279294
    280 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:720
     295#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:739
    281296msgid "Changes in last 15 minutes in "
    282297msgstr ""
    283298
    284 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:725
     299#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:744
    285300msgid "-Files updated: "
    286301msgstr ""
    287302
    288 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:738
     303#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:761
    289304msgid "-Files added: "
    290305msgstr ""
    291306
    292 #: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:751
     307#: ../lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator:778
    293308msgid "-Files deleted: "
    294309msgstr ""
  • lliurex-gdrive/trunk/fuentes/python-lliurex-gdrive/lliurexgdrive/__init__.py

    r7081 r7321  
    1717LLIUREX_CONFIG_FILE_64='/usr/share/lliurex-gdrive/llx-data/config_64'
    1818LLIUREX_CONFIG_FILE_32='/usr/share/lliurex-gdrive/llx-data/config_32'
     19FIREFOX_BROWSER_BIN='/usr/share/lliurex-gdrive/llx-data/firefox-browser'
     20CHROME_BROWSER_BIN='/usr/share/lliurex-gdrive/llx-data/chrome-browser'
    1921       
    2022
     
    2931                self.config_file=self.config_dir+"configProfiles"
    3032               
     33                self.bin_dir=os.path.expanduser("~/.local/bin")
     34                self.chromium_path=self.bin_dir+"/chromium-browser"
    3135                self.mount_cmd="google-drive-ocamlfuse -label %s %s"
    3236                self.clean_cache="google-drive-ocamlfuse -cc -label %s"
     
    3438                self.gdrive_path=[]
    3539                self.read_gdrive_folder=False
     40                self.browser_changed=False
     41
    3642
    3743                self.read_conf()
     
    425431                                else:
    426432                                        shutil.copy(LLIUREX_CONFIG_FILE_32,path )
    427                                                
    428                
     433                       
     434                        self.remove_chromium_bin()
     435
    429436                return True
    430437                               
     
    771778        #def change_config_file
    772779
     780        def is_chromium_favourite_browser(self):
     781
     782                result=False
     783
     784                if os.system("xdg-mime query default x-scheme-handler/https | grep chromium 1>/dev/null")==0:
     785                        result=True                     
     786                        msg_log="Detected chromium as favourite browser. Unable to add profile"
     787                        self.log(msg_log)                       
     788
     789                return result
     790
     791        #def is_chromium_favourite_browser     
     792
     793       
     794        def can_change_browser(self):
     795
     796                result=False
     797
     798                if not os.path.exists(self.chromium_path):
     799                        self.installed_browser_detect()
     800                        if len(self.installed_browsers)>0:
     801                                result=True
     802
     803                return result           
     804
     805        #def can_change_browser
     806
     807        def installed_browser_detect(self):     
     808
     809                self.installed_browsers=[]
     810
     811                if os.system('dpkg -l firefox | grep firefox | grep "^i[i]" 1>/dev/null')==0:
     812                        self.installed_browsers.append("firefox")
     813
     814                if os.system('dpkg -l google-chrome-stable | grep google-chrome-stable | grep "^i[i]" 1>/dev/null')==0:
     815                        self.installed_browsers.append("google-chrome-stable")
     816
     817
     818        #def installed_browser_detec           
     819
     820
     821        def change_default_browser(self):
     822       
     823
     824                if not os.path.exists(self.bin_dir):
     825                        os.makedirs(self.bin_dir)               
     826
     827       
     828                if "firefox" in self.installed_browsers:
     829                        shutil.copy(FIREFOX_BROWSER_BIN,self.chromium_path)
     830                else:
     831                        if "google-chrome-stable" in self.installed_browsers:
     832                                shutil.copy(CHROME_BROWSER_BIN,self.chromium_path)
     833
     834                self.browser_changed=True
     835
     836                try:
     837                        cmd='chmod +x '+self.chromium_path
     838                        os.system(cmd)
     839                except:
     840                        pass
     841
     842        #def change_default_browser                     
     843
     844
     845        def remove_chromium_bin(self):
     846
     847
     848                if self.browser_changed:
     849                        if os.path.exists(self.chromium_path):
     850                                os.remove(self.chromium_path)
     851
     852                return
     853               
     854        #def remove_chromium_bin                       
     855
    773856        def log(self,msg):
    774857               
Note: See TracChangeset for help on using the changeset viewer.