/* gettext library */ var catalog = new Array(); function pluralidx(count) { return (count == 1) ? 0 : 1; } catalog['group'] = ['','']; catalog['There is %d place containing \'%s\''] = ['','']; catalog['photo'] = ['','']; catalog['There is %d location found from text'] = ['','']; catalog['video'] = ['','']; catalog['post'] = ['','']; catalog['event'] = ['','']; catalog['Add post'] = 'Add post'; catalog['Address'] = 'Address'; catalog['Advanced'] = 'Advanced'; catalog['Are you sure you want to remove this widget from your Noovo? Undo or confirm.'] = 'Are you sure you want to remove this widget from your Noovo? Undo or confirm.'; catalog['Cancel'] = 'Cancel'; catalog['Click on the map to select place'] = 'Click on the map to select place'; catalog['Couldn\'t remove widget'] = 'Couldn\'t remove widget'; catalog['Couldn\'t save changes. I\'m so ashamed.'] = 'Couldn\'t save changes. I\'m so ashamed.'; catalog['Enter place name'] = 'Enter place name'; catalog['Enter place'] = 'Enter place'; catalog['Enter the URL for this link:'] = 'Enter the URL for this link:'; catalog['Event'] = 'Event'; catalog['Hide'] = 'Hide'; catalog['Hint: hold Ctrl, Cmd or Shift key to select multiple files.'] = 'Hint: hold Ctrl, Cmd or Shift key to select multiple files.'; catalog['IP location: %s Select'] = 'IP location: %s Select'; catalog['Load'] = 'Load'; catalog['Loading'] = 'Loading'; catalog['Location is not set.'] = 'Location is not set.'; catalog['Location'] = 'Location'; catalog['Locations from content'] = 'Locations from content'; catalog['Minimize'] = 'Minimize'; catalog['No location found from text'] = 'No location found from text'; catalog['No location found'] = 'No location found'; catalog['No location search match'] = 'No location search match'; catalog['No nearby places found'] = 'No nearby places found'; catalog['No places found from content'] = 'No places found from content'; catalog['No title'] = 'No title'; catalog['Nothing on Noovo.'] = 'Nothing on Noovo.'; catalog['Person'] = 'Person'; catalog['Photo'] = 'Photo'; catalog['Places found from content'] = 'Places found from content'; catalog['Places found'] = 'Places found'; catalog['Please select the text you wish to hyperlink.'] = 'Please select the text you wish to hyperlink.'; catalog['Remove'] = 'Remove'; catalog['Save'] = 'Save'; catalog['Search the web.'] = 'Search the web.'; catalog['Search'] = 'Search'; catalog['Searching'] = 'Searching'; catalog['Searcing places nearby'] = 'Searcing places nearby'; catalog['Select location from list or map'] = 'Select location from list or map'; catalog['Select on map'] = 'Select on map'; catalog['Selected location'] = 'Selected location'; catalog['Set Location'] = 'Set Location'; catalog['Set location manually'] = 'Set location manually'; catalog['Set manually'] = 'Set manually'; catalog['Sorry, we can\'t find anything useful on this site.'] = 'Sorry, we can\'t find anything useful on this site.'; catalog['Sorry, we can\'t process this site.'] = 'Sorry, we can\'t process this site.'; catalog['Story'] = 'Story'; catalog['Suggested place names'] = 'Suggested place names'; catalog['There is %d location found from text'][0] = 'There is %d location found from text'; catalog['There is %d location found from text'][1] = ' There are %d locations found from text'; catalog['There is %d place containing \'%s\''][0] = 'There is %d place containing \'%s\''; catalog['There is %d place containing \'%s\''][1] = 'There are %d places containing \'%s\''; catalog['Venue'] = 'Venue'; catalog['Video'] = 'Video'; catalog['We found %s Select'] = 'We found %s Select'; catalog['characters left'] = 'characters left'; catalog['characters'] = 'characters'; catalog['event'][0] = 'event'; catalog['event'][1] = 'events'; catalog['group'][0] = 'group'; catalog['group'][1] = 'groups'; catalog['more characters'] = 'more characters'; catalog['photo'][0] = 'photo'; catalog['photo'][1] = 'photos'; catalog['population'] = 'population'; catalog['post'][0] = 'post'; catalog['post'][1] = 'posts'; catalog['video'][0] = 'video'; catalog['video'][1] = 'videos'; 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())}); } }