WordPress.org

Plugin Directory

Changeset 121004


Ignore:
Timestamp:
05/28/09 05:14:40 (9 years ago)
Author:
SriniG
Message:

Updating to version 1.3. Tagging v1.2.8

Location:
quotes-collection
Files:
4 added
25 edited
16 copied

Legend:

Unmodified
Added
Removed
  • quotes-collection/trunk/languages/quotes-collection-fa_IR.po

    r110379 r121004  
     1# Quotes Collection plugin for WordPress: Localization template. 
     2# Copyright (C) 2009 Srini G 
     3# This file is distributed under the same license as the Quotes Collection package. 
     4# Srini G <srinig.com@gmail.com>, 2009. 
     5# 
    16msgid "" 
    27msgstr "" 
    3 "Project-Id-Version: Quotes Collection 1.1.2\n" 
     8"Project-Id-Version: Quotes Collection 1.3\n" 
    49"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n" 
    5 "POT-Creation-Date: 2008-05-24 14:49+0530\n" 
    6 "PO-Revision-Date: 2009-04-09 10:47+0330\n" 
    7 "Last-Translator: Ehsan SH <mastaaneh@gmail.com>\n" 
     10"POT-Creation-Date: 2009-05-25 10:15+0530\n" 
     11"PO-Revision-Date: 2009-05-26 01:34+0330\n" 
     12"Last-Translator: Ehsan Shahinfar <eshahinfar@gmail.com>\n" 
    813"Language-Team: \n" 
    914"MIME-Version: 1.0\n" 
    10 "Content-Type: text/plain; charset=UTF-8\n" 
     15"Content-Type: text/plain; charset=utf-8\n" 
    1116"Content-Transfer-Encoding: 8bit\n" 
    1217"Plural-Forms: nplurals=2; plural=n != 1;\n" 
    1318"X-Poedit-Language: Persian\n" 
    14 "X-Poedit-Country: IRAN, ISLAMIC REPUBLIC OF\n" 
     19"X-Poedit-Basepath: C:\\Documents and Settings\\Ehsan\\Desktop\\quotes-collection\n" 
    1520"X-Poedit-SourceCharset: utf-8\n" 
    1621"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n" 
    17  
    18 #: quotes-collection.php:60 
    19 #: quotes-collection.php:96 
    20 #: quotes-collection.php:100 
     22"X-Poedit-SearchPath-0: C:\\Documents and Settings\\Ehsan\\Desktop\\quotes-collection\n" 
     23 
     24#: quotes-collection.php:62 
     25#: quotes-collection.php:175 
     26#: quotes-collection.php:179 
    2127msgid "Next quote" 
    22 msgstr "جمله بعدی" 
    23  
    24 #: quotes-collection.php:61 
     28msgstr "عبارت بعدی" 
     29 
     30#: quotes-collection.php:63 
    2531msgid "Loading..." 
    2632msgstr "در حال بارگذاری ..." 
    2733 
    28 #: quotes-collection.php:62 
     34#: quotes-collection.php:64 
    2935msgid "Error getting quote" 
    30 msgstr "اشکال در دریافت جمله" 
    31  
    32 #: quotes-collection.php:120 
    33 #: quotes-collection.php:137 
     36msgstr "اشکال در دیافت عبارت" 
     37 
     38#: quotes-collection.php:200 
     39#: quotes-collection.php:221 
    3440msgid "Random Quote" 
    3541msgstr "عبارت تصادفی" 
    3642 
    37 #: quotes-collection.php:164 
     43#: quotes-collection.php:242 
     44msgid "none" 
     45msgstr "هیچکدام" 
     46 
     47#: quotes-collection.php:253 
    3848msgid "Title" 
    3949msgstr "عنوان" 
    4050 
    41 #: quotes-collection.php:165 
     51#: quotes-collection.php:254 
    4252msgid "Show author?" 
    4353msgstr "نام نویسنده نمایش داده شود؟" 
    4454 
    45 #: quotes-collection.php:166 
     55#: quotes-collection.php:255 
    4656msgid "Show source?" 
    4757msgstr "نام منبع نمایش داده شود؟" 
    4858 
    49 #: quotes-collection.php:167 
     59#: quotes-collection.php:256 
    5060msgid "Ajax refresh feature" 
    5161msgstr "امکان بارگذاری مجدد عبارت توسط آژاکس" 
    5262 
    53 #: quotes-collection.php:169 
    54 msgid "Manage your collection of quotes at" 
    55 msgstr "مدیریت عبارات شما در" 
    56  
    57 #: quotes-collection.php:169 
    58 msgid "Manage" 
    59 msgstr "مدیریت" 
    60  
    61 #: quotes-collection.php:186 
     63#: quotes-collection.php:257 
     64msgid "Tags filter" 
     65msgstr "فیلتر برچسب‌ها" 
     66 
     67#: quotes-collection.php:257 
     68msgid "Comma separated" 
     69msgstr "توسط کاما جدا شود" 
     70 
     71#: quotes-collection.php:258 
     72msgid "Character limit" 
     73msgstr "محدودیت کاراکتر" 
     74 
     75#: quotes-collection.php:260 
     76msgid "Click here" 
     77msgstr "اینجا را کلیک کن" 
     78 
     79#: quotes-collection.php:260 
     80msgid "to manage your collection of quotes" 
     81msgstr "تا به بخش مدیریت عبارات منتقل شوی" 
     82 
     83#: quotes-collection.php:277 
    6284msgid "Nothing added to the database." 
    6385msgstr "چیزی به پایگاه داده اضافه نشد." 
    6486 
    65 #: quotes-collection.php:190 
    66 #: quotes-collection.php:228 
     87#: quotes-collection.php:281 
     88#: quotes-collection.php:319 
    6789msgid "Database table not found" 
    6890msgstr "جدول پایگاه داده یافت نشد." 
    6991 
    70 #: quotes-collection.php:215 
    71 #: quotes-collection.php:258 
    72 #: quotes-collection.php:272 
     92#: quotes-collection.php:306 
     93#: quotes-collection.php:349 
     94#: quotes-collection.php:363 
    7395msgid "There was an error in the MySQL query" 
    7496msgstr "اشکالی در MySQL query موجود است." 
    7597 
    76 #: quotes-collection.php:217 
     98#: quotes-collection.php:308 
    7799msgid "Quote added" 
    78100msgstr "عبارت اضافه شد." 
    79101 
    80 #: quotes-collection.php:223 
     102#: quotes-collection.php:314 
    81103msgid "Quote not updated." 
    82 msgstr "عبارت به روز نشد." 
    83  
    84 #: quotes-collection.php:260 
     104msgstr "عبارت به روز رسانی نشد." 
     105 
     106#: quotes-collection.php:351 
    85107msgid "Changes saved" 
    86108msgstr "تغییرات ذخیره شد." 
    87109 
    88 #: quotes-collection.php:274 
     110#: quotes-collection.php:365 
    89111msgid "Quote deleted" 
    90112msgstr "عبارت پاک شد." 
    91113 
    92 #: quotes-collection.php:276 
     114#: quotes-collection.php:367 
    93115msgid "The quote cannot be deleted" 
    94116msgstr "عبارت نمی‌تواند پاک شود." 
    95117 
    96 #: quotes-collection.php:292 
    97 #: quotes-collection.php:385 
     118#: quotes-collection.php:383 
     119#: quotes-collection.php:477 
    98120msgid "Add Quote" 
    99121msgstr "اضافه کن" 
    100122 
    101 #: quotes-collection.php:308 
    102 #: quotes-collection.php:389 
     123#: quotes-collection.php:399 
     124#: quotes-collection.php:481 
    103125msgid "Save changes" 
    104126msgstr "ذخیره تغییرات" 
    105127 
    106 #: quotes-collection.php:309 
     128#: quotes-collection.php:400 
    107129msgid "Back" 
    108130msgstr "بازگشت" 
    109131 
    110 #: quotes-collection.php:313 
    111 #: quotes-collection.php:491 
     132#: quotes-collection.php:404 
     133#: quotes-collection.php:587 
    112134msgid "The quote" 
    113135msgstr "عبارت" 
    114136 
    115 #: quotes-collection.php:314 
    116 #: quotes-collection.php:477 
    117 #: quotes-collection.php:493 
     137#: quotes-collection.php:405 
     138#: quotes-collection.php:570 
     139#: quotes-collection.php:589 
    118140msgid "Author" 
    119141msgstr "نویسنده" 
    120142 
    121 #: quotes-collection.php:315 
    122 #: quotes-collection.php:478 
    123 #: quotes-collection.php:493 
     143#: quotes-collection.php:406 
     144#: quotes-collection.php:571 
     145#: quotes-collection.php:589 
    124146msgid "Source" 
    125147msgstr "منبع" 
    126148 
    127 #: quotes-collection.php:316 
    128 #: quotes-collection.php:495 
     149#: quotes-collection.php:407 
     150#: quotes-collection.php:591 
    129151msgid "Tags" 
    130152msgstr "برچسب" 
    131153 
    132 #: quotes-collection.php:317 
    133 #: quotes-collection.php:496 
     154#: quotes-collection.php:408 
     155#: quotes-collection.php:592 
    134156msgid "Visible?" 
    135157msgstr "نمایان" 
    136158 
    137 #: quotes-collection.php:318 
     159#: quotes-collection.php:409 
    138160msgid "optional" 
    139161msgstr "انتخابی" 
    140162 
    141 #: quotes-collection.php:319 
     163#: quotes-collection.php:410 
    142164msgid "comma separated" 
    143165msgstr "توسط کاما جدا شود" 
    144166 
    145 #: quotes-collection.php:355 
    146 #: quotes-collection.php:368 
     167#: quotes-collection.php:447 
     168#: quotes-collection.php:460 
    147169msgid "Nothing done!" 
    148170msgstr "چیزی انجام نشد!" 
    149171 
    150 #: quotes-collection.php:362 
     172#: quotes-collection.php:454 
    151173#, php-format 
    152174msgid "Visibility status of selected quotes set to '%s'" 
    153175msgstr "تغییر حالت نمایش عبارت انتخاب شده به '%s'" 
    154176 
    155 #: quotes-collection.php:373 
     177#: quotes-collection.php:465 
    156178msgid "Quote(s) deleted" 
    157179msgstr "عبارت(ها) پاک شد." 
    158180 
    159 #: quotes-collection.php:394 
     181#: quotes-collection.php:486 
    160182msgid "Edit quote" 
    161183msgstr "ویرایش عبارت" 
    162184 
    163 #: quotes-collection.php:404 
    164 #: quotes-collection.php:455 
    165 #: quotes-collection.php:469 
    166 #: quotes-collection.php:505 
     185#: quotes-collection.php:496 
     186#: quotes-collection.php:547 
     187#: quotes-collection.php:562 
     188#: quotes-collection.php:601 
    167189msgid "Delete" 
    168190msgstr "پاک کردن" 
    169191 
    170 #: quotes-collection.php:406 
    171 #: quotes-collection.php:470 
    172 #: quotes-collection.php:506 
     192#: quotes-collection.php:498 
     193#: quotes-collection.php:563 
     194#: quotes-collection.php:602 
    173195msgid "Make visible" 
    174196msgstr "قابل روئیت شود" 
    175197 
    176 #: quotes-collection.php:409 
    177 #: quotes-collection.php:471 
    178 #: quotes-collection.php:507 
     198#: quotes-collection.php:501 
     199#: quotes-collection.php:564 
     200#: quotes-collection.php:603 
    179201msgid "Make invisible" 
    180 msgstr "مخفی شود" 
    181  
    182 #: quotes-collection.php:454 
     202msgstr "پنهان شود" 
     203 
     204#: quotes-collection.php:546 
    183205msgid "Edit" 
    184206msgstr "ویرایش" 
    185207 
    186 #: quotes-collection.php:455 
     208#: quotes-collection.php:547 
    187209msgid "Are you sure you want to delete this quote?" 
    188210msgstr "آیا برای پاک کردن این عبارت مطمئن هستید؟" 
    189211 
    190 #: quotes-collection.php:462 
     212#: quotes-collection.php:554 
    191213#, php-format 
    192214msgid "Currently, you have %d quote." 
     
    195217msgstr[1] "تا کنون %d عبارت نوشته شده است." 
    196218 
    197 #: quotes-collection.php:464 
    198 #: quotes-collection.php:521 
     219#: quotes-collection.php:556 
     220#: quotes-collection.php:618 
    199221msgid "Add new quote" 
    200222msgstr "عبارت جدیدی اضافه نمایید." 
    201223 
    202 #: quotes-collection.php:473 
     224#: quotes-collection.php:566 
    203225msgid "Sort by: " 
    204226msgstr "مرتب کردن بر اساس:" 
    205227 
    206 #: quotes-collection.php:475 
    207 #: quotes-collection.php:476 
     228#: quotes-collection.php:568 
     229#: quotes-collection.php:569 
    208230msgid "Quote" 
    209231msgstr "عبارت" 
    210232 
    211 #: quotes-collection.php:479 
     233#: quotes-collection.php:572 
    212234msgid "Date added" 
    213235msgstr "زمان اضافه شدن" 
    214236 
    215 #: quotes-collection.php:480 
     237#: quotes-collection.php:573 
    216238msgid "Date updated" 
    217239msgstr "زمان به روز رسانی" 
    218240 
    219 #: quotes-collection.php:481 
     241#: quotes-collection.php:574 
    220242msgid "Visibility" 
    221243msgstr "وضعیت نماش" 
    222244 
    223 #: quotes-collection.php:484 
     245#: quotes-collection.php:577 
    224246msgid "Go" 
    225247msgstr "برو" 
    226248 
    227 #: quotes-collection.php:497 
     249#: quotes-collection.php:593 
    228250msgid "Action" 
    229251msgstr "فعالیت" 
    230252 
    231 #: quotes-collection.php:515 
     253#: quotes-collection.php:612 
    232254msgid "No quotes in the database" 
    233255msgstr "هیچ عبارتی در پایگاه داده موجود نیست." 
    234256 
    235 #~ msgid "from" 
    236 #~ msgstr "aus" 
    237  
  • quotes-collection/trunk/languages/quotes-collection-fr_FR.po

    r65792 r121004  
    44"Report-Msgid-Bugs-To: \n" 
    55"POT-Creation-Date: 2008-04-22 22:08+0100\n" 
    6 "PO-Revision-Date: 2008-09-02 03:42+0100\n" 
     6"PO-Revision-Date: 2009-05-27 10:02+0530\n" 
    77"Last-Translator: psykotik <psykotik@ikiru.ch>\n" 
    88"Language-Team: www.ikiru.ch/blog <psykotik@ikiru.ch>\n" 
     
    164164msgstr[1] "Actuellement, vous avez %d citations." 
    165165 
     166#: quotes-collection.php:257 
     167msgid "Tags filter" 
     168msgstr "Filtre de tags" 
     169 
     170#: quotes-collection.php:257 
     171msgid "Comma separated" 
     172msgstr "Séparé par virgule" 
     173 
     174#: quotes-collection.php:258 
     175msgid "Character limit" 
     176msgstr "Limite des charactères" 
     177 
     178#: quotes-collection.php:260 
     179msgid "Click here" 
     180msgstr "Cliquez ici" 
     181 
     182#: quotes-collection.php:260 
     183msgid "to manage your collection of quotes" 
     184msgstr "pour gérer votre collection de citations" 
     185 
  • quotes-collection/trunk/languages/quotes-collection-hr_HR.po

    r91785 r121004  
    44"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n" 
    55"POT-Creation-Date: 2009-01-16 14:49+0530\n" 
    6 "PO-Revision-Date: 2009-01-16 12:30+0530\n" 
     6"PO-Revision-Date: 2009-05-27 09:52+0530\n" 
    77"Last-Translator: 1984da <1984da@gmail.com>\n" 
    88"Language-Team: CROATIAN <LL@li.org>\n" 
     
    209209msgid "No quotes in the database" 
    210210msgstr "Nema citata u bazi" 
     211 
     212#: quotes-collection.php:257 
     213msgid "Tags filter" 
     214msgstr "Filter oznaka" 
     215 
     216 
     217#: quotes-collection.php:257 
     218msgid "Comma separated" 
     219msgstr "Odvojeno zarezom" 
     220 
     221 
     222#: quotes-collection.php:258 
     223msgid "Character limit" 
     224msgstr "Ogranicenje znakova" 
     225 
     226 
     227#: quotes-collection.php:260 
     228msgid "Click here" 
     229msgstr "Kliknite ovdje" 
     230 
     231 
     232#: quotes-collection.php:260 
     233msgid "to manage your collection of quotes" 
     234msgstr "kako bi upravljali svojom kolekcijom citata" 
  • quotes-collection/trunk/languages/quotes-collection-it_IT.po

    r52755 r121004  
    11msgid "" 
    22msgstr "" 
    3 "Project-Id-Version: Quotes Collection 1.1 in Italiano\n" 
     3"Project-Id-Version: Quotes Collection in Italiano\n" 
    44"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n" 
    5 "POT-Creation-Date: 2008-05-24 14:49+0530\n" 
    6 "PO-Revision-Date: 2008-06-01 17:53+0100\n" 
     5"POT-Creation-Date: 2009-05-25 10:15+0530\n" 
     6"PO-Revision-Date: 2009-05-25 13:00+0100\n" 
    77"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n" 
    88"Language-Team: gidibao.net <gidibao@gmail.com>\n" 
     
    1616"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n" 
    1717 
    18 #: quotes-collection.php:60 
    19 #: quotes-collection.php:96 
    20 #: quotes-collection.php:100 
     18#: quotes-collection.php:62 
     19#: quotes-collection.php:175 
     20#: quotes-collection.php:179 
    2121msgid "Next quote" 
    2222msgstr "Vai alla prossima citazione" 
    2323 
    24 #: quotes-collection.php:61 
     24#: quotes-collection.php:63 
    2525msgid "Loading..." 
    2626msgstr "Un attimo..." 
    2727 
    28 #: quotes-collection.php:62 
     28#: quotes-collection.php:64 
    2929msgid "Error getting quote" 
    3030msgstr "Si é verificato un errore" 
    3131 
    32 #: quotes-collection.php:120 
    33 #: quotes-collection.php:137 
     32#: quotes-collection.php:200 
     33#: quotes-collection.php:221 
    3434msgid "Random Quote" 
    3535msgstr "Citazioni a caso" 
    3636 
    37 #: quotes-collection.php:164 
     37#: quotes-collection.php:242 
     38msgid "none" 
     39msgstr "nessuna" 
     40 
     41#: quotes-collection.php:253 
    3842msgid "Title" 
    3943msgstr "Titolo" 
    4044 
    41 #: quotes-collection.php:165 
     45#: quotes-collection.php:254 
    4246msgid "Show author?" 
    4347msgstr "Desideri mostrare l'autore?" 
    4448 
    45 #: quotes-collection.php:166 
     49#: quotes-collection.php:255 
    4650msgid "Show source?" 
    4751msgstr "Desideri mostrare la fonte?" 
    4852 
    49 #: quotes-collection.php:167 
     53#: quotes-collection.php:256 
    5054msgid "Ajax refresh feature" 
    5155msgstr "Funzione di ricarica Ajax" 
    5256 
    53 #: quotes-collection.php:169 
    54 msgid "Manage your collection of quotes at" 
    55 msgstr "Gestisci la tua collezione di citazioni" 
    56  
    57 #: quotes-collection.php:169 
    58 msgid "Manage" 
    59 msgstr "Gestione" 
    60  
    61 #: quotes-collection.php:186 
     57#: quotes-collection.php:257 
     58msgid "Tags filter" 
     59msgstr "Filtro tag" 
     60 
     61#: quotes-collection.php:257 
     62msgid "Comma separated" 
     63msgstr "separa con una virgola" 
     64 
     65#: quotes-collection.php:258 
     66msgid "Character limit" 
     67msgstr "Limite caratteri:" 
     68 
     69#: quotes-collection.php:260 
     70msgid "Click here" 
     71msgstr "Clicca qui" 
     72 
     73#: quotes-collection.php:260 
     74msgid "to manage your collection of quotes" 
     75msgstr "per la gestione della tua collezione di citazioni" 
     76 
     77#: quotes-collection.php:277 
    6278msgid "Nothing added to the database." 
    6379msgstr "Non é stato aggiunto nulla al database." 
    6480 
    65 #: quotes-collection.php:190 
    66 #: quotes-collection.php:228 
     81#: quotes-collection.php:281 
     82#: quotes-collection.php:319 
    6783msgid "Database table not found" 
    6884msgstr "Non é stata trovata la tabella del database" 
    6985 
    70 #: quotes-collection.php:215 
    71 #: quotes-collection.php:258 
    72 #: quotes-collection.php:272 
     86#: quotes-collection.php:306 
     87#: quotes-collection.php:349 
     88#: quotes-collection.php:363 
    7389msgid "There was an error in the MySQL query" 
    7490msgstr "Si é verificato un errore nella richiesta MySQL" 
    7591 
    76 #: quotes-collection.php:217 
     92#: quotes-collection.php:308 
    7793msgid "Quote added" 
    7894msgstr "La citazione é stata aggiunta" 
    7995 
    80 #: quotes-collection.php:223 
     96#: quotes-collection.php:314 
    8197msgid "Quote not updated." 
    8298msgstr "La citazione non é stata aggiornata." 
    8399 
    84 #: quotes-collection.php:260 
     100#: quotes-collection.php:351 
    85101msgid "Changes saved" 
    86102msgstr "Le modifiche sono state salvate" 
    87103 
    88 #: quotes-collection.php:274 
     104#: quotes-collection.php:365 
    89105msgid "Quote deleted" 
    90106msgstr "La citazione é stata cancellata" 
    91107 
    92 #: quotes-collection.php:276 
     108#: quotes-collection.php:367 
    93109msgid "The quote cannot be deleted" 
    94110msgstr "La citazione non può essere cancellata" 
    95111 
    96 #: quotes-collection.php:292 
    97 #: quotes-collection.php:385 
     112#: quotes-collection.php:383 
     113#: quotes-collection.php:477 
    98114msgid "Add Quote" 
    99115msgstr "Aggiungi la citazione" 
    100116 
    101 #: quotes-collection.php:308 
    102 #: quotes-collection.php:389 
     117#: quotes-collection.php:399 
     118#: quotes-collection.php:481 
    103119msgid "Save changes" 
    104120msgstr "Salva le modifiche" 
    105121 
    106 #: quotes-collection.php:309 
     122#: quotes-collection.php:400 
    107123msgid "Back" 
    108124msgstr "Ritorna indietro" 
    109125 
    110 #: quotes-collection.php:313 
    111 #: quotes-collection.php:491 
     126#: quotes-collection.php:404 
     127#: quotes-collection.php:587 
    112128msgid "The quote" 
    113129msgstr "Citazione" 
    114130 
    115 #: quotes-collection.php:314 
    116 #: quotes-collection.php:477 
    117 #: quotes-collection.php:493 
     131#: quotes-collection.php:405 
     132#: quotes-collection.php:570 
     133#: quotes-collection.php:589 
    118134msgid "Author" 
    119135msgstr "Autore" 
    120136 
    121 #: quotes-collection.php:315 
    122 #: quotes-collection.php:478 
    123 #: quotes-collection.php:493 
     137#: quotes-collection.php:406 
     138#: quotes-collection.php:571 
     139#: quotes-collection.php:589 
    124140msgid "Source" 
    125141msgstr "Fonte" 
    126142 
    127 #: quotes-collection.php:316 
    128 #: quotes-collection.php:495 
     143#: quotes-collection.php:407 
     144#: quotes-collection.php:591 
    129145msgid "Tags" 
    130146msgstr "Tags" 
    131147 
    132 #: quotes-collection.php:317 
    133 #: quotes-collection.php:496 
     148#: quotes-collection.php:408 
     149#: quotes-collection.php:592 
    134150msgid "Visible?" 
    135151msgstr "Desideri che sia visibile?" 
    136152 
    137 #: quotes-collection.php:318 
     153#: quotes-collection.php:409 
    138154msgid "optional" 
    139155msgstr "facoltativo" 
    140156 
    141 #: quotes-collection.php:319 
     157#: quotes-collection.php:410 
    142158msgid "comma separated" 
    143159msgstr "separa con una virgola" 
    144160 
    145 #: quotes-collection.php:355 
    146 #: quotes-collection.php:368 
     161#: quotes-collection.php:447 
     162#: quotes-collection.php:460 
    147163msgid "Nothing done!" 
    148164msgstr "Non ho fatto nulla!" 
    149165 
    150 #: quotes-collection.php:362 
     166#: quotes-collection.php:454 
    151167#, php-format 
    152168msgid "Visibility status of selected quotes set to '%s'" 
    153169msgstr "Lo stato di visibilità delle citazioni selezionate é impostato come '%s'" 
    154170 
    155 #: quotes-collection.php:373 
     171#: quotes-collection.php:465 
    156172msgid "Quote(s) deleted" 
    157173msgstr "Citazione(i) cancellata(e)" 
    158174 
    159 #: quotes-collection.php:394 
     175#: quotes-collection.php:486 
    160176msgid "Edit quote" 
    161177msgstr "Modifica la citazione" 
    162178 
    163 #: quotes-collection.php:404 
    164 #: quotes-collection.php:455 
    165 #: quotes-collection.php:469 
    166 #: quotes-collection.php:505 
     179#: quotes-collection.php:496 
     180#: quotes-collection.php:547 
     181#: quotes-collection.php:562 
     182#: quotes-collection.php:601 
    167183msgid "Delete" 
    168184msgstr "Cancella" 
    169185 
    170 #: quotes-collection.php:406 
    171 #: quotes-collection.php:470 
    172 #: quotes-collection.php:506 
     186#: quotes-collection.php:498 
     187#: quotes-collection.php:563 
     188#: quotes-collection.php:602 
    173189msgid "Make visible" 
    174190msgstr "Rendi visibile" 
    175191 
    176 #: quotes-collection.php:409 
    177 #: quotes-collection.php:471 
    178 #: quotes-collection.php:507 
     192#: quotes-collection.php:501 
     193#: quotes-collection.php:564 
     194#: quotes-collection.php:603 
    179195msgid "Make invisible" 
    180196msgstr "Nascondi" 
    181197 
    182 #: quotes-collection.php:454 
     198#: quotes-collection.php:546 
    183199msgid "Edit" 
    184200msgstr "Modifica" 
    185201 
    186 #: quotes-collection.php:455 
     202#: quotes-collection.php:547 
    187203msgid "Are you sure you want to delete this quote?" 
    188204msgstr "Sei certo di volere cancellare questa citazione?" 
    189205 
    190 #: quotes-collection.php:462 
     206#: quotes-collection.php:554 
    191207#, php-format 
    192208msgid "Currently, you have %d quote." 
     
    195211msgstr[1] "Al momento, hai %d citazioni disponibili." 
    196212 
    197 #: quotes-collection.php:464 
    198 #: quotes-collection.php:521 
     213#: quotes-collection.php:556 
     214#: quotes-collection.php:618 
    199215msgid "Add new quote" 
    200216msgstr "Aggiungi una nuova citazione" 
    201217 
    202 #: quotes-collection.php:473 
     218#: quotes-collection.php:566 
    203219msgid "Sort by: " 
    204220msgstr "Disponi per: " 
    205221 
    206 #: quotes-collection.php:475 
    207 #: quotes-collection.php:476 
     222#: quotes-collection.php:568 
     223#: quotes-collection.php:569 
    208224msgid "Quote" 
    209225msgstr "Citazione" 
    210226 
    211 #: quotes-collection.php:479 
     227#: quotes-collection.php:572 
    212228msgid "Date added" 
    213229msgstr "Data di inserimento" 
    214230 
    215 #: quotes-collection.php:480 
     231#: quotes-collection.php:573 
    216232msgid "Date updated" 
    217233msgstr "Data di aggiornamento" 
    218234 
    219 #: quotes-collection.php:481 
     235#: quotes-collection.php:574 
    220236msgid "Visibility" 
    221237msgstr "Visibilità" 
    222238 
    223 #: quotes-collection.php:484 
     239#: quotes-collection.php:577 
    224240msgid "Go" 
    225241msgstr "Vai" 
    226242 
    227 #: quotes-collection.php:497 
     243#: quotes-collection.php:593 
    228244msgid "Action" 
    229245msgstr "Azione" 
    230246 
    231 #: quotes-collection.php:515 
     247#: quotes-collection.php:612 
    232248msgid "No quotes in the database" 
    233249msgstr "Non é presente alcuna citazione nel database" 
    234250 
     251#~ msgid "Manage" 
     252#~ msgstr "Gestione" 
    235253#~ msgid "from" 
    236254#~ msgstr "da" 
  • quotes-collection/trunk/languages/quotes-collection-ja.po

    r91785 r121004  
    99"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n" 
    1010"POT-Creation-Date: 2008-05-24 14:49+0530\n" 
    11 "PO-Revision-Date: 2008-12-27 19:31+0900\n" 
    12 "Last-Translator: urepko asaba <urepko@gmail.com>\n" 
    13 "Language-Team: JAPANESE <http ://wppluginsj.sourceforge.jp/i18n-ja_jp/>\\n <urepko@gmail.com> <urepko@gmail.com> <urepko@users.sourceforge.jp>\n" 
     11"PO-Revision-Date: 2009-05-26 00:30+0900\n" 
     12"Last-Translator: urepko <urepko@gmail.com>\n" 
     13"Language-Team: JAPANESE <http ://wppluginsj.sourceforge.jp/i18n-ja_jp/>\\n <urepko@gmail.com> <urepko@gmail.com> <urepko@users.sourceforge.jp> <urepko@gmail.com>\n" 
    1414"MIME-Version: 1.0\n" 
    1515"Content-Type: text/plain; charset=utf-8\n" 
     
    244244msgstr "データベースに引用文はありません。" 
    245245 
     246#add ver 1.3 
     247#: quotes-collection.php:257 
     248msgid "Tags filter" 
     249msgstr "タグフィルター" 
     250 
     251#: quotes-collection.php:257 
     252msgid "Comma separated" 
     253msgstr "カンマで区切る" 
     254 
     255#: quotes-collection.php:258 
     256msgid "Character limit" 
     257msgstr "文字数制限" 
     258 
     259#: quotes-collection.php:260 
     260msgid "Click here" 
     261msgstr "ここをクリック" 
     262 
     263#: quotes-collection.php:260 
     264msgid "to manage your collection of quotes" 
     265msgstr "すれば、引用文 の管理画面へ" 
     266 
  • quotes-collection/trunk/languages/quotes-collection-sv_SE.po

    r98149 r121004  
    33"Project-Id-Version: Quotes Collection 1.1.2\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2008-05-28 16:38+0300\n" 
    6 "PO-Revision-Date: 2009-02-25 16:36+0100\n" 
     5"POT-Creation-Date: 2009-05-25 12:47+0100\n" 
     6"PO-Revision-Date: 2009-05-25 12:48+0100\n" 
    77"Last-Translator: Julian Kommunikation <info@julian.se>\n" 
    8 "Language-Team:  \n" 
     8"Language-Team: \n" 
    99"MIME-Version: 1.0\n" 
    1010"Content-Type: text/plain; charset=UTF-8\n" 
    1111"Content-Transfer-Encoding: 8bit\n" 
    1212"Plural-Forms: nplurals=2; plural=n != 1;\n" 
    13 "X-Poedit-Language: \n" 
    14 "X-Poedit-Country: \n" 
    1513"X-Poedit-SourceCharset: utf-8\n" 
    1614"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_c;__ngettext_noop:1,2\n" 
     
    1816"X-Poedit-SearchPath-0: ..\n" 
    1917 
    20 #: ../quotes-collection.php:60 
    21 #: ../quotes-collection.php:96 
    22 #: ../quotes-collection.php:100 
     18#: ../quotes-collection.php:62 
     19#: ../quotes-collection.php:175 
     20#: ../quotes-collection.php:179 
    2321msgid "Next quote" 
    2422msgstr "Nästa citat" 
    2523 
    26 #: ../quotes-collection.php:61 
     24#: ../quotes-collection.php:63 
    2725msgid "Loading..." 
    2826msgstr "Laddar..." 
    2927 
    30 #: ../quotes-collection.php:62 
     28#: ../quotes-collection.php:64 
    3129msgid "Error getting quote" 
    3230msgstr "Fel vid citathämtning" 
    3331 
    34 #: ../quotes-collection.php:120 
    35 #: ../quotes-collection.php:137 
     32#: ../quotes-collection.php:200 
     33#: ../quotes-collection.php:221 
    3634msgid "Random Quote" 
    3735msgstr "Slumpat citat" 
    3836 
    39 #: ../quotes-collection.php:164 
     37#: ../quotes-collection.php:242 
     38msgid "none" 
     39msgstr "inga" 
     40 
     41#: ../quotes-collection.php:253 
    4042msgid "Title" 
    4143msgstr "Titel" 
    4244 
    43 #: ../quotes-collection.php:165 
     45#: ../quotes-collection.php:254 
    4446msgid "Show author?" 
    4547msgstr "Visa författare?" 
    4648 
    47 #: ../quotes-collection.php:166 
     49#: ../quotes-collection.php:255 
    4850msgid "Show source?" 
    4951msgstr "Visa källa?" 
    5052 
    51 #: ../quotes-collection.php:167 
     53#: ../quotes-collection.php:256 
    5254msgid "Ajax refresh feature" 
    5355msgstr "Ajax omladdningsfunktion" 
    5456 
    55 #: ../quotes-collection.php:169 
    56 msgid "Manage your collection of quotes at" 
    57 msgstr "Hantera din citatsamling här" 
    58  
    59 #: ../quotes-collection.php:169 
    60 msgid "Manage" 
    61 msgstr "Hantera" 
    62  
    63 #: ../quotes-collection.php:186 
     57#: ../quotes-collection.php:257 
     58msgid "Tags filter" 
     59msgstr "Etikett-filter" 
     60 
     61#: ../quotes-collection.php:257 
     62msgid "Comma separated" 
     63msgstr "Kommaseparerad" 
     64 
     65#: ../quotes-collection.php:258 
     66msgid "Character limit" 
     67msgstr "Tecken-begränsning" 
     68 
     69#: ../quotes-collection.php:260 
     70msgid "Click here" 
     71msgstr "Klicka här" 
     72 
     73#: ../quotes-collection.php:260 
     74msgid "to manage your collection of quotes" 
     75msgstr "för att hantera din citatsamling" 
     76 
     77#: ../quotes-collection.php:277 
    6478msgid "Nothing added to the database." 
    6579msgstr "Inget lagt till databasen." 
    6680 
    67 #: ../quotes-collection.php:190 
    68 #: ../quotes-collection.php:228 
     81#: ../quotes-collection.php:281 
     82#: ../quotes-collection.php:319 
    6983msgid "Database table not found" 
    7084msgstr "Databastabeller hittades inte" 
    7185 
    72 #: ../quotes-collection.php:215 
    73 #: ../quotes-collection.php:258 
    74 #: ../quotes-collection.php:272 
     86#: ../quotes-collection.php:306 
     87#: ../quotes-collection.php:349 
     88#: ../quotes-collection.php:363 
    7589msgid "There was an error in the MySQL query" 
    7690msgstr "Det var ett fel i MySQL frågan" 
    7791 
    78 #: ../quotes-collection.php:217 
     92#: ../quotes-collection.php:308 
    7993msgid "Quote added" 
    8094msgstr "Citat tillagt" 
    8195 
    82 #: ../quotes-collection.php:223 
     96#: ../quotes-collection.php:314 
    8397msgid "Quote not updated." 
    8498msgstr "Citat inte uppdaterat." 
    8599 
    86 #: ../quotes-collection.php:260 
     100#: ../quotes-collection.php:351 
    87101msgid "Changes saved" 
    88102msgstr "Uppdateringar sparade" 
    89103 
    90 #: ../quotes-collection.php:274 
     104#: ../quotes-collection.php:365 
    91105msgid "Quote deleted" 
    92106msgstr "Citat borttaget" 
    93107 
    94 #: ../quotes-collection.php:276 
     108#: ../quotes-collection.php:367 
    95109msgid "The quote cannot be deleted" 
    96110msgstr "Citatet kan inte tas bort" 
    97111 
    98 #: ../quotes-collection.php:292 
    99 #: ../quotes-collection.php:385 
     112#: ../quotes-collection.php:383 
     113#: ../quotes-collection.php:477 
    100114msgid "Add Quote" 
    101115msgstr "Lägg till citat" 
    102116 
    103 #: ../quotes-collection.php:308 
    104 #: ../quotes-collection.php:389 
     117#: ../quotes-collection.php:399 
     118#: ../quotes-collection.php:481 
    105119msgid "Save changes" 
    106120msgstr "Spara ändringar" 
    107121 
    108 #: ../quotes-collection.php:309 
     122#: ../quotes-collection.php:400 
    109123msgid "Back" 
    110124msgstr "Tillbaks" 
    111125 
    112 #: ../quotes-collection.php:313 
    113 #: ../quotes-collection.php:491 
     126#: ../quotes-collection.php:404 
     127#: ../quotes-collection.php:587 
    114128msgid "The quote" 
    115129msgstr "Citatet" 
    116130 
    117 #: ../quotes-collection.php:314 
    118 #: ../quotes-collection.php:477 
    119 #: ../quotes-collection.php:493 
     131#: ../quotes-collection.php:405 
     132#: ../quotes-collection.php:570 
     133#: ../quotes-collection.php:589 
    120134msgid "Author" 
    121135msgstr "Författare" 
    122136 
    123 #: ../quotes-collection.php:315 
    124 #: ../quotes-collection.php:478 
    125 #: ../quotes-collection.php:493 
     137#: ../quotes-collection.php:406 
     138#: ../quotes-collection.php:571 
     139#: ../quotes-collection.php:589 
    126140msgid "Source" 
    127141msgstr "Källa" 
    128142 
    129 #: ../quotes-collection.php:316 
    130 #: ../quotes-collection.php:495 
     143#: ../quotes-collection.php:407 
     144#: ../quotes-collection.php:591 
    131145msgid "Tags" 
    132146msgstr "Etiketter" 
    133147 
    134 #: ../quotes-collection.php:317 
    135 #: ../quotes-collection.php:496 
     148#: ../quotes-collection.php:408 
     149#: ../quotes-collection.php:592 
    136150msgid "Visible?" 
    137151msgstr "Visas?" 
    138152 
    139 #: ../quotes-collection.php:318 
     153#: ../quotes-collection.php:409 
    140154msgid "optional" 
    141155msgstr "valfritt" 
    142156 
    143 #: ../quotes-collection.php:319 
     157#: ../quotes-collection.php:410 
    144158msgid "comma separated" 
    145159msgstr "kommaseparerad" 
    146160 
    147 #: ../quotes-collection.php:355 
    148 #: ../quotes-collection.php:368 
     161#: ../quotes-collection.php:447 
     162#: ../quotes-collection.php:460 
    149163msgid "Nothing done!" 
    150164msgstr "Inget gjort!" 
    151165 
    152 #: ../quotes-collection.php:362 
     166#: ../quotes-collection.php:454 
    153167#, php-format 
    154168msgid "Visibility status of selected quotes set to '%s'" 
    155169msgstr "Visningsstatus för valda citat är '%s'" 
    156170 
    157 #: ../quotes-collection.php:373 
     171#: ../quotes-collection.php:465 
    158172msgid "Quote(s) deleted" 
    159173msgstr "Citat borttagna" 
    160174 
    161 #: ../quotes-collection.php:394 
     175#: ../quotes-collection.php:486 
    162176msgid "Edit quote" 
    163177msgstr "Ändra citat" 
    164178 
    165 #: ../quotes-collection.php:404 
    166 #: ../quotes-collection.php:455 
    167 #: ../quotes-collection.php:469 
    168 #: ../quotes-collection.php:505 
     179#: ../quotes-collection.php:496 
     180#: ../quotes-collection.php:547 
     181#: ../quotes-collection.php:562 
     182#: ../quotes-collection.php:601 
    169183msgid "Delete" 
    170184msgstr "Ta bort" 
    171185 
    172 #: ../quotes-collection.php:406 
    173 #: ../quotes-collection.php:470 
    174 #: ../quotes-collection.php:506 
     186#: ../quotes-collection.php:498 
     187#: ../quotes-collection.php:563 
     188#: ../quotes-collection.php:602 
    175189msgid "Make visible" 
    176190msgstr "Gör visningsbar" 
    177191 
    178 #: ../quotes-collection.php:409 
    179 #: ../quotes-collection.php:471 
    180 #: ../quotes-collection.php:507 
     192#: ../quotes-collection.php:501 
     193#: ../quotes-collection.php:564 
     194#: ../quotes-collection.php:603 
    181195msgid "Make invisible" 
    182196msgstr "Gör icke visningsbar" 
    183197 
    184 #: ../quotes-collection.php:454 
     198#: ../quotes-collection.php:546 
    185199msgid "Edit" 
    186200msgstr "Ändra" 
    187201 
    188 #: ../quotes-collection.php:455 
     202#: ../quotes-collection.php:547 
    189203msgid "Are you sure you want to delete this quote?" 
    190204msgstr "Är du säker på att du vill ta bort detta citat?" 
    191205 
    192 #: ../quotes-collection.php:462 
     206#: ../quotes-collection.php:554 
    193207#, php-format 
    194208msgid "Currently, you have %d quote." 
     
    197211msgstr[1] "För tillfället har du %d citat." 
    198212 
    199 #: ../quotes-collection.php:464 
    200 #: ../quotes-collection.php:521 
     213#: ../quotes-collection.php:556 
     214#: ../quotes-collection.php:618 
    201215msgid "Add new quote" 
    202216msgstr "Lägg till citat" 
    203217 
    204 #: ../quotes-collection.php:473 
     218#: ../quotes-collection.php:566 
    205219msgid "Sort by: " 
    206220msgstr "Sortera efter:" 
    207221 
    208 #: ../quotes-collection.php:475 
    209 #: ../quotes-collection.php:476 
     222#: ../quotes-collection.php:568 
     223#: ../quotes-collection.php:569 
    210224msgid "Quote" 
    211225msgstr "Citat" 
    212226 
    213 #: ../quotes-collection.php:479 
     227#: ../quotes-collection.php:572 
    214228msgid "Date added" 
    215229msgstr "Datum tillagt" 
    216230 
    217 #: ../quotes-collection.php:480 
     231#: ../quotes-collection.php:573 
    218232msgid "Date updated" 
    219233msgstr "Datum uppdaterat" 
    220234 
    221 #: ../quotes-collection.php:481 
     235#: ../quotes-collection.php:574 
    222236msgid "Visibility" 
    223237msgstr "Visningsläge" 
    224238 
    225 #: ../quotes-collection.php:484 
     239#: ../quotes-collection.php:577 
    226240msgid "Go" 
    227241msgstr "Utför" 
    228242 
    229 #: ../quotes-collection.php:497 
     243#: ../quotes-collection.php:593 
    230244msgid "Action" 
    231245msgstr "Handling" 
    232246 
    233 #: ../quotes-collection.php:515 
     247#: ../quotes-collection.php:612 
    234248msgid "No quotes in the database" 
    235249msgstr "Inga citat i databasen" 
    236250 
     251#~ msgid "Manage" 
     252#~ msgstr "Hantera" 
    237253#~ msgid "from" 
    238254#~ msgstr "aus" 
  • quotes-collection/trunk/languages/quotes-collection-ta_IN.po

    r47757 r121004  
    22msgstr "" 
    33"Project-Id-Version: Quotes Collection 1.1\n" 
    4 "POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2008-05-24 16:04+0530\n" 
     4"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n" 
     5"POT-Creation-Date: 2009-05-25 10:15+0530\n" 
     6"PO-Revision-Date: 2009-05-25 12:26+0530\n" 
    67"Last-Translator: Srinivasan G. <srinig.com@gmail.com>\n" 
    78"Language-Team: \n" 
    89"MIME-Version: 1.0\n" 
    9 "Content-Type: text/plain; charset=utf-8\n" 
     10"Content-Type: text/plain; charset=UTF-8\n" 
    1011"Content-Transfer-Encoding: 8bit\n" 
    1112"Plural-Forms: nplurals=2; plural=n != 1;\n" 
     
    1415"X-Poedit-SourceCharset: utf-8\n" 
    1516 
    16 #: quotes-collection.php:60 
    17 #: quotes-collection.php:96 
    18 #: quotes-collection.php:100 
     17#: quotes-collection.php:62 
     18#: quotes-collection.php:175 
     19#: quotes-collection.php:179 
    1920msgid "Next quote" 
    2021msgstr "அடுத்த வாசகம்" 
    2122 
    22 #: quotes-collection.php:61 
     23#: quotes-collection.php:63 
    2324msgid "Loading..." 
    2425msgstr "இதோ வருகிறது..." 
    2526 
    26 #: quotes-collection.php:62 
     27#: quotes-collection.php:64 
    2728msgid "Error getting quote" 
    2829msgstr "வாசகத்தினை மீட்பதில் சிக்கல்" 
    2930 
    30 #: quotes-collection.php:120 
    31 #: quotes-collection.php:137 
     31#: quotes-collection.php:200 
     32#: quotes-collection.php:221 
    3233msgid "Random Quote" 
    3334msgstr "வாசகம் ஒன்று" 
    3435 
    35 #: quotes-collection.php:164 
     36#: quotes-collection.php:242 
     37msgid "none" 
     38msgstr "" 
     39 
     40#: quotes-collection.php:253 
    3641msgid "Title" 
    3742msgstr "தலைப்பு" 
    3843 
    39 #: quotes-collection.php:165 
     44#: quotes-collection.php:254 
    4045msgid "Show author?" 
    4146msgstr "சொன்னவரின் பெயரை காண்பிக்க வேண்டுமா?" 
    4247 
    43 #: quotes-collection.php:166 
     48#: quotes-collection.php:255 
    4449msgid "Show source?" 
    4550msgstr "எங்கே சொல்லப்பட்டது என்பதை காண்பிக்க வேண்டுமா?" 
    4651 
    47 #: quotes-collection.php:167 
     52#: quotes-collection.php:256 
    4853msgid "Ajax refresh feature" 
    4954msgstr "அடுத்த வாசகத்தினை மீட்கும் சுட்டி" 
    5055 
    51 #: quotes-collection.php:169 
    52 msgid "Manage your collection of quotes at" 
    53 msgstr "நீங்கள் சேர்த்து வைத்துள்ள வாசகங்களை தொகுக்க வேண்டிய இடம்: " 
    54  
    55 #: quotes-collection.php:169 
    56 msgid "Manage" 
    57 msgstr "" 
    58  
    59 #: quotes-collection.php:186 
     56#: quotes-collection.php:257 
     57msgid "Tags filter" 
     58msgstr "" 
     59 
     60#: quotes-collection.php:257 
     61#, fuzzy 
     62msgid "Comma separated" 
     63msgstr "comma separated" 
     64 
     65#: quotes-collection.php:258 
     66msgid "Character limit" 
     67msgstr "" 
     68 
     69#: quotes-collection.php:260 
     70msgid "Click here" 
     71msgstr "இங்கே சென்று" 
     72 
     73#: quotes-collection.php:260 
     74msgid "to manage your collection of quotes" 
     75msgstr "நீங்கள் சேர்த்து வைத்துள்ள வாசகங்களை தொகுக்கவும்" 
     76 
     77#: quotes-collection.php:277 
    6078msgid "Nothing added to the database." 
    6179msgstr "சேர்ப்பதற்கு ஒன்றுமில்லை." 
    6280 
    63 #: quotes-collection.php:190 
    64 #: quotes-collection.php:228 
     81#: quotes-collection.php:281 
     82#: quotes-collection.php:319 
    6583msgid "Database table not found" 
    6684msgstr "Database table காணவில்லை!" 
    6785 
    68 #: quotes-collection.php:215 
    69 #: quotes-collection.php:258 
    70 #: quotes-collection.php:272 
     86#: quotes-collection.php:306 
     87#: quotes-collection.php:349 
     88#: quotes-collection.php:363 
    7189msgid "There was an error in the MySQL query" 
    7290msgstr "MySQL queryஇல் பிழை இருந்தது" 
    7391 
    74 #: quotes-collection.php:217 
     92#: quotes-collection.php:308 
    7593msgid "Quote added" 
    7694msgstr "வாசகம் சேர்க்கப்பட்டது" 
    7795 
    78 #: quotes-collection.php:223 
     96#: quotes-collection.php:314 
    7997msgid "Quote not updated." 
    8098msgstr "வாசகம் திருத்தப்படவில்லை" 
    8199 
    82 #: quotes-collection.php:260 
     100#: quotes-collection.php:351 
    83101msgid "Changes saved" 
    84102msgstr "மாற்றங்கள் சேமிக்கப்பட்டன" 
    85103 
    86 #: quotes-collection.php:274 
     104#: quotes-collection.php:365 
    87105msgid "Quote deleted" 
    88106msgstr "வாசகம் அழிக்கப்பட்டது" 
    89107 
    90 #: quotes-collection.php:276 
     108#: quotes-collection.php:367 
    91109msgid "The quote cannot be deleted" 
    92110msgstr "வாசகத்தினை அழிக்க முடியவில்லை" 
    93111 
    94 #: quotes-collection.php:292 
    95 #: quotes-collection.php:385 
     112#: quotes-collection.php:383 
     113#: quotes-collection.php:477 
    96114msgid "Add Quote" 
    97115msgstr "சேர்க்கவும்" 
    98116 
    99 #: quotes-collection.php:308 
    100 #: quotes-collection.php:389 
     117#: quotes-collection.php:399 
     118#: quotes-collection.php:481 
    101119msgid "Save changes" 
    102120msgstr "மாற்றங்களை சேமிக்கவும்" 
    103121 
    104 #: quotes-collection.php:309 
     122#: quotes-collection.php:400 
    105123msgid "Back" 
    106124msgstr "பின்வாங்கவும்" 
    107125 
    108 #: quotes-collection.php:313 
    109 #: quotes-collection.php:491 
     126#: quotes-collection.php:404 
     127#: quotes-collection.php:587 
    110128msgid "The quote" 
    111129msgstr "வாசகம்" 
    112130 
    113 #: quotes-collection.php:314 
    114 #: quotes-collection.php:477 
    115 #: quotes-collection.php:493 
     131#: quotes-collection.php:405 
     132#: quotes-collection.php:570 
     133#: quotes-collection.php:589 
    116134msgid "Author" 
    117135msgstr "சொன்னவர்" 
    118136 
    119 #: quotes-collection.php:315 
    120 #: quotes-collection.php:478 
    121 #: quotes-collection.php:493 
     137#: quotes-collection.php:406 
     138#: quotes-collection.php:571 
     139#: quotes-collection.php:589 
    122140msgid "Source" 
    123141msgstr "எங்கே சொல்லப்பட்டது" 
    124142 
    125 #: quotes-collection.php:316 
    126 #: quotes-collection.php:495 
     143#: quotes-collection.php:407 
     144#: quotes-collection.php:591 
    127145msgid "Tags" 
    128146msgstr "குறிச்சொற்கள்" 
    129147 
    130 #: quotes-collection.php:317 
    131 #: quotes-collection.php:496 
     148#: quotes-collection.php:408 
     149#: quotes-collection.php:592 
    132150msgid "Visible?" 
    133151msgstr "Visible?" 
    134152 
    135 #: quotes-collection.php:318 
     153#: quotes-collection.php:409 
    136154msgid "optional" 
    137155msgstr "அவசியமில்லை" 
    138156 
    139 #: quotes-collection.php:319 
     157#: quotes-collection.php:410 
    140158msgid "comma separated" 
    141159msgstr "comma separated" 
    142160 
    143 #: quotes-collection.php:355 
    144 #: quotes-collection.php:368 
     161#: quotes-collection.php:447 
     162#: quotes-collection.php:460 
    145163msgid "Nothing done!" 
    146164msgstr "ஒன்றும் செய்வதற்கில்லை!" 
    147165 
    148 #: quotes-collection.php:362 
     166#: quotes-collection.php:454 
    149167#, php-format 
    150168msgid "Visibility status of selected quotes set to '%s'" 
    151169msgstr "தேர்ந்தெடுக்கப்பட்ட வாசகங்கள் %s ஆக்கப்பட்டன" 
    152170 
    153 #: quotes-collection.php:373 
     171#: quotes-collection.php:465 
    154172msgid "Quote(s) deleted" 
    155173msgstr "வாசகங்கள் அழிக்கப்பட்டன" 
    156174 
    157 #: quotes-collection.php:394 
     175#: quotes-collection.php:486 
    158176msgid "Edit quote" 
    159177msgstr "வாசகத்தினை திருத்தவும்" 
    160178 
    161 #: quotes-collection.php:404 
    162 #: quotes-collection.php:455 
    163 #: quotes-collection.php:469 
    164 #: quotes-collection.php:505 
     179#: quotes-collection.php:496 
     180#: quotes-collection.php:547 
     181#: quotes-collection.php:562 
     182#: quotes-collection.php:601 
    165183msgid "Delete" 
    166184msgstr "அழிக்கவும்" 
    167185 
    168 #: quotes-collection.php:406 
    169 #: quotes-collection.php:470 
    170 #: quotes-collection.php:506 
     186#: quotes-collection.php:498 
     187#: quotes-collection.php:563 
     188#: quotes-collection.php:602 
    171189msgid "Make visible" 
    172190msgstr "visible ஆக்கவும்" 
    173191 
    174 #: quotes-collection.php:409 
    175 #: quotes-collection.php:471 
    176 #: quotes-collection.php:507 
     192#: quotes-collection.php:501 
     193#: quotes-collection.php:564 
     194#: quotes-collection.php:603 
    177195msgid "Make invisible" 
    178196msgstr "invisible ஆக்கவும்" 
    179197 
    180 #: quotes-collection.php:454 
     198#: quotes-collection.php:546 
    181199msgid "Edit" 
    182200msgstr "திருத்தவும்" 
    183201 
    184 #: quotes-collection.php:455 
     202#: quotes-collection.php:547 
    185203msgid "Are you sure you want to delete this quote?" 
    186204msgstr "இந்த வாசகத்தினை அழித்துத்தான் ஆக வேண்டுமா?" 
    187205 
    188 #: quotes-collection.php:462 
     206#: quotes-collection.php:554 
    189207#, php-format 
    190208msgid "Currently, you have %d quote." 
     
    193211msgstr[1] "இதுவரை %d வாசகங்கள் சேர்க்கப்பட்டுள்ளன" 
    194212 
    195 #: quotes-collection.php:464 
    196 #: quotes-collection.php:521 
     213#: quotes-collection.php:556 
     214#: quotes-collection.php:618 
    197215msgid "Add new quote" 
    198216msgstr "புதிய வாசகம் ஒன்றை சேர்க்கவும்" 
    199217 
    200 #: quotes-collection.php:473 
     218#: quotes-collection.php:566 
    201219msgid "Sort by: " 
    202220msgstr "வாசகங்களின் வரிசை முறை: " 
    203221 
    204 #: quotes-collection.php:475 
    205 #: quotes-collection.php:476 
     222#: quotes-collection.php:568 
     223#: quotes-collection.php:569 
    206224msgid "Quote" 
    207225msgstr "வாசகம்" 
    208226 
    209 #: quotes-collection.php:479 
     227#: quotes-collection.php:572 
    210228msgid "Date added" 
    211229msgstr "சேர்த்த நாள்" 
    212230 
    213 #: quotes-collection.php:480 
     231#: quotes-collection.php:573 
    214232msgid "Date updated" 
    215233msgstr "திருத்திய நாள்" 
    216234 
    217 #: quotes-collection.php:481 
     235#: quotes-collection.php:574 
    218236msgid "Visibility" 
    219237msgstr "" 
    220238 
    221 #: quotes-collection.php:484 
     239#: quotes-collection.php:577 
    222240msgid "Go" 
    223241msgstr "ஆகட்டும்" 
    224242 
    225 #: quotes-collection.php:497 
     243#: quotes-collection.php:593 
    226244msgid "Action" 
    227245msgstr "வாசகத்தினை திருத்த/அழிக்க" 
    228246 
    229 #: quotes-collection.php:515 
     247#: quotes-collection.php:612 
    230248msgid "No quotes in the database" 
    231249msgstr "வாசகங்கள் ஏதும் இதுவரை சேர்க்கப்படவில்லை" 
  • quotes-collection/trunk/languages/quotes-collection-tr_TR.po

    r67601 r121004  
    44"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n" 
    55"POT-Creation-Date: 2008-05-24 14:49+0530\n" 
    6 "PO-Revision-Date: \n" 
     6"PO-Revision-Date: 2009-05-27 09:57+0530\n" 
    77"Last-Translator: Gürkan Gür <seqizz@gmail.com>\n" 
    88"Language-Team: seqizz\n" 
     
    229229msgstr "Veritabanında alıntı yok" 
    230230 
     231#: quotes-collection.php:257 
     232msgid "Tags filter" 
     233msgstr "Etiket süzgeci" 
     234 
     235#: quotes-collection.php:257 
     236msgid "Comma separated" 
     237msgstr "Virgülle ayrılmış" 
     238 
     239 
     240#: quotes-collection.php:258 
     241msgid "Character limit" 
     242msgstr "Karakter sınırı" 
     243 
     244 
     245#: quotes-collection.php:260 
     246msgid "Click here" 
     247msgstr "Buraya tıklayın" 
     248 
     249 
     250#: quotes-collection.php:260 
     251msgid "to manage your collection of quotes" 
     252msgstr "alıntı koleksiyonunuzu yönetmek" 
     253 
  • quotes-collection/trunk/languages/quotes-collection.pot

    r47757 r121004  
    11# Quotes Collection plugin for WordPress: Localization template. 
    2 # Copyright (C) 2008 Srini G 
     2# Copyright (C) 2009 Srini G 
    33# This file is distributed under the same license as the Quotes Collection package. 
    4 # Srini G <srinig.com@gmail.com>, 2008. 
     4# Srini G <srinig.com@gmail.com>, 2009. 
    55# 
    66#, fuzzy 
    77msgid "" 
    88msgstr "" 
    9 "Project-Id-Version: Quotes Collection 1.1\n" 
     9"Project-Id-Version: Quotes Collection 1.3\n" 
    1010"Report-Msgid-Bugs-To: http://wordpress.org/tag/quotes-collection\n" 
    11 "POT-Creation-Date: 2008-05-24 14:49+0530\n" 
     11"POT-Creation-Date: 2009-05-25 10:15+0530\n" 
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
     
    1818"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 
    1919 
    20 #: quotes-collection.php:60 quotes-collection.php:96 quotes-collection.php:100 
     20#: quotes-collection.php:62 
     21#: quotes-collection.php:175 
     22#: quotes-collection.php:179 
    2123msgid "Next quote" 
    2224msgstr "" 
    2325 
    24 #: quotes-collection.php:61 
     26#: quotes-collection.php:63 
    2527msgid "Loading..." 
    2628msgstr "" 
    2729 
    28 #: quotes-collection.php:62 
     30#: quotes-collection.php:64 
    2931msgid "Error getting quote" 
    3032msgstr "" 
    3133 
    32 #: quotes-collection.php:120 quotes-collection.php:137 
     34#: quotes-collection.php:200 
     35#: quotes-collection.php:221 
    3336msgid "Random Quote" 
    3437msgstr "" 
    3538 
    36 #: quotes-collection.php:164 
     39#: quotes-collection.php:242 
     40msgid "none" 
     41msgstr "" 
     42 
     43#: quotes-collection.php:253 
    3744msgid "Title" 
    3845msgstr "" 
    3946 
    40 #: quotes-collection.php:165 
     47#: quotes-collection.php:254 
    4148msgid "Show author?" 
    4249msgstr "" 
    4350 
    44 #: quotes-collection.php:166 
     51#: quotes-collection.php:255 
    4552msgid "Show source?" 
    4653msgstr "" 
    4754 
    48 #: quotes-collection.php:167 
     55#: quotes-collection.php:256 
    4956msgid "Ajax refresh feature" 
    5057msgstr "" 
    5158 
    52 #: quotes-collection.php:169 
    53 msgid "Manage your collection of quotes at" 
    54 msgstr "" 
    55  
    56 #: quotes-collection.php:169 
    57 msgid "Manage" 
    58 msgstr "" 
    59  
    60 #: quotes-collection.php:186 
     59#: quotes-collection.php:257 
     60msgid "Tags filter" 
     61msgstr "" 
     62 
     63#: quotes-collection.php:257 
     64msgid "Comma separated" 
     65msgstr "" 
     66 
     67#: quotes-collection.php:258 
     68msgid "Character limit" 
     69msgstr "" 
     70 
     71#: quotes-collection.php:260 
     72msgid "Click here" 
     73msgstr "" 
     74 
     75#: quotes-collection.php:260 
     76msgid "to manage your collection of quotes" 
     77msgstr "" 
     78 
     79#: quotes-collection.php:277 
    6180msgid "Nothing added to the database." 
    6281msgstr "" 
    6382 
    64 #: quotes-collection.php:190 quotes-collection.php:228 
     83#: quotes-collection.php:281 
     84#: quotes-collection.php:319 
    6585msgid "Database table not found" 
    6686msgstr "" 
    6787 
    68 #: quotes-collection.php:215 quotes-collection.php:258 
    69 #: quotes-collection.php:272 
     88#: quotes-collection.php:306 
     89#: quotes-collection.php:349 
     90#: quotes-collection.php:363 
    7091msgid "There was an error in the MySQL query" 
    7192msgstr "" 
    7293 
    73 #: quotes-collection.php:217 
     94#: quotes-collection.php:308 
    7495msgid "Quote added" 
    7596msgstr "" 
    7697 
    77 #: quotes-collection.php:223 
     98#: quotes-collection.php:314 
    7899msgid "Quote not updated." 
    79100msgstr "" 
    80101 
    81 #: quotes-collection.php:260 
     102#: quotes-collection.php:351 
    82103msgid "Changes saved" 
    83104msgstr "" 
    84105 
    85 #: quotes-collection.php:274 
     106#: quotes-collection.php:365 
    86107msgid "Quote deleted" 
    87108msgstr "" 
    88109 
    89 #: quotes-collection.php:276 
     110#: quotes-collection.php:367 
    90111msgid "The quote cannot be deleted" 
    91112msgstr "" 
    92113 
    93 #: quotes-collection.php:292 quotes-collection.php:385 
     114#: quotes-collection.php:383 
     115#: quotes-collection.php:477 
    94116msgid "Add Quote" 
    95117msgstr "" 
    96118 
    97 #: quotes-collection.php:308 quotes-collection.php:389 
     119#: quotes-collection.php:399 
     120#: quotes-collection.php:481 
    98121msgid "Save changes" 
    99122msgstr "" 
    100123 
    101 #: quotes-collection.php:309 
     124#: quotes-collection.php:400 
    102125msgid "Back" 
    103126msgstr "" 
    104127 
    105 #: quotes-collection.php:313 quotes-collection.php:491 
     128#: quotes-collection.php:404 
     129#: quotes-collection.php:587 
    106130msgid "The quote" 
    107131msgstr "" 
    108132 
    109 #: quotes-collection.php:314 quotes-collection.php:477 
    110 #: quotes-collection.php:493 
     133#: quotes-collection.php:405 
     134#: quotes-collection.php:570 
     135#: quotes-collection.php:589 
    111136msgid "Author" 
    112137msgstr "" 
    113138 
    114 #: quotes-collection.php:315 quotes-collection.php:478 
    115 #: quotes-collection.php:493 
     139#: quotes-collection.php:406 
     140#: quotes-collection.php:571 
     141#: quotes-collection.php:589 
    116142msgid "Source" 
    117143msgstr "" 
    118144 
    119 #: quotes-collection.php:316 quotes-collection.php:495 
     145#: quotes-collection.php:407 
     146#: quotes-collection.php:591 
    120147msgid "Tags" 
    121148msgstr "" 
    122149 
    123 #: quotes-collection.php:317 quotes-collection.php:496 
     150#: quotes-collection.php:408 
     151#: quotes-collection.php:592 
    124152msgid "Visible?" 
    125153msgstr "" 
    126154 
    127 #: quotes-collection.php:318 
     155#: quotes-collection.php:409 
    128156msgid "optional" 
    129157msgstr "" 
    130158 
    131 #: quotes-collection.php:319 
     159#: quotes-collection.php:410 
    132160msgid "comma separated" 
    133161msgstr "" 
    134162 
    135 #: quotes-collection.php:355 quotes-collection.php:368 
     163#: quotes-collection.php:447 
     164#: quotes-collection.php:460 
    136165msgid "Nothing done!" 
    137166msgstr "" 
    138167 
    139 #: quotes-collection.php:362 
     168#: quotes-collection.php:454 
    140169#, php-format 
    141170msgid "Visibility status of selected quotes set to '%s'" 
    142171msgstr "" 
    143172 
    144 #: quotes-collection.php:373 
     173#: quotes-collection.php:465 
    145174msgid "Quote(s) deleted" 
    146175msgstr "" 
    147176 
    148 #: quotes-collection.php:394 
     177#: quotes-collection.php:486 
    149178msgid "Edit quote" 
    150179msgstr "" 
    151180 
    152 #: quotes-collection.php:404 quotes-collection.php:455 
    153 #: quotes-collection.php:469 quotes-collection.php:505 
     181#: quotes-collection.php:496 
     182#: quotes-collection.php:547 
     183#: quotes-collection.php:562 
     184#: quotes-collection.php:601 
    154185msgid "Delete" 
    155186msgstr "" 
    156187 
    157 #: quotes-collection.php:406 quotes-collection.php:470 
    158 #: quotes-collection.php:506 
     188#: quotes-collection.php:498 
     189#: quotes-collection.php:563 
     190#: quotes-collection.php:602 
    159191msgid "Make visible" 
    160192msgstr "" 
    161193 
    162 #: quotes-collection.php:409 quotes-collection.php:471 
    163 #: quotes-collection.php:507 
     194#: quotes-collection.php:501 
     195#: quotes-collection.php:564 
     196#: quotes-collection.php:603 
    164197msgid "Make invisible" 
    165198msgstr "" 
    166199 
    167 #: quotes-collection.php:454 
     200#: quotes-collection.php:546 
    168201msgid "Edit" 
    169202msgstr "" 
    170203 
    171 #: quotes-collection.php:455 
     204#: quotes-collection.php:547 
    172205msgid "Are you sure you want to delete this quote?" 
    173206msgstr "" 
    174207 
    175 #: quotes-collection.php:462 
     208#: quotes-collection.php:554 
    176209#, php-format 
    177210msgid "Currently, you have %d quote." 
     
    180213msgstr[1] "" 
    181214 
    182 #: quotes-collection.php:464 quotes-collection.php:521 
     215#: quotes-collection.php:556 
     216#: quotes-collection.php:618 
    183217msgid "Add new quote" 
    184218msgstr "" 
    185219 
    186 #: quotes-collection.php:473 
     220#: quotes-collection.php:566 
    187221msgid "Sort by: " 
    188222msgstr "" 
    189223 
    190 #: quotes-collection.php:475 quotes-collection.php:476 
     224#: quotes-collection.php:568 
     225#: quotes-collection.php:569 
    191226msgid "Quote" 
    192227msgstr "" 
    193228 
    194 #: quotes-collection.php:479 
     229#: quotes-collection.php:572 
    195230msgid "Date added" 
    196231msgstr "" 
    197232 
    198 #: quotes-collection.php:480 
     233#: quotes-collection.php:573 
    199234msgid "Date updated" 
    200235msgstr "" 
    201236 
    202 #: quotes-collection.php:481 
     237#: quotes-collection.php:574 
    203238msgid "Visibility" 
    204239msgstr "" 
    205240 
    206 #: quotes-collection.php:484 
     241#: quotes-collection.php:577 
    207242msgid "Go" 
    208243msgstr "" 
    209244 
    210 #: quotes-collection.php:497 
     245#: quotes-collection.php:593 
    211246msgid "Action" 
    212247msgstr "" 
    213248 
    214 #: quotes-collection.php:515 
     249#: quotes-collection.php:612 
    215250msgid "No quotes in the database" 
    216251msgstr "" 
  • quotes-collection/trunk/quotes-collection-ajax.php

    r112014 r121004  
    11<?php 
    2  
    32// If you have your 'wp-content' directory in a place other than the default location, please specify your blog directory here. This is not your blog url. It is the address in your server. For example: '/public_html/myblog' 
    43$blogdir = "";  
    54 
    6 if(isset($_REQUEST['refresh'])) { 
     5if(isset($_POST['refresh'])) { 
     6 
    77    if (!$blogdir) { 
    88        $blogdir = preg_replace('|/wp-content.*$|','', __FILE__); 
     
    1818    } 
    1919    include_once(str_replace("-ajax", "", __FILE__)); 
    20     $show_author = isset($_REQUEST['show_author'])?$_REQUEST['show_author']:1; 
    21     $show_source = isset($_REQUEST['show_source'])?$_REQUEST['show_source']:1; 
    22     if($display = quotescollection_display_randomquote($show_author, $show_source, 2)) { 
     20    $show_author = isset($_POST['show_author'])?$_POST['show_author']:1; 
     21    $show_source = isset($_POST['show_source'])?$_POST['show_source']:1; 
     22    $char_limit = (isset($_POST['char_limit']) && is_numeric($_POST['char_limit']))?$_POST['char_limit']:''; 
     23     
     24     
     25    if($_POST['exclude'] && is_numeric($_POST['exclude'])) 
     26        $exclude = $_POST['exclude']; 
     27    else $exclude = ''; 
     28         
     29    $tags = $_POST['tags']; 
     30     
     31    $args = "echo=0&ajax_refresh=2&show_author={$show_author}&show_source={$show_source}&char_limit={$char_limit}&exclude={$exclude}&tags={$tags}"; 
     32         
     33 
     34    if($response = quotescollection_quote($args)) { 
    2335        @header("Content-type: text/javascript; charset=utf-8"); 
    24         die( "document.getElementById('quotescollection_randomquote-".$_REQUEST['refresh']."').innerHTML = '".$display."'" );  
     36        die( $response );  
    2537    } 
    2638    else 
    27         die( "alert('$error')" ); 
     39        die( $error ); 
    2840} 
    2941 
  • quotes-collection/trunk/quotes-collection.css

    r65792 r121004  
    99 
    1010.quotescollection_author { /* author */ 
    11  
     11    font-style:normal; 
    1212} 
    1313 
  • quotes-collection/trunk/quotes-collection.js

    r66030 r121004  
    1 var quotcoll_requrl, quotcoll_nexquote, quotcoll_loading, quotcoll_errortext; 
     1var quotcoll_requrl, quotcoll_nextquote, quotcoll_loading, quotcoll_errortext; 
    22 
    33function quotescollection_init(requrl, nextquote, loading, errortext) 
     
    99} 
    1010 
    11 function quotescollection_refresh(instance, exclude, show_author, show_source) 
     11 
     12 
     13function quotescollection_refresh(instance, exclude, show_author, show_source, filter_tags, char_limit) 
    1214{ 
    13     // function body defined below 
    14     var mysack = new sack( quotcoll_requrl ); 
    15  
    16     mysack.execute = 1; 
    17  
    18     mysack.method = 'POST'; 
    19     mysack.setVar("refresh", instance); 
    20     mysack.setVar("exclude", exclude); 
    21     mysack.setVar("show_author", show_author); 
    22     mysack.setVar("show_source", show_source); 
    23      
    24     mysack.onError = function() { document.getElementById('quotescollection_randomquote-'+instance).innerHTML = quotcoll_errortext; }; 
    25     mysack.onLoading = function() { document.getElementById('quotescollection_nextquote-'+instance).innerHTML = quotcoll_loading; }; 
    26     mysack.onLoaded = function() { document.getElementById('quotescollection_nextquote-'+instance).innerHTML = '<a style="cursor:pointer" onclick="quotescollection_refresh('+instance+','+exclude+','+show_author+','+show_source+');">' + quotcoll_nextquote + ' &raquo</a>'; }; 
    27 //  mysack.onInteractive = function() { document.getElementById('quotescollection_nextquote-'+instance).innerHTML += '...'; }; 
    28 //  mysack.onCompletion = function() { document.getElementById('quotescollection_randomquote-'+instance).innerHTML = mysack.response; }; 
    29     mysack.runAJAX(); 
    30     return true; 
     15    jQuery("#quotescollection_nextquote-"+instance).html(quotcoll_loading); 
     16    jQuery.ajax({ 
     17        type: "POST", 
     18        url: quotcoll_requrl, 
     19        data: "refresh="+instance+"&exclude="+exclude+"&show_author="+show_author+"&show_source="+show_source+"&char_limit="+char_limit+"&tags="+filter_tags, 
     20        success: function(response) { 
     21            jQuery("#quotescollection_randomquote-"+instance).hide(); 
     22            jQuery("#quotescollection_randomquote-"+instance).html( response ); 
     23            jQuery("#quotescollection_randomquote-"+instance).fadeIn("slow");    
     24        }, 
     25        error: function() { 
     26            alert("There was an error getting quote."); 
     27            jQuery("#quotescollection_nextquote-"+instance).html(quotcoll_nextquote); 
     28        }    
     29    }); 
    3130} 
  • quotes-collection/trunk/quotes-collection.php

    r112014 r121004  
    55Description: Quotes Collection plugin with Ajax powered Random Quote sidebar widget helps you collect and display your favourite quotes on your WordPress blog. 
    66Author: Srini G 
    7 Version: 1.2.8 
     7Version: 1.3 
    88Author URI: http://srinig.com/wordpress/ 
    99*/ 
     
    2020$quotescollection_db_version = '1.1';  
    2121 
    22  
    2322function quotescollection_get_randomquote($exclude = 0) 
    2423{ 
    25     global $wpdb; 
    26     if($exclude && is_numeric($exclude)) 
    27         $exclude_condition = 'AND quote_id <> '.$exclude; 
     24    if($exclude) $condition = "quote_id <> ".$exclude; 
     25    else $condition = ""; 
     26    return quotescollection_get_quote($condition); 
     27} 
     28 
     29function quotescollection_get_quote($condition = '') 
     30{ 
     31    global $wpdb; 
    2832    $sql = "SELECT quote_id, quote, author, source 
    29         FROM " . $wpdb->prefix . "quotescollection  
    30         WHERE visible = 'yes' 
    31         ".$exclude_condition." 
    32         ORDER BY RAND() 
    33         LIMIT 1"; 
     33        FROM " . $wpdb->prefix . "quotescollection"; 
     34    if ($condition) 
     35        $sql .= " WHERE ".$condition; 
     36    $sql .= " ORDER BY RAND() LIMIT 1"; 
    3437    $random_quote = $wpdb->get_row($sql, ARRAY_A); 
    3538    if ( !empty($random_quote) ) { 
     
    4043} 
    4144 
     45 
    4246function quotescollection_count($condition = "") 
    4347{ 
    4448    global $wpdb; 
     49    if($condition) $condition = " WHERE ".$condition; 
    4550    $sql = "SELECT COUNT(*) FROM " . $wpdb->prefix . "quotescollection ".$condition; 
    4651    $count = $wpdb->get_var($sql); 
     
    4853} 
    4954 
    50 function quotescollection_js_head() // this is a PHP function 
     55function quotescollection_js_head() 
    5156{ 
    5257    if ( !defined('WP_PLUGIN_URL') ) 
     
    5964    $error = __('Error getting quote', 'quotes-collection'); 
    6065 
    61     // use JavaScript SACK library for AJAX 
    62     wp_print_scripts( array( 'sack' )); 
    63      
    64     // Define custom JavaScript function 
    6566    ?> 
    6667<!-- Quotes Collection --> 
     
    7071</script> 
    7172<?php 
    72 } // end of PHP function quotescollection_js_head 
     73} 
    7374add_action('wp_head', 'quotescollection_js_head' ); 
    7475 
    7576 
     77function quotescollection_enqueue() 
     78{ 
     79    wp_enqueue_script('jquery'); 
     80} 
     81add_action('init', 'quotescollection_enqueue'); 
     82 
     83 
     84function quotescollection_txtfmt($quotedata = array()) 
     85{ 
     86    if(!$quotedata) 
     87        return; 
     88 
     89    foreach($quotedata as $key => $value){ 
     90        $value = wptexturize(str_replace(array("\r\n", "\r", "\n"), '', nl2br(trim($value)))); 
     91        $value = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]","<a href=\"\\0\">\\0</a>", $value);  
     92        $quotedata[$key] = $value; 
     93    } 
     94     
     95    return $quotedata;   
     96} 
    7697 
    7798 
    7899function quotescollection_display_randomquote($show_author = 1, $show_source = 1, $ajax_refresh = 1, $random_quote = array())  
     100{ 
     101    $args = "show_author={$show_author}&show_source={$show_source}&ajax_refresh={$ajax_refresh}&char_limit={$char_limit}&echo=1"; 
     102    return quotescollection_quote($args); 
     103} 
     104 
     105 
     106function quotescollection_quote($args = '')  
    79107{ 
    80108    global $quotescollection_instances; 
    81109    if(!($instance = $quotescollection_instances)) 
    82110        $instance = $quotescollection_instances = 0; 
    83     $random_quote = $random_quote?$random_quote:quotescollection_get_randomquote($_REQUEST['exclude']); 
    84     if(!$random_quote) { 
     111     
     112        $key_value = explode('&', $args); 
     113    $options = array(); 
     114    foreach($key_value as $value) { 
     115        $x = explode('=', $value); 
     116        $options[$x[0]] = $x[1]; // $options['key'] = 'value'; 
     117    } 
     118     
     119    $options_default = array( 
     120        'show_author' => 1, 
     121        'show_source' => 1, 
     122        'ajax_refresh' => 1, 
     123        'tags' => '', 
     124        'char_limit' => 500, 
     125        'echo' => 1, 
     126        'order' => 'random', 
     127        'exclude' => '' 
     128    ); 
     129     
     130    $options = array_merge($options_default, $options); 
     131     
     132    $condition = "visible = 'yes'"; 
     133     
     134    if($options['char_limit'] && is_numeric($options['char_limit'])) 
     135        $condition .= " AND CHAR_LENGTH(quote) <= ".$options['char_limit']; 
     136     
     137    else $options['char_limit'] = 0; 
     138     
     139    if($options['exclude']) 
     140        $condition .=" AND quote_id <> ".$options['exclude']; 
     141         
     142    if($options['tags']) { 
     143        $taglist = explode(',', $options['tags']); 
     144        foreach($taglist as $tag) { 
     145            $tag = mysql_real_escape_string(strip_tags(trim($tag))); 
     146            if($tag_condition) $tag_condition .= " OR "; 
     147            $tag_condition .= "tags = '{$tag}' OR tags LIKE '{$tag},%' OR tags LIKE '%,{$tag},%' OR tags LIKE '%,{$tag}'"; 
     148        } 
     149        $condition .= " AND ({$tag_condition})"; 
     150    } 
     151    $random_quote = quotescollection_get_quote($condition); 
     152 
     153    if(!$random_quote) 
    85154        return; 
    86     } 
    87     $display = "<p><q>". wptexturize(str_replace(array("\r\n", "\r", "\n"), '', nl2br(trim($random_quote['quote'])))) ."</q>"; 
    88     if($show_author && $random_quote['author']) 
    89         $cite = "<span class=\"quotescollection_author\">".wptexturize(str_replace(array("\r\n", "\r", "\n"), '', $random_quote['author']))."</span>"; 
    90  
    91     if($show_source && $random_quote['source']) { 
     155     
     156    $random_quote  = quotescollection_txtfmt($random_quote); 
     157                 
     158    $display = "<p><q>". $random_quote['quote'] ."</q>"; 
     159    if($options['show_author'] && $random_quote['author']) 
     160        $cite = '<span class="quotescollection_author">'. $random_quote['author'] .'</span>'; 
     161 
     162    if($options['show_source'] && $random_quote['source']) { 
    92163        if($cite) $cite .= ", "; 
    93             $cite .= "<span class=\"quotescollection_source\">".wptexturize(str_replace(array("\r\n", "\r", "\n"), '', $random_quote['source']))."</span>"; 
     164            $cite .= '<span class="quotescollection_source">'. $random_quote['source'] .'</span>'; 
    94165    } 
    95166    if($cite) $cite = " <cite>&mdash;&nbsp;{$cite}</cite>"; 
     
    97168     
    98169    // We don't want to display the 'next quote' link if there is no more than 1 quote 
    99     $quotes_count = quotescollection_count("WHERE visible='yes'");  
    100      
    101     if($ajax_refresh == 1 && $quotes_count > 1) { 
     170    $quotes_count = quotescollection_count($condition);  
     171     
     172     
     173    if($options['ajax_refresh'] == 1 && $quotes_count > 1) { 
    102174        $display .= "<script type=\"text/javascript\">\n<!--\ndocument.write(\""; 
    103         $display .= '<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-'.$instance.'\"><a style=\"cursor:pointer\" onclick=\"quotescollection_refresh('.$instance.', '.$random_quote["quote_id"].', '. $show_author .', '.$show_source.');\">'.__('Next quote', 'quotes-collection').' &raquo;<\/a><\/p>'; 
     175        $display .= '<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-'.$instance.'\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh('.$instance.', '.$random_quote["quote_id"].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].');\">'.__('Next quote', 'quotes-collection').' &raquo;<\/a><\/p>'; 
    104176        $display .= "\")\n//-->\n</script>\n"; 
    105177    } 
    106     if ($ajax_refresh == 2 && $quotes_count > 1) { 
    107         $display = addslashes($display); 
    108         $display = str_replace("</", "<\/", $display); 
    109         $display .= "<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-".$_REQUEST['refresh']."\"><a style=\"cursor:pointer\" onclick=\"quotescollection_refresh(".$_REQUEST['refresh'].", ".$random_quote['quote_id'].', '. $show_author .', '.$show_source.");\">".__('Next quote', 'quotes-collection')." &raquo;<\/a><\/p>"; 
     178    if ($options['ajax_refresh'] == 2 && $quotes_count) { 
     179        $display .= "<p class=\"quotescollection_nextquote\" id=\"quotescollection_nextquote-".$_REQUEST['refresh']."\"><a class=\"quotescollection_refresh\" style=\"cursor:pointer\" onclick=\"quotescollection_refresh(".$_REQUEST['refresh'].", ".$random_quote['quote_id'].', '. $options['show_author'] .', '.$options['show_source'].', \''.$options['tags'].'\', '.$options['char_limit'].");\">".__('Next quote', 'quotes-collection')." &raquo;</a></p>"; 
    110180        return $display; 
    111181    } 
    112182    $display = "<div id=\"quotescollection_randomquote-".$instance."\" class=\"quotescollection_randomquote\">{$display}</div>"; 
    113     echo $display; 
    114183    $quotescollection_instances++; 
    115     return; 
     184    if($options['echo']) 
     185        echo $display; 
     186    else 
     187        return $display; 
    116188} 
    117189 
     
    125197     
    126198    function quotescollection_widget($args) { 
    127         if($random_quote = quotescollection_get_randomquote()) { 
    128             $options = get_option('quotescollection'); 
    129             $title = isset($options['title'])?apply_filters('the_title', $options['title']):__('Random Quote', 'quotes-collection'); 
    130             $show_author = isset($options['show_author'])?$options['show_author']:1; 
    131             $show_source = isset($options['show_source'])?$options['show_source']:1; 
    132             $ajax_refresh = isset($options['ajax_refresh'])?$options['ajax_refresh']:1; 
     199        $options = get_option('quotescollection'); 
     200        $title = isset($options['title'])?apply_filters('the_title', $options['title']):__('Random Quote', 'quotes-collection'); 
     201        $show_author = isset($options['show_author'])?$options['show_author']:1; 
     202        $show_source = isset($options['show_source'])?$options['show_source']:1; 
     203        $ajax_refresh = isset($options['ajax_refresh'])?$options['ajax_refresh']:1; 
     204        $char_limit = $options['char_limit']; 
     205        $tags = $options['tags']; 
     206        $parms = "echo=0&show_author={$show_author}&show_source={$show_source}&ajax_refresh={$ajax_refresh}&char_limit={$char_limit}&tags={$tags}"; 
     207        if($random_quote = quotescollection_quote($parms)) { 
    133208            extract($args); 
    134209            echo $before_widget; 
    135210            if($title) echo $before_title . $title . $after_title . "\n"; 
    136             quotescollection_display_randomquote($show_author, $show_source, $ajax_refresh, $random_quote); 
     211            echo $random_quote; 
    137212            echo $after_widget; 
    138213        } 
     
    147222            'show_author' => 1, 
    148223            'show_source' => 0,  
    149             'ajax_refresh' => 1,  
     224            'ajax_refresh' => 1, 
     225            'tags' => '', 
     226            'char_limit' => 500 
    150227        ); 
    151228 
     
    160237            $options['show_source'] = $_REQUEST['quotescollection-show_source']?1:0; 
    161238            $options['ajax_refresh'] = $_REQUEST['quotescollection-ajax_refresh']?1:0; 
     239            $options['tags'] = strip_tags(stripslashes($_REQUEST['quotescollection-tags'])); 
     240            $options['char_limit'] = strip_tags(stripslashes($_REQUEST['quotescollection-char_limit'])); 
     241            if(!$options['char_limit']) 
     242                $options['char_limit'] = __('none', 'quotes-collection'); 
    162243            update_option('quotescollection', $options); 
    163244        } 
    164245         
    165246        // Now we define the display of widget options menu 
    166         $title = htmlspecialchars($options['title'], ENT_QUOTES); 
    167247        if($options['show_author']) 
    168248            $show_author_checked = ' checked="checked"'; 
     
    171251        if($options['ajax_refresh']) 
    172252            $ajax_refresh_checked = ' checked="checked"'; 
    173         echo "<p style=\"text-align:left;\"><label for=\"quotescollection-title\">".__('Title', 'quotes-collection').": </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-title\" name=\"quotescollection-title\" value=\"".htmlspecialchars($options['title'], ENT_QUOTES)."\" /></p>"; 
     253        echo "<p style=\"text-align:left;\"><label for=\"quotescollection-title\">".__('Title', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-title\" name=\"quotescollection-title\" value=\"".htmlspecialchars($options['title'], ENT_QUOTES)."\" /></p>"; 
    174254        echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_author\" name=\"quotescollection-show_author\" value=\"1\"{$show_author_checked} /> <label for=\"quotescollection-show_author\">".__('Show author?', 'quotes-collection')."</label></p>"; 
    175255        echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-show_source\" name=\"quotescollection-show_source\" value=\"1\"{$show_source_checked} /> <label for=\"quotescollection-show_source\">".__('Show source?', 'quotes-collection')."</label></p>"; 
    176256        echo "<p style=\"text-align:left;\"><input type=\"checkbox\" id=\"quotescollection-ajax_refresh\" name=\"quotescollection-ajax_refresh\" value=\"1\"{$ajax_refresh_checked} /> <label for=\"quotescollection-ajax_refresh\">".__('Ajax refresh feature', 'quotes-collection')."</label></p>"; 
     257        echo "<p style=\"text-align:left;\"><label for=\"quotescollection-tags\">".__('Tags filter', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-tags\" name=\"quotescollection-tags\" value=\"".htmlspecialchars($options['tags'], ENT_QUOTES)."\" /><br/><span class=\"setting-description\">".__('Comma separated', 'quotes-collection')."</span></p>"; 
     258        echo "<p style=\"text-align:left;\"><label for=\"quotescollection-char_limit\">".__('Character limit', 'quotes-collection')." </label><input class=\"widefat\" type=\"text\" id=\"quotescollection-char_limit\" name=\"quotescollection-char_limit\" value=\"".htmlspecialchars($options['char_limit'], ENT_QUOTES)."\" /></p>"; 
    177259        echo "<input type=\"hidden\" id=\"quotescollection-submit\" name=\"quotescollection-submit\" value=\"1\" />"; 
    178         echo "<p style=\"text-align:left;\">".__('Manage your collection of quotes at', 'quotes-collection')."<br /><a href=\"edit.php?page=quotes-collection/quotes-collection.php\">".__('Manage')."->Quotes Collection</a></p>"; 
     260        echo "<p style=\"text-align:left;\">"."<a href=\"edit.php?page=quotes-collection/quotes-collection.php\">".__('Click here', 'quotes-collection')."</a> ".__('to manage your collection of quotes', 'quotes-collection').".</p>"; 
    179261    } 
    180262 
    181263 
    182264    register_sidebar_widget(array('Random Quote', 'widgets'), 'quotescollection_widget'); 
    183     register_widget_control('Random Quote', 'quotescollection_widget_control', 250, 230); 
     265    register_widget_control('Random Quote', 'quotescollection_widget_control', 250, 350); 
    184266} 
    185267 
     
    327409    $optional_text = __('optional', 'quotes-collection'); 
    328410    $comma_separated_text = __('comma separated', 'quotes-collection'); 
     411     
    329412 
    330413    $display .=<<< EDITFORM 
     
    333416    <table class="form-table" cellpadding="5" cellspacing="2" width="100%"> 
    334417        <tbody><tr class="form-field form-required"> 
    335             <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_quote">{$quote_label}:</label></th> 
     418            <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_quote">{$quote_label}</label></th> 
    336419            <td><textarea id="quotescollection_quote" name="quote" rows="5" cols="50" style="width: 97%;">{$quote}</textarea></td> 
    337420        </tr> 
    338421        <tr class="form-field"> 
    339             <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_author">{$author_label}:</label></th> 
    340             <td><input type="text" id="quotescollection_author" name="author" size="40" value="{$author}" /> <small>({$optional_text})</small></td> 
     422            <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_author">{$author_label}</label></th> 
     423            <td><input type="text" id="quotescollection_author" name="author" size="40" value="{$author}" /><br />{$optional_text}</td> 
    341424        </tr> 
    342425        <tr class="form-field"> 
    343             <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_source">{$source_label}:</label></th> 
    344             <td><input type="text" id="quotescollection_source" name="source" size="40" value="{$source}" /> <small>({$optional_text})</small></td> 
     426            <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_source">{$source_label}</label></th> 
     427            <td><input type="text" id="quotescollection_source" name="source" size="40" value="{$source}" /><br />{$optional_text}</td> 
    345428        </tr> 
    346429        <tr class="form-field"> 
    347             <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_tags">{$tags_label}:</label></th> 
    348             <td><input type="text" id="quotescollection_tags" name="tags" size="40" value="{$tags}" /> <small>({$optional_text}, {$comma_separated_text})</small></td> 
     430            <th style="text-align:left;" scope="row" valign="top"><label for="quotescollection_tags">{$tags_label}</label></th> 
     431            <td><input type="text" id="quotescollection_tags" name="tags" size="40" value="{$tags}" /><br />{$optional_text}, {$comma_separated_text}</small></td> 
    349432        </tr> 
    350433        <tr> 
     
    353436        </tr></tbody> 
    354437    </table> 
    355     <p class="submit">{$back}<input name="submit" value="{$submit_value}" type="submit" class="button" /></p> 
     438    <p class="submit">{$back}<input name="submit" value="{$submit_value}" type="submit" class="button button-primary" /></p> 
    356439</form> 
    357440EDITFORM; 
     
    452535        else $alternate = " class=\"alternate\""; 
    453536        $quotes_list .= "<tr{$alternate}>"; 
    454         $quotes_list .= "<td class=\"check-column\"><input type=\"checkbox\" name=\"bulkcheck[]\" value=\"".$quote_data->quote_id."\" /></td>"; 
     537        $quotes_list .= "<th scope=\"row\" class=\"check-column\"><input type=\"checkbox\" name=\"bulkcheck[]\" value=\"".$quote_data->quote_id."\" /></th>"; 
    455538        $quotes_list .= "<td>" . $quote_data->quote_id . "</td>"; 
    456539        $quotes_list .= "<td>" . wptexturize(nl2br($quote_data->quote)) ."</td>"; 
     
    627710    $quote_data = $wpdb->get_row($sql, ARRAY_A); 
    628711    if ( !empty($quote_data) ) { 
    629         $display = "<blockquote class=\"quotescollection\"><q>".wptexturize(nl2br($quote_data['quote']))."</q>"; 
     712        $quote_data = quotescollection_txtfmt($quote_data); 
     713        $display = "<blockquote class=\"quotescollection\"><q>".$quote_data['quote']."</q>"; 
    630714        if($quote_data['author']) 
    631715            $cite = $quote_data['author']; 
     
    661745    if ( !empty($quotes) ) { 
    662746        foreach($quotes as $quote_data) { 
    663             $display .= "<blockquote class=\"quotescollection\"><q>".wptexturize(nl2br($quote_data['quote']))."</q>"; 
     747            $quote_data = quotescollection_txtfmt($quote_data); 
     748            $display .= "<blockquote class=\"quotescollection\"><q>".$quote_data['quote']."</q>"; 
    664749            $cite = ""; 
    665750            if($quote_data['author']) 
     
    696781    if ( !empty($quotes) ) { 
    697782        foreach($quotes as $quote_data) { 
    698             $display .= "<blockquote class=\"quotescollection\"><q>".wptexturize(nl2br($quote_data['quote']))."</q>"; 
     783            $quote_data = quotescollection_txtfmt($quote_data); 
     784            $display .= "<blockquote class=\"quotescollection\"><q>".$quote_data['quote']."</q>"; 
    699785            $cite = ""; 
    700786            if($quote_data['author']) 
  • quotes-collection/trunk/readme.txt

    r112014 r121004  
    33Donate link: http://srinig.com/wordpress/plugins/quotes-collection/#donate 
    44Tags: quotes collection, quotes, quotations, random quote, sidebar, widget, ajax 
    5 Requires at least: 2.1 
    6 Tested up to: 2.7.1 
     5Requires at least: 2.2 
     6Tested up to: 2.8 beta2 
    77Stable tag: trunk 
    88 
     
    2626    * `[quote|id=3]` displays quote with ID 3 
    2727    * `[quote|random]` displays a random quote 
    28 * The template function `quotescollection_display_randomquote()` can be used to display a random quote in places other than sidebar. 
    29 * Support for Localization. As of version 1.2.8, translation is available in the following languages. 
     28* The template function `quotescollection_quote()` can be used to display a random quote in places other than sidebar. See [other notes](http://wordpress.org/extend/plugins/quotes-collection/other_notes/) for details. 
     29* Support for Localization. As of version 1.3, translation is available in the following languages. 
    3030    * Arabic 
    3131    * Bosnian 
     32    * Belarusian 
    3233    * Danish 
    3334    * German 
     
    3637    * French 
    3738    * Croatian 
     39    * Hungarian 
    3840    * Italian 
    3941    * Japanese 
     
    4850    * Ukrainian 
    4951 
     52Refer [other notes](http://wordpress.org/extend/plugins/quotes-collection/other_notes/) and scroll down for the list changes from previous version. 
     53 
    5054== Installation == 
    5155 
    52561. Unzip and upload the `quotes-collection` directory to the `/wp-content/plugins/` directory 
    53571. Go to `WP Admin » Plugins` and activate the ‘Quotes Collection’ plugin 
    54 1. To add and manage the quotes go to `WP Admin » Manage » Quotes Collection` 
    55 1. To display a random quote in the sidebar, go to `WP Admin » Presentation » Widgets`, drag ‘Random Quote’ widget into the sidebar 
     581. To add and manage the quotes go to `WP Admin » Tools » Quotes Collection` 
     591. To display a random quote in the sidebar, go to `WP Admin » Appearance » Widgets`, drag ‘Random Quote’ widget into the sidebar 
    5660 
    5761== Frequently Asked Questions == 
     
    8387You can do this by turning off the 'Ajax Refresh feature' in widget options. 
    8488 
    85 = What are the parameters that can be passed on to  `quotescollection_display_randomquote()` template function? = 
    86  
    87 Three parameters can be passed into the `quotescollection_display_randomquote()` template function. 
    88  
    89 * `quotescollection_display_randomquote(1, 1, 1)` will show author, show source and switch on the ajax refresh feature. 
    90 * `quotescollection_display_randomquote(0, 0, 0)` will hide author, hide source and switch off the ajax refresh. 
    91  
    92 You can mix those parameters as you like it. Feel free to experiment. :) 
     89= What are the parameters that can be passed on to  `quotescollection_quote()` template function? = 
     90 
     91Please refer [other notes](http://wordpress.org/extend/plugins/quotes-collection/other_notes/) 
    9392 
    9493= How about a feature to backup/export/import the bulk of quotes in CSV/text format? = 
     
    102101== Screenshots == 
    103102 
    104 1. Admin interface 
    105 2. ‘Random Quote’ widget options 
    106 3. Random quote as can be seen in the sidebar of [srinig.com](http://srinig.com/) 
    107  
     1031. Admin interface (in WordPress 2.8 beta2) 
     1042. ‘Random Quote’ widget options (WordPress 2.8 beta2) 
     1053. An example of the random quote displayed on a sidebar 
     106 
     107== The quotescollection_quote() template function == 
     108 
     109The quotescollection_quote() template function can be used to display a random quote in places other than sidebar. 
     110 
     111Usage: `<?php quotescollection_quote('arguments'); ?>` 
     112 
     113The list of parameters (arguments) that can be passed on to this function: 
     114 
     115* **show_author** *(boolean)* 
     116    * To show/hide the author name 
     117        * 1 - shows the author name (default) 
     118        * 0 - hides the author name 
     119 
     120* **show_source** *(boolean)* 
     121    * To show/hide the source field 
     122        * 1 - shows the source  
     123        * 0 - hides the source (default) 
     124 
     125* **ajax_refresh** *(boolean)* 
     126    * To show/hide the 'Next quote' refresh link 
     127        * 1 - shows the refresh link (default) 
     128        * 0 - hides the hides the refresh link 
     129 
     130* **tags** *(string)* 
     131    * Comma separated list of tags. Only quotes with one or more of these tags will be shown. 
     132  
     133* **char_limit** *(integer)* 
     134    * Quotes with number of characters more than this value will be filtered out. This is useful if you don't want to display long quotes using this function. The default value is 500. 
     135 
     136* **echo** *(boolean)* 
     137    * Toggles the display of the random quote or return the quote as an HTML text string to be used in PHP. The default value is 1 (display the quote). Valid values: 
     138        * 1 (true) - default 
     139        * 0 (false)  
     140 
     141**Example usage:** 
     142 
     143* `<?php quotescollection_quote(); ?>` 
     144 
     145    * Uses the default values for the parameters. Shows author, hides source, shows the 'Next quote' link, no tags filtering, no character limit, displays the quote. 
     146 
     147* `<?php quotescollection_quote('show_author=0&show_source=1&tags=fun,fav'); ?>` 
     148 
     149    * Hides author, shows source, only quotes tagged with 'fun' or 'fav' or both are shown. 'Next quote' link is shown (default) and no character limit (default). 
     150 
     151* `<?php quotescollection_quote('ajax_refresh=0&char_limit=300'); ?>` 
     152 
     153    * The 'Next quote' link is not shown, quotes with number of characters greater that 300 are left out. 
     154     
     155==Version History== 
     156 
     157* **2009-05-28: Version 1.3** 
     158    * Uses jQuery instead of SACK library for the AJAX refresh functionality 
     159    * New widget option to filter based on tags 
     160    * New widget option to set character limit for the random quote 
     161    * Template function changed to `quotescollection_quote()`. The old function `quotescollection_display_randomquote()` will still work. 
     162    * Parameters now passed in string format in the template function 
     163    * Hungarian, Belarusian translations added. Swedish, Italian, Croatian, Turkish, Japanese, Persian, French and Tamil updated. 
     164    * If you insert a url in quote, author, source, it becomes clickable in the random quote and  in quotes pages. 
     165    * Other minor improvements 
     166     
     167* **2009-04-20: Version 1.2.8** 
     168    * Correcting a mistake in the previous update. 
     169 
     170* **2009-04-20: Version 1.2.7** 
     171    * Added localization in Portugese language 
     172    * Fix to handle directory paths in windows servers 
     173 
     174* **2009-04-14: Version 1.2.6** 
     175    * Added localization in Serbian, Bosnian, Dutch and Persian languages 
     176 
     177* **2009-02-27: Version 1.2.5** 
     178    * Added localization in Swedish language 
     179    * Minor tweaks and fixes 
     180 
     181* **2009-02-04: Version 1.2.4** 
     182    * Added translation in Danish, Croatian and Japanese languages 
     183    * Minor fixes 
     184    * FAQ section added in readme.txt to answer the frequently asked questions. 
     185 
     186* **2008-11-08: Version 1.2.3** 
     187    * Added Ukrainian translation (thanks to Stas for the translation) 
     188    * Tested the plugin for the new admin interface that comes with WordPress 2.7 and a few tweaks. The plugin will work just fine in older WP versions 
     189 
     190* **2008-10-06: Version 1.2.2** 
     191    * Security fix, HTML tidy fix, other fixes 
     192    * Updated Turkish trasnlation 
     193 
     194* **2008-09-24: Version 1.2.1** 
     195    * Arabic translation added 
     196    * Minor fix (quotes-collection.js: errotext -> errortext) 
     197 
     198* **2008-09-22: Version 1.2** 
     199    * All javascript code moved to quotes-collection.js. This makes the code neater. 
     200    * Translations for French, Polish and Turkish languages added. 
     201    * Italian and Russian translations updated. 
     202    * A few minor fixes and small improvements. 
     203 
     204* **2008-07-02: Version 1.1.4** 
     205    * Bug fixes. The plugin was not handling properly apostrophes in author and source fields. This is fixed now. 
     206    * Other small fixes. 
     207 
     208* **2008-06-05: Version 1.1.3.1** 
     209    * Added Spanish translation. 
     210    * Updated Italian translation. 
     211 
     212* **2008-06-01: Version 1.1.3** 
     213    * Improvements 
     214    * Updated German translation 
     215    * Added Russian translation 
     216 
     217* **2008-05-28: Version 1.1.2.1** 
     218    * VARCHAR(256) -> VARCHAR(255) (VARCHAR(256) doesnt work with MySQL 4.0) 
     219 
     220* **2008-05-28: Version 1.1.2** 
     221    * Modifications in the automatic database update functionality 
     222    * Fixed problem with German translation 
     223    * Added Italian translation 
     224 
     225* **2008-05-25: Version 1.1.1** 
     226    * security fix 
     227 
     228* **2008-05-25: Version 1.1** 
     229    * Tagging feature 
     230    * Internationalization 
     231    * Fixes and improvements 
     232 
     233* **2008-03-11: Version 1.0** 
     234    * Compatible with WordPress 2.5 
     235    * Bug fixes and various other improvements 
     236 
     237* **2008-02-06: Version 0.9.5** 
     238    * Fixed problem with non English characters in author names while using the tag [quote|author=] 
     239 
     240* **2008-01-16: Version 0.9.4** 
     241    * Support for utf-8 characters 
     242    * Fixed problem with linebreaks 
     243 
     244* **2007-12-19: Version 0.9.3** 
     245    * Fixed a JavaScript issue 
     246    * Removed unnecessary <h2></h2> tags above random quote when title field is left blank in widget control options. <h2> tags displayed only when there is a title. 
     247 
     248* **2007-12-18: Version 0.9.2** 
     249    * Provision to add random quote anywhere in the template. 
     250 
     251* **2007-12-16: Version 0.9.1** 
     252    * Bug fix 
     253 
     254* **2007-12-15: Version 0.9** 
     255    * Initial release 
Note: See TracChangeset for help on using the changeset viewer.