Project

General

Profile

Defect #3807 » issues_helper.rb-fix.patch

issues_helper.rb-fix.patch - Azamat Hackimov, 2009-09-02 19:45

View differences:

app/helpers/issues_helper.rb (working copy)
case detail.property
when 'attr', 'cf'
if !detail.old_value.blank?
label + " " + l(:text_journal_changed, :old => old_value, :new => value)
l(:text_journal_changed, :label => label, :old => old_value, :new => value)
else
label + " " + l(:text_journal_set_to, value)
l(:text_journal_set_to, :label => label, :value => value)
end
when 'attachment'
"#{label} #{value} #{l(:label_added)}"
......
else
case detail.property
when 'attr', 'cf'
label + " " + l(:text_journal_deleted) + " (#{old_value})"
l(:text_journal_deleted, :label => label, :old => old_value)
when 'attachment'
"#{label} #{old_value} #{l(:label_deleted)}"
end
config/locales/ru.yml (working copy)
text_issues_destroy_confirmation: 'Вы уверены, что хотите удалить выбранные задачи?'
text_issues_ref_in_commit_messages: Сопоставление и изменение статуса задач исходя из текста сообщений
text_issue_updated: "Задача {{id}} была обновлена ({{author}})."
text_journal_changed: "параметр изменился с {{old}} на {{new}}"
text_journal_deleted: удалено
text_journal_set_to: "параметр изменился на {{value}}"
text_journal_changed: "Параметр {{label}} изменился с {{old}} на {{new}}"
text_journal_deleted: "Значение {{old}} параметра {{label}} удалено"
text_journal_set_to: "Параметр {{label}} изменился на {{value}}"
text_length_between: "Длина между {{min}} и {{max}} символов."
text_load_default_configuration: Загрузить конфигурацию по умолчанию
text_min_max_length_info: 0 означает отсутствие запретов
config/locales/en.yml (working copy)
text_subprojects_destroy_warning: "Its subproject(s): {{value}} will be also deleted."
text_workflow_edit: Select a role and a tracker to edit the workflow
text_are_you_sure: Are you sure ?
text_journal_changed: "changed from {{old}} to {{new}}"
text_journal_set_to: "set to {{value}}"
text_journal_deleted: deleted
text_journal_changed: "{{label}} changed from {{old}} to {{new}}"
text_journal_set_to: "{{label}} set to {{value}}"
text_journal_deleted: "{{label}} deleted"
text_tip_task_begin_day: task beginning this day
text_tip_task_end_day: task ending this day
text_tip_task_begin_end_day: task beginning and ending this day
    (1-1/1)