Changeset 357575
- Timestamp:
- 03/09/2011 09:06:42 AM (15 years ago)
- Location:
- ns-like-this
- Files:
-
- 13 edited
- 12 copied
-
tags/1.1 (copied) (copied from ns-like-this/trunk)
-
tags/1.1/class (copied) (copied from ns-like-this/trunk/class)
-
tags/1.1/css (copied) (copied from ns-like-this/trunk/css)
-
tags/1.1/css/ns-like-this.css (modified) (1 diff)
-
tags/1.1/dislike.php (copied) (copied from ns-like-this/trunk/dislike.php)
-
tags/1.1/go.php (copied) (copied from ns-like-this/trunk/go.php)
-
tags/1.1/js (copied) (copied from ns-like-this/trunk/js)
-
tags/1.1/js/ns-like-this.js (modified) (1 diff)
-
tags/1.1/lang (copied) (copied from ns-like-this/trunk/lang)
-
tags/1.1/lang/ns-like-this-it_IT.mo (modified) (previous)
-
tags/1.1/lang/ns-like-this-it_IT.po (modified) (3 diffs)
-
tags/1.1/lang/ns-like-this.pot (modified) (1 diff)
-
tags/1.1/like.php (copied) (copied from ns-like-this/trunk/like.php) (1 diff)
-
tags/1.1/my-liked.php (copied) (copied from ns-like-this/trunk/my-liked.php)
-
tags/1.1/ns-like-this.php (copied) (copied from ns-like-this/trunk/ns-like-this.php) (3 diffs)
-
tags/1.1/readme.txt (copied) (copied from ns-like-this/trunk/readme.txt) (2 diffs)
-
tags/1.1/sort-table.php (copied) (copied from ns-like-this/trunk/sort-table.php)
-
trunk/css/ns-like-this.css (modified) (1 diff)
-
trunk/js/ns-like-this.js (modified) (1 diff)
-
trunk/lang/ns-like-this-it_IT.mo (modified) (previous)
-
trunk/lang/ns-like-this-it_IT.po (modified) (3 diffs)
-
trunk/lang/ns-like-this.pot (modified) (1 diff)
-
trunk/like.php (modified) (1 diff)
-
trunk/ns-like-this.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ns-like-this/tags/1.1/css/ns-like-this.css
r354509 r357575 5 5 display:block; 6 6 padding: 15px 0; 7 font-size:14px; 7 8 } 8 9 .nsLikeThis .counter { -
ns-like-this/tags/1.1/js/ns-like-this.js
r354509 r357575 5 5 6 6 jQuery.post(blogUrl + "/wp-content/plugins/ns-like-this/like.php", 7 { id: postId, type: type },7 { id: postId, type: type, fulltext: 1 }, 8 8 function(data){ 9 9 jQuery('#nsLikeThis-'+type+'-'+postId+' .counter').text(data); -
ns-like-this/tags/1.1/lang/ns-like-this-it_IT.po
r354509 r357575 3 3 "Project-Id-Version: NS Like This\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2011-0 2-25 13:24+0100\n"5 "POT-Creation-Date: 2011-03-09 09:46+0100\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: \n" 8 "Language-Team: \n"8 "Language-Team: NetSolutions <mcumer@gmail.com>\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Poedit-KeywordsList: __;_e;gettext( \n"12 "X-Poedit-KeywordsList: __;_e;gettext(;_n:1,2\n" 13 13 "X-Poedit-Basepath: .\n" 14 14 "X-Poedit-Language: Italian\n" 15 15 "X-Poedit-Country: ITALY\n" 16 "X-Poedit-SourceCharset: utf-8\n" 17 "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n" 16 18 "X-Poedit-SearchPath-0: .\n" 17 19 "X-Poedit-SearchPath-1: ..\n" … … 38 40 39 41 #: ../my-liked.php:79 42 #: ../ns-like-this.php:314 43 #: ../ns-like-this.php:398 44 #: ../ns-like-this.php:482 40 45 msgid "Title" 41 46 msgstr "Titolo" 42 47 43 #: ../ns-like-this.php:3 648 #: ../ns-like-this.php:39 44 49 msgid "My liked content" 45 50 msgstr "I miei preferiti" 46 51 47 #: ../ns-like-this.php:18 252 #: ../ns-like-this.php:185 48 53 msgid "\"NS Like This\" Options" 49 54 msgstr "Impostazioni \"NS Like This\"" 50 55 51 #: ../ns-like-this.php:1 8756 #: ../ns-like-this.php:190 52 57 msgid "Configuration" 53 58 msgstr "Impostazioni" 54 59 55 #: ../ns-like-this.php:19 360 #: ../ns-like-this.php:196 56 61 msgid "jQuery framework" 57 62 msgstr "" 58 63 59 #: ../ns-like-this.php:19 664 #: ../ns-like-this.php:199 60 65 msgid "Enabled" 61 66 msgstr "" 62 67 63 #: ../ns-like-this.php:19 668 #: ../ns-like-this.php:199 64 69 msgid "Disabled" 65 70 msgstr "" 66 71 67 #: ../ns-like-this.php: 19872 #: ../ns-like-this.php:201 68 73 msgid "Disable it if you already have the jQuery framework enabled in your theme." 69 74 msgstr "" 70 75 71 #: ../ns-like-this.php:20 276 #: ../ns-like-this.php:205 72 77 msgid "Image or text?" 73 78 msgstr "" 74 79 75 #: ../ns-like-this.php:21 480 #: ../ns-like-this.php:217 76 81 msgid "Automatic display" 77 82 msgstr "" 78 83 79 #: ../ns-like-this.php:2 1884 #: ../ns-like-this.php:221 80 85 msgid "<strong>On all posts</strong> (home, archives, search) at the bottom of the post" 81 86 msgstr "" 82 87 83 #: ../ns-like-this.php:22 088 #: ../ns-like-this.php:223 84 89 msgid "If you disable this option, you have to put manually the code" 85 90 msgstr "" 86 91 87 #: ../ns-like-this.php:22 092 #: ../ns-like-this.php:223 88 93 msgid "wherever you want in your template." 89 94 msgstr "" 90 95 91 #: ../ns-like-this.php:22 496 #: ../ns-like-this.php:227 92 97 msgid "Use emblems" 93 98 msgstr "" 94 99 95 #: ../ns-like-this.php:2 28100 #: ../ns-like-this.php:231 96 101 msgid "Allows you to associate an emblem to each <em>like</em>" 97 102 msgstr "" 98 103 99 #: ../ns-like-this.php:23 3104 #: ../ns-like-this.php:236 100 105 msgid "Save Options" 101 106 msgstr "Salva opzioni" 102 107 103 #: ../ns-like-this.php:27 1104 #: ../ns-like-this.php:2 89105 #: ../ns-like-this.php:29 6108 #: ../ns-like-this.php:274 109 #: ../ns-like-this.php:292 110 #: ../ns-like-this.php:299 106 111 msgid "Most liked content" 107 112 msgstr "" 108 113 109 #: ../ns-like-this.php:31 1110 #: ../ns-like-this.php: 395111 #: ../ns-like-this.php:4 79112 msgid " Title:"114 #: ../ns-like-this.php:317 115 #: ../ns-like-this.php:401 116 #: ../ns-like-this.php:485 117 msgid "Number of posts to show" 113 118 msgstr "" 114 119 115 #: ../ns-like-this.php:314 116 #: ../ns-like-this.php:398 117 #: ../ns-like-this.php:482 118 msgid "Number of posts to show:" 119 msgstr "" 120 121 #: ../ns-like-this.php:317 120 #: ../ns-like-this.php:320 122 121 msgid "Show likes counter" 123 122 msgstr "" 124 123 125 #: ../ns-like-this.php:35 5126 #: ../ns-like-this.php:37 3127 #: ../ns-like-this.php:38 0128 #: ../ns-like-this.php:40 6124 #: ../ns-like-this.php:358 125 #: ../ns-like-this.php:376 126 #: ../ns-like-this.php:383 127 #: ../ns-like-this.php:409 129 128 msgid "Latest liked content" 130 129 msgstr "" 131 130 132 #: ../ns-like-this.php:40 1131 #: ../ns-like-this.php:404 133 132 msgid "Show dates" 134 133 msgstr "" 135 134 136 #: ../ns-like-this.php:4 39137 #: ../ns-like-this.php:4 57138 #: ../ns-like-this.php:46 4135 #: ../ns-like-this.php:442 136 #: ../ns-like-this.php:460 137 #: ../ns-like-this.php:467 139 138 msgid "Most visited liked content" 140 139 msgstr "" 141 140 142 #: ../ns-like-this.php:48 5141 #: ../ns-like-this.php:488 143 142 msgid "Show count" 144 143 msgstr "" 144 145 #: ../ns-like-this.php:516 146 msgid "I like this" 147 msgstr "Mi piace" 148 149 #: ../ns-like-this.php:523 150 #: ../like.php:23 151 #, php-format 152 msgid "%d person like this" 153 msgid_plural "%d people like this" 154 msgstr[0] "A %d persona piace questo" 155 msgstr[1] "A %d persone piace questo" 145 156 146 157 #: ../sort-table.php:24 … … 152 163 msgstr "Aggiungi ai \"Miei Preferiti\"" 153 164 154 #: ../class/liked_content.php:24 6165 #: ../class/liked_content.php:248 155 166 msgid "Today" 156 167 msgstr "Oggi" 157 168 158 #: ../class/liked_content.php:2 49169 #: ../class/liked_content.php:251 159 170 msgid "Yesterday" 160 171 msgstr "Ieri" 161 172 162 #: ../class/liked_content.php:25 2173 #: ../class/liked_content.php:254 163 174 #, php-format 164 175 msgid "Last %s" 165 176 msgstr "%s scorso" 166 177 167 #: ../class/liked_content.php:2 59178 #: ../class/liked_content.php:261 168 179 #, php-format 169 180 msgid "at %s" -
ns-like-this/tags/1.1/lang/ns-like-this.pot
r354509 r357575 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: ILike This\n"3 "Project-Id-Version: NS Like This\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 201 0-03-08 19:22+0100\n"6 "PO-Revision-Date: 201 0-03-08 19:22+0100\n"7 "Last-Translator: Benoît Burgener <contact@benoitburgener.com>\n"8 "Language-Team: My Tapestry <hello@my-tapestry.com>\n"5 "POT-Creation-Date: 2011-03-09 09:48+0100\n" 6 "PO-Revision-Date: 2011-03-09 09:48+0100\n" 7 "Last-Translator: \n" 8 "Language-Team: NetSolutions <mcumer@gmail.com>\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Poedit-KeywordsList: _e;__ \n"12 "X-Poedit-KeywordsList: _e;__;_n:1,2\n" 13 13 "X-Poedit-Basepath: .\n" 14 "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n" 14 15 "X-Poedit-SearchPath-0: .\n" 16 "X-Poedit-SearchPath-1: ..\n" 15 17 16 #: i-like-this.php:97 18 #: ../my-liked.php:66 19 msgid "Order by" 20 msgstr "" 21 22 #: ../my-liked.php:68 23 msgid "Most recent" 24 msgstr "" 25 26 #: ../my-liked.php:69 27 msgid "Most visited" 28 msgstr "" 29 30 #: ../my-liked.php:70 31 msgid "Most liked" 32 msgstr "" 33 34 #: ../my-liked.php:78 35 msgid "Date Liked" 36 msgstr "" 37 38 #: ../my-liked.php:79 39 #: ../ns-like-this.php:314 40 #: ../ns-like-this.php:398 41 #: ../ns-like-this.php:482 42 msgid "Title" 43 msgstr "" 44 45 #: ../ns-like-this.php:39 46 msgid "My liked content" 47 msgstr "" 48 49 #: ../ns-like-this.php:185 50 msgid "\"NS Like This\" Options" 51 msgstr "" 52 53 #: ../ns-like-this.php:190 17 54 msgid "Configuration" 18 55 msgstr "" 19 56 20 #: i-like-this.php:10357 #: ../ns-like-this.php:196 21 58 msgid "jQuery framework" 22 59 msgstr "" 23 60 24 #: i-like-this.php:10661 #: ../ns-like-this.php:199 25 62 msgid "Enabled" 26 63 msgstr "" 27 64 28 #: i-like-this.php:10665 #: ../ns-like-this.php:199 29 66 msgid "Disabled" 30 67 msgstr "" 31 68 32 #: i-like-this.php:10869 #: ../ns-like-this.php:201 33 70 msgid "Disable it if you already have the jQuery framework enabled in your theme." 34 71 msgstr "" 35 72 36 #: i-like-this.php:11273 #: ../ns-like-this.php:205 37 74 msgid "Image or text?" 38 75 msgstr "" 39 76 40 #: i-like-this.php:12477 #: ../ns-like-this.php:217 41 78 msgid "Automatic display" 42 79 msgstr "" 43 80 44 #: i-like-this.php:12881 #: ../ns-like-this.php:221 45 82 msgid "<strong>On all posts</strong> (home, archives, search) at the bottom of the post" 46 83 msgstr "" 47 84 48 #: i-like-this.php:13085 #: ../ns-like-this.php:223 49 86 msgid "If you disable this option, you have to put manually the code" 50 87 msgstr "" 51 88 52 #: i-like-this.php:13089 #: ../ns-like-this.php:223 53 90 msgid "wherever you want in your template." 54 91 msgstr "" 55 92 56 #: i-like-this.php:134 93 #: ../ns-like-this.php:227 94 msgid "Use emblems" 95 msgstr "" 96 97 #: ../ns-like-this.php:231 98 msgid "Allows you to associate an emblem to each <em>like</em>" 99 msgstr "" 100 101 #: ../ns-like-this.php:236 57 102 msgid "Save Options" 58 103 msgstr "" 59 104 60 #: i-like-this.php:145 61 msgid "You like this plugin?" 105 #: ../ns-like-this.php:274 106 #: ../ns-like-this.php:292 107 #: ../ns-like-this.php:299 108 msgid "Most liked content" 62 109 msgstr "" 63 110 64 #: i-like-this.php:229 65 msgid "Title:" 111 #: ../ns-like-this.php:317 112 #: ../ns-like-this.php:401 113 #: ../ns-like-this.php:485 114 msgid "Number of posts to show" 66 115 msgstr "" 67 116 68 #: i-like-this.php:23269 msgid " Number of posts to show:"117 #: ../ns-like-this.php:320 118 msgid "Show likes counter" 70 119 msgstr "" 71 120 72 #: i-like-this.php:235 73 msgid "Show post count" 121 #: ../ns-like-this.php:358 122 #: ../ns-like-this.php:376 123 #: ../ns-like-this.php:383 124 #: ../ns-like-this.php:409 125 msgid "Latest liked content" 74 126 msgstr "" 75 127 128 #: ../ns-like-this.php:404 129 msgid "Show dates" 130 msgstr "" 131 132 #: ../ns-like-this.php:442 133 #: ../ns-like-this.php:460 134 #: ../ns-like-this.php:467 135 msgid "Most visited liked content" 136 msgstr "" 137 138 #: ../ns-like-this.php:488 139 msgid "Show count" 140 msgstr "" 141 142 #: ../ns-like-this.php:516 143 msgid "I like this" 144 msgstr "" 145 146 #: ../ns-like-this.php:523 147 #: ../like.php:23 148 #, php-format 149 msgid "%d person like this" 150 msgid_plural "%d people like this" 151 msgstr[0] "" 152 msgstr[1] "" 153 154 #: ../sort-table.php:24 155 msgid "Dislike This" 156 msgstr "" 157 158 #: ../sort-table.php:30 159 msgid "Like This" 160 msgstr "" 161 162 #: ../class/liked_content.php:248 163 msgid "Today" 164 msgstr "" 165 166 #: ../class/liked_content.php:251 167 msgid "Yesterday" 168 msgstr "" 169 170 #: ../class/liked_content.php:254 171 #, php-format 172 msgid "Last %s" 173 msgstr "" 174 175 #: ../class/liked_content.php:261 176 #, php-format 177 msgid "at %s" 178 msgstr "" 179 -
ns-like-this/tags/1.1/like.php
r354509 r357575 18 18 } 19 19 20 echo LikedContent::getContentLikes($content_id, $content_type); 20 $count = LikedContent::getContentLikes($content_id, $content_type); 21 22 if($_POST['fulltext']){ 23 echo sprintf(_n('%d person like this', '%d people like this', $count, 'ns-like-this'), $count); 24 } 25 else{ 26 echo $count; 27 } 21 28 } 22 29 ?> -
ns-like-this/tags/1.1/ns-like-this.php
r354509 r357575 4 4 Plugin URI: http://www.net-solutions.es 5 5 Description: This plugin allows users to like your posts/pages/categories/tags instead of commment it. 6 Version: 1. 06 Version: 1.1 7 7 Author: Net Solutions 8 8 Author URI: http://www.net-solutions.es 9 9 License: GPLv3 10 */ 11 12 /* 10 13 This program is free software; you can redistribute it and/or modify 11 14 it under the terms of the GNU General Public License as published by … … 511 514 if (! LikedContent::userLikesThis($user_id, $content_id, $content_type)) { 512 515 if (get_option('nslt_textOrImage') == 'image') { 513 $counter = '<a onclick="externalLikeThis('.$content_id.', \''.$content_type.'\');" class="image">'. $liked.'</a>';516 $counter = '<a onclick="externalLikeThis('.$content_id.', \''.$content_type.'\');" class="image">'. __('I like this', 'ns-like-this') .'</a>'; 514 517 } 515 518 else { … … 518 521 } 519 522 else { 520 $counter = $liked;523 $counter = sprintf(_n('%d person like this', '%d people like this', $liked, 'ns-like-this'), $liked); 521 524 } 522 525 -
ns-like-this/tags/1.1/readme.txt
r354509 r357575 4 4 Requires at least: 3.0.0 5 5 Tested up to: 3.1 6 Stable tag: 1. 06 Stable tag: 1.1 7 7 8 8 This plugin allows your users to save their favorite content, and keep track of their favorites (add or remove), other user's favorites and clicks on favorites. … … 35 35 == Changelog == 36 36 37 = 1.1 = 38 * Added some improvements in CSS and images 39 * Fixed problem in plugin header 40 * Added text in like button 41 * Updated translation 42 37 43 = 1.0 = 38 44 * Initial release. -
ns-like-this/trunk/css/ns-like-this.css
r354509 r357575 5 5 display:block; 6 6 padding: 15px 0; 7 font-size:14px; 7 8 } 8 9 .nsLikeThis .counter { -
ns-like-this/trunk/js/ns-like-this.js
r354509 r357575 5 5 6 6 jQuery.post(blogUrl + "/wp-content/plugins/ns-like-this/like.php", 7 { id: postId, type: type },7 { id: postId, type: type, fulltext: 1 }, 8 8 function(data){ 9 9 jQuery('#nsLikeThis-'+type+'-'+postId+' .counter').text(data); -
ns-like-this/trunk/lang/ns-like-this-it_IT.po
r354509 r357575 3 3 "Project-Id-Version: NS Like This\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2011-0 2-25 13:24+0100\n"5 "POT-Creation-Date: 2011-03-09 09:46+0100\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: \n" 8 "Language-Team: \n"8 "Language-Team: NetSolutions <mcumer@gmail.com>\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Poedit-KeywordsList: __;_e;gettext( \n"12 "X-Poedit-KeywordsList: __;_e;gettext(;_n:1,2\n" 13 13 "X-Poedit-Basepath: .\n" 14 14 "X-Poedit-Language: Italian\n" 15 15 "X-Poedit-Country: ITALY\n" 16 "X-Poedit-SourceCharset: utf-8\n" 17 "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n" 16 18 "X-Poedit-SearchPath-0: .\n" 17 19 "X-Poedit-SearchPath-1: ..\n" … … 38 40 39 41 #: ../my-liked.php:79 42 #: ../ns-like-this.php:314 43 #: ../ns-like-this.php:398 44 #: ../ns-like-this.php:482 40 45 msgid "Title" 41 46 msgstr "Titolo" 42 47 43 #: ../ns-like-this.php:3 648 #: ../ns-like-this.php:39 44 49 msgid "My liked content" 45 50 msgstr "I miei preferiti" 46 51 47 #: ../ns-like-this.php:18 252 #: ../ns-like-this.php:185 48 53 msgid "\"NS Like This\" Options" 49 54 msgstr "Impostazioni \"NS Like This\"" 50 55 51 #: ../ns-like-this.php:1 8756 #: ../ns-like-this.php:190 52 57 msgid "Configuration" 53 58 msgstr "Impostazioni" 54 59 55 #: ../ns-like-this.php:19 360 #: ../ns-like-this.php:196 56 61 msgid "jQuery framework" 57 62 msgstr "" 58 63 59 #: ../ns-like-this.php:19 664 #: ../ns-like-this.php:199 60 65 msgid "Enabled" 61 66 msgstr "" 62 67 63 #: ../ns-like-this.php:19 668 #: ../ns-like-this.php:199 64 69 msgid "Disabled" 65 70 msgstr "" 66 71 67 #: ../ns-like-this.php: 19872 #: ../ns-like-this.php:201 68 73 msgid "Disable it if you already have the jQuery framework enabled in your theme." 69 74 msgstr "" 70 75 71 #: ../ns-like-this.php:20 276 #: ../ns-like-this.php:205 72 77 msgid "Image or text?" 73 78 msgstr "" 74 79 75 #: ../ns-like-this.php:21 480 #: ../ns-like-this.php:217 76 81 msgid "Automatic display" 77 82 msgstr "" 78 83 79 #: ../ns-like-this.php:2 1884 #: ../ns-like-this.php:221 80 85 msgid "<strong>On all posts</strong> (home, archives, search) at the bottom of the post" 81 86 msgstr "" 82 87 83 #: ../ns-like-this.php:22 088 #: ../ns-like-this.php:223 84 89 msgid "If you disable this option, you have to put manually the code" 85 90 msgstr "" 86 91 87 #: ../ns-like-this.php:22 092 #: ../ns-like-this.php:223 88 93 msgid "wherever you want in your template." 89 94 msgstr "" 90 95 91 #: ../ns-like-this.php:22 496 #: ../ns-like-this.php:227 92 97 msgid "Use emblems" 93 98 msgstr "" 94 99 95 #: ../ns-like-this.php:2 28100 #: ../ns-like-this.php:231 96 101 msgid "Allows you to associate an emblem to each <em>like</em>" 97 102 msgstr "" 98 103 99 #: ../ns-like-this.php:23 3104 #: ../ns-like-this.php:236 100 105 msgid "Save Options" 101 106 msgstr "Salva opzioni" 102 107 103 #: ../ns-like-this.php:27 1104 #: ../ns-like-this.php:2 89105 #: ../ns-like-this.php:29 6108 #: ../ns-like-this.php:274 109 #: ../ns-like-this.php:292 110 #: ../ns-like-this.php:299 106 111 msgid "Most liked content" 107 112 msgstr "" 108 113 109 #: ../ns-like-this.php:31 1110 #: ../ns-like-this.php: 395111 #: ../ns-like-this.php:4 79112 msgid " Title:"114 #: ../ns-like-this.php:317 115 #: ../ns-like-this.php:401 116 #: ../ns-like-this.php:485 117 msgid "Number of posts to show" 113 118 msgstr "" 114 119 115 #: ../ns-like-this.php:314 116 #: ../ns-like-this.php:398 117 #: ../ns-like-this.php:482 118 msgid "Number of posts to show:" 119 msgstr "" 120 121 #: ../ns-like-this.php:317 120 #: ../ns-like-this.php:320 122 121 msgid "Show likes counter" 123 122 msgstr "" 124 123 125 #: ../ns-like-this.php:35 5126 #: ../ns-like-this.php:37 3127 #: ../ns-like-this.php:38 0128 #: ../ns-like-this.php:40 6124 #: ../ns-like-this.php:358 125 #: ../ns-like-this.php:376 126 #: ../ns-like-this.php:383 127 #: ../ns-like-this.php:409 129 128 msgid "Latest liked content" 130 129 msgstr "" 131 130 132 #: ../ns-like-this.php:40 1131 #: ../ns-like-this.php:404 133 132 msgid "Show dates" 134 133 msgstr "" 135 134 136 #: ../ns-like-this.php:4 39137 #: ../ns-like-this.php:4 57138 #: ../ns-like-this.php:46 4135 #: ../ns-like-this.php:442 136 #: ../ns-like-this.php:460 137 #: ../ns-like-this.php:467 139 138 msgid "Most visited liked content" 140 139 msgstr "" 141 140 142 #: ../ns-like-this.php:48 5141 #: ../ns-like-this.php:488 143 142 msgid "Show count" 144 143 msgstr "" 144 145 #: ../ns-like-this.php:516 146 msgid "I like this" 147 msgstr "Mi piace" 148 149 #: ../ns-like-this.php:523 150 #: ../like.php:23 151 #, php-format 152 msgid "%d person like this" 153 msgid_plural "%d people like this" 154 msgstr[0] "A %d persona piace questo" 155 msgstr[1] "A %d persone piace questo" 145 156 146 157 #: ../sort-table.php:24 … … 152 163 msgstr "Aggiungi ai \"Miei Preferiti\"" 153 164 154 #: ../class/liked_content.php:24 6165 #: ../class/liked_content.php:248 155 166 msgid "Today" 156 167 msgstr "Oggi" 157 168 158 #: ../class/liked_content.php:2 49169 #: ../class/liked_content.php:251 159 170 msgid "Yesterday" 160 171 msgstr "Ieri" 161 172 162 #: ../class/liked_content.php:25 2173 #: ../class/liked_content.php:254 163 174 #, php-format 164 175 msgid "Last %s" 165 176 msgstr "%s scorso" 166 177 167 #: ../class/liked_content.php:2 59178 #: ../class/liked_content.php:261 168 179 #, php-format 169 180 msgid "at %s" -
ns-like-this/trunk/lang/ns-like-this.pot
r354509 r357575 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: ILike This\n"3 "Project-Id-Version: NS Like This\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 201 0-03-08 19:22+0100\n"6 "PO-Revision-Date: 201 0-03-08 19:22+0100\n"7 "Last-Translator: Benoît Burgener <contact@benoitburgener.com>\n"8 "Language-Team: My Tapestry <hello@my-tapestry.com>\n"5 "POT-Creation-Date: 2011-03-09 09:48+0100\n" 6 "PO-Revision-Date: 2011-03-09 09:48+0100\n" 7 "Last-Translator: \n" 8 "Language-Team: NetSolutions <mcumer@gmail.com>\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Poedit-KeywordsList: _e;__ \n"12 "X-Poedit-KeywordsList: _e;__;_n:1,2\n" 13 13 "X-Poedit-Basepath: .\n" 14 "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n" 14 15 "X-Poedit-SearchPath-0: .\n" 16 "X-Poedit-SearchPath-1: ..\n" 15 17 16 #: i-like-this.php:97 18 #: ../my-liked.php:66 19 msgid "Order by" 20 msgstr "" 21 22 #: ../my-liked.php:68 23 msgid "Most recent" 24 msgstr "" 25 26 #: ../my-liked.php:69 27 msgid "Most visited" 28 msgstr "" 29 30 #: ../my-liked.php:70 31 msgid "Most liked" 32 msgstr "" 33 34 #: ../my-liked.php:78 35 msgid "Date Liked" 36 msgstr "" 37 38 #: ../my-liked.php:79 39 #: ../ns-like-this.php:314 40 #: ../ns-like-this.php:398 41 #: ../ns-like-this.php:482 42 msgid "Title" 43 msgstr "" 44 45 #: ../ns-like-this.php:39 46 msgid "My liked content" 47 msgstr "" 48 49 #: ../ns-like-this.php:185 50 msgid "\"NS Like This\" Options" 51 msgstr "" 52 53 #: ../ns-like-this.php:190 17 54 msgid "Configuration" 18 55 msgstr "" 19 56 20 #: i-like-this.php:10357 #: ../ns-like-this.php:196 21 58 msgid "jQuery framework" 22 59 msgstr "" 23 60 24 #: i-like-this.php:10661 #: ../ns-like-this.php:199 25 62 msgid "Enabled" 26 63 msgstr "" 27 64 28 #: i-like-this.php:10665 #: ../ns-like-this.php:199 29 66 msgid "Disabled" 30 67 msgstr "" 31 68 32 #: i-like-this.php:10869 #: ../ns-like-this.php:201 33 70 msgid "Disable it if you already have the jQuery framework enabled in your theme." 34 71 msgstr "" 35 72 36 #: i-like-this.php:11273 #: ../ns-like-this.php:205 37 74 msgid "Image or text?" 38 75 msgstr "" 39 76 40 #: i-like-this.php:12477 #: ../ns-like-this.php:217 41 78 msgid "Automatic display" 42 79 msgstr "" 43 80 44 #: i-like-this.php:12881 #: ../ns-like-this.php:221 45 82 msgid "<strong>On all posts</strong> (home, archives, search) at the bottom of the post" 46 83 msgstr "" 47 84 48 #: i-like-this.php:13085 #: ../ns-like-this.php:223 49 86 msgid "If you disable this option, you have to put manually the code" 50 87 msgstr "" 51 88 52 #: i-like-this.php:13089 #: ../ns-like-this.php:223 53 90 msgid "wherever you want in your template." 54 91 msgstr "" 55 92 56 #: i-like-this.php:134 93 #: ../ns-like-this.php:227 94 msgid "Use emblems" 95 msgstr "" 96 97 #: ../ns-like-this.php:231 98 msgid "Allows you to associate an emblem to each <em>like</em>" 99 msgstr "" 100 101 #: ../ns-like-this.php:236 57 102 msgid "Save Options" 58 103 msgstr "" 59 104 60 #: i-like-this.php:145 61 msgid "You like this plugin?" 105 #: ../ns-like-this.php:274 106 #: ../ns-like-this.php:292 107 #: ../ns-like-this.php:299 108 msgid "Most liked content" 62 109 msgstr "" 63 110 64 #: i-like-this.php:229 65 msgid "Title:" 111 #: ../ns-like-this.php:317 112 #: ../ns-like-this.php:401 113 #: ../ns-like-this.php:485 114 msgid "Number of posts to show" 66 115 msgstr "" 67 116 68 #: i-like-this.php:23269 msgid " Number of posts to show:"117 #: ../ns-like-this.php:320 118 msgid "Show likes counter" 70 119 msgstr "" 71 120 72 #: i-like-this.php:235 73 msgid "Show post count" 121 #: ../ns-like-this.php:358 122 #: ../ns-like-this.php:376 123 #: ../ns-like-this.php:383 124 #: ../ns-like-this.php:409 125 msgid "Latest liked content" 74 126 msgstr "" 75 127 128 #: ../ns-like-this.php:404 129 msgid "Show dates" 130 msgstr "" 131 132 #: ../ns-like-this.php:442 133 #: ../ns-like-this.php:460 134 #: ../ns-like-this.php:467 135 msgid "Most visited liked content" 136 msgstr "" 137 138 #: ../ns-like-this.php:488 139 msgid "Show count" 140 msgstr "" 141 142 #: ../ns-like-this.php:516 143 msgid "I like this" 144 msgstr "" 145 146 #: ../ns-like-this.php:523 147 #: ../like.php:23 148 #, php-format 149 msgid "%d person like this" 150 msgid_plural "%d people like this" 151 msgstr[0] "" 152 msgstr[1] "" 153 154 #: ../sort-table.php:24 155 msgid "Dislike This" 156 msgstr "" 157 158 #: ../sort-table.php:30 159 msgid "Like This" 160 msgstr "" 161 162 #: ../class/liked_content.php:248 163 msgid "Today" 164 msgstr "" 165 166 #: ../class/liked_content.php:251 167 msgid "Yesterday" 168 msgstr "" 169 170 #: ../class/liked_content.php:254 171 #, php-format 172 msgid "Last %s" 173 msgstr "" 174 175 #: ../class/liked_content.php:261 176 #, php-format 177 msgid "at %s" 178 msgstr "" 179 -
ns-like-this/trunk/like.php
r354509 r357575 18 18 } 19 19 20 echo LikedContent::getContentLikes($content_id, $content_type); 20 $count = LikedContent::getContentLikes($content_id, $content_type); 21 22 if($_POST['fulltext']){ 23 echo sprintf(_n('%d person like this', '%d people like this', $count, 'ns-like-this'), $count); 24 } 25 else{ 26 echo $count; 27 } 21 28 } 22 29 ?> -
ns-like-this/trunk/ns-like-this.php
r354509 r357575 4 4 Plugin URI: http://www.net-solutions.es 5 5 Description: This plugin allows users to like your posts/pages/categories/tags instead of commment it. 6 Version: 1. 06 Version: 1.1 7 7 Author: Net Solutions 8 8 Author URI: http://www.net-solutions.es 9 9 License: GPLv3 10 */ 11 12 /* 10 13 This program is free software; you can redistribute it and/or modify 11 14 it under the terms of the GNU General Public License as published by … … 511 514 if (! LikedContent::userLikesThis($user_id, $content_id, $content_type)) { 512 515 if (get_option('nslt_textOrImage') == 'image') { 513 $counter = '<a onclick="externalLikeThis('.$content_id.', \''.$content_type.'\');" class="image">'. $liked.'</a>';516 $counter = '<a onclick="externalLikeThis('.$content_id.', \''.$content_type.'\');" class="image">'. __('I like this', 'ns-like-this') .'</a>'; 514 517 } 515 518 else { … … 518 521 } 519 522 else { 520 $counter = $liked;523 $counter = sprintf(_n('%d person like this', '%d people like this', $liked, 'ns-like-this'), $liked); 521 524 } 522 525 -
ns-like-this/trunk/readme.txt
r354509 r357575 4 4 Requires at least: 3.0.0 5 5 Tested up to: 3.1 6 Stable tag: 1. 06 Stable tag: 1.1 7 7 8 8 This plugin allows your users to save their favorite content, and keep track of their favorites (add or remove), other user's favorites and clicks on favorites. … … 35 35 == Changelog == 36 36 37 = 1.1 = 38 * Added some improvements in CSS and images 39 * Fixed problem in plugin header 40 * Added text in like button 41 * Updated translation 42 37 43 = 1.0 = 38 44 * Initial release.
Note: See TracChangeset
for help on using the changeset viewer.