项目应标小模块国际化,修改了留言Bug

This commit is contained in:
kaizheng 2013-08-11 08:51:20 +08:00
parent 622008366d
commit d3ddb833b5
5 changed files with 13 additions and 7 deletions

View File

@ -46,7 +46,7 @@
<td colspan="2" width="580px" ><p class="font_description"><%= textilizable journal.notes%></p></td>
</tr>
<tr>
<td align="left"><a class="font_lighter"> <%= journal.created_at %></a></td>
<td align="left"><a class="font_lighter"> <%= journal.created_on %></a></td>
<td width="200" align="right" class="a"><%= link_to(image_tag('comment.png'), {:controller => 'bids', :action => 'new', :id => bid, :journal_id => journal}, :remote => true,
:method => 'post', :title => l(:button_quote))%><%= link_to(image_tag('delete.png'), {:controller => 'bids', :action => 'destroy', :object_id => journal, :id => bid},
:remote => true, :method => 'delete', :class => "delete", :title => l(:button_delete)) if remove_allowed || journal.user_id == User.current.id %></td>

View File

@ -23,7 +23,7 @@
<td width="60%">
<table width="100%">
<tr>
<td colspan="2" valign="top"><strong><%= link_to(b_project.project.name, project_path(b_project.project)) %></strong><a class="font_lighter">参与了应标</a></td>
<td colspan="2" valign="top"><strong><%= link_to(b_project.project.name, project_path(b_project.project)) %></strong><a class="font_lighter"><%= l(:label_join_bidding)%></a></td>
</tr>
<tr></tr>
<tr>
@ -37,10 +37,10 @@
<div class="bid-user-message" style="border-left: 1px solid rgb(225, 225, 225); margin-left: 20px; padding-left: 20px;">
<table width="100%">
<tr>
<td>应标人:<%= link_to(b_project.user.name, user_path(b_project.user)) %></td>
<td><%= l(:label_bidding_user) %><%= link_to(b_project.user.name, user_path(b_project.user)) %></td>
</tr>
<tr>
<td>应标宣言:<%= b_project.description %></td>
<td><%= l(:label_bidding_reason) %><%= b_project.description %></td>
</tr>
</table>
</div></td>

View File

@ -20,7 +20,7 @@
<td colspan="2" width="580px" ><p class="font_description"><%= textilizable journal.notes%></p></td>
</tr>
<tr>
<td align="left"><a class="font_lighter"> <%= format_time journal.created_at %></a></td>
<td align="left"><a class="font_lighter"> <%= format_time journal.created_on %></a></td>
<td width="200" align="right" class="a"><%= link_to(image_tag('comment.png'), {:controller => 'words', :action => 'new', :id => user, :journal_id => journal}, :remote => true,
:method => 'post', :title => l(:button_quote))%><%= link_to(image_tag('delete.png'), {:controller => 'words', :action => 'destroy', :object_id => journal, :user_id => user},
:remote => true, :method => 'delete', :class => "delete", :title => l(:button_delete)) if remove_allowed || journal.jour_id == User.current.id %></td>

View File

@ -1207,4 +1207,7 @@ en:
label_has_fans: fans(%{count})
label_me: me
label_my: my
label_i: I
label_i: I
label_join_bidding: joined the bidding
label_bidding_user: Bidding user
label_bidding_reason: Bidding reason

View File

@ -1216,4 +1216,7 @@ zh:
label_has_fans: 粉丝(%{count})
label_me:
label_my:
label_i:
label_i:
label_join_bidding: 参与了应标
label_bidding_user: 应标人:
label_bidding_reason: 应标宣言: