Trying to learn how to translate from the human translation examples.
From professional translators, enterprises, web pages and freely available translation repositories.
break if-else
Διακοπή if- else
Last Update: 2011-10-23
Usage Frequency: 1
Quality:
insert an if...else template
Εισαγωγή προτύπου if...else
Last Update: 2014-08-20
Usage Frequency: 1
Quality:
if the checkbutton is toggled from on to off, we want the window title to disappear. if it's toggled from off to on, we want it to reappear. we can tell which way it was toggled by testing to see whether it's active (checked) or not afterwards. a simple if / else statement which calls the checkbutton's get_active() method will work for this.
Εάν το πλήκτρο ελέγχου εναλλάσσεται από ενεργό σε ανενεργό, θέλουμε ο τίτλος του παραθύρου να εξαφανιστεί. Εάν εναλλάσσεται από ανενεργό σε ενεργό, το θέλουμε να επανεμφανίζεται. Μπορούμε να πούμε με ποιο τρόπο εναλλάχτηκε δοκιμάζοντας να δούμε εάν είναι ενεργό (σημειωμένο) ή όχι κατόπιν. Μια απλή πρόταση if / else που καλεί τη μέθοδο get_active() του πλήκτρου ελέγχου θα δουλέψει για αυτό.