From 8e0ceee41b8ace9ef28e4e1389f74e050e930c62 Mon Sep 17 00:00:00 2001 From: FedeHC Date: Tue, 14 Jan 2020 22:31:54 -0300 Subject: [PATCH 01/21] [sql/es] Translate SQL to Spanish --- es-es/sql-es.html.markdown | 115 +++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 es-es/sql-es.html.markdown diff --git a/es-es/sql-es.html.markdown b/es-es/sql-es.html.markdown new file mode 100644 index 00000000..8bb3aaac --- /dev/null +++ b/es-es/sql-es.html.markdown @@ -0,0 +1,115 @@ +--- +language: SQL +filename: learnsql-es.sql +contributors: + - ["Bob DuCharme", "http://bobdc.com/"] +translators: + - ["FedeHC", "https://github.com/FedeHC"] +lang: es-es +--- + +El lenguaje de consulta estructurada (SQL en inglés) es un lenguaje estándar ISO para crear y trabajar con bases de datos almacenados en un conjunto de tablas. Usualmente las implementaciones más usadas añaden sus propias extensiones al lenguaje; [Una comparación entre diferentes implementaciones de SQL](http://troels.arvin.dk/db/rdbms/) es una buena referencia sobre las diferencias entre distintos productos. + +Las implementaciones típicamente proveen de una línea de comandos donde uno puede introducir los comandos que se muestran aquí en forma interactiva, y también ofrecen una forma de ejecutar una serie de estos comandos almacenados en un archivo de script (mostrar que uno ha terminado con el prompt interactivo es un buen ejemplo de algo que no está estandarizado: la mayoría de las implementaciones de SQL soportan las palabras clave QUIT, EXIT, o ambas). + +Varios de estos comandos que sirven de ejemplo asumen que la [base de datos de empleados de muestra de MySQL](https://dev.mysql.com/doc/employee/en/) disponible en [github](https://github.com/datacharmer/test_db) ya ha sido cargada. Los archivos github son scripts de comandos, similares a los comandos que aparecen a continuación, que crean y cargan tablas de datos sobre los empleados de una empresa ficticia. La sintaxis para ejecutar estos scripts dependerá de la implementación de SQL que esté utilizando. Una aplicación que se ejecuta desde el prompt del sistema operativo suele ser lo habitual. + + +```sql +-- Los comentarios empiezan con dos guiones. Se termina cada comando con punto +-- y coma. + +-- SQL no distingue entre mayúsculas y minúsculas en palabras clave. Los +-- comandos de ejemplo que aquí se muestran siguen la convención de ser escritos +-- en mayúsculas porque hace más fácil distinguirlos de los nombres de las bases +-- de datos, de las tablas y de las columnas. + +-- A cont. se crea y se elimina una base de datos. Los nombres de la base de +-- datos y de la tabla son sensibles a mayúsculas y minúsculas. +CREATE DATABASE someDatabase; +DROP DATABASE someDatabase; + +-- Lista todas las bases de datos disponibles. +SHOW DATABASES; + +-- Usa una base de datos existente en particular. +USE employees; + +-- Selecciona todas las filas y las columnas de la tabla departments en la base +-- de datos actual. La actividad predeterminada es que el intérprete desplace +-- los resultados por la pantalla. +SELECT * FROM departments; + +-- Recupera todas las filas de la tabla departments, pero sólo las columnas +-- dept_no y dept_name. +-- Separar los comandos en varias líneas es aceptable. +SELECT dept_no, + dept_name FROM departments; + +-- Obtiene todas las columnas de departments, pero se limita a 5 filas. +SELECT * FROM departments LIMIT 5; + +-- Obtiene los valores de la columna dept_name desde la tabla departments cuando +-- dept_name tiene como valor la subcadena 'en'. +SELECT dept_name FROM departments WHERE dept_name LIKE '%en%'; + +-- Recuperar todas las columnas de la tabla departments donde la columna +-- dept_name comienza con una 'S' y tiene exactamente 4 caracteres después +-- de ella. +SELECT * FROM departments WHERE dept_name LIKE 'S____'; + +-- Selecciona los valores de los títulos de la tabla titles, pero no muestra +-- duplicados. +SELECT DISTINCT title FROM titles; + +-- Igual que el anterior, pero ordenado por los valores de title (se distingue +-- entre mayúsculas y minúsculas). +SELECT DISTINCT title FROM titles ORDER BY title; + +-- Muestra el número de filas de la tabla departments. +SELECT COUNT(*) FROM departments; + +-- Muestra el número de filas en la tabla departments que contiene 'en' como +-- subcadena en la columna dept_name. +SELECT COUNT(*) FROM departments WHERE dept_name LIKE '%en%'; + +-- Una unión (JOIN) de información desde varias tablas: la tabla titles muestra +-- quién tiene qué títulos de trabajo, según sus números de empleados, y desde +-- qué fecha hasta qué fecha. Se obtiene esta información, pero en lugar del +-- número de empleado se utiliza el mismo como una referencia cruzada a la +-- tabla employee para obtener el nombre y apellido de cada empleado (y se +-- limita los resultados a 10 filas). +SELECT employees.first_name, employees.last_name, + titles.title, titles.from_date, titles.to_date +FROM titles INNER JOIN employees ON + employees.emp_no = titles.emp_no LIMIT 10; + +-- Se enumera todas las tablas de todas las bases de datos. Las implementaciones +-- típicamente proveen sus propios comandos para hacer esto con la base de datos +-- actualmente en uso. +SELECT * FROM INFORMATION_SCHEMA.TABLES +WHERE TABLE_TYPE='BASE TABLE'; + +-- Crear una tabla llamada tablename1, con las dos columnas mostradas, a partir +-- de la base de datos en uso. Hay muchas otras opciones disponibles para la +-- forma en que se especifican las columnas, como por ej. sus tipos de datos. +CREATE TABLE tablename1 (fname VARCHAR(20), lname VARCHAR(20)); + +-- Insertar una fila de datos en la tabla tablename1. Se asume que la tabla ha +-- sido definida para aceptar estos valores como aptos. +INSERT INTO tablename1 VALUES('Richard','Mutt'); + +-- En tablename1, se cambia el valor de fname a 'John' para todas las filas que +-- tengan un valor en lname igual a 'Mutt'. +UPDATE tablename1 SET fname='John' WHERE lname='Mutt'; + +-- Se borra las filas de la tabla tablename1 donde el valor de lname comience +-- con 'M'. +DELETE FROM tablename1 WHERE lname like 'M%'; + +-- Se borra todas las filas de la tabla tablename1, dejando la tabla vacía. +DELETE FROM tablename1; + +-- Se elimina toda la tabla tablename1 por completo. +DROP TABLE tablename1; +``` From 43cb5213104d3a7e1958eccb3fa3531a4ca511e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Hern=C3=A1ndez=20Blas?= <1096022+nihilismus@users.noreply.github.com> Date: Wed, 5 Feb 2020 13:41:55 -0600 Subject: [PATCH 02/21] Limit document to 80 columns, where possible --- es-es/clojure-es.html.markdown | 40 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/es-es/clojure-es.html.markdown b/es-es/clojure-es.html.markdown index 150d0bb2..937a7d95 100644 --- a/es-es/clojure-es.html.markdown +++ b/es-es/clojure-es.html.markdown @@ -10,8 +10,10 @@ lang: es-es --- Clojure es un lenguaje de la familia Lisp desarrollado sobre la Máquina Virtual -de Java. Tiene un énfasis mayor en la [programación funcional](https://es.wikipedia.org/wiki/Programación_funcional) pura -que Common Lisp, pero incluyendo la posibilidad de usar [SMT](https://es.wikipedia.org/wiki/Memoria_transacional) para manipular +de Java. Tiene un énfasis mayor en la +[programación funcional](https://es.wikipedia.org/wiki/Programación_funcional) +pura que Common Lisp, pero incluyendo la posibilidad de usar +[SMT](https://es.wikipedia.org/wiki/Memoria_transacional) para manipular el estado según se presente. Esta combinación le permite gestionar la concurrencia de manera muy sencilla @@ -19,7 +21,6 @@ y a menudo automáticamente. (Necesitas la versión de Clojure 1.2 o posterior) - ```clojure ; Los comentatios comienzan con punto y coma. @@ -29,8 +30,8 @@ y a menudo automáticamente. ; El "reader" (lector) de Clojure asume que el primer objeto es una ; función o una macro que se va a llamar, y que el resto son argumentos. -; El primer form en un archivo debe ser ns, para establecer el namespace (espacio de -; nombres) +; El primer form en un archivo debe ser ns, para establecer el namespace +; (espacio de nombres) (ns learnclojure) ; Algunos ejemplos básicos: @@ -78,9 +79,9 @@ y a menudo automáticamente. ; Colecciones & Secuencias ;;;;;;;;;;;;;;;;;;; -; Las Listas están basadas en las listas enlazadas, mientras que los Vectores en -; arrays. -; ¡Los Vectores y las Listas también son clases de Java! +; Las Listas están basadas en las listas enlazadas, mientras que los Vectores +; en arrays. +; Los Vectores y las Listas también son clases de Java! (class [1 2 3]); => clojure.lang.PersistentVector (class '(1 2 3)); => clojure.lang.PersistentList @@ -168,7 +169,8 @@ x ; => 1 (hello3 "Jake") ; => "Hello Jake" (hello3) ; => "Hello World" -; Las funciones pueden usar argumentos extras dentro de un seq utilizable en la función +; Las funciones pueden usar argumentos extras dentro de un seq utilizable en +; la función (defn count-args [& args] (str "You passed " (count args) " args: " args)) (count-args 1 2 3) ; => "You passed 3 args: (1 2 3)" @@ -183,8 +185,8 @@ x ; => 1 ; Mapas ;;;;;;;;;; -; Mapas de Hash y mapas de arrays comparten una misma interfaz. Los mapas de Hash -; tienen búsquedas más rápidas pero no mantienen el orden de las claves. +; Mapas de Hash y mapas de arrays comparten una misma interfaz. Los mapas de +; Hash tienen búsquedas más rápidas pero no mantienen el orden de las claves. (class {:a 1 :b 2 :c 3}) ; => clojure.lang.PersistentArrayMap (class (hash-map :a 1 :b 2 :c 3)) ; => clojure.lang.PersistentHashMap @@ -193,7 +195,8 @@ x ; => 1 ; Los mapas pueden usar cualquier tipo para sus claves, pero generalmente las ; keywords (palabras clave) son lo habitual. -; Las keywords son parecidas a cadenas de caracteres con algunas ventajas de eficiencia +; Las keywords son parecidas a cadenas de caracteres con algunas ventajas de +; eficiencia (class :a) ; => clojure.lang.Keyword (def stringmap {"a" 1, "b" 2, "c" 3}) @@ -250,8 +253,8 @@ keymap ; => {:a 1, :b 2, :c 3} ; Patrones útiles ;;;;;;;;;;;;;;;;; -; Las construcciones lógicas en clojure son macros, y presentan el mismo aspecto -; que el resto de forms. +; Las construcciones lógicas en clojure son macros, y presentan el mismo +; aspecto que el resto de forms. (if false "a" "b") ; => "b" (if false "a") ; => nil @@ -352,8 +355,10 @@ keymap ; => {:a 1, :b 2, :c 3} ; Actualiza un atom con swap! ; swap! toma una función y la llama con el valor actual del atom ; como su primer argumento, y cualquier argumento restante como el segundo -(swap! my-atom assoc :a 1) ; Establece my-atom al resultado de (assoc {} :a 1) -(swap! my-atom assoc :b 2) ; Establece my-atom al resultado de (assoc {:a 1} :b 2) +(swap! my-atom assoc :a 1) ; Establece my-atom al resultado +; de (assoc {} :a 1) +(swap! my-atom assoc :b 2) ; Establece my-atom al resultado +; de (assoc {:a 1} :b 2) ; Usa '@' para no referenciar al atom sino para obtener su valor my-atom ;=> Atom<#...> (Regresa el objeto Atom) @@ -377,7 +382,8 @@ my-atom ;=> Atom<#...> (Regresa el objeto Atom) ; Agents: http://clojure.org/agents ### Lectura adicional -Ésto queda lejos de ser exhaustivo, pero espero que sea suficiente para que puedas empezar tu camino. +Ésto queda lejos de ser exhaustivo, pero espero que sea suficiente para que +puedas empezar tu camino. Clojure.org tiene muchos artículos: [http://clojure.org/](http://clojure.org/) From e60cd7ecddd5873dac7cd462ea05a2c4f97b09d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Hern=C3=A1ndez=20Blas?= <1096022+nihilismus@users.noreply.github.com> Date: Thu, 6 Feb 2020 12:38:28 -0600 Subject: [PATCH 03/21] Update translation --- es-es/clojure-es.html.markdown | 234 +++++++++++++++++++-------------- 1 file changed, 136 insertions(+), 98 deletions(-) diff --git a/es-es/clojure-es.html.markdown b/es-es/clojure-es.html.markdown index 937a7d95..62935ebe 100644 --- a/es-es/clojure-es.html.markdown +++ b/es-es/clojure-es.html.markdown @@ -9,29 +9,30 @@ translators: lang: es-es --- -Clojure es un lenguaje de la familia Lisp desarrollado sobre la Máquina Virtual +Clojure es un lenguaje de la familia Lisp desarrollado para la Máquina Virtual de Java. Tiene un énfasis mayor en la [programación funcional](https://es.wikipedia.org/wiki/Programación_funcional) -pura que Common Lisp, pero incluyendo la posibilidad de usar +pura que Common Lisp, pero incluye varias utilidades de [SMT](https://es.wikipedia.org/wiki/Memoria_transacional) para manipular el estado según se presente. -Esta combinación le permite gestionar la concurrencia de manera muy sencilla -y a menudo automáticamente. +Esta combinación le permite gestionar el procesamiento concurrente de manera +muy sencilla, y a menudo automáticamente. + +(Necesitas la versión de Clojure 1.2 o reciente) -(Necesitas la versión de Clojure 1.2 o posterior) ```clojure -; Los comentatios comienzan con punto y coma. +; Los comentarios comienzan con punto y coma. -; Clojure se escribe mediante "forms" (patrones), los cuales son -; listas de objectos entre paréntesis, separados por espacios en blanco. +; Clojure se escribe mediante patrones ("forms"), los cuales son +; listas de cosas entre paréntesis, separados por espacios en blanco. -; El "reader" (lector) de Clojure asume que el primer objeto es una -; función o una macro que se va a llamar, y que el resto son argumentos. +; El lector ("reader") de Clojure asume que la primera cosa es una +; función o una macro a llamar, y el resto son argumentos. -; El primer form en un archivo debe ser ns, para establecer el namespace -; (espacio de nombres) +; La primera llamada en un archivo debe ser ns, para establecer el espacio de +; nombres ("namespace") (ns learnclojure) ; Algunos ejemplos básicos: @@ -52,69 +53,70 @@ y a menudo automáticamente. ; También es necesaria la negación para las operaciones lógicas (not true) ; => false -; Cuando se anidan Los patrones, estos funcionan de la manera esperada +; Los patrones anidados funcionan como esperas (+ 1 (- 3 2)) ; = 1 + (3 - 2) => 2 ; Tipos ;;;;;;;;;;;;; -; Clojure usa los tipos de objetos de Java para booleanos, strings (cadenas de -; caracteres) y números. -; Usa class para saber de qué tipo es. -(class 1); Los enteros son java.lang.Long por defecto -(class 1.); Los numeros en coma flotante son java.lang.Double -(class ""); Los strings van entre comillas dobles, y son -; son java.lang.String -(class false); Los Booleanos son java.lang.Boolean +; Clojure usa los tipos de objetos de Java para booleanos, cadenas de +; caracteres ("strings") y números. +; Usa class para inspeccionarlos. +(class 1); Los números enteros literales son java.lang.Long por defecto +(class 1.); Los números en coma flotante literales son java.lang.Double +(class ""); Los strings siempre van entre comillas dobles, y son + ; java.lang.String +(class false); Los booleanos son java.lang.Boolean (class nil); El valor "null" se escribe nil -; Si quieres crear una lista de datos, precedela con una comilla -; simple para evitar su evaluación +; Si quieres crear una lista literal de datos, usa ' para evitar su evaluación '(+ 1 2) ; => (+ 1 2) -; (que es una abreviatura de (quote (+ 1 2)) ) +; (que es una abreviatura de (quote (+ 1 2))) -; Puedes evaluar una lista precedida por comilla con eval +; Puedes evaluar una lista precedida por una comilla con eval (eval '(+ 1 2)) ; => 3 ; Colecciones & Secuencias ;;;;;;;;;;;;;;;;;;; -; Las Listas están basadas en las listas enlazadas, mientras que los Vectores -; en arrays. -; Los Vectores y las Listas también son clases de Java! +; Las Listas están basadas en listas enlazadas, mientras que los Vectores en +; arreglos. +; ¡Los Vectores y las Listas también son clases de Java! (class [1 2 3]); => clojure.lang.PersistentVector (class '(1 2 3)); => clojure.lang.PersistentList -; Una lista podría ser escrita como (1 2 3), pero debemos ponerle una -; comilla simple delante para evitar que el reader piense que es una función. +; Una lista podría ser escrita como (1 2 3), pero debemos precederle una +; comilla para evitar que el lector ("reader") piense que es una función. ; Además, (list 1 2 3) es lo mismo que '(1 2 3) -; Las "Colecciones" son solo grupos de datos -; Tanto las listas como los vectores son colecciones: +; Las Colecciones ("collections") son solo grupos de datos +; Tanto las Listas como los Vectores son colecciones: (coll? '(1 2 3)) ; => true (coll? [1 2 3]) ; => true -; Las "Secuencias" (seqs) son descripciones abstractas de listas de datos. -; Solo las listas son seqs. +; Las Secuencias ("seqs") son descripciones abstractas de listas de datos. +; Solo las listas son secuencias ("seqs"). (seq? '(1 2 3)) ; => true (seq? [1 2 3]) ; => false -; Una seq solo necesita proporcionar una entrada cuando es accedida. -; Así que, las seqs pueden ser perezosas -- pueden establecer series infinitas: +; Una secuencia solo necesita proporcionar uno de sus elementos cuando es +; accedido. +; Así que, las secuencias pueden ser perezosas -- pueden definir series +; infinitas: (range 4) ; => (0 1 2 3) (range) ; => (0 1 2 3 4 ...) (una serie infinita) (take 4 (range)) ; (0 1 2 3) -; Usa cons para agregar un elemento al inicio de una lista o vector +; Usa cons para agregar un elemento al inicio de una Lista o Vector (cons 4 [1 2 3]) ; => (4 1 2 3) (cons 4 '(1 2 3)) ; => (4 1 2 3) ; conj agregará un elemento a una colección en la forma más eficiente. -; Para listas, se añade al inicio. Para vectores, al final. +; Para Listas, se añade al inicio. Para vectores, al final. (conj [1 2 3] 4) ; => [1 2 3 4] (conj '(1 2 3) 4) ; => (4 1 2 3) -; Usa concat para concatenar listas o vectores +; Usa concat para concatenar Listas o Vectores (concat [1 2] '(3 4)) ; => (1 2 3 4) ; Usa filter y map para actuar sobre colecciones @@ -126,7 +128,7 @@ y a menudo automáticamente. ; = (+ (+ (+ 1 2) 3) 4) ; => 10 -; reduce puede tener un argumento indicando su valor inicial. +; reduce puede tomar un argumento como su valor inicial también (reduce conj [] '(3 2 1)) ; = (conj (conj (conj [] 3) 2) 1) ; => [3 2 1] @@ -138,44 +140,42 @@ y a menudo automáticamente. ; su última expresión (fn [] "Hello World") ; => fn -; (Necesitas rodearlo con paréntesis para invocarla) +; (Necesitas rodearlo con paréntesis para llamarla) ((fn [] "Hello World")) ; => "Hello World" -; Puedes crear una var (variable) mediante def +; Puedes definir una variable ("var") mediante def (def x 1) x ; => 1 -; Asigna una función a una var +; Asignar una función a una variable ("var") (def hello-world (fn [] "Hello World")) (hello-world) ; => "Hello World" -; Puedes defn como atajo para lo anterior +; Puedes usar defn como atajo para lo anterior (defn hello-world [] "Hello World") -; El [] es el vector de argumentos de la función. +; El [] es el Vector de argumentos de la función. (defn hello [name] (str "Hello " name)) (hello "Steve") ; => "Hello Steve" -; Otra abreviatura para crear funciones es: +; Puedes usar esta abreviatura para definir funciones: (def hello2 #(str "Hello " %1)) (hello2 "Fanny") ; => "Hello Fanny" -; Puedes tener funciones multi-variadic: funciones con un numero variable de -; argumentos +; Puedes tener funciones multi-variables ("multi-variadic") también (defn hello3 ([] "Hello World") ([name] (str "Hello " name))) (hello3 "Jake") ; => "Hello Jake" (hello3) ; => "Hello World" -; Las funciones pueden usar argumentos extras dentro de un seq utilizable en -; la función +; Las funciones pueden empaquetar argumentos extras en una secuencia para ti (defn count-args [& args] (str "You passed " (count args) " args: " args)) (count-args 1 2 3) ; => "You passed 3 args: (1 2 3)" -; Y puedes mezclarlos con el resto de argumentos declarados de la función. +; Puedes combinar los argumentos regulares y los empaquetados (defn hello-count [name & args] (str "Hello " name ", you passed " (count args) " extra args")) (hello-count "Finn" 1 2 3) @@ -185,18 +185,18 @@ x ; => 1 ; Mapas ;;;;;;;;;; -; Mapas de Hash y mapas de arrays comparten una misma interfaz. Los mapas de -; Hash tienen búsquedas más rápidas pero no mantienen el orden de las claves. +; Los Mapas de Hash ("HashMap") y Mapas de Arreglo ("ArrayMap") comparten una +; interfaz. Los Mapas de Hash tienen búsquedas más rápidas pero no mantienen el +; orden de las llaves. (class {:a 1 :b 2 :c 3}) ; => clojure.lang.PersistentArrayMap (class (hash-map :a 1 :b 2 :c 3)) ; => clojure.lang.PersistentHashMap -; Los mapas de arrays se convertidos en mapas de Hash en la mayoría de -; operaciones si crecen mucho, por lo que no debes preocuparte. +; Los Mapas de Arreglo se convierten automáticamente en Mapas de Hash en la +; mayoría de operaciones si crecen mucho, por lo que no debes preocuparte. -; Los mapas pueden usar cualquier tipo para sus claves, pero generalmente las -; keywords (palabras clave) son lo habitual. -; Las keywords son parecidas a cadenas de caracteres con algunas ventajas de -; eficiencia +; Los Mapas pueden usar cualquier tipo para sus llaves, pero generalmente las +; Claves ("keywords") son lo habitual. +; Las Claves son como strings con algunas ventajas de eficiencia (class :a) ; => clojure.lang.Keyword (def stringmap {"a" 1, "b" 2, "c" 3}) @@ -208,28 +208,28 @@ keymap ; => {:a 1, :c 3, :b 2} ; Por cierto, las comas son equivalentes a espacios en blanco y no hacen ; nada. -; Recupera un valor de un mapa tratandolo como una función +; Recupera un valor de un Mapa tratándola como una función (stringmap "a") ; => 1 (keymap :a) ; => 1 -; ¡Las keywords pueden ser usadas para recuperar su valor del mapa, también! +; ¡Las Claves pueden ser usadas para recuperar su valor del mapa, también! (:b keymap) ; => 2 ; No lo intentes con strings. ;("a" stringmap) ; => Exception: java.lang.String cannot be cast to clojure.lang.IFn -; Si preguntamos por una clave que no existe nos devuelve nil +; Recuperando una clave no existente nos devuelve nil (stringmap "d") ; => nil -; Usa assoc para añadir nuevas claves a los mapas de Hash +; Usa assoc para añadir nuevas claves a los Mapas de Hash (def newkeymap (assoc keymap :d 4)) newkeymap ; => {:a 1, :b 2, :c 3, :d 4} ; Pero recuerda, ¡los tipos de Clojure son inmutables! keymap ; => {:a 1, :b 2, :c 3} -; Usa dissoc para eliminar llaves +; Usa dissoc para eliminar claves (dissoc keymap :a :b) ; => {:c 3} ; Conjuntos @@ -241,50 +241,86 @@ keymap ; => {:a 1, :b 2, :c 3} ; Añade un elemento con conj (conj #{1 2 3} 4) ; => #{1 2 3 4} -; Elimina elementos con disj +; Elimina uno con disj (disj #{1 2 3} 1) ; => #{2 3} -; Comprueba su existencia usando el conjunto como una función: +; Comprueba su existencia usando al Conjunto como una función: (#{1 2 3} 1) ; => 1 (#{1 2 3} 4) ; => nil -; Hay más funciones en el namespace clojure.sets +; Hay más funciones en el espacio de nombres clojure.sets ; Patrones útiles ;;;;;;;;;;;;;;;;; -; Las construcciones lógicas en clojure son macros, y presentan el mismo -; aspecto que el resto de forms. +; Los operadores lógicos en clojure son solo macros, y presentan el mismo +; aspecto que el resto de patrones. (if false "a" "b") ; => "b" (if false "a") ; => nil -; Usa let para crear un binding (asociación) temporal +; Usa let para definir ("binding") una variable temporal (let [a 1 b 2] (> a b)) ; => false -; Agrupa expresiones mediante do +; Agrupa sentencias mediante do (do (print "Hello") "World") ; => "World" (prints "Hello") -; Las funciones tienen implicita la llamada a do +; Las funciones tienen un do implícito (defn print-and-say-hello [name] (print "Saying hello to " name) (str "Hello " name)) (print-and-say-hello "Jeff") ;=> "Hello Jeff" (prints "Saying hello to Jeff") -; Y el let también +; Y let también (let [name "Urkel"] (print "Saying hello to " name) (str "Hello " name)) ; => "Hello Urkel" (prints "Saying hello to Urkel") +; Usa las macros de tubería ("threading", "arrow", "pipeline" o "chain") +; (-> y ->>) para expresar la transformación de datos de una manera más clara. + +; La macro Tubería-primero ("Thread-first") (->) inserta en cada patrón el +; resultado de los previos, como el primer argumento (segundo elemento) +(-> + {:a 1 :b 2} + (assoc :c 3) ;=> (assoc {:a 1 :b 2} :c 3) + (dissoc :b)) ;=> (dissoc (assoc {:a 1 :b 2} :c 3) :b) + +; Esta expresión podría ser escrita como: +; (dissoc (assoc {:a 1 :b 2} :c 3) :b) +; y evalua a {:a 1 :c 3} + +; La macro Tubería-último ("Thread-last") hace lo mismo, pero inserta el +; resultado de cada línea al *final* de cada patrón. Esto es útil para las +; operaciones de colecciones en particular: +(->> + (range 10) + (map inc) ;=> (map inc (range 10) + (filter odd?) ;=> (filter odd? (map inc (range 10)) + (into [])) ;=> (into [] (filter odd? (map inc (range 10))) + ; Result: [1 3 5 7 9] + +; Cuando estés en una situación donde quieras tener más libertad en donde +; poner el resultado de transformaciones previas de datos en una expresión, +; puedes usar la macro as->. Con ella, puedes asignar un nombre especifico +; a la salida de la transformaciones y usarlo como identificador en tus +; expresiones encadenadas ("chain"). + +(as-> [1 2 3] input + (map inc input);=> You can use last transform's output at the last position + (nth input 2) ;=> and at the second position, in the same expression + (conj [4 5 6] input [8 9 10])) ;=> or in the middle ! + + ; Módulos ;;;;;;;;;;;;;;; ; Usa use para obtener todas las funciones del módulo (use 'clojure.set) -; Ahora podemos usar más operaciones de conjuntos +; Ahora podemos usar más operaciones de Conjuntos (intersection #{1 2 3} #{2 3 4}) ; => #{2 3} (difference #{1 2 3} #{2 3 4}) ; => #{1} @@ -294,19 +330,18 @@ keymap ; => {:a 1, :b 2, :c 3} ; Usa require para importar un módulo (require 'clojure.string) -; Usa / para llamar a las funciones de un módulo +; Usa / para llamar las funciones de un módulo ; Aquí, el módulo es clojure.string y la función es blank? (clojure.string/blank? "") ; => true -; Puedes asignarle una abreviatura a un modulo al importarlo +; Puedes asignarle una sobrenombre a un modulo al importarlo (require '[clojure.string :as str]) (str/replace "This is a test." #"[a-o]" str/upper-case) ; => "THIs Is A tEst." -; (#"" es una expresión regular) +; (#"" es una expresión regular literal) -; Puedes usar require (y use, pero no lo hagas) desde un espacio de nombre +; Puedes usar require (y use, pero no lo hagas) desde un espacio de nombres ; usando :require, -; No necesitas preceder con comilla simple tus módulos si lo haces de esta -; forma. +; No necesitas preceder con comilla tus módulos si lo haces de esta manera. (ns test (:require [clojure.string :as str] @@ -315,8 +350,8 @@ keymap ; => {:a 1, :b 2, :c 3} ; Java ;;;;;;;;;;;;;;;;; -; Java tiene una enorme librería estándar, por lo que resulta util -; aprender como interactuar con ella. +; Java tiene una enorme y útil librería estándar, por lo que querrás +; aprender como hacer uso de ella. ; Usa import para cargar un módulo de java (import java.util.Date) @@ -329,14 +364,15 @@ keymap ; => {:a 1, :b 2, :c 3} ; Usa el nombre de la clase con un "." al final para crear una nueva instancia (Date.) ; -; Usa "." para llamar a métodos o usa el atajo ".método" +; Usa "." para llamar métodos. O, usa el atajo ".método" (. (Date.) getTime) ; -(.getTime (Date.)) ; exactamente la misma cosa +(.getTime (Date.)) ; exactamente lo mismo. ; Usa / para llamar métodos estáticos. (System/currentTimeMillis) ; (System siempre está presente) -; Usa doto para hacer frente al uso de clases (mutables) más tolerable +; Usa doto para lidiar con el uso de clases (mutables) de una manera más +; tolerable (import java.util.Calendar) (doto (Calendar/getInstance) (.set 2000 1 1 0 0 0) @@ -345,9 +381,9 @@ keymap ; => {:a 1, :b 2, :c 3} ; STM ;;;;;;;;;;;;;;;;; -; Software Transactional Memory es un mecanismo que usa clojure para gestionar -; el estado persistente. Hay unas cuantas construcciones en clojure que -; hacen uso de este mecanismo. +; La Memoria Transaccional ("Software Transactional Memory" / "STM") es un +; mecanismo que usa clojure para gestionar la persistecia de estado. Hay unas +; cuantas construcciones en clojure que hacen uso de él. ; Un atom es el más sencillo. Se le da un valor inicial (def my-atom (atom {})) @@ -356,15 +392,15 @@ keymap ; => {:a 1, :b 2, :c 3} ; swap! toma una función y la llama con el valor actual del atom ; como su primer argumento, y cualquier argumento restante como el segundo (swap! my-atom assoc :a 1) ; Establece my-atom al resultado -; de (assoc {} :a 1) + ; de (assoc {} :a 1) (swap! my-atom assoc :b 2) ; Establece my-atom al resultado -; de (assoc {:a 1} :b 2) + ; de (assoc {:a 1} :b 2) -; Usa '@' para no referenciar al atom sino para obtener su valor +; Usa '@' para no referenciar al atom y obtener su valor my-atom ;=> Atom<#...> (Regresa el objeto Atom) @my-atom ; => {:a 1 :b 2} -; Un sencillo contador usando un atom sería +; Aquí está un sencillo contador usando un atom (def counter (atom 0)) (defn inc-counter [] (swap! counter inc)) @@ -377,23 +413,25 @@ my-atom ;=> Atom<#...> (Regresa el objeto Atom) @counter ; => 5 -; Otros forms que utilizan STM son refs y agents. +; Otras construcciones de STM son refs y agents. ; Refs: http://clojure.org/refs ; Agents: http://clojure.org/agents +``` + ### Lectura adicional -Ésto queda lejos de ser exhaustivo, pero espero que sea suficiente para que +Ésto queda lejos de ser exhaustivo, pero ojalá que sea suficiente para que puedas empezar tu camino. Clojure.org tiene muchos artículos: -[http://clojure.org/](http://clojure.org/) +[http://clojure.org](http://clojure.org) Clojuredocs.org contiene documentación con ejemplos para la mayoría de funciones principales (pertenecientes al core): -[http://clojuredocs.org/quickref/Clojure%20Core](http://clojuredocs.org/quickref/Clojure%20Core) +[http://clojuredocs.org/quickref](http://clojuredocs.org/quickref) 4Clojure es una genial forma de mejorar tus habilidades con clojure/FP: [http://www.4clojure.com/](http://www.4clojure.com/) -Clojure-doc.org (sí, de verdad) tiene un buen número de artículos con los que iniciarse en Clojure: -[http://clojure-doc.org/](http://clojure-doc.org/) +Clojure-doc.org (sí, de verdad) tiene un buen número de artículos con los que +iniciarse en Clojure: [http://clojure-doc.org](http://clojure-doc.org) From 48068a92425a3b3c5f8a11d45489120297aababc Mon Sep 17 00:00:00 2001 From: FedeHC Date: Fri, 7 Feb 2020 16:31:40 -0300 Subject: [PATCH 04/21] Update es-es/sql-es.html.markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Antonio Hernández Blas <1096022+nihilismus@users.noreply.github.com> --- es-es/sql-es.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-es/sql-es.html.markdown b/es-es/sql-es.html.markdown index 8bb3aaac..c20ebca0 100644 --- a/es-es/sql-es.html.markdown +++ b/es-es/sql-es.html.markdown @@ -8,7 +8,7 @@ translators: lang: es-es --- -El lenguaje de consulta estructurada (SQL en inglés) es un lenguaje estándar ISO para crear y trabajar con bases de datos almacenados en un conjunto de tablas. Usualmente las implementaciones más usadas añaden sus propias extensiones al lenguaje; [Una comparación entre diferentes implementaciones de SQL](http://troels.arvin.dk/db/rdbms/) es una buena referencia sobre las diferencias entre distintos productos. +El lenguaje de consulta estructurada (SQL en inglés) es un lenguaje estándar ISO para crear y trabajar con bases de datos almacenados en un conjunto de tablas. Las implementaciones generalmente añaden sus propias extensiones al lenguaje; [Comparación entre diferentes implementaciones de SQL](http://troels.arvin.dk/db/rdbms/) es una buena referencia sobre las diferencias entre distintos productos. Las implementaciones típicamente proveen de una línea de comandos donde uno puede introducir los comandos que se muestran aquí en forma interactiva, y también ofrecen una forma de ejecutar una serie de estos comandos almacenados en un archivo de script (mostrar que uno ha terminado con el prompt interactivo es un buen ejemplo de algo que no está estandarizado: la mayoría de las implementaciones de SQL soportan las palabras clave QUIT, EXIT, o ambas). From 57ef3f1377a636b20abeb9e2f91cea8ddb3bfce0 Mon Sep 17 00:00:00 2001 From: FedeHC Date: Fri, 7 Feb 2020 16:31:57 -0300 Subject: [PATCH 05/21] Update es-es/sql-es.html.markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Antonio Hernández Blas <1096022+nihilismus@users.noreply.github.com> --- es-es/sql-es.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-es/sql-es.html.markdown b/es-es/sql-es.html.markdown index c20ebca0..3aa6ce7c 100644 --- a/es-es/sql-es.html.markdown +++ b/es-es/sql-es.html.markdown @@ -10,7 +10,7 @@ lang: es-es El lenguaje de consulta estructurada (SQL en inglés) es un lenguaje estándar ISO para crear y trabajar con bases de datos almacenados en un conjunto de tablas. Las implementaciones generalmente añaden sus propias extensiones al lenguaje; [Comparación entre diferentes implementaciones de SQL](http://troels.arvin.dk/db/rdbms/) es una buena referencia sobre las diferencias entre distintos productos. -Las implementaciones típicamente proveen de una línea de comandos donde uno puede introducir los comandos que se muestran aquí en forma interactiva, y también ofrecen una forma de ejecutar una serie de estos comandos almacenados en un archivo de script (mostrar que uno ha terminado con el prompt interactivo es un buen ejemplo de algo que no está estandarizado: la mayoría de las implementaciones de SQL soportan las palabras clave QUIT, EXIT, o ambas). +Las implementaciones típicamente proveen de una línea de comandos donde uno puede introducir los comandos que se muestran aquí en forma interactiva, y también ofrecen una forma de ejecutar una serie de estos comandos almacenados en un archivo de script (mostrar que uno ha terminado con el prompt interactivo es un buen ejemplo de algo que no está estandarizado - la mayoría de las implementaciones de SQL soportan las palabras clave QUIT, EXIT, o ambas). Varios de estos comandos que sirven de ejemplo asumen que la [base de datos de empleados de muestra de MySQL](https://dev.mysql.com/doc/employee/en/) disponible en [github](https://github.com/datacharmer/test_db) ya ha sido cargada. Los archivos github son scripts de comandos, similares a los comandos que aparecen a continuación, que crean y cargan tablas de datos sobre los empleados de una empresa ficticia. La sintaxis para ejecutar estos scripts dependerá de la implementación de SQL que esté utilizando. Una aplicación que se ejecuta desde el prompt del sistema operativo suele ser lo habitual. From a46ac670a03a75d2d24edca46981f7746c64f854 Mon Sep 17 00:00:00 2001 From: FedeHC Date: Fri, 7 Feb 2020 16:33:05 -0300 Subject: [PATCH 06/21] Update es-es/sql-es.html.markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Antonio Hernández Blas <1096022+nihilismus@users.noreply.github.com> --- es-es/sql-es.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-es/sql-es.html.markdown b/es-es/sql-es.html.markdown index 3aa6ce7c..1ee0d454 100644 --- a/es-es/sql-es.html.markdown +++ b/es-es/sql-es.html.markdown @@ -42,7 +42,7 @@ SELECT * FROM departments; -- Recupera todas las filas de la tabla departments, pero sólo las columnas -- dept_no y dept_name. --- Separar los comandos en varias líneas es aceptable. +-- Separar los comandos en varias líneas está permitido. SELECT dept_no, dept_name FROM departments; From c7e03628fc70ce300f1d57528c709fc29b35e25e Mon Sep 17 00:00:00 2001 From: caminsha Date: Sun, 9 Feb 2020 23:01:52 +0100 Subject: [PATCH 07/21] started fixing the translation --- de-de/d-de.html.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/de-de/d-de.html.markdown b/de-de/d-de.html.markdown index 2b0b38dd..9cebd9f2 100644 --- a/de-de/d-de.html.markdown +++ b/de-de/d-de.html.markdown @@ -9,7 +9,7 @@ lang: de-de --- ```c -// Es war klar dass das kommt... +// Es war klar, dass das kommt... module hello; import std.stdio; @@ -20,10 +20,10 @@ void main(string[] args) { } ``` -Wenn du so wie ich bist und viel zeit im Internet verbringst stehen die Chancen gut -das du schonmal über [D](http://dlang.org/) gehört hast. -Die D-Sprache ist eine moderne, überall einsetzbare programmiersprache die von Low bis -High Level verwendet werden kann und dabei viele Stile anbietet. +Wenn du so wie ich bist und viel Zeit im Internet verbringst, stehen die Chancen +gut, dass du schonmal über [D](http://dlang.org/) gehört hast. +Die D-Sprache ist eine moderne, überall einsetzbare programmiersprache die von +Low bis High Level verwendet werden kann und dabei viele Stile anbietet. D wird aktiv von Walter Bright und Andrei Alexandrescu entwickelt, zwei super schlaue, richtig coole leute. Da das jetzt alles aus dem weg ist - auf zu den Beispielen! From 5c06bbba578ac019cd74cbeabcb21e42cffc5b42 Mon Sep 17 00:00:00 2001 From: caminsha Date: Sun, 9 Feb 2020 23:20:16 +0100 Subject: [PATCH 08/21] fixed some typos in German translation --- de-de/d-de.html.markdown | 54 ++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/de-de/d-de.html.markdown b/de-de/d-de.html.markdown index 9cebd9f2..28ecc7ae 100644 --- a/de-de/d-de.html.markdown +++ b/de-de/d-de.html.markdown @@ -26,7 +26,7 @@ Die D-Sprache ist eine moderne, überall einsetzbare programmiersprache die von Low bis High Level verwendet werden kann und dabei viele Stile anbietet. D wird aktiv von Walter Bright und Andrei Alexandrescu entwickelt, zwei super schlaue, -richtig coole leute. Da das jetzt alles aus dem weg ist - auf zu den Beispielen! +richtig coole leute. Da das jetzt alles aus dem Weg ist - auf zu den Beispielen! ```c import std.stdio; @@ -38,7 +38,7 @@ void main() { writeln(i); } - auto n = 1; // auto um den typ vom Compiler bestimmen zu lassen + auto n = 1; // auto um den Typ vom Compiler bestimmen zu lassen // Zahlenliterale können _ verwenden für lesbarkeit while(n < 10_000) { @@ -68,21 +68,22 @@ void main() { } ``` -Neue Typen können mit `struct`, `class`, `union`, und `enum` definiert werden. Structs und unions -werden as-value (koppiert) an methoden übergeben wogegen Klassen als Referenz übergeben werden. -Templates können verwendet werden um alle typen zu parameterisieren. +Neue Typen können mit `struct`, `class`, `union`, und `enum` definiert werden. +Structs und unions werden as-value (koppiert) an Methoden übergeben wogegen +Klassen als Referenz übergeben werden. Templates können verwendet werden um +alle Typen zu parameterisieren. ```c // Hier, T ist ein Type-Parameter, Er funktioniert wie Generics in C#/Java/C++ struct LinkedList(T) { T data = null; - LinkedList!(T)* next; // Das ! wird verwendet um T zu übergeben. ( in C#/Java/C++) + LinkedList!(T)* next; // Das ! wird verwendet, um T zu übergeben. ( in C#/Java/C++) } class BinTree(T) { T data = null; - // Wenn es nur einen T parameter gibt können die Klammern um ihn weggelassen werden + // Wenn es nur einen T Parameter gibt, können die Klammern um ihn weggelassen werden BinTree!T left; BinTree!T right; } @@ -97,7 +98,7 @@ enum Day { Saturday, } -// Aliase können verwendet werden um die Entwicklung zu erleichtern +// Aliase können verwendet werden, um die Entwicklung zu erleichtern alias IntList = LinkedList!int; alias NumTree = BinTree!double; @@ -111,8 +112,8 @@ T max(T)(T a, T b) { return a; } -// Steht ref vor einem Parameter wird sichergestellt das er als Referenz übergeben wird. -// Selbst bei werten wird es immer eine Referenz sein. +// Steht ref vor einem Parameter, wird sichergestellt, dass er als Referenz +übergeben wird. Selbst bei Werten wird es immer eine Referenz sein. void swap(T)(ref T a, ref T b) { auto temp = a; @@ -120,18 +121,18 @@ void swap(T)(ref T a, ref T b) { b = temp; } -// Templates können ebenso werte parameterisieren. +// Templates können ebenso Werte parameterisieren. class Matrix(uint m, uint n, T = int) { T[m] rows; T[n] columns; } -auto mat = new Matrix!(3, 3); // Standardmäßig ist T vom typ Integer +auto mat = new Matrix!(3, 3); // Standardmäßig ist T vom Typ Integer ``` Wo wir schon bei Klassen sind - Wie wäre es mit Properties! Eine Property -ist eine Funktion die wie ein Wert agiert. Das gibt uns viel klarere Syntax +ist eine Funktion, die wie ein Wert agiert. Das gibt uns viel klarere Syntax im Stil von `structure.x = 7` was gleichgültig wäre zu `structure.setX(7)` ```c @@ -187,18 +188,17 @@ void main() { ``` Mit properties können wir sehr viel logik hinter unseren gettern -und settern hinter einer schönen syntax verstecken +und settern hinter einer schönen Syntax verstecken -Other object-oriented goodies at our disposal Andere Objektorientierte features sind beispielsweise `interface`s, `abstract class` und `override`. Vererbung funktioniert in D wie in Java: -Erben von einer Klasse, so viele interfaces wie man will. +Erben von einer Klasse, so viele Interfaces wie man will. -Jetzt haben wir Objektorientierung in D gesehen aber schauen +Jetzt haben wir Objektorientierung in D gesehen, aber schauen wir uns noch was anderes an. -D bietet funktionale programmierung mit _first-class functions_ -puren funktionen und unveränderbare daten. +D bietet funktionale Programmierung mit _first-class functions_ +puren Funktionen und unveränderbaren Daten. Zusätzlich können viele funktionale Algorithmen wie z.B map, filter, reduce und friends im `std.algorithm` Modul gefunden werden! @@ -207,11 +207,11 @@ import std.algorithm : map, filter, reduce; import std.range : iota; // builds an end-exclusive range void main() { - // Wir wollen die summe aller quadratzahlen zwischen + // Wir wollen die Summe aller Quadratzahlen zwischen // 1 und 100 ausgeben. Nichts leichter als das! - // Einfach eine lambda funktion als template parameter übergeben - // Es ist genau so gut möglich eine normale funktion hier zu übergeben + // Einfach eine Lambda-Funktion als Template Parameter übergeben + // Es ist genau so gut möglich eine normale Funktion hier zu übergeben // Lambdas bieten sich hier aber an. auto num = iota(1, 101).filter!(x => x % 2 == 0) .map!(y => y ^^ 2) @@ -221,13 +221,13 @@ void main() { } ``` -Ist dir aufgefallen wie wir eine Haskell-Style pipeline gebaut haben +Ist dir aufgefallen, wie wir eine Haskell-Style Pipeline gebaut haben um num zu berechnen? Das war möglich durch die Uniform Function Call Syntax. -Mit UFCS können wir auswählen ob wir eine Funktion als Methode oder +Mit UFCS können wir auswählen, ob wir eine Funktion als Methode oder als freie Funktion aufrufen. Walters artikel dazu findet ihr [hier.](http://www.drdobbs.com/cpp/uniform-function-call-syntax/232700394) -Kurzgesagt kann man Funktionen deren erster parameter vom typ A ist, als +Kurzgesagt kann man Funktionen, deren erster Parameter vom typ A ist, als Methode auf A anwenden. Parrallel Computing ist eine Tolle sache, findest du nicht auch? @@ -239,10 +239,10 @@ import std.math : sqrt; void main() { // Wir wollen die Wurzel von jeder Zahl in unserem Array berechnen - // und dabei alle Kerne verwenden die wir zur verfügung haben + // und dabei alle Kerne verwenden, die wir zur verfügung haben auto arr = new double[1_000_000]; - // Wir verwenden den index und das element als referenz + // Wir verwenden den Index und das Element als Referenz // und rufen einfach parallel auf! foreach(i, ref elem; parallel(arr)) { ref = sqrt(i + 1.0); From 1adab9bc3f80d82123987ff34083568030735db7 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 04:49:56 +0100 Subject: [PATCH 09/21] Rename Python 2 markdown files into 'pythonlegacy' ``` for f in $(find . -iname "*python*" | grep -vE 'python3|git|statcomp'); do flegacy=$(echo "$f" | sed 's/python/pythonlegacy/') git mv "$f" "$flegacy" done ``` --- de-de/{python-de.html.markdown => pythonlegacy-de.html.markdown} | 0 es-es/{python-es.html.markdown => pythonlegacy-es.html.markdown} | 0 fr-fr/{python-fr.html.markdown => pythonlegacy-fr.html.markdown} | 0 hu-hu/{python-hu.html.markdown => pythonlegacy-hu.html.markdown} | 0 it-it/{python-it.html.markdown => pythonlegacy-it.html.markdown} | 0 ko-kr/{python-kr.html.markdown => pythonlegacy-kr.html.markdown} | 0 pl-pl/{python-pl.html.markdown => pythonlegacy-pl.html.markdown} | 0 pt-br/{python-pt.html.markdown => pythonlegacy-pt.html.markdown} | 0 python.html.markdown => pythonlegacy.html.markdown | 0 ro-ro/{python-ro.html.markdown => pythonlegacy-ro.html.markdown} | 0 ru-ru/{python-ru.html.markdown => pythonlegacy-ru.html.markdown} | 0 tr-tr/{python-tr.html.markdown => pythonlegacy-tr.html.markdown} | 0 uk-ua/{python-ua.html.markdown => pythonlegacy-ua.html.markdown} | 0 zh-cn/{python-cn.html.markdown => pythonlegacy-cn.html.markdown} | 0 zh-tw/{python-tw.html.markdown => pythonlegacy-tw.html.markdown} | 0 15 files changed, 0 insertions(+), 0 deletions(-) rename de-de/{python-de.html.markdown => pythonlegacy-de.html.markdown} (100%) rename es-es/{python-es.html.markdown => pythonlegacy-es.html.markdown} (100%) rename fr-fr/{python-fr.html.markdown => pythonlegacy-fr.html.markdown} (100%) rename hu-hu/{python-hu.html.markdown => pythonlegacy-hu.html.markdown} (100%) rename it-it/{python-it.html.markdown => pythonlegacy-it.html.markdown} (100%) rename ko-kr/{python-kr.html.markdown => pythonlegacy-kr.html.markdown} (100%) rename pl-pl/{python-pl.html.markdown => pythonlegacy-pl.html.markdown} (100%) rename pt-br/{python-pt.html.markdown => pythonlegacy-pt.html.markdown} (100%) rename python.html.markdown => pythonlegacy.html.markdown (100%) rename ro-ro/{python-ro.html.markdown => pythonlegacy-ro.html.markdown} (100%) rename ru-ru/{python-ru.html.markdown => pythonlegacy-ru.html.markdown} (100%) rename tr-tr/{python-tr.html.markdown => pythonlegacy-tr.html.markdown} (100%) rename uk-ua/{python-ua.html.markdown => pythonlegacy-ua.html.markdown} (100%) rename zh-cn/{python-cn.html.markdown => pythonlegacy-cn.html.markdown} (100%) rename zh-tw/{python-tw.html.markdown => pythonlegacy-tw.html.markdown} (100%) diff --git a/de-de/python-de.html.markdown b/de-de/pythonlegacy-de.html.markdown similarity index 100% rename from de-de/python-de.html.markdown rename to de-de/pythonlegacy-de.html.markdown diff --git a/es-es/python-es.html.markdown b/es-es/pythonlegacy-es.html.markdown similarity index 100% rename from es-es/python-es.html.markdown rename to es-es/pythonlegacy-es.html.markdown diff --git a/fr-fr/python-fr.html.markdown b/fr-fr/pythonlegacy-fr.html.markdown similarity index 100% rename from fr-fr/python-fr.html.markdown rename to fr-fr/pythonlegacy-fr.html.markdown diff --git a/hu-hu/python-hu.html.markdown b/hu-hu/pythonlegacy-hu.html.markdown similarity index 100% rename from hu-hu/python-hu.html.markdown rename to hu-hu/pythonlegacy-hu.html.markdown diff --git a/it-it/python-it.html.markdown b/it-it/pythonlegacy-it.html.markdown similarity index 100% rename from it-it/python-it.html.markdown rename to it-it/pythonlegacy-it.html.markdown diff --git a/ko-kr/python-kr.html.markdown b/ko-kr/pythonlegacy-kr.html.markdown similarity index 100% rename from ko-kr/python-kr.html.markdown rename to ko-kr/pythonlegacy-kr.html.markdown diff --git a/pl-pl/python-pl.html.markdown b/pl-pl/pythonlegacy-pl.html.markdown similarity index 100% rename from pl-pl/python-pl.html.markdown rename to pl-pl/pythonlegacy-pl.html.markdown diff --git a/pt-br/python-pt.html.markdown b/pt-br/pythonlegacy-pt.html.markdown similarity index 100% rename from pt-br/python-pt.html.markdown rename to pt-br/pythonlegacy-pt.html.markdown diff --git a/python.html.markdown b/pythonlegacy.html.markdown similarity index 100% rename from python.html.markdown rename to pythonlegacy.html.markdown diff --git a/ro-ro/python-ro.html.markdown b/ro-ro/pythonlegacy-ro.html.markdown similarity index 100% rename from ro-ro/python-ro.html.markdown rename to ro-ro/pythonlegacy-ro.html.markdown diff --git a/ru-ru/python-ru.html.markdown b/ru-ru/pythonlegacy-ru.html.markdown similarity index 100% rename from ru-ru/python-ru.html.markdown rename to ru-ru/pythonlegacy-ru.html.markdown diff --git a/tr-tr/python-tr.html.markdown b/tr-tr/pythonlegacy-tr.html.markdown similarity index 100% rename from tr-tr/python-tr.html.markdown rename to tr-tr/pythonlegacy-tr.html.markdown diff --git a/uk-ua/python-ua.html.markdown b/uk-ua/pythonlegacy-ua.html.markdown similarity index 100% rename from uk-ua/python-ua.html.markdown rename to uk-ua/pythonlegacy-ua.html.markdown diff --git a/zh-cn/python-cn.html.markdown b/zh-cn/pythonlegacy-cn.html.markdown similarity index 100% rename from zh-cn/python-cn.html.markdown rename to zh-cn/pythonlegacy-cn.html.markdown diff --git a/zh-tw/python-tw.html.markdown b/zh-tw/pythonlegacy-tw.html.markdown similarity index 100% rename from zh-tw/python-tw.html.markdown rename to zh-tw/pythonlegacy-tw.html.markdown From a3b0585374d69e392fdb724bde30bc4048358d31 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 04:54:36 +0100 Subject: [PATCH 10/21] Rename Python 3 markdown files into 'python' ``` for f in $(find . -iname "*python3*" | grep -vE 'git'); do fnew=$(echo "$f" | sed 's/python3/python/') git mv "$f" "$fnew" done --- ar-ar/{python3-ar.html.markdown => python-ar.html.markdown} | 0 cs-cz/{python3.html.markdown => python.html.markdown} | 0 de-de/{python3-de.html.markdown => python-de.html.markdown} | 0 el-gr/{python3-gr.html.markdown => python-gr.html.markdown} | 0 es-es/{python3-es.html.markdown => python-es.html.markdown} | 0 fr-fr/{python3-fr.html.markdown => python-fr.html.markdown} | 0 it-it/{python3-it.html.markdown => python-it.html.markdown} | 0 ja-jp/{python3-jp.html.markdown => python-jp.html.markdown} | 0 pt-br/{python3-pt.html.markdown => python-pt.html.markdown} | 0 python3.html.markdown => python.html.markdown | 0 ru-ru/{python3-ru.html.markdown => python-ru.html.markdown} | 0 tr-tr/{python3-tr.html.markdown => python-tr.html.markdown} | 0 vi-vn/{python3-vi.html.markdown => python-vi.html.markdown} | 0 zh-cn/{python3-cn.html.markdown => python-cn.html.markdown} | 0 14 files changed, 0 insertions(+), 0 deletions(-) rename ar-ar/{python3-ar.html.markdown => python-ar.html.markdown} (100%) rename cs-cz/{python3.html.markdown => python.html.markdown} (100%) rename de-de/{python3-de.html.markdown => python-de.html.markdown} (100%) rename el-gr/{python3-gr.html.markdown => python-gr.html.markdown} (100%) rename es-es/{python3-es.html.markdown => python-es.html.markdown} (100%) rename fr-fr/{python3-fr.html.markdown => python-fr.html.markdown} (100%) rename it-it/{python3-it.html.markdown => python-it.html.markdown} (100%) rename ja-jp/{python3-jp.html.markdown => python-jp.html.markdown} (100%) rename pt-br/{python3-pt.html.markdown => python-pt.html.markdown} (100%) rename python3.html.markdown => python.html.markdown (100%) rename ru-ru/{python3-ru.html.markdown => python-ru.html.markdown} (100%) rename tr-tr/{python3-tr.html.markdown => python-tr.html.markdown} (100%) rename vi-vn/{python3-vi.html.markdown => python-vi.html.markdown} (100%) rename zh-cn/{python3-cn.html.markdown => python-cn.html.markdown} (100%) diff --git a/ar-ar/python3-ar.html.markdown b/ar-ar/python-ar.html.markdown similarity index 100% rename from ar-ar/python3-ar.html.markdown rename to ar-ar/python-ar.html.markdown diff --git a/cs-cz/python3.html.markdown b/cs-cz/python.html.markdown similarity index 100% rename from cs-cz/python3.html.markdown rename to cs-cz/python.html.markdown diff --git a/de-de/python3-de.html.markdown b/de-de/python-de.html.markdown similarity index 100% rename from de-de/python3-de.html.markdown rename to de-de/python-de.html.markdown diff --git a/el-gr/python3-gr.html.markdown b/el-gr/python-gr.html.markdown similarity index 100% rename from el-gr/python3-gr.html.markdown rename to el-gr/python-gr.html.markdown diff --git a/es-es/python3-es.html.markdown b/es-es/python-es.html.markdown similarity index 100% rename from es-es/python3-es.html.markdown rename to es-es/python-es.html.markdown diff --git a/fr-fr/python3-fr.html.markdown b/fr-fr/python-fr.html.markdown similarity index 100% rename from fr-fr/python3-fr.html.markdown rename to fr-fr/python-fr.html.markdown diff --git a/it-it/python3-it.html.markdown b/it-it/python-it.html.markdown similarity index 100% rename from it-it/python3-it.html.markdown rename to it-it/python-it.html.markdown diff --git a/ja-jp/python3-jp.html.markdown b/ja-jp/python-jp.html.markdown similarity index 100% rename from ja-jp/python3-jp.html.markdown rename to ja-jp/python-jp.html.markdown diff --git a/pt-br/python3-pt.html.markdown b/pt-br/python-pt.html.markdown similarity index 100% rename from pt-br/python3-pt.html.markdown rename to pt-br/python-pt.html.markdown diff --git a/python3.html.markdown b/python.html.markdown similarity index 100% rename from python3.html.markdown rename to python.html.markdown diff --git a/ru-ru/python3-ru.html.markdown b/ru-ru/python-ru.html.markdown similarity index 100% rename from ru-ru/python3-ru.html.markdown rename to ru-ru/python-ru.html.markdown diff --git a/tr-tr/python3-tr.html.markdown b/tr-tr/python-tr.html.markdown similarity index 100% rename from tr-tr/python3-tr.html.markdown rename to tr-tr/python-tr.html.markdown diff --git a/vi-vn/python3-vi.html.markdown b/vi-vn/python-vi.html.markdown similarity index 100% rename from vi-vn/python3-vi.html.markdown rename to vi-vn/python-vi.html.markdown diff --git a/zh-cn/python3-cn.html.markdown b/zh-cn/python-cn.html.markdown similarity index 100% rename from zh-cn/python3-cn.html.markdown rename to zh-cn/python-cn.html.markdown From efe00fd06e2908f547ed8d47bd818301f96c4620 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 05:03:08 +0100 Subject: [PATCH 11/21] Switch links: 'python3 <-> python' and 'python <-> pythonlegacy' The list of references is exhausted by running 'ack docs/python'. --- ar-ar/python-ar.html.markdown | 2 +- cs-cz/python.html.markdown | 2 +- de-de/python-de.html.markdown | 2 +- el-gr/python-gr.html.markdown | 2 +- hu-hu/pythonlegacy-hu.html.markdown | 2 +- it-it/pythonlegacy-it.html.markdown | 2 +- ja-jp/python-jp.html.markdown | 2 +- python.html.markdown | 2 +- pythonlegacy.html.markdown | 2 +- tr-tr/python-tr.html.markdown | 2 +- vi-vn/python-vi.html.markdown | 2 +- zh-cn/python-cn.html.markdown | 2 +- zh-tw/pythonlegacy-tw.html.markdown | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ar-ar/python-ar.html.markdown b/ar-ar/python-ar.html.markdown index e1a12690..1b75b596 100644 --- a/ar-ar/python-ar.html.markdown +++ b/ar-ar/python-ar.html.markdown @@ -19,7 +19,7 @@ filename: learnpython3-ar.py ردود أفعالكم عن المقال مُقدرة بشدة. يمكنكم التواصل مع الكاتب الاساسي من خلال [@louiedinh](http://twitter.com/louiedinh) أو louiedinh [at] [google's email service] -ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](http://learnxinyminutes.com/docs/python/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم +ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](http://learnxinyminutes.com/docs/pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم ```python diff --git a/cs-cz/python.html.markdown b/cs-cz/python.html.markdown index bd3690a8..7086ec5f 100644 --- a/cs-cz/python.html.markdown +++ b/cs-cz/python.html.markdown @@ -17,7 +17,7 @@ Zamiloval jsem si Python pro jeho syntaktickou čistotu - je to vlastně spustit Vaše zpětná vazba je vítána! Můžete mě zastihnout na [@louiedinh](http://twitter.com/louiedinh) nebo louiedinh [at] [email od googlu] anglicky, autora českého překladu pak na [@tbedrich](http://twitter.com/tbedrich) nebo ja [at] tbedrich.cz -Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](http://learnxinyminutes.com/docs/python/). +Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](http://learnxinyminutes.com/docs/pythonlegacy/). ```python diff --git a/de-de/python-de.html.markdown b/de-de/python-de.html.markdown index 4ef997a1..2c1e9ae0 100644 --- a/de-de/python-de.html.markdown +++ b/de-de/python-de.html.markdown @@ -14,7 +14,7 @@ Python wurde in den frühen Neunzigern von Guido van Rossum entworfen. Es ist he Feedback ist herzlich willkommen! Ihr erreicht mich unter [@louiedinh](http://twitter.com/louiedinh) oder louiedinh [at] [google's email service]. -Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](http://learnxinyminutes.com/docs/python/) weiter. +Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](http://learnxinyminutes.com/docs/pythonlegacy/) weiter. ```python diff --git a/el-gr/python-gr.html.markdown b/el-gr/python-gr.html.markdown index 445b85ba..2ae9cc75 100644 --- a/el-gr/python-gr.html.markdown +++ b/el-gr/python-gr.html.markdown @@ -20,7 +20,7 @@ lang: el-gr ή τον αρχικό συγγραφέα στο [@louiedinh](http://twitter.com/louiedinh) ή στο louiedinh [at] [google's email service] -Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](http://learnxinyminutes.com/docs/python/) αν θέλετε να μάθετε την παλιά Python 2.7 +Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](http://learnxinyminutes.com/docs/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7 ```python diff --git a/hu-hu/pythonlegacy-hu.html.markdown b/hu-hu/pythonlegacy-hu.html.markdown index 01f1c414..ff2a3b3b 100644 --- a/hu-hu/pythonlegacy-hu.html.markdown +++ b/hu-hu/pythonlegacy-hu.html.markdown @@ -23,7 +23,7 @@ vagy pedig a louiedinh [kukac] [google email szolgáltatása] címen. Figyelem: ez a leírás a Python 2.7 verziójára vonatkozok, illetve általánosságban a 2.x verziókra. A Python 2.7 azonban már csak 2020-ig lesz támogatva, ezért kezdőknek ajánlott, hogy a Python 3-mal kezdjék az -ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](http://learnxinyminutes.com/docs/python3/) +ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](http://learnxinyminutes.com/docs/python/) ajánlott. Lehetséges olyan Python kódot írni, ami egyszerre kompatibilis a 2.7 és a 3.x diff --git a/it-it/pythonlegacy-it.html.markdown b/it-it/pythonlegacy-it.html.markdown index 794e7a70..0a8147b3 100644 --- a/it-it/pythonlegacy-it.html.markdown +++ b/it-it/pythonlegacy-it.html.markdown @@ -20,7 +20,7 @@ Feedback sono altamente apprezzati! Potete contattarmi su [@louiedinh](http://tw Nota: questo articolo è riferito a Python 2.7 in modo specifico, ma dovrebbe andar bene anche per Python 2.x. Python 2.7 sta raggiungendo il "fine vita", ovvero non sarà più supportato nel 2020. Quindi è consigliato imparare Python utilizzando Python 3. -Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](http://learnxinyminutes.com/docs/python3/). +Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](http://learnxinyminutes.com/docs/python/). E' possibile anche scrivere codice compatibile sia con Python 2.7 che con Python 3.x, utilizzando [il modulo `__future__`](https://docs.python.org/2/library/__future__.html) di Python. diff --git a/ja-jp/python-jp.html.markdown b/ja-jp/python-jp.html.markdown index b9731411..3e01bfcd 100644 --- a/ja-jp/python-jp.html.markdown +++ b/ja-jp/python-jp.html.markdown @@ -21,7 +21,7 @@ lang: ja-jp フィードバッグは大歓迎です! [@louiedinh](http://twitter.com/louiedinh) または louiedinh [at] [google's email service] にご連絡下さい! -Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](http://learnxinyminutes.com/docs/python/) をご確認下さい。 +Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](http://learnxinyminutes.com/docs/pythonlegacy/) をご確認下さい。 ```python # 1行のコメントは番号記号(#)から始まります。 diff --git a/python.html.markdown b/python.html.markdown index f69ffb14..aac04469 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -16,7 +16,7 @@ Python was created by Guido van Rossum in the early 90s. It is now one of the mo languages in existence. I fell in love with Python for its syntactic clarity. It's basically executable pseudocode. -Note: This article applies to Python 3 specifically. Check out [here](http://learnxinyminutes.com/docs/python/) if you want to learn the old Python 2.7 +Note: This article applies to Python 3 specifically. Check out [here](http://learnxinyminutes.com/docs/pythonlegacy/) if you want to learn the old Python 2.7 ```python diff --git a/pythonlegacy.html.markdown b/pythonlegacy.html.markdown index 0cc33a80..61b19105 100644 --- a/pythonlegacy.html.markdown +++ b/pythonlegacy.html.markdown @@ -21,7 +21,7 @@ or louiedinh [at] [google's email service] Note: This article applies to Python 2.7 specifically, but should be applicable to Python 2.x. Python 2.7 is reaching end of life and will stop being maintained in 2020, it is though recommended to start learning Python with -Python 3. For Python 3.x, take a look at the [Python 3 tutorial](http://learnxinyminutes.com/docs/python3/). +Python 3. For Python 3.x, take a look at the [Python 3 tutorial](http://learnxinyminutes.com/docs/python/). It is also possible to write Python code which is compatible with Python 2.7 and 3.x at the same time, using Python [`__future__` imports](https://docs.python.org/2/library/__future__.html). `__future__` imports diff --git a/tr-tr/python-tr.html.markdown b/tr-tr/python-tr.html.markdown index b78d517f..bba3d3ac 100644 --- a/tr-tr/python-tr.html.markdown +++ b/tr-tr/python-tr.html.markdown @@ -13,7 +13,7 @@ filename: learnpython3-tr.py Python,90ların başlarında Guido Van Rossum tarafından oluşturulmuştur. En popüler olan dillerden biridir. Beni Python'a aşık eden sebep onun syntax beraklığı. Çok basit bir çalıştırılabilir söz koddur. -Not: Bu makale Python 3 içindir. Eğer Python 2.7 öğrenmek istiyorsanız [burayı](http://learnxinyminutes.com/docs/python/) kontrol edebilirsiniz. +Not: Bu makale Python 3 içindir. Eğer Python 2.7 öğrenmek istiyorsanız [burayı](http://learnxinyminutes.com/docs/pythonlegacy/) kontrol edebilirsiniz. ```python diff --git a/vi-vn/python-vi.html.markdown b/vi-vn/python-vi.html.markdown index f6cce1a3..8c373d53 100644 --- a/vi-vn/python-vi.html.markdown +++ b/vi-vn/python-vi.html.markdown @@ -19,7 +19,7 @@ như một loại mã giả (pseudocode) có thể thực thi được. Mọi phản hồi đều sẽ được tích cực ghi nhận! Bạn có thể liên lạc với tôi qua Twitter [@louiedinh](http://twitter.com/louiedinh) hoặc louiedinh [at] [google's email service] -Lưu ý: Bài viết này áp dụng riêng cho Python 3. Truy cập [vào đây](http://learnxinyminutes.com/docs/python/) nếu bạn muốn học phiên bản cũ Python 2.7 +Lưu ý: Bài viết này áp dụng riêng cho Python 3. Truy cập [vào đây](http://learnxinyminutes.com/docs/pythonlegacy/) nếu bạn muốn học phiên bản cũ Python 2.7 ```python diff --git a/zh-cn/python-cn.html.markdown b/zh-cn/python-cn.html.markdown index fd962305..0e11e12f 100644 --- a/zh-cn/python-cn.html.markdown +++ b/zh-cn/python-cn.html.markdown @@ -16,7 +16,7 @@ Python 是由吉多·范罗苏姆(Guido Van Rossum)在 90 年代早期设计。 欢迎大家斧正。英文版原作 Louie Dinh [@louiedinh](http://twitter.com/louiedinh) 邮箱 louiedinh [at] [谷歌的信箱服务]。中文翻译 Geoff Liu。 -注意:这篇教程是基于 Python 3 写的。如果你想学旧版 Python 2,我们特别有[另一篇教程](http://learnxinyminutes.com/docs/python/)。 +注意:这篇教程是基于 Python 3 写的。如果你想学旧版 Python 2,我们特别有[另一篇教程](http://learnxinyminutes.com/docs/pythonlegacy/)。 ```python diff --git a/zh-tw/pythonlegacy-tw.html.markdown b/zh-tw/pythonlegacy-tw.html.markdown index cd7481d7..9b07a5ac 100644 --- a/zh-tw/pythonlegacy-tw.html.markdown +++ b/zh-tw/pythonlegacy-tw.html.markdown @@ -16,7 +16,7 @@ Python是在1990年代早期由Guido Van Rossum創建的。它是現在最流行 非常歡迎各位給我們任何回饋! 你可以在[@louiedinh](http://twitter.com/louiedinh) 或 louiedinh [at] [google's email service]聯絡到我。 註: 本篇文章適用的版本為Python 2.7,但大部分的Python 2.X版本應該都適用。 Python 2.7將會在2020年停止維護,因此建議您可以從Python 3開始學Python。 -Python 3.X可以看這篇[Python 3 教學 (英文)](http://learnxinyminutes.com/docs/python3/). +Python 3.X可以看這篇[Python 3 教學 (英文)](http://learnxinyminutes.com/docs/python/). 讓程式碼同時支援Python 2.7和3.X是可以做到的,只要引入 [`__future__` imports](https://docs.python.org/2/library/__future__.html) 模組. From 95c8b24ebf8b8e0ed02923787a9f793bdf295200 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 05:09:13 +0100 Subject: [PATCH 12/21] Python 2 'language': Python 2 (legacy) Instead of listing 'language: python' for Python 2, use language: Python 2 (legacy) ``` find . -iname "*pythonlegacy*" -exec \ sed -i 's/^language: .*/language: Python 2 (legacy)/' {} \; ``` --- de-de/pythonlegacy-de.html.markdown | 2 +- es-es/pythonlegacy-es.html.markdown | 2 +- fr-fr/pythonlegacy-fr.html.markdown | 2 +- hu-hu/pythonlegacy-hu.html.markdown | 2 +- it-it/pythonlegacy-it.html.markdown | 2 +- ko-kr/pythonlegacy-kr.html.markdown | 2 +- pl-pl/pythonlegacy-pl.html.markdown | 2 +- pt-br/pythonlegacy-pt.html.markdown | 2 +- pythonlegacy.html.markdown | 2 +- ro-ro/pythonlegacy-ro.html.markdown | 2 +- ru-ru/pythonlegacy-ru.html.markdown | 2 +- tr-tr/pythonlegacy-tr.html.markdown | 2 +- uk-ua/pythonlegacy-ua.html.markdown | 2 +- zh-cn/pythonlegacy-cn.html.markdown | 2 +- zh-tw/pythonlegacy-tw.html.markdown | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/de-de/pythonlegacy-de.html.markdown b/de-de/pythonlegacy-de.html.markdown index ee77683e..3f8f9783 100644 --- a/de-de/pythonlegacy-de.html.markdown +++ b/de-de/pythonlegacy-de.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/es-es/pythonlegacy-es.html.markdown b/es-es/pythonlegacy-es.html.markdown index 2b8f498a..db16b9bd 100644 --- a/es-es/pythonlegacy-es.html.markdown +++ b/es-es/pythonlegacy-es.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/fr-fr/pythonlegacy-fr.html.markdown b/fr-fr/pythonlegacy-fr.html.markdown index 0ae410de..03868580 100644 --- a/fr-fr/pythonlegacy-fr.html.markdown +++ b/fr-fr/pythonlegacy-fr.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) filename: learnpython-fr.py contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/hu-hu/pythonlegacy-hu.html.markdown b/hu-hu/pythonlegacy-hu.html.markdown index ff2a3b3b..3becdf34 100644 --- a/hu-hu/pythonlegacy-hu.html.markdown +++ b/hu-hu/pythonlegacy-hu.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] - ["Amin Bandali", "https://aminb.org"] diff --git a/it-it/pythonlegacy-it.html.markdown b/it-it/pythonlegacy-it.html.markdown index 0a8147b3..fec0c7b7 100644 --- a/it-it/pythonlegacy-it.html.markdown +++ b/it-it/pythonlegacy-it.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) filename: learnpython-it.py contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/ko-kr/pythonlegacy-kr.html.markdown b/ko-kr/pythonlegacy-kr.html.markdown index 0145754d..f09bce4e 100644 --- a/ko-kr/pythonlegacy-kr.html.markdown +++ b/ko-kr/pythonlegacy-kr.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) category: language contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/pl-pl/pythonlegacy-pl.html.markdown b/pl-pl/pythonlegacy-pl.html.markdown index 222f753f..e620fffb 100644 --- a/pl-pl/pythonlegacy-pl.html.markdown +++ b/pl-pl/pythonlegacy-pl.html.markdown @@ -1,7 +1,7 @@ --- name: python category: language -language: python +language: Python 2 (legacy) filename: learnpython-pl.py contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/pt-br/pythonlegacy-pt.html.markdown b/pt-br/pythonlegacy-pt.html.markdown index 82b70117..399c193a 100644 --- a/pt-br/pythonlegacy-pt.html.markdown +++ b/pt-br/pythonlegacy-pt.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/pythonlegacy.html.markdown b/pythonlegacy.html.markdown index 61b19105..25c22f78 100644 --- a/pythonlegacy.html.markdown +++ b/pythonlegacy.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] - ["Amin Bandali", "https://aminb.org"] diff --git a/ro-ro/pythonlegacy-ro.html.markdown b/ro-ro/pythonlegacy-ro.html.markdown index ada0c034..2badef08 100644 --- a/ro-ro/pythonlegacy-ro.html.markdown +++ b/ro-ro/pythonlegacy-ro.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/ru-ru/pythonlegacy-ru.html.markdown b/ru-ru/pythonlegacy-ru.html.markdown index 6087a686..21220c4d 100644 --- a/ru-ru/pythonlegacy-ru.html.markdown +++ b/ru-ru/pythonlegacy-ru.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) lang: ru-ru contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/tr-tr/pythonlegacy-tr.html.markdown b/tr-tr/pythonlegacy-tr.html.markdown index 99a3eb4e..ce3c8cd7 100644 --- a/tr-tr/pythonlegacy-tr.html.markdown +++ b/tr-tr/pythonlegacy-tr.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) filename: learnpython-tr.py contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/uk-ua/pythonlegacy-ua.html.markdown b/uk-ua/pythonlegacy-ua.html.markdown index 4091e433..3244348c 100644 --- a/uk-ua/pythonlegacy-ua.html.markdown +++ b/uk-ua/pythonlegacy-ua.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) lang: uk-ua contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/zh-cn/pythonlegacy-cn.html.markdown b/zh-cn/pythonlegacy-cn.html.markdown index 65f125d1..98759857 100644 --- a/zh-cn/pythonlegacy-cn.html.markdown +++ b/zh-cn/pythonlegacy-cn.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/zh-tw/pythonlegacy-tw.html.markdown b/zh-tw/pythonlegacy-tw.html.markdown index 9b07a5ac..e094f3fd 100644 --- a/zh-tw/pythonlegacy-tw.html.markdown +++ b/zh-tw/pythonlegacy-tw.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python 2 (legacy) contributors: - ["Louie Dinh", "http://ldinh.ca"] - ["Amin Bandali", "http://aminbandali.com"] From 8f5fac98958098864b86e2a09d8131d6dafaaddd Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 05:15:29 +0100 Subject: [PATCH 13/21] Python 3: 'language: Python' Instead of listing 'language: python3' for Python 3, use language: Python as #3450 does. ``` find . -iname "python-*.markdown" -exec \ sed -i 's/language: python3/language: Python/' {} \; ``` --- ar-ar/python-ar.html.markdown | 2 +- de-de/python-de.html.markdown | 2 +- el-gr/python-gr.html.markdown | 2 +- es-es/python-es.html.markdown | 2 +- fr-fr/python-fr.html.markdown | 2 +- it-it/python-it.html.markdown | 2 +- ja-jp/python-jp.html.markdown | 2 +- pt-br/python-pt.html.markdown | 2 +- ru-ru/python-ru.html.markdown | 2 +- tr-tr/python-tr.html.markdown | 2 +- vi-vn/python-vi.html.markdown | 2 +- zh-cn/python-cn.html.markdown | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ar-ar/python-ar.html.markdown b/ar-ar/python-ar.html.markdown index 1b75b596..8aa8dd37 100644 --- a/ar-ar/python-ar.html.markdown +++ b/ar-ar/python-ar.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/de-de/python-de.html.markdown b/de-de/python-de.html.markdown index 2c1e9ae0..28a705f2 100644 --- a/de-de/python-de.html.markdown +++ b/de-de/python-de.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/el-gr/python-gr.html.markdown b/el-gr/python-gr.html.markdown index 2ae9cc75..d81f4012 100644 --- a/el-gr/python-gr.html.markdown +++ b/el-gr/python-gr.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/es-es/python-es.html.markdown b/es-es/python-es.html.markdown index 3236e73a..aa74aaf8 100644 --- a/es-es/python-es.html.markdown +++ b/es-es/python-es.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] translators: diff --git a/fr-fr/python-fr.html.markdown b/fr-fr/python-fr.html.markdown index 7112cd90..3dbec414 100644 --- a/fr-fr/python-fr.html.markdown +++ b/fr-fr/python-fr.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/it-it/python-it.html.markdown b/it-it/python-it.html.markdown index 04f78cff..abd86184 100644 --- a/it-it/python-it.html.markdown +++ b/it-it/python-it.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python filename: learnpython3-it.py contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] diff --git a/ja-jp/python-jp.html.markdown b/ja-jp/python-jp.html.markdown index 3e01bfcd..1f212aee 100644 --- a/ja-jp/python-jp.html.markdown +++ b/ja-jp/python-jp.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/pt-br/python-pt.html.markdown b/pt-br/python-pt.html.markdown index bc5f801c..d3dfcb23 100644 --- a/pt-br/python-pt.html.markdown +++ b/pt-br/python-pt.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/ru-ru/python-ru.html.markdown b/ru-ru/python-ru.html.markdown index bf80fed2..179f339f 100644 --- a/ru-ru/python-ru.html.markdown +++ b/ru-ru/python-ru.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python lang: ru-ru contributors: - ["Louie Dinh", "http://ldinh.ca"] diff --git a/tr-tr/python-tr.html.markdown b/tr-tr/python-tr.html.markdown index bba3d3ac..a1007f34 100644 --- a/tr-tr/python-tr.html.markdown +++ b/tr-tr/python-tr.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/vi-vn/python-vi.html.markdown b/vi-vn/python-vi.html.markdown index 8c373d53..58154f35 100644 --- a/vi-vn/python-vi.html.markdown +++ b/vi-vn/python-vi.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python filename: learnpython3-vi.py contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] diff --git a/zh-cn/python-cn.html.markdown b/zh-cn/python-cn.html.markdown index 0e11e12f..e3804cf6 100644 --- a/zh-cn/python-cn.html.markdown +++ b/zh-cn/python-cn.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] From 887cbee8af080034177734b528819491e73a7a16 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 05:50:44 +0100 Subject: [PATCH 14/21] Change 'filename:' for Python 2 (legacy) Before renaming, all Python 2 filenames were 'learnpython-*.py'. This commit renames them to 'learnpythonlegacy-*.py'. To verify that the filenames were named consistently across translations prior to this commit, and to change this: ``` find . -name "pythonlegacy*.markdown" -exec ack filename: {} \; find . -name "pythonlegacy*.markdown" -exec \ sed -i 's/^filename: learnpython/filename: learnpythonlegacy/' {} \; ``` --- de-de/pythonlegacy-de.html.markdown | 2 +- es-es/pythonlegacy-es.html.markdown | 2 +- fr-fr/pythonlegacy-fr.html.markdown | 2 +- hu-hu/pythonlegacy-hu.html.markdown | 2 +- it-it/pythonlegacy-it.html.markdown | 2 +- ko-kr/pythonlegacy-kr.html.markdown | 2 +- pl-pl/pythonlegacy-pl.html.markdown | 2 +- pt-br/pythonlegacy-pt.html.markdown | 2 +- pythonlegacy.html.markdown | 2 +- ro-ro/pythonlegacy-ro.html.markdown | 2 +- ru-ru/pythonlegacy-ru.html.markdown | 2 +- tr-tr/pythonlegacy-tr.html.markdown | 2 +- uk-ua/pythonlegacy-ua.html.markdown | 2 +- zh-cn/pythonlegacy-cn.html.markdown | 2 +- zh-tw/pythonlegacy-tw.html.markdown | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/de-de/pythonlegacy-de.html.markdown b/de-de/pythonlegacy-de.html.markdown index 3f8f9783..d66a8551 100644 --- a/de-de/pythonlegacy-de.html.markdown +++ b/de-de/pythonlegacy-de.html.markdown @@ -4,7 +4,7 @@ contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: - ["kultprok", "http:/www.kulturproktologie.de"] -filename: learnpython-de.py +filename: learnpythonlegacy-de.py lang: de-de --- diff --git a/es-es/pythonlegacy-es.html.markdown b/es-es/pythonlegacy-es.html.markdown index db16b9bd..0a7304e9 100644 --- a/es-es/pythonlegacy-es.html.markdown +++ b/es-es/pythonlegacy-es.html.markdown @@ -6,7 +6,7 @@ translators: - ["Camilo Garrido", "http://www.twitter.com/hirohope"] - ["Fabio Souto", "http://fabiosouto.me"] lang: es-es -filename: learnpython-es.py +filename: learnpythonlegacy-es.py --- Python fue creado por Guido Van Rossum en el principio de los 90. Ahora es uno diff --git a/fr-fr/pythonlegacy-fr.html.markdown b/fr-fr/pythonlegacy-fr.html.markdown index 03868580..10b1a0a6 100644 --- a/fr-fr/pythonlegacy-fr.html.markdown +++ b/fr-fr/pythonlegacy-fr.html.markdown @@ -1,6 +1,6 @@ --- language: Python 2 (legacy) -filename: learnpython-fr.py +filename: learnpythonlegacy-fr.py contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/hu-hu/pythonlegacy-hu.html.markdown b/hu-hu/pythonlegacy-hu.html.markdown index 3becdf34..b5922766 100644 --- a/hu-hu/pythonlegacy-hu.html.markdown +++ b/hu-hu/pythonlegacy-hu.html.markdown @@ -9,7 +9,7 @@ contributors: - ["habi", "http://github.com/habi"] translators: - ["Tamás Diószegi", "https://github.com/ditam"] -filename: learnpython-hu.py +filename: learnpythonlegacy-hu.py lang: hu-hu --- diff --git a/it-it/pythonlegacy-it.html.markdown b/it-it/pythonlegacy-it.html.markdown index fec0c7b7..4c8b2a17 100644 --- a/it-it/pythonlegacy-it.html.markdown +++ b/it-it/pythonlegacy-it.html.markdown @@ -1,6 +1,6 @@ --- language: Python 2 (legacy) -filename: learnpython-it.py +filename: learnpythonlegacy-it.py contributors: - ["Louie Dinh", "http://ldinh.ca"] - ["Amin Bandali", "http://aminbandali.com"] diff --git a/ko-kr/pythonlegacy-kr.html.markdown b/ko-kr/pythonlegacy-kr.html.markdown index f09bce4e..978a9f33 100644 --- a/ko-kr/pythonlegacy-kr.html.markdown +++ b/ko-kr/pythonlegacy-kr.html.markdown @@ -3,7 +3,7 @@ language: Python 2 (legacy) category: language contributors: - ["Louie Dinh", "http://ldinh.ca"] -filename: learnpython-ko.py +filename: learnpythonlegacy-ko.py translators: - ["wikibook", "http://wikibook.co.kr"] lang: ko-kr diff --git a/pl-pl/pythonlegacy-pl.html.markdown b/pl-pl/pythonlegacy-pl.html.markdown index e620fffb..9e322658 100644 --- a/pl-pl/pythonlegacy-pl.html.markdown +++ b/pl-pl/pythonlegacy-pl.html.markdown @@ -2,7 +2,7 @@ name: python category: language language: Python 2 (legacy) -filename: learnpython-pl.py +filename: learnpythonlegacy-pl.py contributors: - ["Louie Dinh", "http://ldinh.ca"] - ["Amin Bandali", "http://aminbandali.com"] diff --git a/pt-br/pythonlegacy-pt.html.markdown b/pt-br/pythonlegacy-pt.html.markdown index 399c193a..572bb787 100644 --- a/pt-br/pythonlegacy-pt.html.markdown +++ b/pt-br/pythonlegacy-pt.html.markdown @@ -5,7 +5,7 @@ contributors: translators: - ["Vilson Vieira", "http://automata.cc"] lang: pt-br -filename: learnpython-pt.py +filename: learnpythonlegacy-pt.py --- Python foi criado por Guido Van Rossum no começo dos anos 90. Atualmente é uma diff --git a/pythonlegacy.html.markdown b/pythonlegacy.html.markdown index 25c22f78..95d6aa63 100644 --- a/pythonlegacy.html.markdown +++ b/pythonlegacy.html.markdown @@ -8,7 +8,7 @@ contributors: - ["asyne", "https://github.com/justblah"] - ["habi", "http://github.com/habi"] - ["Rommel Martinez", "https://ebzzry.io"] -filename: learnpython.py +filename: learnpythonlegacy.py --- Python was created by Guido Van Rossum in the early 90s. It is now one of the diff --git a/ro-ro/pythonlegacy-ro.html.markdown b/ro-ro/pythonlegacy-ro.html.markdown index 2badef08..a368ff99 100644 --- a/ro-ro/pythonlegacy-ro.html.markdown +++ b/ro-ro/pythonlegacy-ro.html.markdown @@ -4,7 +4,7 @@ contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: - ["Ovidiu Ciule", "https://github.com/ociule"] -filename: learnpython-ro.py +filename: learnpythonlegacy-ro.py lang: ro-ro --- diff --git a/ru-ru/pythonlegacy-ru.html.markdown b/ru-ru/pythonlegacy-ru.html.markdown index 21220c4d..ead2af3d 100644 --- a/ru-ru/pythonlegacy-ru.html.markdown +++ b/ru-ru/pythonlegacy-ru.html.markdown @@ -6,7 +6,7 @@ contributors: translators: - ["Yury Timofeev", "http://twitter.com/gagar1n"] - ["Andre Polykanine", "https://github.com/Oire"] -filename: learnpython-ru.py +filename: learnpythonlegacy-ru.py --- Язык Python был создан Гвидо ван Россумом в начале 90-х. Сейчас это один из diff --git a/tr-tr/pythonlegacy-tr.html.markdown b/tr-tr/pythonlegacy-tr.html.markdown index ce3c8cd7..cd757625 100644 --- a/tr-tr/pythonlegacy-tr.html.markdown +++ b/tr-tr/pythonlegacy-tr.html.markdown @@ -1,6 +1,6 @@ --- language: Python 2 (legacy) -filename: learnpython-tr.py +filename: learnpythonlegacy-tr.py contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: diff --git a/uk-ua/pythonlegacy-ua.html.markdown b/uk-ua/pythonlegacy-ua.html.markdown index 3244348c..e2a6d19e 100644 --- a/uk-ua/pythonlegacy-ua.html.markdown +++ b/uk-ua/pythonlegacy-ua.html.markdown @@ -10,7 +10,7 @@ contributors: - ["habi", "http://github.com/habi"] translators: - ["Oleh Hromiak", "https://github.com/ogroleg"] -filename: learnpython-ua.py +filename: learnpythonlegacy-ua.py --- Мову Python створив Гвідо ван Россум на початку 90-х. Наразі це одна з diff --git a/zh-cn/pythonlegacy-cn.html.markdown b/zh-cn/pythonlegacy-cn.html.markdown index 98759857..756081d6 100644 --- a/zh-cn/pythonlegacy-cn.html.markdown +++ b/zh-cn/pythonlegacy-cn.html.markdown @@ -4,7 +4,7 @@ contributors: - ["Louie Dinh", "http://ldinh.ca"] translators: - ["Chenbo Li", "http://binarythink.net"] -filename: learnpython-zh.py +filename: learnpythonlegacy-zh.py lang: zh-cn --- diff --git a/zh-tw/pythonlegacy-tw.html.markdown b/zh-tw/pythonlegacy-tw.html.markdown index e094f3fd..575897e2 100644 --- a/zh-tw/pythonlegacy-tw.html.markdown +++ b/zh-tw/pythonlegacy-tw.html.markdown @@ -7,7 +7,7 @@ contributors: - ["evuez", "http://github.com/evuez"] translators: - ["Michael Yeh", "https://hinet60613.github.io/"] -filename: learnpython-tw.py +filename: learnpythonlegacy-tw.py lang: zh-tw --- From ae848c481fabaca935ffbe33293a43a43434d268 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 06:23:31 +0100 Subject: [PATCH 15/21] Python 3: Use 'filename: learnpython*.py' (no '3') Before renaming, Python 3 filenames were 'learnpython3*.py'. This commit removes the '3' part from the filename. To verify that the filenames were named consistently across translations prior to this commit, and to change this: ``` ack -H 'filename:' python.html.markdown find . -name "python-*.markdown" -exec ack -H 'filename:' {} \; sed -i 's/^filename: learnpython3/filename: learnpython/' \ python.html.markdown find . -name "python-*.markdown" -exec \ sed -i 's/^filename: learnpython3/filename: learnpython/' {} \; ``` --- ar-ar/python-ar.html.markdown | 2 +- de-de/python-de.html.markdown | 2 +- el-gr/python-gr.html.markdown | 2 +- es-es/python-es.html.markdown | 2 +- fr-fr/python-fr.html.markdown | 2 +- it-it/python-it.html.markdown | 2 +- ja-jp/python-jp.html.markdown | 2 +- pt-br/python-pt.html.markdown | 2 +- python.html.markdown | 2 +- ru-ru/python-ru.html.markdown | 2 +- tr-tr/python-tr.html.markdown | 2 +- vi-vn/python-vi.html.markdown | 2 +- zh-cn/python-cn.html.markdown | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ar-ar/python-ar.html.markdown b/ar-ar/python-ar.html.markdown index 8aa8dd37..f89c2f25 100644 --- a/ar-ar/python-ar.html.markdown +++ b/ar-ar/python-ar.html.markdown @@ -11,7 +11,7 @@ contributors: translators: - ["Ahmad Hegazy", "https://github.com/ahegazy"] lang: ar-ar -filename: learnpython3-ar.py +filename: learnpython-ar.py --- لقد أُنشئت لغة البايثون بواسطة جايدو ڤان روسم في بداية التسعينات. هي الأن أحد أشهر اللغات الموجودة. diff --git a/de-de/python-de.html.markdown b/de-de/python-de.html.markdown index 28a705f2..9eebff41 100644 --- a/de-de/python-de.html.markdown +++ b/de-de/python-de.html.markdown @@ -5,7 +5,7 @@ contributors: translators: - ["kultprok", "http:/www.kulturproktologie.de"] - ["matthiaskern", "https://github.com/matthiaskern"] -filename: learnpython3-de.py +filename: learnpython-de.py lang: de-de --- diff --git a/el-gr/python-gr.html.markdown b/el-gr/python-gr.html.markdown index d81f4012..203c6e78 100644 --- a/el-gr/python-gr.html.markdown +++ b/el-gr/python-gr.html.markdown @@ -8,7 +8,7 @@ contributors: - ["evuez", "http://github.com/evuez"] - ["Rommel Martinez", "https://ebzzry.io"] - ["Roberto Fernandez Diaz", "https://github.com/robertofd1995"] -filename: learnpython3-gr.py +filename: learnpython-gr.py lang: el-gr --- diff --git a/es-es/python-es.html.markdown b/es-es/python-es.html.markdown index aa74aaf8..7deec286 100644 --- a/es-es/python-es.html.markdown +++ b/es-es/python-es.html.markdown @@ -5,7 +5,7 @@ contributors: translators: - ["Camilo Garrido", "http://twitter.com/hirohope"] lang: es-es -filename: learnpython3-es.py +filename: learnpython-es.py --- Python fue creado por Guido Van Rossum en el principio de los 90'. Ahora es uno diff --git a/fr-fr/python-fr.html.markdown b/fr-fr/python-fr.html.markdown index 3dbec414..ca510d66 100644 --- a/fr-fr/python-fr.html.markdown +++ b/fr-fr/python-fr.html.markdown @@ -8,7 +8,7 @@ contributors: translators: - ["Gnomino", "https://github.com/Gnomino"] - ["Julien M'Poy", "http://github.com/groovytron"] -filename: learnpython3-fr.py +filename: learnpython-fr.py lang: fr-fr --- diff --git a/it-it/python-it.html.markdown b/it-it/python-it.html.markdown index abd86184..de7bb0ed 100644 --- a/it-it/python-it.html.markdown +++ b/it-it/python-it.html.markdown @@ -1,6 +1,6 @@ --- language: Python -filename: learnpython3-it.py +filename: learnpython-it.py contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/ja-jp/python-jp.html.markdown b/ja-jp/python-jp.html.markdown index 1f212aee..c80b4d4c 100644 --- a/ja-jp/python-jp.html.markdown +++ b/ja-jp/python-jp.html.markdown @@ -11,7 +11,7 @@ contributors: translators: - ["kakakaya", "https://github.com/kakakaya"] - ["Ryota Kayanuma", "https://github.com/PicoSushi"] -filename: learnpython3-jp.py +filename: learnpython-jp.py lang: ja-jp --- diff --git a/pt-br/python-pt.html.markdown b/pt-br/python-pt.html.markdown index d3dfcb23..3f9c54c1 100644 --- a/pt-br/python-pt.html.markdown +++ b/pt-br/python-pt.html.markdown @@ -9,7 +9,7 @@ translators: - ["Paulo Henrique Rodrigues Pinheiro", "http://www.sysincloud.it"] - ["Monique Baptista", "https://github.com/bfmonique"] lang: pt-br -filename: learnpython3-pt.py +filename: learnpython-pt.py --- Python foi criada por Guido Van Rossum nos anos 1990. Ela é atualmente uma diff --git a/python.html.markdown b/python.html.markdown index aac04469..2e1f8c90 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -9,7 +9,7 @@ contributors: - ["Rommel Martinez", "https://ebzzry.io"] - ["Roberto Fernandez Diaz", "https://github.com/robertofd1995"] - ["caminsha", "https://github.com/caminsha"] -filename: learnpython3.py +filename: learnpython.py --- Python was created by Guido van Rossum in the early 90s. It is now one of the most popular diff --git a/ru-ru/python-ru.html.markdown b/ru-ru/python-ru.html.markdown index 179f339f..b2c00baf 100644 --- a/ru-ru/python-ru.html.markdown +++ b/ru-ru/python-ru.html.markdown @@ -6,7 +6,7 @@ contributors: - ["Steven Basart", "http://github.com/xksteven"] translators: - ["Andre Polykanine", "https://github.com/Oire"] -filename: learnpython3-ru.py +filename: learnpython-ru.py --- Язык Python был создан Гвидо ван Россумом в начале 90-х. Сейчас это один из diff --git a/tr-tr/python-tr.html.markdown b/tr-tr/python-tr.html.markdown index a1007f34..6d9cdcbe 100644 --- a/tr-tr/python-tr.html.markdown +++ b/tr-tr/python-tr.html.markdown @@ -8,7 +8,7 @@ contributors: translators: - ["Eray AYDIN", "http://erayaydin.me/"] lang: tr-tr -filename: learnpython3-tr.py +filename: learnpython-tr.py --- Python,90ların başlarında Guido Van Rossum tarafından oluşturulmuştur. En popüler olan dillerden biridir. Beni Python'a aşık eden sebep onun syntax beraklığı. Çok basit bir çalıştırılabilir söz koddur. diff --git a/vi-vn/python-vi.html.markdown b/vi-vn/python-vi.html.markdown index 58154f35..89e51d5d 100644 --- a/vi-vn/python-vi.html.markdown +++ b/vi-vn/python-vi.html.markdown @@ -1,6 +1,6 @@ --- language: Python -filename: learnpython3-vi.py +filename: learnpython-vi.py contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] diff --git a/zh-cn/python-cn.html.markdown b/zh-cn/python-cn.html.markdown index e3804cf6..da13275b 100644 --- a/zh-cn/python-cn.html.markdown +++ b/zh-cn/python-cn.html.markdown @@ -6,7 +6,7 @@ contributors: - ["Andre Polykanine", "https://github.com/Oire"] translators: - ["Geoff Liu", "http://geoffliu.me"] -filename: learnpython3-cn.py +filename: learnpython-cn.py lang: zh-cn --- From 5864aba42d2cf57dfe96049568b3a9689ea6a813 Mon Sep 17 00:00:00 2001 From: Leigh Brenecki Date: Thu, 13 Feb 2020 10:38:29 +1030 Subject: [PATCH 16/21] Purge my deadname --- .mailmap | 1 + cs-cz/javascript.html.markdown | 2 +- de-de/javascript-de.html.markdown | 4 ++-- de-de/yaml-de.html.markdown | 2 +- es-es/javascript-es.html.markdown | 6 +++--- es-es/yaml-es.html.markdown | 2 +- fa-ir/javascript-fa.html.markdown | 6 +++--- fr-fr/javascript-fr.html.markdown | 2 +- hu-hu/yaml-hu.html.markdown | 2 +- it-it/javascript-it.html.markdown | 2 +- javascript.html.markdown | 2 +- ko-kr/javascript-kr.html.markdown | 6 +++--- ko-kr/yaml-kr.html.markdown | 2 +- ms-my/javascript-my.html.markdown | 2 +- nl-nl/yaml-nl.html.markdown | 2 +- pt-br/javascript-pt.html.markdown | 6 +++--- pt-br/yaml-pt.html.markdown | 2 +- ru-ru/javascript-ru.html.markdown | 2 +- ru-ru/yaml-ru.html.markdown | 2 +- ta_in/javascript-ta.html.markdown | 6 +++--- uk-ua/javascript-ua.html.markdown | 2 +- yaml.html.markdown | 2 +- zh-cn/javascript-cn.html.markdown | 6 +++--- zh-cn/yaml-cn.html.markdown | 2 +- 24 files changed, 37 insertions(+), 36 deletions(-) create mode 100644 .mailmap diff --git a/.mailmap b/.mailmap new file mode 100644 index 00000000..b69f76fe --- /dev/null +++ b/.mailmap @@ -0,0 +1 @@ +Leigh Brenecki diff --git a/cs-cz/javascript.html.markdown b/cs-cz/javascript.html.markdown index c05a9138..408ddde0 100644 --- a/cs-cz/javascript.html.markdown +++ b/cs-cz/javascript.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] translators: - ["Michal Martinek", "https://github.com/MichalMartinek"] diff --git a/de-de/javascript-de.html.markdown b/de-de/javascript-de.html.markdown index f3917506..f817ee9f 100644 --- a/de-de/javascript-de.html.markdown +++ b/de-de/javascript-de.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] translators: - ["ggb", "http://www.ideen-und-soehne.de"] filename: learnjavascript-de.js @@ -13,7 +13,7 @@ JavaScript wurde im Jahr 1995 von Brendan Eich bei Netscape entwickelt. Ursprün Dabei ist JavaScript inzwischen nicht mehr auf Browser beschränkt: Node.js, ein Projekt, das eine eigene Laufzeitumgebung auf Grundlage von Google Chromes V8 mitbringt, wird derzeit immer populärer. -Feedback ist herzlich Willkommen! Der ursprüngliche Autor ist unter [@adambrenecki](https://twitter.com/adambrenecki) oder [adam@brenecki.id.au](mailto:adam@brenecki.id.au) zu erreichen. Der Übersetzer unter [gregorbg@web.de](mailto:gregorbg@web.de). +Feedback ist herzlich Willkommen! Der ursprüngliche Autor ist unter [@excitedleigh](https://twitter.com/excitedleigh) oder [l@leigh.net.au](mailto:l@leigh.net.au) zu erreichen. Der Übersetzer unter [gregorbg@web.de](mailto:gregorbg@web.de). ```js // Kommentare werden wie in C gesetzt: Einzeilige Kommentare starten mit zwei diff --git a/de-de/yaml-de.html.markdown b/de-de/yaml-de.html.markdown index ff45dc8d..0332c912 100644 --- a/de-de/yaml-de.html.markdown +++ b/de-de/yaml-de.html.markdown @@ -1,7 +1,7 @@ --- language: yaml contributors: - - ["Adam Brenecki", "https://github.com/adambrenecki"] + - ["Leigh Brenecki", "https://github.com/adambrenecki"] translators: - ["Ruben M.", "https://github.com/switchhax"] filename: learnyaml-de.yaml diff --git a/es-es/javascript-es.html.markdown b/es-es/javascript-es.html.markdown index 31512dc4..050154c7 100644 --- a/es-es/javascript-es.html.markdown +++ b/es-es/javascript-es.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] translators: - ["Daniel Zendejas","https://github.com/DanielZendejas"] @@ -19,8 +19,8 @@ para front-end que Java. Sin embargo, JavaScript no sólo se limita a los navegadores web: Node.js, un proyecto que proporciona un entorno de ejecución independiente para el motor V8 de Google Chrome, se está volviendo más y más popular. ¡La retroalimentación es bienvenida! Puedes encontrarme en: -[@adambrenecki](https://twitter.com/adambrenecki), o -[adam@brenecki.id.au](mailto:adam@brenecki.id.au). +[@ExcitedLeigh](https://twitter.com/ExcitedLeigh), o +[l@leigh.net.au](mailto:l@leigh.net.au). ```js // Los comentarios en JavaScript son los mismos como comentarios en C. diff --git a/es-es/yaml-es.html.markdown b/es-es/yaml-es.html.markdown index cd3143fb..582fa60e 100644 --- a/es-es/yaml-es.html.markdown +++ b/es-es/yaml-es.html.markdown @@ -3,7 +3,7 @@ language: yaml lang: es-es filename: learnyaml-es.yaml contributors: - - ["Adam Brenecki", "https://github.com/adambrenecki"] + - ["Leigh Brenecki", "https://github.com/adambrenecki"] - ["Everardo Medina","https://github.com/everblut"] translators: - ["Daniel Zendejas","https://github.com/DanielZendejas"] diff --git a/fa-ir/javascript-fa.html.markdown b/fa-ir/javascript-fa.html.markdown index fe3555af..d4d3a657 100644 --- a/fa-ir/javascript-fa.html.markdown +++ b/fa-ir/javascript-fa.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] translators: - ["Mohammad Valipour", "https://github.com/mvalipour"] filename: javascript-fa.js @@ -17,8 +17,8 @@ lang: fa-ir قدر دان نظرات سازنده شما هستم! شما میتوانید از طریق زیر با من تماس بگیرید:

-[@adambrenecki](https://twitter.com/adambrenecki), or -[adam@brenecki.id.au](mailto:adam@brenecki.id.au). +[@ExcitedLeigh](https://twitter.com/ExcitedLeigh), or +[l@leigh.net.au](mailto:l@leigh.net.au).

// توضیحات همانند C هستند. توضیحات یک خطی با دو خط مورب شروع میشوند., diff --git a/fr-fr/javascript-fr.html.markdown b/fr-fr/javascript-fr.html.markdown index faa22863..7aad2da8 100644 --- a/fr-fr/javascript-fr.html.markdown +++ b/fr-fr/javascript-fr.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ['Adam Brenecki', 'http://adam.brenecki.id.au'] + - ['Leigh Brenecki', 'https://leigh.net.au'] - ['Ariel Krakowski', 'http://www.learneroo.com'] filename: javascript-fr.js translators: diff --git a/hu-hu/yaml-hu.html.markdown b/hu-hu/yaml-hu.html.markdown index 37ce4cb2..3fb8b87f 100644 --- a/hu-hu/yaml-hu.html.markdown +++ b/hu-hu/yaml-hu.html.markdown @@ -2,7 +2,7 @@ language: yaml filename: learnyaml-hu.yaml contributors: - - ["Adam Brenecki", "https://github.com/adambrenecki"] + - ["Leigh Brenecki", "https://github.com/adambrenecki"] translators: - ["Tamás Diószegi", "https://github.com/ditam"] lang: hu-hu diff --git a/it-it/javascript-it.html.markdown b/it-it/javascript-it.html.markdown index 68bf6287..1d776535 100644 --- a/it-it/javascript-it.html.markdown +++ b/it-it/javascript-it.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] translators: - ["vinniec", "https://github.com/vinniec"] diff --git a/javascript.html.markdown b/javascript.html.markdown index ad1af76a..3c0e6d4f 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] filename: javascript.js --- diff --git a/ko-kr/javascript-kr.html.markdown b/ko-kr/javascript-kr.html.markdown index 9561e80c..619d8104 100644 --- a/ko-kr/javascript-kr.html.markdown +++ b/ko-kr/javascript-kr.html.markdown @@ -2,7 +2,7 @@ language: javascript category: language contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] translators: - ["wikibook", "http://wikibook.co.kr"] filename: javascript-kr.js @@ -18,8 +18,8 @@ lang: ko-kr 그렇지만 자바스크립트는 웹 브라우저에만 국한되지 않습니다. 구글 크롬의 V8 자바스크립트 엔진을 위한 독립형 런타임을 제공하는 Node.js는 점점 인기를 얻고 있습니다. -피드백 주시면 대단히 감사하겠습니다! [@adambrenecki](https://twitter.com/adambrenecki)나 -[adam@brenecki.id.au](mailto:adam@brenecki.id.au)를 통해 저와 만나실 수 있습니다. +피드백 주시면 대단히 감사하겠습니다! [@ExcitedLeigh](https://twitter.com/ExcitedLeigh)나 +[l@leigh.net.au](mailto:l@leigh.net.au)를 통해 저와 만나실 수 있습니다. ```js // 주석은 C와 비슷합니다. 한 줄짜리 주석은 두 개의 슬래시로 시작하고, diff --git a/ko-kr/yaml-kr.html.markdown b/ko-kr/yaml-kr.html.markdown index b6d1de41..4b1b29d2 100644 --- a/ko-kr/yaml-kr.html.markdown +++ b/ko-kr/yaml-kr.html.markdown @@ -2,7 +2,7 @@ language: yaml filename: learnyaml-kr.yaml contributors: - - ["Adam Brenecki", "https://github.com/adambrenecki"] + - ["Leigh Brenecki", "https://github.com/adambrenecki"] - ["Suhas SG", "https://github.com/jargnar"] translators: - ["Wooseop Kim", "https://github.com/linterpreteur"] diff --git a/ms-my/javascript-my.html.markdown b/ms-my/javascript-my.html.markdown index 90e37133..9a7a23ba 100644 --- a/ms-my/javascript-my.html.markdown +++ b/ms-my/javascript-my.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] filename: javascript-ms.js translators: diff --git a/nl-nl/yaml-nl.html.markdown b/nl-nl/yaml-nl.html.markdown index 11af784f..7e4d37b1 100644 --- a/nl-nl/yaml-nl.html.markdown +++ b/nl-nl/yaml-nl.html.markdown @@ -2,7 +2,7 @@ language: yaml filename: learnyaml-nl.yaml contributors: - - ["Adam Brenecki", "https://github.com/adambrenecki"] + - ["Leigh Brenecki", "https://github.com/adambrenecki"] translators: - ["Niels van Velzen", "https://nielsvanvelzen.me"] - ["Sam van Kampen", "http://tehsvk.net"] diff --git a/pt-br/javascript-pt.html.markdown b/pt-br/javascript-pt.html.markdown index f12d275b..e38804f3 100644 --- a/pt-br/javascript-pt.html.markdown +++ b/pt-br/javascript-pt.html.markdown @@ -2,7 +2,7 @@ language: javascript filename: javascript-pt.js contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] translators: - ["Willian Justen", "http://willianjusten.com.br"] @@ -20,8 +20,8 @@ que é um projeto que fornece um interpretador baseado no motor V8 do Google Chrome e está se tornando cada vez mais famoso. Feedback são muito apreciados! Você me encontrar em -[@adambrenecki](https://twitter.com/adambrenecki), ou -[adam@brenecki.id.au](mailto:adam@brenecki.id.au). +[@ExcitedLeigh](https://twitter.com/ExcitedLeigh), ou +[l@leigh.net.au](mailto:l@leigh.net.au). ```js // Comentários são como em C. Comentários de uma linha começam com duas barras, diff --git a/pt-br/yaml-pt.html.markdown b/pt-br/yaml-pt.html.markdown index 07903325..21e9b4bb 100644 --- a/pt-br/yaml-pt.html.markdown +++ b/pt-br/yaml-pt.html.markdown @@ -1,7 +1,7 @@ --- language: yaml contributors: - - ["Adam Brenecki", "https://github.com/adambrenecki"] + - ["Leigh Brenecki", "https://github.com/adambrenecki"] translators: - ["Rodrigo Russo", "https://github.com/rodrigozrusso"] filename: learnyaml-pt.yaml diff --git a/ru-ru/javascript-ru.html.markdown b/ru-ru/javascript-ru.html.markdown index 27874e93..c31c6994 100644 --- a/ru-ru/javascript-ru.html.markdown +++ b/ru-ru/javascript-ru.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] filename: javascript-ru.js translators: diff --git a/ru-ru/yaml-ru.html.markdown b/ru-ru/yaml-ru.html.markdown index 0f805681..ddaed2b6 100644 --- a/ru-ru/yaml-ru.html.markdown +++ b/ru-ru/yaml-ru.html.markdown @@ -2,7 +2,7 @@ language: yaml filename: learnyaml-ru.yaml contributors: -- [Adam Brenecki, 'https://github.com/adambrenecki'] +- [Leigh Brenecki, 'https://github.com/adambrenecki'] - [Suhas SG, 'https://github.com/jargnar'] translators: - [Sergei Babin, 'https://github.com/serzn1'] diff --git a/ta_in/javascript-ta.html.markdown b/ta_in/javascript-ta.html.markdown index d3fe5a85..b328765f 100644 --- a/ta_in/javascript-ta.html.markdown +++ b/ta_in/javascript-ta.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ['Adam Brenecki', 'http://adam.brenecki.id.au'] + - ['Leigh Brenecki', 'https://leigh.net.au'] - ['Ariel Krakowski', 'http://www.learneroo.com'] translators: - ["Rasendran Kirushan", "https://github.com/kirushanr"] @@ -22,8 +22,8 @@ javascript 1995 ஆம் ஆண்டு Netscape இல் பணிபுர V8 JavaScript engine Node .js உதவியுடன் இயங்குகிறது . உங்கள் கருத்துக்கள் மிகவும் வரவேற்கபடுகின்றன , என்னுடன் தொடர்புகொள்ள -[@adambrenecki](https://twitter.com/adambrenecki), or -[adam@brenecki.id.au](mailto:adam@brenecki.id.au). +[@ExcitedLeigh](https://twitter.com/ExcitedLeigh), or +[l@leigh.net.au](mailto:l@leigh.net.au). ```js // குறிப்புக்கள் C நிரலாக்கத்தை ஒத்தது .ஒரு வரி குறிப்புக்கள் "//" குறியீடுடன் ஆரம்பமாகும் diff --git a/uk-ua/javascript-ua.html.markdown b/uk-ua/javascript-ua.html.markdown index 6a64a623..2f17f586 100644 --- a/uk-ua/javascript-ua.html.markdown +++ b/uk-ua/javascript-ua.html.markdown @@ -1,7 +1,7 @@ --- language: javascript contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] - ["clearsense", "https://github.com/clearsense"] filename: javascript-uk.js diff --git a/yaml.html.markdown b/yaml.html.markdown index f1393c09..4f10a128 100644 --- a/yaml.html.markdown +++ b/yaml.html.markdown @@ -2,7 +2,7 @@ language: yaml filename: learnyaml.yaml contributors: -- [Adam Brenecki, 'https://github.com/adambrenecki'] +- [Leigh Brenecki, 'https://leigh.net.au'] - [Suhas SG, 'https://github.com/jargnar'] --- diff --git a/zh-cn/javascript-cn.html.markdown b/zh-cn/javascript-cn.html.markdown index 360f7c65..45e30932 100644 --- a/zh-cn/javascript-cn.html.markdown +++ b/zh-cn/javascript-cn.html.markdown @@ -4,7 +4,7 @@ category: language name: javascript filename: javascript-zh.js contributors: - - ["Adam Brenecki", "http://adam.brenecki.id.au"] + - ["Leigh Brenecki", "https://leigh.net.au"] - ["Ariel Krakowski", "http://www.learneroo.com"] translators: - ["Chenbo Li", "http://binarythink.net"] @@ -17,8 +17,8 @@ Javascript 于 1995 年由网景公司的 Brendan Eich 发明。最初它作为 不过,Javascript 不仅用于网页浏览器,一个名为 Node.js 的项目提供了面向 Google Chrome V8 引擎的独立运行时环境,它正在变得越来越流行。 很欢迎来自您的反馈,您可以通过下列方式联系到我: -[@adambrenecki](https://twitter.com/adambrenecki), 或者 -[adam@brenecki.id.au](mailto:adam@brenecki.id.au). +[@ExcitedLeigh](https://twitter.com/ExcitedLeigh), 或者 +[l@leigh.net.au](mailto:l@leigh.net.au). ```js // 注释方式和C很像,这是单行注释 diff --git a/zh-cn/yaml-cn.html.markdown b/zh-cn/yaml-cn.html.markdown index e75fafba..7b6ff305 100644 --- a/zh-cn/yaml-cn.html.markdown +++ b/zh-cn/yaml-cn.html.markdown @@ -1,7 +1,7 @@ --- language: yaml contributors: - - ["Adam Brenecki", "https://github.com/adambrenecki"] + - ["Leigh Brenecki", "https://github.com/adambrenecki"] translators: - ["Zach Zhang", "https://github.com/checkcheckzz"] - ["Jiang Haiyun", "https://github.com/haiiiiiyun"] From f63a13765669457bfe72eb0fee43b99936331bd3 Mon Sep 17 00:00:00 2001 From: Adam Bard Date: Thu, 13 Feb 2020 22:06:16 -0800 Subject: [PATCH 17/21] fix en python language --- python.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.html.markdown b/python.html.markdown index 2e1f8c90..0d438130 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] From cb55323819fa8ea937550051c2d41cb28b727630 Mon Sep 17 00:00:00 2001 From: Adam Bard Date: Thu, 13 Feb 2020 22:07:05 -0800 Subject: [PATCH 18/21] fix cs-cz python3 --- cs-cz/python.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cs-cz/python.html.markdown b/cs-cz/python.html.markdown index 7086ec5f..b684bd7d 100644 --- a/cs-cz/python.html.markdown +++ b/cs-cz/python.html.markdown @@ -1,5 +1,5 @@ --- -language: python3 +language: python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] @@ -7,7 +7,7 @@ contributors: - ["Tomáš Bedřich", "http://tbedrich.cz"] translators: - ["Tomáš Bedřich", "http://tbedrich.cz"] -filename: learnpython3-cz.py +filename: learnpython-cz.py lang: cs-cz --- From 1a06a3512b4c748372d8aebfdf97ddb07dbfaa54 Mon Sep 17 00:00:00 2001 From: Adam Bard Date: Thu, 13 Feb 2020 22:09:07 -0800 Subject: [PATCH 19/21] fix pl pythonlegacy --- pl-pl/pythonlegacy-pl.html.markdown | 2 -- 1 file changed, 2 deletions(-) diff --git a/pl-pl/pythonlegacy-pl.html.markdown b/pl-pl/pythonlegacy-pl.html.markdown index 9e322658..2b35ce90 100644 --- a/pl-pl/pythonlegacy-pl.html.markdown +++ b/pl-pl/pythonlegacy-pl.html.markdown @@ -1,6 +1,4 @@ --- -name: python -category: language language: Python 2 (legacy) filename: learnpythonlegacy-pl.py contributors: From 7539720f13ad86101be19b23989e260a9bc83dea Mon Sep 17 00:00:00 2001 From: Adam Bard Date: Thu, 13 Feb 2020 22:11:29 -0800 Subject: [PATCH 20/21] fix en python again --- python.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.html.markdown b/python.html.markdown index 0d438130..56cb9aac 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"] From ae75b35f5f2e75396984f79c081746e6f408a072 Mon Sep 17 00:00:00 2001 From: Adam Bard Date: Thu, 13 Feb 2020 22:13:20 -0800 Subject: [PATCH 21/21] fix cs-cz python3 again --- cs-cz/python.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs-cz/python.html.markdown b/cs-cz/python.html.markdown index b684bd7d..0e2416d1 100644 --- a/cs-cz/python.html.markdown +++ b/cs-cz/python.html.markdown @@ -1,5 +1,5 @@ --- -language: python +language: Python contributors: - ["Louie Dinh", "http://pythonpracticeprojects.com"] - ["Steven Basart", "http://github.com/xksteven"]