Changeset 725

Show
Ignore:
Timestamp:
11/13/07 12:06:26 (1 year ago)
Author:
markku
Message:

Email nnotifications for customers - Closes #488. Few typing errors in the translation were also corrected.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/controllers/customer_controller.rb

    r723 r725  
    5454               [_('City'), :text_field, 'city', { :size => 30, :maxlength => 40 } ], 
    5555               [_('Country'), :text_field, 'country', { :size => 30, :maxlength => 40 } ], 
     56               [_('Notify when a service request is created'), :check_box, 'notify_on_service_request_created'], 
     57               [_('Notify when a service request is assigned to a person'), :check_box, 'notify_on_service_request_assigned'], 
     58               [_('Notify when a service request is accepted by a person'), :check_box, 'notify_on_service_request_accepted'], 
     59               [_('Notify when a service request is closed'), :check_box, 'notify_on_service_request_closed'], 
     60               [_('Notify when a service request is reopened'), :check_box, 'notify_on_service_request_opened'], 
    5661               [_('Language'), :select, 'lang', @language_options], 
    5762               [_('Send email notification'), :check_box, 'notify_new_user'] 
     
    7681               [_('City'), :text_field, 'city', { :size => 30, :maxlength => 40 } ], 
    7782               [_('Country'), :text_field, 'country', { :size => 30, :maxlength => 40 } ], 
     83               [_('Notify when a service request is created'), :check_box, 'notify_on_service_request_created'], 
     84               [_('Notify when a service request is assigned to a person'), :check_box, 'notify_on_service_request_assigned'], 
     85               [_('Notify when a service request is accepted by a person'), :check_box, 'notify_on_service_request_accepted'], 
     86               [_('Notify when a service request is closed'), :check_box, 'notify_on_service_request_closed'], 
     87               [_('Notify when a service request is reopened'), :check_box, 'notify_on_service_request_opened'], 
    7888               [_('Language'), :select, 'lang', @language_options] 
    7989              ] 
  • trunk/app/controllers/customer_interface_controller.rb

    r723 r725  
    208208 
    209209    @fields = [ 
    210                 [_('Name'), :text, 'name'], 
    211                 [_('Username'), :text, 'login'], 
    212                 [_('Email address'), :text_field, 'email', { :size => 35, :maxlength => 40 } ], 
    213                 [_('Phone number'), :text_field, 'phone', { :size => 20, :maxlength => 20 } ], 
    214                 [_('City'), :text_field, 'city', { :size => 30, :maxlength => 40 } ], 
    215                 [_('Country'), :text_field, 'country', { :size => 30, :maxlength => 40 } ], 
     210               [_('Name'), :text, 'name'], 
     211               [_('Username'), :text, 'login'], 
     212               [_('Email address'), :text_field, 'email', { :size => 35, :maxlength => 40, :onchange => 'disable_notification_options()' } ], 
     213               [_('Phone number'), :text_field, 'phone', { :size => 20, :maxlength => 20 } ], 
     214               [_('City'), :text_field, 'city', { :size => 30, :maxlength => 40 } ], 
     215               [_('Country'), :text_field, 'country', { :size => 30, :maxlength => 40 } ], 
     216               [_('Send me notification when a service request is created'), :check_box, 'notify_on_service_request_created'], 
     217               [_('Send me notification when a service request is assigned to a person'), :check_box, 'notify_on_service_request_assigned'], 
     218               [_('Send me notification when a service request is accepted by a person'), :check_box, 'notify_on_service_request_accepted'], 
     219               [_('Send me notification when a service request is closed'), :check_box, 'notify_on_service_request_closed'], 
     220               [_('Send me notification when a service request is reopened'), :check_box, 'notify_on_service_request_opened'], 
    216221                [_('Language'), :select, 'lang', CMMS_LANGUAGE_OPTIONS ] 
    217222              ] 
     
    219224    if request.post? 
    220225      # Delete input params for non-editable attributes 
    221       params[:model].delete_if { |key, value| !['email', 'phone', 'city', 'country', 'lang'].include?(key) } 
     226      params[:model].delete_if { |key, value| !['email', 'phone', 'city', 'country', 'lang', 'notify_on_service_request_created', 'notify_on_service_request_assigned', 'notify_on_service_request_accepted', 'notify_on_service_request_closed', 'notify_on_service_request_opened'].include?(key) } 
    222227 
    223228      @model.attributes = params[:model] 
  • trunk/app/models/notification_mailer.rb

    r714 r725  
    2020 
    2121  def self.task_created(task) 
    22     return unless task.task_type.notify_on_create and task.task_type.notification_email != '' 
    23     deliver_task_notification(:created, task) 
     22    deliver_task_notification(:created, task) if task.task_type.notify_on_create and task.task_type.notification_email != '' 
     23 
     24    deliver_service_request_notification(:created, task) if notify_customer?(task) 
    2425  end 
    2526 
     
    3132 
    3233    deliver_task_notification(:assigned, task) if task.task_type.notify_on_assign and task.task_type.notification_email != '' 
     34 
     35    deliver_service_request_notification(:assigned, task) if notify_customer?(task) 
    3336  end 
    3437 
     
    4447    raise 'Accepted task must have a responsible user' unless task.responsible_user 
    4548 
    46     return unless task.task_type.notify_on_accept and task.task_type.notification_email != '' 
    47     deliver_task_notification(:accepted, task) 
     49    deliver_task_notification(:accepted, task) if task.task_type.notify_on_accept and task.task_type.notification_email != '' 
     50 
     51    deliver_service_request_notification(:accepted, task) if notify_customer?(task) 
    4852  end 
    4953 
    5054  def self.task_closed(task) 
    51     return unless task.task_type.notify_on_close and task.task_type.notification_email != '' 
    52     deliver_task_notification(:closed, task) 
     55    deliver_task_notification(:closed, task) if task.task_type.notify_on_close and task.task_type.notification_email != '' 
     56 
     57    deliver_service_request_notification(:closed, task) if notify_customer?(task) 
    5358  end 
    5459 
    5560  def self.task_opened(task) 
    56     return unless task.task_type.notify_on_open and task.task_type.notification_email != '' 
    57     deliver_task_notification(:opened, task) 
     61    deliver_task_notification(:opened, task) if task.task_type.notify_on_open and task.task_type.notification_email != '' 
     62 
     63    deliver_service_request_notification(:opened, task) if notify_customer?(task) 
    5864  end 
    5965 
     
    118124  end 
    119125 
     126  # Function: service_request_notification 
     127  # ====================================== 
     128  # Sends notifications to the asset's customer when a service request 
     129  # is created or when state of a service request is changed. 
     130  # 
     131  # Parameters: 
     132  # ----------- 
     133  # event - Task event on which the notification is notifying 
     134  # task  - Service request (i.e. task) whose event took place 
     135  # 
     136  def service_request_notification(event, task) 
     137    case event 
     138      when :created 
     139        title = localize('New service request {%i} has been created', task.id) 
     140        operation = localize('created') 
     141      when :assigned 
     142        title = localize('Service request {%i} has been assigned to %s', task.id, task.responsible_user.name) 
     143        operation = localize('assigned to a person') 
     144      when :accepted 
     145        title = localize('Service request {%i} has been accepted by %s', task.id, task.responsible_user.name) 
     146        operation = localize('accepted by a person') 
     147      when :closed 
     148        title = localize('Service request {%i} was closed', task.id) 
     149        operation = localize('closed') 
     150      when :opened 
     151        title = localize('Service request {%i} has been reopened', task.id) 
     152        operation = localize('reopened') 
     153      else 
     154        raise "Unknown event :#{event}" 
     155    end 
     156 
     157    asset = task.asset 
     158    recipient = asset.customer.email 
     159    raise 'No recipient' unless recipient and recipient != '' 
     160 
     161    automatic_message = localize("This is an automatic email notification from the NorfelloCMMS OS\nrunning at %s. This message was sent to you because your user account\nhas been confifured to receive notifications when a service request\nis %s. If you no longer want to receive these messages, please change\nthe notification options or contact the system administrator.", ApplicationController.host, operation) 
     162 
     163    message = localize("Description: %s\n\nAsset: %s (%s)\n", task.short_description, asset.full_code, asset.name) 
     164    message += localize("Asset type: %s\n", asset.asset_type.name) if asset.asset_type 
     165    message += localize("Creation date: %s", format_datetime(task.created_at)) 
     166 
     167    recipients recipient 
     168    subject    "NorfelloCMMS: #{title}" 
     169    from       NotificationMailer.email_sender 
     170    sent_on    Time.now 
     171    body       :message => message, :automatic_message => automatic_message 
     172 
     173    NotificationMailer._info("Mail generated for service request task ID:#{task.id} on event :#{event}") 
     174  end 
     175 
    120176  # Method: customer_created_notification 
    121177  # ===================================== 
     
    149205    return datetime.strftime('%Y-%m-%d %H:%M:%S') 
    150206  end 
     207 
     208  def self.notify_customer?(task) 
     209    return (task.task_type.is_service_request_type and task.asset.customer and task.asset.customer.email and task.asset.customer.email != '') 
     210  end 
    151211end 
  • trunk/app/models/user.rb

    r713 r725  
    44class User < UserAccount 
    55  # Protection (these fields are NOT used by this model) 
    6   attr_protected :full_name, :notify_new_user 
     6  attr_protected :full_name, :notify_new_user, :notify_on_service_request_created, :notify_on_service_request_assigned, :notify_on_service_request_accepted, :notify_on_service_request_closed, :notify_on_service_request_opened 
    77  # Validation 
    88  validates_presence_of :first_name, :last_name 
  • trunk/app/views/customer_interface/edit_my_information.rhtml

    r710 r725  
    33<%= render(:partial => 'shared/create_or_edit', 
    44           :locals => { :cancel_url_options => {:action => 'index'} }) %> 
     5 
     6<script type="text/javascript"> 
     7Event.observe(window, 'load', disable_notification_options); 
     8</script> 
  • trunk/doc/manual/latex/tex/configuration_section.tex

    r721 r725  
    313313\item \textbf{City}: Optional 
    314314\item \textbf{Country}: Optional 
     315\item \textbf{Notification options for service request}: Define when email notifications on service requests are sent to the customer. 
    315316\item \textbf{Language}: Language of the user interface for the customer 
    316317\item \textbf{Created at, Modified at, Accessed at}: Timestamps telling when the account was created, when it was modified and when the customer logged in to the account for the last time. 
  • trunk/doc/manual/latex/tex/customer_interface.tex

    r721 r725  
    2424An open Service request can be commented by  
    2525\subsubsection{My information} 
    26 Customers can view and edit their contact information and language by clicking the account name link after the 'Logged in as:' text at the top of the page.  Changes to the account information can be saved with the 'Save changes' button. 
     26Customers can view and edit their contact information and language by clicking the account name link after the 'Logged in as:' text at the top of the page. 
     27 
     28This function also enables customers to configure their e-mail notification options, which enable customers to follow service requests in their assets via e-mail. 
     29 
     30Changes to the account information can be saved with the 'Save changes' button. 
    2731\subsubsection{Change password} 
    2832Customers can change their password by following the 'Change password' link in the 'My information' page. We advice that customers change their password when they login for the first time. 
  • trunk/po/fi_FI/norfello_cmms.po

    r724 r725  
    22msgstr "" 
    33"Project-Id-Version: NorfelloCMMS SVN trunk\n" 
    4 "POT-Creation-Date: 2007-11-12 14:24+0200\n" 
    5 "PO-Revision-Date: 2007-11-08 13:17+0200\n" 
     4"POT-Creation-Date: 2007-11-13 10:21+0200\n" 
     5"PO-Revision-Date: 2007-11-13 10:38+0200\n" 
    66"Last-Translator: Markku Oksanen <markku.oksanen@norfello.com>\n" 
    77"Language-Team: Norfello Ltd. <contact@norfello.com>\n" 
     
    5353msgstr "Sinulle annettiin tehtÀvÀ" 
    5454 
    55 #: app/models/asset.rb:902 app/models/asset.rb:908 app/models/asset.rb:914 
     55#: app/models/asset.rb:902 
     56#: app/models/asset.rb:908 
     57#: app/models/asset.rb:914 
    5658#: app/models/protected_data.rb:481 
    5759msgid "Unauthorized to save %s" 
     
    9496msgstr "Varmista tÀyttö" 
    9597 
    96 #: app/models/form_field.rb:35 app/controllers/asset_field_controller.rb:110 
     98#: app/models/form_field.rb:35 
     99#: app/controllers/asset_field_controller.rb:110 
    97100msgid "Integer" 
    98101msgstr "Kokonaisluku" 
    99102 
    100 #: app/models/form_field.rb:36 app/controllers/asset_field_controller.rb:109 
     103#: app/models/form_field.rb:36 
     104#: app/controllers/asset_field_controller.rb:109 
    101105msgid "String" 
    102106msgstr "Merkkijono" 
    103107 
    104 #: app/models/form_field.rb:37 app/controllers/asset_field_controller.rb:111 
     108#: app/models/form_field.rb:37 
     109#: app/controllers/asset_field_controller.rb:111 
    105110msgid "Boolean" 
    106111msgstr "Totuusarvo" 
    107112 
    108 #: app/models/form_field.rb:38 app/controllers/asset_field_controller.rb:112 
     113#: app/models/form_field.rb:38 
     114#: app/controllers/asset_field_controller.rb:112 
    109115msgid "Float" 
    110116msgstr "Desimaaliluku" 
     
    114120msgstr "PitkÀ merkkijono" 
    115121 
    116 #: app/models/form_field.rb:40 app/controllers/message_controller.rb:19 
     122#: app/models/form_field.rb:40 
     123#: app/controllers/message_controller.rb:19 
    117124#: app/controllers/asset_field_controller.rb:113 
    118125#: app/views/message/view.rhtml:4 
     
    126133msgstr "Aika" 
    127134 
    128 #: app/models/form_field.rb:42 app/controllers/asset_field_controller.rb:115 
     135#: app/models/form_field.rb:42 
     136#: app/controllers/asset_field_controller.rb:115 
    129137msgid "Datetime" 
    130138msgstr "PÀivÀmÀÀrÀ ja aika" 
    131139 
    132 #: app/models/form_field.rb:43 app/controllers/asset_field_controller.rb:116 
     140#: app/models/form_field.rb:43 
     141#: app/controllers/asset_field_controller.rb:116 
    133142msgid "Enumeration" 
    134143msgstr "Luettelo" 
     
    671680 
    672681#: app/helpers/customer_interface_helper.rb:98 
    673 #: app/controllers/customer_interface_controller.rb:250 
     682#: app/controllers/customer_interface_controller.rb:255 
    674683msgid "Comment service request %s" 
    675684msgstr "Kommentoi palvelupyyntöÀ %s" 
     
    760769 
    761770#: app/helpers/customer_interface_helper.rb:223 
    762 #: app/views/customer_interface/_item_list.rhtml:50 lib/localization.rb:17 
     771#: app/views/customer_interface/_item_list.rhtml:50 
     772#: lib/localization.rb:17 
    763773msgid "%Y-%m-%d" 
    764774msgstr "%d.%m.%Y" 
     
    858868#: app/controllers/asset_tree_controller.rb:251 
    859869#: app/views/asset_tree/_asset_tree.rhtml:52 
    860 #: app/views/asset_tree/_asset_tree.rhtml:57 app/views/asset/remove.rhtml:5 
     870#: app/views/asset_tree/_asset_tree.rhtml:57 
     871#: app/views/asset/remove.rhtml:5 
    861872#: app/views/asset/remove.rhtml:29 
    862873msgid "Cancel" 
     
    875886msgstr "pÀivÀÀ" 
    876887 
    877 #: app/helpers/application_helper.rb:657 app/views/task/_form.rhtml:96 
    878 #: app/views/task/_form.rhtml:98 app/views/task/create.rhtml:39 
     888#: app/helpers/application_helper.rb:657 
     889#: app/views/task/_form.rhtml:96 
     890#: app/views/task/_form.rhtml:98 
     891#: app/views/task/create.rhtml:39 
    879892msgid "hours" 
    880893msgstr "tuntia" 
     
    884897msgstr "minuuttia" 
    885898 
    886 #: app/helpers/asset_field_helper.rb:52 app/helpers/asset_field_helper.rb:113 
     899#: app/helpers/asset_field_helper.rb:52 
     900#: app/helpers/asset_field_helper.rb:113 
    887901#: app/controllers/task_controller.rb:49 
    888902#: app/controllers/task_controller.rb:468 
     
    890904#: app/controllers/keyring_controller.rb:75 
    891905#: app/views/form_type/create_step4.rhtml:15 
    892 #: app/views/shared/_list_items.rhtml:6 config/menu.rb:63 
     906#: app/views/shared/_list_items.rhtml:6 
     907#: config/menu.rb:63 
    893908msgid "Remove" 
    894909msgstr "Poista" 
     
    898913msgstr "Uusi arvo" 
    899914 
    900 #: app/helpers/asset_field_helper.rb:108 app/views/user_group/users.rhtml:11 
     915#: app/helpers/asset_field_helper.rb:108 
     916#: app/views/user_group/users.rhtml:11 
    901917#: app/views/asset_permission/list.rhtml:9 
    902 #: app/views/keyring/edit_owners.rhtml:5 app/views/keyring/edit_keys.rhtml:5 
     918#: app/views/keyring/edit_owners.rhtml:5 
     919#: app/views/keyring/edit_keys.rhtml:5 
    903920#: app/views/form_type/create_step4.rhtml:77 
    904921msgid "Add" 
     
    933950#: app/controllers/customer_interface_controller.rb:164 
    934951#: app/controllers/form_controller.rb:460 
    935 #: app/controllers/task_controller.rb:42 app/controllers/task_controller.rb:51 
     952#: app/controllers/task_controller.rb:42 
     953#: app/controllers/task_controller.rb:51 
    936954#: app/controllers/task_controller.rb:283 
    937955#: app/controllers/task_controller.rb:461 
    938956#: app/controllers/task_controller.rb:470 
    939957#: app/controllers/attachment_controller.rb:26 
    940 #: app/views/attachment/view.rhtml:4 app/views/task/_form.rhtml:51 
     958#: app/views/attachment/view.rhtml:4 
     959#: app/views/task/_form.rhtml:51 
    941960#: app/views/form/view.rhtml:13 
    942961#: app/views/customer_interface/comment_service_request.rhtml:4 
     
    961980#: app/controllers/customer_controller.rb:28 
    962981#: app/controllers/customer_controller.rb:50 
    963 #: app/controllers/customer_controller.rb:72 
     982#: app/controllers/customer_controller.rb:77 
    964983#: app/controllers/action_key_controller.rb:25 
    965984#: app/controllers/action_key_controller.rb:34 
     
    969988#: app/controllers/asset_field_controller.rb:89 
    970989#: app/controllers/attachment_controller.rb:23 
    971 #: app/controllers/user_controller.rb:28 app/controllers/user_controller.rb:99 
     990#: app/controllers/user_controller.rb:28 
     991#: app/controllers/user_controller.rb:99 
    972992#: app/controllers/user_controller.rb:111 
    973993#: app/controllers/user_controller.rb:280 
     
    977997#: app/controllers/keyring_controller.rb:19 
    978998#: app/controllers/keyring_controller.rb:33 
    979 #: app/controllers/keyring_controller.rb:51 app/views/attachment/view.rhtml:14 
    980 #: app/views/attachment/attach.rhtml:9 app/views/asset_tree/search.rhtml:4 
     999#: app/controllers/keyring_controller.rb:51 
     1000#: app/views/attachment/view.rhtml:14 
     1001#: app/views/attachment/attach.rhtml:9 
     1002#: app/views/asset_tree/search.rhtml:4 
    9811003#: app/views/form_type/create_step2.rhtml:6 
    9821004#: app/views/form_type/create_step4.rhtml:9 
     
    9841006#: app/views/form_type/create_step4.rhtml:92 
    9851007#: app/views/form_type/change_template.rhtml:16 
    986 #: app/views/form_type/edit.rhtml:8 app/views/form_type/edit.rhtml:23 
     1008#: app/views/form_type/edit.rhtml:8 
     1009#: app/views/form_type/edit.rhtml:23 
    9871010#: app/views/form_type/create_step1.rhtml:7 
    988 #: app/views/asset/_view_table.rhtml:20 app/views/user/view.rhtml:10 
     1011#: app/views/asset/_view_table.rhtml:20 
     1012#: app/views/user/view.rhtml:10 
    9891013msgid "Name" 
    9901014msgstr "Nimi" 
     
    10091033#: app/controllers/asset_field_controller.rb:22 
    10101034#: app/controllers/asset_field_controller.rb:42 
    1011 #: app/views/asset_tree/search.rhtml:5 app/views/task/create.rhtml:9 
     1035#: app/views/asset_tree/search.rhtml:5 
     1036#: app/views/task/create.rhtml:9 
    10121037#: app/views/form_type/create_step4.rhtml:98 
    10131038#: app/views/asset/_view_table.rhtml:9 
     
    10421067#: app/controllers/task_controller.rb:459 
    10431068#: app/controllers/customer_controller.rb:51 
    1044 #: app/controllers/customer_controller.rb:73 
     1069#: app/controllers/customer_controller.rb:78 
    10451070#: app/controllers/user_controller.rb:100 
    1046 #: app/controllers/user_controller.rb:112 app/views/task/_form.rhtml:108 
     1071#: app/controllers/user_controller.rb:112 
     1072#: app/views/task/_form.rhtml:108 
    10471073#: app/views/asset/_view_table.rhtml:51 
    10481074msgid "Description" 
     
    10501076 
    10511077#: app/controllers/asset_controller.rb:155 
    1052 msgid "" 
    1053 "You have to select all types and all levels of branch to remove all its " 
    1054 "assets." 
    1055 msgstr "" 
    1056 "Poistaaksesi kaikki haaran kohteet sinun tulee valita haarasta kaikki tyypit " 
    1057 "ja tasot." 
     1078msgid "You have to select all types and all levels of branch to remove all its assets." 
     1079msgstr "Poistaaksesi kaikki haaran kohteet sinun tulee valita haarasta kaikki tyypit ja tasot." 
    10581080 
    10591081#: app/controllers/asset_controller.rb:160 
     
    11161138msgstr "Muuta kaikkien %d valitun kohteen tyyppiÀ" 
    11171139 
    1118 #: app/controllers/asset_controller.rb:319 config/menu.rb:62 
     1140#: app/controllers/asset_controller.rb:319 
     1141#: config/menu.rb:62 
    11191142msgid "Change type" 
    11201143msgstr "Vaihda tyyppi" 
    11211144 
    1122 #: app/controllers/task_type_controller.rb:19 config/menu.rb:127 
     1145#: app/controllers/task_type_controller.rb:19 
     1146#: config/menu.rb:127 
    11231147msgid "Task types" 
    11241148msgstr "TehtÀvÀtyypit" 
     
    11461170#: app/controllers/form_type_controller.rb:29 
    11471171#: app/controllers/keyring_controller.rb:25 
    1148 #: app/views/shared/_list_items.rhtml:19 app/views/form/view.rhtml:33 
    1149 #: config/menu.rb:61 config/menu.rb:97 
     1172#: app/views/shared/_list_items.rhtml:19 
     1173#: app/views/form/view.rhtml:33 
     1174#: config/menu.rb:61 
     1175#: config/menu.rb:97 
    11501176msgid "Edit" 
    11511177msgstr "Muokkaa" 
     
    12301256#: app/controllers/customer_interface_controller.rb:110 
    12311257#: app/controllers/message_controller.rb:21 
    1232 #: app/views/message/send_message.rhtml:21 app/views/message/view.rhtml:8 
     1258#: app/views/message/send_message.rhtml:21 
     1259#: app/views/message/view.rhtml:8 
    12331260msgid "Subject" 
    12341261msgstr "Aihe" 
     
    12661293#: app/controllers/customer_interface_controller.rb:206 
    12671294#: app/controllers/user_controller.rb:314 
    1268 #: app/views/layouts/customer_interface.rhtml:50 config/menu.rb:15 
     1295#: app/views/layouts/customer_interface.rhtml:50 
     1296#: config/menu.rb:15 
    12691297msgid "My information" 
    12701298msgstr "Omat tiedot" 
     
    12731301#: app/controllers/customer_controller.rb:29 
    12741302#: app/controllers/customer_controller.rb:47 
    1275 #: app/controllers/user_controller.rb:29 app/controllers/user_controller.rb:49 
     1303#: app/controllers/user_controller.rb:29 
     1304#: app/controllers/user_controller.rb:49 
    12761305#: app/controllers/user_controller.rb:281 
    1277 #: app/controllers/user_controller.rb:318 app/views/user/view.rhtml:6 
    1278 #: app/views/user/search.rhtml:4 app/views/user/login.rhtml:34 
     1306#: app/controllers/user_controller.rb:318 
     1307#: app/views/user/view.rhtml:6 
     1308#: app/views/user/search.rhtml:4 
     1309#: app/views/user/login.rhtml:34 
    12791310msgid "Username" 
    12801311msgstr "KÀyttÀjÀnimi" 
     
    12821313#: app/controllers/customer_interface_controller.rb:212 
    12831314#: app/controllers/customer_controller.rb:52 
    1284 #: app/controllers/customer_controller.rb:74 
    1285 #: app/controllers/user_controller.rb:55 app/controllers/user_controller.rb:87 
    1286 #: app/controllers/user_controller.rb:320 app/views/user/view.rhtml:18 
     1315#: app/controllers/customer_controller.rb:79 
     1316#: app/controllers/user_controller.rb:55 
     1317#: app/controllers/user_controller.rb:87 
     1318#: app/controllers/user_controller.rb:320 
     1319#: app/views/user/view.rhtml:18 
    12871320msgid "Email address" 
    12881321msgstr "SÀhköpostiosoite" 
     
    12901323#: app/controllers/customer_interface_controller.rb:213 
    12911324#: app/controllers/customer_controller.rb:53 
    1292 #: app/controllers/customer_controller.rb:75 
    1293 #: app/controllers/user_controller.rb:56 app/controllers/user_controller.rb:88 
    1294 #: app/controllers/user_controller.rb:321 app/views/user/view.rhtml:22 
     1325#: app/controllers/customer_controller.rb:80 
     1326#: app/controllers/user_controller.rb:56 
     1327#: app/controllers/user_controller.rb:88 
     1328#: app/controllers/user_controller.rb:321 
     1329#: app/views/user/view.rhtml:22 
    12951330msgid "Phone number" 
    12961331msgstr "Puhelinnumero" 
     
    12981333#: app/controllers/customer_interface_controller.rb:214 
    12991334#: app/controllers/customer_controller.rb:54 
    1300 #: app/controllers/customer_controller.rb:76 
    1301 #: app/controllers/user_controller.rb:58 app/controllers/user_controller.rb:90 
    1302 #: app/controllers/user_controller.rb:323 app/views/user/view.rhtml:30 
     1335#: app/controllers/customer_controller.rb:81 
     1336#: app/controllers/user_controller.rb:58 
     1337#: app/controllers/user_controller.rb:90 
     1338#: app/controllers/user_controller.rb:323 
     1339#: app/views/user/view.rhtml:30 
    13031340msgid "City" 
    13041341msgstr "Kaupunki" 
     
    13061343#: app/controllers/customer_interface_controller.rb:215 
    13071344#: app/controllers/customer_controller.rb:55 
    1308 #: app/controllers/customer_controller.rb:77 
    1309 #: app/controllers/user_controller.rb:59 app/controllers/user_controller.rb:91 
    1310 #: app/controllers/user_controller.rb:324 app/views/user/view.rhtml:34 
     1345#: app/controllers/customer_controller.rb:82 
     1346#: app/controllers/user_controller.rb:59 
     1347#: app/controllers/user_controller.rb:91 
     1348#: app/controllers/user_controller.rb:324 
     1349#: app/views/user/view.rhtml:34 
    13111350msgid "Country" 
    13121351msgstr "Maa" 
    13131352 
    13141353#: app/controllers/customer_interface_controller.rb:216 
    1315 #: app/controllers/customer_controller.rb:56 
    1316 #: app/controllers/customer_controller.rb:78 
     1354msgid "Send me notification when a service request is created" 
     1355msgstr "LÀhetÀ minulle ilmoitus kun palvelupyyntö luodaan" 
     1356 
     1357#: app/controllers/customer_interface_controller.rb:217 
     1358msgid "Send me notification when a service request is assigned to a person" 
     1359msgstr "LÀhetÀ minulle ilmoitus kun palvelupyyntö mÀÀrÀtÀÀn henkilölle" 
     1360 
     1361#: app/controllers/customer_interface_controller.rb:218 
     1362msgid "Send me notification when a service request is accepted by a person" 
     1363msgstr "LÀhetÀ minulle ilmoitus kun palvelupyyntö hyvÀksytÀÀn" 
     1364 
     1365#: app/controllers/customer_interface_controller.rb:219 
     1366msgid "Send me notification when a service request is closed" 
     1367msgstr "LÀhetÀ minulle ilmoitus kun palvelupyyntö suljetaan" 
     1368 
     1369#: app/controllers/customer_interface_controller.rb:220 
     1370msgid "Send me notification when a service request is reopened" 
     1371msgstr "LÀhetÀ minulle ilmoitus kun palvelupyyntö avataan uudelleen" 
     1372 
     1373#: app/controllers/customer_interface_controller.rb:221 
     1374#: app/controllers/customer_controller.rb:61 
     1375#: app/controllers/customer_controller.rb:88 
    13171376#: app/controllers/user_controller.rb:94 
    13181377#: app/controllers/user_controller.rb:327 
     
    13201379msgstr "Kieli" 
    13211380 
    1322 #: app/controllers/customer_interface_controller.rb:228 
     1381#: app/controllers/customer_interface_controller.rb:233 
    13231382#: app/controllers/user_controller.rb:344 
    13241383msgid "Your information has been updated" 
    13251384msgstr "Tiedot pÀivitetty" 
    13261385 
    1327 #: app/controllers/customer_interface_controller.rb:231 
     1386#: app/controllers/customer_interface_controller.rb:236 
    13281387#: app/controllers/user_controller.rb:346 
    13291388msgid "Unable to update your information" 
    13301389msgstr "Tietojen pÀivittÀminen epÀonnistui" 
    13311390 
    1332 #: app/controllers/customer_interface_controller.rb:253 
     1391#: app/controllers/customer_interface_controller.rb:258 
    13331392msgid "Service request %s not found!" 
    13341393msgstr "PalvelupyyntöÀ %s ei löydy!" 
    13351394 
    1336 #: app/controllers/customer_interface_controller.rb:261 
     1395#: app/controllers/customer_interface_controller.rb:266 
    13371396msgid "Comment successfully received" 
    13381397msgstr "Kommentti vastaanotettu" 
    13391398 
    1340 #: app/controllers/customer_interface_controller.rb:267 
     1399#: app/controllers/customer_interface_controller.rb:272 
    13411400msgid "Comment can't be empty. Please provide one." 
    13421401msgstr "Kommentti ei voi olla tyhjÀ. Ole hyvÀ ja tÀytÀ se." 
     
    13831442#: app/controllers/application.rb:460 
    13841443#: app/views/customer_interface/_edit_my_information.rhtml:1 
    1385 #: app/views/customer_interface/edit_my_information.rhtml:1 config/menu.rb:16 
     1444#: app/views/customer_interface/edit_my_information.rhtml:1 
     1445#: config/menu.rb:16 
    13861446msgid "Change password" 
    13871447msgstr "Vaihda salasana" 
     
    14181478 
    14191479#: app/controllers/data_permission_controller.rb:102 
    1420 msgid "" 
    1421 "Unable to save permissions. You probably tried to remove the \"edit\" " 
    1422 "permission from yourself. If you really want to do this, try to remove just " 
    1423 "that permission." 
    1424 msgstr "" 
    1425 "KÀyttöoikeuksien tallentaminen epÀonnistui. Yritit todennÀköisesti poistaa " 
    1426 "kÀyttöoikeuden \"muokkaa\" itseltÀsi. Jos haluat todella tehdÀ niin, yritÀ " 
    1427 "poistaa vain se kÀyttöoikeus." 
     1480msgid "Unable to save permissions. You probably tried to remove the \"edit\" permission from yourself. If you really want to do this, try to remove just that permission." 
     1481msgstr "KÀyttöoikeuksien tallentaminen epÀonnistui. Yritit todennÀköisesti poistaa kÀyttöoikeuden \"muokkaa\" itseltÀsi. Jos haluat todella tehdÀ niin, yritÀ poistaa vain se kÀyttöoikeus." 
    14281482 
    14291483#: app/controllers/data_permission_controller.rb:112 
     
    14351489msgstr "KÀyttöoikeuksien luominen" 
    14361490 
    1437 #: app/controllers/user_group_controller.rb:20 app/views/user/edit.rhtml:12 
     1491#: app/controllers/user_group_controller.rb:20 
     1492#: app/views/user/edit.rhtml:12 
    14381493#: config/menu.rb:90 
    14391494msgid "User groups" 
     
    14541509 
    14551510#: app/controllers/user_group_controller.rb:25 
    1456 #: app/controllers/user_controller.rb:114 config/menu.rb:14 
     1511#: app/controllers/user_controller.rb:114 
     1512#: config/menu.rb:14 
    14571513msgid "Users" 
    14581514msgstr "KÀyttÀjÀt" 
     
    14881544#: app/controllers/user_group_controller.rb:152 
    14891545msgid "User's user groups are updated when user logins the next time." 
    1490 msgstr "" 
    1491 "KÀyttöoikeudet pÀivitetÀÀn, kun kÀyttÀjÀ kirjautuu seuraavan kerran sisÀÀn." 
     1546msgstr "KÀyttöoikeudet pÀivitetÀÀn, kun kÀyttÀjÀ kirjautuu seuraavan kerran sisÀÀn." 
    14921547 
    14931548#: app/controllers/search_controller.rb:28 
     
    15071562msgstr "Kohdetta \"%s\" ei löytynyt" 
    15081563 
    1509 #: app/controllers/asset_type_controller.rb:16 config/menu.rb:135 
     1564#: app/controllers/asset_type_controller.rb:16 
     1565#: config/menu.rb:135 
    15101566#: config/menu.rb:136 
    15111567msgid "Asset types" 
     
    15291585 
    15301586#: app/controllers/asset_type_controller.rb:32 
    1531 #: app/views/attachment/attach.rhtml:17 config/menu.rb:28 
     1587#: app/views/attachment/attach.rhtml:17 
     1588#: config/menu.rb:28 
    15321589msgid "Attach file" 
    15331590msgstr "LiitÀ tiedosto" 
     
    15531610msgstr "Kohteen %s tÀytetyt lomakkeet" 
    15541611 
    1555 #: app/controllers/form_controller.rb:50 app/controllers/form_controller.rb:71 
     1612#: app/controllers/form_controller.rb:50 
     1613#: app/controllers/form_controller.rb:71 
    15561614msgid "create form" 
    15571615msgstr "luo lomake" 
     
    15691627msgstr "Lomaketyyppi" 
    15701628 
    1571 #: app/controllers/form_controller.rb:65 config/menu.rb:37 
     1629#: app/controllers/form_controller.rb:65 
     1630#: config/menu.rb:37 
    15721631msgid "Fill out" 
    15731632msgstr "TÀytÀ" 
     
    16111670#: app/controllers/attachment_controller.rb:24 
    16121671#: app/controllers/type_attachment_controller.rb:21 
    1613 #: app/views/attachment/view.rhtml:32 app/views/form_type/preview.rhtml:22 
     1672#: app/views/attachment/view.rhtml:32 
     1673#: app/views/form_type/preview.rhtml:22 
    16141674msgid "Creator" 
    16151675msgstr "Luoja" 
     
    16181678#: app/controllers/attachment_controller.rb:25 
    16191679#: app/controllers/type_attachment_controller.rb:22 
    1620 #: app/views/attachment/view.rhtml:28 app/views/form_type/preview.rhtml:25 
     1680#: app/views/attachment/view.rhtml:28 
     1681#: app/views/form_type/preview.rhtml:25 
    16211682msgid "Creation date" 
    16221683msgstr "Luotu" 
     
    16261687#: app/controllers/type_attachment_controller.rb:26 
    16271688#: app/views/attachment/view.rhtml:40 
    1628 #: app/views/task_type/view_template.rhtml:12 app/views/task/view.rhtml:82 
    1629 #: app/views/shared/_list_items.rhtml:296 app/views/form/view.rhtml:43 
     1689#: app/views/task_type/view_template.rhtml:12 
     1690#: app/views/task/view.rhtml:82 
     1691#: app/views/shared/_list_items.rhtml:296 
     1692#: app/views/form/view.rhtml:43 
    16301693msgid "Download" 
    16311694msgstr "Lataa" 
     
    16481711 
    16491712#: app/controllers/asset_permission_controller.rb:114 
    1650 msgid "" 
    1651 "Forbidden action: You tried to remove all user groups, which have permission " 
    1652 "to edit asset permissions." 
    1653 msgstr "" 
    1654 "Kielletty toiminto: Yritit poistaa kaikki kÀyttÀjÀryhmÀt, joilla on oikeus " 
    1655 "muokata kohteen kÀyttöoikeuksia." 
     1713msgid "Forbidden action: You tried to remove all user groups, which have permission to edit asset permissions." 
     1714msgstr "Kielletty toiminto: Yritit poistaa kaikki kÀyttÀjÀryhmÀt, joilla on oikeus muokata kohteen kÀyttöoikeuksia." 
    16561715 
    16571716#: app/controllers/asset_permission_controller.rb:119 
     
    16721731 
    16731732#: app/controllers/asset_permission_controller.rb:207 
    1674 msgid "" 
    1675 "Forbidden action: You tried to remove the \"Edit asset permissions\" " 
    1676 "permission and this user group is the only one with that permission." 
    1677 msgstr "" 
    1678 "Kielletty toiminto: Yritit poistaa oikeuden \"Muokkaa kohteen kÀyttöoikeuksia" 
    1679 "\" ja tÀmÀ kÀyttÀjÀryhmÀ on ainut, jolla on tÀmÀ oikeus tÀssÀ kohteessa." 
     1733msgid "Forbidden action: You tried to remove the \"Edit asset permissions\" permission and this user group is the only one with that permission." 
     1734msgstr "Kielletty toiminto: Yritit poistaa oikeuden \"Muokkaa kohteen kÀyttöoikeuksia\" ja tÀmÀ kÀyttÀjÀryhmÀ on ainut, jolla on tÀmÀ oikeus tÀssÀ kohteessa." 
    16801735 
    16811736#: app/controllers/asset_permission_controller.rb:257 
     
    17061761 
    17071762#: app/controllers/task_controller.rb:36 
    1708 #: app/controllers/task_controller.rb:458 app/views/task/_form.rhtml:34 
     1763#: app/controllers/task_controller.rb:458 
     1764#: app/views/task/_form.rhtml:34 
    17091765msgid "State" 
    17101766msgstr "Tila" 
    17111767 
    1712 #: app/controllers/task_controller.rb:38 app/views/task/_form.rhtml:79 
     1768#: app/controllers/task_controller.rb:38 
     1769#: app/views/task/_form.rhtml:79 
    17131770#: app/views/task/create.rhtml:26 
    17141771msgid "Priority" 
     
    17191776msgstr "Työn vastuuhenkilö" 
    17201777 
    1721 #: app/controllers/task_controller.rb:40 app/views/task/_form.rhtml:72 
     1778#: app/controllers/task_controller.rb:40 
     1779#: app/views/task/_form.rhtml:72 
    17221780#: app/views/task/create.rhtml:30 
    17231781msgid "Starting time" 
    17241782msgstr "Aloitusaika" 
    17251783 
    1726 #: app/controllers/task_controller.rb:41 app/views/task/_form.rhtml:87 
     1784#: app/controllers/task_controller.rb:41 
     1785#: app/views/task/_form.rhtml:87 
    17271786#: app/views/task/create.rhtml:34 
    17281787msgid "Deadline" 
     
    17371796#: app/controllers/task_controller.rb:297 
    17381797#: app/controllers/task_controller.rb:469 
    1739 #: app/views/asset_tree/_asset_tree.rhtml:51 app/views/task/view.rhtml:75 
     1798#: app/views/asset_tree/_asset_tree.rhtml:51 
     1799#: app/views/task/view.rhtml:75 
    17401800msgid "Move" 
    17411801msgstr "SiirrÀ" 
     
    17941854 
    17951855#: app/controllers/task_controller.rb:215 
    1796 #: app/controllers/customer_controller.rb:12
     1856#: app/controllers/customer_controller.rb:13
    17971857msgid "No task types defined." 
    17981858msgstr "YhtÀÀn tehtÀvÀtyyppiÀ ei ole mÀÀritelty." 
     
    18721932msgstr "Matalin" 
    18731933 
    1874 #: app/controllers/task_controller.rb:460 app/views/task/_form.rhtml:59 
     1934#: app/controllers/task_controller.rb:460 
     1935#: app/views/task/_form.rhtml:59 
    18751936#: app/views/shared/_edit_account.rhtml:4 
    18761937msgid "Created at" 
     
    19121973msgstr "%s lÀhettÀmÀ viesti" 
    19131974 
    1914 #: app/controllers/message_controller.rb:52 app/views/user/view.rhtml:1 
     1975#: app/controllers/message_controller.rb:52 
     1976#: app/views/user/view.rhtml:1 
    19151977msgid "Send message to %s" 
    19161978msgstr "LÀhetÀ viesti kÀyttÀjÀlle %s" 
    19171979 
    1918 #: app/controllers/message_controller.rb:54 config/menu.rb:18 
     1980#: app/controllers/message_controller.rb:54 
     1981#: config/menu.rb:18 
    19191982msgid "Send message" 
    19201983msgstr "LÀhetÀ viesti" 
     
    19241987msgstr "Viesti lÀhetetty" 
    19251988 
    1926 #: app/controllers/customer_controller.rb:26 config/menu.rb:76 
     1989#: app/controllers/customer_controller.rb:26 
     1990#: config/menu.rb:76 
    19271991msgid "Customers" 
    19281992msgstr "Asiakkaat" 
     
    19372001 
    19382002#: app/controllers/customer_controller.rb:48 
    1939 #: app/controllers/user_controller.rb:50 app/views/user/login.rhtml:38 
     2003#: app/controllers/user_controller.rb:50 
     2004#: app/views/user/login.rhtml:38 
    19402005msgid "Password" 
    19412006msgstr "Salasana" 
     
    19462011msgstr "Varmista salasana" 
    19472012 
     2013#: app/controllers/customer_controller.rb:56 
     2014#: app/controllers/customer_controller.rb:83 
     2015msgid "Notify when a service request is created" 
     2016msgstr "Ilmoita kun uusi palvelupyyntö luodaan" 
     2017 
    19482018#: app/controllers/customer_controller.rb:57 
     2019#: app/controllers/customer_controller.rb:84 
     2020msgid "Notify when a service request is assigned to a person" 
     2021msgstr "Ilmoita kun palvelupyyntö mÀÀrÀtÀÀn" 
     2022 
     2023#: app/controllers/customer_controller.rb:58 
     2024#: app/controllers/customer_controller.rb:85 
     2025msgid "Notify when a service request is accepted by a person" 
     2026msgstr "Ilmoita kun palvelupyyntö hyvÀksytÀÀn" 
     2027 
     2028#: app/controllers/customer_controller.rb:59 
     2029#: app/controllers/customer_controller.rb:86 
     2030msgid "Notify when a service request is closed" 
     2031msgstr "Ilmoita kun palvelupyyntö suljetaan" 
     2032 
     2033#: app/controllers/customer_controller.rb:60 
     2034#: app/controllers/customer_controller.rb:87 
     2035msgid "Notify when a service request is reopened" 
     2036msgstr "Ilmoita kun palvelupyyntö avataan uudelleen" 
     2037 
     2038#: app/controllers/customer_controller.rb:62 
    19492039msgid "Send email notification" 
    19502040msgstr "LÀhetÀ sÀhköposti-ilmoitus" 
    19512041 
    1952 #: app/controllers/customer_controller.rb:69 
     2042#: app/controllers/customer_controller.rb:74 
    19532043msgid "Edit customer: %s" 
    19542044msgstr "Muokkaa asiakasta: %s" 
    19552045 
    1956 #: app/controllers/customer_controller.rb:9
     2046#: app/controllers/customer_controller.rb:10
    19572047msgid "Customer information" 
    19582048msgstr "Asiakkaan tiedot" 
    19592049 
    1960 #: app/controllers/customer_controller.rb:11
     2050#: app/controllers/customer_controller.rb:12
    19612051msgid "Select a type for service requests" 
    19622052msgstr "Valitse palvelupyyntöjen tyyppi" 
     
    19642054#: app/controllers/action_key_controller.rb:16 
    19652055#: app/controllers/user_controller.rb:103 
    1966 #: app/controllers/keyring_controller.rb:23 config/menu.rb:106 
     2056#: app/controllers/keyring_controller.rb:23 
     2057#: config/menu.rb:106 
    19672058msgid "Keys" 
    19682059msgstr "Avaimet" 
     
    20762167msgstr "Kohdetyypin kuvake %i on vielÀ kÀytössÀ" 
    20772168 
    2078 #: app/controllers/user_controller.rb:26 config/menu.rb:84 
     2169#: app/controllers/user_controller.rb:26 
     2170#: config/menu.rb:84 
    20792171msgid "User accounts" 
    20802172msgstr "KÀyttÀjÀtilit" 
     
    20842176msgstr "KÀyttÀjÀtilin luonti" 
    20852177 
    2086 #: app/controllers/user_controller.rb:52 app/controllers/user_controller.rb:84 
     2178#: app/controllers/user_controller.rb:52 
     2179#: app/controllers/user_controller.rb:84 
    20872180#: app/views/user/search.rhtml:15 
    20882181msgid "First name" 
    20892182msgstr "Etunimi" 
    20902183 
    2091 #: app/controllers/user_controller.rb:53 app/controllers/user_controller.rb:85 
     2184#: app/controllers/user_controller.rb:53 
     2185#: app/controllers/user_controller.rb:85 
    20922186#: app/views/user/search.rhtml:19 
    20932187msgid "Last name" 
    20942188msgstr "Sukunimi" 
    20952189 
    2096 #: app/controllers/user_controller.rb:54 app/controllers/user_controller.rb:86 
    2097 #: app/controllers/user_controller.rb:319 app/views/user/view.rhtml:14 
     2190#: app/controllers/user_controller.rb:54 
     2191#: app/controllers/user_controller.rb:86 
     2192#: app/controllers/user_controller.rb:319 
     2193#: app/views/user/view.rhtml:14 
    20982194msgid "Job description" 
    20992195msgstr "TehtÀvÀn kuvaus" 
    21002196 
    2101 #: app/controllers/user_controller.rb:57 app/controllers/user_controller.rb:89 
    2102 #: app/controllers/user_controller.rb:322 app/views/user/view.rhtml:26 
     2197#: app/controllers/user_controller.rb:57 
     2198#: app/controllers/user_controller.rb:89 
     2199#: app/controllers/user_controller.rb:322 
     2200#: app/views/user/view.rhtml:26 
    21032201msgid "Organization" 
    21042202msgstr "Organisaatio" 
    21052203 
    2106 #: app/controllers/user_controller.rb:60 app/controllers/user_controller.rb:92 
     2204#: app/controllers/user_controller.rb:60 
     2205#: app/controllers/user_controller.rb:92 
    21072206msgid "Notify when assigned to task as responsible user" 
    21082207msgstr "Ilmoita kun mÀÀrÀtÀÀn vastuulliseksi kÀyttÀjÀksi tehtÀvÀÀn" 
    21092208 
    2110 #: app/controllers/user_controller.rb:61 app/controllers/user_controller.rb:93 
     2209#: app/controllers/user_controller.rb:61 
     2210#: app/controllers/user_controller.rb:93 
    21112211msgid "Notify when assigned to task as worker" 
    21122212msgstr "Ilmoita kun mÀÀrÀtÀÀn työntekijÀksi tehtÀvÀÀn" 
     
    21142214#: app/controllers/user_controller.rb:62 
    21152215msgid "Copy keyring and user group information from an existing user" 
    2116 msgstr "" 
    2117 "Kopioi avainrengas- ja kÀyttÀjÀryhmÀtiedot olemassaolevalta kÀyttÀjÀltÀ" 
     2216msgstr "Kopioi avainrengas- ja kÀyttÀjÀryhmÀtiedot olemassaolevalta kÀyttÀjÀltÀ" 
    21182217 
    21192218#: app/controllers/user_controller.rb:81 
     
    21432242 
    21442243#: app/controllers/user_controller.rb:174 
    2145 msgid "" 
    2146 "Unable to remove user %s, because you are currently logged in as this user." 
    2147 msgstr "" 
    2148 "KÀyttÀjÀÀ %s ei voitu poistaa, koska olet kirjautuneena tÀllÀ kÀyttÀjÀllÀ." 
     2244msgid "Unable to remove user %s, because you are currently logged in as this user." 
     2245msgstr "KÀyttÀjÀÀ %s ei voitu poistaa, koska olet kirjautuneena tÀllÀ kÀyttÀjÀllÀ." 
    21492246 
    21502247#: app/controllers/user_controller.rb:176 
    2151 msgid "" 
    2152 "Unable to remove user %s, because there are tasks assigned to this user." 
    2153 msgstr "" 
    2154 "KÀyttÀjÀn %s poistaminen epÀonnistui, koska hÀnen vastuullaan on vielÀ " 
    2155 "tehtÀviÀ." 
     2248msgid "Unable to remove user %s, because there are tasks assigned to this user." 
     2249msgstr "KÀyttÀjÀn %s poistaminen epÀonnistui, koska hÀnen vastuullaan on vielÀ tehtÀviÀ." 
    21562250 
    21572251#: app/controllers/user_controller.rb:200 
    21582252msgid "Login failed because you don't have any keyrings." 
    2159 msgstr "" 
    2160 "SisÀÀnkirjautuminen epÀonnistui, koska sinulla ei ole yhtÀÀn avainrengasta." 
     2253msgstr "SisÀÀnkirjautuminen epÀonnistui, koska sinulla ei ole yhtÀÀn avainrengasta." 
    21612254 
    21622255#: app/controllers/user_controller.rb:209 
    21632256msgid "Login failed because you don't belong to any user group." 
    2164 msgstr "" 
    2165 "SisÀÀnkijautuminen epÀonnistui, koska et kuulu yhteenkÀÀn kÀyttÀjÀryhmÀÀn." 
     2257msgstr "SisÀÀnkijautuminen epÀonnistui, koska et kuulu yhteenkÀÀn kÀyttÀjÀryhmÀÀn." 
    21662258 
    21672259#: app/controllers/user_controller.rb:220 
    21682260#: app/controllers/user_controller.rb:232 
    21692261msgid "Login failed because you are not authorized to read any assets." 
    2170 msgstr "" 
    2171 "SisÀÀnkirjautuminen epÀonnistui, koska sinulla ei ole oikeuksia lukea yhtÀÀn " 
    2172 "kohdetta." 
     2262msgstr "SisÀÀnkirjautuminen epÀonnistui, koska sinulla ei ole oikeuksia lukea yhtÀÀn kohdetta." 
    21732263 
    21742264#: app/controllers/user_controller.rb:255 
     
    21902280#: app/controllers/user_controller.rb:325 
    21912281msgid "Send notification when I'm assigned to task as responsible user"