From 76a05733419400732b15563b7b8106fde4ae60fd Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 19 Jul 2010 17:45:44 -0700 Subject: [PATCH] [#4281] Change the title for editing a contract. --- app/views/contracts/edit.html.erb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/contracts/edit.html.erb b/app/views/contracts/edit.html.erb index 4e33087..b487618 100644 --- a/app/views/contracts/edit.html.erb +++ b/app/views/contracts/edit.html.erb @@ -4,7 +4,7 @@ <% end %> -<%= content_tag(:h2, h(resource.name)) %> +<%= content_tag(:h2, h(l(:text_edit_contract_name, :name => resource.name))) %> <% semantic_form_for resource, :url => contract_path(@project, resource), :html => {:class => 'tabular'} do |form| %> <%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, resource)} %> diff --git a/config/locales/en.yml b/config/locales/en.yml index bca9840..51aa9bd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -7,6 +7,7 @@ en: field_account_executive_short: "Acct. Mgr." field_end_date: "End Date" text_new_contract: "New Contract" + text_edit_contract_name: "Edit {{name}}" field_billable_rate: "Billable Rate" field_billable_rate_hint: "$" field_discount: "Discount"