Changeset 15571

Show
Ignore:
Timestamp:
07/19/07 20:42:34 (1 year ago)
Author:
GamerZ
Message:

Added Translation Text For Date

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-email/trunk/email/email-manager.php

    r14476 r15571  
    194194                        $email_postid = intval($email_log->email_postid); 
    195195                        $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); 
    198197                        $email_ip = $email_log->email_ip; 
    199198                        $email_host = $email_log->email_host; 
     
    203202                        echo "<td>$email_yourname<br />$email_youremail</td>\n"; 
    204203                        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"; 
    206205                        echo "<td>$email_ip<br />$email_host</td>\n"; 
    207206                        echo "<td>$email_posttitle</td>\n"; 
  • wp-email/trunk/email/email.php

    r15492 r15571  
    206206             $content = str_replace("[email_link]", email_link('', '', false), $content); 
    207207      } 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); 
    209209      }    
    210210      return $content; 
     
    235235### Function: Add E-Mail Filters 
    236236function 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) { 
    239244            add_filter('the_title', 'email_title'); 
    240245            add_filter('the_content', 'email_form', '', false, false); 
    241            $added_emailfilters = true; 
    242       } 
     246      } 
     247      $emailfilters_count++; 
    243248} 
    244249 
     
    269274### Function: E-Mail Title 
    270275function email_title($page_title) { 
    271       global $email_title_once; 
    272276      if(in_the_loop()) { 
    273277            $post_title = get_the_title(); 
  • wp-email/trunk/email/wp-email.pot

    r15492 r15571  
    33"Project-Id-Version: WP-EMail 2.20\n" 
    44"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" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Lester Chan <gamerz84@hotmail.com>\n" 
     
    1717#: email-manager.php:54 
    1818#: email-manager.php:172 
     19#: email-manager.php:280 
     20msgid "ID" 
     21msgstr "" 
     22 
     23#: email-manager.php:58 
    1924#: email-manager.php:281 
    20 msgid "ID
    21 msgstr "" 
    22  
    23 #: email-manager.php:58 
     25msgid "From Name
     26msgstr "" 
     27 
     28#: email-manager.php:62 
    2429#: email-manager.php:282 
    25 msgid "From Name
    26 msgstr "" 
    27  
    28 #: email-manager.php:62 
     30msgid "From E-Mail
     31msgstr "" 
     32 
     33#: email-manager.php:66 
    2934#: email-manager.php:283 
    30 msgid "From E-Mail
    31 msgstr "" 
    32  
    33 #: email-manager.php:66 
     35msgid "To Name
     36msgstr "" 
     37 
     38#: email-manager.php:70 
    3439#: email-manager.php:284 
    35 msgid "To Name" 
    36 msgstr "" 
    37  
    38 #: email-manager.php:70 
    39 #: email-manager.php:285 
    4040msgid "To E-Mail" 
    4141msgstr "" 
    4242 
    4343#: email-manager.php:74 
    44 #: email-manager.php:287 
     44#: email-manager.php:286 
    4545msgid "Post ID" 
    4646msgstr "" 
     
    4848#: email-manager.php:78 
    4949#: email-manager.php:177 
     50#: email-manager.php:287 
     51msgid "Post Title" 
     52msgstr "" 
     53 
     54#: email-manager.php:82 
    5055#: email-manager.php:288 
    51 msgid "Post Title
    52 msgstr "" 
    53  
    54 #: email-manager.php:82 
     56msgid "IP
     57msgstr "" 
     58 
     59#: email-manager.php:86 
    5560#: email-manager.php:289 
    56 msgid "IP" 
    57 msgstr "" 
    58  
    59 #: email-manager.php:86 
    60 #: email-manager.php:290 
    6161msgid "Host" 
    6262msgstr "" 
     
    6464#: email-manager.php:90 
    6565#: email-manager.php:178 
    66 #: email-manager.php:291 
     66#: email-manager.php:290 
    6767msgid "Status" 
    6868msgstr "" 
    6969 
    7070#: email-manager.php:95 
    71 #: email-manager.php:286 
     71#: email-manager.php:285 
    7272msgid "Date" 
    7373msgstr "" 
    7474 
    7575#: email-manager.php:103 
     76#: email-manager.php:294 
     77msgid "Ascending" 
     78msgstr "" 
     79 
     80#: email-manager.php:108 
    7681#: email-manager.php:295 
    77 msgid "Ascending" 
    78 msgstr "" 
    79  
    80 #: email-manager.php:108 
    81 #: email-manager.php:296 
    8282msgid "Descending" 
    8383msgstr "" 
     
    9292 
    9393#: email-manager.php:126 
    94 #: email.php:416 
    95 #: email.php:544 
    96 #: email.php:816 
    97 #: email.php:864 
    98 #: email.php:1021 
     94#: email.php:420 
     95#: email.php:548 
     96#: email.php:820 
     97#: email.php:868 
     98#: email.php:1025 
    9999msgid "Success" 
    100100msgstr "" 
    101101 
    102102#: email-manager.php:127 
    103 #: email.php:558 
    104 #: email.php:828 
    105 #: email.php:1022 
     103#: email.php:562 
     104#: email.php:832 
     105#: email.php:1026 
    106106msgid "Failed" 
    107107msgstr "" 
     
    137137msgstr "" 
    138138 
    139 #: email-manager.php:213 
     139#: email-manager.php:196 
     140#, php-format 
     141msgid "%s @ %s" 
     142msgstr "" 
     143 
     144#: email-manager.php:212 
    140145msgid "No E-Mail Logs Found" 
    141146msgstr "" 
    142147 
    143 #: email-manager.php:227 
     148#: email-manager.php:226 
    144149msgid "Previous Page" 
    145150msgstr "" 
    146151 
    147 #: email-manager.php:236 
     152#: email-manager.php:235 
    148153msgid "Next Page" 
    149154msgstr "" 
    150155 
    151 #: email-manager.php:245 
     156#: email-manager.php:244 
    152157msgid "Pages" 
    153158msgstr "" 
    154159 
    155 #: email-manager.php:248 
     160#: email-manager.php:247 
    156161msgid "Go to First Page" 
    157162msgstr "" 
    158163 
    159 #: email-manager.php:248 
     164#: email-manager.php:247 
    160165msgid "First" 
    161166msgstr "" 
    162167 
    163 #: email-manager.php:251 
    164 #: email-manager.php:263 
     168#: email-manager.php:250 
     169#: email-manager.php:262 
    165170msgid "Go to Page" 
    166171msgstr "" 
    167172 
    168 #: email-manager.php:258 
     173#: email-manager.php:257 
    169174#: email-widget.php:84 
    170175msgid "Page" 
    171176msgstr "" 
    172177 
    173 #: email-manager.php:266 
     178#: email-manager.php:265 
    174179msgid "Go to Last Page" 
    175180msgstr "" 
    176181 
    177 #: email-manager.php:266 
     182#: email-manager.php:265 
    178183msgid "Last" 
    179184msgstr "" 
    180185 
    181 #: email-manager.php:279 
     186#: email-manager.php:278 
    182187msgid "Sort Options:" 
    183188msgstr "" 
    184189 
    185 #: email-manager.php:303 
    186 #: email-manager.php:305 
     190#: email-manager.php:302 
     191#: email-manager.php:304 
    187192msgid "Per Page" 
    188193msgstr "" 
    189194 
    190 #: email-manager.php:310 
     195#: email-manager.php:309 
    191196msgid "Sort" 
    192197msgstr "" 
    193198 
    194 #: email-manager.php:316 
     199#: email-manager.php:315 
    195200msgid "E-Mail Logs Stats" 
    196201msgstr "" 
    197202 
    198 #: email-manager.php:319 
     203#: email-manager.php:318 
    199204msgid "Total E-Mails:" 
    200205msgstr "" 
    201206 
    202 #: email-manager.php:323 
     207#: email-manager.php:322 
    203208msgid "Total E-Mail Sent:" 
    204209msgstr "" 
    205210 
    206 #: email-manager.php:327 
     211#: email-manager.php:326 
    207212msgid "Total E-Mail Failed:" 
    208213msgstr "" 
    209214 
    210 #: email-manager.php:335 
     215#: email-manager.php:334 
    211216msgid "Delete E-Mail Logs" 
    212217msgstr "" 
    213218 
    214 #: email-manager.php:338 
     219#: email-manager.php:337 
    215220msgid "Are You Sure You Want To Delete All E-Mail Logs?" 
    216221msgstr "" 
    217222 
    218 #: email-manager.php:340 
     223#: email-manager.php:339 
    219224msgid "" 
    220225"You Are About To Delete All E-Mail Logs\\n" 
     
    301306 
    302307#: email-options.php:122 
    303 #: email.php:1093 
     308#: email.php:1097 
    304309msgid "E-Mail '%EMAIL_POST_TITLE%' To A Friend" 
    305310msgstr "" 
    306311 
    307312#: email-options.php:125 
    308 #: email.php:1094 
     313#: email.php:1098 
    309314msgid "Email a copy of <strong>'%EMAIL_POST_TITLE%'</strong> to a friend" 
    310315msgstr "" 
    311316 
    312317#: email-options.php:128 
    313 #: email.php:1068 
     318#: email.php:1072 
    314319msgid "Recommended Article By %EMAIL_YOUR_NAME%: %EMAIL_POST_TITLE%" 
    315320msgstr "" 
     
    339344 
    340345#: email-options.php:140 
    341 #: email.php:1080 
     346#: email.php:1084 
    342347msgid "An Error Has Occured When Trying To Send The E-Mail" 
    343348msgstr "" 
    344349 
    345350#: email-options.php:143 
    346 #: email.php:1081 
     351#: email.php:1085 
    347352msgid "An Error Has Occured" 
    348353msgstr "" 
     
    793798 
    794799#: email.php:43 
    795 #: email.php:255 
     800#: email.php:260 
    796801msgid "E-Mail" 
    797802msgstr "" 
     
    802807 
    803808#: email.php:208 
    804 msgid "Note: You can email this post by visiting the site." 
    805 msgstr "" 
    806  
    807 #: email.php:332 
     809msgid "Note: There is an email link embedded within this post, please visit this post to email it." 
     810msgstr "" 
     811 
     812#: email.php:336 
    808813msgid "Password Protected Post" 
    809814msgstr "" 
    810815 
    811 #: email.php:516 
     816#: email.php:520 
    812817#, php-format 
    813818msgid "Separate multiple entries with a comma. Maximum %s entries." 
    814819msgstr "" 
    815820 
    816 #: email.php:585 
    817 #: email.php:591 
     821#: email.php:589 
     822#: email.php:595 
    818823msgid "emails" 
    819824msgstr "" 
    820825 
    821 #: email.php:595 
    822 #: email.php:751 
    823 #: email.php:827 
     826#: email.php:599 
     827#: email.php:755 
     828#: email.php:831 
    824829msgid "N/A" 
    825830msgstr "" 
    826831 
    827 #: email.php:679 
     832#: email.php:683 
    828833msgid "Your name is empty." 
    829834msgstr "" 
    830835 
    831 #: email.php:685 
     836#: email.php:689 
    832837msgid "Your email is invalid or is empty." 
    833838msgstr "" 
    834839 
    835 #: email.php:691 
     840#: email.php:695 
    836841msgid "Your remark is invalid." 
    837842msgstr "" 
    838843 
    839 #: email.php:700 
     844#: email.php:704 
    840845#, php-format 
    841846msgid "Friend's name (%s) is empty." 
    842847msgstr "" 
    843848 
    844 #: email.php:716 
     849#: email.php:720 
    845850#, php-format 
    846851msgid "Friend's email (%s) is invalid or is empty." 
    847852msgstr "" 
    848853 
    849 #: email.php:729 
     854#: email.php:733 
    850855#, php-format 
    851856msgid "Maximum %s entries allowed" 
    852857msgstr "" 
    853858 
    854 #: email.php:734 
     859#: email.php:738 
    855860msgid "Friends' name count does not tally with friends' email count." 
    856861msgstr "" 
    857862 
    858 #: email.php:741 
     863#: email.php:745 
    859864msgid "Image verification is empty." 
    860865msgstr "" 
    861866 
    862 #: email.php:744 
     867#: email.php:748 
    863868msgid "Image verification failed." 
    864869msgstr "" 
    865870 
    866 #: email.php:879 
     871#: email.php:883 
    867872msgid "* Required Field" 
    868873msgstr "" 
    869874 
    870 #: email.php:882 
     875#: email.php:886 
    871876msgid "Your Name: *" 
    872877msgstr "" 
    873878 
    874 #: email.php:888 
     879#: email.php:892 
    875880msgid "Your E-Mail: *" 
    876881msgstr "" 
    877882 
    878 #: email.php:894 
     883#: email.php:898 
    879884msgid "Your Remark:" 
    880885msgstr "" 
    881886 
    882 #: email.php:900 
     887#: email.php:904 
    883888msgid "Friend's Name: *" 
    884889msgstr "" 
    885890 
    886 #: email.php:905 
     891#: email.php:909 
    887892msgid "Friend's E-Mail: *" 
    888893msgstr "" 
    889894 
    890 #: email.php:910 
     895#: email.php:914 
    891896msgid "Image Verification: *" 
    892897msgstr "" 
    893898 
    894 #: email.php:911 
     899#: email.php:915 
    895900msgid "E-Mail Image Verification" 
    896901msgstr "" 
    897902 
    898 #: email.php:914 
     903#: email.php:918 
    899904msgid "     Mail It!     " 
    900905msgstr "" 
    901906 
    902 #: email.php:920 
     907#: email.php:924 
    903908#, php-format 
    904909msgid "Please wait for <strong>%s Minutes</strong> before sending the next article." 
    905910msgstr "" 
    906911 
    907 #: email.php:983 
    908 #: email.php:985 
    909 #: email.php:1018 
     912#: email.php:987 
     913#: email.php:989 
     914#: email.php:1022 
    910915msgid "WP-EMail" 
    911916msgstr "" 
    912917 
    913 #: email.php:996 
    914 #: email.php:998 
     918#: email.php:1000 
     919#: email.php:1002 
    915920msgid "Most Emailed Posts" 
    916921msgstr "" 
    917922 
    918 #: email.php:1020 
     923#: email.php:1024 
    919924msgid "emails were sent." 
    920925msgstr "" 
    921926 
    922 #: email.php:1021 
     927#: email.php:1025 
    923928msgid "emails were sent successfully." 
    924929msgstr "" 
    925930 
    926 #: email.php:1022 
     931#: email.php:1026 
    927932msgid "emails failed to send." 
    928933msgstr "" 
    929934 
    930 #: email.php:1034 
     935#: email.php:1038 
    931936msgid "Most Emailed Post" 
    932937msgstr "" 
    933938 
    934 #: email.php:1069 
     939#: email.php:1073 
    935940msgid "<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>" 
    936941msgstr "" 
    937942 
    938 #: email.php:1070 
     943#: email.php:1074 
    939944msgid "Hi %EMAIL_FRIEND_NAME%," 
    940945msgstr "" 
    941946 
    942 #: email.php:1070 
    943 #: email.php:1072 
    944947#: email.php:1074 
     948#: email.php:1076 
     949#: email.php:1078 
     950#: email.php:1079 
     951#: email.php:1080 
     952#: email.php:1081 
     953msgid "\n" 
     954msgstr "" 
     955 
    945956#: email.php:1075 
    946 #: email.php:1076 
     957msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 
     958msgstr "" 
     959 
     960#: email.php:1075 
    947961#: email.php:1077 
    948 msgid "\n" 
    949 msgstr "" 
    950  
    951 #: email.php:1071 
    952 msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 
    953 msgstr "" 
    954  
    955 #: email.php:1071 
    956 #: email.php:1073 
    957962msgid "" 
    958963"\n" 
     
    960965msgstr "" 
    961966 
    962 #: email.php:1072 
     967#: email.php:1076 
    963968msgid "Here is his/her remarks:" 
    964969msgstr "" 
    965970 
    966 #: email.php:1073 
     971#: email.php:1077 
    967972msgid "%EMAIL_YOUR_REMARKS%" 
    968973msgstr "" 
    969974 
    970 #: email.php:1074 
     975#: email.php:1078 
    971976msgid "%EMAIL_POST_TITLE%" 
    972977msgstr "" 
    973978 
    974 #: email.php:1075 
     979#: email.php:1079 
    975980msgid "Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%" 
    976981msgstr "" 
    977982 
    978 #: email.php:1076 
     983#: email.php:1080 
    979984msgid "%EMAIL_POST_CONTENT%" 
    980985msgstr "" 
    981986 
    982 #: email.php:1077 
     987#: email.php:1081 
    983988msgid "Article taken from %EMAIL_BLOG_NAME% - %EMAIL_BLOG_URL%" 
    984989msgstr "" 
    985990 
    986 #: email.php:1078 
     991#: email.php:1082 
    987992msgid "URL to article: %EMAIL_PERMALINK%" 
    988993msgstr "" 
    989994 
    990 #: email.php:1079 
     995#: email.php:1083 
    991996msgid "Article: <strong>%EMAIL_POST_TITLE%</strong> Has Been Sent To <strong>%EMAIL_FRIEND_NAME% (%EMAIL_FRIEND_EMAIL%)</strong></p>" 
    992997msgstr "" 
    993998 
    994 #: email.php:1088 
     999#: email.php:1092 
    9951000msgid "Email This Post" 
    9961001msgstr "" 
    9971002 
    998 #: email.php:1088 
     1003#: email.php:1092 
    9991004msgid "Email This Page" 
    10001005msgstr ""