Changeset 8666 for extensions/rv_gmaps/trunk
- Timestamp:
- Jan 14, 2011, 10:20:00 PM (13 years ago)
- Location:
- extensions/rv_gmaps/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/admin/admin_edit.php
r8367 r8666 9 9 include (PHPWG_ROOT_PATH.'admin/element_set.php'); 10 10 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']); 12 12 13 13 if ( isset($_POST['submit']) ) -
extensions/rv_gmaps/trunk/kml.php
r6639 r8666 62 62 63 63 if ( !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/>' ); 65 65 66 66 … … 112 112 if ( isset($bounds['self']) ) 113 113 { 114 $count_desc = l10n_dec('%d image', '%d images', $bounds['self']['count']);114 $count_desc = l10n_dec('%d photo', '%d photos', $bounds['self']['count']); 115 115 if ( $bounds['self']['count'] == $bounds['count'] ) 116 116 $count_desc .= ' '.l10n('images_available_cpl'); 117 117 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'] ); 119 119 } 120 120 else 121 $count_desc = l10n_dec('%d image', '%d images', $bounds['count'])121 $count_desc = l10n_dec('%d photo', '%d photos', $bounds['count']) 122 122 .' '.l10n_dec('images_available_cat','images_available_cats', $bounds['nb_cats'] ); 123 123 -
extensions/rv_gmaps/trunk/mapl.php
r7388 r8666 88 88 'URL' => make_index_url( array( 'category' => $category ) ), 89 89 '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'] ), 91 91 'CLASS' => 'tagLevel'.$category['level'] 92 92 ) … … 113 113 'U_MAP' => rvm_make_map_index_url( array( 'tags' => array($tag) ) ), 114 114 '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'] ), 116 116 ) 117 117 ) -
extensions/rv_gmaps/trunk/template/data_handler.js
r8039 r8666 74 74 var theTitle = ""; 75 75 if (cluster.nb_items>1) 76 theTitle = Localization.fmt1("%d images", cluster.nb_items);76 theTitle = Localization.fmt1("%d photos", cluster.nb_items); 77 77 else 78 78 theTitle = cluster.items[0].name; … … 153 153 } 154 154 155 document.getElementById("dataLoadStatus").innerHTML = Localization.fmt1("%d images", data.nb_items);155 document.getElementById("dataLoadStatus").innerHTML = Localization.fmt1("%d photos", data.nb_items); 156 156 }, 157 157 -
extensions/rv_gmaps/trunk/template/map.tpl
r8636 r8666 168 168 "displays %s on a map" : "{'displays %s on a map'|@translate|@escape:javascript}", 169 169 "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}", 171 171 {literal} 172 172 dontMindTheComma: ""
Note: See TracChangeset
for help on using the changeset viewer.