From ae848c481fabaca935ffbe33293a43a43434d268 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Wed, 12 Feb 2020 06:23:31 +0100 Subject: [PATCH] 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 ---