Skip to content

Commit 6bd8052

Browse files
committed
new translations hourofcode.com
1 parent 45b6d1b commit 6bd8052

File tree

1,139 files changed

+57787
-15564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,139 files changed

+57787
-15564
lines changed

i18n/hourofcode.com/sync.rb

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
#! /usr/bin/env ruby
22

3-
`crowdin-cli upload sources`
3+
#`crowdin-cli upload sources`
44
`crowdin-cli download`
55

6-
# remove all metadata
7-
Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/*.md").each do |file|
8-
File.write(file, File.read(file).gsub(/^.*\*\s\*\s\*/m, ""))
9-
end
6+
# # remove all metadata
7+
# Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/*.md").each do |file|
8+
# File.write(file, File.read(file).gsub(/^.*\*\s\*\s\*/m, ""))
9+
# end
1010

11-
# remove broken social tags from thanks.md
12-
Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/thanks.md").each do |file|
13-
File.write(file, File.read(file).gsub(/<% facebook.+?\%>/m, ""))
14-
end
11+
# # remove broken social tags from thanks.md
12+
# Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/thanks.md").each do |file|
13+
# File.write(file, File.read(file).gsub(/<% facebook.+?\%>/m, ""))
14+
# end
1515

16-
# add metadata to resources.md
17-
Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/resources.md").each do |file|
18-
File.write(file, "---\nlayout: wide\nnav: resources_nav\n---" + File.read(file))
19-
end
16+
# # add metadata to resources.md
17+
# Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/resources.md").each do |file|
18+
# File.write(file, "---\nlayout: wide\nnav: resources_nav\n---" + File.read(file))
19+
# end
2020

21-
# add social tags to thanks.md
22-
Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/thanks.md").each do |file|
23-
File.write(file, '<% facebook = {:u=>"http://#{request.host}/us"}
24-
twitter = {:url=>"http://hourofcode.com/", :related=>"codeorg", :hashtags=>"", :text=>hoc_s(:twitter_default_text)}
25-
twitter[:hashtags] = "HourOfCode" unless hoc_s(:twitter_default_text).include? "#HourOfCode" %>' + File.read(file))
26-
end
21+
# # add social tags to thanks.md
22+
# Dir.glob("../../pegasus/sites.v3/hourofcode.com/public/us/**/thanks.md").each do |file|
23+
# File.write(file, '<% facebook = {:u=>"http://#{request.host}/us"}
24+
# twitter = {:url=>"http://hourofcode.com/", :related=>"codeorg", :hashtags=>"", :text=>hoc_s(:twitter_default_text)}
25+
# twitter[:hashtags] = "HourOfCode" unless hoc_s(:twitter_default_text).include? "#HourOfCode" %>' + File.read(file))
26+
# end
2727

2828
#TODO: rename pt-BR and pt-PT to pt and po

i18n/locales/ar-SA/hourofcode/ar.yml

Lines changed: 159 additions & 146 deletions
Large diffs are not rendered by default.
Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
* * *
22

3-
من: '"هادي بارتوفي (Code.org)"[hadi_partovi @&#99; ode.org](&#109;&#x61;&#105;&#x6c;&#x74;&#111;&#x3a;&#104;&#x61;&#x64;&#105;&#x5f;&#112;&#x61;&#x72;&#116;&#x6f;&#118;&#x69;&#x40;&#99;&#x6f;&#100;&#x65;&#x2e;&#111;&#x72;&#103;)' الموضوع: شكرا للانضمام لاستضافة حدث ساعة البرمجة! عرض: لا شيء موضوع: لا شيء
3+
from: "Hadi Partovi (Code.org) [&#104;&#x61;&#x64;&#105;&#x5f;&#112;&#x61;&#x72;&#116;&#x6f;&#118;&#x69;&#x40;&#99;&#x6f;&#100;&#x65;&#x2e;&#111;&#x72;&#103;](&#109;&#x61;&#105;&#x6c;&#x74;&#111;&#x3a;&#104;&#x61;&#x64;&#105;&#x5f;&#112;&#x61;&#x72;&#116;&#x6f;&#118;&#x69;&#x40;&#99;&#x6f;&#100;&#x65;&#x2e;&#111;&#x72;&#103;)" subject: "Thanks for signing up to host an Hour of Code!" litmus_tracking_id: "5g5lyi1a"
44

55
* * *
66

77
<% hostname = CDO.canonical_hostname('hourofcode.com') %>
88

99
# شكراً لمشاركتك في استضافة حدث "ساعة البرمجة"!
1010

11-
**كل**منظم لساعة البرمجة سيتلقى 10 غيغابايت من موقع دروب بوكس Dropbox أو $10 من رصيد Skypeسكايب كشكر. [ تفاصيل](http://<%= hostname %>/جوائز)
12-
13-
<% if @country == 'us' %>
14-
15-
اعط الفرصة [الى كل المدرسة للمشاركة](http://<%= hostname %>/أسرة-مدرسة) و الحصول على فرصة ربح لجوائز كبيرة.
16-
17-
<% end %>
11+
**كل**منظم لساعة البرمجة سيتلقى 10 جيجابايت من موقع دروب بوكس Dropbox أو $10 من رصيد Skypeسكايب كشكر. [ تفاصيل](http://<%= hostname %>/جوائز)
1812

1913
## انشر الكلمة
2014

@@ -24,27 +18,21 @@
2418

2519
## اطلب من مدرستك كلها أن تشارك في حدث "ساعة من الكود البرمجي"
2620

27-
[ إرسل هذا البريد الإلكتروني](http://<%= hostname %>/الموارد #email) أو [سلم هذا الملف لمدير المؤسسة](http://<%= hostname %>/files/schools-handout.pdf). بعد اضافة المدرسة الى الموقع، [ أدخل لتربح ما قيمته 10000 دولار من التكنولوجيا لمدرستك ](http://<%= hostname %>/جوائز) وتحدى المدارس الأخرى في منطقتك.
28-
29-
<% else %>
30-
31-
## اطلب من مدرستك كلها أن تشارك في حدث "ساعة من الكود البرمجي"
32-
33-
[ إرسل هذا البريد الإلكتروني](http://<%= hostname %>/الموارد #email) أو سلم [ هذه الملف لمدير المدرسة ](http://<%= hostname %>/files/schools-handout.pdf) .
21+
[Send this email](http://<%= hostname %>/resources#email) or give [this handout](http://<%= hostname %>/files/schools-handout.pdf) to your principal.
3422

3523
<% end %>
3624

37-
## 3. اطلب من صاحب العمل أن يشارك
25+
## 3. Ask your employer to get involved
3826

39-
[ أرسل هذا البريد الإلكتروني](http://<%= hostname %>/الموارد #email) إلى مديرك، أو الرئيس التنفيذي. أو [ سلم لهم هذه الوثيقة](http://<%= hostname %>/resources/hoc-one-pager.pdf).
27+
[Send this email](http://<%= hostname %>/resources#email) to your manager, or the CEO. Or [give them this handout](http://<%= hostname %>/resources/hoc-one-pager.pdf).
4028

41-
## 4. شجع و روج حدث "ساعة من الكود البرمجي" في المجتمع
29+
## 4. Promote Hour of Code within your community
4230

43-
اطلب متطوعين من المجموعات المحلبة - الكشافة، الجامعة، اتحاد العمال. او نظم هذا الحدث لجيرانك.
31+
Recruit a local group — boy/girl scouts club, church, university, veterans group or labor union. Or host an Hour of Code "block party" for your neighborhood.
4432

45-
## 5. أطلب من مسؤول محلي لدعم حدث "ساعة من الكود البرمجي"
33+
## 5. Ask a local elected official to support the Hour of Code
4634

47-
[ أرسل هذا البريد الإلكتروني](http://<%= hostname %>/الموارد #politicians) الى العمدة أو مجلس المدينة أو مجلس إدارة المدرسة. أو [قدم لهم هذه النشرية](http://<%= hostname %>/resources/hoc-one-pager.pdf) وادعوهم لزيارة مدرستك.
35+
[Send this email](http://<%= hostname %>/resources#politicians) to your mayor, city council, or school board. Or [give them this handout](http://<%= hostname %>/resources/hoc-one-pager.pdf) and invite them to visit your school.
4836

4937
<% if @country == 'ro' %>
5038

@@ -56,6 +44,4 @@ Echipa Hour of Code Romania [email protected]
5644

5745
* * *
5846

59-
code.org هي منظمة غير ربحية. العنوان هو 13011301 5th Ave, Suite 1225, Seattle, WA, 98101 لا تحب هذه الرسائل؟ [إلغاء الاشتراك](%= unsubscribe_link %).
60-
61-
![](<%= tracking_pixel %>)
47+
Code.org is a 501c3 non-profit. Our address is 1301 5th Ave, Suite 1225, Seattle, WA, 98101. Don't like these emails? [Unsubscribe](%= unsubscribe_link %).
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
11
* * *
22

3-
title: Partners
3+
العنوان: الشركاء
44

55
* * *
66

7-
# Major Partners and Corporate Supporters
7+
# الشركاء الرئيسين و الشركات الداعمة
88

99
<%= view :about_logos, logos:DB[:cdo_partners].where(hourofcode_b:true).and(kind_s:'major') %>
1010

1111
* * *
1212

13-
# Hour of Code Promotional partners
13+
# Major Promotional Partners
1414

1515
<%= view :about_logos, logos:DB[:cdo_partners].where(hourofcode_b:true).and(kind_s:'promotional') %>
1616

1717
* * *
1818

19-
# Tutorial partners
19+
# International Partners
20+
21+
<%= view :about_logos, logos:DB[:cdo_partners].where(hourofcode_b:true).and(kind_s:'international') %>
22+
23+
* * *
24+
25+
# Tutorial Partners
2026

2127
<%= view :about_logos, logos:DB[:cdo_partners].where(hourofcode_b:true).and(kind_s:'tutorial') %>
2228

2329
* * *
2430

25-
# Additional partners
31+
# Infrastructure partners and tools
32+
33+
<%= view :about_logos, logos:DB[:cdo_partners].where(hourofcode_b:true).and(kind_s:'infrastructure') %>
34+
35+
* * *
36+
37+
# Additional Partners
2638

2739
<%= view :about_logos, logos:DB[:cdo_partners].where(hourofcode_b:true).and(kind_s:'additional') %>
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
* * *
2+
3+
layout: wide
4+
5+
* * *
6+
7+
# Prizes - FAQs
8+
9+
## Does your whole school have to enter to win the $10,000 in hardware?
10+
11+
Yes. Your whole school has to participate to be eligible for the prize but only one person needs to register and submit the Hardware Prize application form [here](<%= hoc_uri('/prizes') %>).
12+
13+
## Does your whole school have to enter to win a the tech chat?
14+
15+
Any classroom (public or private school) is eligible to win this prize. Your whole school need not apply.
16+
17+
## Can non-public schools win the video chat prize?
18+
19+
Yes! Private and independent schools are eligible along with public schools to win the video chat prizes.
20+
21+
## Can non-US schools win the video chat prize?
22+
23+
No, unfortunately, because of logistics we are unable to offer the video chat prize to schools outside of the U.S. and Canada. All international organizers **are** eligible to receive Dropbox space or Skype credit.
24+
25+
## Why is the $10,000 hardware prize only available to public schools?
26+
27+
We would love to help teachers in public and private schools alike, but at this time, it comes down to logistics. We have partnered with [DonorsChoose.org](http://donorschoose.org) to administer classroom funding prizes, which only works with public, US K-12 schools. According to DonorsChoose.org, the organization is better able to access consistent and accurate data that's available for public schools.
28+
29+
## I’m outside the United States. Can I qualify for prizes?
30+
31+
Due to a small full-time staff, Code.org is unable to handle the logistics of administering international prizes. Because of this people outside the US are unable to qualify for prizes.
32+
33+
## When is the deadline to apply for the hardware prize?
34+
35+
To qualify, your entire school must register for the Hour of Code as well as complete the [Hardware Application form](<%= hoc_uri('/prizes') %>) by November 14, 2014. One school in every U.S. state will receive a class-set of computers. Code.org will select and notify winners via email by December 1, 2014.
36+
37+
## When is the deadline to be eligible to win a tech chat?
38+
39+
To qualify, you must register your classroom for the Hour of Code by November 14, 2014. Classrooms will win a video chat with a celebrity. Code.org will select and notify winners via email by December 1, 2014.
40+
41+
## When will I be notified if my school or classroom wins a prize?
42+
43+
To qualify, your entire school must register for the Hour of Code as well as complete the [Hardware Application form](<%= hoc_uri('/prizes') %>) by November 14, 2014. Code.org will select and notify winners via email by December 1, 2014.
44+
45+
## If my whole school can’t do the Hour of Code during Computer Science Education Week (Dec. 8-14), can I still qualify for prizes?
46+
47+
Yes, just be sure to submit a logistics plan that outlines how your whole school is participating over a reasonable length of time and register for the Hour of Code by November 14th.

i18n/locales/ar-SA/hourofcode/prizes-terms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
* * *
22

3-
layout: wide
3+
title: How-to Guide for Organisations layout: wide nav: resources_nav
44

55
* * *
66

0 commit comments

Comments
 (0)