Author: jflesch Date: 2007-07-29 01:42:36 +0000 (Sun, 29 Jul 2007) New Revision: 14421
Modified: trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties trunk/apps/Thaw/src/thaw/plugins/miniFrost/DraftPanel.java trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKDraft.java trunk/apps/Thaw/src/thaw/plugins/miniFrost/interfaces/Draft.java trunk/apps/Thaw/src/thaw/plugins/signatures/Identity.java Log: Fix identity importation Modified: trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties =================================================================== --- trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties 2007-07-29 01:11:20 UTC (rev 14420) +++ trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties 2007-07-29 01:42:36 UTC (rev 14421) @@ -12,21 +12,21 @@ thaw.common.identifier=Identifiant thaw.common.insertion=Insertion -thaw.common.download=T\ufffd\ufffdl\ufffd\ufffdchargement -thaw.common.addDownloads=T\ufffd\ufffdl\ufffd\ufffdcharger des fichiers +thaw.common.download=T\u00e9l\u00e9chargement +thaw.common.addDownloads=T\u00e9l\u00e9charger des fichiers thaw.common.insertions=Insertions -thaw.common.downloads=T\ufffd\ufffdl\ufffd\ufffdchargements +thaw.common.downloads=T\u00e9l\u00e9chargements thaw.common.addInsertions=Inserer des fichiers # is the following still used ? thaw.common.uploading=En cours d'upload -thaw.common.downloading=En cours de t\ufffd\ufffdl\ufffd\ufffdchargement +thaw.common.downloading=En cours de t\u00e9l\u00e9chargement thaw.common.inserting=En cours d'insertion -thaw.common.action.download=T\ufffd\ufffdl\ufffd\ufffdcharger -thaw.common.fetch=R\ufffd\ufffdcup\ufffd\ufffdrer +thaw.common.action.download=T\u00e9l\u00e9charger +thaw.common.fetch=R\u00e9cup\u00e9rer thaw.common.file=Fichier thaw.common.files=Fichiers @@ -35,7 +35,7 @@ thaw.common.size=Taille thaw.common.localPath=Chemin local -thaw.common.priority=Priorit\ufffd\ufffd +thaw.common.priority=Priorit\u00e9 # for page per page thaw.common.page=Page @@ -48,28 +48,28 @@ thaw.common.persistence=Continue thaw.common.persistant=Persistant -thaw.common.persistenceForever=Jusqu'\ufffd\ufffd ce que le transfert soit fini -thaw.common.persistenceReboot=Jusqu'\ufffd\ufffd ce que le noeud red\ufffd\ufffdmarre -thaw.common.persistenceConnection=Jusqu'\ufffd\ufffd ce que Thaw soit ferm\ufffd\ufffd +thaw.common.persistenceForever=Jusqu'\u00e0 ce que le transfert soit fini +thaw.common.persistenceReboot=Jusqu'\u00e0 ce que le noeud red\u00e9marre +thaw.common.persistenceConnection=Jusqu'\u00e0 ce que Thaw soit ferm\u00e9 thaw.common.globalQueue=Queue globale thaw.common.true=Vrai thaw.common.false=Faux thaw.common.yes=Oui thaw.common.no=Non -thaw.common.priority=Priorit\ufffd\ufffd +thaw.common.priority=Priorit\u00e9 thaw.common.clearFinished=Enlever les transferts finis # The following one *must* specify that this is about the transfer(s) only ! -thaw.common.removeFromTheList=Annuler et retirer les transferts s\ufffd\ufffdlectionn\ufffd\ufffds +thaw.common.removeFromTheList=Annuler et retirer les transferts s\u00e9lectionn\u00e9s thaw.common.cancel=Annuler thaw.common.delay=Retarder thaw.common.copyKeyToClipboard=Copier la clef dans le presse-papier thaw.common.copyKeysToClipboard=Copier les clefs dans le presse-papier -thaw.common.forceRestart=Forcer le red\ufffd\ufffdmarrage du/des transfert(s) -thaw.common.downloadLocally=T\ufffd\ufffdl\ufffd\ufffdchargement en local +thaw.common.forceRestart=Forcer le red\u00e9marrage du/des transfert(s) +thaw.common.downloadLocally=T\u00e9l\u00e9chargement en local -thaw.common.unspecified=Non sp\ufffd\ufffdcifi\ufffd\ufffd +thaw.common.unspecified=Non sp\u00e9cifi\u00e9 thaw.common.unknown=Inconnu thaw.common.estimation=Estimation thaw.common.failed=ECHEC @@ -88,17 +88,17 @@ thaw.common.apply=Appliquer -thaw.common.tempDir=R\ufffd\ufffdpertoire pour les fichiers temporaires +thaw.common.tempDir=R\u00e9pertoire pour les fichiers temporaires thaw.common.browse=Parcourir... -thaw.common.language=Langue (n\ufffd\ufffdcessite de red\ufffd\ufffdmarrer Thaw) : +thaw.common.language=Langue (n\u00e9cessite de red\u00e9marrer Thaw) : -thaw.common.buggy=Bugg\ufffd\ufffd +thaw.common.buggy=Bugg\u00e9 thaw.common.pleaseWait=Veuillez patienter ... ## Errors -thaw.error.idAlreadyUsed=Impossible de se connecter. Notre identifiant est d\ufffd\ufffdj\ufffd\ufffd utilis\ufffd\ufffd par un autre client connect\ufffd\ufffd au noeud. +thaw.error.idAlreadyUsed=Impossible de se connecter. Notre identifiant est d\u00e9j\u00e0 utilis\u00e9 par un autre client connect\u00e9 au noeud. ## Menus @@ -112,8 +112,8 @@ ## Status bar thaw.statusBar.initPlugins=Chargement des plugins ... -thaw.statusBar.ready=Pr\ufffd\ufffdt -thaw.statusBar.disconnected=DECONNECT\ufffd\ufffd +thaw.statusBar.ready=Pr\u00eat +thaw.statusBar.disconnected=DECONNECT\u00c9 thaw.statusBar.connecting=Connection en cours ... ## Config @@ -124,93 +124,93 @@ thaw.config.nodeAddress=Adresse du noeud Freenet thaw.config.nodePort=Port du noeud (FCP) -thaw.config.sameComputerButNotLocalhost.l0=Vous aviez sp\ufffd\ufffdcifi\ufffd\ufffd que la connection doit \ufffd\ufffdtre faite sur -thaw.config.sameComputerButNotLocalhost.l1=une autre IP que 127.0.0.1, mais vous avez aussi sp\ufffd\ufffdcifi\ufffd\ufffd que -thaw.config.sameComputerButNotLocalhost.l2=Thaw et le noeud sont sur le m\ufffd\ufffdme ordinateur. -thaw.config.sameComputerButNotLocalhost.l4=J'\ufffd\ufffdsp\ufffd\ufffdre que vous \ufffd\ufffdtes s\ufffd\ufffdr de vos r\ufffd\ufffdglages ... +thaw.config.sameComputerButNotLocalhost.l0=Vous aviez sp\u00e9cifi\u00e9 que la connection doit \u00eatre faite sur +thaw.config.sameComputerButNotLocalhost.l1=une autre IP que 127.0.0.1, mais vous avez aussi sp\u00e9cifi\u00e9 que +thaw.config.sameComputerButNotLocalhost.l2=Thaw et le noeud sont sur le m\u00eame ordinateur. +thaw.config.sameComputerButNotLocalhost.l4=J'\u00e9sp\u00e8re que vous \u00eates s\u00fbr de vos r\u00e9glages ... -thaw.config.maxSimultaneousDownloads=Nombre maximum de t\ufffd\ufffdl\ufffd\ufffdchargements simultan\ufffd\ufffds (-1 = illimit\ufffd\ufffd) -thaw.config.maxSimultaneousInsertions=Nombre maximum d'insertions simultan\ufffd\ufffdes (-1 = illimit\ufffd\ufffd) +thaw.config.maxSimultaneousDownloads=Nombre maximum de t\u00e9l\u00e9chargements simultan\u00e9s (-1 = illimit\u00e9) +thaw.config.maxSimultaneousInsertions=Nombre maximum d'insertions simultan\u00e9es (-1 = illimit\u00e9) thaw.config.thawId=Identifiant Thaw -thaw.config.pluginsLoaded=Plugins charg\ufffd\ufffds: +thaw.config.pluginsLoaded=Plugins charg\u00e9s: thaw.config.maxUploadSpeed=Vitesse maximum d'upload en Ko/s (-1 = unlimited) -thaw.config.advancedMode=Mode avanc\ufffd\ufffd +thaw.config.advancedMode=Mode avanc\u00e9 thaw.config.nickname=Votre pseudo -thaw.config.multipleSockets=Autoriser Thaw \ufffd\ufffd echanger plusieurs fichiers \ufffd\ufffd la fois avec le noeud +thaw.config.multipleSockets=Autoriser Thaw \u00e0 echanger plusieurs fichiers \u00e0 la fois avec le noeud -thaw.config.sameComputer=Thaw et le noeud Freenet sont sur le m\ufffd\ufffdme ordinateur -thaw.config.desactivateIfTroubles=(\ufffd\ufffd d\ufffd\ufffdsactiver en cas de probl\ufffd\ufffdme) +thaw.config.sameComputer=Thaw et le noeud Freenet sont sur le m\u00eame ordinateur +thaw.config.desactivateIfTroubles=(\u00c0 d\u00e9sactiver en cas de probl\u00e8me) -thaw.config.uncheckIfProblem=(D\ufffd\ufffdsactiver cette option en cas de probl\ufffd\ufffdme) +thaw.config.uncheckIfProblem=(D\u00e9sactiver cette option en cas de probl\u00e8me) ## Plugins thaw.plugin.queueWatcher=Transferts -thaw.plugin.insert.fileToInsert=Fichier \ufffd\ufffd ins\ufffd\ufffdrer -thaw.plugin.insert.filesToInsert=Fichier(s) \ufffd\ufffd ins\ufffd\ufffdrer +thaw.plugin.insert.fileToInsert=Fichier \u00e0 ins\u00e9rer +thaw.plugin.insert.filesToInsert=Fichier(s) \u00e0 ins\u00e9rer thaw.plugin.insert.selectKey=Selectionner le type de clef voulu -thaw.plugin.insert.KSK=KSK (non recommand\ufffd\ufffd) -thaw.plugin.insert.CHK=CHK (recommand\ufffd\ufffd) +thaw.plugin.insert.KSK=KSK (non recommand\u00e9) +thaw.plugin.insert.CHK=CHK (recommand\u00e9) thaw.plugin.insert.SSK=SSK / USK thaw.plugin.insert.selectRev=Revision thaw.plugin.insert.selectName=Nom thaw.plugin.insert.publicKey=Clef public -thaw.plugin.insert.privateKey=Clef priv\ufffd\ufffde +thaw.plugin.insert.privateKey=Clef priv\u00e9e thaw.plugin.insert.insertAction=Inserer -thaw.plugin.insert.specifyNameAndRev=Veuillez sp\ufffd\ufffdcifier un nom et une r\ufffd\ufffdvision -thaw.plugin.insert.specifyFile=Veuillez sp\ufffd\ufffdcifier un fichier -thaw.plugin.insert.mime=Type mime (laissez vide s'il doit \ufffd\ufffdtre d\ufffd\ufffdtect\ufffd\ufffd automagiquement) +thaw.plugin.insert.specifyNameAndRev=Veuillez sp\u00e9cifier un nom et une r\u00e9vision +thaw.plugin.insert.specifyFile=Veuillez sp\u00e9cifier un fichier +thaw.plugin.insert.mime=Type mime (laissez vide s'il doit \u00eatre d\u00e9tect\u00e9 automagiquement) thaw.plugin.priority.p0=Urgence (*pas* pour une utilisation normale) -thaw.plugin.priority.p1=Tr\ufffd\ufffds haute +thaw.plugin.priority.p1=Tr\u00e8s haute thaw.plugin.priority.p2=Haute thaw.plugin.priority.p3=Moyenne -thaw.plugin.priority.p4=Basse (recommand\ufffd\ufffd) -thaw.plugin.priority.p5=Tr\ufffd\ufffds basse +thaw.plugin.priority.p4=Basse (recommand\u00e9) +thaw.plugin.priority.p5=Tr\u00e8s basse thaw.plugin.priority.p6=Ne finira jamais # thaw.plugin.fetch.keyList is also used in IndexEditorPanel thaw.plugin.fetch.keyList=Liste de clefs (une clef par ligne) thaw.plugin.fetch.loadKeyListFromFile=Charger les clefs depuis un fichier -thaw.plugin.fetch.destinationDirectory=R\ufffd\ufffdpertoire de destination +thaw.plugin.fetch.destinationDirectory=R\u00e9pertoire de destination thaw.plugin.fetch.chooseDestination=Choisir la destination ... thaw.plugin.fetch.pasteFromClipboard=Coller depuis le presse-papier thaw.plugin.fetch.chooseADestination=Vous devez choisir une destination ! -thaw.plugin.fetch.freenet0.5.l1=Ces clefs sont pour l'ancien et obsol\ufffd\ufffdte Freenet 0.5 +thaw.plugin.fetch.freenet0.5.l1=Ces clefs sont pour l'ancien et obsol\u00e8te Freenet 0.5 thaw.plugin.fetch.freenet0.5.l2=Or vous utilisez actuellement Freenet 0.7. -thaw.plugin.fetch.freenet0.5.l3=Veuillez par cons\ufffd\ufffdquent dire au troll qui vous a -thaw.plugin.fetch.freenet0.5.l4=donn\ufffd\ufffd ces clefs de retourner jouer sur edonkey. +thaw.plugin.fetch.freenet0.5.l3=Veuillez par cons\u00e9quent dire au troll qui vous a +thaw.plugin.fetch.freenet0.5.l4=donn\u00e9 ces clefs de retourner jouer sur edonkey. thaw.plugin.fetch.freenet0.5.l5=Merci d'avance, -thaw.plugin.fetch.freenet0.5.l6=le Thaw d\ufffd\ufffdvelopeur de Thaw. +thaw.plugin.fetch.freenet0.5.l6=le Thaw d\u00e9velopeur de Thaw. -thaw.plugin.fetch.noValidURI=Pas de clef valide trouv\ufffd\ufffde dans la liste +thaw.plugin.fetch.noValidURI=Pas de clef valide trouv\u00e9e dans la liste thaw.plugin.console.console=Console de log thaw.plugin.console.saveToFile=Sauvegarder les logs -thaw.plugin.console.maxSize=M\ufffd\ufffdmoire maximum allou\ufffd\ufffd au stockage des logs (in Bytes) +thaw.plugin.console.maxSize=M\u00e9moire maximum allou\u00e9 au stockage des logs (in Bytes) thaw.plugin.statistics.statistics=Statistiques dans la barre de status thaw.plugin.statistics.globalProgression=Progression globale: thaw.plugin.statistics.finished=Finis: -thaw.plugin.statistics.failed=\ufffd\ufffdchou\ufffd\ufffds: +thaw.plugin.statistics.failed=\u00c9chou\u00e9s: thaw.plugin.statistics.running=En cours: thaw.plugin.statistics.pending=En attente: -thaw.plugin.restarter.restarter=Red\ufffd\ufffdmarreur de t\ufffd\ufffdl\ufffd\ufffdchargement \ufffd\ufffdchou\ufffd\ufffd +thaw.plugin.restarter.restarter=Red\u00e9marreur de t\u00e9l\u00e9chargement \u00e9chou\u00e9 # If someone find a better name for the following one ... -thaw.plugin.restarter.configTabName=T\ufffd\ufffdl\ufffd\ufffdchargements \ufffd\ufffdchou\ufffd\ufffds -thaw.plugin.restarter.interval=Intervale entre chaque red\ufffd\ufffdmarrage (en secondes) -thaw.plugin.restarter.restartFatals=Red\ufffd\ufffdmarrer aussi les t\ufffd\ufffdl\ufffd\ufffdchargements \ufffd\ufffdchou\ufffd\ufffds de mani\ufffd\ufffdre fatale +thaw.plugin.restarter.configTabName=T\u00e9l\u00e9chargements \u00e9chou\u00e9s +thaw.plugin.restarter.interval=Intervale entre chaque red\u00e9marrage (en secondes) +thaw.plugin.restarter.restartFatals=Red\u00e9marrer aussi les t\u00e9l\u00e9chargements \u00e9chou\u00e9s de mani\u00e8re fatale ## Errors @@ -219,24 +219,24 @@ ## Warnings thaw.warning.title=Attention -thaw.warning.isWriting=Attention ! Thaw est entrain d'\ufffd\ufffdchanger des donn\ufffd\ufffdes avec le noeud.\nIl serait plus sage de vous d\ufffd\ufffdconnecter quand Thaw aura fini ses \ufffd\ufffdchanges.\n\ufffd\ufffdtes-vous s\ufffd\ufffdr de vouloir vous d\ufffd\ufffdconnecter ? -thaw.warning.isWritingSoApplyLater=Attention ! Thaw est entrain d'\ufffd\ufffdchanger des donn\ufffd\ufffdes avec le noeud.\net les changements de r\ufffd\ufffdglages impliquent g\ufffd\ufffdn\ufffd\ufffdralement une d\ufffd\ufffdconnection/reconnection de Thaw.\n\ufffd\ufffdtes-vous s\ufffd\ufffdr de vouloir faire ces changements maintenant ? -thaw.warning.disconnected=Thaw a \ufffd\ufffdt\ufffd\ufffd d\ufffd\ufffdconnect\ufffd\ufffd. Voulez-vous essayer de vous reconnecter ? -thaw.warning.unableToConnectTo=Impossible de se connecter \ufffd\ufffd -thaw.warning.autoreconnecting=D\ufffd\ufffdconnect\ufffd\ufffd. Thaw est entrain d'essayer de se reconnecter automagiquement ... +thaw.warning.isWriting=Attention ! Thaw est entrain d'\u00e9changer des donn\u00e9es avec le noeud.\nIl serait plus sage de vous d\u00e9connecter quand Thaw aura fini ses \u00e9changes.\n\u00cates-vous s\u00fbr de vouloir vous d\u00e9connecter ? +thaw.warning.isWritingSoApplyLater=Attention ! Thaw est entrain d'\u00e9changer des donn\u00e9es avec le noeud.\net les changements de r\u00e9glages impliquent g\u00e9n\u00e9ralement une d\u00e9connection/reconnection de Thaw.\n\u00cates-vous s\u00fbr de vouloir faire ces changements maintenant ? +thaw.warning.disconnected=Thaw a \u00e9t\u00e9 d\u00e9connect\u00e9. Voulez-vous essayer de vous reconnecter ? +thaw.warning.unableToConnectTo=Impossible de se connecter \u00e0 +thaw.warning.autoreconnecting=D\u00e9connect\u00e9. Thaw est entrain d'essayer de se reconnecter automagiquement ... ## Toolbar -thaw.toolbar.title=Barre \ufffd\ufffd outils de Thaw +thaw.toolbar.title=Barre \u00e0 outils de Thaw thaw.toolbar.button.connect=Se connecter -thaw.toolbar.button.disconnect=Se d\ufffd\ufffdconnecter -thaw.toolbar.button.settings=R\ufffd\ufffdglages +thaw.toolbar.button.disconnect=Se d\u00e9connecter +thaw.toolbar.button.settings=R\u00e9glages thaw.toolbar.button.quit=Quitter ## About -thaw.about.title=\ufffd\ufffd propos +thaw.about.title=\u00c0 propos thaw.about.l02=par Jerome Flesch thaw.about.l03=2006-2007(c) Freenet Project Incorporated thaw.about.l04=sous GPLv2 ( http://www.fsf.org/licensing/licenses/gpl.html ) @@ -251,7 +251,7 @@ ## HsqlDb -thaw.plugin.hsqldb.database=Base de donn\ufffd\ufffdes +thaw.plugin.hsqldb.database=Base de donn\u00e9es thaw.plugin.hsqldb.console=Console Sql ## Index management @@ -261,7 +261,7 @@ thaw.plugin.index.indexes=Indexes thaw.plugin.index.links=Liens -thaw.plugin.index.category=Cat\ufffd\ufffdgories +thaw.plugin.index.category=Cat\u00e9gories thaw.plugin.index.editor=Editeur d'indexes thaw.plugin.index.browser=Navigateur d'indexes @@ -269,18 +269,18 @@ thaw.plugin.index.yourIndexes=Vos indexes thaw.plugin.index.addIndex=Ajouter un index de fichier -thaw.plugin.index.addIndexesFromLink=Ajouter ces indexes \ufffd\ufffd votre liste -thaw.plugin.index.createIndex=Cr\ufffd\ufffder un nouvel index de fichiers +thaw.plugin.index.addIndexesFromLink=Ajouter ces indexes \u00e0 votre liste +thaw.plugin.index.createIndex=Cr\u00e9er un nouvel index de fichiers thaw.plugin.index.addCategory=Creer un dossier thaw.plugin.index.rename=Renommer thaw.plugin.index.delete=Effacer -thaw.plugin.index.insertIndex=[R\ufffd\ufffd]inserer cet index sur Freenet -thaw.plugin.index.insertIndexes=[R\ufffd\ufffd]inserer ces indexes sur Freenet -thaw.plugin.index.downloadIndex=Mettre \ufffd\ufffd jour cet index depuis Freenet -thaw.plugin.index.downloadIndexes=Mettre \ufffd\ufffd jour ces indexes depuis Freenet +thaw.plugin.index.insertIndex=[R\u00e9]inserer cet index sur Freenet +thaw.plugin.index.insertIndexes=[R\u00e9]inserer ces indexes sur Freenet +thaw.plugin.index.downloadIndex=Mettre \u00e0 jour cet index depuis Freenet +thaw.plugin.index.downloadIndexes=Mettre \u00e0 jour ces indexes depuis Freenet thaw.plugin.index.copyKey=Copier la clef de l'index dans le presse-papier thaw.plugin.index.copyKeys=Copier les clefs des indexes dans le presse-papier -thaw.plugin.index.copyPrivateKey=Copier la clef priv\ufffd\ufffde de cet index dans le presse-papier +thaw.plugin.index.copyPrivateKey=Copier la clef priv\u00e9e de cet index dans le presse-papier thaw.plugin.index.reloadFromFreenet=Recharger l'index depuis Freenet thaw.plugin.index.recalculateKeys=Recalculer les clefs @@ -290,16 +290,16 @@ thaw.plugin.index.newCategory=Nouveau dossier thaw.plugin.index.newIndex=Nouvel index -thaw.plugin.index.addAlreadyExistingIndex=Ajouter un index d\ufffd\ufffdj\ufffd\ufffd existant +thaw.plugin.index.addAlreadyExistingIndex=Ajouter un index d\u00e9j\u00e0 existant thaw.plugin.index.indexKey=Clef publique de l'index: -thaw.plugin.index.indexPrivateKey=Clef priv\ufffd\ufffde de l'index: +thaw.plugin.index.indexPrivateKey=Clef priv\u00e9e de l'index: -thaw.plugin.index.search.label=Chercher dans le dossier ou l'index s\ufffd\ufffdlectionn\ufffd\ufffd: +thaw.plugin.index.search.label=Chercher dans le dossier ou l'index s\u00e9lectionn\u00e9: thaw.plugin.index.search.apply=Chercher -thaw.plugin.index.addFilesWithInserting=Inserer un ou plusieurs fichier(s) sur Freenet et les ajouter \ufffd\ufffd cet index -thaw.plugin.index.addFilesWithoutInserting=Ajouter un ou plusieurs fichier(s) \ufffd\ufffd cet index +thaw.plugin.index.addFilesWithInserting=Inserer un ou plusieurs fichier(s) sur Freenet et les ajouter \u00e0 cet index +thaw.plugin.index.addFilesWithoutInserting=Ajouter un ou plusieurs fichier(s) \u00e0 cet index thaw.plugin.index.addLink=Ajouter un lien vers un autre index thaw.plugin.index.insert=Inserer @@ -307,16 +307,16 @@ thaw.plugin.index.fileList=Liste de fichiers thaw.plugin.index.linkList=Liste de liens -thaw.plugin.index.selectIndex=S\ufffd\ufffdlectionnez un index ou sp\ufffd\ufffdcifiez une clef +thaw.plugin.index.selectIndex=S\u00e9lectionnez un index ou sp\u00e9cifiez une clef -thaw.plugin.index.gotoIndex=Aller \ufffd\ufffd l'index contenant cette entr\ufffd\ufffde -thaw.plugin.index.gotoCorrespondingIndex=Aller \ufffd\ufffd l'index correspondant +thaw.plugin.index.gotoIndex=Aller \u00e0 l'index contenant cette entr\u00e9e +thaw.plugin.index.gotoCorrespondingIndex=Aller \u00e0 l'index correspondant -thaw.plugin.index.addKeys=Ajouter des clefs sp\ufffd\ufffdcifiques +thaw.plugin.index.addKeys=Ajouter des clefs sp\u00e9cifiques thaw.plugin.index.changeIndexKeys=Changer les clefs de l'index -thaw.plugin.index.indexSettings=Changer les r\ufffd\ufffdglages de l'index +thaw.plugin.index.indexSettings=Changer les r\u00e9glages de l'index thaw.plugin.index.unknownIndexes=Indexes inconnus: -thaw.plugin.index.allowComments=Commentaires autoris\ufffd\ufffds +thaw.plugin.index.allowComments=Commentaires autoris\u00e9s thaw.plugin.index.importIndex=Importer le contenu de l'index depuis un fichier thaw.plugin.index.exportIndex=Exporter le contenu de l'index vers un fichier @@ -327,33 +327,33 @@ thaw.plugin.index.autoRefreshInterval=Intervalle de rafraichissement (en secondes): thaw.plugin.index.nmbIndexPerRefresh=Nombre d'indexes rafraichis au cours de l'intervalle: -thaw.plugin.index.importExportPlugin=Import / export de la base de donn\ufffd\ufffdes d'indexes +thaw.plugin.index.importExportPlugin=Import / export de la base de donn\u00e9es d'indexes thaw.plugin.index.export=Export thaw.plugin.index.import=Import thaw.plugin.index.export.indexKeys=Clefs des indexes + les dossiers thaw.plugin.index.export.all=Clefs des indexes + les dossiers + contenu des indexes -thaw.plugin.index.importedFolderName=Indexes import\ufffd\ufffds +thaw.plugin.index.importedFolderName=Indexes import\u00e9s -thaw.plugin.index.nonInserted=non-inser\ufffd\ufffd +thaw.plugin.index.nonInserted=non-inser\u00e9 thaw.plugin.index.markAllAsSeen=Les marquer tous comme vus thaw.plugin.index.markAsSeen=Marquer comme vu -thaw.plugin.index.publishPrivateKey=Attacher la clef priv\ufffd\ufffde de l'index \ufffd\ufffd l'index (DANGEREUX !) +thaw.plugin.index.publishPrivateKey=Attacher la clef priv\u00e9e de l'index \u00e0 l'index (DANGEREUX !) -thaw.plugin.index.indexWithNoLink=L'index '?' n'a pas de lien vers d'autres indexes.\n\ufffd\ufffdtes-vous s\ufffd\ufffdr de vouloir l'ins\ufffd\ufffdrer tel quel ? +thaw.plugin.index.indexWithNoLink=L'index '?' n'a pas de lien vers d'autres indexes.\n\u00cates-vous s\u00fbr de vouloir l'ins\u00e9rer tel quel ? -thaw.plugin.index.sortAlphabetically=Trier par ordre alphab\ufffd\ufffdtique +thaw.plugin.index.sortAlphabetically=Trier par ordre alphab\u00e9tique -thaw.plugin.index.loadOnTheFly=Charger l'arbre d'indexes \ufffd\ufffd la vol\ufffd\ufffde (signifie moins de m\ufffd\ufffdmoire utilis\ufffd\ufffde, mais plus de temps CPU consomm\ufffd\ufffd) +thaw.plugin.index.loadOnTheFly=Charger l'arbre d'indexes \u00e0 la vol\u00e9e (signifie moins de m\u00e9moire utilis\u00e9e, mais plus de temps CPU consomm\u00e9) thaw.plugin.index.indexLoading=Chargement de l'index thaw.plugin.index.blackList=Liste noire d'indexes thaw.plugin.index.editBlackList=Editer la liste noire d'indexes -thaw.plugin.index.addToBlackList=Ajouter \ufffd\ufffd la liste noire d'indexes +thaw.plugin.index.addToBlackList=Ajouter \u00e0 la liste noire d'indexes -thaw.plugin.index.stillRev0=N'oubliez pas d'ins\ufffd\ufffdrer cet index sur Freenet avant de donner la clef \ufffd\ufffd quelqu'un +thaw.plugin.index.stillRev0=N'oubliez pas d'ins\u00e9rer cet index sur Freenet avant de donner la clef \u00e0 quelqu'un thaw.plugin.index.comment.comments=Voir les commentaires (?) thaw.plugin.index.comment.readComments=Voir les commentaires @@ -364,34 +364,34 @@ thaw.plugin.index.comment.commentListTitle=Commentaires sur l'index thaw.plugin.index.comment.commentList=Commentaires -thaw.plugin.index.comment.mustSelectIdentity=Vous devez selectionner une identit\ufffd\ufffd +thaw.plugin.index.comment.mustSelectIdentity=Vous devez selectionner une identit\u00e9 -thaw.plugin.index.comment.reset=Remettre les commentaires \ufffd\ufffd 0 +thaw.plugin.index.comment.reset=Remettre les commentaires \u00e0 0 -thaw.plugin.index.comment.moderated=*MOD\ufffd\ufffdR\ufffd\ufffd* +thaw.plugin.index.comment.moderated=*MOD\u00c9R\u00c9* thaw.plugin.index.comment.moderate=Moderer -thaw.plugin.index.comment.unmoderate=D\ufffd\ufffdmod\ufffd\ufffdrer +thaw.plugin.index.comment.unmoderate=D\u00e9mod\u00e9rer -thaw.plugin.index.comment.failed=L'envoi de votre commentaire a \ufffd\ufffdchou\ufffd\ufffd. Ressayer ? +thaw.plugin.index.comment.failed=L'envoi de votre commentaire a \u00e9chou\u00e9. Ressayer ? -thaw.plugin.index.mustReinsert=Vous devez r\ufffd\ufffdinserer l'index pour que les changements fassent effet +thaw.plugin.index.mustReinsert=Vous devez r\u00e9inserer l'index pour que les changements fassent effet -thaw.plugin.index.fetchNegative=Toujours t\ufffd\ufffdl\ufffd\ufffdcharger les derni\ufffd\ufffdres versions des indexes \ufffd\ufffd chaque rafraichissement -thaw.plugin.index.fetchComments=R\ufffd\ufffdcup\ufffd\ufffdrer les commentaires +thaw.plugin.index.fetchNegative=Toujours t\u00e9l\u00e9charger les derni\u00e8res versions des indexes \u00e0 chaque rafraichissement +thaw.plugin.index.fetchComments=R\u00e9cup\u00e9rer les commentaires -thaw.plugin.index.warningNonNegative=Attention ! T\ufffd\ufffdl\ufffd\ufffdcharger les commentaires sans avoir la derni\ufffd\ufffdre version de l'index peut vous faire t\ufffd\ufffdl\ufffd\ufffdcharger des spams ! +thaw.plugin.index.warningNonNegative=Attention ! T\u00e9l\u00e9charger les commentaires sans avoir la derni\u00e8re version de l'index peut vous faire t\u00e9l\u00e9charger des spams ! -thaw.plugin.index.details=D\ufffd\ufffdtails +thaw.plugin.index.details=D\u00e9tails thaw.plugin.index.numberOfFiles=Nombre de fichiers : thaw.plugin.index.numberOfLinks=Nombre de liens : -thaw.plugin.index.insertionDate=Inser\ufffd\ufffd le : +thaw.plugin.index.insertionDate=Inser\u00e9 le : # Peer monitor thaw.plugin.peerMonitor.peerMonitor=Connexion -thaw.plugin.peerMonitor.yourReference=Votre r\ufffd\ufffdf\ufffd\ufffdrence: -thaw.plugin.peerMonitor.copyReference=Copier votre r\ufffd\ufffdf\ufffd\ufffdrence vers le presse-papier +thaw.plugin.peerMonitor.yourReference=Votre r\u00e9f\u00e9rence: +thaw.plugin.peerMonitor.copyReference=Copier votre r\u00e9f\u00e9rence vers le presse-papier thaw.plugin.peerMonitor.nodeStats=Votre noeud thaw.plugin.peerMonitor.peerList=Peers: thaw.plugin.peerMonitor.nodeInfos=Informations sur votre noeud : @@ -400,7 +400,7 @@ thaw.plugin.peerMonitor.addPeer=Ajouter un peer thaw.plugin.peerMonitor.removePeer=Enlever ce peer -thaw.plugin.peerMonitor.enterRef=R\ufffd\ufffdf\ufffd\ufffdrence: +thaw.plugin.peerMonitor.enterRef=R\u00e9f\u00e9rence: thaw.plugin.peerMonitor.infos.peer.lastRoutingBackoffReason=Dernier motif de saturation thaw.plugin.peerMonitor.infos.peer.routingBackoffPercent=Pourcentage de saturation @@ -408,12 +408,12 @@ thaw.plugin.peerMonitor.infos.peer.status=Status thaw.plugin.peerMonitor.infos.peer.myName=Nom du noeud thaw.plugin.peerMonitor.infos.peer.physical.udp=Adresse IP -thaw.plugin.peerMonitor.infos.peer.averagePingTime=Temps de r\ufffd\ufffdponse moyen +thaw.plugin.peerMonitor.infos.peer.averagePingTime=Temps de r\u00e9ponse moyen thaw.plugin.peerMonitor.infos.peer.idle=Inactif depuis thaw.plugin.peerMonitor.infos.node.overallSize=Taille du datastore thaw.plugin.peerMonitor.infos.node.uptimeSeconds=Uptime -thaw.plugin.peerMonitor.infos.node.networkSizeEstimateSession=Estimation de la taille du r\ufffd\ufffdseau +thaw.plugin.peerMonitor.infos.node.networkSizeEstimateSession=Estimation de la taille du r\u00e9seau thaw.plugin.peerMonitor.infos.node.myName=Nom du noeud thaw.plugin.peerMonitor.infos.node.runningThreads=Nombre de threads @@ -422,33 +422,33 @@ thaw.plugin.peerMonitor.infos.nodeThreads=Threads (node) thaw.plugin.peerMonitor.infos.thawThreads=Threads (Thaw) -thaw.plugin.peerMonitor.invalidRef=Reference invalide. D\ufffd\ufffdsol\ufffd\ufffd. +thaw.plugin.peerMonitor.invalidRef=Reference invalide. D\u00e9sol\u00e9. # Theme selector -thaw.plugin.themeSelector.themeSelector=S\ufffd\ufffdlecteur de th\ufffd\ufffdme -thaw.plugin.themeSelector.selectATheme=Selectionnez un th\ufffd\ufffdme: -thaw.plugin.themeSelector.theme=Th\ufffd\ufffdme +thaw.plugin.themeSelector.themeSelector=S\u00e9lecteur de th\u00e8me +thaw.plugin.themeSelector.selectATheme=Selectionnez un th\u00e8me: +thaw.plugin.themeSelector.theme=Th\u00e8me # signatures -thaw.plugin.signature.signatures=Identit\ufffd\ufffds +thaw.plugin.signature.signatures=Identit\u00e9s thaw.plugin.signature.pluginName=Gestion des signatures -thaw.plugin.signature.yourIdentities=G\ufffd\ufffdrer vos identit\ufffd\ufffds -thaw.plugin.signature.otherIdentities=G\ufffd\ufffdrer les autres identit\ufffd\ufffds +thaw.plugin.signature.yourIdentities=G\u00e9rer vos identit\u00e9s +thaw.plugin.signature.otherIdentities=G\u00e9rer les autres identit\u00e9s -thaw.plugin.signature.dialogTitle.yourIdentities=Vos identit\ufffd\ufffds -thaw.plugin.signature.dialogTitle.otherIdentities=Identit\ufffd\ufffds +thaw.plugin.signature.dialogTitle.yourIdentities=Vos identit\u00e9s +thaw.plugin.signature.dialogTitle.otherIdentities=Identit\u00e9s thaw.plugin.signature.nickname=Pseudo thaw.plugin.signature.trustLevel=Status -thaw.plugin.signature.isDup=Pseudo d\ufffd\ufffdj\ufffd\ufffd utilis\ufffd\ufffd ? +thaw.plugin.signature.isDup=Pseudo d\u00e9j\u00e0 utilis\u00e9 ? -thaw.plugin.signature.duplicata=PSEUDO DEJA UTILIS\ufffd\ufffd +thaw.plugin.signature.duplicata=PSEUDO DEJA UTILIS\u00c9 -thaw.plugin.signature.addIdentity=Generer une nouvelle identit\ufffd\ufffd -thaw.plugin.signature.removeIdentity=Supprimer l'identit\ufffd\ufffd s\ufffd\ufffdlectionn\ufffd\ufffde +thaw.plugin.signature.addIdentity=Generer une nouvelle identit\u00e9 +thaw.plugin.signature.removeIdentity=Supprimer l'identit\u00e9 s\u00e9lectionn\u00e9e thaw.plugin.signature.enterNick=Entrez un pseudo : @@ -460,19 +460,19 @@ thaw.plugin.signature.trustLevel.check=VALIDE thaw.plugin.signature.trustLevel.bad=MAUVAIS thaw.plugin.signature.trustLevel.evil=DIABOLIQUE -thaw.plugin.signature.trustLevel.none=non-sign\ufffd\ufffd +thaw.plugin.signature.trustLevel.none=non-sign\u00e9 thaw.plugin.signature.trustLevel.me=MOI -thaw.plugin.signature.import=Importer une ou plusieurs identit\ufffd\ufffd(s) -thaw.plugin.signature.export=Exporter l'identit\ufffd\ufffd selectionn\ufffd\ufffde +thaw.plugin.signature.import=Importer une ou plusieurs identit\u00e9(s) +thaw.plugin.signature.export=Exporter l'identit\u00e9 selectionn\u00e9e -thaw.plugin.signature.ignoreLowerThan=Ignorer les signatures avec un status inf\ufffd\ufffdrieur \ufffd\ufffd +thaw.plugin.signature.ignoreLowerThan=Ignorer les signatures avec un status inf\u00e9rieur \u00e0 -thaw.plugin.signature.delete.areYouSureTitle=Suicider votre vous-m\ufffd\ufffdme anonyme ? -thaw.plugin.signature.delete.areYouSure=\ufffd\ufffdtes-vous s\ufffd\ufffdr de vouloir supprimer cette identit\ufffd\ufffd ? +thaw.plugin.signature.delete.areYouSureTitle=Suicider votre vous-m\u00eame anonyme ? +thaw.plugin.signature.delete.areYouSure=\u00cates-vous s\u00fbr de vouloir supprimer cette identit\u00e9 ? -thaw.plugin.signature.delete.cant=Impossible de supprimer cette identit\ufffd\ufffd : Quelques messages doivent probablement \ufffd\ufffdtre toujours rattach\ufffd\ufffds \ufffd\ufffd cette identit\ufffd\ufffd +thaw.plugin.signature.delete.cant=Impossible de supprimer cette identit\u00e9 : Quelques messages doivent probablement \u00eatre toujours rattach\u00e9s \u00e0 cette identit\u00e9 # Transfer logs @@ -481,22 +481,22 @@ thaw.plugin.transferLogs.transferLogsShort=Journal thaw.plugin.transferLogs.purgeLogs=Purger le journal -thaw.plugin.transferLogs.copyKey=Copier les clefs li\ufffd\ufffdes aux entr\ufffd\ufffdes s\ufffd\ufffdlectionn\ufffd\ufffdes +thaw.plugin.transferLogs.copyKey=Copier les clefs li\u00e9es aux entr\u00e9es s\u00e9lectionn\u00e9es thaw.plugin.transferLogs.date=Date thaw.plugin.transferLogs.dates=Date(s) -thaw.plugin.transferLogs.dateStart=D\ufffd\ufffdmarr\ufffd\ufffd le: +thaw.plugin.transferLogs.dateStart=D\u00e9marr\u00e9 le: thaw.plugin.transferLogs.dateEnd=Fini le: thaw.plugin.transferLogs.message=Message thaw.plugin.transferLogs.key=Clef thaw.plugin.transferLogs.file=Fichier thaw.plugin.transferLogs.fileSize=Taille -thaw.plugin.transferLogs.isSuccess=R\ufffd\ufffdussi +thaw.plugin.transferLogs.isSuccess=R\u00e9ussi thaw.plugin.transferLogs.averageSpeed=Vitesse moyenne -thaw.plugin.transferLogs.isDup=Est-ce que la clef a d\ufffd\ufffdj\ufffd\ufffd \ufffd\ufffdt\ufffd\ufffd vue ? +thaw.plugin.transferLogs.isDup=Est-ce que la clef a d\u00e9j\u00e0 \u00e9t\u00e9 vue ? thaw.plugin.transferLogs.type=Type -thaw.plugin.transferLogs.type.download=T\ufffd\ufffdl\ufffd\ufffdchargement +thaw.plugin.transferLogs.type.download=T\u00e9l\u00e9chargement thaw.plugin.transferLogs.type.insertion=Insertion thaw.plugin.transferLogs.finalStatus=Status final @@ -505,24 +505,24 @@ thaw.plugin.transferLogs.importLogs=Importer une liste de clefs thaw.plugin.transferLogs.exportLogs=Exporter une liste de clefs thaw.plugin.transferLogs.chooseFile=Choisisez un fichier -thaw.plugin.transferLogs.importedKey=Clef import\ufffd\ufffde +thaw.plugin.transferLogs.importedKey=Clef import\u00e9e -thaw.plugin.trayIcon.pluginName=Ic\ufffd\ufffdne systray +thaw.plugin.trayIcon.pluginName=Ic\u00f4ne systray thaw.plugin.trayIcon.dialogTitle=Transferts Freenet -thaw.plugin.trayIcon.java1.6=D\ufffd\ufffdsol\ufffd\ufffd, ce plugin n\ufffd\ufffdcessite au moins Java 1.6 (parfois appell\ufffd\ufffd J2SE 6) +thaw.plugin.trayIcon.java1.6=D\u00e9sol\u00e9, ce plugin n\u00e9cessite au moins Java 1.6 (parfois appell\u00e9 J2SE 6) ## MDNS -thaw.plugin.MDNS=Autod\ufffd\ufffdtection de la node +thaw.plugin.MDNS=Autod\u00e9tection de la node thaw.plugin.MDNS.searchingNode=Recherche de noeuds Freenet ... -thaw.plugin.MDNS.nodeList=Noeuds trouv\ufffd\ufffds +thaw.plugin.MDNS.nodeList=Noeuds trouv\u00e9s ## MiniFrost thaw.plugin.miniFrost=Forums thaw.plugin.miniFrost.boards=Boards thaw.plugin.miniFrost.board=Board -thaw.plugin.miniFrost.FrostKSK=boards Frost non-sign\ufffd\ufffde +thaw.plugin.miniFrost.FrostKSK=boards Frost non-sign\u00e9e thaw.plugin.miniFrost.selectType=Veuillez selectionner le type de board voulu thaw.plugin.miniFrost.boardName=Nom de la board ? @@ -539,32 +539,32 @@ thaw.plugin.miniFrost.newMessage=Nouveau message thaw.plugin.miniFrost.archivate=Archiver -thaw.plugin.miniFrost.unarchivate=D\ufffd\ufffdarchiver +thaw.plugin.miniFrost.unarchivate=D\u00e9archiver thaw.plugin.miniFrost.reply=Repondre -thaw.plugin.miniFrost.unfoldAll=Tout d\ufffd\ufffdplier +thaw.plugin.miniFrost.unfoldAll=Tout d\u00e9plier thaw.plugin.miniFrost.foldAll=Tout plier -thaw.plugin.miniFrost.goBack=Retourner \ufffd\ufffd la liste des messages +thaw.plugin.miniFrost.goBack=Retourner \u00e0 la liste des messages thaw.plugin.miniFrost.nextUnread=Prochain message non-lu sur cette board -thaw.plugin.miniFrost.selectAll=Tout s\ufffd\ufffdlectionner -thaw.plugin.miniFrost.selectNone=Ne plus rien s\ufffd\ufffdlectionner +thaw.plugin.miniFrost.selectAll=Tout s\u00e9lectionner +thaw.plugin.miniFrost.selectNone=Ne plus rien s\u00e9lectionner thaw.plugin.miniFrost.markAsRead=Marquer comme lu thaw.plugin.miniFrost.markAsNonRead=Marquer comme non-lu thaw.plugin.miniFrost.onAllBoards=Sur toutes les boards -thaw.plugin.miniFrost.seeArchived=Voir les messages archiv\ufffd\ufffds +thaw.plugin.miniFrost.seeArchived=Voir les messages archiv\u00e9s -thaw.plugin.miniFrost.maxBoardsRefreshed=Nombre maximum de boards rafraichies simultan\ufffd\ufffdment +thaw.plugin.miniFrost.maxBoardsRefreshed=Nombre maximum de boards rafraichies simultan\u00e9ment thaw.plugin.miniFrost.copyAllKeys=Copier toutes les clefs des fichiers joints dans le presse-papier thaw.plugin.miniFrost.attachments=Pieces jointes -thaw.plugin.miniFrost.downloadAll=T\ufffd\ufffdl\ufffd\ufffdcharger tout les fichiers joints +thaw.plugin.miniFrost.downloadAll=T\u00e9l\u00e9charger tout les fichiers joints -thaw.plugin.miniFrost.hideStatusBelow=Cacher les status inf\ufffd\ufffdrieurs \ufffd\ufffd: -thaw.plugin.miniFrost.seeUnsigned=Voir les messages non-sign\ufffd\ufffds +thaw.plugin.miniFrost.hideStatusBelow=Cacher les status inf\u00e9rieurs \u00e0: +thaw.plugin.miniFrost.seeUnsigned=Voir les messages non-sign\u00e9s Modified: trunk/apps/Thaw/src/thaw/plugins/miniFrost/DraftPanel.java =================================================================== --- trunk/apps/Thaw/src/thaw/plugins/miniFrost/DraftPanel.java 2007-07-29 01:11:20 UTC (rev 14420) +++ trunk/apps/Thaw/src/thaw/plugins/miniFrost/DraftPanel.java 2007-07-29 01:42:36 UTC (rev 14421) @@ -106,11 +106,11 @@ for (Iterator it = ids.iterator(); it.hasNext();) authorBox.addItem(it.next()); - subjectField.setText(draft.getInitialSubject()); + subjectField.setText(draft.getSubject()); - String txt = draft.getInitialText(); + String txt = draft.getText(); - textArea.setText(draft.getInitialText()); + textArea.setText(draft.getText()); } Modified: trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKDraft.java =================================================================== --- trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKDraft.java 2007-07-29 01:11:20 UTC (rev 14420) +++ trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKDraft.java 2007-07-29 01:42:36 UTC (rev 14421) @@ -29,7 +29,10 @@ this.inReplyTo = inReplyTo; } - public String getInitialSubject() { + public String getSubject() { + if (subject != null) + return subject; + if (inReplyTo != null) { String subject = inReplyTo.getSubject(); if (subject.indexOf("Re: ") == 0) @@ -40,7 +43,10 @@ return ""; } - public String getInitialText() { + public String getText() { + if (txt != null) + return txt; + String txt = ""; if (inReplyTo != null) { Modified: trunk/apps/Thaw/src/thaw/plugins/miniFrost/interfaces/Draft.java =================================================================== --- trunk/apps/Thaw/src/thaw/plugins/miniFrost/interfaces/Draft.java 2007-07-29 01:11:20 UTC (rev 14420) +++ trunk/apps/Thaw/src/thaw/plugins/miniFrost/interfaces/Draft.java 2007-07-29 01:42:36 UTC (rev 14421) @@ -5,13 +5,14 @@ public interface Draft { - public String getInitialSubject(); + public String getSubject(); /** * Returned result may contains $sender$, $dateAndTime$. * They will be replaced. + * @return a default value if setText() was never called */ - public String getInitialText(); + public String getText(); public boolean allowUnsignedPost(); Modified: trunk/apps/Thaw/src/thaw/plugins/signatures/Identity.java =================================================================== --- trunk/apps/Thaw/src/thaw/plugins/signatures/Identity.java 2007-07-29 01:11:20 UTC (rev 14420) +++ trunk/apps/Thaw/src/thaw/plugins/signatures/Identity.java 2007-07-29 01:42:36 UTC (rev 14421) @@ -162,7 +162,7 @@ public String getTrustLevelStr() { if (privateKey != null) { - return "thaw.plugin.signature.trustLevel.me"; + return I18n.getMessage("thaw.plugin.signature.trustLevel.me"); } return getTrustLevelStr(trustLevel); @@ -424,17 +424,38 @@ synchronized(db.dbLock) { PreparedStatement st; - st = db.getConnection().prepareStatement("INSERT INTO signatures "+ - "(nickName, publicKey, privateKey, "+ - "isDup, trustLevel) "+ - "VALUES (?, ?, ?, ?, ?)"); - st.setString(1, nick); - st.setString(2, publicKey); - st.setString(3, privateKey); - st.setBoolean(4, isDup); - st.setInt(5, trustLevel); + st = db.getConnection().prepareStatement("SELECT id FROM signatures "+ + "WHERE publicKey = ? LIMIT 1"); + st.setString(1, publicKey); + st.execute(); - st.execute(); + ResultSet set = st.executeQuery(); + + if (set.next()) { + int id = set.getInt("id"); + + st = db.getConnection().prepareStatement("UPDATE signatures SET "+ + "privateKey = ?, trustLevel = ? "+ + "WHERE id = ?"); + st.setString(1, privateKey); + st.setInt(2, trustLevel); + st.setInt(3, id); + + st.execute(); + } else { + + st = db.getConnection().prepareStatement("INSERT INTO signatures "+ + "(nickName, publicKey, privateKey, "+ + "isDup, trustLevel) "+ + "VALUES (?, ?, ?, ?, ?)"); + st.setString(1, nick); + st.setString(2, publicKey); + st.setString(3, privateKey); + st.setBoolean(4, isDup); + st.setInt(5, trustLevel); + + st.execute(); + } } } catch(SQLException e) { Logger.error(this, "Exception while adding the identity to the bdd: "+e.toString());
