Plugin Directory

Changeset 1210919


Ignore:
Timestamp:
08/01/2015 10:42:06 AM (11 years ago)
Author:
dimitrov.adrian
Message:

0.8.2

Location:
scifi-task-manager/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • scifi-task-manager/trunk/languages/scifi-task-manager-bg_BG.po

    r1204197 r1210919  
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: Wed Jan 07 2015 01:19:05 GMT+0200 (EET)\n"
    6 "PO-Revision-Date: Wed Jul 22 2015 21:11:27 GMT+0300 (EEST)\n"
     6"PO-Revision-Date: Sat Aug 01 2015 13:27:26 GMT+0300 (EEST)\n"
    77"Last-Translator: e01 <dimitrov.adrian@gmail.com>\n"
    88"Language-Team: \n"
     
    3535msgstr "Размер"
    3636
    37 #: ../template-post-attachments.php:7 ../scifi-task-manager-helpers.php:545
     37#: ../template-post-attachments.php:7 ../scifi-task-manager-helpers.php:599
    3838msgid "Date"
    3939msgstr "Дата"
     
    122122msgstr "Детайли"
    123123
    124 #: ../scifi-task-manager.php:255 ../template-post-list-filters.php:17
     124#: ../scifi-task-manager.php:255 ../template-post-list-filters.php:6
    125125msgid "(general task)"
    126126msgstr "(основна задача)"
     
    144144msgstr "Преглед"
    145145
    146 #: ../scifi-task-manager.php:462 ../scifi-task-manager-helpers.php:516 ../scifi-
    147 #: task-manager-helpers.php:544 ../template-admin-widget.php:6 ../template-post-
     146#: ../scifi-task-manager.php:462 ../scifi-task-manager-helpers.php:570 ../scifi-
     147#: task-manager-helpers.php:598 ../template-admin-widget.php:6 ../template-post-
    148148#: publish.php:44
    149149msgid "Priority"
    150150msgstr "Важност"
    151151
    152 #: ../scifi-task-manager.php:463 ../scifi-task-manager-helpers.php:522 ../scifi-
    153 #: task-manager-helpers.php:543 ../template-admin-widget.php:11 ../template-post-
     152#: ../scifi-task-manager.php:463 ../scifi-task-manager-helpers.php:576 ../scifi-
     153#: task-manager-helpers.php:597 ../template-admin-widget.php:11 ../template-post-
    154154#: publish.php:56
    155155msgid "Status"
     
    169169msgstr "Сътрудник"
    170170
    171 #: ../scifi-task-manager.php:472 ../scifi-task-manager-helpers.php:546 ..
     171#: ../scifi-task-manager.php:472 ../scifi-task-manager-helpers.php:600 ..
    172172#: template-admin-widget.php:66 ../template-post-publish.php:39
    173173msgid "Deadline"
    174174msgstr "Срок"
    175175
     176#: ../scifi-task-manager.php:512
     177#, php-format
     178msgctxt "posts"
     179msgid "All <span class=\"count\">(%s)</span>"
     180msgid_plural "All <span class=\"count\">(%s)</span>"
     181msgstr[0] ""
     182msgstr[1] ""
     183
    176184#: ../scifi-task-manager-helpers.php:41
    177185msgid "Trivial"
     
    194202msgstr "Критичен"
    195203
    196 #: ../scifi-task-manager-helpers.php:80
     204#: ../scifi-task-manager-helpers.php:95
    197205msgid "Pending"
    198206msgstr "В очакване"
    199207
    200 #: ../scifi-task-manager-helpers.php:85
     208#: ../scifi-task-manager-helpers.php:100
    201209msgid "Rejected"
    202210msgstr "Отхвърлен"
    203211
    204 #: ../scifi-task-manager-helpers.php:90
     212#: ../scifi-task-manager-helpers.php:105
    205213msgid "Hold"
    206214msgstr "Задържан"
    207215
    208 #: ../scifi-task-manager-helpers.php:95
     216#: ../scifi-task-manager-helpers.php:110
    209217msgid "In Progress"
    210218msgstr "В режим на работа"
    211219
    212 #: ../scifi-task-manager-helpers.php:100
     220#: ../scifi-task-manager-helpers.php:115
    213221msgid "Awaiting review"
    214222msgstr "Очаква ревю"
    215223
    216 #: ../scifi-task-manager-helpers.php:105
     224#: ../scifi-task-manager-helpers.php:120
    217225msgid "In Review"
    218226msgstr "В ревю"
    219227
    220 #: ../scifi-task-manager-helpers.php:110
     228#: ../scifi-task-manager-helpers.php:125
    221229msgid "Resolved"
    222230msgstr "Разрешен"
    223231
    224 #: ../scifi-task-manager-helpers.php:115
     232#: ../scifi-task-manager-helpers.php:130
    225233msgid "Completed"
    226234msgstr "Завършен"
    227235
    228 #: ../scifi-task-manager-helpers.php:511
     236#: ../scifi-task-manager-helpers.php:565
    229237msgid "Columns"
    230238msgstr "Колони"
    231239
    232 #: ../scifi-task-manager-helpers.php:528 ../template-admin-widget.php:24
     240#: ../scifi-task-manager-helpers.php:582 ../template-admin-widget.php:24
    233241msgid "Info"
    234242msgstr "Допълнително"
    235243
    236 #: ../scifi-task-manager-helpers.php:534 ../template-admin-widget.php:19
     244#: ../scifi-task-manager-helpers.php:588 ../template-admin-widget.php:19
    237245msgid "Description"
    238246msgstr "Описание"
    239247
    240 #: ../scifi-task-manager-helpers.php:539
     248#: ../scifi-task-manager-helpers.php:593
    241249msgid "Order by"
    242250msgstr "Подредба"
    243251
    244 #: ../scifi-task-manager-helpers.php:542
     252#: ../scifi-task-manager-helpers.php:596
    245253msgid "Default"
    246254msgstr "По подразбиране"
    247255
    248 #: ../scifi-task-manager-helpers.php:552
     256#: ../scifi-task-manager-helpers.php:606
    249257msgid "Other settings"
    250258msgstr "Други настроийки"
    251259
    252 #: ../scifi-task-manager-helpers.php:557
     260#: ../scifi-task-manager-helpers.php:611
    253261msgid "Show my tasks only"
    254262msgstr "Показване само на моите таскове"
    255263
    256 #: ../scifi-task-manager-helpers.php:562
     264#: ../scifi-task-manager-helpers.php:616
    257265msgid "Limit"
    258266msgstr "Лимит"
    259267
    260 #: ../scifi-task-manager-helpers.php:568
     268#: ../scifi-task-manager-helpers.php:622
    261269msgid "Time filter"
    262270msgstr "Ограничение по време"
    263271
    264 #: ../scifi-task-manager-helpers.php:571
     272#: ../scifi-task-manager-helpers.php:625
    265273msgid "Any"
    266274msgstr "Всички"
    267275
    268 #: ../scifi-task-manager-helpers.php:572
     276#: ../scifi-task-manager-helpers.php:626
    269277msgid "Today"
    270278msgstr "Днес"
    271279
    272 #: ../scifi-task-manager-helpers.php:573
     280#: ../scifi-task-manager-helpers.php:627
    273281msgid "Week"
    274282msgstr "Седмица"
    275283
    276 #: ../scifi-task-manager-helpers.php:574
     284#: ../scifi-task-manager-helpers.php:628
    277285msgid "Month"
    278286msgstr "Месец"
    279287
    280 #: ../scifi-task-manager-helpers.php:575
     288#: ../scifi-task-manager-helpers.php:629
    281289msgid "Year"
    282290msgstr "Година"
    283291
    284 #: ../scifi-task-manager-helpers.php:613
     292#: ../scifi-task-manager-helpers.php:669
    285293msgid "scifi Task Manager settings"
    286294msgstr "scifi Task Manager настройки"
    287295
    288 #: ../scifi-task-manager-helpers.php:622
     296#: ../scifi-task-manager-helpers.php:678
    289297msgid "Menu position"
    290298msgstr "Позиция на менюто"
    291299
    292 #: ../scifi-task-manager-helpers.php:627
     300#: ../scifi-task-manager-helpers.php:683
    293301msgid "Dashboard"
    294302msgstr "Табло"
    295303
    296 #: ../scifi-task-manager-helpers.php:628
     304#: ../scifi-task-manager-helpers.php:684
    297305msgid "Main Menu (top)"
    298306msgstr "Основно меню (горе)"
    299307
    300 #: ../scifi-task-manager-helpers.php:629
     308#: ../scifi-task-manager-helpers.php:685
    301309msgid "Main Menu (auto)"
    302310msgstr "Основно меню (авт.)"
    303311
    304 #: ../scifi-task-manager-helpers.php:630
     312#: ../scifi-task-manager-helpers.php:686
    305313msgid "Admin Bar"
    306314msgstr "Администраторска лента"
    307315
    308 #: ../scifi-task-manager-helpers.php:631
     316#: ../scifi-task-manager-helpers.php:687
    309317msgid "Tools"
    310318msgstr "Разни"
    311319
    312 #: ../scifi-task-manager-helpers.php:638
     320#: ../scifi-task-manager-helpers.php:694
    313321msgid "Tags support"
    314322msgstr "Поддръжка на етикети"
    315323
    316 #: ../scifi-task-manager-helpers.php:644 ../scifi-task-manager-helpers.php:683
     324#: ../scifi-task-manager-helpers.php:700 ../scifi-task-manager-helpers.php:739
    317325msgid "Enable"
    318326msgstr "Включване"
    319327
    320 #: ../scifi-task-manager-helpers.php:650
     328#: ../scifi-task-manager-helpers.php:706
    321329msgid "Manage tags"
    322330msgstr "Управление на етикетите"
    323331
    324 #: ../scifi-task-manager-helpers.php:660
     332#: ../scifi-task-manager-helpers.php:716
    325333msgid "User roles"
    326334msgstr "Потребителски роли"
    327335
    328 #: ../scifi-task-manager-helpers.php:677
     336#: ../scifi-task-manager-helpers.php:733
    329337msgid "Mail notification"
    330338msgstr "E-Mail известия"
    331339
    332 #: ../scifi-task-manager-helpers.php:686
     340#: ../scifi-task-manager-helpers.php:742
    333341msgid ""
    334342"Recieve mails with changes when tasks are created or modified, or are being "
     
    339347"уведомленията."
    340348
    341 #: ../scifi-task-manager-helpers.php:693
     349#: ../scifi-task-manager-helpers.php:749
    342350msgid "Mail from"
    343351msgstr "E-mail изпращач"
    344352
    345 #: ../scifi-task-manager-helpers.php:700
     353#: ../scifi-task-manager-helpers.php:756
    346354msgid ""
    347355"Email in format \"name@domain.ll\" or full from field in format \"Name From "
     
    351359"<име@домейн.зона>\""
    352360
    353 #: ../scifi-task-manager-helpers.php:703
     361#: ../scifi-task-manager-helpers.php:759
    354362#, php-format
    355363msgid ""
     
    360368"празно следния <code>%s &lt;%s&gt;</code> ще бъде използван."
    361369
    362 #: ../scifi-task-manager-helpers.php:775
     370#: ../scifi-task-manager-helpers.php:766
     371msgid "Priorities"
     372msgstr "Приоритети"
     373
     374#: ../scifi-task-manager-helpers.php:784
     375msgid "Statuses"
     376msgstr "Статуси"
     377
     378#: ../scifi-task-manager-helpers.php:867
    363379#, php-format
    364380msgid "Created new task - %s by %s"
    365381msgstr "Беше създадена нова задача - %s от %s"
    366382
    367 #: ../scifi-task-manager-helpers.php:776
     383#: ../scifi-task-manager-helpers.php:868
    368384msgid ""
    369385"\n"
     
    388404"{site}"
    389405
    390 #: ../scifi-task-manager-helpers.php:790
     406#: ../scifi-task-manager-helpers.php:882
    391407#, php-format
    392408msgid "Status changed from %s to %s"
    393409msgstr "Статуса беше променен от %s на %s"
    394410
    395 #: ../scifi-task-manager-helpers.php:793
     411#: ../scifi-task-manager-helpers.php:885
    396412#, php-format
    397413msgid "Priority changed from %s to %s"
    398414msgstr "Приоритетът беше променен от %s на %s"
    399415
    400 #: ../scifi-task-manager-helpers.php:796
     416#: ../scifi-task-manager-helpers.php:888
    401417#, php-format
    402418msgid "Reporter changed from %s to %s"
    403419msgstr "Докладчикът беше променен от %s на %s"
    404420
    405 #: ../scifi-task-manager-helpers.php:799
     421#: ../scifi-task-manager-helpers.php:891
    406422#, php-format
    407423msgid "Parent task changed from %s to %s"
     
    410426"от %s на %s"
    411427
    412 #: ../scifi-task-manager-helpers.php:806
     428#: ../scifi-task-manager-helpers.php:898
    413429#, php-format
    414430msgid "Updated task - %s by %s"
    415431msgstr "Задача беше обновена - %s от %s"
    416432
    417 #: ../scifi-task-manager-helpers.php:807
     433#: ../scifi-task-manager-helpers.php:899
    418434msgid ""
    419435"\n"
     
    446462"{site}"
    447463
    448 #: ../scifi-task-manager-helpers.php:825
     464#: ../scifi-task-manager-helpers.php:917
    449465#, php-format
    450466msgid "New comment on task - %s by %s"
     
    453469"%s от %s"
    454470
    455 #: ../scifi-task-manager-helpers.php:826
     471#: ../scifi-task-manager-helpers.php:918
    456472msgid ""
    457473"\n"
     
    494510msgstr "Докладван от"
    495511
    496 #: ../template-post-list-filters.php:33
     512#: ../template-post-list-filters.php:22
    497513msgid "All reporters"
    498514msgstr "Всички докладчици"
    499515
    500 #: ../template-post-list-filters.php:42
     516#: ../template-post-list-filters.php:31
    501517msgid "All assignees"
    502518msgstr "Всички сътрудници"
  • scifi-task-manager/trunk/languages/scifi-task-manager.pot

    r1204197 r1210919  
    66"Report-Msgid-Bugs-To: \n"
    77"POT-Creation-Date: Wed Jan 07 2015 01:19:05 GMT+0200 (EET)\n"
    8 "POT-Revision-Date: Wed Jul 22 2015 21:10:15 GMT+0300 (EEST)\n"
     8"POT-Revision-Date: Sat Aug 01 2015 13:26:52 GMT+0300 (EEST)\n"
    99"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1010"Last-Translator: \n"
     
    3737msgstr ""
    3838
    39 #: ../template-post-attachments.php:7 ../scifi-task-manager-helpers.php:545
     39#: ../template-post-attachments.php:7 ../scifi-task-manager-helpers.php:599
    4040msgid "Date"
    4141msgstr ""
     
    124124msgstr ""
    125125
    126 #: ../scifi-task-manager.php:255 ../template-post-list-filters.php:17
     126#: ../scifi-task-manager.php:255 ../template-post-list-filters.php:6
    127127msgid "(general task)"
    128128msgstr ""
     
    146146msgstr ""
    147147
    148 #: ../scifi-task-manager.php:462 ../scifi-task-manager-helpers.php:516 ../scifi-
    149 #: task-manager-helpers.php:544 ../template-admin-widget.php:6 ../template-post-
     148#: ../scifi-task-manager.php:462 ../scifi-task-manager-helpers.php:570 ../scifi-
     149#: task-manager-helpers.php:598 ../template-admin-widget.php:6 ../template-post-
    150150#: publish.php:44
    151151msgid "Priority"
    152152msgstr ""
    153153
    154 #: ../scifi-task-manager.php:463 ../scifi-task-manager-helpers.php:522 ../scifi-
    155 #: task-manager-helpers.php:543 ../template-admin-widget.php:11 ../template-post-
     154#: ../scifi-task-manager.php:463 ../scifi-task-manager-helpers.php:576 ../scifi-
     155#: task-manager-helpers.php:597 ../template-admin-widget.php:11 ../template-post-
    156156#: publish.php:56
    157157msgid "Status"
     
    171171msgstr ""
    172172
    173 #: ../scifi-task-manager.php:472 ../scifi-task-manager-helpers.php:546 ..
     173#: ../scifi-task-manager.php:472 ../scifi-task-manager-helpers.php:600 ..
    174174#: /template-admin-widget.php:66 ../template-post-publish.php:39
    175175msgid "Deadline"
    176176msgstr ""
    177177
     178#: ../scifi-task-manager.php:512
     179#, php-format
     180msgctxt "posts"
     181msgid "All <span class=\"count\">(%s)</span>"
     182msgid_plural "All <span class=\"count\">(%s)</span>"
     183msgstr[0] ""
     184msgstr[1] ""
     185
    178186#: ../scifi-task-manager-helpers.php:41
    179187msgid "Trivial"
     
    196204msgstr ""
    197205
    198 #: ../scifi-task-manager-helpers.php:80
     206#: ../scifi-task-manager-helpers.php:95
    199207msgid "Pending"
    200208msgstr ""
    201209
    202 #: ../scifi-task-manager-helpers.php:85
     210#: ../scifi-task-manager-helpers.php:100
    203211msgid "Rejected"
    204212msgstr ""
    205213
    206 #: ../scifi-task-manager-helpers.php:90
     214#: ../scifi-task-manager-helpers.php:105
    207215msgid "Hold"
    208216msgstr ""
    209217
    210 #: ../scifi-task-manager-helpers.php:95
     218#: ../scifi-task-manager-helpers.php:110
    211219msgid "In Progress"
    212220msgstr ""
    213221
    214 #: ../scifi-task-manager-helpers.php:100
     222#: ../scifi-task-manager-helpers.php:115
    215223msgid "Awaiting review"
    216224msgstr ""
    217225
    218 #: ../scifi-task-manager-helpers.php:105
     226#: ../scifi-task-manager-helpers.php:120
    219227msgid "In Review"
    220228msgstr ""
    221229
    222 #: ../scifi-task-manager-helpers.php:110
     230#: ../scifi-task-manager-helpers.php:125
    223231msgid "Resolved"
    224232msgstr ""
    225233
    226 #: ../scifi-task-manager-helpers.php:115
     234#: ../scifi-task-manager-helpers.php:130
    227235msgid "Completed"
    228236msgstr ""
    229237
    230 #: ../scifi-task-manager-helpers.php:511
     238#: ../scifi-task-manager-helpers.php:565
    231239msgid "Columns"
    232240msgstr ""
    233241
    234 #: ../scifi-task-manager-helpers.php:528 ../template-admin-widget.php:24
     242#: ../scifi-task-manager-helpers.php:582 ../template-admin-widget.php:24
    235243msgid "Info"
    236244msgstr ""
    237245
    238 #: ../scifi-task-manager-helpers.php:534 ../template-admin-widget.php:19
     246#: ../scifi-task-manager-helpers.php:588 ../template-admin-widget.php:19
    239247msgid "Description"
    240248msgstr ""
    241249
    242 #: ../scifi-task-manager-helpers.php:539
     250#: ../scifi-task-manager-helpers.php:593
    243251msgid "Order by"
    244252msgstr ""
    245253
    246 #: ../scifi-task-manager-helpers.php:542
     254#: ../scifi-task-manager-helpers.php:596
    247255msgid "Default"
    248256msgstr ""
    249257
    250 #: ../scifi-task-manager-helpers.php:552
     258#: ../scifi-task-manager-helpers.php:606
    251259msgid "Other settings"
    252260msgstr ""
    253261
    254 #: ../scifi-task-manager-helpers.php:557
     262#: ../scifi-task-manager-helpers.php:611
    255263msgid "Show my tasks only"
    256264msgstr ""
    257265
    258 #: ../scifi-task-manager-helpers.php:562
     266#: ../scifi-task-manager-helpers.php:616
    259267msgid "Limit"
    260268msgstr ""
    261269
    262 #: ../scifi-task-manager-helpers.php:568
     270#: ../scifi-task-manager-helpers.php:622
    263271msgid "Time filter"
    264272msgstr ""
    265273
    266 #: ../scifi-task-manager-helpers.php:571
     274#: ../scifi-task-manager-helpers.php:625
    267275msgid "Any"
    268276msgstr ""
    269277
    270 #: ../scifi-task-manager-helpers.php:572
     278#: ../scifi-task-manager-helpers.php:626
    271279msgid "Today"
    272280msgstr ""
    273281
    274 #: ../scifi-task-manager-helpers.php:573
     282#: ../scifi-task-manager-helpers.php:627
    275283msgid "Week"
    276284msgstr ""
    277285
    278 #: ../scifi-task-manager-helpers.php:574
     286#: ../scifi-task-manager-helpers.php:628
    279287msgid "Month"
    280288msgstr ""
    281289
    282 #: ../scifi-task-manager-helpers.php:575
     290#: ../scifi-task-manager-helpers.php:629
    283291msgid "Year"
    284292msgstr ""
    285293
    286 #: ../scifi-task-manager-helpers.php:613
     294#: ../scifi-task-manager-helpers.php:669
    287295msgid "scifi Task Manager settings"
    288296msgstr ""
    289297
    290 #: ../scifi-task-manager-helpers.php:622
     298#: ../scifi-task-manager-helpers.php:678
    291299msgid "Menu position"
    292300msgstr ""
    293301
    294 #: ../scifi-task-manager-helpers.php:627
     302#: ../scifi-task-manager-helpers.php:683
    295303msgid "Dashboard"
    296304msgstr ""
    297305
    298 #: ../scifi-task-manager-helpers.php:628
     306#: ../scifi-task-manager-helpers.php:684
    299307msgid "Main Menu (top)"
    300308msgstr ""
    301309
    302 #: ../scifi-task-manager-helpers.php:629
     310#: ../scifi-task-manager-helpers.php:685
    303311msgid "Main Menu (auto)"
    304312msgstr ""
    305313
    306 #: ../scifi-task-manager-helpers.php:630
     314#: ../scifi-task-manager-helpers.php:686
    307315msgid "Admin Bar"
    308316msgstr ""
    309317
    310 #: ../scifi-task-manager-helpers.php:631
     318#: ../scifi-task-manager-helpers.php:687
    311319msgid "Tools"
    312320msgstr ""
    313321
    314 #: ../scifi-task-manager-helpers.php:638
     322#: ../scifi-task-manager-helpers.php:694
    315323msgid "Tags support"
    316324msgstr ""
    317325
    318 #: ../scifi-task-manager-helpers.php:644 ../scifi-task-manager-helpers.php:683
     326#: ../scifi-task-manager-helpers.php:700 ../scifi-task-manager-helpers.php:739
    319327msgid "Enable"
    320328msgstr ""
    321329
    322 #: ../scifi-task-manager-helpers.php:650
     330#: ../scifi-task-manager-helpers.php:706
    323331msgid "Manage tags"
    324332msgstr ""
    325333
    326 #: ../scifi-task-manager-helpers.php:660
     334#: ../scifi-task-manager-helpers.php:716
    327335msgid "User roles"
    328336msgstr ""
    329337
    330 #: ../scifi-task-manager-helpers.php:677
     338#: ../scifi-task-manager-helpers.php:733
    331339msgid "Mail notification"
    332340msgstr ""
    333341
    334 #: ../scifi-task-manager-helpers.php:686
     342#: ../scifi-task-manager-helpers.php:742
    335343msgid ""
    336344"Recieve mails with changes when tasks are created or modified, or are being "
     
    338346msgstr ""
    339347
    340 #: ../scifi-task-manager-helpers.php:693
     348#: ../scifi-task-manager-helpers.php:749
    341349msgid "Mail from"
    342350msgstr ""
    343351
    344 #: ../scifi-task-manager-helpers.php:700
     352#: ../scifi-task-manager-helpers.php:756
    345353msgid ""
    346354"Email in format \"name@domain.ll\" or full from field in format \"Name From "
     
    348356msgstr ""
    349357
    350 #: ../scifi-task-manager-helpers.php:703
     358#: ../scifi-task-manager-helpers.php:759
    351359#, php-format
    352360msgid ""
     
    355363msgstr ""
    356364
    357 #: ../scifi-task-manager-helpers.php:775
     365#: ../scifi-task-manager-helpers.php:766
     366msgid "Priorities"
     367msgstr ""
     368
     369#: ../scifi-task-manager-helpers.php:784
     370msgid "Statuses"
     371msgstr ""
     372
     373#: ../scifi-task-manager-helpers.php:867
    358374#, php-format
    359375msgid "Created new task - %s by %s"
    360376msgstr ""
    361377
    362 #: ../scifi-task-manager-helpers.php:776
     378#: ../scifi-task-manager-helpers.php:868
    363379msgid ""
    364380"\n"
     
    374390msgstr ""
    375391
    376 #: ../scifi-task-manager-helpers.php:790
     392#: ../scifi-task-manager-helpers.php:882
    377393#, php-format
    378394msgid "Status changed from %s to %s"
    379395msgstr ""
    380396
    381 #: ../scifi-task-manager-helpers.php:793
     397#: ../scifi-task-manager-helpers.php:885
    382398#, php-format
    383399msgid "Priority changed from %s to %s"
    384400msgstr ""
    385401
    386 #: ../scifi-task-manager-helpers.php:796
     402#: ../scifi-task-manager-helpers.php:888
    387403#, php-format
    388404msgid "Reporter changed from %s to %s"
    389405msgstr ""
    390406
    391 #: ../scifi-task-manager-helpers.php:799
     407#: ../scifi-task-manager-helpers.php:891
    392408#, php-format
    393409msgid "Parent task changed from %s to %s"
    394410msgstr ""
    395411
    396 #: ../scifi-task-manager-helpers.php:806
     412#: ../scifi-task-manager-helpers.php:898
    397413#, php-format
    398414msgid "Updated task - %s by %s"
    399415msgstr ""
    400416
    401 #: ../scifi-task-manager-helpers.php:807
     417#: ../scifi-task-manager-helpers.php:899
    402418msgid ""
    403419"\n"
     
    416432msgstr ""
    417433
    418 #: ../scifi-task-manager-helpers.php:825
     434#: ../scifi-task-manager-helpers.php:917
    419435#, php-format
    420436msgid "New comment on task - %s by %s"
    421437msgstr ""
    422438
    423 #: ../scifi-task-manager-helpers.php:826
     439#: ../scifi-task-manager-helpers.php:918
    424440msgid ""
    425441"\n"
     
    450466msgstr ""
    451467
    452 #: ../template-post-list-filters.php:33
     468#: ../template-post-list-filters.php:22
    453469msgid "All reporters"
    454470msgstr ""
    455471
    456 #: ../template-post-list-filters.php:42
     472#: ../template-post-list-filters.php:31
    457473msgid "All assignees"
    458474msgstr ""
  • scifi-task-manager/trunk/readme.txt

    r1210915 r1210919  
    116116== Changelog ==
    117117
     118= 0.8.2 =
     119* Added status and priorities labels and colors editing in admin panel
     120* Added status remembering when open tasklist
     121* Fixed assets include
     122
    118123= 0.8.1 =
    119124* Fixed bug with required email in settings reported by <samwilson> https://wordpress.org/support/topic/email-field-is-required?replies=1
  • scifi-task-manager/trunk/scifi-task-manager-helpers.php

    r1204197 r1210919  
    3131 * Get registered priorities or just a one
    3232 *
    33  * @param $priority
     33 * @param $priority_return
    3434 * @param $label
    3535 *
    3636 * @return array|string
    3737 */
    38 function scifi_task_manager_get_priorities($priority = 'all', $label = FALSE) {
     38function scifi_task_manager_get_priorities($priority_return = 'all', $label = FALSE) {
    3939  $priorities = array();
    4040  $priorities[10] = array(
     
    5858    'color' => '#CC0000',
    5959  );
     60
    6061  $priorities = apply_filters('scifi-task-manager-priorities', $priorities);
    61   if ($priority === 'all') {
     62
     63  // Merge with those of settings.
     64  $priorities_settings = get_option('scifi-task-manager_priorities', array());
     65  foreach ($priorities_settings as $id => $priority) {
     66    if (!empty($priorities[$id])) {
     67      if (!empty($priority['color'])) {
     68        $priorities[$id]['color'] = $priority['color'];
     69      }
     70      if (!empty($priority['label'])) {
     71        $priorities[$id]['label'] = $priority['label'];
     72      }
     73    }
     74  }
     75
     76  if ($priority_return === 'all') {
    6277    return $priorities;
    6378  }
    6479  else {
    65     return empty($priorities[$priority]) ? NULL : ($label ? $priorities[$priority]['label'] : $priorities[$priority]);
     80    return empty($priorities[$priority_return]) ? NULL : ($label ? $priorities[$priority_return]['label'] : $priorities[$priority_return]);
    6681  }
    6782}
     
    7085 * Get registered statuses or just a one
    7186 *
    72  * @param $status
     87 * @param $status_return
    7388 * @param $label
    7489 *
    7590 * @return array|object
    7691 */
    77 function scifi_task_manager_get_statuses($status = 'all', $label = FALSE) {
     92function scifi_task_manager_get_statuses($status_return = 'all', $label = FALSE) {
    7893  $statuses = array();
    7994  $statuses['scifitm-pending'] = array(
     
    117132    'color' => '#9ED645',
    118133  );
    119  
     134
    120135  $statuses = apply_filters('scifi-task-manager-statuses', $statuses);
    121   if ($status === 'all') {
     136
     137  // Merge with those of settings.
     138  $statuses_settings = get_option('scifi-task-manager_statuses', array());
     139  foreach ($statuses_settings as $id => $status) {
     140    if (!empty($statuses[$id])) {
     141      if (!empty($status['color'])) {
     142        $statuses[$id]['color'] = $status['color'];
     143      }
     144      if (!empty($status['label'])) {
     145        $statuses[$id]['label'] = $status['label'];
     146      }
     147    }
     148  }
     149
     150  if ($status_return === 'all') {
    122151    return $statuses;
    123152  }
    124153  else {
    125     return empty($statuses[$status]) ? NULL : ($label ? $statuses[$status]['label'] : $statuses[$status]);
     154    return empty($statuses[$status_return]) ? NULL : ($label ? $statuses[$status_return]['label'] : $statuses[$status_return]);
    126155  }
    127156}
     
    494523  <?php
    495524  }
    496 }
     525
     526  if (get_current_screen()->id == 'settings_page_scifi-task-manager') {
     527    wp_enqueue_style('wp-color-picker');
     528    wp_enqueue_script('wp-color-picker');
     529    add_action('admin_footer', function() {
     530      ?>
     531      <style>
     532        .scifi-task-manager-colors-list .wp-picker-container,
     533        input.scifi-task-manager-color-field { vertical-align: middle; }
     534      </style>
     535      <script>
     536        (function($) {
     537          $(document).ready(function() {
     538            $('input.scifi-task-manager-color-field').wpColorPicker({
     539              palettes: false
     540            });
     541          });
     542        }(jQuery));
     543      </script>
     544      <?php
     545    });
     546  }
     547}
     548
     549
     550
    497551
    498552/**
     
    595649    update_option('scifi-task-manager_mailer', !empty($_POST['scifi-task-manager_mailer']));
    596650    update_option('scifi-task-manager_mail_from', $_POST['scifi-task-manager_mail_from']);
     651    update_option('scifi-task-manager_statuses', $_POST['scifi-task-manager_statuses']);
     652    update_option('scifi-task-manager_priorities', $_POST['scifi-task-manager_priorities']);
    597653  }
    598654
     
    705761        </tr>
    706762
     763        <tr>
     764          <th>
     765            <label for="scifi-task-manager_colors_override">
     766              <?php _e('Priorities', 'scifi-task-manager')?>
     767            </label>
     768          </th>
     769          <td>
     770            <ul class="scifi-task-manager-colors-list">
     771            <?php foreach(scifi_task_manager_get_priorities() as $id => $priority):?>
     772              <li>
     773                <input data-default-color="<?php echo esc_attr(empty($priority['default-color']) ? $priority['color'] : $priority['default-color'])?>" type="text" name="scifi-task-manager_priorities[<?php echo esc_attr($id)?>][color]" value="<?php echo esc_attr($priority['color'])?>" class="scifi-task-manager-color-field" />
     774                <input type="text" name="scifi-task-manager_priorities[<?php echo esc_attr($id)?>][label]" value="<?php echo esc_attr($priority['label'])?>" />
     775              </li>
     776            <?php endforeach?>
     777            </ul>
     778          </td>
     779        </tr>
     780
     781        <tr>
     782          <th>
     783            <label for="scifi-task-manager_colors_override">
     784              <?php _e('Statuses', 'scifi-task-manager')?>
     785            </label>
     786          </th>
     787          <td>
     788            <ul class="scifi-task-manager-colors-list">
     789              <?php foreach(scifi_task_manager_get_statuses() as $id => $status):?>
     790                <li>
     791                  <input data-default-color="<?php echo esc_attr(empty($priority['default-color']) ? $priority['color'] : $priority['default-color'])?>" type="text" name="scifi-task-manager_statuses[<?php echo esc_attr($id)?>][color]" value="<?php echo esc_attr($status['color'])?>" class="scifi-task-manager-color-field" />
     792                  <input type="text" name="scifi-task-manager_statuses[<?php echo esc_attr($id)?>][label]" value="<?php echo esc_attr($status['label'])?>" />
     793                </li>
     794              <?php endforeach?>
     795            </ul>
     796          </td>
     797        </tr>
     798
    707799      </table>
    708800     
  • scifi-task-manager/trunk/scifi-task-manager.php

    r1204197 r1210919  
    77 * Author:      Adrian Dimitrov <dimitrov.adrian@gmail.com>
    88 * Author URI:  http://e01.scifi.bg/
    9  * Version:     0.8.1
     9 * Version:     0.8.2
    1010 * Text Domain: scifi-task-manager
    1111 * Domain Path: /languages/
     
    499499/**
    500500 * @list
     501 * Override the views links.
     502 */
     503add_filter('views_edit-scifi-task-manager', function($views) {
     504
     505  global $locked_post_status, $avail_post_stati;
     506  $post_type = get_current_screen()->post_type;
     507  $num_posts = wp_count_posts( $post_type, 'readable' );
     508  $total_posts = array_sum( (array) $num_posts );
     509  $current_status = empty($_REQUEST['post_status']) ? '' : explode(',', $_REQUEST['post_status']);
     510
     511  $all_inner_html = sprintf(
     512    _nx(
     513      'All <span class="count">(%s)</span>',
     514      'All <span class="count">(%s)</span>',
     515      $total_posts,
     516      'posts'
     517    ),
     518    number_format_i18n( $total_posts )
     519  );
     520  $class = in_array('all', $current_status) ? ' class="current"' : '';
     521  $status_links['all'] = "<a href='edit.php?post_status=all&amp;post_type=$post_type'$class>" . $all_inner_html . "</a>";
     522  foreach ( get_post_stati(array('show_in_admin_status_list' => true), 'objects') as $status ) {
     523    $class = '';
     524    $status_name = $status->name;
     525
     526    if ( !in_array( $status_name, $avail_post_stati ) || empty( $num_posts->$status_name )) {
     527      continue;
     528    }
     529
     530    if (in_array('all', $current_status)) {
     531      $current_status_ = array();
     532    }
     533    else {
     534      $current_status_ = $current_status;
     535    }
     536    if (is_int($current_status_ik = array_search($status_name, $current_status))) {
     537      $class = ' class="current"';
     538      unset($current_status_[$current_status_ik]);
     539    }
     540    else {
     541      $current_status_[] = $status_name;
     542    }
     543
     544    $status_links[$status_name] = "<a href='edit.php?post_status=" . implode(',', $current_status_) . "&amp;post_type=$post_type'$class>" . sprintf( translate_nooped_plural( $status->label_count, $num_posts->$status_name ), number_format_i18n( $num_posts->$status_name ) ) . '</a>';
     545  }
     546
     547  return $status_links;
     548});
     549
     550/**
     551 * @list
    501552 * Add custom filters widgets.
    502553 */
     
    530581add_filter('parse_query', function($query) {
    531582  global $pagenow;
    532   if ($pagenow == 'edit.php' && !empty($query->query_vars['post_type']) && $query->query_vars['post_type']) {
    533 
    534     if (!empty($_GET['assignee'])) {
     583  if ($pagenow == 'edit.php' && $query->get('post_type') && $query->get('post_type') == 'scifi-task-manager') {
     584
     585    if (!empty($_REQUEST['assignee'])) {
    535586      $query->set('meta_key', '_scifi-task-manager_assignee');
    536       $query->set('meta_value', $_GET['assignee']);
    537     }
    538 
    539     if (!empty($_GET['parent_id'])) {
    540       $query->set('post_parent', $_GET['parent_id']);
    541     }
    542 
    543     if (!empty($_GET['filter_post_status'])) {
    544       $query->set('post_status', $_GET['filter_post_status']);
    545     }
    546   }
     587      $query->set('meta_value', $_REQUEST['assignee']);
     588    }
     589
     590    if (!empty($_REQUEST['parent_id'])) {
     591      $query->set('post_parent', $_REQUEST['parent_id']);
     592    }
     593
     594    if (!empty($_REQUEST['post_status'])) {
     595      if ($_REQUEST['post_status'] != 'all') {
     596        $query->set('post_status', $_REQUEST['post_status']);
     597      }
     598      update_user_option(get_current_user_id(), 'scifi-task-manager_default_status', $_REQUEST['post_status']);
     599    }
     600    elseif ($_REQUEST['post_status'] = get_user_option('scifi-task-manager_default_status')) {
     601      $query->set('post_status', $_REQUEST['post_status']);
     602    }
     603
     604    // Save ordering
     605    // The list using $_GET
     606    if (!empty($_REQUEST['orderby'])) {
     607      $query->set('orderby', $_REQUEST['orderby']);
     608      update_user_option(get_current_user_id(), 'scifi-task-manager_default_orderby', $_REQUEST['orderby']);
     609    }
     610    elseif ($_GET['orderby'] = get_user_option('scifi-task-manager_default_orderby')) {
     611      $query->set('orderby', $_GET['orderby']);
     612    }
     613    if (!empty($_REQUEST['order'])) {
     614      $query->set('order', $_REQUEST['order']);
     615      update_user_option(get_current_user_id(), 'scifi-task-manager_default_order', $_REQUEST['order']);
     616    }
     617    elseif ($_GET['order'] = get_user_option('scifi-task-manager_default_order')) {
     618      $query->set('order', $_GET['order']);
     619    }
     620    $query->query['orderby'] = $query->get('orderby');
     621    $query->query['order'] = $query->get('order');
     622
     623  }
     624
    547625  return $query;
    548626});
  • scifi-task-manager/trunk/template-post-list-filters.php

    r1062433 r1210919  
    1 <?php /*
    2 <select name="filter_post_status">
    3   <option value=""><?php _e('All statuses', 'scifi-task-manager')?></option>
    4   <?php foreach (scifi_task_manager_get_statuses() as $status_id => $status):?>
    5     <option value="<?php echo esc_attr($status_id)?>" <?php selected(TRUE, (!empty($_GET['filter_post_status']) && $_GET['filter_post_status'] == $status_id))?>>
    6       <?php echo $status['label']?>
    7     </option>
    8   <?php endforeach?>
    9 </select>
    10 */ ?>
    11 
    121<?php wp_dropdown_pages(array(
    132  'post_type' => 'scifi-task-manager',
Note: See TracChangeset for help on using the changeset viewer.