Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#43 review german translation #65

Merged
merged 4 commits into from
Oct 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 76 additions & 72 deletions de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1263,121 +1263,125 @@ __TRAIT__: ""
# # works but weird -> its translated and makes sense, but sounds weird to me ...
# ... needs second opinion on wether to translate or keep english

False: "Falsch"
None: "Nichts"
True: "Wahr"
and: "und"
as: "als"
assert: "behaupte"
async: "asynchron"
await: "erwarte"
# General comment to German translations; due to its grammatical structure,
# German tends to use more than one word where only one is sufficient in
# English. This means that many keywords are not easily translatable.

False: "Falsch" #✅✅
None: "Nichts" #✅✅
True: "Wahr" #✅✅
and: "und" #✅✅
as: "als" #✅✅
assert: "behaupte" # ? fordere
async: "asynchron" #✅✅
await: "erwarte" #✅✅
# break: "bruch"
break: "brich" # Imperative instead of noun
class: "klasse"
continue: "fortfahren"
class: "klasse" #✅ #?Klasse is a noun
continue: "fortfahren" # ? überspringe (imperative and the semantic meaning is clearer)
def: "def" # <- short | definiere?
del: "lösche"
del: "lösche" #✅✅
# elif: "sonstwenn"
elif: "sonstfalls" # If -> falls, when -> wenn
else: "sonst"
except: "außer"
finally: "endlich"
for: "für"
from: "von"
global: "global"
else: "sonst" #✅✅
except: "außer" #✅✅
finally: "endlich" # ? schlußendlich # ? abschließend
for: "für" #✅✅
from: "von" # ? aus (in the semantic context of python, this represents the meaning more clearly)
global: "global" #✅✅
# if: "wenn"
if: "falls" # If -> falls, when -> wenn
import: "importiere"
in: "in"
is: "ist"
lambda: "lambda"
nonlocal: "unlogisch"
not: "nicht"
or: "oder"
import: "importiere" #✅ ? verwende
in: "in" #✅✅
is: "ist" #✅✅
lambda: "lambda" #✅✅
nonlocal: "unlogisch" # "unlogisch" is definitely wrong. "nichtlokal" is the appropriate translation # ? nonlokal
not: "nicht" #✅✅
or: "oder" #✅✅
# pass: "besteht"
pass: "weiter" # pass in python means to execute a line of code that does nothing
raise: "erhebe"
return: "gib"
try: "versuche"
while: "während"
with: "mit"
yield: "liefere"
raise: "erhebe" # ? (I'm not happy with this, because one cannot use "erhebe eine Ausnahme", i.e. raise an exception, in German)
return: "gib" #✅(if spaces are possible, prefer "gib zurück")
try: "versuche" #✅✅
while: "während" #✅✅
with: "mit" #✅✅
yield: "liefere" #✅(if spaces are possible, prefer "gib ab". This would completement the translation of return)

# << Built-In Functions >>

abs: "abs" # absoluter wert?
all: "alle"
any: "eines"
ascii: "ascii"
all: "alle" #✅✅
any: "eines" #✅ #? beliebig
ascii: "ascii" #✅✅
bin: "bin" # binär?
bool: "bool" # warheitswert?
breakpoint: "bruchpunkt"
bytearray: "bytearray"
bytes: "bytes"
callable: "rufbar"
breakpoint: "bruchpunkt" # ✅ # ? Bruchpunkt
bytearray: "bytearray" # ? byteabfolge #? Bytearray
bytes: "bytes" # ✅ #? Bytes
callable: "rufbar" # ? aufrufbar
chr: "chr" # zeichen?
classmethod: "klassenmethode"
classmethod: "klassenmethode" # ✅ #?Klassenmethode
# compile: "compiliere"
compile: "kompiliere" # German spelling
complex: "komplex"
complex: "komplex" # ✅✅
delattr: "" # entfattr?
dict: "dict" # wörterbuch?
dir: "ver" # verzeichnis?
divmod: "divmod" # no idea, division(en) == division(de) so...
enumerate: "aufzählen" # zähle_auf?
eval: "evaluiere"
exec: "ausführen"
filter: "filter"
eval: "evaluiere" #✅ # ? verarbeite / berechne
exec: "ausführen" # ✅✅(if spaces are possible, use "führe aus" or "rufe auf")
filter: "filter" #✅ # ? filtriere
float: "gleitkomma" # Gleitkomma or Fließkomma is floating point
format: "format" # -> noun | formatiere -> imperativ
frozenset: "frozenset" #gefrorenes set?
getattr: "getattr" # holeattribute?
globals: "globale"
hasattr: "hatattr"
hash: "hash"
help: "hilfe"
hex: "hex"
globals: "globale" # ✅ (alternatively, "globalvar" for "globale Variable")
hasattr: "hatattr" # ✅
hash: "hash" #✅ # ? schlüssel / streuwert
help: "hilfe" # ✅✅
hex: "hex" # ✅✅
id: "id" # no idea, probably same
input: "eingabe"
int: "int"
isinstance: "istinstanz"
issubclass: "istsubklasse"
input: "eingabe" # ✅ #? Eingabe
int: "int" #✅ ? ganzzahl
isinstance: "istinstanz" #✅✅
issubclass: "istsubklasse" #✅✅
iter: "iter" # Iterator same in German
len: "länge"
list: "liste"
len: "länge" #✅ Länge?
list: "liste" #✅ Liste?
locals: "locale" # works but weird
map: "karte" # no idea
max: "max"
memoryview: "speicheransicht"
min: "min"
max: "max" #✅✅
memoryview: "speicheransicht" #✅ #? Speicheransicht
min: "min" #✅✅
# next: "weiter"
next: "nächstes" # More literal translation
object: "objekt"
object: "objekt" #✅✅
oct: "oct" # do idea
open: "öffne"
open: "öffne" #✅✅
ord: "ord" # no idea
pow: "potenz"
print: "drucke"
property: "eigenschaft"
pow: "potenz" #✅✅
print: "drucke" #✅✅(if spaces are allowed, "gib aus")
property: "eigenschaft" # ✅ #? Eigenschaft
# range: "reichweite"
range: "bereich" # Better fitting in context
repr: "repr"
reversed: "umgekehrt"
round: "runde"
set: "setze"
setattr: "setzeattr"
repr: "repr" #✅
reversed: "umgekehrt" #✅✅
round: "runde" #✅✅
set: "setze" #✅✅
setattr: "setzeattr" #✅✅
# slice: "scheibe"
slice: "schnitt" # slice in this case is not necessarily a round plate, which "scheibe" implies
sorted: "sortiert"
staticmethod: "statischemethode"
str: "str"
sum: "sum"
sorted: "sortiert" #✅✅
staticmethod: "statischemethode" #✅✅
str: "str" # ? text #✅
sum: "sum" # ? summe #✅
super: "super" # über?
tuple: "tuple" # no idea
type: "typ"
type: "typ" # ✅ #?Typ
vars: "vars" # variablen?
zip: "zip" # no idea
__import__: "__importiere__"
__import__: "__importiere__" #✅ # ? __verwende__

# << Error Messages >>

Expand Down