From c769328ee858ab4ecef81d26059dcd5d1855bb2b Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Tue, 29 Mar 2016 07:24:55 -0700 Subject: [PATCH] Clarify Make a Person instructions & add ES trans - Remove use of arity and rewrite with better description - Change use of "function" to "method" for consistency - Put methods into blockquote tags - Update Spanish translation of challenge --- .../advanced-bonfires.json | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/challenges/01-front-end-development-certification/advanced-bonfires.json b/challenges/01-front-end-development-certification/advanced-bonfires.json index 6d1c4861849..5ce1ff1abc8 100644 --- a/challenges/01-front-end-development-certification/advanced-bonfires.json +++ b/challenges/01-front-end-development-certification/advanced-bonfires.json @@ -311,10 +311,11 @@ "id": "a2f1d72d9b908d0bd72bb9f6", "title": "Make a Person", "description": [ - "Fill in the object constructor with the methods specified in the tests.", - "Those methods are getFirstName(), getLastName(), getFullName(), setFirstName(first), setLastName(last), and setFullName(firstAndLast).", - "All functions that take an argument have an arity of 1, and the argument will be a string.", - "These methods must be the only available means for interacting with the object.", + "Fill in the object constructor with the following methods below:", + "
getFirstName()\ngetLastName()\ngetFullName()\nsetFirstName(first)\nsetLastName(last)\nsetFullName(firstAndLast)
", + "Run the tests to see the expected output for each method.", + "The methods that take an argument must accept only one argument and it has to be a string.", + "These methods must be the only available means of interacting with the object.", "Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code." ], "challengeSeed": [ @@ -350,11 +351,12 @@ "challengeType": 5, "titleEs": "Crea una Persona", "descriptionEs": [ - "Completa el constructor de objetos con los métodos especificados en las pruebas.", - "Los métodos son: getFirstName(), getLastName(), getFullName(), setFirstName(first), setLastName(last), y setFullName(firstAndLast). ", - "Todas las funciones que aceptan un argumento tienen una aridad de 1, y el argumento es una cadena de texto", - "Estos métodos deben ser el único medio para interactuar con el objeto", - "Recuerda utilizar Read-Search-Ask si te sientes atascado. Intenta programar en pareja. Escribe tu propio código." + "Completa el constructor de objetos con los métodos especificados a continuación:", + "
getFirstName()\ngetLastName()\ngetFullName()\nsetFirstName(first)\nsetLastName(last)\nsetFullName(firstAndLast)
", + "Ejecuta las pruebas para ver el resultado esperado de cada método.", + "Las funciones que aceptan argumentos deben aceptar sólo uno, y este tiene que ser una cadena.", + "Estos métodos deben ser el único medio para interactuar con el objeto.", + "Recuerda utilizar Leer-Buscar-Preguntar si te sientes atascado. Intenta programar en pareja. Escribe tu propio código." ] }, {