Commit Graph

8315 Commits

Author SHA1 Message Date
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
Divay Prakash
de41d8f488
Merge pull request #3845 from Keating950/patch-2
[MIPS Assembly/en] fixing line length
2020-02-08 04:50:55 +05:30
FedeHC
a46ac670a0
Update es-es/sql-es.html.markdown
Co-Authored-By: Antonio Hernández Blas <1096022+nihilismus@users.noreply.github.com>
2020-02-07 16:33:05 -03:00
FedeHC
57ef3f1377
Update es-es/sql-es.html.markdown
Co-Authored-By: Antonio Hernández Blas <1096022+nihilismus@users.noreply.github.com>
2020-02-07 16:31:57 -03:00
FedeHC
48068a9242
Update es-es/sql-es.html.markdown
Co-Authored-By: Antonio Hernández Blas <1096022+nihilismus@users.noreply.github.com>
2020-02-07 16:31:40 -03:00
Keating950
1274a06704
[MIPS Assembly/ en] fixing line length
Some lines were greater than 80 characters long, which causes some unaligned wrapping of comments on the website. This PR reduces all lines' length to a maximum of 80.
2020-02-07 10:01:00 -05:00
Antonio Hernández Blas
e60cd7ecdd
Update translation 2020-02-06 12:38:28 -06:00
Divay Prakash
e440903935
Merge pull request #3820 from ram231/master
[dart/en] Update Guide and add more features
2020-02-06 17:38:38 +05:30
Divay Prakash
1b1ba1be6d
Update dart.html.markdown
Fix spacing
2020-02-06 17:37:13 +05:30
Antonio Hernández Blas
43cb521310
Limit document to 80 columns, where possible 2020-02-05 13:41:55 -06:00
Vitaliy Badalov
ff5dcd91cc fix(javascript-ru): fixed return value comment in javascript-ru.html.markdown 2020-02-05 16:58:57 +03:00
Max Schumacher
cfe737647c
Merge pull request #3839 from caminsha/de-de/c
[de-de/c] Translated C to German (See Issue #3592)
2020-02-04 13:23:44 +01:00
Divay Prakash
b957f29cfb
Merge pull request #3840 from HiPhish/vimscript
[vimscript/en] Fix minor issues
2020-02-03 13:04:57 +05:30
caminsha
fbb24b487e Removed unnecessary lines about google 2020-02-02 23:09:36 +01:00
caminsha
e24e38a1b9 Fixed small typo
Resource => Ressource
2020-02-02 23:08:55 +01:00
caminsha
e48d05c98d added link to useful compiler options 2020-02-02 23:08:38 +01:00
caminsha
ca042dcb65 Changed all occurences of ss to ß
I have changed all occurences of 'ss' to 'ß' according to duden.de
2020-02-02 21:44:15 +01:00
caminsha
8ab886330e reordered section about operators and changed variables to numbers 2020-02-02 21:25:23 +01:00