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/' {} \;
```
This commit is contained in:
Simon Shine 2020-02-12 05:50:44 +01:00
parent 8f5fac9895
commit 887cbee8af
15 changed files with 15 additions and 15 deletions

View File

@ -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
---

View File

@ -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

View File

@ -1,6 +1,6 @@
---
language: Python 2 (legacy)
filename: learnpython-fr.py
filename: learnpythonlegacy-fr.py
contributors:
- ["Louie Dinh", "http://ldinh.ca"]
translators:

View File

@ -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
---

View File

@ -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"]

View File

@ -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

View File

@ -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"]

View File

@ -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

View File

@ -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

View File

@ -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
---

View File

@ -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-х. Сейчас это один из

View File

@ -1,6 +1,6 @@
---
language: Python 2 (legacy)
filename: learnpython-tr.py
filename: learnpythonlegacy-tr.py
contributors:
- ["Louie Dinh", "http://ldinh.ca"]
translators:

View File

@ -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-х. Наразі це одна з

View File

@ -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
---

View File

@ -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
---