[Register]
Powered by Elgg

Plugins :: Blog :: Private Messages - Plug-in i18n

March 08, 2007

As you have noticed English its not my mother tongue so the private messages plug-in has some errors.

Here all the strings that appear on it, for correct them and use it to translate the plug-in to other languages. 


#: messages_init.php:26:
"You are authorized only to view your own messages"

#: messages_view.php:26:
"Delete"

#: messages_view.php:27:
"Mark as unread"

#: messages_view.php:28:
"Mark as read"

#: messages_view.php:30:
"Inbox"

#: messages_view.php:31:
"Send by"

#: messages_view.php:38:
"Sent to"

#: messages_view.php:39:
"Sent messages"

#: messages_view.php:59:   
"Back"

#: messages_view.php:71:   
"Next"

#: compose.php:16:
"Messages"

#: lib.php:15:       
"Your Messages"

#: lib.php:29:         
"View Messages"

#: lib.php:34:         
"Compose"

#: lib.php:39:         
"Sent Messages"

#: messages_message_detailedview.php:40: 
"Reply"

#: messages_message_detailedview.php:41: 
"Are you sure you want to permanently delete this message?"

#: default_template.php:11:
"Sent by"

#: default_template.php:12:
"Date"

#: default_template.php:15:
"Action:"

#: default_template.php:16:
"Select an action"

#: default_template.php:17:
"Are you sure you want to permanently delete this message(s)?"

#: default_template.php:24: 
"Message List"

#: messages_new.php:32:         
"(Community)"

#: messages_new.php:38:   
"No friends avaible for send messages!"

#: messages_new.php:63:
"Sent a message"

#: messages_new.php:64:
"From:"

#: messages_new.php:65:
"To:"

#: messages_new.php:66:
"Subject:"

#: messages_new.php:67:
"Message:"

#: messages_actions.php:65:   
"The selected message was deleted."

#: messages_actions.php:67:   
"The provided message id its not valid!."

#: messages_actions.php:148:          
"You have received a message from %s."

#: messages_actions.php:150:          
"To reply, click here: %s"

#: messages_actions.php:155:             
"You cannot reply to this message by email."

#: messages_actions.php:156:               
"Failed to send email. An unknown error occurred."

#: messages_actions.php:163:         
"Your message was sent"

#: messages_actions.php:168:       
"You coudln't send a empty message!"

#: messages_actions.php:171:     
"You must to specify the sender and recipient for send a message!"

Posted by Diego Andrés Ramírez Aragón @ Plugins


Comments

  1. thank you! would it be easier to edit these directly into the source so that upgrades don't continuously overwrite the changes? if so, here are the minor edits (directly below your own, skipped the ones that were already correct)

    #: messages_init.php:26:
    "You are authorized only to view your own messages"
    = You may view only your own messages. 

    #: messages_view.php:31:
    "Send by"
    = Sent by

    #: messages_new.php:38:   
    "No friends avaible for send messages!"
    =No friends on your friends list to send to!

    #: messages_new.php:63:
    "Sent a message"
    =Sent message

    #: messages_actions.php:67:   
    "The provided message id its not valid!."
    =The message ID is not valid.

    #: messages_actions.php:168:       
    "You coudln't send a empty message!"
    =You can't send an empty message.

    #: messages_actions.php:171:     
    "You must to specify the sender and recipient for send a message!"
    =You must specify a recipient.

    (note that some of these are just preference, others are simple edits...just concerned that if they aren't in the basic version that the english version users will have to keep updating these files over and over)

    user icondaveinboston on Friday, 09 March 2007, 03:28 UTC # |

  2. Thanks a lot!

    I already update those files and upload the new version.

    I added those strings in a file called strings.txt that its in the po format so if you want to make translations to your current language only need to copy and paste those strings in your language .po file and make your own translations. 

    user iconDiego Andrés Ramírez Aragón on Friday, 09 March 2007, 10:27 UTC # |

  3. wow that was fast! so to update, do i simply upload the new files and let them over write the existing ones? do i need to delete anything first?

    user icondaveinboston on Friday, 09 March 2007, 13:15 UTC # |

  4. You only needs to over write the current files Wink

    user iconDiego Andrés Ramírez Aragón on Friday, 09 March 2007, 13:45 UTC # |

  5. I installed the messages plugin based on the directions and I can see the "your message." When I attempt to compose a message the "To:" field is blank. It does not provide me the option to enter a user or select a user from a list.

    How can I fix this?

    user iconHeath Moser on Friday, 09 March 2007, 14:20 UTC # |

  6. I believe that this is explained here:

    http://elgg.org/mod/forum/forum_view_thread.php?post=23

    Currently you can only send to your friends or communities. If you have no friends list or are not a member of a community, there is no one to send to. 

    But I think that this may be changed in a future version, correct? 

    user iconKevin Jardine on Friday, 09 March 2007, 14:25 UTC # |

  7. I think that the easiest way to change this would be to add a "Send a message" link on sidebars - however, I think that users should be able to make this subject to the usual Elgg access controls so that they can restrict the ability to send them messages to a particular group of people.

    user iconKevin Jardine on Friday, 09 March 2007, 14:31 UTC # |

  8. exactly kevin - diego mentioned that a sidebar element is on the table for a next version...as for access controls, that seems paramount - right now you can add anybody as a friend (based on default setting if they don't change it) and join any open group and then send messages out the wazoo...

    perhaps there should be an integrated "block messages from this user" option when viewing "your friends"? then the sender would simply *not* see the username in his/her compose list...

    user icondaveinboston on Friday, 09 March 2007, 17:21 UTC # |

  9. I have a plugin that adds "restrict content to my Friends" and "prevent this user from seeing any of my pages" to the Elgg access system. Not sure if it is up on elgg.org or not, but I would be happy to add it if there was interest.

    user iconKevin Jardine on Friday, 09 March 2007, 17:29 UTC # |

  10. sounds like that may do exactly the trick - a user gets some spam (like, "hey lady, i must have you right now yadda yadda" and clicks on that user and says "prevent this user from seeing..." (is that in the sidebar? is that how it works?) and voila, it's over...

    ...so the real problem is process: you may not think to block a user until after you got the spam, by which time the person has added you as a friend (and you may have approved it, not knowing it would lead to spam) - so it seems that "remove as friend" requires some forced machine reciprocity to make that work as well...

    but yes - to your question - there IS interest (at least from me) - 'restricting content to friends' makes it very easy to build an "ad hoc" community over time without requiring a user to create a community that his/her friends must join...

    but one question - is there currently anyway to select two options when creating content? eg. "restrict to friends' and "restrict to this community" (already in there) such that *only your friends wihtin a community* can see what you wrote? (some communities can get huge...)

    user icondaveinboston on Friday, 09 March 2007, 17:57 UTC # |

  11. Just curious, I think I installed 0.1.2 from this website. I had two "success" messages up top when I reloaded the page - the "Your messages" appears in my bar. Now I got two issues:

    1) I translated strings.txt into my language - do I need to place this somewhere other than mod/messages ?

    2) Messages are not sent - don't appear in another INBOX and not in SENT. What can I do to double check everything is setup correctly? 

    user icontill on Friday, 23 March 2007, 19:26 UTC # |

  12. Hi till,

    For the translation thing you must to copy and paste the strings that you translate into your language file and install it. For more information you can see: http://elgg.org/mod/mediawiki/wiki/index.php/Internatio

    Please check the prefix_messages table if your messages are there.

    user iconDiego Andrés Ramírez Aragón on Friday, 23 March 2007, 20:31 UTC # |

You must be logged in to post a comment.

Site supported by Curverider Ltd - powered by the awesome Elgg