Description:
add i18n for contest start confirmation page
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r303:86a1405eb6ed - - 3 files changed: 21 inserted, 3 deleted
@@ -1,12 +1,16 | |||||
|
1 | = user_title_bar(@user) |
|
1 | = user_title_bar(@user) |
|
2 |
|
2 | ||
|
|
3 | + .announcementbox | ||
|
|
4 | + %span{:class => 'title'} | ||
|
|
5 | + =t 'main.confirm_contest_start.box_title' | ||
|
|
6 | + .announcement | ||
|
3 | %center |
|
7 | %center |
|
4 | - You will participate in contest: |
|
8 | + =t 'main.confirm_contest_start.contest_list' |
|
5 | - @contests.each do |contest| |
|
9 | - @contests.each do |contest| |
|
6 | = contest.title |
|
10 | = contest.title |
|
7 | %br |
|
11 | %br |
|
8 |
|
12 | ||
|
9 | - The timer will start after you click the start button. |
|
13 | + =t 'main.confirm_contest_start.timer_starts_after_click' |
|
10 |
|
14 | ||
|
11 | - form_tag :action => 'confirm_contest_start', :method => 'post' do |
|
15 | - form_tag :action => 'confirm_contest_start', :method => 'post' do |
|
12 | - = submit_tag 'Start!', :confirm => 'Are you sure?' |
|
16 | + = submit_tag t('main.confirm_contest_start.start_button'), :confirm => t('main.confirm_contest_start.start_button_confirm') |
@@ -40,24 +40,31 | |||||
|
40 | main: |
|
40 | main: |
|
41 | start_soon: "The contest at your site will start soon. Please wait." |
|
41 | start_soon: "The contest at your site will start soon. Please wait." |
|
42 | specified_in_header: "Specified in header" |
|
42 | specified_in_header: "Specified in header" |
|
43 |
|
43 | ||
|
44 | problem_desc: "desc" |
|
44 | problem_desc: "desc" |
|
45 | submitted_at: "Submitted at" |
|
45 | submitted_at: "Submitted at" |
|
46 | graded_at: "Graded at" |
|
46 | graded_at: "Graded at" |
|
47 | score: "score: " |
|
47 | score: "score: " |
|
48 | cmp_msg: "compiler msg" |
|
48 | cmp_msg: "compiler msg" |
|
49 | src_link: "src" |
|
49 | src_link: "src" |
|
50 | submissions_link: "submissions" |
|
50 | submissions_link: "submissions" |
|
51 |
|
51 | ||
|
|
52 | + confirm_contest_start: | ||
|
|
53 | + box_title: "Contest confirmation" | ||
|
|
54 | + contest_list: "You will participate in contest:" | ||
|
|
55 | + timer_starts_after_click: "The timer will start after you click the start button." | ||
|
|
56 | + start_button: "Start!" | ||
|
|
57 | + start_button_confirm: "Are you sure?" | ||
|
|
58 | + | ||
|
52 | test: |
|
59 | test: |
|
53 | title: "Test Interface" |
|
60 | title: "Test Interface" |
|
54 | intro: "You can test your submission with your own test data on the grading environment using this test interface." |
|
61 | intro: "You can test your submission with your own test data on the grading environment using this test interface." |
|
55 | disabled_at_end_announcement: "<b>Note:</b> Test interface will be disabled in the last 30 minutes of the contest time on your site." |
|
62 | disabled_at_end_announcement: "<b>Note:</b> Test interface will be disabled in the last 30 minutes of the contest time on your site." |
|
56 |
|
63 | ||
|
57 | registration: |
|
64 | registration: |
|
58 | title: "New user registration" |
|
65 | title: "New user registration" |
|
59 |
|
66 | ||
|
60 | description: "Please enter your information below. Please make sure your e-mail is correct, because you will have to confirm the registration through an e-mail we send to that e-mail address." |
|
67 | description: "Please enter your information below. Please make sure your e-mail is correct, because you will have to confirm the registration through an e-mail we send to that e-mail address." |
|
61 |
|
68 | ||
|
62 | successful_title: "Registration successful" |
|
69 | successful_title: "Registration successful" |
|
63 |
|
70 |
@@ -40,24 +40,31 | |||||
|
40 | main: |
|
40 | main: |
|
41 | start_soon: "การแข่งขันกำลังจะเริ่ม กรุณารอก่อน" |
|
41 | start_soon: "การแข่งขันกำลังจะเริ่ม กรุณารอก่อน" |
|
42 | specified_in_header: "ระบุที่หัวโปรแกรมแล้ว" |
|
42 | specified_in_header: "ระบุที่หัวโปรแกรมแล้ว" |
|
43 |
|
43 | ||
|
44 | problem_desc: "อ่าน" |
|
44 | problem_desc: "อ่าน" |
|
45 | submitted_at: "ส่งเมื่อเวลา" |
|
45 | submitted_at: "ส่งเมื่อเวลา" |
|
46 | graded_at: "ตรวจเมื่อเวลา" |
|
46 | graded_at: "ตรวจเมื่อเวลา" |
|
47 | score: "คะแนน: " |
|
47 | score: "คะแนน: " |
|
48 | cmp_msg: "ผลคอมไพล์" |
|
48 | cmp_msg: "ผลคอมไพล์" |
|
49 | src_link: "ต้นฉบับ" |
|
49 | src_link: "ต้นฉบับ" |
|
50 | submissions_link: "การส่งครั้งอื่น ๆ" |
|
50 | submissions_link: "การส่งครั้งอื่น ๆ" |
|
51 |
|
51 | ||
|
|
52 | + confirm_contest_start: | ||
|
|
53 | + box_title: "ยืนยันการเริ่มแข่งขัน" | ||
|
|
54 | + contest_list: "การแข่งขันที่คุณจะเข้าร่วมคือ " | ||
|
|
55 | + timer_starts_after_click: "การจับเวลาจะเริ่มขึ้นเมื่อคุณกดปุ่มด้านล่าง" | ||
|
|
56 | + start_button: "เริ่มแข่ง!" | ||
|
|
57 | + start_button_confirm: "แน่ใจที่จะเริ่มแข่งหรือไม่?" | ||
|
|
58 | + | ||
|
52 | test: |
|
59 | test: |
|
53 | title: "ทดสอบโปรแกรมบนสภาพแวดล้อมของเครื่องตรวจ" |
|
60 | title: "ทดสอบโปรแกรมบนสภาพแวดล้อมของเครื่องตรวจ" |
|
54 | intro: "คุณสามารถทดลองการทำงานของโปรแกรมที่เขียนกับข้อมูลชุดทดสอบของคุณเองในสภาพแวดล้อมจริงของการตรวจโปรแกรมได้ โดยเลือกโปรแกรมส่งแล้วที่ด้านล่างพร้อมทั้งส่งแฟ้มข้อมูลชุดทดสอบที่ต้องการให้ทำงานด้วย" |
|
61 | intro: "คุณสามารถทดลองการทำงานของโปรแกรมที่เขียนกับข้อมูลชุดทดสอบของคุณเองในสภาพแวดล้อมจริงของการตรวจโปรแกรมได้ โดยเลือกโปรแกรมส่งแล้วที่ด้านล่างพร้อมทั้งส่งแฟ้มข้อมูลชุดทดสอบที่ต้องการให้ทำงานด้วย" |
|
55 | disabled_at_end_announcement: "<b>หมายเหตุ:</b> ระบบทดสอบโปรแกรมจะหยุดทำงานในช่วงเวลา 30 นาทีสุดท้ายของการแข่งขัน" |
|
62 | disabled_at_end_announcement: "<b>หมายเหตุ:</b> ระบบทดสอบโปรแกรมจะหยุดทำงานในช่วงเวลา 30 นาทีสุดท้ายของการแข่งขัน" |
|
56 |
|
63 | ||
|
57 | registration: |
|
64 | registration: |
|
58 | title: "ลงทะเบียนผู้ใช้ใหม่" |
|
65 | title: "ลงทะเบียนผู้ใช้ใหม่" |
|
59 | description: "ในการลงทะเบียน ให้ผู้สนใจเข้าร่วมการแข่งขันกรอกข้อมูลด้านล่าง จากนั้นระบบจะส่ง e-mail ไปยัง e-mail ที่ระบุเพื่อให้ยืนยันตัวตนและเปิดใช้บัญชีผู้ใช้<br/>ในกรณีที่ผู้เข้าแข่งขันเป็นนักเรียน รบกวนช่วยให้ข้อมูลเกี่ยวกับโรงเรียนและจังหวัดด้วย" |
|
66 | description: "ในการลงทะเบียน ให้ผู้สนใจเข้าร่วมการแข่งขันกรอกข้อมูลด้านล่าง จากนั้นระบบจะส่ง e-mail ไปยัง e-mail ที่ระบุเพื่อให้ยืนยันตัวตนและเปิดใช้บัญชีผู้ใช้<br/>ในกรณีที่ผู้เข้าแข่งขันเป็นนักเรียน รบกวนช่วยให้ข้อมูลเกี่ยวกับโรงเรียนและจังหวัดด้วย" |
|
60 |
|
67 | ||
|
61 | successful_title: "การลงทะเบียนเสร็จเรียบร้อย" |
|
68 | successful_title: "การลงทะเบียนเสร็จเรียบร้อย" |
|
62 |
|
69 | ||
|
63 | login_guide: "ใช้ได้เฉพาะ a-z, A-Z, 0-9 และ _ ความยาวไม่เกิน 20 ตัวอักษร" |
|
70 | login_guide: "ใช้ได้เฉพาะ a-z, A-Z, 0-9 และ _ ความยาวไม่เกิน 20 ตัวอักษร" |
You need to be logged in to leave comments.
Login now