i18n simple_form move of tasks
This commit is contained in:
parent
762292ef8e
commit
552af7925d
2 changed files with 15 additions and 15 deletions
|
@ -3,22 +3,22 @@
|
||||||
|
|
||||||
%section
|
%section
|
||||||
%dl.dl-horizontal
|
%dl.dl-horizontal
|
||||||
%dt= t 'simple_form.labels.task.name'
|
%dt= Task.human_attribute_name(:name)
|
||||||
%dd= @task.name
|
%dd= @task.name
|
||||||
- if @task.description.present?
|
- if @task.description.present?
|
||||||
%dt= t 'simple_form.labels.defaults.description'
|
%dt= Task.human_attribute_name(:description)
|
||||||
%dd= simple_format(@task.description)
|
%dd= simple_format(@task.description)
|
||||||
- if @task.due_date.present?
|
- if @task.due_date.present?
|
||||||
%dt= t '.due_date'
|
%dt= Task.human_attribute_name(:due_date)
|
||||||
%dd
|
%dd
|
||||||
= format_date(@task.due_date)
|
= format_date(@task.due_date)
|
||||||
- if @task.periodic?
|
- if @task.periodic?
|
||||||
%i.icon-repeat{title: t('tasks.repeated')}
|
%i.icon-repeat{title: t('tasks.repeated')}
|
||||||
%dt= t 'simple_form.labels.task.duration'
|
%dt= Task.human_attribute_name(:duration)
|
||||||
%dd= t('.hours', count: @task.duration)
|
%dd= t('.hours', count: @task.duration)
|
||||||
%dt= t 'simple_form.labels.task.user_list'
|
%dt= Task.human_attribute_name(:user_list)
|
||||||
%dd= task_assignments(@task)
|
%dd= task_assignments(@task)
|
||||||
%dt= t 'simple_form.labels.task.workgroup'
|
%dt= Task.human_attribute_name(:workgroup)
|
||||||
%dd
|
%dd
|
||||||
- if @task.workgroup
|
- if @task.workgroup
|
||||||
= link_to @task.workgroup.name, workgroup_tasks_path(workgroup_id: @task.workgroup_id)
|
= link_to @task.workgroup.name, workgroup_tasks_path(workgroup_id: @task.workgroup_id)
|
||||||
|
|
|
@ -62,6 +62,14 @@ en:
|
||||||
note: note
|
note: note
|
||||||
stock_article:
|
stock_article:
|
||||||
price: Price
|
price: Price
|
||||||
|
task:
|
||||||
|
done: Done?
|
||||||
|
due_date: Due date
|
||||||
|
duration: Duration
|
||||||
|
name: Name
|
||||||
|
required_users: People required
|
||||||
|
user_list: Responsible user
|
||||||
|
workgroup: Workgroup
|
||||||
user:
|
user:
|
||||||
first_name: First name
|
first_name: First name
|
||||||
password: Password
|
password: Password
|
||||||
|
@ -1663,14 +1671,6 @@ en:
|
||||||
phone: Phone
|
phone: Phone
|
||||||
phone2: Phone 2
|
phone2: Phone 2
|
||||||
url: Homepage
|
url: Homepage
|
||||||
task:
|
|
||||||
done: Done?
|
|
||||||
due_date: Due date
|
|
||||||
duration: Duration
|
|
||||||
name: Name
|
|
||||||
required_users: People required
|
|
||||||
user_list: Responsible user
|
|
||||||
workgroup: Workgroup
|
|
||||||
user:
|
user:
|
||||||
email: Email
|
email: Email
|
||||||
last_name: Last name
|
last_name: Last name
|
||||||
|
@ -1869,9 +1869,9 @@ en:
|
||||||
notice: The state of the task has been updated
|
notice: The state of the task has been updated
|
||||||
show:
|
show:
|
||||||
accept_task: Accept task
|
accept_task: Accept task
|
||||||
|
confirm_delete_single: Are you sure you want to delete the task?
|
||||||
confirm_delete_group: Really delete this and all subsequent tasks?
|
confirm_delete_group: Really delete this and all subsequent tasks?
|
||||||
delete_group: Delete task and subsequent
|
delete_group: Delete task and subsequent
|
||||||
due_date: Due date
|
|
||||||
hours: ! '%{count}h'
|
hours: ! '%{count}h'
|
||||||
mark_done: Mark task as done
|
mark_done: Mark task as done
|
||||||
reject_task: Reject task
|
reject_task: Reject task
|
||||||
|
|
Loading…
Reference in a new issue