From 887cbee8af080034177734b528819491e73a7a16 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 05:50:44 +0100 Subject: [PATCH] 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 ---