updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / pysshfs / pysshfs.patch
blobf1916dfbe6cd1de379d25173e96ef3e417ed7396
1 --- pysshfs.py 2011-11-07 16:57:19.000000000 +0100
2 +++ pysshfs_fr.py 2011-11-07 16:57:21.000000000 +0100
3 @@ -109,7 +109,7 @@
5 ## Combo Profil
6 self.profil_combo = gtk.combo_box_new_text()
7 - self.profil_combo.append_text('New Connection')
8 + self.profil_combo.append_text('Nouvelle Connection')
10 home = os.environ['HOME']
12 @@ -127,7 +127,7 @@
13 ## User
14 self.User_entry = gtk.Entry()
16 - label = gtk.Label('User :')
17 + label = gtk.Label('Identifiant :')
18 label.set_alignment(0, 1)
19 table.attach(label, 0, 1, 1, 2)
20 table.attach(self.User_entry, 1, 2, 1, 2)
21 @@ -135,28 +135,28 @@
22 ## Password
23 self.Password_entry = gtk.Entry()
24 self.Password_entry.set_visibility(False)
25 - label = gtk.Label('Password :')
26 + label = gtk.Label('Mot de passe :')
27 label.set_alignment(0, 1)
28 table.attach(label, 0, 1, 2, 3)
29 table.attach(self.Password_entry, 1, 2, 2, 3)
31 ## Host
32 self.Host_entry = gtk.Entry()
33 - label = gtk.Label('Host :')
34 + label = gtk.Label('Serveur :')
35 label.set_alignment(0, 1)
36 table.attach(label, 0, 1, 3, 4)
37 table.attach(self.Host_entry, 1, 2, 3, 4)
39 ## Dir
40 self.Dir_entry = gtk.Entry()
41 - label = gtk.Label('Dir :')
42 + label = gtk.Label('Dossier Distant :')
43 label.set_alignment(0, 1)
44 table.attach(label, 0, 1, 4, 5)
45 table.attach(self.Dir_entry, 1, 2, 4, 5)
47 ## Mountpoint
48 self.Mountpoint_entry = gtk.Entry()
49 - label = gtk.Label('Mountpoint :')
50 + label = gtk.Label('Dossier de montage :')
51 label.set_alignment(0, 1)
52 table.attach(label, 0, 1, 5, 6)
53 table.attach(self.Mountpoint_entry, 1, 2, 5, 6)
54 @@ -169,7 +169,7 @@
55 table.attach(self.Port_entry, 1, 2, 6, 7)
57 # Open directory
58 - self.OpenDir_checkbox = gtk.CheckButton('Open directory')
59 + self.OpenDir_checkbox = gtk.CheckButton('Ouvrir le dossier')
60 ## cocher/decocher par defaut l'ouverture du dossier
61 self.OpenDir_checkbox.set_active(False)
62 table.attach(self.OpenDir_checkbox, 0, 1, 7, 8)
63 @@ -184,7 +184,7 @@
65 ## Label
66 label = gtk.Label()
67 - label.set_markup("<b>Mountpoint</b>")
68 + label.set_markup("<b>Dossiers de montage</b>")
69 label.set_alignment(0, 1)
70 table.attach(label, 0, 2, 9, 10)
72 @@ -207,7 +207,7 @@
73 #table.attach(self.Umount_Bt, 0, 2, 16, 17)
75 ## Remove mountpoint
76 - self.check_remove = gtk.CheckButton('delete mountpoint when disconnect')
77 + self.check_remove = gtk.CheckButton('supprimer le dossiers de montage lors de la deconnection')
78 table.attach(self.check_remove, 0, 2, 12, 13)
80 ## Separator
81 @@ -281,7 +281,7 @@
82 def update_mountedfs(self):
83 self.mounted_fs_tab = get_mounted_fs()
84 self.Mounted_fs_combo.get_model().clear()
85 - self.Mounted_fs_combo.insert_text(0, 'Choose')
86 + self.Mounted_fs_combo.insert_text(0, 'Choisir')
88 ind = 1
89 for mounted_fs in self.mounted_fs_tab:
90 @@ -305,8 +305,8 @@
92 if User == '' or Password == '' or Host == '' or Mountpoint =='' or Port =='':
93 #!FixME
94 - debug_info('Error : please check your config')
95 - show_msg('Error : please check your config')
96 + debug_info('Erreur : vérifier vos reglages')
97 + show_msg('Erreur : vérifier vos reglages')
98 return
100 sshfs = sshFs()
101 @@ -329,7 +329,7 @@
102 class sshFs:
103 def __init__(self):
104 ## Three responses we might expect.
105 - self.Initial_Responses = ['Are you sure you want to continue connecting (yes/no)?',
106 + self.Initial_Responses = ['Etes vous sur de vouloir vous connecter (oui/non)?',
107 'password:', pexpect.EOF]
109 def mount(self, User="", Password="", Host="", Dir="", Mountpoint="", Port=22, Timeout=120):