This commit is contained in:
Scott Erickson 2014-03-05 12:53:57 -08:00
commit 7a2d5b4bff
4 changed files with 56 additions and 56 deletions

View file

@ -52,6 +52,6 @@ Whether you're novice or pro, the CodeCombat team is ready to help you implement
---------- ----------
[![](https://dl.dropboxusercontent.com/u/138899/GitHub%20Wikis/challengepost.png)](http://codecombat.challengepost.com/?utm_source-github&utm_medium-oswidget&utm_campaign-codecombat) [![](https://dl.dropboxusercontent.com/u/138899/GitHub%20Wikis/challengepost.png)](http://codecombat.challengepost.com/?utm_source=github&utm_medium=oswidget&utm_campaign=codecombat)
[![](http://1-ps.googleusercontent.com/x/s.google-melange.appspot.com/www.google-melange.com/soc/content/2-1-20140225/images/gsoc/logo/920x156xbanner-gsoc2014.png.pagespeed.ic.gdr4t3Igca.png)](http://www.google-melange.com/gsoc/homepage/google/gsoc2014) [![](http://1-ps.googleusercontent.com/x/s.google-melange.appspot.com/www.google-melange.com/soc/content/2-1-20140225/images/gsoc/logo/920x156xbanner-gsoc2014.png.pagespeed.ic.gdr4t3Igca.png)](http://www.google-melange.com/gsoc/homepage/google/gsoc2014)

View file

@ -227,7 +227,7 @@ class Angel
_.delay -> _.delay ->
worker.terminate() worker.terminate()
worker.removeEventListener 'message', onWorkerMessage worker.removeEventListener 'message', onWorkerMessage
, 2000 , 3000
@worker = null @worker = null
@ @

View file

@ -502,6 +502,7 @@ module.exports = Surface = class Surface extends CocoClass
# Skip some frame updates unless we're playing and not at end (or we haven't drawn much yet) # Skip some frame updates unless we're playing and not at end (or we haven't drawn much yet)
frameAdvanced = (@playing and @currentFrame < @world.totalFrames) or @totalFramesDrawn < 2 frameAdvanced = (@playing and @currentFrame < @world.totalFrames) or @totalFramesDrawn < 2
@currentFrame += @world.frameRate / @options.frameRate if frameAdvanced and @playing @currentFrame += @world.frameRate / @options.frameRate if frameAdvanced and @playing
@currentFrame = Math.min(@currentFrame, @world.totalFrames - 1)
newWorldFrame = Math.floor @currentFrame newWorldFrame = Math.floor @currentFrame
worldFrameAdvanced = newWorldFrame isnt oldWorldFrame worldFrameAdvanced = newWorldFrame isnt oldWorldFrame
if worldFrameAdvanced if worldFrameAdvanced

View file

@ -1,6 +1,6 @@
module.exports = nativeDescription: "limba română", englishDescription: "Romanian", translation: module.exports = nativeDescription: "limba română", englishDescription: "Romanian", translation:
common: common:
loading: "Loading..." loading: "Se incarcă..."
saving: "Se salvează..." saving: "Se salvează..."
sending: "Se trimite..." sending: "Se trimite..."
cancel: "Anulează" cancel: "Anulează"
@ -53,8 +53,8 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman
signup: signup:
create_account_title: "Crează cont pentru a salva progresul" create_account_title: "Crează cont pentru a salva progresul"
description: "Este gratis. Doar câte ceva inainte si poți continua:"#contextual translation a bit off, could be better# It's free. Just need a couple things and you'll be good to go:" description: "Este gratis. Doar un scurt formular inainte si poți continua:"#contextual translation a bit off, could be better# It's free. Just need a couple things and you'll be good to go:"
email_announcements: "Receive announcements by email" email_announcements: "Primește notificări prin emaill"
coppa: "13+ sau non-USA " coppa: "13+ sau non-USA "
coppa_why: "(De ce?)" coppa_why: "(De ce?)"
creating: "Se crează contul..." creating: "Se crează contul..."
@ -63,7 +63,7 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman
home: home:
slogan: "Învață sa scri JavaScript jucându-te"# again sounds funny# Learn to Code JavaScript by Playing a Game" slogan: "Învață sa scri JavaScript jucându-te"# again sounds funny# Learn to Code JavaScript by Playing a Game"
no_ie: "CodeCombat does not run in Internet Explorer 9 or older. Sorry!" no_ie: "CodeCombat nu merge pe Internet Explorer 9 sau mai vechi. Scuze!"
no_mobile: "CodeCombat nu a fost proiectat pentru dispozitive mobile si s-ar putea sa nu meargâ!" no_mobile: "CodeCombat nu a fost proiectat pentru dispozitive mobile si s-ar putea sa nu meargâ!"
play: "Joacâ" play: "Joacâ"
@ -78,59 +78,59 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman
campaign_dev_description: "... în care se învață interfața, cu o dificultate puțin mai mare." campaign_dev_description: "... în care se învață interfața, cu o dificultate puțin mai mare."
campaign_multiplayer: "Arene Multiplayer" campaign_multiplayer: "Arene Multiplayer"
campaign_multiplayer_description: "... în care te lupți cap-la-cap contra alti jucători." campaign_multiplayer_description: "... în care te lupți cap-la-cap contra alti jucători."
# campaign_player_created: "Player-Created" campaign_player_created: "Create de jucători"
# campaign_player_created_description: "... in which you battle against the creativity of your fellow <a href=\"/contribute#artisan\">Artisan Wizards</a>." campaign_player_created_description: "... în care ai ocazia să testezi creativitatea colegilor tai <a href=\"/contribute#artisan\">Artisan Wizards</a>."
# level_difficulty: "Difficulty: " level_difficulty: "Dificultate: "
# contact: contact:
# contact_us: "Contact CodeCombat" contact_us: "Contact CodeCombat"
# welcome: "Good to hear from you! Use this form to send us email. " welcome: "Folosiți acest formular pentru a ne trimite email. "
# contribute_prefix: "If you're interested in contributing, check out our " contribute_prefix: "Dacă sunteți interesați in a contribui uitați-vă pe "
# contribute_page: "contribute page" contribute_page: "pagina de contribuție"
# contribute_suffix: "!" contribute_suffix: "!"
# forum_prefix: "For anything public, please try " forum_prefix: "Pentru orice altceva vă rugăm sa incercați "
# forum_page: "our forum" forum_page: "forumul nostru"
# forum_suffix: " instead." forum_suffix: " în schimb."
# send: "Send Feedback" send: "Trimite Feedback"
diplomat_suggestion: diplomat_suggestion:
# title: "Help translate CodeCombat!" title: "Ajută-ne să traducem CodeCombat!"
# sub_heading: "We need your language skills." sub_heading: "Avem nevoie de abilitățile tale lingvistice."
pitch_body: "We develop CodeCombat in English, but we already have players all over the world. Many of them want to play in Romanian but don't speak English, so if you can speak both, please consider signing up to be a Diplomat and help translate both the CodeCombat website and all the levels into Romanian." pitch_body: "We develop CodeCombat in English, but we already have players all over the world. Many of them want to play in Romanian but don't speak English, so if you can speak both, please consider signing up to be a Diplomat and help translate both the CodeCombat website and all the levels into Romanian." #are these still needed??
missing_translations: "Until we can translate everything into Romanian, you'll see English when Romanian isn't available." missing_translations: "Until we can translate everything into Romanian, you'll see English when Romanian isn't available." # is this still needed?
# learn_more: "Learn more about being a Diplomat" learn_more: "Află mai multe despre cum să fi un Diplomat"
# subscribe_as_diplomat: "Subscribe as a Diplomat" subscribe_as_diplomat: "Înscrie-te ca Diplomat"
# wizard_settings: wizard_settings:
# title: "Wizard Settings" title: "Setări Wizard"
# customize_avatar: "Customize Your Avatar" customize_avatar: "Personalizează-ți Avatarul"
# clothes: "Clothes" clothes: "Haine"
# trim: "Trim" trim: "Margine"
# cloud: "Cloud" cloud: "Nor"
# spell: "Spell" spell: "Vrajă"
# boots: "Boots" boots: "Încălțăminte"
# hue: "Hue" hue: "Culoare"
# saturation: "Saturation" saturation: "Saturație"
# lightness: "Lightness" lightness: "Luminozitate"
# account_settings: account_settings:
# title: "Account Settings" title: "Setări Cont"
# not_logged_in: "Log in or create an account to change your settings." not_logged_in: "Loghează-te sau crează un cont nou pentru a schimba setările."
# autosave: "Changes Save Automatically" autosave: "Modificările se salvează automat"
# me_tab: "Me" me_tab: "Eu"
# picture_tab: "Picture" picture_tab: "Poză"
# wizard_tab: "Wizard" wizard_tab: "Wizard"
# password_tab: "Password" password_tab: "Parolă"
# emails_tab: "Emails" emails_tab: "Email-uri"
# gravatar_select: "Select which Gravatar photo to use" gravatar_select: "Selectează ce poză Gravatar vrei să foloșesti"
# gravatar_add_photos: "Add thumbnails and photos to a Gravatar account for your email to choose an image." gravatar_add_photos: "Adaugă thumbnails și poze la un cont Gravatar pentru email-ul tău pentru a alege o imagine."
# gravatar_add_more_photos: "Add more photos to your Gravatar account to access them here." gravatar_add_more_photos: "Adaugă mai multe poze la contul tău Gravatar pentru a le accesa aici."
# wizard_color: "Wizard Clothes Color" wizard_color: "Culoare haine pentru Wizard"
# new_password: "New Password" new_password: "Parolă nouă"
# new_password_verify: "Verify" new_password_verify: "Verifică"
# email_subscriptions: "Email Subscriptions" email_subscriptions: "Subscripție Email"
# email_announcements: "Announcements" email_announcements: "Anunțuri"
# email_notifications_description: "Get periodic notifications for your account." email_notifications_description: "Get periodic notifications for your account."
# email_announcements_description: "Get emails on the latest news and developments at CodeCombat." # email_announcements_description: "Get emails on the latest news and developments at CodeCombat."
# contributor_emails: "Contributor Class Emails" # contributor_emails: "Contributor Class Emails"
# contribute_prefix: "We're looking for people to join our party! Check out the " # contribute_prefix: "We're looking for people to join our party! Check out the "
@ -198,9 +198,8 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman
# tome_select_spell: "Select a Spell" # tome_select_spell: "Select a Spell"
# tome_select_a_thang: "Select Someone for " # tome_select_a_thang: "Select Someone for "
# tome_available_spells: "Available Spells" # tome_available_spells: "Available Spells"
# hud_continue: "Continue (shift+space)" # hud_continue: "Continue (press shift-space)"
# spell_saved: "Spell Saved" # spell_saved: "Spell Saved"
# skip_tutorial: "Skip (esc)"
# admin: # admin:
# av_title: "Admin Views" # av_title: "Admin Views"