Changeset 34359
- Timestamp:
- 03/11/08 13:51:52 (4 months ago)
- Location:
- wp-stats/trunk
- Files:
-
- 3 modified
-
wp-stats.mo (modified) (previous)
-
wp-stats.php (modified) (2 diffs)
-
wp-stats.pot (modified) (21 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-stats/trunk/wp-stats.php
r22752 r34359 201 201 $post_title = get_the_title(); 202 202 $comment_total = intval($post->comment_total); 203 $temp .= "<li><a href=\"".get_permalink()."\" title=\"".sprintf(__('View comments in post %s', 'wp-stats'), $post_title)."\">".snippet_ chars($post_title, $chars)."</a> - $comment_total ".__('comments', 'wp-stats')."</li>";203 $temp .= "<li><a href=\"".get_permalink()."\" title=\"".sprintf(__('View comments in post %s', 'wp-stats'), $post_title)."\">".snippet_text($post_title, $chars)."</a> - $comment_total ".__('comments', 'wp-stats')."</li>"; 204 204 } 205 205 } else { … … 345 345 346 346 347 ### Function: Snippet Characters348 if(!function_exists('snippet_ chars')) {349 function snippet_ chars($text, $length = 0) {350 $text = html specialchars_decode($text);351 if (strlen($text) > $length) {352 return html specialchars(substr($text,0,$length)).'...';347 ### Function: Snippet Text 348 if(!function_exists('snippet_text')) { 349 function snippet_text($text, $length = 0) { 350 $text = html_entity_decode($text, ENT_QUOTES, get_option('blog_charset')); 351 if (strlen($text) > $length) { 352 return htmlentities(substr($text,0,$length), ENT_COMPAT, get_option('blog_charset')).'...'; 353 353 } else { 354 return html specialchars($text);354 return htmlentities($text, ENT_COMPAT, get_option('blog_charset')); 355 355 } 356 356 } 357 }358 359 360 ### Function: HTML Special Chars Decode361 if (!function_exists('htmlspecialchars_decode')) {362 function htmlspecialchars_decode($text) {363 return strtr($text, array_flip(get_html_translation_table(HTML_SPECIALCHARS)));364 }365 357 } 366 358 -
wp-stats/trunk/wp-stats.pot
r22752 r34359 3 3 "Project-Id-Version: WP-Stats 2.30\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 200 7-10-21 22:49+0800\n"5 "PO-Revision-Date: 2008-03-11 21:51+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Lester Chan <gamerz84@homtail.com>\n" … … 17 17 #: stats-options.php:45 18 18 #: stats-options.php:117 19 #: stats/stats-options.php:4720 #: stats/stats-options.php:11421 19 msgid "Stats URL" 22 20 msgstr "" … … 24 22 #: stats-options.php:46 25 23 #: stats-options.php:123 26 #: stats/stats-options.php:4827 #: stats/stats-options.php:12028 24 msgid "Stats Most Limit" 29 25 msgstr "" 30 26 31 27 #: stats-options.php:47 32 #: stats/stats-options.php:4933 28 msgid "Stats Display Options" 34 29 msgstr "" 35 30 36 31 #: stats-options.php:52 37 #: stats/stats-options.php:5438 32 msgid "Updated" 39 33 msgstr "" 40 34 41 35 #: stats-options.php:57 42 #: stats/stats-options.php:5943 36 msgid "No Stats Option Updated" 44 37 msgstr "" … … 46 39 #: stats-options.php:63 47 40 #: stats-options.php:217 48 #: stats/stats-options.php:6349 #: stats/stats-options.php:21450 41 msgid "UNINSTALL WP-Stats" 51 42 msgstr "" 52 43 53 44 #: stats-options.php:71 54 #: stats/stats-options.php:7155 45 #, php-format 56 46 msgid "Setting Key '%s' has been deleted." … … 58 48 59 49 #: stats-options.php:75 60 #: stats/stats-options.php:7561 50 #, php-format 62 51 msgid "Error deleting Setting Key '%s'." … … 65 54 #: stats-options.php:97 66 55 #: stats-options.php:187 67 #: stats/stats-options.php:9768 #: stats/stats-options.php:18469 56 msgid "Uninstall WP-Stats" 70 57 msgstr "" 71 58 72 59 #: stats-options.php:98 73 #: stats/stats-options.php:9874 60 #, php-format 75 61 msgid "<a href=\"%s\">Click Here</a> To Finish The Uninstallation And WP-Stats Will Be Deactivated Automatically." … … 78 64 #: stats-options.php:109 79 65 #: stats-options.php:114 80 #: stats/stats-options.php:10981 #: stats/stats-options.php:11182 66 msgid "Stats Options" 83 67 msgstr "" … … 89 73 90 74 #: stats-options.php:119 91 #: stats/stats-options.php:11692 75 msgid "URL To Stats Page.<br />Example: http://www.yoursite.com/blogs/stats/<br />Example: http://www.yoursite.com/blogs/?page_id=2" 93 76 msgstr "" 94 77 95 78 #: stats-options.php:125 96 #: stats/stats-options.php:12297 79 msgid "Top X Stats, where X is the most limit." 98 80 msgstr "" 99 81 100 82 #: stats-options.php:129 101 #: stats/stats-options.php:126102 83 msgid "Type Of Stats To Display" 103 84 msgstr "" 104 85 105 86 #: stats-options.php:131 106 #: wp-stats.php:408 107 #: stats/stats-options.php:128 108 #: stats/stats.php:408 87 #: wp-stats.php:400 109 88 msgid "General Stats" 110 89 msgstr "" 111 90 112 91 #: stats-options.php:137 113 #: stats/stats-options.php:134114 92 msgid "Plugin Stats" 115 93 msgstr "" 116 94 117 95 #: stats-options.php:142 118 #: wp-stats.php:435 119 #: stats/stats-options.php:139 120 #: stats/stats.php:435 96 #: wp-stats.php:427 121 97 #, php-format 122 98 msgid "Top %s Recent Stats" … … 124 100 125 101 #: stats-options.php:143 126 #: stats/stats-options.php:140127 102 msgid "Most Recent Posts" 128 103 msgstr "" 129 104 130 105 #: stats-options.php:144 131 #: stats/stats-options.php:141132 106 msgid "Most Recent Comments" 133 107 msgstr "" 134 108 135 109 #: stats-options.php:149 136 #: wp-stats.php:457 137 #: stats/stats-options.php:146 138 #: stats/stats.php:457 110 #: wp-stats.php:449 139 111 #, php-format 140 112 msgid "Top %s Most/Highest Stats" … … 143 115 #: stats-options.php:150 144 116 #: wp-stats-widget.php:192 145 #: stats/stats-options.php:147146 #: stats/stats-widget.php:192147 117 msgid "Most Commented Posts" 148 118 msgstr "" 149 119 150 120 #: stats-options.php:155 151 #: wp-stats.php:471 152 #: stats/stats-options.php:152 153 #: stats/stats.php:471 121 #: wp-stats.php:463 154 122 msgid "Authors Stats" 155 123 msgstr "" … … 157 125 #: stats-options.php:156 158 126 #: wp-stats-widget.php:54 159 #: wp-stats.php:475 160 #: stats/stats-options.php:153 161 #: stats/stats-widget.php:54 162 #: stats/stats.php:475 127 #: wp-stats.php:467 163 128 msgid "Authors" 164 129 msgstr "" 165 130 166 131 #: stats-options.php:161 167 #: wp-stats.php:485 168 #: stats/stats-options.php:158 169 #: stats/stats.php:485 132 #: wp-stats.php:477 170 133 msgid "Comments' Members Stats" 171 134 msgstr "" 172 135 173 136 #: stats-options.php:162 174 #: wp-stats.php:489 175 #: stats/stats-options.php:159 176 #: stats/stats.php:489 137 #: wp-stats.php:481 177 138 msgid "Comment Members" 178 139 msgstr "" 179 140 180 141 #: stats-options.php:167 181 #: wp-stats.php:499 182 #: stats/stats-options.php:164 183 #: stats/stats.php:499 142 #: wp-stats.php:491 184 143 msgid "Misc Stats" 185 144 msgstr "" … … 187 146 #: stats-options.php:168 188 147 #: wp-stats-widget.php:82 189 #: wp-stats.php:503 190 #: stats/stats-options.php:165 191 #: stats/stats-widget.php:82 192 #: stats/stats.php:503 148 #: wp-stats.php:495 193 149 msgid "Post Categories" 194 150 msgstr "" … … 196 152 #: stats-options.php:169 197 153 #: wp-stats-widget.php:86 198 #: wp-stats.php:511 199 #: stats/stats-options.php:166 200 #: stats/stats-widget.php:86 201 #: stats/stats.php:511 154 #: wp-stats.php:503 202 155 msgid "Link Categories" 203 156 msgstr "" 204 157 205 158 #: stats-options.php:170 206 #: wp-stats.php:518 207 #: stats/stats-options.php:167 208 #: stats/stats.php:518 159 #: wp-stats.php:510 209 160 msgid "Tags List" 210 161 msgstr "" 211 162 212 163 #: stats-options.php:189 213 #: stats/stats-options.php:186214 164 msgid "Deactivating WP-Stats plugin does not remove any data that may have been created, such as the stats options. To completely remove this plugin, you can uninstall it here." 215 165 msgstr "" 216 166 217 167 #: stats-options.php:192 218 #: stats/stats-options.php:189219 168 msgid "WARNING:" 220 169 msgstr "" 221 170 222 171 #: stats-options.php:193 223 #: stats/stats-options.php:190224 172 msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first." 225 173 msgstr "" 226 174 227 175 #: stats-options.php:196 228 #: stats/stats-options.php:193229 176 msgid "The following WordPress Options will be DELETED:" 230 177 msgstr "" 231 178 232 179 #: stats-options.php:200 233 #: stats/stats-options.php:197234 180 msgid "WordPress Options" 235 181 msgstr "" … … 237 183 #: stats-options.php:216 238 184 #: wp-stats-widget.php:203 239 #: stats/stats-options.php:213240 #: stats/stats-widget.php:203241 185 msgid "Yes" 242 186 msgstr "" 243 187 244 188 #: stats-options.php:217 245 #: stats/stats-options.php:214246 189 msgid "" 247 190 "You Are About To Uninstall WP-Stats From WordPress.\\n" … … 252 195 253 196 #: wp-stats-widget.php:49 254 #: wp-stats.php:409 255 #: stats/stats-widget.php:49 256 #: stats/stats.php:409 197 #: wp-stats.php:401 257 198 msgid "Total Stats" 258 199 msgstr "" 259 200 260 201 #: wp-stats-widget.php:58 261 #: stats/stats-widget.php:58262 202 msgid "Posts" 263 203 msgstr "" 264 204 265 205 #: wp-stats-widget.php:62 266 #: stats/stats-widget.php:62267 206 msgid "Pages" 268 207 msgstr "" 269 208 270 209 #: wp-stats-widget.php:66 271 #: stats/stats-widget.php:66272 210 msgid "Tags" 273 211 msgstr "" 274 212 275 213 #: wp-stats-widget.php:70 276 #: stats/stats-widget.php:70277 214 msgid "Comments" 278 215 msgstr "" 279 216 280 217 #: wp-stats-widget.php:74 281 #: stats/stats-widget.php:74282 218 msgid "Comment Posters" 283 219 msgstr "" 284 220 285 221 #: wp-stats-widget.php:78 286 #: stats/stats-widget.php:78287 222 msgid "Links" 288 223 msgstr "" 289 224 290 225 #: wp-stats-widget.php:90 291 #: stats/stats-widget.php:90292 226 msgid "Spam Blocked" 293 227 msgstr "" 294 228 295 229 #: wp-stats-widget.php:100 296 #: stats/stats-widget.php:100297 230 msgid "Most Commented" 298 231 msgstr "" 299 232 300 233 #: wp-stats-widget.php:111 301 #: stats/stats-widget.php:111302 234 msgid "My Blog Statistics" 303 235 msgstr "" 304 236 305 237 #: wp-stats-widget.php:125 306 #: stats/stats-widget.php:125307 238 msgid "Statistics" 308 239 msgstr "" 309 240 310 241 #: wp-stats-widget.php:153 311 #: stats/stats-widget.php:153312 242 msgid "Widget Title" 313 243 msgstr "" 314 244 315 245 #: wp-stats-widget.php:154 316 #: stats/stats-widget.php:154317 246 msgid "Statistics To Display?" 318 247 msgstr "" 319 248 320 249 #: wp-stats-widget.php:158 321 #: stats/stats-widget.php:158322 250 msgid "Total Authors" 323 251 msgstr "" 324 252 325 253 #: wp-stats-widget.php:161 326 #: stats/stats-widget.php:161327 254 msgid "Total Posts" 328 255 msgstr "" 329 256 330 257 #: wp-stats-widget.php:164 331 #: stats/stats-widget.php:164332 258 msgid "Total Pages" 333 259 msgstr "" 334 260 335 261 #: wp-stats-widget.php:167 336 #: stats/stats-widget.php:167337 262 msgid "Total Tags" 338 263 msgstr "" 339 264 340 265 #: wp-stats-widget.php:170 341 #: stats/stats-widget.php:170342 266 msgid "Total Comments" 343 267 msgstr "" 344 268 345 269 #: wp-stats-widget.php:173 346 #: stats/stats-widget.php:173347 270 msgid "Total Comment Posters" 348 271 msgstr "" 349 272 350 273 #: wp-stats-widget.php:176 351 #: stats/stats-widget.php:176352 274 msgid "Total Links" 353 275 msgstr "" 354 276 355 277 #: wp-stats-widget.php:179 356 #: stats/stats-widget.php:179357 278 msgid "Total Post Categories" 358 279 msgstr "" 359 280 360 281 #: wp-stats-widget.php:182 361 #: stats/stats-widget.php:182362 282 msgid "Total Link Categories" 363 283 msgstr "" 364 284 365 285 #: wp-stats-widget.php:186 366 #: stats/stats-widget.php:186367 286 msgid "Total Spam Blocked" 368 287 msgstr "" 369 288 370 289 #: wp-stats-widget.php:195 371 #: stats/stats-widget.php:195372 290 msgid "Post Title Length (Characters)" 373 291 msgstr "" 374 292 375 293 #: wp-stats-widget.php:197 376 #: stats/stats-widget.php:197377 294 msgid "Most Limit" 378 295 msgstr "" 379 296 380 297 #: wp-stats-widget.php:199 381 #: stats/stats-widget.php:199382 298 msgid "Show Link To Full Stats?" 383 299 msgstr "" 384 300 385 301 #: wp-stats-widget.php:205 386 #: stats/stats-widget.php:205387 302 msgid "No" 388 303 msgstr "" 389 304 390 305 #: wp-stats.php:42 391 #: stats/stats.php:42392 306 msgid "WP-Stats" 393 307 msgstr "" 394 308 395 309 #: wp-stats.php:45 396 #: stats/stats.php:45397 310 msgid "Stats" 398 311 msgstr "" 399 312 400 313 #: wp-stats.php:145 401 #: stats/stats.php:145402 314 #, php-format 403 315 msgid "View post %s" … … 409 321 #: wp-stats.php:249 410 322 #: wp-stats.php:282 411 #: stats/stats.php:148412 #: stats/stats.php:177413 #: stats/stats.php:213414 #: stats/stats.php:249415 #: stats/stats.php:282416 323 msgid "N/A" 417 324 msgstr "" … … 420 327 #: wp-stats.php:203 421 328 #: wp-stats.php:209 422 #: stats/stats.php:174423 #: stats/stats.php:203424 #: stats/stats.php:209425 329 #, php-format 426 330 msgid "View comments in post %s" … … 429 333 #: wp-stats.php:203 430 334 #: wp-stats.php:209 431 #: stats/stats.php:203432 #: stats/stats.php:209433 335 msgid "comments" 434 336 msgstr "" … … 436 338 #: wp-stats.php:243 437 339 #: wp-stats.php:245 438 #: stats/stats.php:243439 #: stats/stats.php:245440 340 #, php-format 441 341 msgid "View posts posted by %s" … … 443 343 444 344 #: wp-stats.php:275 445 #: stats/stats.php:275446 345 #, php-format 447 346 msgid "View all comments posted by %s" … … 449 348 450 349 #: wp-stats.php:299 451 #: stats/stats.php:299452 350 msgid "No categories" 453 351 msgstr "" 454 352 455 353 #: wp-stats.php:336 456 #: stats/stats.php:336457 354 #, php-format 458 355 msgid "%s topics" 459 356 msgstr "" 460 357 358 #: wp-stats.php:403 359 msgid "authors to this blog." 360 msgstr "" 361 362 #: wp-stats.php:404 363 msgid "posts were posted." 364 msgstr "" 365 366 #: wp-stats.php:405 367 msgid "pages were created." 368 msgstr "" 369 370 #: wp-stats.php:406 371 msgid "tags were created." 372 msgstr "" 373 374 #: wp-stats.php:407 375 msgid "comments were posted." 376 msgstr "" 377 378 #: wp-stats.php:408 379 msgid "different nicknames were represented in the comments." 380 msgstr "" 381 382 #: wp-stats.php:409 383 msgid "links were added." 384 msgstr "" 385 386 #: wp-stats.php:410 387 msgid "post categories were needed." 388 msgstr "" 389 461 390 #: wp-stats.php:411 462 #: stats/stats.php:411 463 msgid "authors to this blog." 464 msgstr "" 465 466 #: wp-stats.php:412 467 #: stats/stats.php:412 468 msgid "posts were posted." 391 msgid "link categories were needed." 469 392 msgstr "" 470 393 471 394 #: wp-stats.php:413 472 #: stats/stats.php:413 473 msgid "pages were created." 474 msgstr "" 475 476 #: wp-stats.php:414 477 #: stats/stats.php:414 478 msgid "tags were created." 479 msgstr "" 480 481 #: wp-stats.php:415 482 #: stats/stats.php:415 483 msgid "comments were posted." 484 msgstr "" 485 486 #: wp-stats.php:416 487 #: stats/stats.php:416 488 msgid "different nicknames were represented in the comments." 489 msgstr "" 490 491 #: wp-stats.php:417 492 #: stats/stats.php:417 493 msgid "links were added." 494 msgstr "" 495 496 #: wp-stats.php:418 497 #: stats/stats.php:418 498 msgid "post categories were needed." 499 msgstr "" 500 501 #: wp-stats.php:419 502 #: stats/stats.php:419 503 msgid "link categories were needed." 395 msgid "spam blocked." 504 396 msgstr "" 505 397 506 398 #: wp-stats.php:421 507 #: stats/stats.php:421508 msgid "spam blocked."509 msgstr ""510 511 #: wp-stats.php:429512 #: stats/stats.php:429513 399 msgid "Plugins Stats" 514 400 msgstr "" 515 401 402 #: wp-stats.php:431 403 msgid "Recent Posts" 404 msgstr "" 405 516 406 #: wp-stats.php:439 517 #: stats/stats.php:439518 msgid "Recent Posts"519 msgstr ""520 521 #: wp-stats.php:447522 #: stats/stats.php:447523 407 msgid "Recent Comments" 524 408 msgstr "" 525 409 526 #: wp-stats.php:461 527 #: stats/stats.php:461 410 #: wp-stats.php:453 528 411 msgid "Most Commented Post" 529 412 msgstr "" 530 413 531 #: wp-stats.php:551 532 #: stats/stats.php:551 414 #: wp-stats.php:543 533 415 msgid "Comments Posted By" 534 416 msgstr "" 535 417 418 #: wp-stats.php:544 419 #, php-format 420 msgid "Displaying <strong>%s</strong> To <strong>%s</strong> Of <strong>%s</strong> Comments" 421 msgstr "" 422 536 423 #: wp-stats.php:552 537 #: stats/stats.php:552 538 #, php-format 539 msgid "Displaying <strong>%s</strong> To <strong>%s</strong> Of <strong>%s</strong> Comments" 540 msgstr "" 541 542 #: wp-stats.php:560 424 #: wp-stats.php:554 425 #, php-format 426 msgid "%s @ %s" 427 msgstr "" 428 429 #: wp-stats.php:561 430 #: wp-stats.php:567 431 msgid "Posted On" 432 msgstr "" 433 434 #: wp-stats.php:561 435 msgid "Protected" 436 msgstr "" 437 543 438 #: wp-stats.php:562 544 #: stats/stats.php:560 545 #: stats/stats.php:562 546 #, php-format 547 msgid "%s @ %s" 439 msgid "Comments Protected" 548 440 msgstr "" 549 441 550 442 #: wp-stats.php:569 551 #: wp-stats.php:575 552 #: stats/stats.php:569 553 #: stats/stats.php:575 554 msgid "Posted On" 443 #, php-format 444 msgid "View the comment posted by %s" 555 445 msgstr "" 556 446 557 447 #: wp-stats.php:569 558 #: stats/stats.php:569559 msgid "Protected"560 msgstr ""561 562 #: wp-stats.php:570563 #: stats/stats.php:570564 msgid "Comments Protected"565 msgstr ""566 567 #: wp-stats.php:577568 #: stats/stats.php:577569 #, php-format570 msgid "View the comment posted by %s"571 msgstr ""572 573 #: wp-stats.php:577574 #: stats/stats.php:577575 448 msgid "Posted By" 576 449 msgstr "" 577 450 578 #: wp-stats.php:577 579 #: stats/stats.php:577 451 #: wp-stats.php:569 580 452 msgid "On" 581 453 msgstr "" 582 454 583 #: wp-stats.php:582 584 #: stats/stats.php:582 455 #: wp-stats.php:574 585 456 msgid "has not made any comments yet." 586 457 msgstr "" 587 458 459 #: wp-stats.php:583 460 msgid "Previous Page" 461 msgstr "" 462 588 463 #: wp-stats.php:591 589 #: stats/stats.php:591590 msgid "Previous Page"591 msgstr ""592 593 #: wp-stats.php:599594 #: stats/stats.php:599595 464 msgid "Next Page" 596 465 msgstr "" 597 466 598 #: wp-stats.php:608 599 #: stats/stats.php:608 467 #: wp-stats.php:600 600 468 #, php-format 601 469 msgid "Pages (%s)" 602 470 msgstr "" 603 471 604 #: wp-stats.php:610 605 #: stats/stats.php:610 472 #: wp-stats.php:602 606 473 msgid "Go to First Page" 607 474 msgstr "" 608 475 609 #: wp-stats.php:610 610 #: stats/stats.php:610 476 #: wp-stats.php:602 611 477 msgid "First" 612 478 msgstr "" 613 479 614 #: wp-stats.php:613 615 #: wp-stats.php:625 616 #: stats/stats.php:613 617 #: stats/stats.php:625 480 #: wp-stats.php:605 481 #: wp-stats.php:617 618 482 msgid "Go to Page" 619 483 msgstr "" 620 484 485 #: wp-stats.php:612 486 msgid "Page" 487 msgstr "" 488 621 489 #: wp-stats.php:620 622 #: stats/stats.php:620623 msgid "Page"624 msgstr ""625 626 #: wp-stats.php:628627 #: stats/stats.php:628628 490 msgid "Go to Last Page" 629 491 msgstr "" 630 492 631 #: wp-stats.php:628 632 #: stats/stats.php:628 493 #: wp-stats.php:620 633 494 msgid "Last" 634 495 msgstr "" 635 496 636 #: wp-stats.php:632 637 #: stats/stats.php:632 497 #: wp-stats.php:624 638 498 msgid "Back To Stats Page" 639 499 msgstr "" 640 500 641 #: stats/stats-options.php:31642 #: stats/stats-options.php:176643 msgid "Update Options"644 msgstr ""645
