Author: jerome
Date: 2009-10-26 15:39:31 +0100 (Mon, 26 Oct 2009)
New Revision: 5771

Modified:
   
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
Log:
* Updated strings.
* Changed a var name.

Modified: 
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
===================================================================
--- 
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
       2009-10-26 13:51:29 UTC (rev 5770)
+++ 
software_suite_v3/software/plugin/plugin-facebook/branches/october_release/src/com/kysoh/plugins/facebook/FacebookPlugin.java
       2009-10-26 14:39:31 UTC (rev 5771)
@@ -35,7 +35,7 @@
 public class FacebookPlugin extends SimplePlugin<PluginFacebookConfiguration>{
        
        private boolean check = false;
-       private boolean throwed = false;
+       private boolean thrown = false;
        
        
        private boolean secondCycle = false;
@@ -48,9 +48,9 @@
         */
        private void throwRes()
        {
-               if(this.check && (!throwed))
+               if(this.check && (!thrown))
                {
-                       throwed = true;
+                       thrown = true;
                        this.throwResult(true);
                        this.throwMessage("Facebook");
                }
@@ -85,7 +85,7 @@
        public void doConfigure(FacebookFunctions funct)
        {       
                //Prompt web browser for facebook permissions.
-               this.throwMessage("Please, allow me to access you Facebook 
account");
+               this.throwMessage("Please, allow me to access your Facebook 
account");
                FacebookConnection.promptAuthorizations();
                System.exit( 0 );
        }
@@ -137,7 +137,7 @@
                                this.throwEventInvites();
                        }
                        
-                       if(( !this.throwed ) && 
this.getCommand().equalsIgnoreCase("check") )
+                       if(( !this.thrown ) && 
this.getCommand().equalsIgnoreCase("check") )
                        {
                                this.throwResult(false);
                        }
@@ -172,7 +172,7 @@
                        }
                        else
                        {
-                               this.throwMessage("An error occured trying to 
set your new status, please, allow me to acces your wall");
+                               this.throwMessage("An error occured trying to 
set your new status, please, allow me to access your wall");
                                doConfigure(functions);
                        }
                } 
@@ -180,7 +180,7 @@
                {
                        if( ! this.getCommand().equalsIgnoreCase("check"))
                        {
-                               this.throwMessage("Please, allo me to access 
your Facebook account");
+                               this.throwMessage("Please, allow me to access 
your Facebook account");
                        }
                        System.exit(0);
                }
@@ -202,7 +202,7 @@
                {
                        if(this.getCommand().equalsIgnoreCase("check"))
                        {
-                               this.throwMessage("Please, allo me to access 
your Facebook account");
+                               this.throwMessage("Please, allow me to access 
your Facebook account");
                        }
                        System.exit(0);
                }
@@ -282,7 +282,7 @@
                {
                        if(this.getCommand().equalsIgnoreCase("check"))
                        {
-                               this.throwMessage("Please, allo me to access 
your Facebook account");
+                               this.throwMessage("Please, allow me to access 
your Facebook account");
                        }
                        System.exit(0);
                }
@@ -299,7 +299,7 @@
                                //Only throwing in the second cycle of check 
command or run.
                                if(this.getCommand().equalsIgnoreCase("run") || 
secondCycle)
                                        {
-                                       this.throwMessage("{0} request to be 
your friend", request);
+                                       this.throwMessage("{0} requests to be 
your friend", request);
                                        said = true;
                                        }
                        }
@@ -344,7 +344,7 @@
                            //Only throwing in the second cycle of check 
command or run.
                                if(this.getCommand().equalsIgnoreCase("run") || 
secondCycle)
                                        {
-                                       this.throwMessage("You are invited to 
the following group: {0}", group);
+                                       this.throwMessage("You are invited to 
this group: {0}", group);
                                        said = true;
                                        }
                                }
@@ -388,7 +388,7 @@
                            //Only throwing in the second cycle of check 
command or run.
                                if(this.getCommand().equalsIgnoreCase("run") || 
secondCycle)
                                        {
-                                       this.throwMessage("You are invited to 
the following event: {0}", event);
+                                       this.throwMessage("You are invited to 
the event: {0}", event);
                                        said = true;
                                        }
                                }


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to