Changeset 8666


Ignore:
Timestamp:
01/14/11 22:20:00 (9 years ago)
Author:
rvelices
Message:

rv_gmaps feature 2102 : rename item/image/picture to photo

Location:
extensions
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/admin/admin_edit.php

    r8367 r8666  
    99include (PHPWG_ROOT_PATH.'admin/element_set.php'); 
    1010 
    11 $template->concat('TABSHEET_TITLE', ' '.l10n_dec('%d image', '%d images', count($page['cat_elements_id'])).' - '.$page['title']); 
     11$template->concat('TABSHEET_TITLE', ' '.l10n_dec('%d photo', '%d photos', count($page['cat_elements_id'])).' - '.$page['title']); 
    1212 
    1313if ( isset($_POST['submit']) ) 
  • extensions/rv_gmaps/trunk/kml.php

    r6639 r8666  
    6262 
    6363if ( !empty($page['items']) ) 
    64   $dataTpl->assign( 'NB_ITEMS_DESC', sprintf( l10n('%d images'), count($page['items']) ).'<br/>' ); 
     64  $dataTpl->assign( 'NB_ITEMS_DESC', sprintf( l10n('%d photos'), count($page['items']) ).'<br/>' ); 
    6565 
    6666 
     
    112112    if ( isset($bounds['self']) ) 
    113113    { 
    114       $count_desc = l10n_dec('%d image', '%d images', $bounds['self']['count']); 
     114      $count_desc = l10n_dec('%d photo', '%d photos', $bounds['self']['count']); 
    115115      if ( $bounds['self']['count'] == $bounds['count'] ) 
    116116        $count_desc .= ' '.l10n('images_available_cpl'); 
    117117      else 
    118         $count_desc .= '/'.l10n_dec('%d image', '%d images', $bounds['count']).' '.l10n_dec('images_available_cat','images_available_cats', $bounds['nb_cats'] ); 
     118        $count_desc .= '/'.l10n_dec('%d photo', '%d photos', $bounds['count']).' '.l10n_dec('images_available_cat','images_available_cats', $bounds['nb_cats'] ); 
    119119    } 
    120120    else 
    121       $count_desc = l10n_dec('%d image', '%d images', $bounds['count']) 
     121      $count_desc = l10n_dec('%d photo', '%d photos', $bounds['count']) 
    122122        .' '.l10n_dec('images_available_cat','images_available_cats', $bounds['nb_cats'] ); 
    123123 
  • extensions/rv_gmaps/trunk/mapl.php

    r7388 r8666  
    8888      'URL' => make_index_url( array( 'category' => $category ) ), 
    8989      'NAME' => trigger_event('render_element_description', $category['name']), 
    90       'TITLE' => l10n_dec( '%d image', '%d images', $category['counter'] ), 
     90      'TITLE' => l10n_dec( '%d photo', '%d photos', $category['counter'] ), 
    9191      'CLASS' => 'tagLevel'.$category['level'] 
    9292    ) 
     
    113113        'U_MAP' => rvm_make_map_index_url( array( 'tags' => array($tag) ) ), 
    114114        'URL' => make_index_url( array( 'tags' => array($tag) ) ), 
    115         'TITLE' => l10n_dec( '%d image', '%d images', $tag['counter'] ), 
     115        'TITLE' => l10n_dec( '%d photo', '%d photos', $tag['counter'] ), 
    116116      ) 
    117117    ) 
  • extensions/rv_gmaps/trunk/template/data_handler.js

    r8039 r8666  
    7474                        var theTitle = ""; 
    7575                        if (cluster.nb_items>1) 
    76                                 theTitle = Localization.fmt1("%d images", cluster.nb_items); 
     76                                theTitle = Localization.fmt1("%d photos", cluster.nb_items); 
    7777                        else 
    7878                                theTitle = cluster.items[0].name; 
     
    153153        } 
    154154 
    155         document.getElementById("dataLoadStatus").innerHTML = Localization.fmt1("%d images", data.nb_items); 
     155        document.getElementById("dataLoadStatus").innerHTML = Localization.fmt1("%d photos", data.nb_items); 
    156156}, 
    157157 
  • extensions/rv_gmaps/trunk/template/map.tpl

    r8636 r8666  
    168168"displays %s on a map" : "{'displays %s on a map'|@translate|@escape:javascript}", 
    169169"opens %s in Google Earth" : "{'opens %s in Google Earth'|@translate|@escape:javascript}", 
    170 "%d images" : "{'%d images'|@translate|@escape:javascript}", 
     170"%d photos" : "{'%d photos'|@translate|@escape:javascript}", 
    171171{literal} 
    172172dontMindTheComma: "" 
  • extensions/rv_menutree/trunk/template/rv_menutree_categories.tpl

    r8493 r8666  
    1010<dt> 
    1111  {if isset($U_START_FILTER)} 
    12   <a href="{$U_START_FILTER}" title="{'display only recently posted images'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> 
     12  <a href="{$U_START_FILTER}" title="{'display only recently posted photos'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> 
    1313  {/if} 
    1414  {if isset($U_STOP_FILTER)} 
    15   <a href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a> 
     15  <a href="{$U_STOP_FILTER}" title="{'return to the display of all photos'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a> 
    1616  {/if} 
    1717        <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a> 
     
    6262        </ul> 
    6363        {/if} 
    64         <p class=totalImages>{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p> 
     64        <p class=totalImages>{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p> 
    6565</dd> 
  • extensions/rv_sitemap/changelog.txt

    r6260 r8666  
     12.2.a 
     2        - compatible with piwigo core 2.1.0 
     3 
    142.1.a 
    25        - compatible with piwigo core 2.1.0 
  • extensions/rv_sitemap/main.inc.php

    r6260 r8666  
    11<?php /* 
    22Plugin Name: RV sitemap 
    3 Version: 2.1.a 
     3Version: 2.2.a 
    44Description: Creates a sitemap for your gallery. Sitemaps are used to inform search engines about pages that are available for crawling. 
    55Plugin URI: http://piwigo.org/ext/extension_view.php?eid=78 
  • extensions/rv_sitemap/sitemap.php

    r6260 r8666  
    8888  'best_rated' => array( 'L'=>l10n('Best rated'), 'P'=>0.8 ) , 
    8989  'most_visited' => array('L'=>l10n('Most visited'), 'P'=>0.8 ), 
    90   'recent_pics' => array('L'=>l10n('Recent pictures'), 'P'=>0.8, 'F'=>'weekly' ), 
     90  'recent_pics' => array('L'=>l10n('Recent photos'), 'P'=>0.8, 'F'=>'weekly' ), 
    9191  'tags' => array('L'=>l10n('Tags'), 'PAGE'=>'tags' . ($conf['php_extension_in_urls'] ? '.php' : '' ), 'P'=>0.8 ), 
    9292  ); 
Note: See TracChangeset for help on using the changeset viewer.