#37: update text messages

This commit is contained in:
Vokhmin Alexey V 2013-03-21 00:59:25 +04:00
parent 3ea7cfbe32
commit 3037520ab5
6 changed files with 18 additions and 10 deletions

View File

@ -6,9 +6,9 @@
.image
=image_tag(avatar_url(@issue.assignee, :micro), :alt => 'avatar')
%span.name= link_to(@issue.assign_uname, user_path(@issue.assignee))
%span= 'is assigned'
%span= t('layout.issues.is_assigned')
- else
%span= "No one is assigned"
%span= t('layout.issues.no_one_is_assigned')
%span.icon-share
.both
.leftlist= t('layout.issues.labels') + ':'

View File

@ -16,9 +16,9 @@
.image
=image_tag(avatar_url(@issue.assignee, :micro), :alt => 'avatar')
%span.name= link_to(@issue.assign_uname, user_path(@issue.assignee))
%span= 'is assigned'
%span= t('layout.issues.is_assigned')
- else
%span= "No one is assigned"
%span= t('layout.issues.no_one_is_assigned')
-if can?(:update, @issue) || @issue.new_record?
%span.icon-share
=render 'projects/issues/assigned_popup'

View File

@ -1,8 +1,8 @@
.people.clear.selected
%span.icon-remove-circle
= 'Clear assignee'
= t('layout.issues.clear_assignee')
.container
%span= "No one is assigned"
%span= t('layout.issues.no_one_is_assigned')
= hidden_field_tag "user-nil", nil, :name => "issue[assignee_id]"
- users = (@users || [])
@ -14,8 +14,8 @@
.image
=image_tag(avatar_url(user, :micro), :alt => 'avatar')
%span.name= link_to(user.uname, user_path(user))
%span= 'is assigned'
%span= t('layout.issues.is_assigned')
= hidden_field_tag "user-#{index}", user.id, :name => "issue[assignee_id]"
.both
- if users.empty?
.nothing= 'Nothing to show'
.nothing= t('layout.issues.nothing_to_show')

View File

@ -40,9 +40,9 @@
.image
=image_tag(avatar_url(@issue.assignee, :micro), :alt => 'avatar')
%span.name= link_to(@issue.assign_uname, user_path(@issue.assignee))
%span= 'is assigned'
%span= t('layout.issues.is_assigned')
- else
%span= "No one is assigned"
%span= t('layout.issues.no_one_is_assigned')
%span.icon-share
.both
.leftlist.big-list

View File

@ -11,6 +11,10 @@ en:
layout:
issues:
is_assigned: is assigned
clear_assignee: Clear assignee
nothing_to_show: Nothing to show
no_one_is_assigned: No one is assigned
list: List
all: All issues
to_me: Assigned to me

View File

@ -11,6 +11,10 @@ ru:
layout:
issues:
is_assigned: назначен
clear_assignee: Убрать назначение
nothing_to_show: Никто не найден
no_one_is_assigned: Никто не назначен
list: Список
all: Все задачи
to_me: Назначенные мне