[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

remountrw patch fr



Hi,

Hope I've used the right command:

diff -u remountrw remountrw_fr > remountrw_fr.patch



Jody
--- remountrw	2005-10-04 10:18:29.000000000 +0200
+++ remountrw_fr	2005-10-13 01:21:58.000000000 +0200
@@ -18,7 +18,7 @@
 [ -n "$DISPLAY" ] && [ -x /usr/bin/Xdialog ] && DIALOG="Xdialog"
 
 PARTITION="$1"
-
+echo $PARTITION > /tmp/mount.debug
 if [ ! -b "$PARTITION" ]; then
 # It's no device file, check if it is a mounted directory instead
 MOUNTPOINT="$PARTITION"
@@ -48,6 +48,16 @@
 ERROR3="
 PRECAUCIÓN: La partición $PARTITION es de tipo NTFS! Escribir en este tipo de sistema de ficheros puede causar pérdida de datos. Por esto, debería realizar sólamente operaciones de escritura manualmente y esperar que después tenga que reinstalar el sistema de ficheros. Este mensaje no hará esta operación tan arriesgada por usted y finalizará sin cambiar nada."
 ;;
+fr)
+TITLE_ERROR="ERROR"
+ERROR1="
+Usage: $0 /dev/partitionname"
+ERROR2="
+$PARTITION n'est pas montée.
+Veuillez monter la partition avant de changer le mode d'accés en lecture/écriture."
+ERROR3="
+Attention: La partition $PARTITION utilise le système de fichier NTFS! L'écriture peut engendrer une perte de données. Vous pouvez essayer le pilote \"captive-ntfs\" (cf: menu KNOPPIX), ou effectuer les opérations d'écriture manuellement en attendant de réinstaller le système de fichier ensuite. Cette action n'effectuera pas cette chose risquée pour vous, et se termine sans rien changer."
+;;
 *)
 TITLE_ERROR="ERROR"
 ERROR1="
@@ -94,6 +104,15 @@
 ERROR4="
 El comando remount falló. Puede ser que haya otro proceso accediendo actualmente al sistema de ficheros."
 ;;
+fr)
+RWMESSAGE="en lecture-seule"
+[ "$CHANGETO" = "rw" ] && RWMESSAGE="inscriptible"
+TITLE_QUESTION="Rendre la partition $PARTITION $RWMESSAGE?"
+MESSAGE1="
+Voulez-vous vraiment rendre la partition $PARTITION ($FILESYSTEM) $RWMESSAGE? :)"
+ERROR4="
+La commande de remontage a échoué. Un autre processus accède peut être déja aux fichiers."
+;;
 *)
 RWMESSAGE="read-only"
 [ "$CHANGETO" = "rw" ] && RWMESSAGE="writable"

Reply to: