
/* gettext library */

var catalog = new Array();

function pluralidx(n) {
  var v=(n != 1);
  if (typeof(v) == 'boolean') {
    return v ? 1 : 0;
  } else {
    return v;
  }
}
catalog['%(count)s days ago'] = '%(count)s days ago';
catalog['%(count)s hours ago'] = '%(count)s hours ago';
catalog['%(count)s minutes ago'] = '%(count)s minutes ago';
catalog['%(count)s months ago'] = '%(count)s months ago';
catalog['%(count)s seconds ago'] = '%(count)s seconds ago';
catalog['%(count)s years ago'] = '%(count)s years ago';
catalog['%(resultCount)s  results found of %(listingCount)s listings.'] = '%(resultCount)s  results found of %(listingCount)s listings.';
catalog['%(resultCount)s results found.'] = '%(resultCount)s results found.';
catalog['(required)'] = '(required)';
catalog['0 seconds ago'] = '0 seconds ago';
catalog['1 day ago'] = '1 day ago';
catalog['1 hour ago'] = '1 hour ago';
catalog['1 minute ago'] = '1 minute ago';
catalog['1 month ago'] = '1 month ago';
catalog['1 second ago'] = '1 second ago';
catalog['1 year ago'] = '1 year ago';
catalog['Advanced search'] = 'Advanced search';
catalog['All portal'] = 'All portal';
catalog['All'] = 'All';
catalog['Anonymous'] = 'Anonymous';
catalog['Are you sure you want to delete this tour?'] = 'Are you sure you want to delete this tour?';
catalog['Author'] = 'Author';
catalog['Cancel'] = 'Cancel';
catalog['Categories (at least one required)'] = 'Categories (at least one required)';
catalog['Categories'] = 'Categories';
catalog['Category'] = 'Category';
catalog['Category:'] = 'Category:';
catalog['Clear search'] = 'Clear search';
catalog['Clear'] = 'Clear';
catalog['Click here to create your first virtual tour now'] = 'Click here to create your first virtual tour now';
catalog['Click on the categories to add or remove them.'] = 'Click on the categories to add or remove them.';
catalog['Comments (%(count)s)'] = 'Comments (%(count)s)';
catalog['Comments'] = 'Comments';
catalog['Create tour'] = 'Create tour';
catalog['Create virtual tour or photo album'] = 'Create virtual tour or photo album';
catalog['Create virtual tour'] = 'Create virtual tour';
catalog['Created by:'] = 'Created by:';
catalog['Custom text'] = 'Custom text';
catalog['Delete'] = 'Delete';
catalog['Deleted tours'] = 'Deleted tours';
catalog['Description'] = 'Description';
catalog['Disabled tours'] = 'Disabled tours';
catalog['Display'] = 'Display';
catalog['Double click on the map to change the location.'] = 'Double click on the map to change the location.';
catalog['Double click on the map to select a place.'] = 'Double click on the map to select a place.';
catalog['Double click to play a video or click to select it.'] = 'Double click to play a video or click to select it.';
catalog['E'] = 'E';
catalog['Edit link / video'] = 'Edit link / video';
catalog['Edit virtual tour'] = 'Edit virtual tour';
catalog['Edit'] = 'Edit';
catalog['Empty'] = 'Empty';
catalog['Enter information'] = 'Enter information';
catalog['Enter keywords'] = 'Enter keywords';
catalog['Error retrieving sharing information'] = 'Error retrieving sharing information';
catalog['Error saving.'] = 'Error saving.';
catalog['Error searching.'] = 'Error searching.';
catalog['Error uploading.'] = 'Error uploading.';
catalog['From'] = 'From';
catalog['Get link'] = 'Get link';
catalog['Header text color'] = 'Header text color';
catalog['Home URL'] = 'Home URL';
catalog['Hybrid'] = 'Hybrid';
catalog['I abide and understand all terms stated by %(website)s and %(company)s in:'] = 'I abide and understand all terms stated by %(website)s and %(company)s in:';
catalog['Incomplete tours'] = 'Incomplete tours';
catalog['Information'] = 'Information';
catalog['Initial map type'] = 'Initial map type';
catalog['Lat: %(latDegrees)s Lng: %(lngDegrees)s'] = 'Lat: %(latDegrees)s Lng: %(lngDegrees)s';
catalog['Latest tours'] = 'Latest tours';
catalog['Link to a webpage'] = 'Link to a webpage';
catalog['Link'] = 'Link';
catalog['Loading...'] = 'Loading...';
catalog['Logo'] = 'Logo';
catalog['MOST RECENT'] = 'MOST RECENT';
catalog['MOST VISITED'] = 'MOST VISITED';
catalog['Map icons'] = 'Map icons';
catalog['Map type'] = 'Map type';
catalog['Map'] = 'Map';
catalog['Margins background color'] = 'Margins background color';
catalog['Most visited tours'] = 'Most visited tours';
catalog['N'] = 'N';
catalog['Next'] = 'Next';
catalog['No results found.'] = 'No results found.';
catalog['No'] = 'No';
catalog['None'] = 'None';
catalog['OK'] = 'OK';
catalog['Online tours'] = 'Online tours';
catalog['Open in a new window'] = 'Open in a new window';
catalog['Open'] = 'Open';
catalog['Options'] = 'Options';
catalog['POPULAR'] = 'POPULAR';
catalog['Page:'] = 'Page:';
catalog['Please fill in the URL field.'] = 'Please fill in the URL field.';
catalog['Please fill in the title field.'] = 'Please fill in the title field.';
catalog['Please notice that the virtual tour will still not be available. Creation in progress.'] = 'Please notice that the virtual tour will still not be available. Creation in progress.';
catalog['Please select a category.'] = 'Please select a category.';
catalog['Please select a location.'] = 'Please select a location.';
catalog['Please select a video.'] = 'Please select a video.';
catalog['Popular tours'] = 'Popular tours';
catalog['Post this tour in the wall of Facebook.'] = 'Post this tour in the wall of Facebook.';
catalog['Post yours'] = 'Post yours';
catalog['Post'] = 'Post';
catalog['Posted %(dateDiff)s'] = 'Posted %(dateDiff)s';
catalog['Posted: %(dateDiff)s'] = 'Posted: %(dateDiff)s';
catalog['Reset'] = 'Reset';
catalog['Retrieving sharing information...'] = 'Retrieving tours ...';
catalog['Retrieving tours ...'] = 'Retrieving tours ...';
catalog['S'] = 'S';
catalog['Satellite'] = 'Satellite';
catalog['Save & Finish'] = 'Save & Finish';
catalog['Save'] = 'Save';
catalog['Saved.'] = 'Saved.';
catalog['Saving...'] = 'Saving...';
catalog['Search for address, city, etc...'] = 'Search for address, city, etc...';
catalog['Search for keywords... e.g. dinosaur'] = 'Search for keywords... e.g. dinosaur';
catalog['Search for keywords...'] = 'Search for keywords...';
catalog['Search in'] = 'Search in';
catalog['Search keywords'] = 'Search keywords';
catalog['Search'] = 'Search';
catalog['Searching ...'] = 'Searching ...';
catalog['Searching...'] = 'Searching...';
catalog['Select a Youtube video'] = 'Select a Youtube video';
catalog['Select the text for this twit:'] = 'Select the text for this twit:';
catalog['Select the title for this post:'] = 'Select the title for this post:';
catalog['Select'] = 'Select';
catalog['Select:'] = 'Select:';
catalog['Set location'] = 'Set location';
catalog['Set portal area'] = 'Set portal area';
catalog['Set this area'] = 'Set this area';
catalog['Set up user interface'] = 'Set up user interface';
catalog['Share on public portals'] = 'Share on public portals';
catalog['Share'] = 'Share';
catalog['Sort by date'] = 'Sort by date';
catalog['Sort by rating'] = 'Sort by rating';
catalog['Sort by relevance'] = 'Sort by relevance';
catalog['Sort by visits'] = 'Sort by visits';
catalog['Step %(number)s. Enter information'] = 'Step %(number)s. Enter information';
catalog['Step %(number)s. Link or create virtual tour'] = 'Step %(number)s. Link or create virtual tour';
catalog['Step %(number)s. Set location'] = 'Step %(number)s. Set location';
catalog['Step %(number)s. Share'] = 'Step %(number)s. Share';
catalog['Terrain'] = 'Terrain';
catalog['The title field is too short'] = 'The title field is too short';
catalog['This page isn\'t available as it is deleted and blocked.'] = 'This page isn\'t available as it is deleted and blocked.';
catalog['This page isn\'t available as it is deleted.'] = 'This page isn\'t available as it is deleted.';
catalog['Thumbnail'] = 'Thumbnail';
catalog['Title'] = 'Title';
catalog['To'] = 'To';
catalog['Twit this tour.'] = 'Twit this tour.';
catalog['URL (required)'] = 'URL (required)';
catalog['Updated %(dateDiff)s'] = 'Updated %(dateDiff)s';
catalog['Updated '] = 'Updated ';
catalog['Updated'] = 'Updated';
catalog['Updated:'] = 'Updated:';
catalog['Uploaded.'] = 'Uploaded.';
catalog['Uploading...'] = 'Uploading...';
catalog['Uploading...please wait'] = 'Uploading...please wait';
catalog['VOTE HERE:'] = 'VOTE HERE:';
catalog['Video not selected'] = 'Video not selected';
catalog['View compact info'] = 'View compact info';
catalog['View detailed info'] = 'View detailed info';
catalog['View'] = 'View';
catalog['Virtual tour not editable.'] = 'Virtual tour not editable.';
catalog['Visible map area'] = 'Visible map area';
catalog['Visits:'] = 'Visits:';
catalog['W'] = 'W';
catalog['Welcome to your new portal!'] = 'Welcome to your new portal!';
catalog['Would you like to change the language to %(language)s?'] = 'Would you like to change the language to %(language)s?';
catalog['Write your comment here'] = 'Write your comment here';
catalog['Yes'] = 'Yes';
catalog['You must agree to abide all terms stated in the privacy policy and terms agreement.'] = 'You must agree to abide all terms stated in the privacy policy and terms agreement.';
catalog['all'] = 'all';
catalog['by %(nickname)s'] = 'by %(nickname)s';
catalog['by Anonymous'] = 'by Anonymous';
catalog['from %(minimum)s to %(maximum)s'] = 'from %(minimum)s to %(maximum)s';
catalog['from %(minimum)s'] = 'from %(minimum)s';
catalog['is here'] = 'is here';
catalog['privacy policy'] = 'privacy policy';
catalog['terms of agreement'] = 'terms of agreement';
catalog['thought you might like to see this'] = 'thought you might like to see this';
catalog['to %(maximum)s'] = 'to %(maximum)s';
catalog['today'] = 'today';
catalog['wants to share this view with you'] = 'wants to share this view with you';
catalog['wants to show you where he is'] = 'wants to show you where he is';
catalog['wants to show you where she is'] = 'wants to show you where she is';


function gettext(msgid) {
  var value = catalog[msgid];
  if (typeof(value) == 'undefined') {
    return msgid;
  } else {
    return (typeof(value) == 'string') ? value : value[0];
  }
}

function ngettext(singular, plural, count) {
  value = catalog[singular];
  if (typeof(value) == 'undefined') {
    return (count == 1) ? singular : plural;
  } else {
    return value[pluralidx(count)];
  }
}

function gettext_noop(msgid) { return msgid; }

function interpolate(fmt, obj, named) {
  if (named) {
    return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
  } else {
    return fmt.replace(/%s/g, function(match){return String(obj.shift())});
  }
}
