var Translation = {
    trans: function(key) {
        var str = Translation.message[key];
        if(str !== undefined)
            return Translation.message[key];
        else
            return key;
    },
    message: {
        'Unable to get tell a friend popup:': 'Unable to get tell a friend popup:',
        'Tell a friend request failed': 'Tell a friend request failed',
        'Delete this advert?': 'Delete this advert?',
        'Unable to delete advert:': 'Unable to delete advert:',
        'Delete advert request failed': 'Delete advert request failed',
        "Could not update form to": 'Could not update form to',
        "Could not {verb} form": 'Could not {verb} form',
        'Loading...': 'Loading...',
        'Unable to read loaded data, please try again later': 'Unable to read loaded data, please try again later',
        'Unable to load data, please try again later.': 'Unable to load data, please try again later.',
        'Sorry, no match': 'Sorry, no match',
        'in category': 'in category',
        "Could not update advert tabs": 'Could not update advert tabs',
        'View Advanced Filter': 'View Advanced Filter',
        'Hide Advanced Filter': 'Hide Advanced Filter',
        'click here to refine': 'click here to refine',
        'Unable to zoom advert:': 'Unable to zoom advert:',
        'Advert zoom request failed': 'Advert zoom request failed',
        'Zoom in': 'Zoom in',
        'Please enable cookies in your browser': 'Please enable cookies in your browser',
        'Login successful': 'Login successful',
        'Unable to log you in:': 'Unable to log you in:',
        'Login failed': 'Login failed',
        'Unable to logout': 'Unable to logout',
        'Unable to log you out:': 'Unable to log you out:',
        'Logout failed': 'Logout failed',
        'Sending email...': 'Sending email...',
        'Unable to send email:': 'Unable to send email:',
        'Could not send email': 'Could not send email',
        'Creating account...': 'Creating account...',
        'Unable to complete registration:': 'Unable to complete registration:',
        'Registration failed': 'Registration failed',
        'Updating...': 'Updating...',
        "Could not update": 'Could not update',
        'View All Favorites': 'View All Favorites',
        'Ads': 'Ads',
        'Brands': 'Brands',
        'Dealers': 'Dealers',
        'Saved searches': 'Saved searches',
        'View all': 'View all',
        "Could not delete favorite": 'Could not delete favorite',
        'View All': 'View All',
        'Search is done.': 'Search is done.',
        "You can still type to limit your result.": 'You can still type to limit your result.',
        "Searching...": 'Searching...',
        'Search failed.': 'Search failed.',
        "Loading...": 'Loading...',
        "An error occured.": 'An error occured.',
        'Remove from favorites': 'Remove from favorites',
        'Add to favorites': 'Add to favorites',
        "Form update failed": "Something unfortunately went wrong. We would like to help you as fast as possible. Please send an email or call us and provide us with your JamesList login email (if availible), the problem you encountered, and what web-browser and OS you are running. Thank you!\n\ncustomerservice@jameslist.com or call +46-8-12207574"    }
};
