diff --git a/app/views/main/help.html.haml b/app/views/main/help.html.haml --- a/app/views/main/help.html.haml +++ b/app/views/main/help.html.haml @@ -2,55 +2,46 @@ .announcementbox %span{:class => 'title'} - How to submit + =t 'help.how_to_submit' .announcement %p - You must specify the language you are using - in your program header. You can optionally - specify the task you are submitting to. + =t 'help.must_specify_language' %p - The possible language options are - C, C++, and Pascal. - The follow are examples. + =t 'help.list_available_language' %table{:border => '1'} %tr - %th{:width => '100px'} C - %th{:width => '100px'} C++ - %th{:width => '100px'} Pascal + %th{:width => '150px'} C + %th{:width => '150px'} C++ + %th{:width => '150px'} Pascal %tr %td= "/*
LANG: C
*/
" %td= "/*
LANG: C++
*/
" %td= "{
LANG: Pascal
}
" %p - The server will not accept your submission, - if you do not specify the language. + =t 'help.accept_only_language_specified' %p - Optionally, you can also specify - the task with TASK: taskname. - On the first page, the taskname for each task is - shown in parentheses. + =t 'help.specifying_task' %p - For example, suppose you are using C++ - to write task mobiles, you put + =t 'help.example_cpp' %table{:border => '1'} %tr - %td{:width => '100px'} + %td{:width => '300px'} %tt /*
LANG: C++
TASK: mobiles
*/
%p - on top of your source code. - If you are using Pascal to write the same task, - you'll use + =t 'help.example_pas' %table{:border => '1'} %tr - %td{:width => '100px'} + %td{:width => '300px'} %tt {
LANG: Pascal
TASK: mobiles
}
+ %p + = (t('help.ask_questions_at_messages',:message_link_name => (t 'menu.messages'),:url => url_for(:controller => 'messages', :action => 'list')))