[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_7_3
Pierre Biava
nobody at users.sourceforge.net
Tue Aug 24 21:48:41 CEST 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".
The branch, master has been updated
via 82771670ed085a101414b1130d00f6bd95491f54 (commit)
via 86c75f464f1e41c6c81d7fa74ab00ab2541c5b34 (commit)
via 8ea9d6b7604fb9b0f741cad7a5589ae50d776824 (commit)
from bcc51339bb62dce3108b1d570345f971f2aa9575 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 82771670ed085a101414b1130d00f6bd95491f54
Author: pbiava <pierre.biava at nerim.net>
Date: Tue Aug 24 21:15:52 2010 +0200
new version 0.7.3
commit 86c75f464f1e41c6c81d7fa74ab00ab2541c5b34
Author: pbiava <pierre.biava at nerim.net>
Date: Tue Aug 24 21:04:52 2010 +0200
changes in the management of users' rights
commit 8ea9d6b7604fb9b0f741cad7a5589ae50d776824
Author: pbiava <pierre.biava at nerim.net>
Date: Tue Aug 24 19:26:58 2010 +0200
Changing the configuration file for grisbidev.conf
-----------------------------------------------------------------------
Changes:
diff --git a/configure.in b/configure.in
index d2bc3f7..ef9220b 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-AC_INIT([grisbi],[0.7.2])
+AC_INIT([grisbidev],[0.7.3])
AC_CONFIG_SRCDIR(src/main.c)
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
diff --git a/po/cs.po b/po/cs.po
index e6b9873..cdd1126 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: cs\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2010-04-27 00:47+0100\n"
"Last-Translator: Markus7cz <markus7cz at gmail.com>\n"
"Language-Team: \n"
@@ -1619,10 +1619,10 @@ msgid "Account file is world readable."
msgstr "Soubor účtů je zcela čitelný."
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Váš soubor účtů by neměl být čitelný pro nikoho jiného, ale je. Měl(a) byste "
"změnit jeho oprávnění.\n"
@@ -7660,11 +7660,11 @@ msgstr "Toto není soubor rozpočtů, nahrávání bylo zrušeno..."
msgid "This is not a report file, loading canceled..."
msgstr "Toto není soubor sestavy, nahrávání bylo zrušeno..."
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr "Pojmenujte soubor účtů!"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
@@ -7673,31 +7673,31 @@ msgstr ""
"%s je složka...\n"
"Prosím zvolte jiný název."
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Chcete přepsat soubor \"%s\"?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Soubor již existuje"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr "Grisbi nemohlo ověřit soubor %s, prosím zkontrolujte soubor."
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Nelze číst ze souboru '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Nelze zapsat soubor zámku: '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Nelze odstranit soubor zámku: '%s': %s"
diff --git a/po/da.po b/po/da.po
index 7cb83f3..3fb36e5 100644
--- a/po/da.po
+++ b/po/da.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: da\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2006-03-25 13:23+0100\n"
"Last-Translator: Dmitri Popov <dmpop at openoffice.org>\n"
"Language-Team: \n"
@@ -1683,8 +1683,7 @@ msgstr "Kontooverskrift"
#: ../src/dialog.c:65
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
#: ../src/dialog.c:69
@@ -7471,42 +7470,42 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr ""
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr ""
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr ""
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
m
sgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr ""
diff --git a/po/de.po b/po/de.po
index c7ffd89..fe9e899 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: de\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2010-05-16 14:55+0200\n"
"Last-Translator: Martin Stromberger <mstromberger at aon.at>\n"
"Language-Team: deutsch <de at li.org>\n"
@@ -1618,10 +1618,10 @@ msgid "Account file is world readable."
msgstr "Die Datei ist für alle Benutzer lesbar"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Ihre Grisbi-Datei sollte nicht von jedem gelesen werden können. Die "
"Berechtigungen sollten geändert werden.\n"
@@ -7732,11 +7732,11 @@ msgstr ""
"Diese Datei ist keine Bericht-Datei,\n"
"die Verarbeitung wird beendet."
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr "Kein Dateiname !"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
@@ -7745,31 +7745,31 @@ msgstr ""
"%s ist ein Ordner...\n"
"Bitte einen andern Namen wählen."
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Soll die vorhandene Datei \"%s\" überschrieben werden?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Die Datei ist bereits vorhanden"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr "Die Datei %s kann nicht geöffnet werden - bitte die Datei überprüfen."
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Die Datei kann nicht gelesen werden '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Die Datei kann nicht gesperrt werden '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Die Datei kann nicht entsperrt werden '%s': %s"
diff --git a/po/el.po b/po/el.po
index f58a62f..1db6bc4 100644
--- a/po/el.po
+++ b/po/el.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Grisbi 0.5.9\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2009-04-13 14:53+0200\n"
"Last-Translator: \n"
"Language-Team: KASKAS <ttnfy17 at yahoo.gr>\n"
@@ -1675,10 +1675,10 @@ msgid "Account file is world readable."
msgstr "Το αρχείο λογαριασμού είναι αναγνώσιμο."
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Το αρχείο λογαριασμού σας δεν πρέπει να είναι αναγνώσιμο από οποιονδήποτε, "
"αλλά είναι. Πρέπει\n"
@@ -7864,11 +7864,11 @@ msgstr "Αυτό δεν είναι ένα αρχείο προϋπολογισμ
msgid "This is not a report file, loading canceled..."
msgstr "Αυτό δεν είναι ένα αρχείο εκθέσεων, η φόρτωση ακυρώνεται…"
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr "Κανένα όνομα στο αρχείο!"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
@@ -7877,32 +7877,32 @@ msgstr ""
"%s είναι ένας κατάλογος…\n"
"Παρακαλώ επιλέξτε ένα άλλο όνομα."
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Θέλετε να αντικαταστήσετε το αρχείο \"%s\";"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Το αρχείο υπάρχει ήδη"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
"Το Grisbi δεν μπορεί να εκκινήσει το αρχείο %s,παρακαλώ ελέγξτε το αρχείο."
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Απέτυχε να διαβάσει από το αρχείο '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Αδύνατη η εγγραφή στο κλειδωμένο αρχείο :'%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Αδύνατη η διαγραφή του κλειδωμένου αρχείου: '%s': %s"
diff --git a/po/eo.po b/po/eo.po
index 809aca6..c3ada4e 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: eo\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2009-06-28 20:04+0200\n"
"Last-Translator: Cyril Castelbou <cyril.castelbou at free.fr>\n"
"Language-Team: esperanto <eo at li.org>\n"
@@ -1557,8 +1557,7 @@ msgstr ""
#: ../src/dialog.c:65
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
#: ../src/dialog.c:69
@@ -7177,42 +7176,42 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr ""
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr ""
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr ""
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr ""
diff --git a/po/es.po b/po/es.po
index ff92150..9e604d6 100644
--- a/po/es.po
+++ b/po/es.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2010-05-09 11:48+0100\n"
"Last-Translator: Carlos M. Cámara Mora <cmcamara at gmail.com>\n"
"Language-Team: Spanish <es at li.org>\n"
@@ -1624,10 +1624,10 @@ msgid "Account file is world readable."
msgstr "El archivo de cuentas es legible por todo el mundo"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Su fichero de cuentas no debería ser legible por nadie más, pero lo es. "
"Debería cambiar sus permisos.\n"
@@ -7737,11 +7737,11 @@ msgstr "Esto no es un archivo de presupuestos, la carga se ha cancelado..."
msgid "This is not a report file, loading canceled..."
msgstr "Esto no es un archivo de informes, la carga se ha cancelado..."
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr "¡ No ha indicado un nombre para el ficheor !"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
@@ -7750,31 +7750,31 @@ msgstr ""
"%s es un directorio...\n"
"Por favor, elija otro nombre."
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Quiere sobreescribir el fichero \"%s\"?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "El fichero ya existe"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr "Grisbi no puede iniciar el fichero %s, por favor compruebe el fichero."
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr "No se puede leer del fichero '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "No se puede bloquear el archivo '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "No se puede borrar el archivo bloqueado '%s': %s"
diff --git a/po/fa.po b/po/fa.po
index 596577c..ce7fc47 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: girisbi VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2008-10-02 10:07+0330\n"
"Last-Translator: hadi <hadi60 at gmail.com>\n"
"Language-Team: farsi <en at li.org>\n"
@@ -1637,8 +1637,7 @@ msgstr ""
#: ../src/dialog.c:65
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
#: ../src/dialog.c:69
@@ -7366,42 +7365,42 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr ""
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "آیا برروی فایل قدیمی نوشته شود \"%s\"؟"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "این فایل موجود است."
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 908c1ff..96863ad 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2010-05-02 23:26+0200\n"
"Last-Translator: Pierre Biava <pierre at pierre.biava.name>\n"
"Language-Team: GNOME French Team <gnomefr at traduc.org>\n"
@@ -1613,12 +1613,11 @@ msgstr "Le fichier de comptes est lisible par tous"
#: ../src/dialog.c:65
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Votre fichier de compte ne devrait pas être lisible par qui que ce soit "
"d'autre que vous ; or, il l'est.\n"
-"Corriger le problème maintenant ?"
+"Vous devriez changer ses permissions"
#: ../src/dialog.c:69
#, c-format
@@ -7719,11 +7718,11 @@ msgstr "Ce fichier n'est pas un fichier de budget Grisbi, action annulée..."
msgid "This is not a report file, loading canceled..."
msgstr "Ce fichier n'est pas un fichier d'état Grisbi, action annulée."
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
msgid "No name to the file !"
msgstr "Le fichier n'a pas de nom"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
@@ -7732,35 +7731,35 @@ msgstr ""
"%s est un répertoire...\n"
"Choisissez un autre nom."
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Voulez-vous écraser le fichier « %s » ?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Le fichier existe déjà"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr "Grisbi ne trouve pas le fichier %s, vérifiez qu'il existe."
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr ""
"Impossible de lire le fichier « %s »\n"
"%s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr ""
"Impossible d'écrire le fichier « %s »\n"
"%s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr ""
diff --git a/po/he.po b/po/he.po
index b124e1f..26f49fe 100644
--- a/po/he.po
+++ b/po/he.po
@@ -283,7 +283,7 @@ msgid ""
msgstr ""
"Project-Id-Version: he\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2006-02-11 16:08+0200\n"
"Last-Translator: dotan\n"
"Language-Team: <en at li.org>\n"
@@ -1989,10 +1989,10 @@ msgid "Account file is world readable."
msgstr "טיפול בקבצי חשבונות"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"קובץ חשבון זה אינו אמור להיות מאופשר לקריאה לאף משתמש אחר, אך האפשרות קיימת. "
"יש לשנות את ההרשאות.\n"
@@ -7929,43 +7929,43 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "שם קובץ החשבונות"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "האם לשכתב את הקובץ \"%s\"?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "הקובץ כבר קיים"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, fuzzy, c-format
msgid "Failed to read from file '%s': %s"
msgstr "לא ניתן לנעול את הקובץ '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, fuzzy, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "לא ניתן לנעול את הקובץ '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, fuzzy, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "לא ניתן לנעול את הקובץ '%s': %s"
diff --git a/po/it.po b/po/it.po
index 43f3ab4..a44e202 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: it\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2007-04-05 00:03+0000\n"
"Last-Translator: Fabio Erculiani <fabio.erculiani at gmail.com>\n"
"Language-Team: Italian <LL at li.org>\n"
@@ -1710,10 +1710,10 @@ msgid "Account file is world readable."
msgstr "Gestione file dei conti"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"I file del tuo conto non dovrebbero essere leggibili da nessun altro, ma non "
"è così.Dovresti cambiare i permessi al file.\n"
@@ -7654,43 +7654,43 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "Nome del documento dei conti"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Vuoi sovrascrivere il file \"%s\"?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Il file esiste già"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, fuzzy, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Impossibile bloccare il file '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, fuzzy, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Impossibile bloccare il file '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, fuzzy, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Impossibile bloccare il file '%s': %s"
diff --git a/po/nl.po b/po/nl.po
index 66bad36..3953619 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2007-02-11 22:04+0100\n"
"Last-Translator: E.Huijsing <lighthous at users.sourceforge.net>\n"
"Language-Team: Dutch <en at li.org>\n"
@@ -1735,8 +1735,7 @@ msgstr "Rekening bestanden"
#: ../src/dialog.c:65
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
#: ../src/dialog.c:69
@@ -7721,43 +7720,43 @@ msgid "This is not a report file, loading canceled..."
msgstr ""
# titel van scherm bij het opslaan met een nieuwe naam (dus ook bij de eerste keer)
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "Bestand opslaan als"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Wilt u het bestand \"%s\" overschrijven?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Bestand bestaat reeds"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, fuzzy, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Kan bestand '%s': %s niet vergrendelen"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, fuzzy, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Kan bestand '%s': %s niet vergrendelen"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, fuzzy, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Kan bestand '%s': %s niet vergrendelen"
diff --git a/po/pl.po b/po/pl.po
index 53c6386..0d28547 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2006-05-15 12:44+0200\n"
"Last-Translator: Ryszard Jeziorski <r.jeziorski at dart.kielce.pl>\n"
"Language-Team: Polish\n"
@@ -1715,10 +1715,10 @@ msgid "Account file is world readable."
msgstr "Ustawienia dla plików kont"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Plik kont nie powinien mieć ustawionych praw do czytania dla innych "
"użytkowników. Proszę zmienić prawa dostępu do pliku.\n"
@@ -7650,43 +7650,43 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "Nazwa pliku kont"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Czy chcesz nadpisać plik \"%s\"?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Plik już istnieje"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, fuzzy, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Nie można zaalokować pliku '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, fuzzy, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Nie można zaalokować pliku '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, fuzzy, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Nie można zaalokować pliku '%s': %s"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index b0194ad..207c9f3 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pt_BR\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2005-12-19 09:07-0200\n"
"Last-Translator: \n"
"Language-Team: <pt at li.org>\n"
@@ -1715,10 +1715,10 @@ msgid "Account file is world readable."
msgstr "Manipulação dos arquivos de contas"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Sua arquivo de contas não deve ser lido por qualquer pessoa, mas é. Você "
"deve mudar suas permissões.\n"
@@ -7683,43 +7683,43 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "Nome do arquivo de contas"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Você quer sobrescrever o arquivo \"%s\"?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Arquivo já existe"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, fuzzy, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Não posso bloquear o arquivo '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, fuzzy, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Não posso bloquear o arquivo '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, fuzzy, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Não posso bloquear o arquivo '%s': %s"
diff --git a/po/ro.po b/po/ro.po
index 1f7aa55..8f451b3 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -38,7 +38,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ro\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2005-12-19 11:24+0100\n"
"Last-Translator: Mircea Aronovici <bucuresti at free.fr>\n"
"Language-Team: <bucuresti at free.fr>\n"
@@ -1748,10 +1748,10 @@ msgid "Account file is world readable."
msgstr "Gestiunea fişierelor de conturi"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"Acest fişier de cont nu trebuie fi lizibil de alţii decât de dumneavoastră ; "
"ori este.\n"
@@ -7713,43 +7713,43 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "Creaţia unui nume de fişier de conturi"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "Vreţi să striviţi fişierul \"%s\"?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Fişierul există deja"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, fuzzy, c-format
msgid "Failed to read from file '%s': %s"
msgstr "Imposibil de a marca fişierul '%s' ca utilizat: %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, fuzzy, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "Imposibil de a marca fişierul '%s' ca utilizat: %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, fuzzy, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "Imposibil de a marca fişierul '%s' ca utilizat: %s"
diff --git a/po/ru.po b/po/ru.po
index 34635b5..42c56c5 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2010-02-11 19:06+0300\n"
"Last-Translator: Alexandre Prokoudine <alexandre.prokoudine at gmail.com>\n"
"Language-Team: Russian <ru at li.org>\n"
@@ -1620,8 +1620,7 @@ msgstr "Файл со счетами доступен на чтение кому
#: ../src/dialog.c:65
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
#: ../src/dialog.c:69
@@ -7360,43 +7359,43 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "Имя файла со счетами"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr ""
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "Файл с таким именем уже есть"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, c-format
msgid "Failed to read from file '%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr ""
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr ""
diff --git a/po/zh_CN.po b/po/zh_CN.po
index c0ff753..97e9d48 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: zh_CN\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-24 19:14+0200\n"
+"POT-Creation-Date: 2010-08-24 21:05+0200\n"
"PO-Revision-Date: 2005-12-19 11:25+0100\n"
"Last-Translator: Jianyu Tang <jianyunet at gmail.com>\n"
"Language-Team: zh_CN <LL at li.org>\n"
@@ -1711,10 +1711,10 @@ msgid "Account file is world readable."
msgstr "账户文件处理选项"
#: ../src/dialog.c:65
+#, fuzzy
msgid ""
"Your account file should not be readable by anybody else, but it is. You "
-"should change its permissions.\n"
-"Should this be fixed now?"
+"should change its permissions."
msgstr ""
"您的账户文件不应能被他人打开,但是它是。您应该改变它的可读权限。\n"
"现在改变吗?"
@@ -7619,43 +7619,43 @@ msgstr ""
msgid "This is not a report file, loading canceled..."
msgstr ""
-#: ../src/gsb_file_util.c:66
+#: ../src/gsb_file_util.c:67
#, fuzzy
msgid "No name to the file !"
msgstr "命名账户文件"
-#: ../src/gsb_file_util.c:77
+#: ../src/gsb_file_util.c:78
#, c-format
msgid ""
"%s is a directory...\n"
"Please choose another name."
msgstr ""
-#: ../src/gsb_file_util.c:84
+#: ../src/gsb_file_util.c:85
#, c-format
msgid "Do you want to overwrite file \"%s\"?"
msgstr "您要覆盖原文件 \"%s\" 吗?"
-#: ../src/gsb_file_util.c:85
+#: ../src/gsb_file_util.c:86
msgid "File already exists"
msgstr "文件已经存在"
-#: ../src/gsb_file_util.c:132
+#: ../src/gsb_file_util.c:133
#, c-format
msgid "Grisbi cannot stat file %s, please check the file."
msgstr ""
-#: ../src/gsb_file_util.c:174
+#: ../src/gsb_file_util.c:175
#, fuzzy, c-format
msgid "Failed to read from file '%s': %s"
msgstr "不能打开文件 '%s': %s"
-#: ../src/gsb_file_util.c:345
+#: ../src/gsb_file_util.c:346
#, fuzzy, c-format
msgid "Cannot write lock file :'%s': %s"
msgstr "不能锁定文件 '%s': %s"
-#: ../src/gsb_file_util.c:372
+#: ../src/gsb_file_util.c:373
#, fuzzy, c-format
msgid "Cannot erase lock file :'%s': %s"
msgstr "不能锁定文件 '%s': %s"
diff --git a/src/dialog.c b/src/dialog.c
index 72ae82e..3664b6e 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -63,7 +63,7 @@ struct conditional_message messages[] =
{ "account-file-readable", N_("Account file is world readable."),
N_("Your account file should not be readable by anybody else, but it is. You should "
- "change its permissions.\nShould this be fixed now?"),
+ "change its permissions."),
FALSE, FALSE, },
{ "account-already-opened", N_("File \"%s\" is already opened"),
diff --git a/src/gsb_file_load.c b/src/gsb_file_load.c
index 8ad5d7d..f4c1d5d 100644
--- a/src/gsb_file_load.c
+++ b/src/gsb_file_load.c
@@ -333,10 +333,10 @@ gboolean gsb_file_load_open_file ( gchar *filename )
/* fill the buffer stat to check the permission */
return_value = g_stat (filename, &buffer_stat);
- /* check the access to the file and propose to change it */
+ /* check the access to the file and display a message */
#ifndef _WIN32
- if ( buffer_stat.st_mode != ( S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP ) )
- gsb_file_util_change_permissions ( );
+ if ( buffer_stat.st_mode != 33152 )
+ gsb_file_util_display_warning_permissions ( );
#endif /* _WIN32 */
/* load the file */
diff --git a/src/gsb_file_save.c b/src/gsb_file_save.c
index b580ea5..d61668d 100644
--- a/src/gsb_file_save.c
+++ b/src/gsb_file_save.c
@@ -462,31 +462,33 @@ gboolean gsb_file_save_save_file ( const gchar *filename,
/* if it's a new file, we set the permission */
if ( do_chmod )
- {
- /* it's a new file or stat couldn't find the permissions,
- * so set only user can see the file by default */
+ {
+ /* it's a new file or stat couldn't find the permissions,
+ * so set only user can see the file by default */
#ifdef _MSC_VER
- _chmod ( filename, _S_IREAD | _S_IWRITE );
+ _ chmod ( filename, _S_IREAD | _S_IWRITE );
#else
- chmod ( filename, S_IRUSR | S_IWUSR );
+ chmod ( filename, S_IRUSR | S_IWUSR );
#endif /*_MSC_VER */
}
else
{
- /* it's not a new file but gtk overwrite the permissions
- * so need to re-set the good permissions saved before */
+ /* it's not a new file but gtk overwrite the permissions
+ * so need to re-set the good permissions saved before */
#ifdef _MSC_VER
- if (_chmod (filename, buf.st_mode) == -1)
- {
- /* we couldn't set the chmod, set the default permission */
- _chmod ( filename, _S_IREAD | _S_IWRITE );
- }
+ if (_chmod (filename, buf.st_mode) == -1)
+ {
+ /* we couldn't set the chmod, set the default permission */
+ _chmod ( filename, _S_IREAD | _S_IWRITE );
+ }
#else
- if (chmod (filename, buf.st_mode) == -1)
- {
- /* we couldn't set the chmod, set the default permission */
- chmod ( filename, S_IRUSR | S_IWUSR );
- }
+ if (chmod (filename, buf.st_mode) == -1)
+ {
+ /* we couldn't set the chmod, set the default permission */
+ chmod ( filename, S_IRUSR | S_IWUSR );
+ }
+ /* restores uid and gid */
+ chown ( filename, buf.st_uid, buf.st_gid );
#endif /*_MSC_VER */
}
diff --git a/src/gsb_file_util.c b/src/gsb_file_util.c
index f5f4410..b2e508a 100644
--- a/src/gsb_file_util.c
+++ b/src/gsb_file_util.c
@@ -40,6 +40,7 @@
/*START_EXTERN*/
+extern struct conditional_message messages[];
extern gchar *nom_fichier_comptes;
/*END_EXTERN*/
@@ -398,13 +399,35 @@ void gsb_file_util_change_permissions ( void )
* check box is not displayed and the paramater is forced to
* not display msg. */
devel_debug (NULL);
+
#ifndef _WIN32
if ( question_conditional_yes_no ( "account-file-readable" ) == TRUE )
{
- chmod ( nom_fichier_comptes, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP );
+ chmod ( nom_fichier_comptes, S_IRUSR | S_IWUSR );
}
#endif /* _WIN32 */
}
+/**
+ *
+ * called when loading a file, if the permissions are not set only for the user
+ * display a conditional warning
+ *
+ * \param
+ *
+ * \return
+ * */
+void gsb_file_util_display_warning_permissions ( void )
+{
+ gint msg_no = 0;
+
+ devel_debug (NULL);
+
+ msg_no = question_conditional_yes_no_get_no_struct ( &messages[0], "account-file-readable" );
+
+ dialogue_conditional_hint ( _(messages[msg_no].hint), _(messages[msg_no].message), "account-file-readable" );
+}
+
+
diff --git a/src/gsb_file_util.h b/src/gsb_file_util.h
index 8edb656..91a5a55 100644
--- a/src/gsb_file_util.h
+++ b/src/gsb_file_util.h
@@ -6,6 +6,7 @@
/* START_DECLARATION */
void gsb_file_util_change_permissions ( void );
+void gsb_file_util_display_warning_permissions ( void );
gboolean gsb_file_util_get_contents ( gchar *filename,
gchar **file_content,
gulong *length );
hooks/post-receive
--
grisbi
More information about the cvs
mailing list