Ticket #446: changes-i18n.diff
| File changes-i18n.diff, 11.8 KB (added by perseo, 16 months ago) |
|---|
-
aEvent/templates/_singleColumnTemplate_slot.php
23 23 <?php echo $aEvent->getTextForArea('blog-body', $options['excerptLength']) ?> 24 24 </div> 25 25 <div class="a-blog-read-more"> 26 <?php echo link_to( 'Read More', 'a_event_post', $aEvent, array('class' => 'a-blog-more')) ?>26 <?php echo link_to(a_('Read More'), 'a_event_post', $aEvent, array('class' => 'a-blog-more')) ?> 27 27 </div> 28 28 </div> 29 No newline at end of file -
aEvent/templates/_meta.php
24 24 25 25 <?php /* Events generally don't display the author, but you can if necessary. ?> 26 26 <li class="post-author"> 27 <span class="a-blog-item-meta-label"><?php echo __('Posted By:', array(), 'apostrophe') ?></span>27 <span class="a-blog-item-meta-label"><?php echo a_('Posted By:') ?></span> 28 28 <?php echo ($aEvent->getAuthor()->getName()) ? $aEvent->getAuthor()->getName() : $aEvent->getAuthor() ?> 29 29 </li> 30 30 <?php //*/ ?> -
aEvent/templates/_calendar.php
7 7 <th colspan="7"> 8 8 <?php echo a_button(a_('Previous'), url_for(aUrl::addParams($filtersWithoutDate,$calendar['params']['prev'])), array('a-arrow-btn', 'icon', 'a-arrow-left', 'previous-month', 'alt')) ?> 9 9 <h4 class="title"> 10 <a href="<?php echo url_for(aUrl::addParams($filtersWithoutDate, array('year' => $calendar['year'], 'month' => date('m', strtotime($calendar['month']))))) ?>"><?php echo $calendar['month']?></a>10 <a href="<?php echo url_for(aUrl::addParams($filtersWithoutDate, array('year' => $calendar['year'], 'month' => date('m', strtotime($calendar['month']))))) ?>"><?php echo a_($calendar['month']) ?></a> 11 11 <a href="<?php echo url_for(aUrl::addParams($filtersWithoutDate, array('year' => $calendar['year'], 'month' => ''))) ?>"><?php echo $calendar['year'] ?></a> 12 12 </h4> 13 13 <?php echo a_button(a_('Next'), url_for(aUrl::addParams($filtersWithoutDate, $calendar['params']['next'])), array('a-arrow-btn', 'icon', 'a-arrow-right', 'next-month', 'alt')) ?> 14 14 </th> 15 15 </tr> 16 16 <tr class="days"> 17 <th class="day sunday">Su</th> 18 <th class="day monday">M</th> 19 <th class="day tuesday">T</th> 20 <th class="day wedsnesday">W</th> 21 <th class="day thursday">Th</th> 22 <th class="day friday">F</th> 23 <th class="day saturday">S</th> 17 <?php if (DATE_CALC_BEGIN_WEEKDAY==0): ?> 18 <th class="day sunday"><?php echo a_("Su"); ?></th> 19 <?php endif; ?> 20 <th class="day monday"><?php echo a_("M"); ?></th> 21 <th class="day tuesday"><?php echo a_("T"); ?></th> 22 <th class="day wedsnesday"><?php echo a_("W"); ?></th> 23 <th class="day thursday"><?php echo a_("Th"); ?></th> 24 <th class="day friday"><?php echo a_("F"); ?></th> 25 <th class="day saturday"><?php echo a_("S"); ?></th> 26 <?php if (DATE_CALC_BEGIN_WEEKDAY!=0): ?> 27 <th class="day sunday"><?php echo a_("Su"); ?></th> 28 <?php endif; ?> 24 29 </tr> 25 30 </thead> 26 31 <tbody> … … 47 52 <tfoot> 48 53 <tr> 49 54 <td colspan="7"> 50 <a href="<?php echo url_for($filtersWithoutDate, array('year' => date('Y'), 'month' => date('m'), 'day' => date('d'))) ?>" class="icon a-events day-<?php echo date('d') ?> alt a-calendar-today"><span class="icon"></span> Today</a>55 <a href="<?php echo url_for($filtersWithoutDate, array('year' => date('Y'), 'month' => date('m'), 'day' => date('d'))) ?>" class="icon a-events day-<?php echo date('d') ?> alt a-calendar-today"><span class="icon"></span><?php a_('Today'); ?></a> 51 56 </td> 52 57 </tr> 53 58 </tfoot> -
aBlog/templates/_sidebar.php
52 52 <div class="a-filter-option"> 53 53 54 54 <?php $selected_day = ($dateRange == 'day') ? $selected : array() ?> 55 <?php echo a_button( 'Day', url_for($url . '?'.http_build_query(($dateRange == 'day') ? $params['nodate'] : $params['day'])), array_merge(array('a-link'),$selected_day)) ?>55 <?php echo a_button(a_('Day'), url_for($url . '?'.http_build_query(($dateRange == 'day') ? $params['nodate'] : $params['day'])), array_merge(array('a-link'),$selected_day)) ?> 56 56 </div> 57 57 <div class="a-filter-option"> 58 58 <?php $selected_month = ($dateRange == 'month') ? $selected : array() ?> 59 <?php echo a_button( 'Month', url_for($url . '?'.http_build_query(($dateRange == 'month') ? $params['nodate'] : $params['month'])), array_merge(array('a-link'),$selected_month)) ?>59 <?php echo a_button(a_('Month'), url_for($url . '?'.http_build_query(($dateRange == 'month') ? $params['nodate'] : $params['month'])), array_merge(array('a-link'),$selected_month)) ?> 60 60 </div> 61 61 <div class="a-filter-option"> 62 62 <?php $selected_year = ($dateRange == 'year') ? $selected : array() ?> 63 <?php echo a_button( 'Year', url_for($url . '?'.http_build_query(($dateRange == 'year') ? $params['nodate'] : $params['year'])), array_merge(array('a-link'),$selected_year)) ?>63 <?php echo a_button(a_('Year'), url_for($url . '?'.http_build_query(($dateRange == 'year') ? $params['nodate'] : $params['year'])), array_merge(array('a-link'),$selected_year)) ?> 64 64 </div> 65 65 </div> 66 66 </div> -
aBlog/templates/_twoColumnTemplate_slot.php
13 13 14 14 <ul class="a-blog-item-meta"> 15 15 <li class="date"><?php echo aDate::long($aBlogPost['published_at']) ?></li> 16 <li class="author"><?php echo __('Posted By:', array(), 'apostrophe') ?> <?php echo $aBlogPost->getAuthor() ?></li>16 <li class="author"><?php echo a_('Posted By:') ?> <?php echo $aBlogPost->getAuthor() ?></li> 17 17 </ul> 18 18 19 19 <?php if($options['maxImages'] && $aBlogPost->hasMedia()): ?> -
aBlog/templates/_meta.php
1 1 <ul class="a-blog-item-meta"> 2 2 <li class="post-date"><?php echo aDate::pretty($a_blog_post['published_at']); ?></li> 3 3 <li class="post-author"> 4 <span class="a-blog-item-meta-label"><?php echo __('Posted By:', array(), 'apostrophe') ?></span>4 <span class="a-blog-item-meta-label"><?php echo a_('Posted By:') ?></span> 5 5 <?php echo ($a_blog_post->getAuthor()->getName()) ? $a_blog_post->getAuthor()->getName() : $a_blog_post->getAuthor() ?> 6 6 </li> 7 7 <?php if (sfConfig::get('app_aBlog_disqus_enabled')): ?> -
aEventSingleSlot/templates/_editView.php
12 12 <?php echo $form->renderHiddenFields() ?> 13 13 14 14 <div class="a-form-row search"> 15 <?php echo $form['search']->renderLabel( __('Search by Title', array(), 'apostrophe')) ?>15 <?php echo $form['search']->renderLabel(a_('Search by Title')) ?> 16 16 <div class="a-form-field"> 17 17 <?php echo $form['search']->render(array('class' => 'a-blogsingle-input', )) ?> 18 18 <div class="a-form-help"><?php echo $form['search']->renderHelp() ?></div> -
aBlogSingleSlot/templates/_editView.php
12 12 <?php echo $form->renderHiddenFields() ?> 13 13 14 14 <div class="a-form-row search"> 15 <?php echo $form['search']->renderLabel( __('Search by Title', array(), 'apostrophe')) ?>15 <?php echo $form['search']->renderLabel(a_('Search by Title')) ?> 16 16 <div class="a-form-field"> 17 17 <?php echo $form['search']->render(array('class' => 'a-blogsingle-input', )) ?> 18 18 <div class="a-form-help tooltip"><?php echo $form['search']->renderHelp() ?></div> -
aEventAdmin/templates/_form.php
44 44 <div class="event-date section a-form-row"> 45 45 46 46 <div class="start_date"> 47 <h4> Start Date</h4>47 <h4><?php echo a_('Start Date'); ?></h4> 48 48 <div class="a-form-row all_day"> 49 49 <div class="a-form-field"> 50 50 <?php echo $form['all_day']->render() ?> 51 51 </div> 52 <?php echo $form['all_day']->renderLabel( ) ?>52 <?php echo $form['all_day']->renderLabel(a_('All Day')) ?> 53 53 <?php echo $form['all_day']->renderError() ?> 54 54 </div> 55 55 <?php echo $form['start_date']->render() ?> … … 64 64 </div> 65 65 66 66 <div class="end_date"> 67 <h4> End Date</h4>67 <h4><?php echo a_('End Date'); ?></h4> 68 68 <?php echo $form['end_date']->render() ?> 69 69 <div class="end_time"> 70 70 <?php echo $form['end_time'] ?> -
aEventAdmin/templates/_tagList.php
5 5 $tags = isset($tags) ? $sf_data->getRaw('tags') : null; 6 6 ?> 7 7 <div class="a-admin-form-field-tags"> 8 <h5> Popular Tags</h5>8 <h5><?php echo a_('Popular Tags'); ?></h5> 9 9 10 10 <div id="blog-tag-list"> 11 11 <?php $n=1; foreach ($tags as $tag => $count): ?> -
aEventAdmin/templates/editSuccess.php
26 26 <?php slot('a-page-header') ?> 27 27 <div class="a-ui a-admin-header"> 28 28 <ul class="a-ui a-controls a-admin-controls"> 29 <li><a href="<?php echo url_for('@a_event_admin'); ?>" class="a-btn big"><?php echo __('View All Events', array(), 'apostrophe') ?></a></li>29 <li><a href="<?php echo url_for('@a_event_admin'); ?>" class="a-btn big"><?php echo a_('View All Events') ?></a></li> 30 30 <?php include_partial('list_actions', array('helper' => $helper)) ?> 31 31 </ul> 32 32 <?php include_partial('aEventAdmin/form_bar') ?> -
aBlogAdmin/templates/_list_bar.php
6 6 ?> 7 7 <div id="a-admin-bar" <?php if (count($sf_user->getAttribute('aBlogAdmin.filters', null, 'admin_module'))): ?>class="has-filters"<?php endif ?>> 8 8 <?php if (0): ?> 9 <h2 class="a-admin-title you-are-here"><?php echo __('Blog Post Admin', array(), 'messages') ?></h2>9 <h2 class="a-admin-title you-are-here"><?php echo a_('Blog Post Admin') ?></h2> 10 10 <?php endif ?> 11 11 </div> 12 12 -
aBlogAdmin/templates/editSuccess.php
26 26 <?php slot('a-page-header') ?> 27 27 <div class="a-ui a-admin-header"> 28 28 <ul class="a-ui a-controls a-admin-controls"> 29 <li><a href="<?php echo url_for('@a_blog_admin'); ?>" class="a-btn big"><?php echo __('View All Posts', array(), 'apostrophe') ?></a></li>29 <li><a href="<?php echo url_for('@a_blog_admin'); ?>" class="a-btn big"><?php echo a_('View All Posts') ?></a></li> 30 30 <?php include_partial('list_actions', array('helper' => $helper)) ?> 31 31 </ul> 32 32 <?php include_partial('aBlogAdmin/form_bar') ?>

