Merge branch 'master' into production

This commit is contained in:
Nick Winter 2014-04-24 17:56:40 -07:00
commit 162e229a80
102 changed files with 762 additions and 190 deletions

View file

@ -5,6 +5,8 @@ locale = require 'locale/locale'
Tracker = require 'lib/Tracker'
CocoView = require 'views/kinds/CocoView'
marked.setOptions {gfm: true, sanitize: true, smartLists: true, breaks: false}
# Prevent Ctrl/Cmd + [ / ], P, S
ctrlDefaultPrevented = [219, 221, 80, 83]
preventBackspace = (event) ->

View file

@ -1,5 +1,5 @@
LevelComponent = require 'models/LevelComponent'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
module.exports = class ComponentsCollection extends CocoCollection
url: '/db/level.component/search'

View file

@ -1,4 +1,4 @@
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
module.exports = class ModelFiles extends CocoCollection
constructor: (model) ->

View file

@ -1,4 +1,4 @@
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
LevelSession = require 'models/LevelSession'
module.exports = class LeaderboardCollection extends CocoCollection

View file

@ -1,5 +1,5 @@
PatchModel = require 'models/Patch'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
module.exports = class PatchesCollection extends CocoCollection
model: PatchModel

View file

@ -1,4 +1,4 @@
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
User = require 'models/User'
module.exports = class SimulatorsLeaderboardCollection extends CocoCollection

View file

@ -164,7 +164,8 @@ module.exports = class Camera extends CocoClass
target = {x: newTargetX, y:newTargetY}
else
target = @target
if not(newZoom >= MAX_ZOOM or newZoom <= Math.max(@minZoom, MIN_ZOOM))
newZoom = Math.min newZoom, MAX_ZOOM
newZoom = Math.max newZoom, MIN_ZOOM, @minZoom
@zoomTo target, newZoom, 0
onMouseDown: (e) ->

View file

@ -447,6 +447,10 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
scaleFactor = @thang.scaleFactor ? 1
pos.x *= @thang.scaleFactorX ? scaleFactor
pos.y *= @thang.scaleFactorY ? scaleFactor
# We might need to do this, but I don't have a good test case yet. TODO: figure out.
#if prop isnt @registration
# pos.x *= if @getActionProp 'flipX' then -1 else 1
# pos.y *= if @getActionProp 'flipY' then -1 else 1
pos
createMarks: ->

View file

@ -45,8 +45,10 @@ module.exports = class Label extends CocoClass
update: ->
return unless @text
offset = @sprite.getOffset? (if @style is 'dialogue' then 'mouth' else 'aboveHead')
offset = @sprite.getOffset? (if @style in ['dialogue', 'say'] then 'mouth' else 'aboveHead')
offset ?= x: 0, y: 0 # temp (if not CocoSprite)
rotation = @sprite.getRotation()
offset.x *= -1 if rotation >= 135 or rotation <= -135
@label.x = @background.x = @sprite.displayObject.x + offset.x
@label.y = @background.y = @sprite.displayObject.y + offset.y
null

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "العربية", englishDescription: "Arabi
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "العربية", englishDescription: "Arabi
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "български език", englishDescri
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Нивото не може да бъде заредено: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "български език", englishDescri
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Català", englishDescription: "Catalan", tr
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Català", englishDescription: "Catalan", tr
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "čeština", englishDescription: "Czech", tr
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Úroveň se nepodařilo otevřít: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "čeština", englishDescription: "Czech", tr
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "dansk", englishDescription: "Danish", trans
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Banen kunne ikke indlæses: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "dansk", englishDescription: "Danish", trans
new_article_title: "Opret en Ny Artikel"
# new_thang_title: "Create a New Thang Type"
new_level_title: "Opret en Ny Bane"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Søg Artikler Her"
# thang_search_title: "Search Thang Types Here"
level_search_title: "Søg Baner Her"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Deutsch (Österreich)", englishDescription:
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Deutsch (Österreich)", englishDescription:
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Deutsch (Schweiz)", englishDescription: "Ge
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Deutsch (Schweiz)", englishDescription: "Ge
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription:
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Level konnte nicht geladen werden: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription:
new_article_title: "Erstelle einen neuen Artikel"
# new_thang_title: "Create a New Thang Type"
new_level_title: "Erstelle ein neues Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Deutsch", englishDescription: "German", tra
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Level konnte nicht geladen werden: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Deutsch", englishDescription: "German", tra
new_article_title: "Erstelle einen neuen Artikel"
# new_thang_title: "Create a New Thang Type"
new_level_title: "Erstelle ein neues Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "ελληνικά", englishDescription: "Gre
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Το επίπεδο δεν μπόρεσε να φορτωθεί: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "ελληνικά", englishDescription: "Gre
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "English (AU)", englishDescription: "English
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "English (AU)", englishDescription: "English
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "English (UK)", englishDescription: "English
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "English (UK)", englishDescription: "English
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "English (US)", englishDescription: "English
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "English (US)", englishDescription: "English
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@
candidate_top_skills: "Top Skills"
candidate_years_experience: "Yrs Exp"
candidate_last_updated: "Last Updated"
candidate_approved: "Us?"
candidate_active: "Them?"
play_level:
level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@
new_article_title: "Create a New Article"
new_thang_title: "Create a New Thang Type"
new_level_title: "Create a New Level"
new_article_title_signup: "Sign Up to Create a New Article"
new_thang_title_signup: "Sign Up to Create a New Thang Type"
new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Search Articles Here"
thang_search_title: "Search Thang Types Here"
level_search_title: "Search Levels Here"
signup_to_create: "Sign Up to Create a New Content"
read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "español (América Latina)", englishDescrip
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "El nivel no puede ser cargado: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "español (América Latina)", englishDescrip
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "español (ES)", englishDescription: "Spanis
candidate_top_skills: "Mejores Habilidades"
candidate_years_experience: "Años Exp"
candidate_last_updated: "Última actualización"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "No se pudo cargar el nivel: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "español (ES)", englishDescription: "Spanis
new_article_title: "Crear un nuevo artículo"
new_thang_title: "Crea un nuevo tipo de objeto"
new_level_title: "Crear un nuevo nivel"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Buscar artículos aquí"
thang_search_title: "Busca tipos de objetos aquí"
level_search_title: "Buscar niveles aquí"
signup_to_create: "Regístrate para crear nuevo contenido"
read_only_warning2: "Nota: no puedes guardar nada de lo que edites aqui porque no has iniciado sesión."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "español", englishDescription: "Spanish", t
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "No se pudo cargar el nivel: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "español", englishDescription: "Spanish", t
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "فارسی", englishDescription: "Persian",
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "فارسی", englishDescription: "Persian",
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "français", englishDescription: "French", t
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Le niveau ne peut pas être chargé: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "français", englishDescription: "French", t
new_article_title: "Créer un nouvel article"
new_thang_title: "Créer un nouveau Type Thang"
new_level_title: "Créer un nouveau niveau"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Rechercher dans les articles"
thang_search_title: "Rechercher dans les types Thang"
level_search_title: "Rechercher dans les niveaux"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "עברית", englishDescription: "Hebrew",
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "עברית", englishDescription: "Hebrew",
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "मानक हिन्दी", englishDe
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "मानक हिन्दी", englishDe
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", t
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
candidate_last_updated: "Legutóbb napra-készre hozva"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "A pályát nem sikerült betölteni: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", t
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Bahasa Indonesia", englishDescription: "Ind
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Bahasa Indonesia", englishDescription: "Ind
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Italiano", englishDescription: "Italian", t
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Il livello non può essere caricato: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Italiano", englishDescription: "Italian", t
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
candidate_top_skills: "得意分野"
candidate_years_experience: "経験年数"
candidate_last_updated: "最終更新日時"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "レベルがロード出来ませんでした: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "레벨 로딩 실패 : "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t
new_article_title: "새로운 기사 작성"
new_thang_title: "새로운 Thang type 시작"
new_level_title: "새로운 레벨 시작"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "기사들은 여기에서 찾으세요"
thang_search_title: "Thang 타입들은 여기에서 찾으세요"
level_search_title: "레벨들은 여기에서 찾으세요"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "lietuvių kalba", englishDescription: "Lith
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "lietuvių kalba", englishDescription: "Lith
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Bahasa Melayu", englishDescription: "Bahasa
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Bahasa Melayu", englishDescription: "Bahasa
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Norsk Bokmål", englishDescription: "Norweg
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Nivået kunne ikke bli lastet: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Norsk Bokmål", englishDescription: "Norweg
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Nederlands (België)", englishDescription:
candidate_top_skills: "Beste vaardigheden"
candidate_years_experience: "Jaren ervaring"
candidate_last_updated: "Laatst aangepast"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Level kon niet geladen worden: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Nederlands (België)", englishDescription:
new_article_title: "Maak een Nieuw Artikel"
new_thang_title: "Maak een Nieuw Thang Type"
new_level_title: "Maak een Nieuw Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Zoek Artikels Hier"
thang_search_title: "Zoek Thang Types Hier"
level_search_title: "Zoek Levels Hier"
signup_to_create: "Registreer je om nieuwe content te maken"
read_only_warning2: "Pas op, je kunt geen aanpassingen opslaan hier, want je bent niet ingelogd."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Nederlands (Nederland)", englishDescription
candidate_top_skills: "Beste vaardigheden"
candidate_years_experience: "Jaren ervaring"
candidate_last_updated: "Laatst aangepast"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Level kon niet geladen worden: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Nederlands (Nederland)", englishDescription
new_article_title: "Maak een Nieuw Artikel"
new_thang_title: "Maak een Nieuw Thang Type"
new_level_title: "Maak een Nieuw Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Zoek Artikels Hier"
thang_search_title: "Zoek Thang Types Hier"
level_search_title: "Zoek Levels Hier"
signup_to_create: "Registreer je om nieuwe content te maken"
read_only_warning2: "Pas op, je kunt geen aanpassingen opslaan hier, want je bent niet ingelogd."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", t
candidate_top_skills: "Beste vaardigheden"
candidate_years_experience: "Jaren ervaring"
candidate_last_updated: "Laatst aangepast"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Level kon niet geladen worden: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", t
new_article_title: "Maak een Nieuw Artikel"
new_thang_title: "Maak een Nieuw Thang Type"
new_level_title: "Maak een Nieuw Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Zoek Artikels Hier"
thang_search_title: "Zoek Thang Types Hier"
level_search_title: "Zoek Levels Hier"
signup_to_create: "Registreer je om nieuwe content te maken"
read_only_warning2: "Pas op, je kunt geen aanpassingen opslaan hier, want je bent niet ingelogd."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Norwegian Nynorsk", englishDescription: "No
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Norwegian Nynorsk", englishDescription: "No
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Norsk", englishDescription: "Norwegian", tr
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Nivået kunne ikke bli lastet: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Norsk", englishDescription: "Norwegian", tr
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "język polski", englishDescription: "Polish
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Nie udało się wczytać poziomu: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "język polski", englishDescription: "Polish
new_article_title: "Stwórz nowy artykuł"
new_thang_title: "Stwórz nowy typ obiektu"
new_level_title: "Stwórz nowy poziom"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Przeszukaj artykuły"
thang_search_title: "Przeszukaj typy obiektów"
level_search_title: "Przeszukaj poziomy"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "português do Brasil", englishDescription:
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "O estágio não pôde ser carregado: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "português do Brasil", englishDescription:
new_article_title: "Criar um Novo Artigo"
new_thang_title: "Criar um Novo Tipo de Thang"
new_level_title: "Criar um Novo Nível"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Procurar Artigos Aqui"
thang_search_title: "Procurar Tipos de Thang Aqui"
level_search_title: "Procurar Níveis Aqui"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Português europeu", englishDescription: "P
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "O nível não pôde ser carregado: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Português europeu", englishDescription: "P
new_article_title: "Criar um Novo Artigo"
new_thang_title: "Criar um Novo Tipo de Thang"
new_level_title: "Criar um Novo Nível"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Procurar Artigos Aqui"
thang_search_title: "Procurar Tipos de Thang Aqui"
level_search_title: "Procurar Níveis Aqui"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "português", englishDescription: "Portugues
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "O estágio não pôde ser carregado: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "português", englishDescription: "Portugues
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Nivelul nu a putut fi încărcat: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman
new_article_title: "Crează un articol nou"
new_thang_title: "Crează un nou tip de Thang"
new_level_title: "Crează un nivel nou"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Caută articole aici"
thang_search_title: "Caută tipuri de Thang aici"
level_search_title: "Caută nivele aici"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi
candidate_top_skills: "Лучшие навыки"
candidate_years_experience: "Лет опыта"
candidate_last_updated: "Последнее обновление"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Уровень не может быть загружен: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi
new_article_title: "Создать новую статью"
new_thang_title: "Создать новый тип объектов"
new_level_title: "Создать новый уровень"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Искать статьи"
thang_search_title: "Искать типы объектов"
level_search_title: "Искать уровни"
signup_to_create: "Авторизуйтесь для создания нового контента"
read_only_warning2: "Примечание: вы не можете сохранять любые правки здесь, потому что вы не авторизованы."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "slovenčina", englishDescription: "Slovak",
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "slovenčina", englishDescription: "Slovak",
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "slovenščina", englishDescription: "Sloven
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "slovenščina", englishDescription: "Sloven
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "српски", englishDescription: "Serbian
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Ниво није могао бити учитан: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "српски", englishDescription: "Serbian
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", tr
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Nivån kunde inte laddas: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", tr
new_article_title: "Skapa ny artikel"
new_thang_title: "Skapa ny enhetstyp"
new_level_title: "Skapa ny nivå"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "Sök artiklar här"
thang_search_title: "Sök enhetstyper här"
level_search_title: "Sök nivåer här"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "ไทย", englishDescription: "Thai", tra
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "ไทย", englishDescription: "Thai", tra
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Türkçe", englishDescription: "Turkish", t
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Seviye yüklenemedi: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Türkçe", englishDescription: "Turkish", t
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
new_level_title: "Yeni Bir Seviye Oluştur"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
level_search_title: "Seviye ara"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "українська мова", englishDesc
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "Неможливо завантажити рівень: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "українська мова", englishDesc
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "اُردُو", englishDescription: "Urdu",
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "اُردُو", englishDescription: "Urdu",
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietn
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietn
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "简体中文", englishDescription: "Chinese
candidate_top_skills: "高级技能"
candidate_years_experience: "多年工作经验"
candidate_last_updated: "最后一次更新"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "关卡不能载入: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "简体中文", englishDescription: "Chinese
new_article_title: "创建一个新物品"
new_thang_title: "创建一个新物品类型"
new_level_title: "创建一个新关卡"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
article_search_title: "在这里搜索物品"
thang_search_title: "在这里搜索物品类型"
level_search_title: "在这里搜索关卡"
signup_to_create: "注册之后就可以创建一个新的关卡"
read_only_warning2: "提示:你不能保存任何编辑,因为你没有登陆"
article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "繁体中文", englishDescription: "Chinese
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
play_level:
level_load_error: "載入關卡時發生錯誤: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "繁体中文", englishDescription: "Chinese
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -204,6 +204,8 @@ module.exports = nativeDescription: "中文", englishDescription: "Chinese", tra
# candidate_top_skills: "Top Skills"
# candidate_years_experience: "Yrs Exp"
# candidate_last_updated: "Last Updated"
# candidate_approved: "Us?"
# candidate_active: "Them?"
# play_level:
# level_load_error: "Level could not be loaded: "
@ -370,10 +372,12 @@ module.exports = nativeDescription: "中文", englishDescription: "Chinese", tra
# new_article_title: "Create a New Article"
# new_thang_title: "Create a New Thang Type"
# new_level_title: "Create a New Level"
# new_article_title_signup: "Sign Up to Create a New Article"
# new_thang_title_signup: "Sign Up to Create a New Thang Type"
# new_level_title_signup: "Sign Up to Create a New Level"
# article_search_title: "Search Articles Here"
# thang_search_title: "Search Thang Types Here"
# level_search_title: "Search Levels Here"
# signup_to_create: "Sign Up to Create a New Content"
# read_only_warning2: "Note: you can't save any edits here, because you're not logged in."
# article:

View file

@ -130,7 +130,7 @@ NoteGroupSchema = c.object {title: "Note Group", description: "A group of notes
surface: c.object {title: "Surface", description: "Commands to issue to the Surface itself."},
focus: c.object {title: "Camera", description: "Focus the camera on a specific point on the Surface.", format:'viewport'},
target: {anyOf: [PointSchema, thang, {type: 'null'}], title: "Target", description: "Where to center the camera view."}
target: {anyOf: [PointSchema, thang, {type: 'null'}], title: "Target", description: "Where to center the camera view.", default: {x:0, y:0}}
zoom: {type: 'number', minimum: 0, exclusiveMinimum: true, maximum: 64, title: "Zoom", description: "What zoom level to use."}
duration: {type:'number', minimum: 0, title: "Duration", description: "in ms"}
bounds: c.array {title:'Boundary', maxItems: 2, minItems: 2, default:[{x:0,y:0}, {x:46, y:39}], format: 'bounds'}, PointSchema

View file

@ -85,10 +85,6 @@
padding-top: 6px
.treema-image-file
.btn:after
content: "Upload Picture"
margin-left: 20px
img
display: block
clear: both

View file

@ -1,6 +1,14 @@
#editor-level-components-tab-view
h3
margin-top: 0
@media screen and (max-width: 800px)
display: none
.toggle
padding: 6px 8px
z-index: 11
margin-top: 1px
margin-left: 2px
.components-container
position: absolute
@ -17,6 +25,9 @@
.treema-children .treema-row *
cursor: pointer !important
#components-treema
z-index: 11
.edit-component-container
margin-left: 290px
position: absolute
@ -24,6 +35,14 @@
left: 0px
top: 0
bottom: 0
@media screen and (max-width: 800px)
margin-left: 0px
.nav-tabs
margin-left: 80px
li
z-index: 11
.treema-root
position: absolute
@ -37,3 +56,18 @@
position: absolute
top: 0
right: 0
left: auto
@media screen and (max-width: 800px)
left: 40px
top: 1px
bottom: auto
padding: 8px 10px
.text
display: block
@media screen and (max-width: 800px)
display: none
[class^='icon-']
display: none
@media screen and (max-width: 800px)
display: block

View file

@ -1,6 +1,6 @@
#editor-level-view
&, #level-editor-top-nav
min-width: 1024px
// min-width: 1024px
a
font-family: helvetica, arial, sans serif
@ -14,6 +14,26 @@
$BG: rgba(228, 207, 140, 1.0)
$NAVBG: #2f261d
.dropdown-menu
position: absolute
background-color: #FFF
border: 1px solid rgba(0, 0, 0, 0.15)
border-radius: 4px
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176)
left: 0px
right: auto
li a
color: #555
padding: 3px 20px
.navbar-nav
float: left
margin: 0
> li
float: left
li.navbar-btn
margin-right: 5px
@ -29,6 +49,11 @@
.navbar-right
// not sure why bootstrap puts a big negative margin in, but this overrides it
margin-right: 10px
float: right
.dropdown-menu
right: 0px
left: auto
// custom navbar styling
.navbar-brand
@ -40,15 +65,46 @@
border-right: 2px solid lighten($NAVBG, 20%)
background: lighten($NAVBG, 10%)
margin-left: 20px
float: left
.nav-tabs
margin-left: 5px
border-bottom: 0 !important
li
float: left
display: block
@media only screen and (max-width: 800px)
li
float: none
display: none
z-index: 12
a
background-color: $BG
border-color: darken($BG, 50%)
border-width: 0px 1px
border-radius: 0px
li:first-child > a
border-radius: 5px 5px 0px 0px
border-top-width: 1px
li:last-child > a
border-radius: 0px 0px 5px 5px
border-bottom-width: 1px
li.active
display: block
.active > a, .active > a:hover, .active > a:focus
background-color: $BG !important
border-color: darken($BG, 50%)
border-bottom: 0
a
padding: 7px 5px !important
.dropdown-menu a
cursor: pointer
&:hover

View file

@ -1,5 +1,11 @@
#editor-level-scripts-tab-view
.toggle
z-index: 11
margin-top: -10px
margin-left: -10px
float: left
.treema-script
cursor: pointer
@ -9,9 +15,15 @@
bottom: 0
width: 250px
overflow: scroll
@media screen and (max-width: 800px)
top: 40px
z-index: 11
#script-treema
margin-left: 290px
max-height: 100%
overflow: scroll
box-sizing: border-box
@media screen and (max-width: 800px)
margin-left: 30px
top: -50px

View file

@ -1,2 +1,5 @@
#editor-level-settings-tab-view
color: black
.treema-value img
width: 100%

View file

@ -1,6 +1,14 @@
#editor-level-systems-tab-view
h3
margin-top: 0
@media screen and (max-width: 800px)
display: none
.toggle
padding: 6px 8px
z-index: 11
margin-top: 0px
margin-left: 2px
.systems-container
position: absolute
@ -13,6 +21,9 @@
bottom: 0
width: 250px
overflow: scroll
@media screen and (max-width: 800px)
z-index: 10
bottom: -35px
.treema-children .treema-row *
cursor: pointer !important
@ -21,6 +32,21 @@
position: absolute
bottom: 0
left: 170px
top: auto
@media screen and (max-width: 800px)
left: 40px
top: 1px
bottom: auto
padding: 8px 10px
.text
display: block
@media screen and (max-width: 800px)
display: none
[class^='icon-']
display: none
@media screen and (max-width: 800px)
display: block
.edit-system-container
margin-left: 290px
@ -29,6 +55,14 @@
left: 0px
top: 0
bottom: 0
@media screen and (max-width: 800px)
margin-left: 0px
.nav-tabs
margin-left: 120px
li
z-index: 11
.treema-root
position: absolute
@ -42,3 +76,17 @@
position: absolute
top: 0
right: 0
left: auto
@media screen and (max-width: 800px)
left: 80px
top: 1px
bottom: auto
padding: 8px 10px
.text
display: block
@media screen and (max-width: 800px)
display: none
[class^='icon-']
display: none
@media screen and (max-width: 800px)
display: block

View file

@ -1,5 +1,7 @@
@import "../../bootstrap/mixins"
$mobile: 1050px
#editor-level-thangs-tab-view
$addPaletteIconColumns: 3
$extantThangsWidth: 300px
@ -8,12 +10,60 @@
$addPaletteIconMargin: 2px
$addPaletteWidth: ($addPaletteIconWidth + 2 * $addPaletteIconPadding + 2 * $addPaletteIconMargin) * $addPaletteIconColumns + 20
#toggle
display: none
position: absolute
z-index: 11
left: -14px
@media screen and (max-width: $mobile)
display: block
.toggle
left: 0
.toggle
display: none
float: none
z-index: 11
position: absolute
right: -14px
z-index: 11
margin: 0
padding: 8px
@media screen and (max-width: $mobile)
display: block
.thangs-column
background-color: #E4CF8C
@media screen and (max-width: $mobile)
display: block
h3
@media screen and (max-width: $mobile)
display: none
#all-thangs
display: block
@media screen and (max-width: $mobile)
display: none
.thangs-container
width: $extantThangsWidth
position: absolute
left: 0
top: 0
bottom: 0
z-index: 11
@media screen and (max-width: $mobile)
width: auto
left: 18px
bottom: -18px
.btn-group
margin: 0
@media screen and (max-width: $mobile)
margin: 5px
h3
margin: 0 -20px 0 0
@ -25,6 +75,10 @@
right: 0
bottom: 0
overflow: scroll
margin: 0
@media screen and (max-width: $mobile)
margin: 5px
top: 40px
&.hide-except-Unit
.treema-node
@ -62,11 +116,15 @@
.world-container
margin-left: $extantThangsWidth
margin-right: $addPaletteWidth
@media screen and (max-width: $mobile)
margin-left: 0
margin-right: 0
padding: 0 20px
box-sizing: border-box
h3
margin: 0 -10px 0 0
text-align: center
.add-thangs-palette
width: $addPaletteWidth
@ -75,6 +133,20 @@
right: 0
top: 0
bottom: 0
@media screen and (max-width: $mobile)
display: none
right: 18px
z-index: 11
width: $addPaletteWidth + 10
bottom: -15px
//height: auto
//padding-bottom: 10px
input
width: $addPaletteWidth
margin: 0
@media screen and (max-width: $mobile)
margin: 0 5px
#thangs-list
position: relative
@ -83,6 +155,9 @@
bottom: 10px
overflow: scroll
height: 100%
margin: 0
@media screen and (max-width: $mobile)
margin: 0 5px
h3
margin: 0 -20px 0 0

View file

@ -27,3 +27,10 @@
margin: 2px 0
display: inline-block
text-transform: lowercase
td:nth-child(3) select
min-width: 100px
td:nth-child(6) select
min-width: 50px
td:nth-child(7) select
min-width: 100px

View file

@ -125,7 +125,7 @@
background-position-x: -6 * $iconSize
&.prop-label-icon-maxSpeed
background-position-x: -7 * $iconSize
&.prop-label-icon-gold
&.prop-label-icon-gold, &.prop-label-icon-bountyGold
background-position-x: -8 * $iconSize
.prop-value.bar-prop

View file

@ -19,20 +19,6 @@
box-sizing: border-box
padding: 5px
.treema-node a.btn
height: 17px
display: inline-block
position: relative
width: 20px
padding: 0
float: left
margin-right: 2px
i
position: absolute
top: 1px
left: 3px
.treema-selection-map
position: fixed
top: 0

View file

@ -103,6 +103,7 @@ block content
each project in profile.projects
if project.name
li
if project.link && project.link.length && project.link != 'http://example.com'
a(href=project.link)
if project.picture
.project-image(style="background-image: url('/file/" + project.picture + "')")

View file

@ -1,9 +1,13 @@
.components-container
h3(data-i18n="editor.level_component_tab_title") Current Components
button.navbar-toggle.toggle.btn-primary(type="button" data-toggle="collapse" data-target="#components-treema")
span.icon-list
#components-treema
.edit-component-container
if me.isAdmin()
button(data-i18n="editor.level_component_btn_new").btn.btn-primary#create-new-component-button-no-select Create New Component
button.btn.btn-primary#create-new-component-button-no-select
span.icon-plus
span.text(data-i18n="editor.level_component_btn_new") Create New Component
#editor-level-component-edit-view

View file

@ -15,8 +15,8 @@ block header
li
a(href="/editor/level")
span.glyphicon-home.glyphicon
ul.nav.navbar-nav.nav-tabs
ul.nav.navbar-nav.nav-tabs
li.active
a(href="#editor-level-thangs-tab-view", data-toggle="tab", data-i18n="editor.level_tab_thangs") Thangs
li

View file

@ -1,3 +1,6 @@
button.navbar-toggle.toggle.btn-primary(type="button", data-toggle="collapse", data-target="#scripts-treema")
span.icon-list
#scripts-treema
#script-treema

View file

@ -1,11 +1,17 @@
.systems-container
button.navbar-toggle.toggle.btn-primary(type="button" data-toggle="collapse" data-target="#systems-treema")
span.icon-list
h3(data-i18n="editor.level_systems_tab_title") Current Systems
#systems-treema
.edit-system-container
if me.isAdmin()
button(data-i18n="editor.level_systems_btn_new").btn.btn-primary#create-new-system-button Create New System
button.btn.btn-primary#create-new-system-button
span.icon-file
span.text(data-i18n="editor.level_systems_btn_new") Create New System
#editor-level-system-edit-view
button(data-i18n="editor.level_systems_btn_add").btn.btn-primary#add-system-button Add System
button.btn.btn-primary#add-system-button
span.icon-plus
span.text(data-i18n="editor.level_systems_btn_add") Add System

View file

@ -1,4 +1,9 @@
.thangs-container.thangs-column
div#toggle
button.navbar-toggle.toggle.btn-primary#thangs-container-toggle(type="button", data-toggle="collapse", data-target="#all-thangs")
span.icon-list
button.navbar-toggle.toggle.btn-primary#thangs-palette-toggle(type="button", data-toggle="collapse", data-target="#add-thangs-column")
span.icon-plus
.thangs-container.thangs-column#all-thangs
h3(data-i18n="editor.level_tab_thangs_title") Current Thangs
.btn-group(data-toggle="buttons-radio")#extant-thangs-filter
button.btn.btn-primary(data-i18n="editor.level_tab_thangs_all") All

View file

@ -27,8 +27,8 @@ block content
th(data-i18n="employers.candidate_years_experience") Yrs Exp
th(data-i18n="employers.candidate_last_updated") Last Updated
if me.isAdmin()
th?
th ಥ_ಥ
th(data-i18n="employers.candidate_us") Us?
th(data-i18n="employers.candidate_them") Them?
tbody
for candidate, index in candidates
@ -53,13 +53,13 @@ block content
code= skill
span
td= profile.experience
td= moment(profile.updated).fromNow()
td(data-profile-age=(new Date() - new Date(profile.updated)) / 86400 / 1000)= moment(profile.updated).fromNow()
if me.isAdmin()
if candidate.get('jobProfileApproved')
td ✓
else
td ✗
if profile.active
td ᶘ ᵒᴥᵒᶅ
td
else
td ⨂_⨂
td

View file

@ -9,7 +9,7 @@ block content
| #{currentEditor}
if me.get('anonymous')
a.btn.btn-primary.open-modal-button(data-toggle="coco-modal", data-target="modal/signup", role="button", data-i18n="editor.signup_to_create") Sign Up to Create a New Content
a.btn.btn-primary.open-modal-button(data-toggle="coco-modal", data-target="modal/signup", role="button", data-i18n="#{currentNewSignup}") Sign Up to Create a New Content
else
a.btn.btn-primary.open-modal-button(href='#new-model-modal', role="button", data-toggle="modal", data-i18n="#{currentNew}") Create a New Something
input#search(data-i18n="[placeholder]#{currentSearch}")

View file

@ -1,5 +1,5 @@
CocoModel = require 'models/CocoModel'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
{me} = require('lib/auth')
locale = require 'locale/locale'
@ -28,7 +28,7 @@ class LiveEditingMarkup extends TreemaNode.nodeMap.ace
valEl.append(
$('<div></div>').append(
$('<button>Pick Image</button>')
.addClass('btn')
.addClass('btn btn-sm btn-primary')
.click(=> filepicker.pick @onFileChosen)
)
)
@ -70,19 +70,19 @@ class SoundFileTreema extends TreemaNode.nodeMap.string
buildValueForDisplay: (valEl) ->
mimetype = "audio/#{@keyForParent}"
pickButton = $('<a class="btn"><i class="icon-upload"></i></a>')
pickButton = $('<a class="btn btn-primary btn-xs"><span class="glyphicon glyphicon-upload"></span></a>')
.click(=> filepicker.pick {mimetypes:[mimetype]}, @onFileChosen)
playButton = $('<a class="btn"><i class="icon-play"></i></a>')
playButton = $('<a class="btn btn-primary btn-xs"><span class="glyphicon glyphicon-play"></span></a>')
.click(@playFile)
stopButton = $('<a class="btn"><i class="icon-stop"></i></a>')
stopButton = $('<a class="btn btn-primary btn-xs"><span class="glyphicon glyphicon-stop"></span></a>')
.click(@stopFile)
dropdown = $('<div class="btn-group dropdown"></div>')
dropdownButton = $('<a></a>')
.addClass('btn dropdown-toggle')
.addClass('btn btn-primary btn-xs dropdown-toggle')
.attr('href', '#')
.append($('<span class="caret"></span>'))
.append($('<span class="glyphicon glyphicon-chevron-down"></span>'))
.dropdown()
dropdown.append dropdownButton
@ -107,7 +107,7 @@ class SoundFileTreema extends TreemaNode.nodeMap.string
if @data
valEl.append(playButton)
valEl.append(stopButton)
valEl.append(dropdown) if files.length and @canEdit()
valEl.append(dropdown) # if files.length and @canEdit()
if @data
path = @data.split('/')
name = path[path.length-1]
@ -168,7 +168,7 @@ class ImageFileTreema extends TreemaNode.nodeMap.string
buildValueForDisplay: (valEl) ->
mimetype = 'image/*'
pickButton = $('<a class="btn"><i class="icon-upload"></i></a>')
pickButton = $('<a class="btn btn-sm btn-primary"><span class="glyphicon glyphicon-upload"></span> Upload Picture</a>')
.click(=> filepicker.pick {mimetypes:[mimetype]}, @onFileChosen)
valEl.append(pickButton)

View file

@ -1,7 +1,7 @@
View = require 'views/kinds/CocoView'
add_thangs_template = require 'templates/editor/level/add_thangs'
ThangType = require 'models/ThangType'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
class ThangTypeSearchCollection extends CocoCollection
url: '/db/thang.type/search?project=true'

View file

@ -32,6 +32,7 @@ module.exports = class EditorLevelView extends View
'click #level-patch-button': 'startPatchingLevel'
'click #level-watch-button': 'toggleWatchLevel'
'click #pop-level-i18n-button': -> @level.populateI18N()
'mouseup .nav-tabs > li a': 'toggleTab'
constructor: (options, @levelID) ->
super options
@ -133,3 +134,13 @@ module.exports = class EditorLevelView extends View
button = @$el.find('#level-watch-button')
@level.watch(button.find('.watch').is(':visible'))
button.find('> span').toggleClass('secret')
toggleTab: (e) ->
return unless $(document).width() <= 800
li = $(e.target).closest('li')
if li.hasClass('active')
li.parent().find('li').show()
else
li.parent().find('li').hide()
li.show()
console.log li.hasClass('active')

View file

@ -2,7 +2,7 @@ View = require 'views/kinds/ModalView'
template = require 'templates/editor/level/system/add'
availableSystemTemplate = require 'templates/editor/level/system/available_system'
LevelSystem = require 'models/LevelSystem'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
class LevelSystemSearchCollection extends CocoCollection
url: '/db/level_system/search'

View file

@ -4,7 +4,7 @@ thangs_template = require 'templates/editor/level/thangs_tab'
Level = require 'models/Level'
ThangType = require 'models/ThangType'
LevelComponent = require 'models/LevelComponent'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
{isObjectID} = require 'models/CocoModel'
Surface = require 'lib/surface/Surface'
Thang = require 'lib/world/thang'
@ -50,6 +50,9 @@ module.exports = class ThangsTabView extends View
'click #extant-thangs-filter button': 'onFilterExtantThangs'
'click #delete': 'onDeleteClicked'
'click #duplicate': 'onDuplicateClicked'
'click #thangs-container-toggle': 'toggleThangsContainer'
'click #thangs-palette-toggle': 'toggleThangsPalette'
'click .add-thang-palette-icon': 'toggleThangsPalette'
shortcuts:
'esc': 'selectAddThang'
@ -112,8 +115,12 @@ module.exports = class ThangsTabView extends View
$('#thangs-list').height('100%')
thangsHeaderHeight = $('#thangs-header').height()
oldHeight = $('#thangs-list').height()
if $(document).width() < 1050
$('#thangs-list').height(oldHeight - thangsHeaderHeight - 40)
else
$('#thangs-list').height(oldHeight - thangsHeaderHeight - 80)
afterRender: ->
return if @startsLoading
super()
@ -451,6 +458,14 @@ module.exports = class ThangsTabView extends View
e.target = $(".add-thang-palette-icon[data-thang-type='" + thang + "']").get 0
@selectAddThang e
toggleThangsContainer: (e) ->
$('#all-thangs').toggle()
toggleThangsPalette: (e) ->
$('#add-thangs-column').toggle()
@onWindowResize e
class ThangsNode extends TreemaNode.nodeMap.array
valueClass: 'treema-array-replacement'
getChildren: ->

View file

@ -1,7 +1,7 @@
WorldSelectModal = require './modal/world_select'
ThangType = require '/models/ThangType'
makeButton = -> $('<a class="btn treema-map-button"><i class="icon-screenshot"></i></a>')
makeButton = -> $('<a class="btn btn-primary btn-xs treema-map-button"><span class="glyphicon glyphicon-screenshot"></span></a>')
shorten = (f) -> parseFloat(f.toFixed(1))
WIDTH = 1848
@ -13,11 +13,11 @@ module.exports.WorldPointNode = class WorldPointNode extends TreemaNode.nodeMap.
buildValueForDisplay: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
buildValueForEditing: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
onClick: (e) ->
btn = $(e.target).closest('.treema-map-button')
@ -44,11 +44,11 @@ class WorldRegionNode extends TreemaNode.nodeMap.object
buildValueForDisplay: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
buildValueForEditing: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
onClick: (e) ->
btn = $(e.target).closest('.treema-map-button')
@ -80,11 +80,11 @@ module.exports.WorldViewportNode = class WorldViewportNode extends TreemaNode.no
buildValueForDisplay: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
buildValueForEditing: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
onClick: (e) ->
btn = $(e.target).closest('.treema-map-button')
@ -121,11 +121,11 @@ module.exports.WorldBoundsNode = class WorldBoundsNode extends TreemaNode.nodeMa
buildValueForDisplay: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
buildValueForEditing: (valEl) ->
super(valEl)
valEl.prepend(makeButton())
valEl.find('.treema-shortened').prepend(makeButton())
onClick: (e) ->
btn = $(e.target).closest('.treema-map-button')

View file

@ -2,7 +2,7 @@ View = require 'views/kinds/RootView'
template = require 'templates/employers'
app = require 'application'
User = require 'models/User'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
EmployerSignupView = require 'views/modal/employer_signup_modal'
class CandidatesCollection extends CocoCollection
@ -56,27 +56,105 @@ module.exports = class EmployersView extends View
even: "" # odd row zebra striping
odd: "" # even row zebra striping
# e = exact text from cell
# n = normalized value returned by the column parser
# f = search filter input value
# i = column index
# $r = ???
filterSelectExactMatch = (e, n, f, i, $r) -> e is f
# call the tablesorter plugin and apply the uitheme widget
@$el.find(".tablesorter").tablesorter(
@$el.find(".tablesorter").tablesorter
theme: "bootstrap"
widthFixed: true
headerTemplate: "{content} {icon}"
textSorter:
6: (a, b, direction, column, table) ->
days = []
for s in [a, b]
n = parseInt s
n = 0 unless _.isNumber n
for [duration, factor] in [
[/second/i, 1 / (86400 * 1000)]
[/minute/i, 1 / 1440]
[/hour/i, 1 / 24]
[/week/i, 7]
[/month/i, 30.42]
[/year/i, 365.2425]
]
if duration.test s
n *= factor
break
if /^in /i.test s
n *= -1
days.push n
days[0] - days[1]
sortList: [[6, 0]]
# widget code contained in the jquery.tablesorter.widgets.js file
# use the zebra stripe widget if you plan on hiding any rows (filter widget)
widgets: [
"uitheme"
"zebra"
]
widgets: ["uitheme", "zebra", "filter"]
widgetOptions:
# using the default zebra striping class name, so it actually isn't included in the theme variable above
# this is ONLY needed for bootstrap theming if you are using the filter widget, because rows are hidden
zebra: [
"even"
"odd"
]
# reset filters button
zebra: ["even", "odd"]
# extra css class applied to the table row containing the filters & the inputs within that row
filter_cssFilter: ""
# If there are child rows in the table (rows with class name from "cssChildRow" option)
# and this option is true and a match is found anywhere in the child row, then it will make that row
# visible; default is false
filter_childRows: false
# if true, filters are collapsed initially, but can be revealed by hovering over the grey bar immediately
# below the header row. Additionally, tabbing through the document will open the filter row when an input gets focus
filter_hideFilters: false
# Set this option to false to make the searches case sensitive
filter_ignoreCase: true
# jQuery selector string of an element used to reset the filters
filter_reset: ".reset"
)
# Use the $.tablesorter.storage utility to save the most recent filters
filter_saveFilters: true
# Delay in milliseconds before the filter widget starts searching; This option prevents searching for
# every character while typing and should make searching large tables faster.
filter_searchDelay: 150
# Set this option to true to use the filter to find text from the start of the column
# So typing in "a" will find "albert" but not "frank", both have a's; default is false
filter_startsWith: false
filter_functions:
2:
"Full-time": filterSelectExactMatch
"Part-time": filterSelectExactMatch
"Contracting": filterSelectExactMatch
"Remote": filterSelectExactMatch
"Internship": filterSelectExactMatch
5:
"0-1": (e, n, f, i, $r) -> n <= 1
"2-5": (e, n, f, i, $r) -> 2 <= n <= 5
"6+": (e, n, f, i, $r) -> 6 <= n
6:
"Last day": (e, n, f, i, $r) ->
days = parseFloat $($r.find('td')[i]).data('profile-age')
days <= 1
"Last week": (e, n, f, i, $r) ->
days = parseFloat $($r.find('td')[i]).data('profile-age')
days <= 7
"Last 4 weeks": (e, n, f, i, $r) ->
days = parseFloat $($r.find('td')[i]).data('profile-age')
days <= 28
7:
"": filterSelectExactMatch
"": filterSelectExactMatch
8:
"": filterSelectExactMatch
"": filterSelectExactMatch
onCandidateClicked: (e) ->
id = $(e.target).closest('tr').data('candidate-id')

View file

@ -48,6 +48,7 @@ class CocoView extends Backbone.View
@subviews = {}
@listenToShortcuts()
@updateProgressBar = _.debounce @updateProgressBar, 100
@toggleModal = _.debounce @toggleModal, 100
# Backbone.Mediator handles subscription setup/teardown automatically
super options
@ -207,7 +208,6 @@ class CocoView extends Backbone.View
# Modals
toggleModal: (e) ->
return if visibleModal
if $(e.currentTarget).prop('target') is '_blank'
return true
# special handler for opening modals that are dynamically loaded, rather than static in the page. It works (or should work) like Bootstrap's modals, except use coco-modal for the data-toggle value.

View file

@ -32,14 +32,17 @@ module.exports = class SearchView extends View
when 'Level'
context.currentEditor = 'editor.level_title'
context.currentNew = 'editor.new_level_title'
context.currentNewSignup = 'editor.new_level_title_signup'
context.currentSearch = 'editor.level_search_title'
when 'Thang Type'
context.currentEditor = 'editor.thang_title'
context.currentNew = 'editor.new_thang_title'
context.currentNewSignup = 'editor.new_thang_title_signup'
context.currentSearch = 'editor.thang_search_title'
when 'Article'
context.currentEditor = 'editor.article_title'
context.currentNew = 'editor.new_article_title'
context.currentNewSignup = 'editor.new_article_title_signup'
context.currentSearch = 'editor.article_search_title'
@$el.i18n()
context

View file

@ -2,7 +2,7 @@ CocoView = require 'views/kinds/CocoView'
CocoClass = require 'lib/CocoClass'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
User = require 'models/User'
LeaderboardCollection = require 'collections/LeaderboardCollection'
{teamDataFromLevel} = require './utils'

View file

@ -1,7 +1,7 @@
RootView = require 'views/kinds/RootView'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
{teamDataFromLevel} = require './ladder/utils'
{me} = require 'lib/auth'
application = require 'application'

View file

@ -249,7 +249,7 @@ module.exports = class HUDView extends View
return null # included in the bar
context =
prop: prop
hasIcon: prop in ["health", "pos", "target", "inventory", "gold", "visualRange", "attackDamage", "attackRange", "maxSpeed"]
hasIcon: prop in ["health", "pos", "target", "inventory", "gold", "bountyGold", "visualRange", "attackDamage", "attackRange", "maxSpeed"]
hasBar: prop in ["health"]
$(prop_template(context))

View file

@ -24,7 +24,6 @@ module.exports = class DocsModal extends View
general = (article.attributes for article in general when article)
@docs = specific.concat(general)
marked.setOptions {gfm: true, sanitize: false, smartLists: true, breaks: false}
@docs = $.extend(true, [], @docs)
doc.html = marked(utils.i18n doc, 'body') for doc in @docs
doc.name = (utils.i18n doc, 'name') for doc in @docs

View file

@ -6,9 +6,6 @@ filters = require 'lib/image_filter'
{downTheChain} = require 'lib/world/world_utils'
window.Vector = require 'lib/world/vector' # So we can document it
# If we use marked somewhere else, we'll have to make sure to preserve options
marked.setOptions {gfm: true, sanitize: false, smartLists: true, breaks: true}
safeJSONStringify = (input, maxDepth) ->
recursion = (input, path, depth) ->
output = {}

View file

@ -330,7 +330,13 @@ module.exports = class SpellView extends View
# Now that that's figured out, perform the update.
# The web worker Aether won't track state, so don't have to worry about updating it
finishUpdatingAether = (aether) =>
@displayAether aether
@lastUpdatedAetherSpellThang = @spellThang
@guessWhetherFinished aether if fromCodeChange
@clearAetherDisplay()
if codeHasChangedSignificantly and not codeIsAsCast
workerMessage =
function: "transpile"
spellKey: @spell.spellKey
@ -342,14 +348,11 @@ module.exports = class SpellView extends View
@worker.removeEventListener("message",arguments.callee, false)
aether.problems = workerData.problems
aether.raw = source
@displayAether aether
@lastUpdatedAetherSpellThang = @spellThang
@guessWhetherFinished aether if fromCodeChange
finishUpdatingAether(aether)
@worker.postMessage JSON.stringify(workerMessage)
#aether.transpile source if codeHasChangedSignificantly and not codeIsAsCast
#@displayAether aether
#@lastUpdatedAetherSpellThang = @spellThang
#@guessWhetherFinished aether if fromCodeChange
else
finishUpdatingAether(aether)
clearAetherDisplay: ->
problem.destroy() for problem in @problems

View file

@ -73,7 +73,7 @@ module.exports = class TomeView extends View
delete @options.thangs
onNewWorld: (e) ->
thangs = _.filter e.world.thangs, 'isSelectable'
thangs = _.filter e.world.thangs, 'inThangList'
programmableThangs = _.filter thangs, 'isProgrammable'
@createSpells programmableThangs, e.world
@thangList.adjustThangs @spells, thangs

View file

@ -1,7 +1,7 @@
View = require 'views/kinds/RootView'
template = require 'templates/play'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'models/CocoCollection'
CocoCollection = require 'collections/CocoCollection'
class LevelSessionsCollection extends CocoCollection
url: ''

View file

@ -332,7 +332,7 @@ module.exports = class Handler
res = tv4.validateMultiple(input, @jsonSchema)
res
@isID: (id) -> _.isString(id) and id.length is 24 and id.match(/[a-z0-9]/gi)?.length is 24
@isID: (id) -> _.isString(id) and id.length is 24 and id.match(/[a-f0-9]/gi)?.length is 24
getDocumentForIdOrSlug: (idOrSlug, done) ->
idOrSlug = idOrSlug+''

Some files were not shown because too many files have changed in this diff Show more