Changeset 7754
- Timestamp:
- 02/01/07 12:07:47 (1 year ago)
- Files:
-
- wp-email/trunk/email/email.php (modified) (3 diffs)
- wp-email/trunk/email/wp-email.pot (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-email/trunk/email/email.php
r7717 r7754 321 321 if(!function_exists('is_valid_remarks')) { 322 322 function is_valid_remarks($content) { 323 $injection_strings = array('apparently-to', ' bcc', 'boundary', 'charset', 'content-disposition', 'content-type', 'content-transfer-encoding', 'errors-to', 'in-reply-to', 'message-id', 'mime-version', 'multipart/mixed', 'multipart/alternative', 'multipart/related', 'reply-to', 'x-mailer', 'x-sender', 'x-uidl');323 $injection_strings = array('apparently-to', 'cc', 'bcc', 'boundary', 'charset', 'content-disposition', 'content-type', 'content-transfer-encoding', 'errors-to', 'in-reply-to', 'message-id', 'mime-version', 'multipart/mixed', 'multipart/alternative', 'multipart/related', 'reply-to', 'x-mailer', 'x-sender', 'x-uidl'); 324 324 foreach ($injection_strings as $spam) { 325 325 $check = strpos(strtolower($content), $spam); … … 559 559 $friendemail = strip_tags(stripslashes(trim($_POST['friendemail']))); 560 560 $output = '<div class="wp-email">'."\n"; 561 $output .= '<p style="text-align: center">'.sprintf(__('E -Mail A Copy Of <strong>%s</strong> To AFriend.', 'wp-email'), get_the_title()).'</p>'."\n";561 $output .= '<p style="text-align: center">'.sprintf(__('Email a copy of <strong>%s</strong> to a Friend.', 'wp-email'), get_the_title()).'</p>'."\n"; 562 562 // If User Click On Mail 563 563 if(!empty($_POST['wp-email'])) { … … 632 632 $error .= '<br /><strong>»</strong> '.sprintf(__('Maximum %s entries allowed', 'wp-email'), $multiple_max); 633 633 } 634 } 635 if(intval($email_fields['friendname']) == 1 && intval($email_fields['friendemail']) == 1) { 634 636 if($friendname_count != $friendemail_count) { 635 637 $error .= '<br /><strong>»</strong> '.__('Friends\' name count does not tally with friends\' email count.', 'wp-email'); wp-email/trunk/email/wp-email.pot
r7717 r7754 3 3 "Project-Id-Version: WP-EMail 2.10\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-0 1-30 20:36+0800\n"5 "PO-Revision-Date: 2007-02-01 20:07+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Lester Chan <gamerz84@hotmail.com>\n" … … 94 94 #: email.php:341 95 95 #: email.php:457 96 #: email.php:72 497 #: email.php:77 296 #: email.php:726 97 #: email.php:774 98 98 msgid "Success" 99 99 msgstr "" … … 101 101 #: email-manager.php:127 102 102 #: email.php:471 103 #: email.php:73 6103 #: email.php:738 104 104 msgid "Failed" 105 105 msgstr "" … … 290 290 291 291 #: email-options.php:115 292 #: email.php:86 7292 #: email.php:869 293 293 msgid "Recommended Article By %EMAIL_YOUR_NAME%: %EMAIL_POST_TITLE%" 294 294 msgstr "" … … 318 318 319 319 #: email-options.php:127 320 #: email.php:8 79320 #: email.php:881 321 321 msgid "An Error Has Occured When Trying To Send The E-Mail" 322 322 msgstr "" 323 323 324 324 #: email-options.php:130 325 #: email.php:88 0325 #: email.php:882 326 326 msgid "An Error Has Occured" 327 327 msgstr "" … … 684 684 685 685 #: email.php:508 686 #: email.php:73 5686 #: email.php:737 687 687 msgid "N/A" 688 688 msgstr "" … … 690 690 #: email.php:561 691 691 #, php-format 692 msgid "E -Mail A Copy Of <strong>%s</strong> To AFriend."692 msgid "Email a copy of <strong>%s</strong> to a Friend." 693 693 msgstr "" 694 694 … … 720 720 msgstr "" 721 721 722 #: email.php:63 5722 #: email.php:637 723 723 msgid "Friends' name count does not tally with friends' email count." 724 724 msgstr "" 725 725 726 #: email.php:64 2726 #: email.php:644 727 727 msgid "Image verification is empty." 728 728 msgstr "" 729 729 730 #: email.php:64 5730 #: email.php:647 731 731 msgid "Image verification failed." 732 732 msgstr "" 733 733 734 #: email.php:82 1734 #: email.php:823 735 735 msgid "E-Mail Image Verification" 736 736 msgstr "" 737 737 738 #: email.php:82 4738 #: email.php:826 739 739 msgid " Mail It! " 740 740 msgstr "" 741 741 742 #: email.php:83 0742 #: email.php:832 743 743 #, php-format 744 744 msgid "Please wait for <strong>%s Minutes</strong> before sending the next article." 745 745 msgstr "" 746 746 747 #: email.php:8 68747 #: email.php:870 748 748 msgid "<p>Hi <strong>%EMAIL_FRIEND_NAME%</strong>,<br />Your friend, <strong>%EMAIL_YOUR_NAME%</strong>, has recommended this article entitled '<strong>%EMAIL_POST_TITLE%</strong>' to you.</p><p><strong>Here is his/her remarks:</strong><br />%EMAIL_YOUR_REMARKS%</p><p><strong>%EMAIL_POST_TITLE%</strong><br />Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%</p>%EMAIL_POST_CONTENT%<p>Article taken from %EMAIL_BLOG_NAME% - <a href=\"%EMAIL_BLOG_URL%\">%EMAIL_BLOG_URL%</a><br />URL to article: <a href=\"%EMAIL_PERMALINK%\">%EMAIL_PERMALINK%</a></p>" 749 749 msgstr "" 750 750 751 #: email.php:8 69751 #: email.php:871 752 752 msgid "Hi %EMAIL_FRIEND_NAME%," 753 753 msgstr "" 754 754 755 #: email.php:869756 755 #: email.php:871 757 756 #: email.php:873 758 #: email.php:874759 757 #: email.php:875 760 758 #: email.php:876 759 #: email.php:877 760 #: email.php:878 761 761 msgid "\n" 762 762 msgstr "" 763 763 764 #: email.php:87 0764 #: email.php:872 765 765 msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 766 766 msgstr "" 767 767 768 #: email.php:870769 768 #: email.php:872 769 #: email.php:874 770 770 msgid "" 771 771 "\n" … … 773 773 msgstr "" 774 774 775 #: email.php:87 1775 #: email.php:873 776 776 msgid "Here is his/her remarks:" 777 777 msgstr "" 778 778 779 #: email.php:87 2779 #: email.php:874 780 780 msgid "%EMAIL_YOUR_REMARKS%" 781 781 msgstr "" 782 782 783 #: email.php:87 3783 #: email.php:875 784 784 msgid "%EMAIL_POST_TITLE%" 785 785 msgstr "" 786 786 787 #: email.php:87 4787 #: email.php:876 788 788 msgid "Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%" 789 789 msgstr "" 790 790 791 #: email.php:87 5791 #: email.php:877 792 792 msgid "%EMAIL_POST_CONTENT%" 793 793 msgstr "" 794 794 795 #: email.php:87 6795 #: email.php:878 796 796 msgid "Article taken from %EMAIL_BLOG_NAME% - %EMAIL_BLOG_URL%" 797 797 msgstr "" 798 798 799 #: email.php:87 7799 #: email.php:879 800 800 msgid "URL to article: %EMAIL_PERMALINK%" 801 801 msgstr "" 802 802 803 #: email.php:8 78803 #: email.php:880 804 804 msgid "Article: <strong>%EMAIL_POST_TITLE%</strong> Has Been Sent To <strong>%EMAIL_FRIEND_NAME% (%EMAIL_FRIEND_EMAIL%)</strong></p>" 805 805 msgstr "" 806 806 807 #: email.php:88 7807 #: email.php:889 808 808 msgid "Email This Post" 809 809 msgstr "" 810 810 811 #: email.php:88 7811 #: email.php:889 812 812 msgid "Email This Page" 813 813 msgstr ""
