View Single Post
Posts: 58 | Thanked: 31 times | Joined on Nov 2010
#235
Originally Posted by bonkel View Post
german translate:
Code:
#!/usr/bin/python

#Don't change this next line, it tells espeak how to pronounce this language
espeak_cmdline = "espeak -vde+f2"

tens = {'zwanzig':20, 'dreizig':30, 'vierzig':40, 'fünfzig':50, 'sechzig':60}
teens = {'zehn':10, 'elf':11, 'zwölf':12, 'dreizehn':13, 'vierzehn':14, 'fünfzehn':15, 'sechszehn':16,'siebzehn':17, 'achtzehn':18, 'neunzehn':19}
ones = {'eins':1, 'zwei':2, 'drei':3, 'vier':4, 'fünf':5, 'sechs':6, 'sieben':7, 'acht':8, 'neun':9}

life_universe_everything = ['41.99999999.',
			'Schokolade.',
			'That will take me some time to answer. About seven and a half million years.',
			'Love is the meaning of life. The rest of the universe will figure itself out.',
			'Open-source software.',
			'Ich.',
			'Take a vacation to the tropics.',
			'It takes two people.',
			['What do you want the answer to be?', 'store_answer'],
			'Zwei und fiertzig.',
			# A Matrix quote too, why not.
			'The Matrix is the world that has been pulled over your eyes to blind you from the truth.']

greeting = ['Hallo!',
	'Gruss dich.',
	'Hi.',
	'Hey.',
	'Aloha!',
	'Hallo!',
	'Hallo!',
	'Hallo!',
	'Hallo!',
	"Es ist ein guter Tag fur künstliche Intelligenz.",
	'Hey da!']
greeting_grumpy = "Weggehen."

test = ['Ich arbeite.',
	 'Test, test, eins, zwei, drei.',
	 'Status bericht: Saera läuft.',
	 'erfolgreich']

# Times
known_time = "Jetzt ist es %I:%M %p."
unknown_time = "Es tut mir leid, ich weiß nicht wie spät es in "

# Phone
phone_number_error = "Telefonnumern haben zehn oder elf zahlen."
contact_name_error = "Ich weiß nicht wer das ist."
successful_call = "Rufe an "

N900_facts = ["Das N900 ist der konig der Handys.",
	"Wusstest du das Mac OSX auf dem N900 läuft?",
	"Nokia hat es hergestellt und die Community hat die Arbeit gemacht.",
	"Das N900 hatte ein Retina display bevor das iPhone es hatte.",
	"There are good resources for the N900 on maemo.org.",
	"Let's take a computer, a camera, a radio and a phone"+
	" and put them in one package. That device you are now holding in your hand.",
	"The N900 has been made to run at least 8 operating systems.",
	"Und wenn es keine app gibt die du brauchst, kannst du eine erstellen!"]

# Pictures
took_picture = "Ich habe ein Bild gemacht."
took_front_picture = "Ok. Ich habe ein Bild von dir gemacht."

i_love_you = "Und ich liebe dich auch, wir sollten XKCD lesen."

heres_where_you_are = "Ich zeige dir wo du bist."

# Reminders
what_reminder_time = 'Wann soll ich dich erinnern?'
reminding_you = 'Erinner dich'

#Time
bells = {'viertel':15, 'halb':30}
times = {'mittag':12, 'mitternacht':0, 'morgen':9, 'nachmittag':16, 'abend':19, 'nacht':21}
weekdays = ['sonntag','montag','dienstag','mittwoch','donnerstag','freitag','samstag']
@bonkel: Did you leave english there on purpose or do you need further help with the translation?

Keep up the good work!

Blck

P.S. Anyone in Melbourne/Perth Australia who can repair a broken USB-port?