BIN
app/assets/images/common/code_languages/c_icon.png
Executable file
After ![]() (image error) Size: 3 KiB |
BIN
app/assets/images/common/code_languages/c_small.png
Normal file
After ![]() (image error) Size: 3.5 KiB |
BIN
app/assets/images/common/code_languages/clojure_icon.png
Executable file
After ![]() (image error) Size: 3 KiB |
BIN
app/assets/images/common/code_languages/clojure_small.png
Normal file
After ![]() (image error) Size: 5.1 KiB |
BIN
app/assets/images/common/code_languages/coffeescript_icon.png
Executable file
After ![]() (image error) Size: 2.9 KiB |
BIN
app/assets/images/common/code_languages/coffeescript_small.png
Normal file
After ![]() (image error) Size: 4.4 KiB |
BIN
app/assets/images/common/code_languages/cpp_icon.png
Executable file
After ![]() (image error) Size: 3 KiB |
BIN
app/assets/images/common/code_languages/cpp_small.png
Normal file
After ![]() (image error) Size: 3.9 KiB |
BIN
app/assets/images/common/code_languages/csharp_icon.png
Executable file
After ![]() (image error) Size: 3 KiB |
BIN
app/assets/images/common/code_languages/csharp_small.png
Normal file
After ![]() (image error) Size: 3.6 KiB |
BIN
app/assets/images/common/code_languages/go_icon.png
Executable file
After ![]() (image error) Size: 2.9 KiB |
BIN
app/assets/images/common/code_languages/go_small.png
Normal file
After ![]() (image error) Size: 3.9 KiB |
BIN
app/assets/images/common/code_languages/io_icon.png
Normal file
After ![]() (image error) Size: 4 KiB |
BIN
app/assets/images/common/code_languages/io_small.png
Normal file
After ![]() (image error) Size: 2.8 KiB |
BIN
app/assets/images/common/code_languages/java_icon.png
Executable file
After ![]() (image error) Size: 3 KiB |
BIN
app/assets/images/common/code_languages/java_small.png
Normal file
After ![]() (image error) Size: 3.8 KiB |
BIN
app/assets/images/common/code_languages/javascript_icon.png
Normal file
After ![]() (image error) Size: 3.9 KiB |
BIN
app/assets/images/common/code_languages/javascript_small.png
Normal file
After ![]() (image error) Size: 2.3 KiB |
BIN
app/assets/images/common/code_languages/lua_icon.png
Executable file
After ![]() (image error) Size: 2.8 KiB |
BIN
app/assets/images/common/code_languages/lua_small.png
Normal file
After ![]() (image error) Size: 3.5 KiB |
BIN
app/assets/images/common/code_languages/php_icon.png
Executable file
After ![]() (image error) Size: 2.9 KiB |
BIN
app/assets/images/common/code_languages/php_small.png
Normal file
After ![]() (image error) Size: 3.3 KiB |
BIN
app/assets/images/common/code_languages/python_icon.png
Executable file
After ![]() (image error) Size: 2.9 KiB |
BIN
app/assets/images/common/code_languages/python_small.png
Normal file
After ![]() (image error) Size: 4.1 KiB |
BIN
app/assets/images/common/code_languages/ruby_icon.png
Executable file
After ![]() (image error) Size: 3 KiB |
BIN
app/assets/images/common/code_languages/ruby_small.png
Normal file
After ![]() (image error) Size: 2.7 KiB |
BIN
app/assets/images/common/code_languages/swift_icon.png
Executable file
After ![]() (image error) Size: 2.9 KiB |
BIN
app/assets/images/common/code_languages/swift_small.png
Normal file
After ![]() (image error) Size: 2.6 KiB |
Before ![]() (image error) Size: 9.4 KiB After ![]() (image error) Size: 9.1 KiB ![]() ![]() |
Before ![]() (image error) Size: 6.1 KiB |
Before ![]() (image error) Size: 16 KiB |
Before ![]() (image error) Size: 15 KiB |
Before ![]() (image error) Size: 3.7 KiB |
Before ![]() (image error) Size: 1.5 KiB |
Before ![]() (image error) Size: 17 KiB |
Before ![]() (image error) Size: 7.5 KiB After ![]() (image error) Size: 8.1 KiB ![]() ![]() |
|
@ -213,6 +213,8 @@ module.exports = class Angel extends CocoClass
|
|||
work.t1 = now()
|
||||
Math.random = work.testWorld.rand.randf # so user code is predictable
|
||||
Aether.replaceBuiltin('Math', Math)
|
||||
replacedLoDash = _.runInContext(window)
|
||||
_[key] = replacedLoDash[key] for key, val of replacedLoDash
|
||||
i = 0
|
||||
while i < work.testWorld.totalFrames
|
||||
frame = work.testWorld.getFrame i++
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
gplusClientID = '800329290710-j9sivplv2gpcdgkrsis9rff3o417mlfa.apps.googleusercontent.com'
|
||||
# TODO: Move to GPlusHandler
|
||||
|
||||
NotFoundView = require('views/NotFoundView')
|
||||
|
||||
go = (path) -> -> @routeDirectly path, arguments
|
||||
|
||||
|
@ -8,20 +11,44 @@ module.exports = class CocoRouter extends Backbone.Router
|
|||
Backbone.Mediator.subscribe 'router:navigate', @onNavigate, @
|
||||
|
||||
routes:
|
||||
# every abnormal view gets listed here
|
||||
'': 'home'
|
||||
'preview': 'home'
|
||||
'beta': 'home'
|
||||
'': go('HomeView')
|
||||
|
||||
'about': go('AboutView')
|
||||
'admin': go('AdminView')
|
||||
|
||||
'beta': go('HomeView')
|
||||
|
||||
'cla': go('CLAView')
|
||||
'community': go('CommunityView')
|
||||
'contribute': go('contribute/MainContributeView')
|
||||
'contribute/adventurer': go('contribute/AdventurerView')
|
||||
'contribute/ambassador': go('contribute/AmbassadorView')
|
||||
'contribute/archmage': go('contribute/ArchmageView')
|
||||
'contribute/artisan': go('contribute/ArtisanView')
|
||||
'contribute/diplomat': go('contribute/DiplomatView')
|
||||
'contribute/scribe': go('contribute/ScribeView')
|
||||
|
||||
'demo(/*subpath)': go('DemoView')
|
||||
|
||||
'editor': go('editor/MainEditorView')
|
||||
'employers': go('EmployersView')
|
||||
|
||||
'legal': go('LegalView')
|
||||
|
||||
'multiplayer': go('MultiplayerView')
|
||||
|
||||
'play': go('play/MainPlayView')
|
||||
'preview': go('HomeView')
|
||||
|
||||
'teachers': go('TeachersView')
|
||||
'test(/*subpath)': go('TestView')
|
||||
|
||||
|
||||
# editor views tend to have the same general structure
|
||||
'editor/:model(/:slug_or_id)(/:subview)': 'editorModelView'
|
||||
|
||||
# Direct links
|
||||
'test': go('TestView')
|
||||
'test/*subpath': go('TestView')
|
||||
|
||||
'demo': go('DemoView')
|
||||
'demo/*subpath': go('DemoView')
|
||||
|
||||
'play/ladder/:levelID': go('play/ladder/ladder_view')
|
||||
'play/ladder': go('play/ladder_home')
|
||||
|
@ -134,7 +161,6 @@ module.exports = class CocoRouter extends Backbone.Router
|
|||
throw error
|
||||
|
||||
notFoundView: ->
|
||||
NotFoundView = require('views/not_found')
|
||||
view = new NotFoundView()
|
||||
view.render()
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
if @thangType.isFullyLoaded()
|
||||
@setupSprite()
|
||||
else
|
||||
@thangType.fetch()
|
||||
@thangType.fetch() unless @thangType.loading
|
||||
@listenToOnce(@thangType, 'sync', @setupSprite)
|
||||
|
||||
setupSprite: ->
|
||||
|
@ -442,7 +442,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
console.warn 'Cannot show action', action, 'for', @thangType.get('name'), 'because it DNE' unless @warnedFor[action]
|
||||
@warnedFor[action] = true
|
||||
return if @action is 'idle' then null else 'idle'
|
||||
action = 'break' if @actions.break? and @thang?.erroredOut
|
||||
#action = 'break' if @actions.break? and @thang?.erroredOut # This makes it looks like it's dead when it's not: bad in Brawlwood.
|
||||
action = 'die' if @actions.die? and thang?.health? and thang.health <= 0
|
||||
@actions[action]
|
||||
|
||||
|
|
|
@ -115,7 +115,8 @@ module.exports = Surface = class Surface extends CocoClass
|
|||
|
||||
setWorld: (@world) ->
|
||||
@worldLoaded = true
|
||||
@world.getFrame(Math.min(@getCurrentFrame(), @world.totalFrames - 1)).restoreState() unless @options.choosing
|
||||
lastFrame = Math.min(@getCurrentFrame(), @world.totalFrames - 1)
|
||||
@world.getFrame(lastFrame).restoreState() unless @options.choosing
|
||||
@spriteBoss.world = @world
|
||||
|
||||
@showLevel()
|
||||
|
@ -241,7 +242,7 @@ module.exports = Surface = class Surface extends CocoClass
|
|||
@onFrameChanged()
|
||||
|
||||
getCurrentFrame: ->
|
||||
return Math.max(0, Math.min(Math.floor(@currentFrame), @world.totalFrames - 1))
|
||||
return Math.max(0, Math.min(Math.floor(@currentFrame), @world.frames.length - 1))
|
||||
|
||||
getProgress: -> @currentFrame / @world.totalFrames
|
||||
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "العربية", englishDescription: "Arabi
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "български език", englishDescri
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Избери своето ниво"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Català", englishDescription: "Catalan", tr
|
|||
for_beginners: "Per a principiants"
|
||||
multiplayer: "Multijugador"
|
||||
for_developers: "Per a Desenvolupadors"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Escull el teu nivell"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "čeština", englishDescription: "Czech", tr
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Zvolte si úroveň"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "dansk", englishDescription: "Danish", trans
|
|||
for_beginners: "For Begyndere"
|
||||
multiplayer: "Multiplayer"
|
||||
for_developers: "For Udviklere"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Vælg Dit Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Deutsch (Österreich)", englishDescription:
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Deutsch (Schweiz)", englishDescription: "Ge
|
|||
for_beginners: "Für Afänger"
|
||||
multiplayer: "Multiplayer"
|
||||
for_developers: "Für Entwickler"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Wähl dis Level us"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription:
|
|||
for_beginners: "Für Anfänger"
|
||||
multiplayer: "Mehrspieler"
|
||||
for_developers: "Für Entwickler"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Wähle dein Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Deutsch", englishDescription: "German", tra
|
|||
for_beginners: "Für Anfänger"
|
||||
multiplayer: "Mehrspieler"
|
||||
for_developers: "Für Entwickler"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Wähle dein Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "ελληνικά", englishDescription: "Gre
|
|||
for_beginners: "Για αρχάριους"
|
||||
# multiplayer: "Multiplayer"
|
||||
for_developers: "Για προγραμματιστές"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Διάλεξε την πίστα σου"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "English (AU)", englishDescription: "English
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "English (UK)", englishDescription: "English
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "English (US)", englishDescription: "English
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@
|
|||
for_beginners: "For Beginners"
|
||||
multiplayer: "Multiplayer"
|
||||
for_developers: "For Developers"
|
||||
javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
clojure_blurb: "A modern Lisp."
|
||||
lua_blurb: "Game scripting language."
|
||||
io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "español (América Latina)", englishDescrip
|
|||
for_beginners: "Para Principiantes"
|
||||
multiplayer: "Multijugador"
|
||||
for_developers: "Para Desarrolladores"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Elige tu nivel"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "español (ES)", englishDescription: "Spanis
|
|||
for_beginners: "Para principiantes"
|
||||
multiplayer: "Multijugador"
|
||||
for_developers: "Para programadores"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Elige tu nivel"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "español", englishDescription: "Spanish", t
|
|||
for_beginners: "Para principiantes"
|
||||
multiplayer: "Multijugador"
|
||||
for_developers: "Para desarrolladores"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Elige tu nivel"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "فارسی", englishDescription: "Persian",
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "مرحله خود را انتخاب کنید"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "français", englishDescription: "French", t
|
|||
for_beginners: "Pour débutants"
|
||||
multiplayer: "Multijoueurs"
|
||||
for_developers: "Pour développeurs"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Choisissez votre niveau"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "עברית", englishDescription: "Hebrew",
|
|||
for_beginners: "למתחילים"
|
||||
multiplayer: "רב-משתתפים"
|
||||
for_developers: "למומחים"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "בחר את השלב"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "मानक हिन्दी", englishDe
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", t
|
|||
for_beginners: "Kezdőknek"
|
||||
# multiplayer: "Multiplayer"
|
||||
for_developers: "Fejlesztőknek"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Válaszd ki a pályát!"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Bahasa Indonesia", englishDescription: "Ind
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Italiano", englishDescription: "Italian", t
|
|||
for_beginners: "Per Principianti"
|
||||
# multiplayer: "Multiplayer"
|
||||
for_developers: "Per Sviluppatori"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Scegli il tuo livello"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
|
|||
for_beginners: "初心者向け"
|
||||
multiplayer: "マルチプレイヤー"
|
||||
for_developers: "開発者向け"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "レベル選択"
|
||||
|
|
|
@ -90,20 +90,26 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
# required: "You need to log in before you can go that way."
|
||||
|
||||
home:
|
||||
slogan: "쉽고 간단한 게임배우기"
|
||||
slogan: "쉽고 간단한 게임 배우기"
|
||||
no_ie: "죄송하지만 코드컴뱃은 인터넷 익스플로러 9에서는 동작하지 않습니다."
|
||||
no_mobile: "코드 컴뱃은 모바일 기기용으로 제작되지 않았습니다. 아마 동작하지 않을 가능성이 높습니다."
|
||||
play: "시작"
|
||||
old_browser: "브라우저가 너무 오래된 버전이라 코드컴뱃을 실행할 수 없습니다."
|
||||
old_browser: "브라우저가 너무 오래된 버전이라 코드 컴뱃을 실행할 수 없습니다."
|
||||
old_browser_suffix: "시도해볼 수는 있겠지만..안될수도 있습니다."
|
||||
campaign: "캠페인"
|
||||
for_beginners: "초보자용"
|
||||
multiplayer: "멀티플레이어"
|
||||
for_developers: "개발자용"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "레벨을 선택하세요."
|
||||
adventurer_prefix: "아래에 있는 어떤 레벨도 바로 시작하실 수 있습니다.또는 포럼에서 레벨에 관해 토론하세요 :"
|
||||
adventurer_prefix: "아래에 있는 아무 레벨이나 바로 시작하실 수 있습니다. 또는 포럼에서 레벨에 관해 토론하세요 :"
|
||||
adventurer_forum: "모험가들의 포럼"
|
||||
adventurer_suffix: "."
|
||||
campaign_beginner: "초보자 캠페인"
|
||||
|
@ -119,7 +125,7 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
spectate: "관중모드"
|
||||
|
||||
contact:
|
||||
contact_us: "코드컴뱃에 전할말"
|
||||
contact_us: "코드컴뱃에 전할 말"
|
||||
welcome: "의견은 언제든지 환영합니다. 이 양식을 이메일에 사용해 주세요!"
|
||||
contribute_prefix: "혹시 같이 코드컴뱃에 공헌하고 싶으시다면 홈페이지에 들러주세요 "
|
||||
contribute_page: "참여하기 페이지"
|
||||
|
@ -133,15 +139,15 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
|
||||
diplomat_suggestion:
|
||||
title: "코드 컴뱃 번역을 도와주세요!"
|
||||
sub_heading: "우리는 당신의 언어 능력이필요합니다."
|
||||
pitch_body: "우리는 영어로 코드컴뱃을 개발하기 시작했지만, 이미 전세계의 유저들이 코드컴뱃을 이용하고 있습니다. 그중 많은 사람들이 한국어로 플레이하기를 바랍니다. 혹시 당신이 영어/한국어에 모두 능숙하다면, Diplomat 으로 코드컴뱃에 참여해서 모든 레벨 뿐 아니라 웹사이트를 한국어로 번역할 수 있습니다."
|
||||
sub_heading: "우리는 당신의 언어 능력이 필요합니다."
|
||||
pitch_body: "우리는 영어로 코드컴뱃을 개발하기 시작했지만, 이미 전세계의 유저들이 코드컴뱃을 이용하고 있습니다. 그 중 많은 사람들이 한국어로 플레이하기를 바랍니다. 혹시 당신이 영어/한국어에 모두 능숙하다면, Diplomat 으로 코드컴뱃에 참여해서 모든 레벨 뿐 아니라 웹사이트를 한국어로 번역할 수 있습니다."
|
||||
missing_translations: "우리가 모든 내용을 한국어로 번역할때까지 기본은 영어로 제공됩니다."
|
||||
learn_more: "외교관에 대해서 좀더 자세히알기"
|
||||
subscribe_as_diplomat: "훌륭한 외교관으로써, 정기 구독하기"
|
||||
learn_more: "외교관에 대해서 좀 더 자세히 알아보기"
|
||||
subscribe_as_diplomat: "외교관을 위한 정기 구독"
|
||||
|
||||
wizard_settings:
|
||||
title: "마법사 설장"
|
||||
customize_avatar: "당신의 분신을 직접 꾸미세요"
|
||||
customize_avatar: "당신의 아바타를 직접 꾸미세요"
|
||||
# active: "Active"
|
||||
# color: "Color"
|
||||
# group: "Group"
|
||||
|
@ -157,7 +163,7 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
|
||||
account_settings:
|
||||
title: "계정 설정"
|
||||
not_logged_in: "로그인 하시거나 계정을 생성하여 주세요."
|
||||
not_logged_in: "로그인하시거나 계정을 생성하세요."
|
||||
autosave: "변경 사항은 자동 저장 됩니다"
|
||||
me_tab: "나"
|
||||
picture_tab: "사진"
|
||||
|
@ -186,17 +192,17 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
error_saving: "오류 저장"
|
||||
saved: "변경사항 저장 완료"
|
||||
password_mismatch: "비밀번호가 일치하지 않습니다."
|
||||
# password_repeat: "Please repeat your password."
|
||||
password_repeat: "비밀번호를 한번 더 입력해 주세요."
|
||||
# job_profile: "Job Profile"
|
||||
# job_profile_approved: "Your job profile has been approved by CodeCombat. Employers will be able to see it until you either mark it inactive or it has not been changed for four weeks."
|
||||
# job_profile_explanation: "Hi! Fill this out, and we will get in touch about finding you a software developer job."
|
||||
# sample_profile: "See a sample profile"
|
||||
# view_profile: "View Your Profile"
|
||||
view_profile: "나의 프로필 보기"
|
||||
|
||||
account_profile:
|
||||
# settings: "Settings"
|
||||
# edit_profile: "Edit Profile"
|
||||
# done_editing: "Done Editing"
|
||||
settings: "설정"
|
||||
edit_profile: "프로필 수정하기"
|
||||
done_editing: "수정 완료"
|
||||
profile_for_prefix: "프로필 "
|
||||
profile_for_suffix: ""
|
||||
# featured: "Featured"
|
||||
|
@ -351,10 +357,10 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
multiplayer: "멀티 플레이어"
|
||||
restart: "재시작"
|
||||
goals: "목표"
|
||||
# success: "Success!"
|
||||
# incomplete: "Incomplete"
|
||||
# timed_out: "Ran out of time"
|
||||
# failing: "Failing"
|
||||
success: "성공!"
|
||||
incomplete: "목표 미완료"
|
||||
timed_out: "제한 시간 초과"
|
||||
failing: "다시 한번 더 도전해보세요."
|
||||
action_timeline: "액션 타임라인"
|
||||
click_to_select: "유닛을 선택하기 위해서 유닛을 마우스로 클릭하세요."
|
||||
reload_title: "모든 코드가 다시 로딩 되었나요?"
|
||||
|
@ -394,8 +400,8 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
editor_config: "에디터 설정"
|
||||
editor_config_title: "에디터 설정"
|
||||
# editor_config_level_language_label: "Language for This Level"
|
||||
# editor_config_level_language_description: "Define the programming language for this particular level."
|
||||
# editor_config_default_language_label: "Default Programming Language"
|
||||
editor_config_level_language_description: "이 레벨에서 사용할 언어를 선택하세요."
|
||||
editor_config_default_language_label: "기본 프로그래밍 언어"
|
||||
# editor_config_default_language_description: "Define the programming language you want to code in when starting new levels."
|
||||
editor_config_keybindings_label: "단축키 설정"
|
||||
editor_config_keybindings_default: "기본(Ace)"
|
||||
|
@ -408,7 +414,7 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
|
|||
editor_config_indentguides_description: "들여쓰기 확인위해 세로줄 표시하기."
|
||||
editor_config_behaviors_label: "자동 기능"
|
||||
editor_config_behaviors_description: "괄호, 인용부호, 따옴표 자동 완성."
|
||||
# keyboard_shortcuts: "Key Shortcuts"
|
||||
keyboard_shortcuts: "단축키"
|
||||
# loading_ready: "Ready!"
|
||||
# tip_insert_positions: "Shift+Click a point on the map to insert it into the spell editor."
|
||||
# tip_toggle_play: "Toggle play/paused with Ctrl+P."
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "lietuvių kalba", englishDescription: "Lith
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Bahasa Melayu", englishDescription: "Bahasa
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Norsk Bokmål", englishDescription: "Norweg
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Velg Ditt Nivå"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Nederlands (België)", englishDescription:
|
|||
for_beginners: "Voor Beginners"
|
||||
multiplayer: "Multiplayer"
|
||||
for_developers: "Voor ontwikkelaars"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Kies Je Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Nederlands (Nederland)", englishDescription
|
|||
for_beginners: "Voor Beginners"
|
||||
multiplayer: "Multiplayer"
|
||||
for_developers: "Voor ontwikkelaars"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Kies Je Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", t
|
|||
for_beginners: "Voor Beginners"
|
||||
multiplayer: "Multiplayer"
|
||||
for_developers: "Voor ontwikkelaars"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Kies Je Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Norwegian Nynorsk", englishDescription: "No
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Norsk", englishDescription: "Norwegian", tr
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Velg Ditt Nivå"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "język polski", englishDescription: "Polish
|
|||
for_beginners: "Dla początkujących"
|
||||
# multiplayer: "Multiplayer"
|
||||
for_developers: "Dla developerów"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Wybierz poziom"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "português do Brasil", englishDescription:
|
|||
for_beginners: "Para Iniciantes"
|
||||
multiplayer: "Multijogador"
|
||||
for_developers: "Para Desenvolvedores"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Escolha seu estágio"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
for_beginners: "Para Iniciantes"
|
||||
multiplayer: "Multijogador"
|
||||
for_developers: "Para Programadores"
|
||||
# javascript_blurb: "A linguagem da web. Ótima para escrever websites, aplicações da web, jogos HTML5 e servidores."
|
||||
# python_blurb: "Simples mas poderoso, o Python é uma linguagem de programação ótima para propósitos gerais."
|
||||
# coffeescript_blurb: "Sintaxe do Javascript mais agradável."
|
||||
# clojure_blurb: "Um Lisp moderno"
|
||||
# lua_blurb: "Linguagem para scripts de jogos"
|
||||
# io_blurb: "Simples mas obscuro"
|
||||
|
||||
play:
|
||||
choose_your_level: "Escolha o Seu Nível"
|
||||
|
@ -186,7 +192,7 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
error_saving: "Erro ao Guardar"
|
||||
saved: "Alterações Guardadas"
|
||||
password_mismatch: "As palavras-passe não coincidem."
|
||||
# password_repeat: "Please repeat your password."
|
||||
password_repeat: "Por favor repita a sua palavra-passe."
|
||||
job_profile: "Perfil de Emprego"
|
||||
job_profile_approved: "O seu perfil de emprego foi aprovado pelo CodeCombat. Os empregadores poderão vê-lo até que o defina como inativo ou não o tenha alterado à 4 semanas."
|
||||
job_profile_explanation: "Olá! Preencha isto e entraremos em contacto consigo sobre encontrar um emprego de desenvolvedor de software para si."
|
||||
|
@ -327,7 +333,7 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
# pass_screen_blurb: "Review each candidate's code before reaching out. One employer found that 5x as many of our devs passed their technical screen than hiring from Hacker News."
|
||||
# make_hiring_easier: "Make my hiring easier, please."
|
||||
what: "O que é o CodeCombat?"
|
||||
what_blurb: "O CodeCombat é um jogo de programação, no navegador e multijogador. Os jogadores escrevem código para controlar as forças deles em batalha contra outros desenvolvedores. Nós suportamos JavaScript, Python, Lua, Clojure, CoffeeScript e Io."
|
||||
what_blurb: "O CodeCombat é um jogo de programação, no navegador e multijogador. Os jogadores escrevem código para controlar as forças deles em batalha contra outros desenvolvedores. Os nossos jogadores têm experiência com todos os conceitos tecnológicos principais."
|
||||
cost: "Quanto é que cobramos?"
|
||||
cost_blurb: "Cobramos 15% do salário do primeiro ano e ofereçemos uma garantia de devolução de 100% do dinheiro durante 90 dias. Não cobramos por candidatos que já estejam a ser ativamente entrevistados na sua companhia."
|
||||
candidate_name: "Nome"
|
||||
|
@ -503,13 +509,13 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
pick_a_terrain: "Escolha Um Terreno"
|
||||
small: "Pequeno"
|
||||
grassy: "Com Relva"
|
||||
# fork_title: "Fork New Version"
|
||||
# fork_creating: "Creating Fork..."
|
||||
fork_title: "Bifurcar Nova Versão"
|
||||
fork_creating: "A Criar Bifurcação..."
|
||||
# randomize: "Randomize"
|
||||
# more: "More"
|
||||
# wiki: "Wiki"
|
||||
# live_chat: "Live Chat"
|
||||
level_some_options: "Algumas opções?"
|
||||
more: "Mais"
|
||||
wiki: "Wiki"
|
||||
live_chat: "Chat Ao Vivo"
|
||||
level_some_options: "Algumas Opções?"
|
||||
level_tab_thangs: "Thangs"
|
||||
level_tab_scripts: "Scripts"
|
||||
level_tab_settings: "Configurações"
|
||||
|
@ -522,19 +528,19 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
# delete: "Delete"
|
||||
# duplicate: "Duplicate"
|
||||
level_settings_title: "Configurações"
|
||||
level_component_tab_title: "Componentes atuais"
|
||||
level_component_btn_new: "Cria um novo Componente"
|
||||
level_systems_tab_title: "Sistemas atuais"
|
||||
level_systems_btn_new: "Cria um novo Sistema"
|
||||
level_systems_btn_add: "Adiciona um Sistema"
|
||||
level_component_tab_title: "Componentes Atuais"
|
||||
level_component_btn_new: "Criar Novo Componente"
|
||||
level_systems_tab_title: "Sistemas Atuais"
|
||||
level_systems_btn_new: "Cria Novo Sistema"
|
||||
level_systems_btn_add: "Adicionar Sistema"
|
||||
level_components_title: "Voltar para Todos os Thangs"
|
||||
level_components_type: "Tipo"
|
||||
level_component_edit_title: "Editar Componente"
|
||||
# level_component_config_schema: "Config Schema"
|
||||
level_component_settings: "Configurações"
|
||||
level_system_edit_title: "Editar Sistema"
|
||||
create_system_title: "Criar novo Sistema"
|
||||
new_component_title: "Criar novo Componente"
|
||||
create_system_title: "Criar Novo Sistema"
|
||||
new_component_title: "Criar Novo Componente"
|
||||
new_component_field_system: "Sistema"
|
||||
new_article_title: "Criar um Novo Artigo"
|
||||
new_thang_title: "Criar um Novo Tipo de Thang"
|
||||
|
@ -559,20 +565,20 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
name: "Nome"
|
||||
body: "Corpo"
|
||||
version: "Versão"
|
||||
commit_msg: "Mensagem de Commit"
|
||||
# version_history: "Version History"
|
||||
version_history_for: "Histórico de versões por: "
|
||||
commit_msg: "Enviar Mensagem"
|
||||
version_history: "Histórico de Versões"
|
||||
version_history_for: "Histórico de Versões para: "
|
||||
result: "Resultado"
|
||||
results: "Resultados"
|
||||
description: "Descrição"
|
||||
or: "ou"
|
||||
# subject: "Subject"
|
||||
subject: "Assunto"
|
||||
email: "E-mail"
|
||||
password: "Palavra-passe"
|
||||
message: "Mensagem"
|
||||
code: "Código"
|
||||
ladder: "Classificação"
|
||||
when: "quando"
|
||||
when: "Quando"
|
||||
opponent: "Adversário"
|
||||
rank: "Classificação"
|
||||
score: "Resultado"
|
||||
|
@ -768,17 +774,17 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
ambassador_title_description: "(Suporte)"
|
||||
|
||||
ladder:
|
||||
please_login: "Por favor, faz log in antes de jogar um jogo para o campeonato."
|
||||
my_matches: "Os meus jogos"
|
||||
please_login: "Por favor inicie sessão antes de jogar um jogo do campeonato."
|
||||
my_matches: "Os Meus Jogos"
|
||||
simulate: "Simular"
|
||||
simulation_explanation: "Simulando jogos podes fazer com que o teu jogo seja classificado mais rapidamente!"
|
||||
simulation_explanation: "Ao simular jogos pode ter o seu jogo classificado mais rapidamente!"
|
||||
simulate_games: "Simular Jogos!"
|
||||
# simulate_all: "RESET AND SIMULATE GAMES"
|
||||
# games_simulated_by: "Games simulated by you:"
|
||||
# games_simulated_for: "Games simulated for you:"
|
||||
# games_simulated: "Games simulated"
|
||||
# games_played: "Games played"
|
||||
# ratio: "Ratio"
|
||||
games_simulated_by: "Jogos simulados por si:"
|
||||
games_simulated_for: "Jogos simulados para si:"
|
||||
games_simulated: "Jogos simulados"
|
||||
games_played: "Jogos jogados"
|
||||
ratio: "Rácio"
|
||||
leaderboard: "Tabela de Classificação"
|
||||
battle_as: "Lutar como "
|
||||
summary_your: "As tuas "
|
||||
|
@ -868,29 +874,29 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
# server_error: "Server error."
|
||||
# unknown: "Unknown error."
|
||||
|
||||
# resources:
|
||||
# your_sessions: "Your Sessions"
|
||||
# level: "Level"
|
||||
resources:
|
||||
your_sessions: "As Suas Sessões"
|
||||
level: "Nível"
|
||||
# social_network_apis: "Social Network APIs"
|
||||
# facebook_status: "Facebook Status"
|
||||
# facebook_friends: "Facebook Friends"
|
||||
facebook_friends: "Amigos do Facebook"
|
||||
# facebook_friend_sessions: "Facebook Friend Sessions"
|
||||
# gplus_friends: "G+ Friends"
|
||||
gplus_friends: "Amigos do Google+"
|
||||
# gplus_friend_sessions: "G+ Friend Sessions"
|
||||
# leaderboard: "Leaderboard"
|
||||
leaderboard: "Tabela de Classificação"
|
||||
# user_schema: "User Schema"
|
||||
# user_profile: "User Profile"
|
||||
# patches: "Patches"
|
||||
# patched_model: "Source Document"
|
||||
# model: "Model"
|
||||
# system: "System"
|
||||
# component: "Component"
|
||||
# components: "Components"
|
||||
# thang: "Thang"
|
||||
# thangs: "Thangs"
|
||||
# level_session: "Your Session"
|
||||
# opponent_session: "Opponent Session"
|
||||
# article: "Article"
|
||||
system: "Sistema"
|
||||
component: "Componente"
|
||||
components: "Componentes"
|
||||
thang: "Thang"
|
||||
thangs: "Thangs"
|
||||
level_session: "A Sua Sessão"
|
||||
opponent_session: "Sessão Do Oponente"
|
||||
article: "Artigo"
|
||||
# user_names: "User Names"
|
||||
# thang_names: "Thang Names"
|
||||
# files: "Files"
|
||||
|
@ -900,7 +906,7 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription:
|
|||
# sprite_sheet: "Sprite Sheet"
|
||||
# candidate_sessions: "Candidate Sessions"
|
||||
# user_remark: "User Remark"
|
||||
# versions: "Versions"
|
||||
versions: "Versões"
|
||||
|
||||
# delta:
|
||||
# added: "Added"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "português", englishDescription: "Portugues
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Escolha seu estágio"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman
|
|||
for_beginners: "Pentru Începători"
|
||||
multiplayer: "Multiplayer"
|
||||
for_developers: "Pentru dezvoltatori"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Alege nivelul"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi
|
|||
for_beginners: "Новичкам"
|
||||
multiplayer: "Мультиплеер"
|
||||
for_developers: "Разработчикам"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Выберите ваш уровень"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "slovenčina", englishDescription: "Slovak",
|
|||
for_beginners: "Pre začiatočníkov"
|
||||
# multiplayer: "Multiplayer"
|
||||
for_developers: "Pre vývojárov"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Vyber si úroveň"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "slovenščina", englishDescription: "Sloven
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "српски", englishDescription: "Serbian
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Изабери ниво"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", tr
|
|||
for_beginners: "För nybörjare"
|
||||
multiplayer: "Flera spelare"
|
||||
for_developers: "För utvecklare"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Välj din nivå"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "ไทย", englishDescription: "Thai", tra
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Türkçe", englishDescription: "Turkish", t
|
|||
for_beginners: "Yeni Başlayanlar için"
|
||||
multiplayer: "Çoklu-oyuncu Modu"
|
||||
for_developers: "Geliştiriciler için"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Seviye Seçimi"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "українська мова", englishDesc
|
|||
for_beginners: "Для новачків"
|
||||
multiplayer: "Командна гра"
|
||||
for_developers: "Для розробників"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Оберіть свій рівень"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "اُردُو", englishDescription: "Urdu",
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietn
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "Chọn Trình của bạn"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "简体中文", englishDescription: "Chinese
|
|||
for_beginners: "适合初学者"
|
||||
multiplayer: "多人游戏"
|
||||
for_developers: "适合开发者"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "选择关卡"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "繁体中文", englishDescription: "Chinese
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "選取關卡"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "吴语", englishDescription: "Wuu (Simplifi
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
# play:
|
||||
# choose_your_level: "Choose Your Level"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "吳語", englishDescription: "Wuu (Traditio
|
|||
for_beginners: "適合學起頭個人"
|
||||
multiplayer: "聚隊打遊戲"
|
||||
for_developers: "適合開發個人"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "揀關數"
|
||||
|
|
|
@ -100,6 +100,12 @@ module.exports = nativeDescription: "中文", englishDescription: "Chinese", tra
|
|||
# for_beginners: "For Beginners"
|
||||
# multiplayer: "Multiplayer"
|
||||
# for_developers: "For Developers"
|
||||
# javascript_blurb: "The language of the web. Great for writing websites, web apps, HTML5 games, and servers."
|
||||
# python_blurb: "Simple yet powerful, Python is a great general purpose programming language."
|
||||
# coffeescript_blurb: "Nicer JavaScript syntax."
|
||||
# clojure_blurb: "A modern Lisp."
|
||||
# lua_blurb: "Game scripting language."
|
||||
# io_blurb: "Simple but obscure."
|
||||
|
||||
play:
|
||||
choose_your_level: "选取难度"
|
||||
|
|
|
@ -13,8 +13,10 @@ class CocoModel extends Backbone.Model
|
|||
|
||||
getMe: -> @me or @me = require('lib/auth').me
|
||||
|
||||
initialize: ->
|
||||
super()
|
||||
initialize: (attributes, options) ->
|
||||
super(arguments...)
|
||||
options ?= {}
|
||||
@setProjection options.project
|
||||
if not @constructor.className
|
||||
console.error("#{@} needs a className set.")
|
||||
@addSchemaDefaults()
|
||||
|
@ -22,6 +24,8 @@ class CocoModel extends Backbone.Model
|
|||
@on 'error', @onError, @
|
||||
@on 'add', @onLoaded, @
|
||||
@saveBackup = _.debounce(@saveBackup, 500)
|
||||
|
||||
setProjection: (@project) ->
|
||||
|
||||
type: ->
|
||||
@constructor.className
|
||||
|
@ -116,8 +120,11 @@ class CocoModel extends Backbone.Model
|
|||
console.debug 'Patching', @get('name') or @, keys
|
||||
@save(attrs, options)
|
||||
|
||||
fetch: ->
|
||||
@jqxhr = super(arguments...)
|
||||
fetch: (options) ->
|
||||
options ?= {}
|
||||
options.data ?= {}
|
||||
options.data.project = @project.join(',') if @project
|
||||
@jqxhr = super(options)
|
||||
@loading = true
|
||||
@jqxhr
|
||||
|
||||
|
|
|
@ -230,12 +230,14 @@ _.extend LevelSchema.properties,
|
|||
title: 'Next Level',
|
||||
description: 'Reference to the next level players will play after beating this one.'
|
||||
}
|
||||
employerDescription: { type:'string', format: 'markdown', title: 'Employer Description' }
|
||||
scripts: c.array {title: 'Scripts', description: 'An array of scripts that trigger based on what the player does and affect things outside of the core level simulation.', 'default': []}, ScriptSchema
|
||||
thangs: c.array {title: 'Thangs', description: 'An array of Thangs that make up the level.', 'default': []}, LevelThangSchema
|
||||
systems: c.array {title: 'Systems', description: 'Levels are configured by changing the Systems attached to them.', uniqueItems: true, default: []}, LevelSystemSchema # TODO: uniqueness should be based on 'original', not whole thing
|
||||
victory: c.object {title: 'Victory Screen', default: {}, properties: {'body': {type: 'string', format: 'markdown', title: 'Body Text', description: 'Inserted into the Victory Modal once this level is complete. Tell the player they did a good job and what they accomplished!'}, i18n: {type: 'object', format: 'i18n', props: ['body'], description: 'Help translate this victory message'}}}
|
||||
i18n: {type: 'object', format: 'i18n', props: ['name', 'description'], description: 'Help translate this level'}
|
||||
icon: {type: 'string', format: 'image-file', title: 'Icon'}
|
||||
banner: {type: 'string', format: 'image-file', title: 'Banner'}
|
||||
goals: c.array {title: 'Goals', description: 'An array of goals which are visible to the player and can trigger scripts.'}, GoalSchema
|
||||
type: c.shortString(title: 'Type', description: 'What kind of level this is.', 'enum': ['campaign', 'ladder', 'ladder-tutorial'])
|
||||
showsGuide: c.shortString(title: 'Shows Guide', description: 'If the guide is shown at the beginning of the level.', 'enum': ['first-time', 'always'])
|
||||
|
|
|
@ -13,7 +13,7 @@ LevelSessionPlayerSchema = c.object
|
|||
changes:
|
||||
type: 'Number'
|
||||
|
||||
LevelSessionLevelSchema = c.object {required: ['original', 'majorVersion']},
|
||||
LevelSessionLevelSchema = c.object {required: ['original', 'majorVersion'], links: [{rel: 'db', href: '/db/level/{(original)}/version/{(majorVersion)}'}]},
|
||||
original: c.objectId({})
|
||||
majorVersion:
|
||||
type: 'integer'
|
||||
|
|
17
app/schemas/models/mail_sent.coffee
Normal file
|
@ -0,0 +1,17 @@
|
|||
c = require './../schemas'
|
||||
#This will represent transactional emails which have been sent
|
||||
|
||||
MailSentSchema = c.object {
|
||||
title: 'Sent mail'
|
||||
description: 'Emails which have been sent through the system'
|
||||
}
|
||||
_.extend MailSentSchema.properties,
|
||||
mailTask: c.objectId {}
|
||||
user: c.objectId links: [{rel: 'extra', href: '/db/user/{($)}'}]
|
||||
sent: c.date title: 'Sent', readOnly: true
|
||||
metadata: c.object {}, {}
|
||||
|
||||
c.extendBasicProperties MailSentSchema, 'mail.sent'
|
||||
|
||||
module.exports = MailSentSchema
|
||||
|
|
@ -12,7 +12,23 @@ _.extend UserRemarkSchema.properties,
|
|||
history: c.array {title: 'History', description: 'Records of our interactions with the user.'},
|
||||
c.object {title: 'Record'}, {date: c.date(title: 'Date'), content: {title: 'Content', type: 'string', format: 'markdown'}}
|
||||
tasks: c.array {title: 'Tasks', description: 'Task entries: when to email the contact about something.'},
|
||||
c.object {title: 'Task'}, {date: c.date(title: 'Date'), action: {title: 'Action', type: 'string'}}
|
||||
c.object {title: 'Task'},
|
||||
date: c.date
|
||||
title: 'Date'
|
||||
action:
|
||||
title: 'Action'
|
||||
type: 'string'
|
||||
status:
|
||||
title: 'Status'
|
||||
description: 'The current status of the task'
|
||||
type: 'string'
|
||||
enum: ['Not started', 'In progress', 'Completed']
|
||||
notes:
|
||||
title: 'Notes'
|
||||
description: 'Notes about the task in progress'
|
||||
type: 'string'
|
||||
format: 'markdown'
|
||||
|
||||
|
||||
# denormalization
|
||||
userName: {title: 'Player Name', type: 'string'}
|
||||
|
|