Changeset 15571
- Timestamp:
- 07/19/07 20:42:34 (1 year ago)
- Files:
-
- wp-email/trunk/email/email-manager.php (modified) (2 diffs)
- wp-email/trunk/email/email.php (modified) (3 diffs)
- wp-email/trunk/email/wp-email.mo (modified) (previous)
- wp-email/trunk/email/wp-email.pot (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-email/trunk/email/email-manager.php
r14476 r15571 194 194 $email_postid = intval($email_log->email_postid); 195 195 $email_posttitle = htmlspecialchars(stripslashes($email_log->email_posttitle)); 196 $email_date = gmdate(get_option('date_format'), $email_log->email_timestamp); 197 $email_time = gmdate(get_option('time_format'), $email_log->email_timestamp); 196 $email_date = gmdate(sprintf(__('%s @ %s', 'wp-email'), get_option('date_format'), get_option('time_format')), $email_log->email_timestamp); 198 197 $email_ip = $email_log->email_ip; 199 198 $email_host = $email_log->email_host; … … 203 202 echo "<td>$email_yourname<br />$email_youremail</td>\n"; 204 203 echo "<td>$email_friendname<br />$email_friendemail</td>\n"; 205 echo "<td>$email_date< br />$email_time</td>\n";204 echo "<td>$email_date</td>\n"; 206 205 echo "<td>$email_ip<br />$email_host</td>\n"; 207 206 echo "<td>$email_posttitle</td>\n"; wp-email/trunk/email/email.php
r15492 r15571 206 206 $content = str_replace("[email_link]", email_link('', '', false), $content); 207 207 } else { 208 $content = str_replace("[email_link]", __('Note: You can email this post by visiting the site.', 'wp-email'), $content);208 $content = str_replace("[email_link]", __('Note: There is an email link embedded within this post, please visit this post to email it.', 'wp-email'), $content); 209 209 } 210 210 return $content; … … 235 235 ### Function: Add E-Mail Filters 236 236 function email_addfilters() { 237 global $added_emailfilters; 238 if(!$added_emailfilters) { 237 global $emailfilters_count; 238 if(get_option('k2version') === false) { 239 $loop_count = 0; 240 } else { 241 $loop_count = 1; 242 } 243 if(intval($emailfilters_count) == $loop_count) { 239 244 add_filter('the_title', 'email_title'); 240 245 add_filter('the_content', 'email_form', '', false, false); 241 $added_emailfilters = true;242 }246 } 247 $emailfilters_count++; 243 248 } 244 249 … … 269 274 ### Function: E-Mail Title 270 275 function email_title($page_title) { 271 global $email_title_once;272 276 if(in_the_loop()) { 273 277 $post_title = get_the_title(); wp-email/trunk/email/wp-email.pot
r15492 r15571 3 3 "Project-Id-Version: WP-EMail 2.20\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-07- 19 01:47+0800\n"5 "PO-Revision-Date: 2007-07-20 04:42+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Lester Chan <gamerz84@hotmail.com>\n" … … 17 17 #: email-manager.php:54 18 18 #: email-manager.php:172 19 #: email-manager.php:280 20 msgid "ID" 21 msgstr "" 22 23 #: email-manager.php:58 19 24 #: email-manager.php:281 20 msgid " ID"21 msgstr "" 22 23 #: email-manager.php: 5825 msgid "From Name" 26 msgstr "" 27 28 #: email-manager.php:62 24 29 #: email-manager.php:282 25 msgid "From Name"26 msgstr "" 27 28 #: email-manager.php:6 230 msgid "From E-Mail" 31 msgstr "" 32 33 #: email-manager.php:66 29 34 #: email-manager.php:283 30 msgid " From E-Mail"31 msgstr "" 32 33 #: email-manager.php: 6635 msgid "To Name" 36 msgstr "" 37 38 #: email-manager.php:70 34 39 #: email-manager.php:284 35 msgid "To Name"36 msgstr ""37 38 #: email-manager.php:7039 #: email-manager.php:28540 40 msgid "To E-Mail" 41 41 msgstr "" 42 42 43 43 #: email-manager.php:74 44 #: email-manager.php:28 744 #: email-manager.php:286 45 45 msgid "Post ID" 46 46 msgstr "" … … 48 48 #: email-manager.php:78 49 49 #: email-manager.php:177 50 #: email-manager.php:287 51 msgid "Post Title" 52 msgstr "" 53 54 #: email-manager.php:82 50 55 #: email-manager.php:288 51 msgid " Post Title"52 msgstr "" 53 54 #: email-manager.php:8 256 msgid "IP" 57 msgstr "" 58 59 #: email-manager.php:86 55 60 #: email-manager.php:289 56 msgid "IP"57 msgstr ""58 59 #: email-manager.php:8660 #: email-manager.php:29061 61 msgid "Host" 62 62 msgstr "" … … 64 64 #: email-manager.php:90 65 65 #: email-manager.php:178 66 #: email-manager.php:29 166 #: email-manager.php:290 67 67 msgid "Status" 68 68 msgstr "" 69 69 70 70 #: email-manager.php:95 71 #: email-manager.php:28 671 #: email-manager.php:285 72 72 msgid "Date" 73 73 msgstr "" 74 74 75 75 #: email-manager.php:103 76 #: email-manager.php:294 77 msgid "Ascending" 78 msgstr "" 79 80 #: email-manager.php:108 76 81 #: email-manager.php:295 77 msgid "Ascending"78 msgstr ""79 80 #: email-manager.php:10881 #: email-manager.php:29682 82 msgid "Descending" 83 83 msgstr "" … … 92 92 93 93 #: email-manager.php:126 94 #: email.php:4 1695 #: email.php:54 496 #: email.php:8 1697 #: email.php:86 498 #: email.php:102 194 #: email.php:420 95 #: email.php:548 96 #: email.php:820 97 #: email.php:868 98 #: email.php:1025 99 99 msgid "Success" 100 100 msgstr "" 101 101 102 102 #: email-manager.php:127 103 #: email.php:5 58104 #: email.php:8 28105 #: email.php:102 2103 #: email.php:562 104 #: email.php:832 105 #: email.php:1026 106 106 msgid "Failed" 107 107 msgstr "" … … 137 137 msgstr "" 138 138 139 #: email-manager.php:213 139 #: email-manager.php:196 140 #, php-format 141 msgid "%s @ %s" 142 msgstr "" 143 144 #: email-manager.php:212 140 145 msgid "No E-Mail Logs Found" 141 146 msgstr "" 142 147 143 #: email-manager.php:22 7148 #: email-manager.php:226 144 149 msgid "Previous Page" 145 150 msgstr "" 146 151 147 #: email-manager.php:23 6152 #: email-manager.php:235 148 153 msgid "Next Page" 149 154 msgstr "" 150 155 151 #: email-manager.php:24 5156 #: email-manager.php:244 152 157 msgid "Pages" 153 158 msgstr "" 154 159 155 #: email-manager.php:24 8160 #: email-manager.php:247 156 161 msgid "Go to First Page" 157 162 msgstr "" 158 163 159 #: email-manager.php:24 8164 #: email-manager.php:247 160 165 msgid "First" 161 166 msgstr "" 162 167 163 #: email-manager.php:25 1164 #: email-manager.php:26 3168 #: email-manager.php:250 169 #: email-manager.php:262 165 170 msgid "Go to Page" 166 171 msgstr "" 167 172 168 #: email-manager.php:25 8173 #: email-manager.php:257 169 174 #: email-widget.php:84 170 175 msgid "Page" 171 176 msgstr "" 172 177 173 #: email-manager.php:26 6178 #: email-manager.php:265 174 179 msgid "Go to Last Page" 175 180 msgstr "" 176 181 177 #: email-manager.php:26 6182 #: email-manager.php:265 178 183 msgid "Last" 179 184 msgstr "" 180 185 181 #: email-manager.php:27 9186 #: email-manager.php:278 182 187 msgid "Sort Options:" 183 188 msgstr "" 184 189 185 #: email-manager.php:30 3186 #: email-manager.php:30 5190 #: email-manager.php:302 191 #: email-manager.php:304 187 192 msgid "Per Page" 188 193 msgstr "" 189 194 190 #: email-manager.php:3 10195 #: email-manager.php:309 191 196 msgid "Sort" 192 197 msgstr "" 193 198 194 #: email-manager.php:31 6199 #: email-manager.php:315 195 200 msgid "E-Mail Logs Stats" 196 201 msgstr "" 197 202 198 #: email-manager.php:31 9203 #: email-manager.php:318 199 204 msgid "Total E-Mails:" 200 205 msgstr "" 201 206 202 #: email-manager.php:32 3207 #: email-manager.php:322 203 208 msgid "Total E-Mail Sent:" 204 209 msgstr "" 205 210 206 #: email-manager.php:32 7211 #: email-manager.php:326 207 212 msgid "Total E-Mail Failed:" 208 213 msgstr "" 209 214 210 #: email-manager.php:33 5215 #: email-manager.php:334 211 216 msgid "Delete E-Mail Logs" 212 217 msgstr "" 213 218 214 #: email-manager.php:33 8219 #: email-manager.php:337 215 220 msgid "Are You Sure You Want To Delete All E-Mail Logs?" 216 221 msgstr "" 217 222 218 #: email-manager.php:3 40223 #: email-manager.php:339 219 224 msgid "" 220 225 "You Are About To Delete All E-Mail Logs\\n" … … 301 306 302 307 #: email-options.php:122 303 #: email.php:109 3308 #: email.php:1097 304 309 msgid "E-Mail '%EMAIL_POST_TITLE%' To A Friend" 305 310 msgstr "" 306 311 307 312 #: email-options.php:125 308 #: email.php:109 4313 #: email.php:1098 309 314 msgid "Email a copy of <strong>'%EMAIL_POST_TITLE%'</strong> to a friend" 310 315 msgstr "" 311 316 312 317 #: email-options.php:128 313 #: email.php:10 68318 #: email.php:1072 314 319 msgid "Recommended Article By %EMAIL_YOUR_NAME%: %EMAIL_POST_TITLE%" 315 320 msgstr "" … … 339 344 340 345 #: email-options.php:140 341 #: email.php:108 0346 #: email.php:1084 342 347 msgid "An Error Has Occured When Trying To Send The E-Mail" 343 348 msgstr "" 344 349 345 350 #: email-options.php:143 346 #: email.php:108 1351 #: email.php:1085 347 352 msgid "An Error Has Occured" 348 353 msgstr "" … … 793 798 794 799 #: email.php:43 795 #: email.php:2 55800 #: email.php:260 796 801 msgid "E-Mail" 797 802 msgstr "" … … 802 807 803 808 #: email.php:208 804 msgid "Note: You can email this post by visiting the site."805 msgstr "" 806 807 #: email.php:33 2809 msgid "Note: There is an email link embedded within this post, please visit this post to email it." 810 msgstr "" 811 812 #: email.php:336 808 813 msgid "Password Protected Post" 809 814 msgstr "" 810 815 811 #: email.php:5 16816 #: email.php:520 812 817 #, php-format 813 818 msgid "Separate multiple entries with a comma. Maximum %s entries." 814 819 msgstr "" 815 820 816 #: email.php:58 5817 #: email.php:59 1821 #: email.php:589 822 #: email.php:595 818 823 msgid "emails" 819 824 msgstr "" 820 825 821 #: email.php:59 5822 #: email.php:75 1823 #: email.php:8 27826 #: email.php:599 827 #: email.php:755 828 #: email.php:831 824 829 msgid "N/A" 825 830 msgstr "" 826 831 827 #: email.php:6 79832 #: email.php:683 828 833 msgid "Your name is empty." 829 834 msgstr "" 830 835 831 #: email.php:68 5836 #: email.php:689 832 837 msgid "Your email is invalid or is empty." 833 838 msgstr "" 834 839 835 #: email.php:69 1840 #: email.php:695 836 841 msgid "Your remark is invalid." 837 842 msgstr "" 838 843 839 #: email.php:70 0844 #: email.php:704 840 845 #, php-format 841 846 msgid "Friend's name (%s) is empty." 842 847 msgstr "" 843 848 844 #: email.php:7 16849 #: email.php:720 845 850 #, php-format 846 851 msgid "Friend's email (%s) is invalid or is empty." 847 852 msgstr "" 848 853 849 #: email.php:7 29854 #: email.php:733 850 855 #, php-format 851 856 msgid "Maximum %s entries allowed" 852 857 msgstr "" 853 858 854 #: email.php:73 4859 #: email.php:738 855 860 msgid "Friends' name count does not tally with friends' email count." 856 861 msgstr "" 857 862 858 #: email.php:74 1863 #: email.php:745 859 864 msgid "Image verification is empty." 860 865 msgstr "" 861 866 862 #: email.php:74 4867 #: email.php:748 863 868 msgid "Image verification failed." 864 869 msgstr "" 865 870 866 #: email.php:8 79871 #: email.php:883 867 872 msgid "* Required Field" 868 873 msgstr "" 869 874 870 #: email.php:88 2875 #: email.php:886 871 876 msgid "Your Name: *" 872 877 msgstr "" 873 878 874 #: email.php:8 88879 #: email.php:892 875 880 msgid "Your E-Mail: *" 876 881 msgstr "" 877 882 878 #: email.php:89 4883 #: email.php:898 879 884 msgid "Your Remark:" 880 885 msgstr "" 881 886 882 #: email.php:90 0887 #: email.php:904 883 888 msgid "Friend's Name: *" 884 889 msgstr "" 885 890 886 #: email.php:90 5891 #: email.php:909 887 892 msgid "Friend's E-Mail: *" 888 893 msgstr "" 889 894 890 #: email.php:91 0895 #: email.php:914 891 896 msgid "Image Verification: *" 892 897 msgstr "" 893 898 894 #: email.php:91 1899 #: email.php:915 895 900 msgid "E-Mail Image Verification" 896 901 msgstr "" 897 902 898 #: email.php:91 4903 #: email.php:918 899 904 msgid " Mail It! " 900 905 msgstr "" 901 906 902 #: email.php:92 0907 #: email.php:924 903 908 #, php-format 904 909 msgid "Please wait for <strong>%s Minutes</strong> before sending the next article." 905 910 msgstr "" 906 911 907 #: email.php:98 3908 #: email.php:98 5909 #: email.php:10 18912 #: email.php:987 913 #: email.php:989 914 #: email.php:1022 910 915 msgid "WP-EMail" 911 916 msgstr "" 912 917 913 #: email.php: 996914 #: email.php: 998918 #: email.php:1000 919 #: email.php:1002 915 920 msgid "Most Emailed Posts" 916 921 msgstr "" 917 922 918 #: email.php:102 0923 #: email.php:1024 919 924 msgid "emails were sent." 920 925 msgstr "" 921 926 922 #: email.php:102 1927 #: email.php:1025 923 928 msgid "emails were sent successfully." 924 929 msgstr "" 925 930 926 #: email.php:102 2931 #: email.php:1026 927 932 msgid "emails failed to send." 928 933 msgstr "" 929 934 930 #: email.php:103 4935 #: email.php:1038 931 936 msgid "Most Emailed Post" 932 937 msgstr "" 933 938 934 #: email.php:10 69939 #: email.php:1073 935 940 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 remark:</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>" 936 941 msgstr "" 937 942 938 #: email.php:107 0943 #: email.php:1074 939 944 msgid "Hi %EMAIL_FRIEND_NAME%," 940 945 msgstr "" 941 946 942 #: email.php:1070943 #: email.php:1072944 947 #: email.php:1074 948 #: email.php:1076 949 #: email.php:1078 950 #: email.php:1079 951 #: email.php:1080 952 #: email.php:1081 953 msgid "\n" 954 msgstr "" 955 945 956 #: email.php:1075 946 #: email.php:1076 957 msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 958 msgstr "" 959 960 #: email.php:1075 947 961 #: email.php:1077 948 msgid "\n"949 msgstr ""950 951 #: email.php:1071952 msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you."953 msgstr ""954 955 #: email.php:1071956 #: email.php:1073957 962 msgid "" 958 963 "\n" … … 960 965 msgstr "" 961 966 962 #: email.php:107 2967 #: email.php:1076 963 968 msgid "Here is his/her remarks:" 964 969 msgstr "" 965 970 966 #: email.php:107 3971 #: email.php:1077 967 972 msgid "%EMAIL_YOUR_REMARKS%" 968 973 msgstr "" 969 974 970 #: email.php:107 4975 #: email.php:1078 971 976 msgid "%EMAIL_POST_TITLE%" 972 977 msgstr "" 973 978 974 #: email.php:107 5979 #: email.php:1079 975 980 msgid "Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%" 976 981 msgstr "" 977 982 978 #: email.php:10 76983 #: email.php:1080 979 984 msgid "%EMAIL_POST_CONTENT%" 980 985 msgstr "" 981 986 982 #: email.php:10 77987 #: email.php:1081 983 988 msgid "Article taken from %EMAIL_BLOG_NAME% - %EMAIL_BLOG_URL%" 984 989 msgstr "" 985 990 986 #: email.php:10 78991 #: email.php:1082 987 992 msgid "URL to article: %EMAIL_PERMALINK%" 988 993 msgstr "" 989 994 990 #: email.php:10 79995 #: email.php:1083 991 996 msgid "Article: <strong>%EMAIL_POST_TITLE%</strong> Has Been Sent To <strong>%EMAIL_FRIEND_NAME% (%EMAIL_FRIEND_EMAIL%)</strong></p>" 992 997 msgstr "" 993 998 994 #: email.php:10 88999 #: email.php:1092 995 1000 msgid "Email This Post" 996 1001 msgstr "" 997 1002 998 #: email.php:10 881003 #: email.php:1092 999 1004 msgid "Email This Page" 1000 1005 msgstr ""
