Changes between Version 14 and Version 15 of CcSelectorPlugin


Ignore:
Timestamp:
Nov 18, 2010 2:58:17 PM (4 years ago)
Author:
hasienda
Comment:

added a i18n/l10n section, changed page structure too

Legend:

Unmodified
Added
Removed
Modified
  • CcSelectorPlugin

    v14 v15  
    22[[html(<div id="newsflash" style="clear:right">)]] 
    33'''!ToDo''' 
    4  * short-term: add i18n support (#7733) 
     4 * long-term: research reducing JavaScript logic in favor of a more capable Genshi template, or even a JS free plugin implementation 
    55'''News''' 
     6 18-Nov-2010:: add some enhancements and i18n support (open: 0) 
    67 13-Nov-2010:: changed repository layout, long-standing enhancement (#6266) added to ''trunk'' branch (open: 1) 
    78 12-Nov-2010:: Maintainership handed over from [wiki:vnaum] to [wiki:hasienda] (open: 3 tickets) 
     
    1617email addresses are added to and removed from Cc ticket field. 
    1718 
     19[Comment for the original author: Pretty useless, if you ask me, but my PM team finds this useful.] 
     20 
     21'''!JavaScript is required''' and working with Firefox, Mozilla and Internet Explorer 6. 
     22Opera / Safari reports are welcome. 
     23 
     24It works with both Trac 0.10, 0.11, and 0.12 (since rev3531). 
     25I18n support for Trac >= 0.12 is planned to be added to the 0.11 branch in a backwards-compatible way. 
     26 
    1827Developer list is fetched from Trac DB. Users who logged in at least once 
    1928(see `session` table) and have 'TICKET_VIEW' permission are 
     
    2635will be shown, too - and can be removed with new, shiny checkboxes. 
    2736 
    28 Javascript is working with Firefox, Mozilla and Internet Explorer 6. 
    29 Opera / Safari reports are welcome. 
     37See [wiki:AutocompleteUsersPlugin AutocompleteUsersPlugin] for another way to help with filling the Cc ticket field. 
    3038 
    31 It works with both Trac 0.10, 0.11, and 0.12 (since rev3531). 
    32 I18n support for Trac >= 0.12 is planned to be added to the 0.11 branch in a backwards-compatible way. 
    33  
    34 [Comment for the original author: Pretty useless, if you ask me, but my PM team finds this useful.] 
    35  
    36 == Bugs/Feature Requests ==  
     39== Bugs/Feature Requests == 
    3740 
    3841Existing bugs and feature requests for CcSelectorPlugin are  
    3942[query:?status=new&status=assigned&status=reopened&group=&component=CcSelectorPlugin&order=priority here]. If you have any issues, create a  
    4043[/newticket?component=CcSelectorPlugin&owner=hasienda new ticket]. 
    41  
    42 === Want drop-down box for "assign to" field? === 
    43 If you want drop-down box for "assign to" field - it's already in Trac 
    44 since 0.9. All you have to do is set restrict_owner option in [http://trac.edgewall.org/wiki/TracIni trac.ini] like: 
    45 {{{ 
    46 [ticket] 
    47 restrict_owner = true 
    48 }}} 
    49  
    50 [http://trac.edgewall.org/wiki/TracTickets#Assign-toasDrop-DownList This] 
    51 page has more info on this. 
    52  
    5344 
    5445== Download and Source == 
     
    5748 
    5849== Configuration == 
     50 
    5951Following options have been added to `trunk` branch recently: 
    6052{{{ 
     
    7365 * Use case: Hide administrator accounts from the default list. 
    7466 
     67=== Want drop-down box for "assign to" field? === 
     68 
     69If you want drop-down box for "assign to" field - it's already in Trac 
     70since 0.9. All you have to do is set restrict_owner option in [http://trac.edgewall.org/wiki/TracIni trac.ini] like: 
     71{{{ 
     72[ticket] 
     73restrict_owner = true 
     74}}} 
     75 
     76[http://trac.edgewall.org/wiki/TracTickets#Assign-toasDrop-DownList This] 
     77page has more info on this. 
     78 
    7579== Example == 
    7680 
    7781A pop-up window with bunch of checkboxes is opened, user checks boxes, 
    7882email addresses are added and removed to CC field. 
    79 [[Image(cc_selector.png, border=1, align=center)]]  
     83[[Image(cc_selector.png, border=1, align=center)]] 
     84 
     85=== About i18n/l10n support === 
     86 
     87The development version of this plugin is prepared for localization.[[BR]] 
     88But English message texts are still the (POSIX) default. If this isn't your preferred language, you can 
     89 1. look, if it's already available from the [TracPluginTranslation Trac plugin l10n project] at [http://www.transifex.net/projects/p/Trac_Plugin-L10N/c/cc_selector Transifex] or 
     90 2. do it yourself (see the [t:wiki:CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details). 
     91 
     92You've done a new translation? Superb! Contributing your translation is highly appreciated.[[BR]] 
     93You could send it to the plugin's maintainer or contribute to [TracPluginTranslation Trac plugin l10n project] 
     94via [http://www.transifex.net/projects/p/Trac_Plugin-L10N/ Transifex]: 
     95 
     96Top translations: Trac_Plugin-L10N » [http://www.transifex.net/projects/p/Trac_Plugin-L10N/c/cc_selector/ cc_selector][[BR]] 
     97 [[Image(http://www.transifex.net/projects/p/Trac_Plugin-L10N/c/cc_selector/chart/image_png, title=Go to Trac_Plugin-L10N project page on Transifex.net, link=http://www.transifex.net/projects/p/Trac_Plugin-L10N/c/cc_selector/)]] 
     98Kindly provided by [[Image(http://sw.transifex.net/2/static/charts/images/tx-logo-micro.png, link=, title=the open translation platform, valign=bottom)]] 
     99link: !http://www.transifex.net/ 
     100 
     101Preparing the plugin from source requires '''no additional steps''' for compiling message catalog files. Only to include translations marked as `# fuzzy` by the translator, you'll want to do a manual message catalog compilation with the extra `-f` argument before packaging: 
     102{{{ 
     103cd ccselectorplugin/ 
     104python ./setup.py compile_catalog -f 
     105python ./setup.py bdist_egg 
     106}}}  
     107Complaints about missing `locale` directory are often a side-effect of failure to compile any message catalog for inclusion into Python egg, hence the whole path is missing. Due to a know Trac issue Babel has to be installed prior to Trac, to get it all working as expected.[[BR]] 
     108Again, for more details see the [t:wiki:CookBook/PluginL10N#Compileanduseit l10n cookbook page for Trac plugins]. 
    80109 
    81110== Recent Changes ==