主界面国际化

This commit is contained in:
kaizheng 2013-08-11 17:22:04 +08:00
parent 2ff09800eb
commit ba99895b2b
4 changed files with 31 additions and 17 deletions

View File

@ -193,7 +193,7 @@
<div> <div>
<table> <table>
<tr><td class="font_welcome_Cdescription">欢迎 <strong class="font_small_watch"><%=User.current.name%></strong> 加入trustie!</td></tr> <tr><td class="font_welcome_Cdescription"><%= l(:label_welcome) %> <strong class="font_small_watch"><%=User.current.name%></strong> <%= l(:label_join) %></td></tr>
<tr><td align="center"><span><%= image_tag(url_to_avatar(User.current), :class => 'avatar') %></span></td></tr> <tr><td align="center"><span><%= image_tag(url_to_avatar(User.current), :class => 'avatar') %></span></td></tr>
<tr><td><%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%= User.watched_by(User.current).count %></strong>) <tr><td><%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%= User.watched_by(User.current).count %></strong>)
<%= render :partial => "watchers/fans_num",:locals => {:fans_num => get_fans_num(User.current) }%></td></tr> <%= render :partial => "watchers/fans_num",:locals => {:fans_num => get_fans_num(User.current) }%></td></tr>
@ -238,11 +238,11 @@
<td><p class="font_welcome"><%= l(:label_create_course) %></p></td> <td><p class="font_welcome"><%= l(:label_create_course) %></p></td>
</tr> --> </tr> -->
<tr align="center" class="font_lighter2" > <tr align="center" class="font_lighter2" >
<td>创建新项目,让我们开启一次神奇的开源之旅!</td> <td><%= l(:label_create_new_projects_description) %></td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>为你所想,发布需求,体验答案找上门的兴奋感觉!</td> <td><%= l(:label_call_for_bids_description) %></td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>课程小社区,创建新课程,让我们共同分享多到想不到的公共资源!</td> <td><%= l(:label_create_course_description) %></td>
</tr> </tr>
</table> </table>
</div> </div>
@ -262,11 +262,11 @@
<td><%= image_tag("/images/welcome/boards.png", weight:"30px", height: "26px") %><span style="vertical-align: top"><%= l(:label_milestone) %></span></td> <td><%= image_tag("/images/welcome/boards.png", weight:"30px", height: "26px") %><span style="vertical-align: top"><%= l(:label_milestone) %></span></td>
</tr> </tr>
<tr align="center" class="font_lighter2"> <tr align="center" class="font_lighter2">
<td>七嘴八舌,汇聚众人智慧,为您排忧解难!</td> <td><%= l(:label_board_description) %></td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>实时了解项目的最新动态,掌握最新项目咨询!</td> <td><%= l(:label_news_description) %></td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>在这里您可以可以看见任何一个版本的工程!</td> <td><%= l(:label_milestone_description) %></td>
</tr> </tr>
</table> </table>
</div></div> </div></div>

View File

@ -489,7 +489,7 @@ en-GB:
label_information: Information label_information: Information
label_information_plural: Information label_information_plural: Information
label_please_login: Please log in label_please_login: Please log in
label_register: Register label_register: Sign up
label_login_with_open_id_option: or login with OpenID label_login_with_open_id_option: or login with OpenID
label_password_lost: Lost password label_password_lost: Lost password
label_home: Home label_home: Home
@ -498,7 +498,7 @@ en-GB:
label_my_projects: My projects label_my_projects: My projects
label_my_page_block: My page block label_my_page_block: My page block
label_administration: Administration label_administration: Administration
label_login: Sign in label_login: Login
label_logout: Sign out label_logout: Sign out
label_help: Help label_help: Help
label_reported_issues: Reported issues label_reported_issues: Reported issues

View File

@ -531,7 +531,7 @@ en:
label_information: Information label_information: Information
label_information_plural: Information label_information_plural: Information
label_please_login: Please log in label_please_login: Please log in
label_register: Register label_register: Sign up
label_login_with_open_id_option: or login with OpenID label_login_with_open_id_option: or login with OpenID
label_password_lost: Lost password label_password_lost: Lost password
label_home: Home label_home: Home
@ -540,7 +540,7 @@ en:
label_my_projects: My projects label_my_projects: My projects
label_my_page_block: My page block label_my_page_block: My page block
label_administration: Administration label_administration: Administration
label_login: Sign in label_login: Login
label_logout: Sign out label_logout: Sign out
label_help: Help label_help: Help
label_reported_issues: Reported issues label_reported_issues: Reported issues
@ -766,7 +766,8 @@ en:
label_disabled: disabled label_disabled: disabled
label_show_completed_versions: Show completed versions label_show_completed_versions: Show completed versions
label_me: me label_me: me
label_board: Forum label_board: Forums
label_board_description: Rushesbrought together all wisdomsolve problems for you
label_board_new: New forum label_board_new: New forum
label_board_plural: Forums label_board_plural: Forums
label_board_locked: Locked label_board_locked: Locked
@ -1196,11 +1197,13 @@ en:
label_cancel_praise: cancel praise label_cancel_praise: cancel praise
label_bid_reason: Please show your reason label_bid_reason: Please show your reason
default_tracker_task: Task default_tracker_task: Task
label_create_new_projects: Create projects label_create_new_projects_description: Create a new projectlet us open a magical journey of collaborative creation and development
label_call_for_bids: Call for bids label_call_for_bids_description: As you might expectshow your requirementexperience the feeling of excitement that find the answer
label_create_course: Create courses label_create_course_description: Curriculum small communitiescreate new courseslet us share more to think of public resources
label_news: News label_news: News
label_news_description: Real getting the project's latest developmentsobtain the latest project information
label_milestone: Milestone label_milestone: Milestone
label_milestone_description: Here you can see any version of the project
label_features: Features label_features: Features
label_has_praisers: praisers(%{count}) label_has_praisers: praisers(%{count})
label_has_watchers: watchers(%{count}) label_has_watchers: watchers(%{count})
@ -1216,4 +1219,6 @@ en:
label_about_requirement: about requirement label_about_requirement: about requirement
label_about_issue: about issue label_about_issue: about issue
label_quote_my_words: quoted my words label_quote_my_words: quoted my words
label_have_respond: had a respond label_have_respond: had a respond
label_welcome: Welcome
label_join: join Trustie

View File

@ -1229,4 +1229,13 @@ zh:
label_in_issues: 在问题: label_in_issues: 在问题:
label_in_bids: 在需求: label_in_bids: 在需求:
label_in_users: 在用户: label_in_users: 在用户:
label_have_respond: 进行了反馈 label_have_respond: 进行了反馈
label_create_new_projects_description: 创建项目,让我们开启一次神奇的协同创作和开发之旅!
label_call_for_bids_description: 为你所想,发布需求,体验答案找上门的兴奋感觉!
label_news_description: 实时了解项目的最新动态,掌握最新项目咨询!
label_milestone_description: 在这里您可以看见任何一个版本的工程!
label_have_respond: 进行了反馈
label_welcome: 欢迎
label_join: 加入Trustie
label_board_description: 七嘴八舌,汇聚众人智慧,为您排忧解难!
label_create_course_description: 课程小社区,创建新课程,让我们共同分享多到想不到的公共资源!