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') |
@@ -4,96 +4,103 | |||||
|
4 | en: |
|
4 | en: |
|
5 | cancel: 'Cancel' |
|
5 | cancel: 'Cancel' |
|
6 |
|
6 | ||
|
7 | login_label: 'Login' |
|
7 | login_label: 'Login' |
|
8 | full_name_label: 'Full name' |
|
8 | full_name_label: 'Full name' |
|
9 | email_label: 'E-mail' |
|
9 | email_label: 'E-mail' |
|
10 | password_label: 'Password' |
|
10 | password_label: 'Password' |
|
11 |
|
11 | ||
|
12 | go_ahead_to: "Go ahead to" |
|
12 | go_ahead_to: "Go ahead to" |
|
13 | go_back_to: "Go back to" |
|
13 | go_back_to: "Go back to" |
|
14 | login_page: "login page" |
|
14 | login_page: "login page" |
|
15 | home_page: "home page" |
|
15 | home_page: "home page" |
|
16 |
|
16 | ||
|
17 | menu: |
|
17 | menu: |
|
18 | main: 'Main' |
|
18 | main: 'Main' |
|
19 | messages: 'Messages' |
|
19 | messages: 'Messages' |
|
20 | tasks: 'Tasks' |
|
20 | tasks: 'Tasks' |
|
21 | submissions: 'Submissions' |
|
21 | submissions: 'Submissions' |
|
22 | test: 'Test Interface' |
|
22 | test: 'Test Interface' |
|
23 | help: 'Help' |
|
23 | help: 'Help' |
|
24 | settings: 'Settings' |
|
24 | settings: 'Settings' |
|
25 | log_out: 'Log out' |
|
25 | log_out: 'Log out' |
|
26 |
|
26 | ||
|
27 | title_bar: |
|
27 | title_bar: |
|
28 | current_time: "Current time is" |
|
28 | current_time: "Current time is" |
|
29 | remaining_time: "Time left: " |
|
29 | remaining_time: "Time left: " |
|
30 | contest_not_started: "The contest has not started." |
|
30 | contest_not_started: "The contest has not started." |
|
31 |
|
31 | ||
|
32 | login: |
|
32 | login: |
|
33 | message: 'Please login to see the problem list' |
|
33 | message: 'Please login to see the problem list' |
|
34 | login_submit: 'Login' |
|
34 | login_submit: 'Login' |
|
35 | participation: 'Want to participate?' |
|
35 | participation: 'Want to participate?' |
|
36 | please: 'Please' |
|
36 | please: 'Please' |
|
37 | register: 'register' |
|
37 | register: 'register' |
|
38 | forget_password: 'Forget password?' |
|
38 | forget_password: 'Forget password?' |
|
39 |
|
39 | ||
|
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 | ||
|
64 | login_guide: "Only a-z, A-Z, 0-9 and _. Can be at most 20 characters long" |
|
71 | login_guide: "Only a-z, A-Z, 0-9 and _. Can be at most 20 characters long" |
|
65 | email_guide: "Please make sure that your e-mail is correct.<br/>You'll need to verify your account by email." |
|
72 | email_guide: "Please make sure that your e-mail is correct.<br/>You'll need to verify your account by email." |
|
66 | register: "Register" |
|
73 | register: "Register" |
|
67 |
|
74 | ||
|
68 | email_body: "Hello {{full_name}}, |
|
75 | email_body: "Hello {{full_name}}, |
|
69 |
|
76 | ||
|
70 | You have registered for {{contest_name}} |
|
77 | You have registered for {{contest_name}} |
|
71 |
|
78 | ||
|
72 | Your login is: {{login}} |
|
79 | Your login is: {{login}} |
|
73 |
|
80 | ||
|
74 | Your password is: {{password}} |
|
81 | Your password is: {{password}} |
|
75 |
|
82 | ||
|
76 | Please follow the link: |
|
83 | Please follow the link: |
|
77 |
|
84 | ||
|
78 | {{activation_url}} |
|
85 | {{activation_url}} |
|
79 |
|
86 | ||
|
80 | to activate your user account. |
|
87 | to activate your user account. |
|
81 |
|
88 | ||
|
82 | If you did not register, please ignore this e-mail |
|
89 | If you did not register, please ignore this e-mail |
|
83 | and report this event to {{admin_email}}. |
|
90 | and report this event to {{admin_email}}. |
|
84 |
|
91 | ||
|
85 | Thanks!" |
|
92 | Thanks!" |
|
86 |
|
93 | ||
|
87 | email_sent: "We have sent a confimation message to your e-mail. (Please also check the Junk mail box." |
|
94 | email_sent: "We have sent a confimation message to your e-mail. (Please also check the Junk mail box." |
|
88 | email_verify_at: "Please check at {{email}} and confirm." |
|
95 | email_verify_at: "Please check at {{email}} and confirm." |
|
89 |
|
96 | ||
|
90 | activation_sucessful_title: "User activated" |
|
97 | activation_sucessful_title: "User activated" |
|
91 | account_activated: "Your account has been activated." |
|
98 | account_activated: "Your account has been activated." |
|
92 |
|
99 | ||
|
93 | activation_failed_title: "Activation failed" |
|
100 | activation_failed_title: "Activation failed" |
|
94 |
|
101 | ||
|
95 | errors: |
|
102 | errors: |
|
96 | header: "Errors occured during registration" |
|
103 | header: "Errors occured during registration" |
|
97 | email: |
|
104 | email: |
|
98 | title: "Errors in sending registration confirmation" |
|
105 | title: "Errors in sending registration confirmation" |
|
99 | expl: "<h2>Your user account has been created, but the system cannot send you the confirmation e-mail.</h2> |
|
106 | expl: "<h2>Your user account has been created, but the system cannot send you the confirmation e-mail.</h2> |
@@ -4,96 +4,103 | |||||
|
4 | th: |
|
4 | th: |
|
5 | cancel: 'ยกเลิก' |
|
5 | cancel: 'ยกเลิก' |
|
6 |
|
6 | ||
|
7 | login_label: 'ชื่อเข้าใช้ระบบ (login)' |
|
7 | login_label: 'ชื่อเข้าใช้ระบบ (login)' |
|
8 | full_name_label: 'ชื่อเต็ม' |
|
8 | full_name_label: 'ชื่อเต็ม' |
|
9 | email_label: 'E-mail' |
|
9 | email_label: 'E-mail' |
|
10 | password_label: 'รหัสผ่าน' |
|
10 | password_label: 'รหัสผ่าน' |
|
11 |
|
11 | ||
|
12 | go_ahead_to: "ไปยัง" |
|
12 | go_ahead_to: "ไปยัง" |
|
13 | go_back_to: "กลับไปยัง" |
|
13 | go_back_to: "กลับไปยัง" |
|
14 | login_page: "หน้าเข้าใช้ระบบ" |
|
14 | login_page: "หน้าเข้าใช้ระบบ" |
|
15 | home_page: "หน้าแรก" |
|
15 | home_page: "หน้าแรก" |
|
16 |
|
16 | ||
|
17 | menu: |
|
17 | menu: |
|
18 | main: 'หน้าหลัก' |
|
18 | main: 'หน้าหลัก' |
|
19 | messages: 'ข้อความ' |
|
19 | messages: 'ข้อความ' |
|
20 | tasks: 'โจทย์' |
|
20 | tasks: 'โจทย์' |
|
21 | submissions: 'โปรแกรมที่ส่ง' |
|
21 | submissions: 'โปรแกรมที่ส่ง' |
|
22 | test: 'ทดสอบโปรแกรม' |
|
22 | test: 'ทดสอบโปรแกรม' |
|
23 | help: 'ความช่วยเหลือ' |
|
23 | help: 'ความช่วยเหลือ' |
|
24 | settings: 'เปลี่ยนรหัสผ่าน' |
|
24 | settings: 'เปลี่ยนรหัสผ่าน' |
|
25 | log_out: 'ออกจากระบบ' |
|
25 | log_out: 'ออกจากระบบ' |
|
26 |
|
26 | ||
|
27 | title_bar: |
|
27 | title_bar: |
|
28 | current_time: "เวลาปัจจุบันคือ" |
|
28 | current_time: "เวลาปัจจุบันคือ" |
|
29 | remaining_time: "เหลือเวลาอีก" |
|
29 | remaining_time: "เหลือเวลาอีก" |
|
30 | contest_not_started: "ยังไม่เริ่มแข่งขัน" |
|
30 | contest_not_started: "ยังไม่เริ่มแข่งขัน" |
|
31 |
|
31 | ||
|
32 | login: |
|
32 | login: |
|
33 | message: 'กรุณา login เพื่อเข้าสู่ระบบ' |
|
33 | message: 'กรุณา login เพื่อเข้าสู่ระบบ' |
|
34 | login_submit: 'เข้าใช้ระบบ' |
|
34 | login_submit: 'เข้าใช้ระบบ' |
|
35 | participation: 'ต้องการเข้าร่วม?' |
|
35 | participation: 'ต้องการเข้าร่วม?' |
|
36 | please: 'กรุณา' |
|
36 | please: 'กรุณา' |
|
37 | register: 'ลงทะเบียน' |
|
37 | register: 'ลงทะเบียน' |
|
38 | forget_password: 'ลืมรหัสผ่าน?' |
|
38 | forget_password: 'ลืมรหัสผ่าน?' |
|
39 |
|
39 | ||
|
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 ตัวอักษร" |
|
64 | email_guide: "กรุณาตรวจสอบ e-mail ที่ใส่ให้ถูกต้อง<br/>คุณจะต้องยืนยันการลงทะเบียนผ่านทางข้อมูลที่จะส่งให้ทาง e-mail" |
|
71 | email_guide: "กรุณาตรวจสอบ e-mail ที่ใส่ให้ถูกต้อง<br/>คุณจะต้องยืนยันการลงทะเบียนผ่านทางข้อมูลที่จะส่งให้ทาง e-mail" |
|
65 | register: "ลงทะเบียน" |
|
72 | register: "ลงทะเบียน" |
|
66 |
|
73 | ||
|
67 | email_body: "สวัสดีครับ {{full_name}}, |
|
74 | email_body: "สวัสดีครับ {{full_name}}, |
|
68 |
|
75 | ||
|
69 | คุณได้ลงทะเบียนเข้าร่วมการแข่งขัน {{contest_name}} |
|
76 | คุณได้ลงทะเบียนเข้าร่วมการแข่งขัน {{contest_name}} |
|
70 |
|
77 | ||
|
71 | บัญชีเข้าใช้ของคุณคือ: {{login}} |
|
78 | บัญชีเข้าใช้ของคุณคือ: {{login}} |
|
72 |
|
79 | ||
|
73 | รหัสผ่านคือ: {{password}} |
|
80 | รหัสผ่านคือ: {{password}} |
|
74 |
|
81 | ||
|
75 | กรุณาเข้าลิงก์ต่อไปนี้: |
|
82 | กรุณาเข้าลิงก์ต่อไปนี้: |
|
76 |
|
83 | ||
|
77 | {{activation_url}} |
|
84 | {{activation_url}} |
|
78 |
|
85 | ||
|
79 | เพื่อเปิดใช้งานบัญชีของคุณ |
|
86 | เพื่อเปิดใช้งานบัญชีของคุณ |
|
80 |
|
87 | ||
|
81 | ถ้าคุณไม่ใช่คนที่ลงทะเบียน กรุณาละทิ้ง e-mail ฉบับนี้ |
|
88 | ถ้าคุณไม่ใช่คนที่ลงทะเบียน กรุณาละทิ้ง e-mail ฉบับนี้ |
|
82 | และแจ้งความผิดพลาดนี้กับ {{admin_email}} ด้วย |
|
89 | และแจ้งความผิดพลาดนี้กับ {{admin_email}} ด้วย |
|
83 |
|
90 | ||
|
84 | ขอบคุณมาก!" |
|
91 | ขอบคุณมาก!" |
|
85 |
|
92 | ||
|
86 | email_sent: "เราได้ส่งข้อมูลสำหรับยืนยันไปให้คุณแล้ว (โปรดอย่าลืมตรวจดูในส่วน Junk mail ด้วย)" |
|
93 | email_sent: "เราได้ส่งข้อมูลสำหรับยืนยันไปให้คุณแล้ว (โปรดอย่าลืมตรวจดูในส่วน Junk mail ด้วย)" |
|
87 | email_verify_at: "กรุณาตรวจสอบที่ {{email}} พร้อมทั้งยืนยัน" |
|
94 | email_verify_at: "กรุณาตรวจสอบที่ {{email}} พร้อมทั้งยืนยัน" |
|
88 |
|
95 | ||
|
89 | activation_sucessful_title: "บัณชีผู้ใช้ได้รับการยืนยันแล้ว" |
|
96 | activation_sucessful_title: "บัณชีผู้ใช้ได้รับการยืนยันแล้ว" |
|
90 | account_activated: "บัญชีผู้ใช้ของคุณพร้อมใช้งานแล้ว" |
|
97 | account_activated: "บัญชีผู้ใช้ของคุณพร้อมใช้งานแล้ว" |
|
91 |
|
98 | ||
|
92 | activation_failed_title: "การยืนยันล้มเหลว" |
|
99 | activation_failed_title: "การยืนยันล้มเหลว" |
|
93 |
|
100 | ||
|
94 | errors: |
|
101 | errors: |
|
95 | header: 'การลงทะเบียนมีข้อผิดพลาด' |
|
102 | header: 'การลงทะเบียนมีข้อผิดพลาด' |
|
96 | email: |
|
103 | email: |
|
97 | title: "เกิดปัญหาระหว่างการส่ง e-mail เพื่อยืนยันการสมัคร" |
|
104 | title: "เกิดปัญหาระหว่างการส่ง e-mail เพื่อยืนยันการสมัคร" |
|
98 | expl: "<h2>บัญชีผู้ใช้ของคุณถูกสร้างขึ้นแล้ว แต่ระบบไม่สามารถส่ง e-mail เพื่อยืนยันการสมัครได้</h2> |
|
105 | expl: "<h2>บัญชีผู้ใช้ของคุณถูกสร้างขึ้นแล้ว แต่ระบบไม่สามารถส่ง e-mail เพื่อยืนยันการสมัครได้</h2> |
|
99 | อาจเกิดปัญหาในการตั้งค่าเริ่มต้นของระบบ กรุณาช่วยติดต่อผู้ดูแลระบบด้วยที่ {{email}}<br/>ขอขอบคุณจากทีมงาน" |
|
106 | อาจเกิดปัญหาในการตั้งค่าเริ่มต้นของระบบ กรุณาช่วยติดต่อผู้ดูแลระบบด้วยที่ {{email}}<br/>ขอขอบคุณจากทีมงาน" |
You need to be logged in to leave comments.
Login now