Commit Graph

8633 Commits

Author SHA1 Message Date
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
kdxcxs
34f6aa1c5a Add PyQT Chinese translation 2020-02-12 11:53:07 +08:00
Max Schumacher
5c1cc4c823
Merge pull request #3819 from FedeHC/master
[sql/es] Translate SQL to Spanish
2020-02-11 16:10:23 +01:00
caminsha
ad90485802 fixed some small typos in German translation 2020-02-10 20:28:04 +01:00
Max Schumacher
fd72449524
Merge pull request #3853 from caminsha/de-de/D_typofix
[D/de-de] Fixed some typos in translation
2020-02-10 13:37:08 +01:00
caminsha
5c06bbba57 fixed some typos in German translation 2020-02-09 23:20:16 +01:00
caminsha
c7e03628fc started fixing the translation 2020-02-09 23:01:52 +01:00
Divay Prakash
e24cad5eef Merge pull request #3849 from petrroll/patch-2
[go/en] Add value/reference semantics information for arr/slices.
2020-02-09 22:18:18 +05:30
Divay Prakash
ccb727ebd3
Merge pull request #3848 from petrroll/patch-1
[go/en] Clarify safety of taking local variable address.
2020-02-09 22:17:35 +05:30
Divay Prakash
59b1ba43e0 Merge pull request #3852 from divayprakash/fix-lang
Add lang code, fix #3850
2020-02-09 22:13:42 +05:30
Divay Prakash
9e714ac1df Add lang code, fix #3850 2020-02-09 22:10:49 +05:30
Max Schumacher
9f4e2a2128
Merge pull request #3851 from petrroll/patch-3
[rust/en] Small stylistic fix.
2020-02-09 12:26:49 +01:00
Petr Houška
e98cb424b3 [rust/en] Small stylistic fix. 2020-02-08 23:29:46 +01:00
Petr Houška
cd631729a8 [go/en] Add value/reference semantics information for arr/slices. 2020-02-08 23:11:33 +01:00
Petr Houška
3869472f74 [go/en] Clarify safety of local variable address taking. 2020-02-08 22:57:43 +01:00
Max Schumacher
e021d05c2f
Merge pull request #3841 from Badalik/javascript-ru
Fixed prototype function return value comment in javascript-ru
2020-02-08 01:20:01 +01:00