Make WordPress Core


Ignore:
Timestamp:
04/17/2004 03:56:23 PM (22 years ago)
Author:
rboren
Message:

Mark strings for translation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-geo.php

    r801 r1088  
    4949    $sites = array(
    5050                   array('http://www.acme.com/mapper/?lat='.get_Lat().'&long='.get_Lon().'&scale=11&theme=Image&width=3&height=2&dot=Yes',
    51                          'Acme Mapper'),
     51                         __('Acme Mapper')),
    5252                   array('http://geourl.org/near/?lat='.get_Lat().'&lon='.get_Lon().'&dist=500',
    53                          'GeoURLs near here'),
     53                         __('GeoURLs near here')),
    5454                   array('http://www.geocaching.com/seek/nearest.aspx?origin_lat='.get_Lat().'&origin_long='.get_Lon().'&dist=5',
    55                          'Geocaches Near Nere'),
     55                         __('Geocaches near here')),
    5656                   array('http://www.mapquest.com/maps/map.adp?latlongtype=decimal&latitude='.get_Lat().'&longitude='.get_Lon(),
    57                          'Mapquest map of this spot'),
     57                         __('Mapquest map of this spot')),
    5858                   array('http://www.sidebit.com/ProjectGeoURLMap.php?lat='.get_Lat().'&lon='.get_Lon(),
    59                          'SideBit URL Map of this spot'),
     59                         __('SideBit URL Map of this spot')),
    6060                   array('http://confluence.org/confluence.php?lat='.get_Lat().'&lon='.get_Lon(),
    61                          'Confluence.org near here'),
     61                         __('Confluence.org near here')),
    6262                   array('http://www.topozone.com/map.asp?lat='.get_Lat().'&lon='.get_Lon(),
    63                          'Topozone near here'),
     63                         __('Topozone near here')),
    6464                   array('http://www.findu.com/cgi-bin/near.cgi?lat='.get_Lat().'&lon='.get_Lon(),
    65                          'FindU near here'),
     65                         __('FindU near here')),
    6666                   array('http://mapserver.maptech.com/api/espn/index.cfm?lat='.get_Lat().'&lon='.get_Lon().'&scale=100000&zoom=50&type=1&icon=0&&scriptfile=http://mapserver.maptech.com/api/espn/index.cfm',
    67                          'Maptech near here')
     67                         __('Maptech near here'))
    6868                  );
    6969    echo '<form action=""><div>
    7070<select name="site" size="1" onchange="formHandler(this.form);" >'."\n";
    71     echo '<option value=".">Sites referencing '.get_Lat().' x '.get_Lon()."</option>\n";
     71    echo '<option value=".">' . sprintf(__("Sites referencing %s x %s"), get_Lat(), get_Lon()) . "</option>\n";
    7272    foreach($sites as $site) {
    7373        echo "\t".'<option value="'.$site[0].'">'.$site[1]."</option>\n";
Note: See TracChangeset for help on using the changeset viewer.