Changeset 5178
- Timestamp:
- Mar 18, 2010, 8:21:17 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/intro.php
r5036 r5178 199 199 'DB_ENGINE' => $conf['dblayer'], 200 200 'DB_VERSION' => $db_version, 201 'DB_ELEMENTS' => l10n_dec('%d element', '%d elements', $nb_elements),201 'DB_ELEMENTS' => l10n_dec('%d image', '%d images', $nb_elements), 202 202 'DB_CATEGORIES' => 203 l10n_dec('%d category including ', '%d categories including',203 l10n_dec('%d category including', '%d categories including', 204 204 $nb_categories). 205 205 l10n_dec('%d physical', '%d physical', -
trunk/admin/themes/default/template/footer.tpl
r5153 r5178 37 37 38 38 {'Contact'|@translate} 39 <a href="mailto:{$CONTACT_MAIL}?subject={' title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a>39 <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 40 40 </div> <!-- pageInfos --> 41 41 -
trunk/admin/themes/default/template/plugins_list.tpl
r5123 r5178 70 70 </li> 71 71 <li> 72 <a href="{$plugin.U_ACTION}&action=delete" onclick="return confirm('{' plugins_confirm_delete'|@translate|@escape:'javascript'}');">72 <a href="{$plugin.U_ACTION}&action=delete" onclick="return confirm('{'Are you sure you want to delete this plugin?'|@translate|@escape:'javascript'}');"> 73 73 <img src="{$themeconf.admin_icon_dir}/plug_delete.png" alt="{'Delete'|@translate}" title="{'Delete'|@translate}"> 74 74 </a> -
trunk/admin/themes/default/template/site_manager.tpl
r5123 r5178 39 39 {foreach from=$sites item=site name=site} 40 40 <tr style="text-align:left" class="{if $smarty.foreach.site.index is odd}row1{else}row2{/if}"><td> 41 <a href="{$site.NAME}">{$site.NAME}</a><br>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)})41 <a href="{$site.NAME}">{$site.NAME}</a><br>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d image','%d images',$site.IMAGES)}) 42 42 </td><td> 43 43 [<a href="{$site.U_SYNCHRONIZE}" title="{'synchronize'|@translate}">{'synchronize'|@translate}</a>] -
trunk/include/functions_category.inc.php
r5036 r5178 473 473 474 474 //at least one image direct or indirect 475 $display_text.= l10n_dec('%d element', '%d elements', $cat_count_images);475 $display_text.= l10n_dec('%d image', '%d images', $cat_count_images); 476 476 477 477 if ($cat_count_categories == 0 or $cat_nb_images == $cat_count_images) -
trunk/include/functions_html.inc.php
r5021 r5178 513 513 $menu->register_block( new RegisteredBlock( 'mbCategories', 'Categories', 'piwigo')); 514 514 $menu->register_block( new RegisteredBlock( 'mbTags', 'Related tags', 'piwigo')); 515 $menu->register_block( new RegisteredBlock( 'mbSpecials', ' special_categories', 'piwigo'));516 $menu->register_block( new RegisteredBlock( 'mbMenu', ' title_menu', 'piwigo'));517 $menu->register_block( new RegisteredBlock( 'mbIdentification', ' identification', 'piwigo') );515 $menu->register_block( new RegisteredBlock( 'mbSpecials', 'Specials', 'piwigo')); 516 $menu->register_block( new RegisteredBlock( 'mbMenu', 'Menu', 'piwigo')); 517 $menu->register_block( new RegisteredBlock( 'mbIdentification', 'Identification', 'piwigo') ); 518 518 } 519 519 -
trunk/themes/default/template/comment_list.tpl
r5095 r5178 23 23 {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)} 24 24 <li> 25 <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title=" {'edit this comment'|@translate}">25 <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="edit this comment"> 26 26 <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]"> 27 27 </a> … … 42 42 <form method="post" action="{$comment.U_EDIT}" class="filter" id="editComment"> 43 43 <fieldset> 44 <legend> {'Edit a comment'|@translate}</legend>45 <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$ Comment.CONTENT|@escape}</textarea></label>44 <legend>Edit a comment</legend> 45 <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label> 46 46 <input type="hidden" name="key" value="{$comment.KEY}"> 47 47 <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}"> -
trunk/themes/default/template/footer.tpl
r5095 r5178 16 16 {if isset($CONTACT_MAIL)} 17 17 - {'Contact'|@translate} 18 <a href="mailto:{$CONTACT_MAIL}?subject={' title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a>18 <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a> 19 19 {/if} 20 20 -
trunk/themes/default/template/menubar_categories.tpl
r5095 r5178 36 36 </ul> 37 37 {/if} 38 <p class="totalImages">{$pwg->l10n_dec('%d element', '%d elements', $block->data.NB_PICTURE)}</p>38 <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p> 39 39 </dd> -
trunk/themes/default/template/menubar_menu.tpl
r5095 r5178 7 7 </p> 8 8 </form> 9 <script type="text/javascript">var qsearch_prompt="{' qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>9 <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> 10 10 {/if} 11 11 -
trunk/themes/default/template/menubar_tags.tpl
r5095 r5178 6 6 {if !empty($tag.U_ADD) } 7 7 <a href="{$tag.U_ADD}" 8 title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}"8 title="{$pwg->l10n_dec('%d image is also linked to current tags', '%d images are also linked to current tags', $tag.counter)}" 9 9 rel="nofollow"> 10 10 <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+"> -
trunk/themes/default/template/month_calendar.tpl
r5095 r5178 13 13 {else} 14 14 {foreach from=$bar.items item=item} 15 <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d element', '%d elements', $item.NB_IMAGES)}"{/if}>15 <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d image', '%d images', $item.NB_IMAGES)}"{/if}> 16 16 {if isset($item.URL)} 17 17 <a href="{$item.URL}">{$item.LABEL}</a> … … 69 69 <div class="calImg"> 70 70 <a href="{$day.U_IMG_LINK}"> 71 <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d element','%d elements', $day.NB_ELEMENTS)}">71 <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d image','%d images', $day.NB_ELEMENTS)}"> 72 72 </a> 73 73 </div> -
trunk/themes/default/template/picture.tpl
r5123 r5178 110 110 {/if} 111 111 112 <table id="standard" class="infoTable" summary=" {'Some info about this picture'|@translate}">112 <table id="standard" class="infoTable" summary="Some info about this picture"> 113 113 <tr id="Author"> 114 114 <td class="label">{'Author'|@translate}</td> … … 178 178 <tr id="rating"> 179 179 <td class="label"> 180 <span id="updateRate">{if isset($rating.USER_RATE)}{' Rate this picture'|@translate}{else}{'Rate this picture'|@translate}{/if}</span>180 <span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this picture'|@translate}{/if}</span> 181 181 </td> 182 182 <td class="value"> … … 194 194 <script type="text/javascript"> 195 195 makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id}, 196 updateRateText: "{' update_rate'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),196 updateRateText: "{'Update your rating'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"), 197 197 ratingSummaryText: "{'%.2f (rated %d times, standard deviation = %.2f)'|@translate|@escape:'javascript'}", ratingSummaryElement: document.getElementById("ratingSummary") {rdelim} ); 198 198 </script> … … 269 269 <label>{'Author'|@translate}<input type="text" name="author"></label> 270 270 {/if} 271 <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$ Comment_add.CONTENT}</textarea></label>271 <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label> 272 272 <input type="hidden" name="key" value="{$comment_add.KEY}"> 273 273 <input class="submit" type="submit" value="{'Submit'|@translate}"> -
trunk/themes/default/template/search.tpl
r5164 r5178 46 46 <ul> 47 47 <li><label> 48 <input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms 48 <input type="radio" name="mode" value="AND" checked="checked">{'Search for all terms'|@translate} 49 49 </label></li> 50 50 <li><label> -
trunk/themes/default/template/tags.tpl
r5164 r5178 36 36 <tr class="tagLine"> 37 37 <td><a href="{$tag.URL}">{$tag.name}</a></td> 38 <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td>38 <td class="nbEntries">{$pwg->l10n_dec('%d image', '%d images', $tag.counter)}</td> 39 39 </tr> 40 40 {/foreach}
Note: See TracChangeset
for help on using the changeset viewer.