       # Oops! Something went wrong so we should probably let the user know.
       runner.finish
         message: i18n.get if error instanceof URIError
-          'copy_fail_uri'
+          'result_bad_uri_description'
         else
-          'copy_fail_error'
+          'result_bad_error_description'
         success: no
   runner.pushPacked null, addAdditionalData, ->
     [tab, data, ->

  queryUrlShortener: (filter, singular = yes) ->
    utils.query SHORTENERS, singular, filter

  # Reset the message and status associated with the current copy request.  
  # This should be called when a copy request is completed regardless of its
  # outcome.
  reset: ->
    @message = ''
    @status  = no

  # Update the context menu items to reflect the currently enabled templates.  
  # If the context menu option has been disabled by the user, just remove all

  # Public variables
  # ----------------

  # Information specifying what should be displaying in the notification.  
  # This should be reset after every copy request.
  notification:
    description:      ''
    descriptionStyle: ''
    html:             ''
    icon:             utils.url '../images/icon_48.png'
    iconStyle:        ''
    title:            ''
    titleStyle:       ''

  # Pre-prepared HTML for the popup to be populated using.  
  # This should be updated whenever templates are changed/updated in any way as
  # this is generated to improve performance and load times of the popup frame.
  popupHtml: ''

  # Local copy of templates being used, ordered to match that specified by the
  # user.
  templates: []
