Changeset 544370
- Timestamp:
- 05/15/2012 06:49:39 AM (14 years ago)
- Location:
- wp-recentcomments/trunk
- Files:
-
- 6 edited
-
CHANGELOG.txt (modified) (1 diff)
-
README.txt (modified) (3 diffs)
-
core.php (modified) (1 diff)
-
languages/wp-recentcomments-sv_SE.mo (modified) (previous)
-
languages/wp-recentcomments-sv_SE.po (modified) (2 diffs)
-
wp-recentcomments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-recentcomments/trunk/CHANGELOG.txt
r537306 r544370 1 1 VERSION DATE TYPE CHANGES 2 2.2.1 2012/05/15 MODIFY Optimize SQL. 3 MODIFY Update Swedish translation. (Thanks Patrik Hultgren) 2 4 2.2 2012/04/27 NEW Add 'Show timestamps' feature. 3 5 MODIFY Load first page data when page ready. -
wp-recentcomments/trunk/README.txt
r537306 r544370 5 5 Requires at least: 2.5 6 6 Tested up to: 3.3.2 7 Stable tag: 2.2 7 Stable tag: 2.2.1 8 8 9 9 Display recent comments in your blog sidebar. … … 52 52 * Russian/ru_RU ([Алексей В.Ч.](http://www.alexnote.ru/)) 53 53 * Spanish/es_ES (Eugenio Cavero) 54 * Swedish/sv_SE (Jonas Nordström )54 * Swedish/sv_SE (Jonas Nordström & Patrik Hultgren) 55 55 * Türkçe/tr_TR ([Hamdi Kellecioglu](http://www.tirnakmakasi.com/)) 56 56 * Ukrainian/uk ([Jurko Chervony](http://pavonine.com.ua/cat/themes/)) … … 100 100 101 101 VERSION DATE TYPE CHANGES 102 2.2.1 2012/05/15 MODIFY Optimize SQL. 103 MODIFY Update Swedish translation. (Thanks Patrik Hultgren) 102 104 2.2 2012/04/27 NEW Add 'Show timestamps' feature. 103 105 MODIFY Load first page data when page ready. -
wp-recentcomments/trunk/core.php
r537306 r544370 72 72 73 73 // Select comments on database. 74 $comments_query = "SELECT comment_author, comment_author_email, comment_author_url, comment_ID, comment_post_ID, REPLACE(comment_content, '\n', '') AS comment_content, comment_type, comment_author_IP, comment_agent, comment_date FROM $wpdb->comments, $wpdb->posts WHERE comment_ approved = '1' AND comment_post_ID = ID AND post_status = 'publish'" . $sql_protected . $sql_private . $sql_ping. $sql_admin . " ORDER BY comment_date_gmt DESC LIMIT " . $start . "," . $size;74 $comments_query = "SELECT comment_author, comment_author_email, comment_author_url, comment_ID, comment_post_ID, REPLACE(comment_content, '\n', '') AS comment_content, comment_type, comment_author_IP, comment_agent, comment_date FROM $wpdb->comments, $wpdb->posts WHERE comment_post_ID = ID AND comment_approved = '1' AND post_status = 'publish'" . $sql_ping . $sql_protected . $sql_private . $sql_admin . " ORDER BY comment_date_gmt DESC LIMIT " . $start . "," . $size; 75 75 $comments = $wpdb->get_results($comments_query); 76 76 -
wp-recentcomments/trunk/languages/wp-recentcomments-sv_SE.po
r123457 r544370 3 3 "Project-Id-Version: WP-RecentComments 1.7\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 20 08-12-23 21:41+0800\n"5 "POT-Creation-Date: 2010-10-15 13:01+0800\n" 6 6 "PO-Revision-Date: \n" 7 "Last-Translator: Jonas Nordström <jonas.nordstrom@gmail.com>\n"8 "Language-Team: Allers Nya Medier <http://allersforlag.se>\n"7 "Last-Translator: Patrik Hultgren <patrik.hultgren@bricco.se>\n" 8 "Language-Team: Bricco <http://www.bricco.se>\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=UTF-8\n" … … 17 17 "X-Poedit-SearchPath-0: .\n" 18 18 19 #: core.php:43 20 #: core.php:189 19 #: wp-recentcomments.php:36 20 #: wp-recentcomments.php:37 21 #: wp-recentcomments.php:432 21 22 msgid "Loading" 22 23 msgstr "Laddar" 23 24 24 #: core.php:100 25 #: wp-recentcomments.php:57 26 msgid "Recent Comments" 27 msgstr "Senaste kommentarer" 28 29 #: wp-recentcomments.php:109 30 msgid "Title: " 31 msgstr "Rubrik:" 32 33 #: wp-recentcomments.php:126 34 msgid "The most recent comments" 35 msgstr "De senaste kommentarerna" 36 37 #: wp-recentcomments.php:127 38 #: wp-recentcomments.php:128 39 #: wp-recentcomments.php:264 40 msgid "WP-RecentComments" 41 msgstr "WP-RecentComments" 42 43 #: wp-recentcomments.php:274 44 msgid "WP-RecentComments Options" 45 msgstr "WP-RecentComments inställningar" 46 47 #: wp-recentcomments.php:280 48 msgid "CSS" 49 msgstr "CSS" 50 51 #: wp-recentcomments.php:284 52 msgid "Use wp-recentcomments.css." 53 msgstr "Använd wp-recentcomments.css." 54 55 #: wp-recentcomments.php:290 56 msgid "JavaScript Library" 57 msgstr "JavaScript bibliotek" 58 59 #: wp-recentcomments.php:294 60 msgid "Use normal JavaScript library that is supported by this plugin." 61 msgstr "Använd vanligt JavaScript bibliotek som stödjs av denna plugin:en." 62 63 #: wp-recentcomments.php:299 64 msgid "Use jQuery library that is supported by WordPress." 65 msgstr "Använd JQuery som stödjs av WordPress." 66 67 #: wp-recentcomments.php:304 68 msgid "Custom jQuery." 69 msgstr "Anpassad jQuery." 70 71 #: wp-recentcomments.php:307 72 msgid "Please input the URL of jQuery:" 73 msgstr "jQuery URL:" 74 75 #: wp-recentcomments.php:314 76 msgid "Comment List" 77 msgstr "Kommentarslista" 78 79 #: wp-recentcomments.php:317 80 msgid "comments per page." 81 msgstr "kommentarer per sida." 82 83 #: wp-recentcomments.php:322 84 msgid "Show the comments from administrators." 85 msgstr "Visa kommentarer från administratörer." 86 87 #: wp-recentcomments.php:328 88 msgid "Show pingback and trackback comments." 89 msgstr "Visa pingback och trackback kommentarer." 90 91 #: wp-recentcomments.php:334 92 msgid "Show navigation bar." 93 msgstr "Visa menyn." 94 95 #: wp-recentcomments.php:340 96 msgid "Comment Items" 97 msgstr "Kommentarer" 98 99 #: wp-recentcomments.php:343 100 msgid "characters per comment." 101 msgstr "tecken per kommentar." 102 103 #: wp-recentcomments.php:348 104 msgid "Show post titles." 105 msgstr "Visa kommentarsrubriker." 106 107 #: wp-recentcomments.php:354 108 msgid "Show the expand button when mouse over excerpts." 109 msgstr "Visa expandera knappen när muspekaren är över utdraget." 110 111 #: wp-recentcomments.php:360 112 msgid "Open external pages in a new tab/window." 113 msgstr "Öppna externa webbsidor i ett nytt webbläsarfönster/flik." 114 115 #: wp-recentcomments.php:366 116 msgid "Show avatars on" 117 msgstr "Visa avatarer på" 118 119 #: wp-recentcomments.php:369 120 msgid "left" 121 msgstr "vänster" 122 123 #: wp-recentcomments.php:370 124 msgid "right" 125 msgstr "höger" 126 127 #: wp-recentcomments.php:372 128 msgid ", size is" 129 msgstr ", storleken är" 130 131 #: wp-recentcomments.php:374 132 msgid "pixels" 133 msgstr "pixlar" 134 135 #: wp-recentcomments.php:379 136 msgid "Show smilies as graphic icons." 137 msgstr "Visa smilies som ikoner." 138 139 #: wp-recentcomments.php:388 140 msgid "Save Changes" 141 msgstr "Spara ändringar" 142 143 #: wp-recentcomments.php:431 144 msgid "%REVIEWER% on %POST%" 145 msgstr "%REVIEWER% om %POST%" 146 147 #: wp-recentcomments.php:433 148 msgid "No comments" 149 msgstr "Inga kommentarer" 150 151 #: wp-recentcomments.php:434 152 msgid "« Newest" 153 msgstr "« Nyaste" 154 155 #: wp-recentcomments.php:435 156 msgid "« Newer" 157 msgstr "« Nyare" 158 159 #: wp-recentcomments.php:436 160 msgid "Older »" 161 msgstr "Äldre »" 162 163 #: wp-recentcomments.php:441 25 164 msgid "Anonymous" 26 165 msgstr "Anonym" 27 166 28 #: core.php:11929 msgid "Pingback:"30 msgstr "Pingback:"31 32 #: core.php:12133 msgid "Trackback:"34 msgstr "Trackback:"35 36 #: core.php:12337 msgid "on"38 msgstr "om"39 40 #: core.php:14241 msgid "« Newest"42 msgstr "« Nyaste"43 44 #: core.php:15545 msgid "« Newer"46 msgstr "« Nyare"47 48 #: core.php:16149 msgid "Older »"50 msgstr "Äldre »"51 52 #: core.php:21453 msgid "Y/m/d"54 msgstr "d/m/Y"55 56 #: core.php:21557 msgid "H:i"58 msgstr "G:i"59 60 #: core.php:21661 #, php-format62 msgid "%1$s - %2$s"63 msgstr "%1$s - %2$s"64 65 #: core.php:22966 msgid "« Back"67 msgstr "« Tillbaka"68 69 #: core.php:32770 msgid "»"71 msgstr "»"72 73 #: wp-recentcomments.php:4974 msgid "Recent Comments"75 msgstr "Senaste kommentarer"76 77 #: wp-recentcomments.php:16078 msgid "Title: "79 msgstr "Titel:"80 81 #: wp-recentcomments.php:16782 msgid "Number of comments to show: "83 msgstr "Antal kommentarer som ska visas:"84 85 #: wp-recentcomments.php:17186 msgid "(at most 20)"87 msgstr "(högst 20)"88 89 #: wp-recentcomments.php:17690 msgid "Length of each comment: "91 msgstr "Längd på varje kommentar:"92 93 #: wp-recentcomments.php:18494 msgid "Show post titles."95 msgstr "Visa artikeltitel"96 97 #: wp-recentcomments.php:19198 msgid "Show pingback comments."99 msgstr "Visa pingbackkommentarer."100 101 #: wp-recentcomments.php:198102 msgid "Show trackback comments."103 msgstr "Visa trackbackkommentarer."104 105 #: wp-recentcomments.php:205106 msgid "Show author avatars."107 msgstr "Visa författares avatar."108 109 #: wp-recentcomments.php:211110 msgid "The size of avatars: "111 msgstr "Storlek på avatar:"112 113 #: wp-recentcomments.php:215114 msgid "(8 - 96)"115 msgstr "(8 - 96)"116 117 #: wp-recentcomments.php:220118 msgid "The position of avatars: "119 msgstr "Position på avatar:"120 121 #: wp-recentcomments.php:222122 msgid "Left"123 msgstr "Vänster"124 125 #: wp-recentcomments.php:223126 msgid "Right"127 msgstr "Höger"128 129 #: wp-recentcomments.php:230130 msgid "The default avatar: "131 msgstr "Standardavatar:"132 133 #: wp-recentcomments.php:234134 msgid "(Filename from '/wp-recentcomments/avatars/' directory or Internet address)"135 msgstr "(Filnamn från '/wp-recentcomments/avatars/'-katalogen eller en Internetadress)"136 137 #: wp-recentcomments.php:240138 msgid "Show navigator buttons."139 msgstr "Visa knappar för navigering."140 141 #: wp-recentcomments.php:247142 msgid "Show the comments from administrators."143 msgstr "Visa kommentarer från administratörer."144 145 #: wp-recentcomments.php:254146 msgid "Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display."147 msgstr "Konvertera emotikoner som <code>:-)</code> och <code>:-P</code> till grafik."148 149 #: wp-recentcomments.php:270150 msgid "The most recent comments"151 msgstr "De senaste kommentarerna"152 153 #: wp-recentcomments.php:271154 #: wp-recentcomments.php:272155 msgid "WP-RecentComments"156 msgstr "WP-RecentComments"157 -
wp-recentcomments/trunk/wp-recentcomments.php
r538570 r544370 4 4 Plugin URI: http://www.neoease.com/plugins/ 5 5 Description: Show the recent comments in your WordPress sidebar. 6 Version: 2.2 6 Version: 2.2.1 7 7 Author: mg12 8 8 Author URI: http://www.neoease.com/ … … 454 454 $options = get_option('wp_recentcomments_options'); 455 455 ?> 456 <script type="text/javascript">456 <script> 457 457 /* <![CDATA[ */ 458 458 var rcGlobal = { … … 478 478 function load_static() { 479 479 $options = get_option('wp_recentcomments_options'); 480 $plugins_version = '2.2 ';480 $plugins_version = '2.2.1'; 481 481 $plugins_url = plugins_url('wp-recentcomments'); 482 482 $plugins_css_url = $plugins_url . '/css';
Note: See TracChangeset
for help on using the changeset viewer.