mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-12 08:41:46 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
687b2953c2
4 changed files with 23 additions and 12 deletions
|
@ -265,13 +265,13 @@ module.exports = nativeDescription: "Español (América Latina)", englishDescrip
|
||||||
school_name_placeholder: "Ejemplo: High School, Springfield, IL"
|
school_name_placeholder: "Ejemplo: High School, Springfield, IL"
|
||||||
or_sign_up_with: "o conectate a travez de:"
|
or_sign_up_with: "o conectate a travez de:"
|
||||||
connected_gplus_header: "Te haz conectado exitosamente a travez de Google+!"
|
connected_gplus_header: "Te haz conectado exitosamente a travez de Google+!"
|
||||||
# connected_gplus_p: "Finish signing up so you can log in con your Google+ cuenta."
|
connected_gplus_p: "Termina el registro para que inicies sesión con tu cuenta de Google+."
|
||||||
# gplus_exists: "You already have an cuenta associated con Google+!"
|
gplus_exists: "Ya tienes asociada una cuenta con Google+!"
|
||||||
connected_facebook_header: "Te haz conectado exitosamente a travez de Facebook!"
|
connected_facebook_header: "Te haz conectado exitosamente a travez de Facebook!"
|
||||||
# connected_facebook_p: "Finish signing up so you can log in con your Facebook cuenta."
|
connected_facebook_p: "Termina el registro para que inicies sesión con tu cuenta de Facebook."
|
||||||
# facebook_exists: "You already have an cuenta associated con Facebook!"
|
facebook_exists: "Ya tienes asociada una cuenta Facebook!"
|
||||||
# hey_students: "Estudiantes, enter the class code from your maestro."
|
hey_students: "Estudiante, ingresa el coódigo de clase de tu maestro."
|
||||||
birthday: "Compleaños"
|
birthday: "Cumpleaños"
|
||||||
|
|
||||||
recover:
|
recover:
|
||||||
recover_account_title: "recuperar cuenta"
|
recover_account_title: "recuperar cuenta"
|
||||||
|
@ -853,12 +853,12 @@ module.exports = nativeDescription: "Español (América Latina)", englishDescrip
|
||||||
college_plus: "Universidad o superior"
|
college_plus: "Universidad o superior"
|
||||||
anything_else: "¿Algo más que deberíamos saber?"
|
anything_else: "¿Algo más que deberíamos saber?"
|
||||||
thanks_header: "¡Gracias por solicitar un presupuesto!" # {change}
|
thanks_header: "¡Gracias por solicitar un presupuesto!" # {change}
|
||||||
# thanks_sub_header: "Gracias por expressing interest in CodeCombat for your school."
|
thanks_sub_header: "Gracias por el interés de su institución en CodeCombat" #"Gracias por expressing interest in CodeCombat for your school."
|
||||||
thanks_p: "Estaremos en contacto pronto. ¿Preguntas? Escríbenos:" # {change}
|
thanks_p: "Estaremos en contacto pronto. ¿Preguntas? Escríbenos:" # {change}
|
||||||
# back_to_classes: "Back to Clases"
|
back_to_classes: "Volver a las clases"#"Back to Clases"
|
||||||
finish_signup: "Termine la creación de su cuenta de maestro:"
|
finish_signup: "Termine la creación de su cuenta de maestro:"
|
||||||
# finish_signup_p: "Create an account to set up a class, add your students, and monitor their progress as they learn computer science."
|
finish_signup_p: "Crear una cuenta para configurar la clase, agregar estudiante y monitorear su progreso a medida que aprenden programacioón"#"Create an account to set up a class, add your students, and monitor their progress as they learn computer science."
|
||||||
# signup_with: "Sign up con:"
|
signup_with: "Registrarse con:"
|
||||||
connect_with: "Conectar con:"
|
connect_with: "Conectar con:"
|
||||||
# conversion_warning: "WARNING: Your current account is a <em>Student Account</em>. Once you submit this form, your account will be updated to a Teacher Account."
|
# conversion_warning: "WARNING: Your current account is a <em>Student Account</em>. Once you submit this form, your account will be updated to a Teacher Account."
|
||||||
# learn_more_modal: "Teacher accounts on CodeCombat have the ability to monitor student progress, assign enrollments and manage classrooms. Teacher accounts cannot be a part of a classroom - if you are currently enrolled in a class using this account, you will no longer be able to access it once you update to a Teacher Account."
|
# learn_more_modal: "Teacher accounts on CodeCombat have the ability to monitor student progress, assign enrollments and manage classrooms. Teacher accounts cannot be a part of a classroom - if you are currently enrolled in a class using this account, you will no longer be able to access it once you update to a Teacher Account."
|
||||||
|
|
|
@ -279,7 +279,14 @@ _.extend LevelSchema.properties,
|
||||||
documentation: c.object {title: 'Documentation', description: 'Documentation articles relating to this level.', 'default': {specificArticles: [], generalArticles: []}},
|
documentation: c.object {title: 'Documentation', description: 'Documentation articles relating to this level.', 'default': {specificArticles: [], generalArticles: []}},
|
||||||
specificArticles: c.array {title: 'Specific Articles', description: 'Specific documentation articles that live only in this level.', uniqueItems: true }, SpecificArticleSchema
|
specificArticles: c.array {title: 'Specific Articles', description: 'Specific documentation articles that live only in this level.', uniqueItems: true }, SpecificArticleSchema
|
||||||
generalArticles: c.array {title: 'General Articles', description: 'General documentation articles that can be linked from multiple levels.', uniqueItems: true}, GeneralArticleSchema
|
generalArticles: c.array {title: 'General Articles', description: 'General documentation articles that can be linked from multiple levels.', uniqueItems: true}, GeneralArticleSchema
|
||||||
hints: c.array {title: 'Hints', description: 'Hints that will be gradually revealed to the player.', uniqueItems: true }, {
|
hints: c.array {title: 'Hints', description: 'Tips and tricks to help unstick a player for the level.', uniqueItems: true }, {
|
||||||
|
type: 'object'
|
||||||
|
properties: {
|
||||||
|
body: {type: 'string', title: 'Content', description: 'The body content of the article, in Markdown.', format: 'markdown'}
|
||||||
|
i18n: {type: 'object', format: 'i18n', props: ['body'], description: 'Help translate this hint'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
hintsB: c.array {title: 'HintsB', description: '2nd style of hints for a/b testing significant variations', uniqueItems: true }, {
|
||||||
type: 'object'
|
type: 'object'
|
||||||
properties: {
|
properties: {
|
||||||
body: {type: 'string', title: 'Content', description: 'The body content of the article, in Markdown.', format: 'markdown'}
|
body: {type: 'string', title: 'Content', description: 'The body content of the article, in Markdown.', format: 'markdown'}
|
||||||
|
|
|
@ -34,6 +34,10 @@ module.exports = class I18NEditLevelView extends I18NEditModelView
|
||||||
if i18n = hint.i18n
|
if i18n = hint.i18n
|
||||||
name = "Hint #{index+1}"
|
name = "Hint #{index+1}"
|
||||||
@wrapRow "'#{name}' body", ['body'], hint.body, i18n[lang]?.body, ['documentation', 'hints', index], 'markdown'
|
@wrapRow "'#{name}' body", ['body'], hint.body, i18n[lang]?.body, ['documentation', 'hints', index], 'markdown'
|
||||||
|
for hint, index in @model.get('documentation')?.hintsB ? []
|
||||||
|
if i18n = hint.i18n
|
||||||
|
name = "Hint #{index+1}"
|
||||||
|
@wrapRow "'#{name}' body", ['body'], hint.body, i18n[lang]?.body, ['documentation', 'hints', index], 'markdown'
|
||||||
|
|
||||||
# sprite dialogues
|
# sprite dialogues
|
||||||
for script, scriptIndex in @model.get('scripts') ? []
|
for script, scriptIndex in @model.get('scripts') ? []
|
||||||
|
|
|
@ -164,7 +164,7 @@ module.exports = class Spell
|
||||||
|
|
||||||
createAether: (thang) ->
|
createAether: (thang) ->
|
||||||
writable = @permissions.readwrite.length > 0 and not @isAISource
|
writable = @permissions.readwrite.length > 0 and not @isAISource
|
||||||
skipProtectAPI = @skipProtectAPI or not writable
|
skipProtectAPI = @skipProtectAPI or not writable or @levelType in ['game-dev']
|
||||||
problemContext = @createProblemContext thang
|
problemContext = @createProblemContext thang
|
||||||
includeFlow = (@levelType in ['hero', 'hero-ladder', 'hero-coop', 'course', 'course-ladder', 'game-dev']) and not skipProtectAPI
|
includeFlow = (@levelType in ['hero', 'hero-ladder', 'hero-coop', 'course', 'course-ladder', 'game-dev']) and not skipProtectAPI
|
||||||
aetherOptions = createAetherOptions
|
aetherOptions = createAetherOptions
|
||||||
|
|
Loading…
Reference in a new issue