issues_helper.rb-fix.patch

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

Download (3.15 KB)

View differences:

app/helpers/issues_helper.rb (working copy)
131 131
      case detail.property
132 132
      when 'attr', 'cf'
133 133
        if !detail.old_value.blank?
134
          label + " " + l(:text_journal_changed, :old => old_value, :new => value)
134
          l(:text_journal_changed, :label => label, :old => old_value, :new => value)
135 135
        else
136
          label + " " + l(:text_journal_set_to, value)
136
          l(:text_journal_set_to, :label => label, :value => value)
137 137
        end
138 138
      when 'attachment'
139 139
        "#{label} #{value} #{l(:label_added)}"
......
141 141
    else
142 142
      case detail.property
143 143
      when 'attr', 'cf'
144
        label + " " + l(:text_journal_deleted) + " (#{old_value})"
144
        l(:text_journal_deleted, :label => label, :old => old_value)
145 145
      when 'attachment'
146 146
        "#{label} #{old_value} #{l(:label_deleted)}"
147 147
      end
config/locales/ru.yml (working copy)
885 885
  text_issues_destroy_confirmation: 'Вы уверены, что хотите удалить выбранные задачи?'
886 886
  text_issues_ref_in_commit_messages: Сопоставление и изменение статуса задач исходя из текста сообщений
887 887
  text_issue_updated: "Задача {{id}} была обновлена ({{author}})."
888
  text_journal_changed: "параметр изменился с {{old}} на {{new}}"
889
  text_journal_deleted: удалено
890
  text_journal_set_to: "параметр изменился на {{value}}"
888
  text_journal_changed: "Параметр {{label}} изменился с {{old}} на {{new}}"
889
  text_journal_deleted: "Значение {{old}} параметра {{label}} удалено"
890
  text_journal_set_to: "Параметр {{label}} изменился на {{value}}"
891 891
  text_length_between: "Длина между {{min}} и {{max}} символов."
892 892
  text_load_default_configuration: Загрузить конфигурацию по умолчанию
893 893
  text_min_max_length_info: 0 означает отсутствие запретов
config/locales/en.yml (working copy)
735 735
  text_subprojects_destroy_warning: "Its subproject(s): {{value}} will be also deleted."
736 736
  text_workflow_edit: Select a role and a tracker to edit the workflow
737 737
  text_are_you_sure: Are you sure ?
738
  text_journal_changed: "changed from {{old}} to {{new}}"
739
  text_journal_set_to: "set to {{value}}"
740
  text_journal_deleted: deleted
738
  text_journal_changed: "{{label}} changed from {{old}} to {{new}}"
739
  text_journal_set_to: "{{label}} set to {{value}}"
740
  text_journal_deleted: "{{label}} deleted"
741 741
  text_tip_task_begin_day: task beginning this day
742 742
  text_tip_task_end_day: task ending this day
743 743
  text_tip_task_begin_end_day: task beginning and ending this day