Changes between Version 34 and Version 35 of WikiTicketCalendarMacro
- Timestamp:
- Jun 8, 2010, 8:57:03 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiTicketCalendarMacro
v34 v35 29 29 and there's no visible difference to the genuine 0.12 version, if you don't use localization for Trac 0.12. 30 30 31 Historically the macro code was activated for a long time by 32 {{{ 33 [components] 34 WikiTicketCalendarMacro.* = enabled 35 }}} 36 what is still correct for 0.11 branch. 37 38 New versions from 0.12 branch and trunk with i18n support have a different code structure due to packaging.[[BR]] 39 See i18n/l10n section for an '''[#Abouti18nl10nsupport important hint on egg creation]'''. The statement required for activation has changed as well: 40 {{{ 41 [components] 42 wikiticketcalendar.* = enabled 43 }}} 44 31 45 == Source == 32 46 … … 34 48 35 49 == Example == 50 See [#Download download section] on how to activate your version. 36 51 37 52 The invocation for the screenshot above is {{{[[WikiTicketCalendar(*,*,true,Wochenberatung/%Y-%m-%d,true,Beratung)]]}}}.[[BR]] 38 53 Excerpt of the source documentation: 39 54 {{{ 40 Activate it in 'trac.ini':41 --------42 [components]43 WikiTicketCalendarMacro.* = enabled44 45 55 Usage 46 56 ----- … … 73 83 But English message texts are still the (POSIX) default. If this isn't your preferred language, you can 74 84 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/wikiticketcalendar Transifex] or 75 2. do it yourself (see the [ http://trac.edgewall.org/wiki/CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details).85 2. do it yourself (see the [t:wiki:CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details). 76 86 77 87 You've done a new translation? Superb! Contributing your translation is highly appreciated.[[BR]] … … 82 92 [[Image(http://www.transifex.net/projects/p/Trac_Plugin-L10N/c/wikiticketcalendar/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/wikiticketcalendar/)]] 83 93 Kindly provided by [[Image(http://sw.transifex.net/2/static/charts/images/tx-logo-micro.png, link=http://www.transifex.net/, title=the open translation platform, valign=bottom)]] 94 95 Preparing the plugin from source requires the additional step of compiling message catalog files. Walk through: 96 {{{ 97 cd wikiticketcalendarmacro 98 python ./setup.py egg_info 99 python ./setup.py compile_catalog -f 100 python ./setup.py bdist_egg 101 }}} 102 If you missed the 3rd step, you'll get an error in the 4th step complaining about missing `locale` directory. 103 This is just a side-effect, because there are no complied message catalogs for inclusion into Python egg, hence the whole path is missing.[[BR]] 104 To exclude translations marked as `# fuzzy` by the translator, you'll want to omit the extra `-f` argument to message catalog compilation. 105 Again, for more details see the [t:wiki:CookBook/PluginL10N#Compileanduseit l10n cookbook page for Trac plugins]. 84 106 85 107 == Recent Changes ==