Ignore:
Timestamp:
Jan 14, 2011, 10:20:00 PM (13 years ago)
Author:
rvelices
Message:

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

Location:
extensions/rv_gmaps/trunk
Files:
5 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: ""
Note: See TracChangeset for help on using the changeset viewer.