From 906753903ab23f509379a561da095588972d61ef Mon Sep 17 00:00:00 2001 From: Norbert Moutarde Date: Mon, 9 Jun 2014 11:24:34 +0200 Subject: [PATCH] now, if an entry contain only " "*x in keyword, it will be deleted --- diary-mobile_en_EN.ts | 54 ++++++++++++++++++++--------------------- diary-mobile_fr_FR.ts | 56 +++++++++++++++++++++---------------------- mainwindow.cpp | 2 +- 3 files changed, 56 insertions(+), 56 deletions(-) diff --git a/diary-mobile_en_EN.ts b/diary-mobile_en_EN.ts index 242580a..09d92fc 100644 --- a/diary-mobile_en_EN.ts +++ b/diary-mobile_en_EN.ts @@ -125,7 +125,7 @@ - + New entry @@ -157,36 +157,36 @@ - + label Title of box where ask for new button's label - + Enter his label his/her/?they? I've forget my school lesson - + keyword Title of box where ask for new button's keyword - + Enter they keyword (no limit !) - + action Title of box where ask for new button's action - + Enter his action @@ -277,118 +277,118 @@ - + chooseButtonDB - + Enter the keyword : - + keyword Title of box where ask for button's keyword - + new keyword question to get new button's keyword - + label Title of box where ask for button's label - + new label question to get new button's label - + action Title of box where ask for button's action - + new action question to get new button's action - + RAWsent message title when data has been send - + sendRAW finish message text when data has been send - + Upload finish : pop-up when data has been sent - + uploadDB pop-up title when data has been sent - + Uisent pop-up title when buttons has been sent - + savbuttons finish pop-up text when buttons has been sent - + Enter the keyword : ask keyword to get buttons - + getButtons title to ask keyword fot getbuttons - + writeFile pop-up title when file has been written - + File written : - + tmp URL Title of box where ask for button tmp's URL - + Enter URL Label of box where ask for button tmp's URL diff --git a/diary-mobile_fr_FR.ts b/diary-mobile_fr_FR.ts index 33775ed..5659d9f 100644 --- a/diary-mobile_fr_FR.ts +++ b/diary-mobile_fr_FR.ts @@ -200,7 +200,7 @@ - + New entry Nouvelle entré @@ -232,36 +232,36 @@ Ctrl+R - + label Title of box where ask for new button's label Etiquette - + Enter his label his/her/?they? I've forget my school lesson Entrez son étiquette - + keyword Title of box where ask for new button's keyword mot-clé - + Enter they keyword (no limit !) Entrez les mots clé (no limit !) - + action Title of box where ask for new button's action action - + Enter his action Entrez son action @@ -304,121 +304,121 @@ Download sql - + Télécharger un fichier sql - + chooseButtonDB chooseButtonDB - + Enter the keyword : Entrez le mot-clé : - + keyword Title of box where ask for button's keyword mot-clé - + new keyword question to get new button's keyword nouveau mot-clé - + label Title of box where ask for button's label étiquette - + new label question to get new button's label nouvel étiquette - + action Title of box where ask for button's action action - + new action question to get new button's action nouvelle action - + RAWsent message title when data has been send RAWsent - + sendRAW finish message text when data has been send données envoyées - + Upload finish : pop-up when data has been sent Upload finit : - + uploadDB pop-up title when data has been sent uploadDB - + Uisent pop-up title when buttons has been sent Envoyé - + savbuttons finish pop-up text when buttons has been sent boutons sauvegardés sur le serveur - + Enter the keyword : ask keyword to get buttons Entrez le mot-clé : - + getButtons title to ask keyword fot getbuttons getBoutons - + writeFile pop-up title when file has been written fichier - + File written : Fichier écrit : - + tmp URL Title of box where ask for button tmp's URL tmp URL - + Enter URL Label of box where ask for button tmp's URL Entrez l'URL diff --git a/mainwindow.cpp b/mainwindow.cpp index 1e6432c..9717e5d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -764,7 +764,7 @@ void MainWindow::removeButton(const QString & keyword, const QString & label, co key=key+" "+cur; } qDebug()<<"key="<({conf->value(QString("deletebutton")).toString(), id})); else{ key.replace(keyword, QString("")); exec(QList({conf->value(QString("updatebuttons")).toString(), key, label, action, id})); -- 2.45.1