Commit Graph

8192 Commits

Author SHA1 Message Date
caminsha
3f32649dd8 Fixed a small math error
Before: 2 -1 = 0
After: 2 - 1 = 1
2020-02-25 22:46:04 +01:00
caminsha
20ff967de5 Started with German translation of processing 2020-02-25 22:44:53 +01:00
Max Schumacher
8f3c99bb9e
Merge pull request #3867 from caminsha/de-de/c/rephraseVariable
[c/de-de] reworded variable declaration comment
2020-02-25 20:19:41 +01:00
John Arundel
e3c1b63e55
Fix playlist link 2020-02-25 18:16:47 +00:00
caminsha
2533ae9d9e reworded variable declaration comment
I reworded the comment so that the English and the German version have the same content.
See PR #3864
2020-02-25 17:13:36 +01:00
Max Schumacher
cbda14b7e6
Merge pull request #3866 from nitinrathi/patch-1
[pascal/en] Fixed a spelling mistake
2020-02-25 15:10:24 +01:00
Nitin Rathi
80bda7a0e8
Fixed a spelling mistake 2020-02-25 19:13:42 +05:30
John Arundel
131d536f40
Add Golang University playlist links 2020-02-23 12:44:28 +00:00
Divay Prakash
64dd094021
Merge pull request #3864 from KoenigKrote/master
[C/en] Rephrase variable declaration comments
2020-02-23 12:56:41 +05:30
KoenigKrote
842b247b74 Requires -> Require 2020-02-21 18:46:28 -07:00
KoenigKrote
bf1fe71a83 Rephrase variable declaration comments 2020-02-21 18:41:29 -07:00
Tomáš Bedřich
7b7464e178
Fix bad description of floor division 2020-02-19 10:04:30 +01:00
Max Schumacher
bdeb28ebbc
Merge pull request #3855 from kdxcxs/pyqt-cn
[pyqt/zh-cn] PyQT Chinese translation
2020-02-18 08:50:24 +01:00
kdxcxs
473b296fb5
Update pyqt-cn.html.markdown
Update translators list
2020-02-18 12:16:41 +08:00
kdxcxs
23e84fb341
Update pyqt-cn.html.markdown
Suggestions from lsvih
2020-02-18 11:58:59 +08:00
kdxcxs
4ad5bf24fc
Apply suggestions from code review
Co-Authored-By: lsvih <lsvih@qq.com>
2020-02-18 11:53:47 +08:00
kdxcxs
891061acd4
Apply suggestions from code review
完善注释

Co-Authored-By: lsvih <lsvih@qq.com>
2020-02-18 11:39:31 +08:00
kdxcxs
fb626bb078 纠正语法错误,中英文连接处加空格 2020-02-18 11:36:42 +08:00
kdxcxs
e68ea78b25 Replace tabs with spaces 2020-02-18 11:04:49 +08:00
kdxcxs
a64868904b remove a translated sentence 2020-02-18 08:20:34 +08:00
Max Schumacher
07f13d5e1c
Merge pull request #3854 from caminsha/de-de/python3_typofix
[python3/de-de] fixed some small typos in German translation
2020-02-17 18:04:24 +01:00
caminsha
c5362aaed1 Added example for f-strings 2020-02-17 00:26:43 +01:00
caminsha
254a609876 Changed sentence about deprecated python 2 2020-02-17 00:24:53 +01:00
Max Schumacher
f8c664647b
Merge pull request #3861 from caminsha/de-de/c/fix_whitespace
[c/de-de] made a whitespace after { character
2020-02-16 23:48:34 +01:00
caminsha
b27296c82a made a whitespace after character
I changed the indentation because of a discussion in PR #3839
2020-02-16 22:27:19 +01:00
caminsha
9f1addce40 removed section with different .format for stringformatting 2020-02-16 22:07:55 +01:00
caminsha
d533a06ba0 Fixed explanation about legacy python 2020-02-16 22:02:27 +01:00
Divay Prakash
9641d773d1
Merge pull request #3857 from polazarus/patch-1
[rust/en] Change misleading method and add two other methods
2020-02-16 19:29:13 +05:30
caminsha
1055a42304
Delete python3-de.html.markdown
I deleted the old file.

I'm sorry I had to commit twice. Was my first time to fetch upstream and merge it with old files.
2020-02-15 00:01:53 +01:00
caminsha
16506a1575 fetched upstream and made some translations to Python 2020-02-15 00:00:05 +01:00
Adam Bard
ae75b35f5f fix cs-cz python3 again 2020-02-13 22:13:20 -08:00
Adam Bard
7539720f13 fix en python again 2020-02-13 22:11:29 -08:00
Adam Bard
1a06a3512b fix pl pythonlegacy 2020-02-13 22:09:07 -08:00
Adam Bard
cb55323819 fix cs-cz python3 2020-02-13 22:07:05 -08:00
Adam Bard
f63a137656 fix en python language 2020-02-13 22:06:16 -08:00
Adam Bard
0a0a40dc2d
Merge pull request #3856 from sshine/make-python3-default
[Python] Make Python 3 default
2020-02-13 22:00:05 -08:00
Leigh Brenecki
6078f18d13 Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs 2020-02-13 10:38:35 +10:30
Leigh Brenecki
5864aba42d Purge my deadname 2020-02-13 10:38:29 +10:30
polazarus
602dbf5267
Change call 2020-02-12 21:25:39 +01:00
polazarus
33921c9e6c
[Rust] Change misleading method and add two other methods
The `get_bar` method consumes `self`. The name is misleading and does not respect the language naming convention.

This PR renames it to `into_bar` and provides `bar` (a getter) and `bar_mut` (to get a mutable reference).
2020-02-12 21:18:41 +01:00
Max Schumacher
76db052c9e
Merge pull request #3843 from nihilismus/clojure-es-es
[clojure/es] Update translation
2020-02-12 09:50:09 +01:00
Simon Shine
ae848c481f 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/' {} \;
```
2020-02-12 07:04:42 +01:00
Simon Shine
887cbee8af 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/' {} \;
```
2020-02-12 07:04:42 +01:00
Simon Shine
8f5fac9895 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/' {} \;
```
2020-02-12 07:04:42 +01:00
Simon Shine
95c8b24ebf 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)/' {} \;
```
2020-02-12 05:09:13 +01:00
kdxcxs
890aedaa5d Add PyQT Chinese translation 2020-02-12 12:03:24 +08:00
Simon Shine
efe00fd06e Switch links: 'python3 <-> python' and 'python <-> pythonlegacy'
The list of references is exhausted by running 'ack docs/python'.
2020-02-12 05:03:08 +01:00
kdxcxs
844029c927 Add PyQT Chinese translation 2020-02-12 11:57:05 +08:00
Simon Shine
a3b0585374 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
2020-02-12 04:54:36 +01:00
Simon Shine
1adab9bc3f 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
```
2020-02-12 04:53:08 +01:00