             attr = formEl.scope().attr
             message = attr.name
 
-            $confirm.ask("COMMON.CUSTOM_ATTRIBUTES.DELETE", "COMMON.CUSTOM_ATTRIBUTES.CONFIRM_DELETE", message).then (finish) ->
+            title = $translate.instant("COMMON.CUSTOM_ATTRIBUTES.DELETE")
+            text = $translate.instant("COMMON.CUSTOM_ATTRIBUTES.CONFIRM_DELETE")
+
+            $confirm.ask(title, text, message).then (finish) ->
                 onSucces = ->
                     $ctrl.loadCustomAttributes().finally ->
                         finish()


    return {link: link}

module.directive("tgProjectCustomAttributes", ["$log", "$tgConfirm", "animationFrame", ProjectCustomAttributesDirective])

## Project values directive
#############################################################################

ProjectValuesDirective = ($log, $repo, $confirm, $location, animationFrame, $translate, $rootscope) ->
    ## Drag & Drop Link

    linkDragAndDrop = ($scope, $el, $attrs) ->
