/* Javascript functions that are dependant on translation locales */
I18n = {};
I18n.translations = {"txt.access.help.msg_verified":"Submit your email address, and we'll send you an email that sets you up with a new password.","txt.users.edit_password.header":"Change password","txt.users.update_password.unchanged":"The new password must be different than the current password","txt.entries.index.no_topic":"No topics yet for this forum.","type.status.open":"Open","txt.requests.new.header":"Submit a request","txt.requests.new.email_address":"Your email address","Sep":"Oct","txt.entries.show.submitter.question":"asked this on","txt.entries.index.replied_by":"by","txt.users.edit.deleting_identity":"Deleting '{{identity}}'. Please wait...","txt.users.edit_password.current_pwd":"Current password","txt.requests.index.view_archived":"View your older closed requests","txt.users.update.success":"Profile for {{link_to_user}} updated","txt.entries.show.vote.undo":"undo","txt.requests.new.verify_email":"Your request has been created. Please note that you must verify your email address. Check your email.","txt.uploads.create.too_big":"The file '{{filename}}' is too big. Please attach files with size less than {{max_size}}.","txt.users.role_name.admin":"Administrator","txt.access.help.spam":"If you can't find a mail from us within a couple of minutes, please check your junk/spam folder.","ticket_fields.priority.label":"Priority","datetime.distance_in_words.about_x_years.one":"about 1 year","txt.requests.new.want_image":"I want an image instead","txt.widgets.forums.no_forums":"You don't have access to any forums","txt.registration.error.email_registered":"A user has already signed up with the given email<ul><li>Please use the <a href=\"/\">regular login</a></li></ul>","txt.access.login.welcome_back":"Welcome back, {{user_name}}","txt.requests.index.title_cc":"Requests you are copied on","txt.requests.index.status_open":"Being processed.","txt.registration.index.openid":"OpenID (optional - <a href=\"http://openid.net\" target=\"_new\">read more</a>)","datetime.distance_in_words.x_months.other":"{{count}} months","Jan":"Feb","txt.layout.sub_request":"Submit a request","txt.requests.show.resolved":"Please consider this request as <strong>resolved</strong>","txt.verification.details.title":"You are about to log in to your help desk","txt.entries.show.vote.me_too":"Me too!","txt.entries.list.most_popular":"Most popular","txt.access.login.unverified_open":"You are already registered in the help desk<ul><li>You need to verify your email address by clicking the verify link in your welcome mail</li><li>Alternatively, <a href='/access/help?user[email]={{user_email}}'>request a new welcome email</a></li></ul>","txt.suggestions.search_button":"Search","txt.requests.show.error":"Request could not be updated as","datetime.distance_in_words.over_x_years.one":"over 1 year","txt.users.edit.delete_identity":"delete","activerecord.errors.models.user_identity.attributes.value.invalid":"{{value}} is not properly formatted","Fri":"Sat","txt.watchings.create.title":"Receive updates by mail","txt.access.help.password_mail_sent":"A password reset email will be sent to <strong>{{user_email}}</strong> shortly, containing a link that enables you to reset your password.","txt.users.edit.login":"Used when logging in.","txt.requests.new.not_anonymous":"You are already registered in the help desk. Please login to submit your request.","activerecord.errors.messages.inclusion":"is not included in the list","txt.watchings.error":"General error during subscription/unsubscription","txt.users.update_password.changed":"Password changed","txt.users.edit.twitter_message":"Sign in with Twitter to verify your twitter account.","txt.search.back_to":"Back to","type.ticket.incident":"Incident","txt.users.edit.phone_msg":"Optional.","txt.requests.new.created":"Request {{request_title}} created","txt.users.edit.twitter_screen_name":"Twitter account","txt.requests.index.view_solved":"View your recently solved and closed requests","ticket_fields.updated.label":"Updated","txt.requests.new.message":"<p>Fields marked with an asterisk (<super>*</super>) are mandatory.</p><p>You'll be notified when our staff answers your request.</p>","txt.users.edit.adding_email":"Adding new email address. Please wait...","txt.access.help.welcome_mail_sent":"A new welcome email has been emailed to {{user_email}}","txt.merge.add_email":"Add email","txt.watchings.destroy.message":"Unsubscribe successful","txt.users.edit.add_twitter_handle_manually_message":"A manually added Twitter account will be verified the first time it is used to login, and successfully completes the oAuth process.","txt.registration.index.submit":"Sign me up!","Jul":"Aug","txt.access.index.no_password":"If you've communicated with our help desk staff through email previously, you're already registered. <br /> You probably don't have a password yet, though.","txt.entries.list.overview":"Overview","support.array.sentence_connector":"and","txt.requests.show.add_comment":"Add a comment to this request","txt.access.help.title":"Password reset","txt.entries.show.reset_publishing_date":"Reset publishing date","txt.entries.title.article":"Article","txt.users.edit_password.title":"Change password","txt.entries.list.more":"More","txt.watchings.create.message":"You will receive mails with updates made here","txt.access.index.sign_in_using":"Sign in using","txt.verification.details.submit":"Confirm and log in","txt.requests.show.was_assigned_to_this_ticket":"<strong>{{assignee_name}}</strong> was assigned to this request.","txt.search.found":"{{results}} found","activerecord.errors.messages.greater_than_or_equal_to":"must be greater than or equal to {{count}}","txt.requests.show.status_awaiting_someone":"This request is awaiting a response","txt.registration.error.email_blacklisted":"Users with the email address {{user_email}} are not allowed to sign up for this help desk","txt.access.help.title_unverified":"Please send the welcome email to me again","txt.requests.new.captcha_msg":"Type the above two words in below","txt.entries.edit.body.question":"Describe your question, or the problem you're experiencing, in detail","txt.layout.login":"login","txt.users.edit.twitter_description":"Can also be used to log in.","Wednesday":"Thursday","type.ticket.problem":"Problem","txt.requests.index.no_archived":"You have no older closed requests","txt.registration.success.thanks":"Thank you for signing up, {{user_name}}.","txt.layout.portal":"portal","txt.access.login.announcements":"There are new announcements at the Zendesk support site","txt.access.index.no_password_title":"No password?","Mar":"Apr","activerecord.errors.messages.less_than":"must be less than {{count}}","txt.users.edit_password.new_pwd_lbl":"Please enter your new password. At least 5 characters.","txt.users.edit.phone":"Phone number","txt.registration.index.name":"Your full name","txt.users.edit.submit_email_address":"Add address","txt.requests.show.was_assigned_to_your_ticket":"<strong>{{assignee_name}}</strong> was assigned to your request.","txt.requests.new.restricted_domain":"Users from your domain are not allowed to submit tickets. Please login if you have an account.","txt.users.edit.email_not_verified":"not verified","txt.requests.show.status_open":"This request is currently being processed by our staff","txt.users.role_name.end_user":"End-user","txt.entries.list.updated":"Updated","datetime.distance_in_words.less_than_x_minutes.one":"less than a minute","txt.merge.title_user_exists":"Have you been here before?","txt.requests.show.updated":"Request {{request_title}} updated","txt.registration.success.spam":"If you can't find a mail from us within a couple of minutes, please check your junk/spam folder.","txt.access.index.email":"Email address","txt.registration.index.submit_disabled":"Signing up&hellip;","txt.access.index.login_email":"Login using email/password","txt.watchings.destroy.title":"Stop receiving updates by mail","txt.users.edit.adding_twitter":"Adding new twitter account. Please wait...","ticket_fields.status.label":"Status","datetime.distance_in_words.about_x_hours.other":"about {{count}} hours","datetime.distance_in_words.about_x_months.other":"about {{count}} months","txt.access.index.header":"Login to {{account_name}}","ticket_fields.group.label":"Group","txt.entries.show.vote_status.article":"found this helpful","Monday":"Tuesday","datetime.distance_in_words.x_minutes.one":"1 minute","txt.access.login.unverified_not_open":"Online access for unverified users not enabled for this account","time.formats.default":"%a, %d %b %Y %H:%M:%S %z","txt.entries.show.edit_comment":"Edit","txt.access.index.signup_title":"New to {{account_name}}?","txt.registration.index.email":"Your email address","May":"June","txt.entries.show.label.planned":"Planned","txt.users.edit.update":"Update","txt.merge.wrong_password":"Password does not match. Please try again.","txt.verification.verified":"You've been verified - welcome to your help desk!","txt.requests.new.captcha":"Please verify that you are human","activerecord.errors.models.user_identity.attributes.value.taken":"{{value}} is already being used by another user","txt.entries.title.topic":"Topic","txt.users.edit.delete_identity_confirmation":"Permanently delete '{{identity}}'?","txt.entries.show.save_comment":"Save comment","txt.access.index.learn_more_openid":"Learn more about <a href=\"http://openid.net/\" target=\"_new\">OpenID</a>","txt.users.edit.twitter_handle":"Twitter account","txt.users.edit.name":"Name","txt.requests.organization.index.view_open":"View open requests","activerecord.errors.messages.exclusion":"is reserved","ticket_fields.created.label":"Requested","time.formats.long":"%B %d, %Y %H:%M","January":"February","date.formats.short":"%b %d","txt.access.help.msg_unverified":"Your email address has not yet been verified.<br/>Submit your email address, and we'll resend your welcome email containing the verification link.","txt.entries.edit.title.topic":"Title","txt.users.edit.title_user":"Edit {{user}}","txt.requests.show.awaiting_response":"Awaiting your response","txt.requests.show.ccs":"The following people will also be notified when this request is updated","txt.users.edit_password.submit":"Change password","txt.requests.show.notification":"You will receive a notification when the request status is updated by our staff.","txt.verification.details.message":"Please enter your name and select a password.","datetime.distance_in_words.less_than_x_minutes.other":"less than {{count}} minutes","txt.entries.edit.body.topic":"Text","txt.entries.show.submitter.idea":"suggested this on","txt.registration.index.cancel":"cancel","txt.users.role_name.anonymous":"Anonymous user","txt.suggestions.spelling":"Did you mean","txt.uploads.create.error":"There was an error with the attachment. Please try again or contact our support team if the problem continues.","datetime.distance_in_words.over_x_years.other":"over {{count}} years","txt.entries.show.label.you":"<b>You</b> and","ticket_fields.score.label":"Score","txt.requests.index.view_open":"View your open requests","txt.access.index.submit":"Login","txt.entries.edit.add":"Add","txt.entries.show.label.answer":"Answer","txt.entries.show.delete_comment":"Delete comment","activerecord.errors.messages.greater_than":"must be greater than {{count}}","txt.entries.title.idea":"Idea","type.status.pending":"Pending","txt.access.help.email":"Your email address","txt.suggestions.deflect.questions":"Ask a question in:","txt.users.edit.photo_edit":"Change or delete the current photo","txt.requests.index.submitted":"Submitted {{time_in_words}} ago","datetime.distance_in_words.x_seconds.one":"1 second","txt.access.login.twitter_error":"Twitter communication error. Please try again later.","ticket_fields.linked.label":"Linked","txt.entries.show.person":"Person","ticket_fields.organization.label":"Organization","txt.access.index.password_help":"(Help! I don't know what to enter here!)","txt.access.help.openid":"OpenID","ticket_fields.current_collaborators.label":"Cc's","txt.entries.show.cancel":"cancel","txt.requests.organization.index.view_solved":"View solved and closed requests","txt.widgets.forums.search":"Search","month":"day","txt.access.openid.wrong":"Sorry, no user by that identity URL exists ({{openid_url}})","txt.requests.show.status_awaiting_you":"This request is awaiting your response","ticket_fields.type.label":"Type","txt.search.all_forums":"all forums","ticket_fields.current_tags.label":"Tags","type.priority.normal":"Normal","txt.entries.show.confirm_delete_comment":"Delete this comment?  Are you sure?","txt.registration.index.twitter_screen_name":"Your Twitter account","txt.entries.show.vote_status.idea.people":"like this","txt.entries.list.most_asked":"Most asked","txt.suggestions.deflect.title":"Didn't find what you were looking for?","datetime.distance_in_words.x_months.one":"1 month","txt.entries.index.login_first_to_add_topic":"Please <a href='/login'>login to add a topic</a>","txt.access.index.get_password":"Get a password","txt.users.edit.openid":"OpenID","txt.users.edit.photo_upload":"Upload new photo","txt.entries.show.label.staff":"STAFF","txt.requests.new.error":"Request could not be created as","txt.entries.show.label.answered":"Answered","txt.layout.logout":"logout","datetime.distance_in_words.x_minutes.other":"{{count}} minutes","txt.requests.index.title_archived":"Older closed requests","txt.search.results":"results","txt.requests.new.submit":"Submit","txt.entries.show.closed":"Topic is closed for comments","txt.requests.index.status_pending":"View request history","txt.users.edit.add_twitter_handle_message":"In order to add a Twitter account, we need to verify with Twitter that the account belongs to you.","txt.users.edit.add_email":"Add an email address","date.formats.long":"%B %d, %Y","txt.registration.success.mail":"A welcome email will be sent to <strong>{{user_email}}</strong> shortly, containing a verification link that enables you to log in to the help desk.","txt.entries.show.submitter.article":"posted this on","datetime.distance_in_words.about_x_hours.one":"about 1 hour","txt.search.title":"Search","txt.suggestions.reject_suggestions":"No, I need help","txt.layout.check_request":"Check your existing requests","txt.requests.new.captcha_error":"Verification failed, please try a new set of words","txt.registration.index.password":"Select a password","txt.requests.show.submitted_by":"Submitted {{date}} by <strong>{{user_name}}</strong>","txt.merge.user_exists":"Your email address matches an account in our system. Please enter the password for {{email}} to link your accounts.","ticket_fields.assignee.label":"Assignee","txt.entries.index.add_idea":"Suggest an Idea","datetime.distance_in_words.about_x_months.one":"about 1 month","txt.watchings.invalid_param":"Invalid parameters","txt.search.result":"result","txt.requests.show.status_solved":"This request has been deemed solved {{date}}","activerecord.errors.models.user.attributes.openid_url.invalid":"is an invalid format, did you forget http:// or a trailing slash?","txt.requests.index.awaiting":"Awaiting your response","Friday":"Saturday","ticket_fields.updated_assignee.label":"Assignee updated","txt.users.edit.add_twitter_handle":"Add a Twitter account","txt.entries.show.vote.thanks":"Your vote has been registered, thanks!","date.order":"year","activerecord.errors.messages.taken":"has already been taken","txt.users.edit.creating":"Creating","txt.access.login.welcome":"Welcome, {{user_name}}","ticket_fields.merge.source_comment":"This ticket was closed and merged into ticket #{{target_nice_id}} \"{{target_title}}\".","txt.entries.show.login_to_see":"You may have to login in to see it.","txt.registration.index.sign_up_to":"Sign-up to {{account}}","time.am":"am","November":"December","txt.suggestions.deflect.submit_ticket":"Fill out a request form","type.priority.low":"Low","txt.watchings.create.link":"Subscribe","ticket.name":"Ticket","txt.email.verification.subject":"Please verify your email address","txt.uploads.create.uploading":"Uploading","date.abbr_day_names":"Sun","txt.entries.index.replied_at":"{{time_in_words}} ago","txt.users.role_name.owner":"Account owner","activerecord.errors.messages.too_long":"is too long (maximum is {{count}} characters)","txt.entries.index.activity":"Latest activity","txt.access.help.blank_email":"Please provide a valid email address","txt.layout.profile":"profile","Nov":"Dec","txt.entries.index.add_article":"Add Article","txt.access.help.title_verified":"Please set me up with a new password","txt.merge.enter_email":"Please enter an email address, so we can respond to your request.","txt.users.edit.add_email_message":"When adding a new email address, a verification email will be sent to that address. The verification email contains a link that needs to be clicked in order to verify the new email address.","datetime.distance_in_words.less_than_x_seconds.one":"less than 1 second","activerecord.errors.messages.equal_to":"must be equal to {{count}}","txt.users.edit.add_twitter_handle_manually":"Add a Twitter account manually","txt.entries.index.topic":"Topic","txt.access.logout.message":"You have been logged out.","txt.verification.details.password_msg":"You'll be using this password to log in to the help desk from now on.","txt.verification.details.name":"Your name","txt.access.index.login_openid":"Login using OpenID","txt.uploads.header":"Attachment(s)","datetime.distance_in_words.less_than_x_seconds.other":"less than {{count}} seconds","txt.suggestions.deflect.request":"Get in touch:","type.status.new":"New","datetime.distance_in_words.x_days.one":"1 day","date.abbr_month_names":"~","time.pm":"pm","txt.or":"or","txt.entries.edit.body.idea":"Tell us more details about your idea","txt.registration.error.user_invalid":"Failed to create user","txt.merge.email_not_verified":"{{email}} is not a verified email address. A new verification email has been sent to {{email}}. Please verify before adding the email.","txt.requests.organization.index.no_requests":"No requests found","txt.entries.list.needs_answer":"Needs answer","txt.access.help.submit":"Submit","txt.suggestions.more_suggestions":"more topics...","type.priority.urgent":"Urgent","txt.requests.new.email_address_msg":"If you are a registered user, please <a href=\"/login\">login</a> first to submit a request.","txt.search.go":"Search","txt.users.edit.name_msg":"Display name used throughout the help desk.","txt.entries.show.deleted":"It may have been deleted.","txt.entries.edit.title.idea":"What's your idea?","txt.entries.list.recent":"Recent","txt.requests.show.status_new":"This request is awaiting assignment to a help desk operator","ticket_fields.updated_requester.label":"Requester updated","activerecord.errors.messages.even":"must be even","txt.users.edit.photo_delete":"Delete","txt.suggestions.found_suggestions_title":"These topics might be of interest to you","txt.requests.index.no_copied":"No requests have been copied you","txt.widgets.forums.all":"All","txt.users.edit.twitter":"Twitter","activerecord.errors.messages.not_a_number":"is not a number","txt.entries.show.people":"People","txt.requests.index.message":"<p>You can re-open a solved request by clicking on the request and adding a comment.</p>   <p>Closed requests cannot be re-opened.</p>","txt.layout.signup":"sign up","txt.access.help.user_not_found_not_open":"No registered user found with email address \"{{user_email}}\"<ul><li>Only users already registered with {{account_name}} can apply for a new password</li><li>{{account_name}} does not offer self-registration, please contact your company representative for further information</li></ul>","txt.users.edit.photo":"Photo","txt.entries.edit.update":"Update","txt.widgets.forums.searching":"Searching","type.priority.high":"High","ticket_fields.subject.label":"Subject","txt.suggestions.no_suggestions":"Sorry, we found nothing...","txt.entries.edit.title.question":"What's your question?","Wed":"Thu","date.formats.default":"%Y-%m-%d","activerecord.errors.messages.less_than_or_equal_to":"must be less than or equal to {{count}}","July":"August","date.day_names":"Sunday","txt.access.help.cancel":"cancel","txt.requests.organization.index.view_by_user":"Requests by user","ticket_fields.assigned.label":"Assigned","txt.users.edit.groups":"Member of groups","txt.requests.organization.index.viewing":"Requests for {{organization}}","txt.registration.error.email_blank":"Please provide an email address","txt.entries.list.empty":"No topics found","txt.requests.index.title_open":"Open requests","txt.entries.show.no_access":"You do not have access to this topic","txt.access.login.no_user":"No user with email address {{user_email}}","txt.requests.show.submitted_by_you":"Submitted {{date}} by <strong>you</strong>","txt.access.help.user_not_found_open":"No registered user found with email address \"{{user_email}}\"<ul><li>Only registered users can request a new password via this form</li><li>Please use the <a href='/registration'>sign-up form</a> instead if <strong>{{user_email}}</strong> is your email address</li></ul>","datetime.distance_in_words.x_seconds.other":"{{count}} seconds","ticket_fields.requester.label":"Requester","txt.entries.show.label.done":"Done","type.status.closed":"Closed","txt.uploads.create.close":"Close","support.array.skip_last_comma":"translation missing: en-US-x-1, support, array, skip_last_comma","txt.users.edit.updating":"Updating","txt.requests.show.error_need_email":"You cannot create requests, as you don't have an email address","txt.watchings.destroy.fail":"No subscription found, it may have been removed previously","txt.access.index.password":"Password","txt.watchings.destroy.link":"Unsubscribe","txt.entries.show.edit":"Edit","txt.requests.show.comments":"Comments","activerecord.errors.messages.blank":"can't be blank","txt.access.index.title":"Login","txt.users.role_name.agent":"Agent","txt.users.edit_password.new_pwd":"New password","activerecord.errors.messages.odd":"must be odd","txt.users.update_password.failed":"Failed to change password","txt.verification.details.password":"Please select a password","txt.uploads.create.link":"Attach file(s)","type.ticket.question":"Question","txt.access.index.signup":"Sign up to submit and track your requests online","txt.users.role_name.restricted_agent":"Restricted agent","txt.entries.index.add_question":"Ask a Question","txt.entries.index.views":"Views","txt.users.edit.photo_msg":"An optional smiling face. For the best results, upload a photo with equal length and height.","datetime.distance_in_words.half_a_minute":"half a minute","Mon":"Tue","txt.entries.index.add_topic":"Add Topic","datetime.distance_in_words.about_x_years.other":"about {{count}} years","txt.requests.show.title":"Request {{request_title}}","ticket_fields.description.label":"Description","date.month_names":"~","txt.requests.index.submit_request":"Submit a request for assistance by support staff","activerecord.errors.messages.empty":"can't be empty","activerecord.errors.messages.confirmation":"doesn't match confirmation","txt.requests.index.message2":"<p> By submitting a request you <span class=\"highlight\">report a problem</span> to our support staff, who will review and process your request as soon as possible.  </p> <p>You can always return to this page to view the status of all your submitted requests.</p>","txt.watchings.not_found":"Object for subscription not found","txt.entries.show.label.not_planned":"Not planned","txt.requests.show.keep_solved":"Request is <strong>solved</strong>","txt.requests.index.title_solved":"Recently solved and closed requests","txt.requests.index.viewing":"You are viewing a list of","txt.merge.email_verification_sent":"Thank you. A verification email has been sent to {{email}}.","txt.users.edit.openid_msg":"<a href=\"http://openid.net/\" target=\"_new\">OpenID</a> for Single Sign-On. The URL must be on the format <tt>http://myidentity.myopenid.com/</tt>","txt.registration.error.email_invalid":"Invalid email address: {{user_email}}","txt.requests.new.captcha_reload":"Two other words please","type.ticket.task":"Task","txt.entries.index.comments":"Comments","txt.entries.show.comments":"Comments","September":"October","txt.requests.show.error_blank_comment":"You cannot submit a blank comment","txt.requests.index.no_solved":"You have no recently solved or closed requests","txt.requests.new.title":"Submit a request for assistance","activerecord.errors.messages.wrong_length":"is the wrong length (should be {{count}} characters)","txt.users.update_password.incorrect":"The current password you entered is not correct, your password has not been changed","txt.requests.new.want_audio":"I want audio instead","txt.requests.organization.index.title_by":"Requests by {{user}}","txt.access.index.remember_me":"Remember me on this computer","ticket_fields.merge.default_target_comment.bulk":"Tickets {{source_ids}} were closed and merged into this ticket.","activerecord.errors.messages.invalid":"is invalid","txt.requests.show.is_assigned_to_this_ticket":"<strong>{{assignee_name}}</strong> is assigned to this request.","txt.requests.show.reopen":"You can re-open the request by adding a comment.","txt.access.login.wrong_password":"Incorrect password<ul><li>Please try again or <a href='/access/help?user[email]={{user_email}}'>get a new password</a></li></ul>","txt.uploads.show.quickview":"quick view","txt.registration.error.disabled":"401 Access denied. User registration not enabled for account {{account_subdomain}}","ticket_fields.solved.label":"Solved","txt.search.searching":"Searching","txt.entries.title.question":"Question","datetime.distance_in_words.x_days.other":"{{count}} days","txt.search.found_in_forum":"{{results}} found in {{forum_name}}","txt.access.help.already_verified":"This user has already been verified<ul><li>If you lost your password, please contact {{reply_address}}</li></ul>","txt.users.edit.photo_change":"Change","txt.registration.success.title":"Sign-up complete","txt.email.welcome.subject":"{{account_name}} welcome email","txt.layout.home":"Home","txt.requests.show.is_assigned_to_your_ticket":"<strong>{{assignee_name}}</strong> is assigned to your request.","txt.entries.show.vote_status.question":"would like this answered","txt.uploads.create.max_size":"Max file size: {{max_size}}","txt.users.show.edit":"edit","txt.uploads.destroy.link":"delete","txt.requests.show.related_topics":"Related topics","txt.suggestions.deflect.ideas":"Submit an idea in:","txt.users.edit.email":"Email","txt.entries.show.vote_status.idea.person":"likes this","ticket_fields.merge.default_target_comment.non_bulk":"Ticket #{{source_nice_id}} \"{{source_title}}\" was closed and merged into this ticket.\n\nLast Comment in #{{source_nice_id}}: {{source_latest_public_comment}}","txt.entries.list.latest_comment":"Latest comment","activerecord.errors.messages.accepted":"must be accepted","txt.entries.show.latest_first":"latest first","txt.entries.index_pinned.pinned":"See latest announcements","txt.requests.index.view_copied":"View requests you are copied on","txt.requests.index.status_new":"Awaiting assignment to a help desk operator.","txt.requests.index.no_open":"You have no open requests","txt.entries.show.tags":"by tags","txt.suggestions.accept_suggestions":"Yes, that answered my question","txt.users.update.failed":"Failed to update user","txt.users.edit.photo_cancel":"Cancel","txt.entries.show.add_comment":"Add a comment","ticket_fields.nice_id.label":"ID","txt.layout.change_pwd":"change password","type.status.solved":"Solved","txt.email.footer":"This email is a service from {{account_name}}","March":"April","ticket_fields.submitter.label":"Submitter","txt.users.edit_password.current_pwd_lbl":"Please enter your current password","time.formats.short":"%d %b %H:%M","ticket_fields.updated_by_type.label":"Updater","ticket_fields.due_date.label":"Due Date","txt.verification.details.submit_disabled":"Logging in&hellip;","txt.verification.already_verified":"Verification failed, user is already verified<ul><li>Please use the <a href=\"/\">regular login</a></li></ul>","txt.merge.cannot_add":"cannot be added to your account","txt.registration.index.title":"Sign-up","activerecord.errors.messages.too_short":"is too short (minimum is {{count}} characters)"};

I18n.t = function(key, args) {
  var result = I18n.translations[key];
  if (result && args) {
    args = $H(args);
    args.each(function(nameAndValue) {
      result = result.gsub('{{' + nameAndValue[0] + '}}', nameAndValue[1]);
    });
  };
  return result;
};

function i18n_distance_of_time_in_words(to, from) {
  seconds_ago = ((to  - from) / 1000);
  minutes_ago = Math.floor(seconds_ago / 60)

  if(minutes_ago <= 0) { return I18n.t('datetime.distance_in_words.less_than_x_minutes.one');}
  if(minutes_ago == 1) { return I18n.t('datetime.distance_in_words.x_minutes.one');}
  if(minutes_ago < 45) { return I18n.t('datetime.distance_in_words.x_minutes.other', {count: minutes_ago});}
  if(minutes_ago < 90) { return I18n.t('datetime.distance_in_words.about_x_hours.one');}
  hours_ago  = Math.round(minutes_ago / 60);
  if(minutes_ago < 1440) { return I18n.t('datetime.distance_in_words.about_x_hours.other', {count: hours_ago});}
  if(minutes_ago < 2880) { return I18n.t('datetime.distance_in_words.x_days.one');}
  days_ago  = Math.round(minutes_ago / 1440);
  if(minutes_ago < 43200) { return I18n.t('datetime.distance_in_words.x_days.other', {count: days_ago});}
  if(minutes_ago < 86400) { return I18n.t('datetime.distance_in_words.about_x_months.one');}
  months_ago  = Math.round(minutes_ago / 43200);
  if(minutes_ago < 525960) { return I18n.t('datetime.distance_in_words.about_x_months.other', {count: months_ago});}
  if(minutes_ago < 1051920) { return I18n.t('datetime.distance_in_words.about_x_years.one');}
  years_ago  = Math.round(minutes_ago / 525960);
  return I18n.t('datetime.distance_in_words.over_x_years.other', {count: years_ago});
}
