Results for parka translation from Greek to English

Human contributions

From professional translators, enterprises, web pages and freely available translation repositories.

Add a translation

Greek

English

Info

Greek

6.11.2001 — Υπόθεση c-18/99 — Επι­τροπή κατά aiolika parka siteias ae.

English

15.1.2002: case c­l96/01 commission v luxembourg.

Last Update: 2014-02-06
Usage Frequency: 2
Quality:

Greek

#!/usr/bin/gjsconst gio = imports.gi.gio;const gtk = imports.gi.gtk;const lang = imports.lang;const radiobuttonexample = new lang.class({ name: 'radiobutton example', // Δημιουργία της εφαρμογής αυτής καθεαυτής _init: function() { this.application = new gtk.application({ application_id: 'org.example.jsradiobutton', flags: gio.applicationflags.flags_none }); // Σύνδεση των σημάτων 'activate' και 'startup' με τις συναρτήσεις επανάκλησης this.application.connect('activate', lang.bind(this, this._onactivate)); this.application.connect('startup', lang.bind(this, this._onstartup)); }, // Η συνάρτηση επανάκλησης για το σήμα 'activate' παρουσιάζει ένα παράθυρο όταν είναι ενεργή _onactivate: function() { this._window.present(); }, // Η συνάρτηση επανάκλησης για το σήμα 'startup' δομεί τη διεπαφή χρήστη _onstartup: function() { this._buildui (); }, // Δόμηση της διεπαφής χρήστη της εφαρμογής _buildui: function() { // Δημιουργία του παραθύρου της εφαρμογής this._window = new gtk.applicationwindow({ application: this.application, window_position: gtk.windowposition.center, border_width: 20, title: \"travel planning\"}); // Δημιουργία μιας ετικέτας για την πρώτη ομάδα των κουμπιών this._placelabel = new gtk.label ({label: \"where would you like to travel to?\"}); // Δημιουργία τριών ραδιοπλήκτων τριών διαφορετικών δρόμων this._place1 = new gtk.radiobutton ({label: \"the beach\"}); this._place2 = gtk.radiobutton.new_from_widget (this._place1); this._place2.set_label (\"the moon\"); this._place3 = gtk.radiobutton.new_with_label_from_widget (this._place1, \"antarctica\"); // this._place3.set_active (true); // Δημιουργία μιας ετικέτας για τη δεύτερη ομάδα κουμπιών this._thinglabel = new gtk.label ({label: \"and what would you like to bring?\" }); // Δημιουργία τριών πρόσθετων ραδιοπλήκτρων this._thing1 = new gtk.radiobutton ({label: \"penguins\" }); this._thing2 = new gtk.radiobutton ({label: \"sunscreen\", group: this._thing1 }); this._thing3 = new gtk.radiobutton ({label: \"a spacesuit\", group: this._thing1 }); // Δημιουργία ενός πλήκτρου παρακαταθήκης ΕΝΤΑΞΕΙ this._okbutton = new gtk.button ({ label: 'gtk-ok', use_stock: 'true', halign: gtk.align.end }); // Σύνδεση του πλήκτρου με τη συνάρτηση που χειρίζεται το πάτημά του this._okbutton.connect ('clicked', lang.bind (this, this._okclicked)); // Δημιουργία ενός πλέγματος για την τοποθέτηση των στοιχείων \"place\" μέσα this._places = new gtk.grid (); // Προσάρτηση των στοιχείων \"place\" στο πλέγμα this._places.attach (this._placelabel, 0, 0, 1, 1); this._places.attach (this._place1, 0, 1, 1, 1); this._places.attach (this._place2, 0, 2, 1, 1); this._places.attach (this._place3, 0, 3, 1, 1); // Δημιουργία ενός πλέγματος για τοποθέτηση των στοιχείων \"thing\" μέσα this._things = new gtk.grid ({ margin_top: 50 }); // Προσάρτηση των στοιχείων \"thing\" στο πλέγμα this._things.attach (this._thinglabel, 0, 0, 1, 1); this._things.attach (this._thing1, 0, 1, 1, 1); this._things.attach (this._thing2, 0, 2, 1, 1); this._things.attach (this._thing3, 0, 3, 1, 1); // Δημιουργία ενός πλέγματος για να μπουν όλα μέσα this._grid = new gtk.grid ({ halign: gtk.align.center, valign: gtk.align.center, margin_left: 40, margin_right: 50 }); // Προσάρτηση όλων στο πλέγμα this._grid.attach (this._places, 0, 0, 1, 1); this._grid.attach (this._things, 0, 1, 1, 1); this._grid.attach (this._okbutton, 0, 2, 1, 1); // Προσθήκη του πλέγματος στο παράθυρο this._window.add (this._grid); // Εμφάνιση των παραθύρων και όλων των θυγατρικών γραφικών στοιχείων this._window.show_all(); }, _okclicked: function () { // Δημιουργία ενός αναδυόμενου που εμφανίζει ένα χαζό μήνυμα this._travel = new gtk.messagedialog ({ transient_for: this._window, modal: true, message_type: gtk.messagetype.other, buttons: gtk.buttonstype.ok, text: this._messagetext() }); // Εμφάνιση του αναδυόμενου this._travel.show(); // Σύνδεση του πλήκτρου ΕΝΤΑΞΕΙ στη συνάρτηση που κλείνει το αναδυόμενο this._travel.connect (\"response\", lang.bind (this, this._cleartravelpopup)); }, _messagetext: function() { // Δημιουργία ενός χαζού μηνύματος για το αναδυόμενο ανάλογα με το τι επιλέξατε var stringmessage = \"\"; if (this._place1.get_active()) { if (this._thing1.get_active()) stringmessage = \"penguins love the beach, too!\"; else if (this._thing2.get_active()) stringmessage = \"make sure to put on that sunscreen!\"; else stringmessage = \"are you going to the beach in space?\"; } else if (this._place2.get_active()) { if (this._thing1.get_active()) stringmessage = \"the penguins will take over the moon!\"; else if (this._thing2.get_active()) stringmessage = \"a lack of sunscreen will be the least of your problems!\"; else stringmessage = \"you'll probably want a spaceship, too!\"; } else if (this._place3.get_active()) { if (this._thing1.get_active()) stringmessage = \"the penguins will be happy to be back home!\"; else if (this._thing2.get_active()) stringmessage = \"antarctic sunbathing may be hazardous to your health!\"; else stringmessage = \"try bringing a parka instead!\"; } return stringmessage; }, _cleartravelpopup: function () { this._travel.destroy(); }});// Εκτέλεση της εφαρμογήςlet app = new radiobuttonexample ();app.application.run (argv);

English

#!/usr/bin/gjsconst gio = imports.gi.gio;const gtk = imports.gi.gtk;const lang = imports.lang;const radiobuttonexample = new lang.class({ name: 'radiobutton example', // create the application itself _init: function() { this.application = new gtk.application({ application_id: 'org.example.jsradiobutton', flags: gio.applicationflags.flags_none }); // connect 'activate' and 'startup' signals to the callback functions this.application.connect('activate', lang.bind(this, this._onactivate)); this.application.connect('startup', lang.bind(this, this._onstartup)); }, // callback function for 'activate' signal presents window when active _onactivate: function() { this._window.present(); }, // callback function for 'startup' signal builds the ui _onstartup: function() { this._buildui (); }, // build the application's ui _buildui: function() { // create the application window this._window = new gtk.applicationwindow({ application: this.application, window_position: gtk.windowposition.center, border_width: 20, title: \"travel planning\"}); // create a label for the first group of buttons this._placelabel = new gtk.label ({label: \"where would you like to travel to?\"}); // create three radio buttons three different ways this._place1 = new gtk.radiobutton ({label: \"the beach\"}); this._place2 = gtk.radiobutton.new_from_widget (this._place1); this._place2.set_label (\"the moon\"); this._place3 = gtk.radiobutton.new_with_label_from_widget (this._place1, \"antarctica\"); // this._place3.set_active (true); // create a label for the second group of buttons this._thinglabel = new gtk.label ({label: \"and what would you like to bring?\" }); // create three more radio buttons this._thing1 = new gtk.radiobutton ({label: \"penguins\" }); this._thing2 = new gtk.radiobutton ({label: \"sunscreen\", group: this._thing1 }); this._thing3 = new gtk.radiobutton ({label: \"a spacesuit\", group: this._thing1 }); // create a stock ok button this._okbutton = new gtk.button ({ label: 'gtk-ok', use_stock: 'true', halign: gtk.align.end }); // connect the button to the function which handles clicking it this._okbutton.connect ('clicked', lang.bind (this, this._okclicked)); // create a grid to put the \"place\" items in this._places = new gtk.grid (); // attach the \"place\" items to the grid this._places.attach (this._placelabel, 0, 0, 1, 1); this._places.attach (this._place1, 0, 1, 1, 1); this._places.attach (this._place2, 0, 2, 1, 1); this._places.attach (this._place3, 0, 3, 1, 1); // create a grid to put the \"thing\" items in this._things = new gtk.grid ({ margin_top: 50 }); // attach the \"thing\" items to the grid this._things.attach (this._thinglabel, 0, 0, 1, 1); this._things.attach (this._thing1, 0, 1, 1, 1); this._things.attach (this._thing2, 0, 2, 1, 1); this._things.attach (this._thing3, 0, 3, 1, 1); // create a grid to put everything in this._grid = new gtk.grid ({ halign: gtk.align.center, valign: gtk.align.center, margin_left: 40, margin_right: 50 }); // attach everything to the grid this._grid.attach (this._places, 0, 0, 1, 1); this._grid.attach (this._things, 0, 1, 1, 1); this._grid.attach (this._okbutton, 0, 2, 1, 1); // add the grid to the window this._window.add (this._grid); // show the window and all child widgets this._window.show_all(); }, _okclicked: function () { // create a popup that shows a silly message this._travel = new gtk.messagedialog ({ transient_for: this._window, modal: true, message_type: gtk.messagetype.other, buttons: gtk.buttonstype.ok, text: this._messagetext() }); // show the popup this._travel.show(); // bind the ok button to the function that closes the popup this._travel.connect (\"response\", lang.bind (this, this._cleartravelpopup)); }, _messagetext: function() { // create a silly message for the popup depending on what you selected var stringmessage = \"\"; if (this._place1.get_active()) { if (this._thing1.get_active()) stringmessage = \"penguins love the beach, too!\"; else if (this._thing2.get_active()) stringmessage = \"make sure to put on that sunscreen!\"; else stringmessage = \"are you going to the beach in space?\"; } else if (this._place2.get_active()) { if (this._thing1.get_active()) stringmessage = \"the penguins will take over the moon!\"; else if (this._thing2.get_active()) stringmessage = \"a lack of sunscreen will be the least of your problems!\"; else stringmessage = \"you'll probably want a spaceship, too!\"; } else if (this._place3.get_active()) { if (this._thing1.get_active()) stringmessage = \"the penguins will be happy to be back home!\"; else if (this._thing2.get_active()) stringmessage = \"antarctic sunbathing may be hazardous to your health!\"; else stringmessage = \"try bringing a parka instead!\"; } return stringmessage; }, _cleartravelpopup: function () { this._travel.destroy(); }});// run the applicationlet app = new radiobuttonexample ();app.application.run (argv);

Last Update: 2020-04-20
Usage Frequency: 1
Quality:

Warning: Contains invisible HTML formatting

Get a better translation with
8,914,222,954 human contributions

Users are now asking for help:



We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. Learn more. OK