[tuxdroid-svn] r5789 - in software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter: r
Status: Beta
Brought to you by:
ks156
From: ks156 <c2m...@c2...> - 2009-10-28 16:13:32
|
Author: ks156 Date: 2009-10-28 17:13:13 +0100 (Wed, 28 Oct 2009) New Revision: 5789 Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.po software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.wiki software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/en.po software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/fr.po software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/nl.po software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.pot software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.xml software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Configuration.java software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/FriendStatut.java software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Message.java software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Reply.java software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/TwitterDatasStruct.java software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/TwitterPlugin.java Log: * Merged r5720 through r5788 from random_sentences Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.po =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.po 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.po 2009-10-28 16:13:13 UTC (rev 5789) @@ -16,7 +16,7 @@ msgid "Tweet following status text" msgstr "Tweeten Sie entsprechend dem Statustext" -msgid "Hello all from my Tux Droid twitter gadget" +msgid "Hello all from my Tux Droid Twitter gadget" msgstr "Hallo an alle von meinem Twitter - Tux Droid" msgid "Check Friends updates" @@ -40,28 +40,88 @@ msgid "You do not seem to be connected. Please, verify you username and password, then try again." msgstr "Anscheinend sind Sie nicht mit dem Internet verbunden. Prüfen Sie Benutzername und Passwort und versuchen Sie es danach wieder." -msgid "You have a new friend update" +msgid "There is a new Tweet available." msgstr "Sie haben eine neue Freund Aktualisierung." -msgid "You have {0} friend updates" +msgid "You have a new Tweet" +msgstr "Sie haben einen neuen Tweet." + +msgid "You have a new Tweet on your Twitter" +msgstr "Sie haben einen neuen Tweet auf Ihrem Twitter" + +msgid "I found a new Tweet on your Twitter account" +msgstr "Ich habe einen neuen Tweet auf Ihrem Twitter-Konto gefunden" + +msgid "There is a new Tweet on your Twitter page" +msgstr "Es gibt einen neuen Tweet auf Ihrer Twitter-Seite" + +msgid "You have {0} new Tweets." msgstr "Sie haben {0} Freund Aktualisierungen." -msgid "You don't have any friend updates." +msgid "There are {0} new Tweets available" +msgstr "{0} neue Tweets sind verfügbar" + +msgid "You have {0} new Tweets on your Twitter" +msgstr "Sie haben {0} neue Tweets auf Ihrem Twitter" + +msgid "I found {0} new Tweets on your Twitter account" +msgstr "Habe {0} neue Tweets auf Ihrem Twitter-Konto gefunden" + +msgid "There are {0} new Tweets on your Twitter page" +msgstr "Es gibt {0} neue Tweets auf Ihrer Twitter-Seite" + +msgid "You don't have any new Tweets." msgstr "Sie haben keine Freund Aktualisierungen." +msgid "I couldn't find any new Tweets" +msgstr "Ich kann keine neuen Tweets finden" + +msgid "There are no new Tweets available" +msgstr "Keine neuen Tweets vorhanden" + +msgid "No new Tweets detected" +msgstr "Keine neuen Tweets gefunden" + +msgid "I couldn't detect any new Tweets" +msgstr "Ich kann keine neuen Tweets finden" + msgid "You don't have any messages" msgstr "Sie haben keine Nachrichten." +msgid "You have no private messages" +msgstr "Sie haben keine privaten Nachrichten" + +msgid "I couldn't find any new messages" +msgstr "Ich kann keine neuen Nachrichten finden" + +msgid "There are no new private messages" +msgstr "Keine privaten Nachrichten" + +msgid "No private messages detected" +msgstr "Keine privaten Nachrichten gefunden" + msgid "You don't have any replies" msgstr "Sie haben keine Antworten." +msgid "You have no new replies" +msgstr "Sie haben keine neuen Antworten" + +msgid "There are no replies" +msgstr "Keinen Antworten" + +msgid "I could not find any replies" +msgstr "Ich konnte keine Antworten finden" + +msgid "There are no new replies detected" +msgstr "Keine neuen Antworten gefunden" + msgid "Your new Tweet was not set, please, try again later" msgstr "Ihre neue Tweet wurde nicht hinzugefügt, versuchen Sie es später." msgid "Your Tweet was added" msgstr "Ihre neue Tweet wurde hinzugefügt." -msgid "Twitter is busy for now, please, try later." +msgid "Twitter is busy for now, please, try again later." msgstr "Twitter ist ausgelastet, versuchen Sie es später wieder." msgid "One reply from {0}" @@ -78,3 +138,15 @@ msgid "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." msgstr "Sorry, Bei der Verbindung mit Twitter gab es einen Fehler. Prüfen Sie Ihre Twitter-Konfiguration." + +msgid "I could not connect to your Twitter account. Please check if the Twitter gadget is configured correctly." +msgstr "Keine Verbindung mit Ihrem Twitter-Konto möglich. Prüfen Sie, ob die Twitter-Funktion korrekt konfiguriert ist." + +msgid "It seems you entered a wrong Twitter login or password. Please verify the Twitter gadget configuration." +msgstr "Anscheinend haben Sie ein falsches Twitter-Login oder Kennwort eingegeben. Überprüfen Sie bitte die Konfiguration der Twitter-Funktion." + +msgid "I got an error when connecting to your Twitter account. Please verify your login and password in the Twitter gadget configuration." +msgstr "Habe bei der Verbindung mit Ihrem Twitter-Konto einen Fehler gefunden. Prüfen Sie Login und Kennwort in der Twitter-Konfiguration." + +msgid "I could not connect to your Twitter. Make sure you entered your login and password correctly." +msgstr "Keine Verbindung mit Ihrem Twitter möglich. Prüfen Sie die richtige Eingabe von Login und Kennwort." Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.wiki =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.wiki 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/de.wiki 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,10 +1,10 @@ -= Übersicht = -Dieses Plugin liest Ihre Twitter-Nachrichten. Keine Ahnung, was Twitter ist? Infos unter http://www.twitter.com - -Nach der Eingabe von Twitter-Login und Kennwort können Sie verschiedene Optionen anpassen: -* Tweeten Sie Ihren neuen Status: Jedes Mal, wenn diese Funktion gestartet wird, erstellt sie einen neuen Tweet auf Ihrer Twitter-Seite. -* Tweeten Sie entsprechend dem Statustext: Hier können Sie den Text für den Tweet der obigen Option festlegen. -* Maximale Tweetanzahl: Die Anzahl der neuesten von Tux Droid vorzulesenden Tweets wählen. -* Gibt die unter den Followern gegebenen Antworten wieder: Tux Droid liest die unter den Followern gegebenen Antworten vor. -* Meine Nachrichten/Antworten wiedergeben: Tux Droid liest Ihre eigenen Nachrichten und Antworten auf Twitter vor. - += Übersicht = +Dieses Plugin liest Ihre Twitter-Nachrichten. Keine Ahnung, was Twitter ist? Infos unter http://www.twitter.com + +Nach der Eingabe von Twitter-Login und Kennwort können Sie verschiedene Optionen anpassen: +* Tweeten Sie Ihren neuen Status: Jedes Mal, wenn diese Funktion gestartet wird, erstellt sie einen neuen Tweet auf Ihrer Twitter-Seite. +* Tweeten Sie entsprechend dem Statustext: Hier können Sie den Text für den Tweet der obigen Option festlegen. +* Maximale Tweetanzahl: Die Anzahl der neuesten von Tux Droid vorzulesenden Tweets wählen. +* Gibt die unter den Followern gegebenen Antworten wieder: Tux Droid liest die unter den Followern gegebenen Antworten vor. +* Meine Nachrichten/Antworten wiedergeben: Tux Droid liest Ihre eigenen Nachrichten und Antworten auf Twitter vor. + Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/en.po =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/en.po 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/en.po 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,81 +1,152 @@ -msgid "Twitter Plugin" -msgstr "Twitter Plugin" - -msgid "The Twitter plugin will make Tux Droid check your Twitter account." -msgstr "The Twitter plugin will make Tux Droid check your Twitter account." - -msgid "Username" -msgstr "Username" - -msgid "Password" -msgstr "Password" - -msgid "Tweet your new status" -msgstr "Tweet my new status" - -msgid "Tweet following status text" -msgstr "Tweet following status text" - -msgid "Hello all from my Tux Droid twitter gadget" -msgstr "Hello all from my Tux Droid Twitter gadget." - -msgid "Check Friends updates" -msgstr "Check for new Tweets" - -msgid "Check my messages/replies" -msgstr "Check my messages/replies" - -msgid "Check your Twitter account." -msgstr "Check my Twitter account." - -msgid "Check your tweets from your Twitter account." -msgstr "Check my Tweets from my Twitter account." - -msgid "Start every x" -msgstr "Alerts" - -msgid "Start me every x" -msgstr "Check my Twitter account automatically" - -msgid "You do not seem to be connected. Please, verify you username and password, then try again." -msgstr "You do not seem to be connected. Please, verify you username and password, then try again." - -msgid "You have a new friend update" -msgstr "There is a new Tweet available." - -msgid "You have {0} friend updates" -msgstr "You have {0} new Tweets." - -msgid "You don't have any friend updates." -msgstr "You don't have any new Tweets." - -msgid "You don't have any messages" -msgstr "You don't have any messages." - -msgid "You don't have any replies" -msgstr "You don't have any replies." - -msgid "Your new Tweet was not set, please, try again later" -msgstr "Your new Tweet was not set, please, try again later." - -msgid "Your Tweet was added" -msgstr "Your Tweet was added." - -msgid "Twitter is busy for now, please, try later." -msgstr "Twitter is busy for now, please, try again later." - -msgid "One reply from {0}" -msgstr "One reply from {0}." - -msgid "{0} replies from {1}" -msgstr "{0} replies from {1}." - -msgid "One message from {0}" -msgstr "One message from {0}." - -msgid "{0} messages from {1}" -msgstr "{0} messages from {1}." - -msgid "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." -msgstr "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." - +msgid "Twitter Plugin" +msgstr "Twitter Plugin" + +msgid "The Twitter plugin will make Tux Droid check your Twitter account." +msgstr "The Twitter plugin will make Tux Droid check your Twitter account." + +msgid "Username" +msgstr "Username" + +msgid "Password" +msgstr "Password" + +msgid "Tweet your new status" +msgstr "Tweet my new status" + +msgid "Tweet following status text" +msgstr "Tweet following status text" + +msgid "Hello all from my Tux Droid Twitter gadget" +msgstr "Hello all from my Tux Droid Twitter gadget." + +msgid "Check Friends updates" +msgstr "Check for new Tweets" + +msgid "Check my messages/replies" +msgstr "Check my messages/replies" + +msgid "Check your Twitter account." +msgstr "Check my Twitter account." + +msgid "Check your tweets from your Twitter account." +msgstr "Check my Tweets from my Twitter account." + +msgid "Start every x" +msgstr "Alerts" + +msgid "Start me every x" +msgstr "Check my Twitter account automatically" + +msgid "You do not seem to be connected. Please, verify you username and password, then try again." +msgstr "You do not seem to be connected. Please, verify you username and password, then try again." + +msgid "There is a new Tweet available." +msgstr "There is a new Tweet available." + +msgid "You have a new Tweet" +msgstr "You have a new Tweet" + +msgid "You have a new Tweet on your Twitter" +msgstr "You have a new Tweet on your Twitter" + +msgid "I found a new Tweet on your Twitter account" +msgstr "I found a new Tweet on your Twitter account" + +msgid "There is a new Tweet on your Twitter page" +msgstr "There is a new Tweet on your Twitter page" + +msgid "You have {0} new Tweets." +msgstr "You have {0} new Tweets." + +msgid "There are {0} new Tweets available" +msgstr "There are {0} new Tweets available" + +msgid "You have {0} new Tweets on your Twitter" +msgstr "You have {0} new Tweets on your Twitter" + +msgid "I found {0} new Tweets on your Twitter account" +msgstr "I found {0} new Tweets on your Twitter account" + +msgid "There are {0} new Tweets on your Twitter page" +msgstr "There are {0} new Tweets on your Twitter page" + +msgid "You don't have any new Tweets." +msgstr "You don't have any new Tweets." + +msgid "I couldn't find any new Tweets" +msgstr "I couldn't find any new Tweets" + +msgid "There are no new Tweets available" +msgstr "There are no new Tweets available" + +msgid "No new Tweets detected" +msgstr "No new Tweets detected" + +msgid "I couldn't detect any new Tweets" +msgstr "I couldn't detect any new Tweets" + +msgid "You don't have any messages" +msgstr "You don't have any messages." + +msgid "You have no private messages" +msgstr "You have no private messages" + +msgid "I couldn't find any new messages" +msgstr "I couldn't find any new messages" + +msgid "There are no new private messages" +msgstr "There are no new private messages" + +msgid "No private messages detected" +msgstr "No private messages detected" + +msgid "You don't have any replies" +msgstr "You don't have any replies." + +msgid "You have no new replies" +msgstr "You have no new replies" + +msgid "There are no replies" +msgstr "There are no replies" + +msgid "I could not find any replies" +msgstr "I could not find any replies" + +msgid "There are no new replies detected" +msgstr "There are no new replies detected" + +msgid "Your new Tweet was not set, please, try again later" +msgstr "Your new Tweet was not set, please, try again later." + +msgid "Your Tweet was added" +msgstr "Your Tweet was added." + +msgid "Twitter is busy for now, please, try again later." +msgstr "Twitter is busy for now, please, try again later." + +msgid "One reply from {0}" +msgstr "One reply from {0}." + +msgid "{0} replies from {1}" +msgstr "{0} replies from {1}." + +msgid "One message from {0}" +msgstr "One message from {0}." + +msgid "{0} messages from {1}" +msgstr "{0} messages from {1}." + +msgid "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." +msgstr "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." + +msgid "I could not connect to your Twitter account. Please check if the Twitter gadget is configured correctly." +msgstr "I could not connect to your Twitter account. Please check if the Twitter gadget is configured correctly." + +msgid "It seems you entered a wrong Twitter login or password. Please verify the Twitter gadget configuration." +msgstr "It seems you entered a wrong Twitter login or password. Please verify the Twitter gadget configuration." + +msgid "I got an error when connecting to your Twitter account. Please verify your login and password in the Twitter gadget configuration." +msgstr "I got an error when connecting to your Twitter account. Please verify your login and password in the Twitter gadget configuration." + +msgid "I could not connect to your Twitter. Make sure you entered your login and password correctly." +msgstr "I could not connect to your Twitter. Make sure you entered your login and password correctly." Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/fr.po =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/fr.po 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/fr.po 2009-10-28 16:13:13 UTC (rev 5789) @@ -16,7 +16,7 @@ msgid "Tweet following status text" msgstr "Tweet à publier" -msgid "Hello all from my Tux Droid twitter gadget" +msgid "Hello all from my Tux Droid Twitter gadget" msgstr "Bonjour à tous à partir du gadget Twitter de mon Tux Droid" msgid "Check Friends updates" @@ -28,40 +28,100 @@ msgid "Check your Twitter account." msgstr "Vérifier votre compte Twitter" +msgid "Check your tweets from your Twitter account." +msgstr "Vérifier vos Tweets" + msgid "Start every x" msgstr "Alertes" -msgid "Check your tweets from your Twitter account." -msgstr "Vérifier vos Tweets" - msgid "Start me every x" msgstr "Vérifier automatiquement mon compte Twitter." msgid "You do not seem to be connected. Please, verify you username and password, then try again." msgstr "Il semble que vous ne soyez pas connecté. Vérifiez votre login et votre mot de passe et essayez à nouveau." -msgid "You have a new friend update" +msgid "There is a new Tweet available." msgstr "Un ami à publié un nouveau Tweet" -msgid "You have {0} friend updates" +msgid "You have a new Tweet" +msgstr "Vous avez un nouveau Tweet" + +msgid "You have a new Tweet on your Twitter" +msgstr "Vous avez un nouveau Tweet sur Twitter" + +msgid "I found a new Tweet on your Twitter account" +msgstr "J'ai trouvé un nouveau Tweet sur votre compte Twitter" + +msgid "There is a new Tweet on your Twitter page" +msgstr "Il y a un nouveau Tweet sur votre page Twitter" + +msgid "You have {0} new Tweets." msgstr "{0} de vos amis ont publié un nouveau Tweet" -msgid "You don't have any friend updates." +msgid "There are {0} new Tweets available" +msgstr "Il y a {0} nouveaux Tweets disponibles" + +msgid "You have {0} new Tweets on your Twitter" +msgstr "Vous avez {0} nouveaux Tweets sur Twitter" + +msgid "I found {0} new Tweets on your Twitter account" +msgstr "J'ai trouvé {0} nouveaux Tweets sur votre compte Twitter" + +msgid "There are {0} new Tweets on your Twitter page" +msgstr "Il y a {0} nouveaux Tweets sur votre page Twitter" + +msgid "You don't have any new Tweets." msgstr "Vos amis n'ont pas publié de Tweets" +msgid "I couldn't find any new Tweets" +msgstr "Je n'ai pas trouvé de nouveaux Tweets " + +msgid "There are no new Tweets available" +msgstr "Il n'y a pas de nouveaux Tweets disponibles" + +msgid "No new Tweets detected" +msgstr "Aucun nouveau Tweet détecté" + +msgid "I couldn't detect any new Tweets" +msgstr "Je n'ai pas détecté de nouveaux Tweets" + msgid "You don't have any messages" -msgstr "Vous n'avez pas de nouveau messages" +msgstr "Vous n'avez pas de nouveaux messages" +msgid "You have no private messages" +msgstr "Vous n'avez pas de messages privés" + +msgid "I couldn't find any new messages" +msgstr "Je n'ai pas trouvé de nouveaux messages" + +msgid "There are no new private messages" +msgstr "Il n'y a pas de nouveaux messages privés" + +msgid "No private messages detected" +msgstr "Aucun message privé détecté" + msgid "You don't have any replies" msgstr "Vous n'avez pas de nouvelles réponses" +msgid "You have no new replies" +msgstr "Vous n'avez pas de réponses" + +msgid "There are no replies" +msgstr "Il n'y a pas de réponses" + +msgid "I could not find any replies" +msgstr "Je n'ai pas trouvé de réponses" + +msgid "There are no new replies detected" +msgstr "Aucune nouvelles réponses détectées" + msgid "Your new Tweet was not set, please, try again later" msgstr "Votre Tweet n'a pas été publié, s'il vous plait, essayez à nouveau." msgid "Your Tweet was added" msgstr "Votre Tweet a été publié" -msgid "Twitter is busy for now, please, try later." +msgid "Twitter is busy for now, please, try again later." msgstr "Twitter est occupé pour le moment, veuillez réessayer plus tard." msgid "One reply from {0}" @@ -79,4 +139,14 @@ msgid "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." msgstr "Désolé, il y a eu une erreur lors de la connexion avec Twitter. Vérifiez votre login et votre mot de passe" +msgid "I could not connect to your Twitter account. Please check if the Twitter gadget is configured correctly." +msgstr "Je ne peux pas me connecter à votre compte Twitter. Veuillez vérifier que le gadget Twitter soit configuré correctement." +msgid "It seems you entered a wrong Twitter login or password. Please verify the Twitter gadget configuration." +msgstr "Il semble que vous ayez entré un mauvais nom d'utilisateur ou mot de passe Twitter. Veuillez vérifier la configuration du gadget Twitter." + +msgid "I got an error when connecting to your Twitter account. Please verify your login and password in the Twitter gadget configuration." +msgstr "J'ai eu une erreur en essayant de me connecter à votre compte Twitter. Veuillez vérifier votre nom d'utilisateur et mode de passe dans la configuration du gadget Twitter." + +msgid "I could not connect to your Twitter. Make sure you entered your login and password correctly." +msgstr "Je n'ai pas pu le connecter à votre Twitter. Assurez-vous que vous avez entré un nom d'utilisateur et un mot de passe correct." Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/nl.po =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/nl.po 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/nl.po 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,80 +1,152 @@ -msgid "Twitter Plugin" -msgstr "Twitter Plugin" - -msgid "The Twitter plugin will make Tux Droid check your Twitter account." -msgstr "De Twitter plugin zal Tux Droid je Twitter account laten checken." - -msgid "Username" -msgstr "Gebruikersnaam" - -msgid "Password" -msgstr "Wachtwoord" - -msgid "Tweet your new status" -msgstr "Tweet je nieuwe status" - -msgid "Tweet following status text" -msgstr "Tweet volgende status tekst" - -msgid "Hello all from my Tux Droid twitter gadget" -msgstr "Hallo allemaal van mijn Tux Droid Twitter gadget" - -msgid "Check Friends updates" -msgstr "Check nieuwe Tweets" - -msgid "Check my messages/replies" -msgstr "Check mijn berichten/ antwoorden" - -msgid "Check your Twitter account." -msgstr "Check mijn Twitter account." - -msgid "Check your tweets from your Twitter account." -msgstr "Check mijn Tweets op mijn Twitter account." - -msgid "Start every x" -msgstr "Alarmen" - -msgid "Start me every x" -msgstr "Check mijn Twitter account automatisch" - -msgid "You do not seem to be connected. Please, verify you username and password, then try again." -msgstr "Ik kan geen verbinding maken. Controleer of je gebruikersnaam en wachtwoord correct zijn ingegeven." - -msgid "You have a new friend update" -msgstr "Er is een nieuwe Tweet beschikbaar." - -msgid "You have {0} friend updates" -msgstr "Je hebt {0} nieuwe Tweets." - -msgid "You don't have any friend updates." -msgstr "Je hebt geen nieuwe Tweets." - -msgid "You don't have any messages" -msgstr "Je hebt geen nieuwe berichten." - -msgid "You don't have any replies" -msgstr "Je hebt geen nieuwe antwoorden." - -msgid "Your new Tweet was not set, please, try again later" -msgstr "Je nieuwe Tweet werd niet geplaatst, probeer later opnieuw." - -msgid "Your Tweet was added" -msgstr "Je nieuwe Tweet werd toegevoegd." - -msgid "Twitter is busy for now, please, try later." -msgstr "Twitter is bezet op het ogenblik, probeer later opnieuw." - -msgid "One reply from {0}" -msgstr "Je hebt 1 antwoord van {0}." - -msgid "{0} replies from {1}" -msgstr "{0} antwoorden van {1}." - -msgid "One message from {0}" -msgstr "1 bericht van {0}." - -msgid "{0} messages from {1}" -msgstr "{0} berichten van {1}." - -msgid "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." -msgstr "Sorry, ik kan geen connectie maken met Twitter. Controleer je configuratie of probeer later opnieuw." +msgid "Twitter Plugin" +msgstr "Twitter Plugin" + +msgid "The Twitter plugin will make Tux Droid check your Twitter account." +msgstr "De Twitter plugin zal Tux Droid je Twitter account laten checken." + +msgid "Username" +msgstr "Gebruikersnaam" + +msgid "Password" +msgstr "Wachtwoord" + +msgid "Tweet your new status" +msgstr "Tweet je nieuwe status" + +msgid "Tweet following status text" +msgstr "Tweet volgende status tekst" + +msgid "Hello all from my Tux Droid Twitter gadget" +msgstr "Hallo allemaal van mijn Tux Droid Twitter gadget" + +msgid "Check Friends updates" +msgstr "Check nieuwe Tweets" + +msgid "Check my messages/replies" +msgstr "Check mijn berichten/ antwoorden" + +msgid "Check your Twitter account." +msgstr "Check mijn Twitter account." + +msgid "Check your tweets from your Twitter account." +msgstr "Check mijn Tweets op mijn Twitter account." + +msgid "Start every x" +msgstr "Alarmen" + +msgid "Start me every x" +msgstr "Check mijn Twitter account automatisch" + +msgid "You do not seem to be connected. Please, verify you username and password, then try again." +msgstr "Ik kan geen verbinding maken. Controleer of je gebruikersnaam en wacht woord correct zijn ingegeven." + +msgid "There is a new Tweet available." +msgstr "Er is een nieuwe Tweet beschikbaar." + +msgid "You have a new Tweet" +msgstr "Je hebt een nieuwe Tweet beschikbaar" + +msgid "You have a new Tweet on your Twitter" +msgstr "Je hebt een nieuwe Tweet beschikbaar op je Twitter" + +msgid "I found a new Tweet on your Twitter account" +msgstr "Ik heb een nieuwe Tweet gevonden op je Twitter account" + +msgid "There is a new Tweet on your Twitter page" +msgstr "Er is een nieuwe Tweet beschikbaar op je Twitter pagina" + +msgid "You have {0} new Tweets." +msgstr "Je hebt {0} nieuwe Tweet beschikbaar." + +msgid "There are {0} new Tweets available" +msgstr "Er zijn {0} nieuwe Tweet beschikbaar" + +msgid "You have {0} new Tweets on your Twitter" +msgstr "Je hebt {0} nieuwe Tweet op je Twitter" + +msgid "I found {0} new Tweets on your Twitter account" +msgstr "Ik heb {0} nieuwe Tweet gevonden op je Twitter account" + +msgid "There are {0} new Tweets on your Twitter page" +msgstr "Er zijn {0} nieuwe Tweet beschikbaar op je Twitter pagina" + +msgid "You don't have any new Tweets." +msgstr "Je hebt geen nieuwe Tweet beschikbaar" + +msgid "I couldn't find any new Tweets" +msgstr "Ik heb geen nieuwe Tweet gevonden" + +msgid "There are no new Tweets available" +msgstr "Er zijn geen nieuwe Tweet beschikbaar" + +msgid "No new Tweets detected" +msgstr "Geen nieuwe Tweet gevonden" + +msgid "I couldn't detect any new Tweets" +msgstr "Ik kan geen nieuwe Tweet vinden" + +msgid "You don't have any messages" +msgstr "Je hebt geen nieuwe berichten" + +msgid "You have no private messages" +msgstr "Je hebt geen persoonlijke berichten" + +msgid "I couldn't find any new messages" +msgstr "Ik kan geen nieuwe berichten vinden" + +msgid "There are no new private messages" +msgstr "Er zijn geen nieuwe persoonlijke berichten" + +msgid "No private messages detected" +msgstr "Geen persoonlijke berichten gevonden" + +msgid "You don't have any replies" +msgstr "Je hebt geen nieuwe antwoorden" + +msgid "You have no new replies" +msgstr "Je hebt geen antwoorden" + +msgid "There are no replies" +msgstr "Er zijn geen antwoorden" + +msgid "I could not find any replies" +msgstr "Ik heb geen antwoorden gevonden" + +msgid "There are no new replies detected" +msgstr "Er werden geen nieuwe antwoorden gevonden" + +msgid "Your new Tweet was not set, please, try again later" +msgstr "Je nieuwe Tweet werd niet geplaatst, probeer later opnieuw" + +msgid "Your Tweet was added" +msgstr "Je nieuwe Tweet werd toegevoegd" + +msgid "Twitter is busy for now, please, try again later." +msgstr "Twitter is bezet op het ogenblik, probeer later opnieuw." + +msgid "One reply from {0}" +msgstr "Je hebt 1 antwoord van {0}" + +msgid "{0} replies from {1}" +msgstr "{0} antwoorden van {1}" + +msgid "One message from {0}" +msgstr "1 bericht van {0}" + +msgid "{0} messages from {1}" +msgstr "{0} berichten van {1}" + +msgid "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." +msgstr "Sorry, ik kan geen connectie maken met Twitter. Controleer je configuratie of probeer later opnieuw." + +msgid "I could not connect to your Twitter account. Please check if the Twitter gadget is configured correctly." +msgstr "Ik kan geen connectie maken met je Twitter account. Gelieve na te kijken of je Twitter configuratie correct is." + +msgid "It seems you entered a wrong Twitter login or password. Please verify the Twitter gadget configuration." +msgstr "Ik denk dat je log-in of wacht woord verkeerd zijn. Gelieve je Twitter gadget configuratie te controleren." + +msgid "I got an error when connecting to your Twitter account. Please verify your login and password in the Twitter gadget configuration." +msgstr "Ik kreeg een foutmelding bij het connecteren met je Twitter account. Controleer je log-in en wacht woord in de Twitter gadget configuratie." + +msgid "I could not connect to your Twitter. Make sure you entered your login and password correctly." +msgstr "Ik kan geen verbinding maken met je Twitter. Controleer of je de correcte log-in en wacht woord hebt ingegeven." Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.pot =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.pot 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.pot 2009-10-28 16:13:13 UTC (rev 5789) @@ -16,7 +16,7 @@ msgid "Tweet following status text" msgstr "" -msgid "Hello all from my Tux Droid twitter gadget" +msgid "Hello all from my Tux Droid Twitter gadget" msgstr "" msgid "Check Friends updates" @@ -40,28 +40,88 @@ msgid "You do not seem to be connected. Please, verify you username and password, then try again." msgstr "" -msgid "You have a new friend update" +msgid "There is a new Tweet available." msgstr "" -msgid "You have {0} friend updates" +msgid "You have a new Tweet" msgstr "" -msgid "You don't have any friend updates." +msgid "You have a new Tweet on your Twitter" msgstr "" +msgid "I found a new Tweet on your Twitter account" +msgstr "" + +msgid "There is a new Tweet on your Twitter page" +msgstr "" + +msgid "You have {0} new Tweets." +msgstr "" + +msgid "There are {0} new Tweets available" +msgstr "" + +msgid "You have {0} new Tweets on your Twitter" +msgstr "" + +msgid "I found {0} new Tweets on your Twitter account" +msgstr "" + +msgid "There are {0} new Tweets on your Twitter page" +msgstr "" + +msgid "You don't have any new Tweets." +msgstr "" + +msgid "I couldn't find any new Tweets" +msgstr "" + +msgid "There are no new Tweets available" +msgstr "" + +msgid "No new Tweets detected" +msgstr "" + +msgid "I couldn't detect any new Tweets" +msgstr "" + msgid "You don't have any messages" msgstr "" +msgid "You have no private messages" +msgstr "" + +msgid "I couldn't find any new messages" +msgstr "" + +msgid "There are no new private messages" +msgstr "" + +msgid "No private messages detected" +msgstr "" + msgid "You don't have any replies" msgstr "" +msgid "You have no new replies" +msgstr "" + +msgid "There are no replies" +msgstr "" + +msgid "I could not find any replies" +msgstr "" + +msgid "There are no new replies detected" +msgstr "" + msgid "Your new Tweet was not set, please, try again later" msgstr "" msgid "Your Tweet was added" msgstr "" -msgid "Twitter is busy for now, please, try later." +msgid "Twitter is busy for now, please, try again later." msgstr "" msgid "One reply from {0}" @@ -79,3 +139,14 @@ msgid "Sorry, there was an error when connecting to Twitter. Please check your Twitter configuration." msgstr "" +msgid "I could not connect to your Twitter account. Please check if the Twitter gadget is configured correctly." +msgstr "" + +msgid "It seems you entered a wrong Twitter login or password. Please verify the Twitter gadget configuration." +msgstr "" + +msgid "I got an error when connecting to your Twitter account. Please verify your login and password in the Twitter gadget configuration." +msgstr "" + +msgid "I could not connect to your Twitter. Make sure you entered your login and password correctly." +msgstr "" Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.xml =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.xml 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/resources/plugin.xml 2009-10-28 16:13:13 UTC (rev 5789) @@ -39,7 +39,7 @@ name="myStatus" description="Tweet following status text" type="string" - defaultValue="Hello all from my Tux Droid twitter gadget" /> + defaultValue="Hello all from my Tux Droid Twitter gadget" /> <parameter category="User parameters" name="checkFriends" Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Configuration.java =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Configuration.java 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Configuration.java 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,168 +1,168 @@ -/* This file is part of "Tux Droid Gadget Twitter". - * Copyright 2008, kysoh - * Author : Jerome Conan - * Site : http://www.kysoh.com/ - * - * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with "Tux Droid Gadget Twitter"; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA, or see the FSF site: http://www.fsf.org. - */ - - -import com.kysoh.tuxdroid.plugin.framework.plugin.SimplePluginConfiguration; - - -public class Configuration extends SimplePluginConfiguration{ - - private String username = ""; - private String password = ""; - - private String myStatus = "Hello all from my tuxdroid Twitter gadget"; - private boolean updateStatus = false; - - private boolean checkFriends = true; - private boolean checkMessages = true; - - private String defaultUser = "your_user_name"; - private String defaultPassword = "_secret_"; - - - /** - * Sets the username. - * @param username - */ - public void setUsername(String username) - { - this.username = username; - } - - - /** - * Return the username. - * @return - */ - public String getUsername() - { - if (this.username.equalsIgnoreCase(this.defaultUser)) - { - return null; - } - - return this.username; - } - - - /** - * Set the user password. - * @param password - */ - public void setPassword(String password) - { - this.password = password; - } - - - /** - * Return the user password. - * @return - */ - public String getPassword() - { - if (this.password.equalsIgnoreCase(this.defaultPassword)) - { - return null; - } - return this.password; - } - - - /** - * Sets the user status on twitter. - */ - public void setMyStatus(String myStatus) - { - this.myStatus = myStatus; - } - - - /** - * Return the status to be set. - * @return - */ - public String getMyStatus() - { - return this.myStatus; - } - - - /** - * Set or not the update request. - * @param updateStatus - */ - public void setUpdateStatus(boolean updateStatus) - { - this.updateStatus = updateStatus; - } - - - /** - * Return true if user want to update his status. - * @return - */ - public boolean getUpdateStatus() - { - return this.updateStatus; - } - - - /** - * Set or not the checkf friends updates check. - * @param updateStatus - */ - public void setCheckFriends(boolean aCheckFriends) - { - this.checkFriends = aCheckFriends; - } - - - /** - * Return true if user want to check his new friends statuses. - * @return - */ - public boolean getCheckFriends() - { - return this.checkFriends; - } - - - /** - * Set or not the check messages option. - * @param updateStatus - */ - public void setCheckMessages(boolean aCheckMessages) - { - this.checkMessages = aCheckMessages; - } - - - /** - * Return true if user want to check his replies / messages. - * @return - */ - public boolean getCheckMessages() - { - return this.checkMessages; - } - -} +/* This file is part of "Tux Droid Gadget Twitter". + * Copyright 2008, kysoh + * Author : Jerome Conan + * Site : http://www.kysoh.com/ + * + * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with "Tux Droid Gadget Twitter"; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ + + +import com.kysoh.tuxdroid.plugin.framework.plugin.SimplePluginConfiguration; + + +public class Configuration extends SimplePluginConfiguration{ + + private String username = ""; + private String password = ""; + + private String myStatus = "Hello all from my tuxdroid Twitter gadget"; + private boolean updateStatus = false; + + private boolean checkFriends = true; + private boolean checkMessages = true; + + private String defaultUser = "your_user_name"; + private String defaultPassword = "_secret_"; + + + /** + * Sets the username. + * @param username + */ + public void setUsername(String username) + { + this.username = username; + } + + + /** + * Return the username. + * @return + */ + public String getUsername() + { + if (this.username.equalsIgnoreCase(this.defaultUser)) + { + return null; + } + + return this.username; + } + + + /** + * Set the user password. + * @param password + */ + public void setPassword(String password) + { + this.password = password; + } + + + /** + * Return the user password. + * @return + */ + public String getPassword() + { + if (this.password.equalsIgnoreCase(this.defaultPassword)) + { + return null; + } + return this.password; + } + + + /** + * Sets the user status on twitter. + */ + public void setMyStatus(String myStatus) + { + this.myStatus = myStatus; + } + + + /** + * Return the status to be set. + * @return + */ + public String getMyStatus() + { + return this.myStatus; + } + + + /** + * Set or not the update request. + * @param updateStatus + */ + public void setUpdateStatus(boolean updateStatus) + { + this.updateStatus = updateStatus; + } + + + /** + * Return true if user want to update his status. + * @return + */ + public boolean getUpdateStatus() + { + return this.updateStatus; + } + + + /** + * Set or not the checkf friends updates check. + * @param updateStatus + */ + public void setCheckFriends(boolean aCheckFriends) + { + this.checkFriends = aCheckFriends; + } + + + /** + * Return true if user want to check his new friends statuses. + * @return + */ + public boolean getCheckFriends() + { + return this.checkFriends; + } + + + /** + * Set or not the check messages option. + * @param updateStatus + */ + public void setCheckMessages(boolean aCheckMessages) + { + this.checkMessages = aCheckMessages; + } + + + /** + * Return true if user want to check his replies / messages. + * @return + */ + public boolean getCheckMessages() + { + return this.checkMessages; + } + +} Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/FriendStatut.java =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/FriendStatut.java 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/FriendStatut.java 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,81 +1,81 @@ -/* This file is part of "Tux Droid Gadget Twitter". - * Copyright 2008, kysoh - * Author : Jerome Conan - * Site : http://www.kysoh.com/ - * - * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with "Tux Droid Gadget Twitter"; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA, or see the FSF site: http://www.fsf.org. - */ - -import java.io.Serializable; - -public class FriendStatut implements Serializable{ - - private static final long serialVersionUID = -2710016821846315218L; - - private String friend = null; - private String Status = null; - - /** - * Constructor. - * @param friendName - * @param status - */ - public FriendStatut(String friendName, String status) - { - this.friend = friendName; - this.Status = status; - } - - - /** - * Return the friend name. - * @return - */ - public String getFriendName() - { - return this.friend; - } - - - /** - * Return the friend status. - * @return - */ - public String getFriendStatus() - { - return this.Status; - } - - - /** - * Set the friend name. - * @param aFriendName - */ - public void setFriendName(String aFriendName) - { - this.friend = aFriendName; - } - - - /** - * Set the friend status. - * @param aFriendStatus - */ - public void setFriendStatus(String aFriendStatus) - { - this.Status = aFriendStatus; - } -} +/* This file is part of "Tux Droid Gadget Twitter". + * Copyright 2008, kysoh + * Author : Jerome Conan + * Site : http://www.kysoh.com/ + * + * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with "Tux Droid Gadget Twitter"; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ + +import java.io.Serializable; + +public class FriendStatut implements Serializable{ + + private static final long serialVersionUID = -2710016821846315218L; + + private String friend = null; + private String Status = null; + + /** + * Constructor. + * @param friendName + * @param status + */ + public FriendStatut(String friendName, String status) + { + this.friend = friendName; + this.Status = status; + } + + + /** + * Return the friend name. + * @return + */ + public String getFriendName() + { + return this.friend; + } + + + /** + * Return the friend status. + * @return + */ + public String getFriendStatus() + { + return this.Status; + } + + + /** + * Set the friend name. + * @param aFriendName + */ + public void setFriendName(String aFriendName) + { + this.friend = aFriendName; + } + + + /** + * Set the friend status. + * @param aFriendStatus + */ + public void setFriendStatus(String aFriendStatus) + { + this.Status = aFriendStatus; + } +} Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Message.java =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Message.java 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Message.java 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,82 +1,82 @@ -/* This file is part of "Tux Droid Gadget Twitter". - * Copyright 2008, kysoh - * Author : Jerome Conan - * Site : http://www.kysoh.com/ - * - * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with "Tux Droid Gadget Twitter"; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA, or see the FSF site: http://www.fsf.org. - */ - -import java.io.Serializable; - -public class Message implements Serializable{ - - private static final long serialVersionUID = -2723363051271966964L; - - private String sender = null; - private String message = null; - - /** - * Constructor. - * @param sender - * @param message - */ - public Message(String sender, String message) - { - this.sender = sender; - this.message = message; - } - - - /** - * Return the message sender. - * @return - */ - public String getSender() - { - return this.sender; - } - - - /** - * Return the message itself. - * @return - */ - public String getMessage() - { - return this.message; - } - - - /** - * Set the message. - * @param aMessage - */ - public void setMessage(String aMessage) - { - this.message = aMessage; - } - - - /** - * Set the sender. - * @param aSender - */ - public void setSender(String aSender) - { - this.sender = aSender; - } - -} +/* This file is part of "Tux Droid Gadget Twitter". + * Copyright 2008, kysoh + * Author : Jerome Conan + * Site : http://www.kysoh.com/ + * + * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with "Tux Droid Gadget Twitter"; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ + +import java.io.Serializable; + +public class Message implements Serializable{ + + private static final long serialVersionUID = -2723363051271966964L; + + private String sender = null; + private String message = null; + + /** + * Constructor. + * @param sender + * @param message + */ + public Message(String sender, String message) + { + this.sender = sender; + this.message = message; + } + + + /** + * Return the message sender. + * @return + */ + public String getSender() + { + return this.sender; + } + + + /** + * Return the message itself. + * @return + */ + public String getMessage() + { + return this.message; + } + + + /** + * Set the message. + * @param aMessage + */ + public void setMessage(String aMessage) + { + this.message = aMessage; + } + + + /** + * Set the sender. + * @param aSender + */ + public void setSender(String aSender) + { + this.sender = aSender; + } + +} Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Reply.java =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Reply.java 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/Reply.java 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,81 +1,81 @@ -/* This file is part of "Tux Droid Gadget Twitter". - * Copyright 2008, kysoh - * Author : Jerome Conan - * Site : http://www.kysoh.com/ - * - * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with "Tux Droid Gadget Twitter"; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA, or see the FSF site: http://www.fsf.org. - */ - -import java.io.Serializable; - -public class Reply implements Serializable{ - - private static final long serialVersionUID = -4131206164350955300L; - - private String sender = null; - private String reply = null; - - /** - * Constructor. - * @param sender - * @param reply - */ - public Reply(String sender, String reply) - { - this.sender = sender; - this.reply = reply; - } - - - /** - * Return the reply sender. - * @return - */ - public String getSender() - { - return this.sender; - } - - - /** - * Return the reply itself. - * @return - */ - public String getReply() - { - return this.reply; - } - - - /** - * Set the reply sender. - * @param aSender - */ - public void setSender(String aSender) - { - this.sender = aSender; - } - - - /** - * Set the message itself. - * @param aReply - */ - public void setReply(String aReply) - { - this.reply = aReply; - } -} +/* This file is part of "Tux Droid Gadget Twitter". + * Copyright 2008, kysoh + * Author : Jerome Conan + * Site : http://www.kysoh.com/ + * + * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with "Tux Droid Gadget Twitter"; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ + +import java.io.Serializable; + +public class Reply implements Serializable{ + + private static final long serialVersionUID = -4131206164350955300L; + + private String sender = null; + private String reply = null; + + /** + * Constructor. + * @param sender + * @param reply + */ + public Reply(String sender, String reply) + { + this.sender = sender; + this.reply = reply; + } + + + /** + * Return the reply sender. + * @return + */ + public String getSender() + { + return this.sender; + } + + + /** + * Return the reply itself. + * @return + */ + public String getReply() + { + return this.reply; + } + + + /** + * Set the reply sender. + * @param aSender + */ + public void setSender(String aSender) + { + this.sender = aSender; + } + + + /** + * Set the message itself. + * @param aReply + */ + public void setReply(String aReply) + { + this.reply = aReply; + } +} Modified: software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/TwitterDatasStruct.java =================================================================== --- software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/TwitterDatasStruct.java 2009-10-28 15:05:38 UTC (rev 5788) +++ software_suite_v3/software/plugin/plugin-twitter/trunk/plugin-twitter/src/TwitterDatasStruct.java 2009-10-28 16:13:13 UTC (rev 5789) @@ -1,312 +1,312 @@ -/* This file is part of "Tux Droid Gadget Twitter". - * Copyright 2008, kysoh - * Author : Jerome Conan - * Site : http://www.kysoh.com/ - * - * "Tux Droid Gadget Twitter" is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * "Tux Droid Gadget Twitter" is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with "Tux Droid Gadget Twitter"; if not, write to the Free - * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA, or see the FSF site: http://www.fsf.org. - */ - -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; -import java.io.Serializable; -import java.util.Vector; - - -public class TwitterDatasStruct extends Object implements Serializable{ - - private static final long serialVersionUID = 8395814134877723558L; - - public static final byte FRIENDS_STATUSES = 0; - public static final byte REPLIES = 1; - public static final byte MESSAGES = 2; - - public SerializedVector vktStruct; - private File structFile; - private boolean firstCycle; - - - - public TwitterDatasStruct(String username) - { - //tds = tuxdroid datas saved. - - File path = new File(""); - structFile = new File( path.getAbsolutePath() + File.separator + username + "@twitter.sav"); - - if(structFile.exists()) - { - //Getting serialized object struct. - this.firstCycle = false; - vktStruct = this.loadStruct(); - } - else - { - this.firstCycle = true; - //Create struct. - vktStruct = new SerializedVector(); - if(vktStruct == null) - { - vktStruct = new SerializedVector(); - } - } - } - - - /** - * Regiter the structure. - */ - public void registerStruct() - { - if(this.vktStruct.size() <= 0) - { - return; - } - - try - { - FileOutputStream file = new FileOutputStream(this.structFile); - ObjectOutputStream oos = new ObjectOutputStream(file); - oos.writeObject(this.vktStruct); - oos.flush(); - oos.close(); - } - catch (java.io.IOException e) - { - e.printStackTrace(); - } - } - - - - /** - * Load the twitterDatasStruct object. - */ - private SerializedVector loadStruct() - { - try - { - FileInputStream fichier = new FileInputStream(this.structFile); - ObjectInputStream ois = new ObjectInputStream(fichier); - return (SerializedVector) ois.readObject(); - } - catch (java.io.IOException e) - { - e.printStackTrace(); - } - catch (ClassNotFoundException e) - { - e.printStackTrace(); - } - return null; - } - - - /** - * Add a message to the message hashtable. - * @param sender - * @param message - */ - public void addMessage(String sender, String message) - { - this.vktStruct.addMessage(sender, message); - } - - - /** - * Add a reply to the reply hashtable. - * @param sender - * @param reply - */ - public void addReply(String sender, String reply) - { - this.vktStruct.addReply(sender, reply); - } - - - /** - * Add a status for selected friend. - * @param friens - * @param status - */ - public void addFriendStatus(String friend, String status) - { - this.vktStruct.addFriendStatus(friend, status); - } - - - - /** - * This function return the state of cycle ( first start or not for the current user ). - * @return - */ - public boolean isFirstCycle() - { - return this.firstCycle; - } - - /** - * Return true if the target is registered. - * @param list - * @param sender - * @param value - * @return - */ - public boolean isRegistered(byte list, String sender, String value) - { - - switch(list) - { - case TwitterDatasStruct.FRIENDS_STATUSES: - { - for(int index=0; index < this.vktStruct.size(); index ++) - { - if(this.vktStruct.isFriendStatut(index)) - { - FriendStatut friendStatus = (FriendStatut)this.vktStruct.get(index); - if(friendStatus.getFriendName().equals(sender)) - { - if(friendStatus.getFriendStatus().equals(value)) - { - return true; - } - } - } - } - } - - case TwitterDatasStruct.MESSAGES: - { - for(int index=0; index < this.vktStruct.size(); index ++) - { - if(this.vktStruct.isMessage(index)) - { - Message message = (Message) this.vktStruct.get(index); - if(message.getSender().equals(sender)) - { - if(message.getMessage().equals(value)) - { - return true; - } - } - } - } - } - - case TwitterDatasStruct.REPLIES: - { - for(int index=0; index < this.vktStruct.size(); index ++) - { - if(this.vktStruct.isReply(index)) - { - Reply reply = (Reply) this.vktStruct.get(index); - if(reply.getSender().equals(sender)) - { - if(reply.getReply().equals(value)) - { - return true; - } - } ... [truncated message content] |