Results for geonames translation from English to Greek

Human contributions

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

Add a translation

English

Greek

Info

English

geonames database

Greek

Βάση δεδομένων geonames{ degrees} {sign} {minutes}

Last Update: 2011-10-23
Usage Frequency: 1
Quality:

English

methods for geonames

Greek

Μέθοδοι για geonames

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

English

geonames. org query

Greek

geonames. org Ερώτηση @ action: button query geonames. org

Last Update: 2011-10-23
Usage Frequency: 1
Quality:

English

creating function geonames

Greek

Δημιουργία συνάρτησης geonames

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

English

allows searching geonames database

Greek

Επιτρέπει την αναζήτηση στην βάση δεδομένων geonames

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

English

please wait while querying geonames. org...

Greek

Παρακκλώ περιμένετε, γίνετε ερώτηση στο geonames. org... @ action: button waiting for geonames. org search to finish

Last Update: 2011-10-23
Usage Frequency: 1
Quality:

English

nepomuk annotation plugin which tries to relate to geographical things such as cities from geonames

Greek

Πρόσθετο σημείωσης του nepomuk που προσπαθεί να συσχετίσει γεωγραφικά στοιχεία όπως πόλεις με το geonamesname

Last Update: 2011-10-23
Usage Frequency: 1
Quality:

English

function geonames(station) { this.station = station;}geonames.prototype = {}

Greek

function geonames(station) { this.station = station;}geonames.prototype = {}

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

English

here we create the function geonames that will handle getting weather for us. javascript allows us to create functions that have little inside at first and later expand them. this will be done inside the geonames.prototype curly braces{}

Greek

Εδώ δημιουργούμε τη συνάρτηση geonames που θα χειριστεί τη λήψη καιρού για μας. Το javascript επιτρέπει τη δημιουργία συναρτήσεων που έχουν λίγο μέσα στην αρχή και αργότερα τις επεκτείνει. Αυτό θα γίνει μέσα στα άγκιστρα {} του geonames.prototype

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

English

#!/usr/bin/gjs//the previous line is a hash bang tells how to run the script.// note that the script has to be executable (run in terminal in the right folder: chmod +x scriptname)var gtk = imports.gi.gtk;const weatherservice = imports.geonames;//bring your own library from same folder (as set in gjs_path). if using autotools .desktop will take care of this// initialize the gtkgtk.init(null, 0);//create your window, name it and connect the x to quit function. remember that window is a taken wordvar weatherwindow = new gtk.window({type: gtk.windowtype.toplevel});weatherwindow.title = \"todays weather\";//window only accepts one widget and a title. further structure with gtk.boxes of similarweatherwindow.connect(\"destroy\", function(){gtk.main_quit()});//we initialize the icon here, but deside the file later in geonames.js.var weathericon = new gtk.image();//set some labels to your windowvar label1 = new gtk.label({label: \"\"});var label2 = new gtk.label({label: \"looking in the sky...\"});var label3 = new gtk.label({label: \"\"});var grid = new gtk.grid();weatherwindow.add(grid);var entry = new gtk.entry();entry.set_width_chars(4);entry.set_max_length(4);var label4 = new gtk.label({label: \"enter icao station for weather: \"});var button1 = new gtk.button({label: \"search!\"});//some weatherentry.connect(\"key_press_event\", function(widget, event) { // fixme: get weather on enter (key 13) if (entry.get_text().length === 4) { // enough is enough getweatherforstation(); } return false;});button1.connect(\"clicked\", function(){ getweatherforstation();});function getweatherforstation() { var station = entry.get_text(); var geonames = new weatherservice.geonames(station); //\"efhf\"; geonames.getweather(function(error, weather) { //this here works bit like signals. this code will be run when we have weather. if (error) { label2.set_text(\"suggested icao station does not exist try efhf\"); return; } weathericon.file = geonames.geticon(weather); label1.set_text(\"temperature is \" + weather.weatherobservation.temperature + \" degrees.\"); if (weather.weatherobservation.weathercondition !== \"n/a\"){ label2.set_text(\"looks like there is \" + weather.weatherobservation.weathercondition + \" in the sky.\"); } else { label2.set_text(\"looks like there is \" + weather.weatherobservation.clouds + \" in the sky.\"); } label3.set_text(\"windspeed is \" + weather.weatherobservation.windspeed + \" m/s\") // ... });}grid.attach(label4, 2, 1, 1, 1);grid.attach_next_to(label1,label4,3,1,1);grid.attach_next_to(label2,label1,3,1,1);grid.attach_next_to(label3,label2,3,1,1);grid.attach_next_to(entry,label4,1,1,1);grid.attach_next_to(button1,entry,1,1,1);grid.attach_next_to(weathericon,label2,1,1,1)weatherwindow.show_all();//and run itgtk.main();

Greek

#!/usr/bin/gjs//Η προηγούμενη γραμμή αρχίζει με δίεση-θαυμαστικό που λέει π να εκτελεστεί το σενάριο.// Σημειώστε ότι το σενάριο πρέπει να είναι εκτελέσιμο (εκτέλεση σε τερματικό στον δεξιό φάκελο: chmod +x scriptname)var gtk = imports.gi.gtk;const weatherservice = imports.geonames;//Μεταφορά της δικής σας βιβλιοθήκης από τον ίδιο φάκελο (όπως ορίστηκε στο gjs_path). Αν χρησιμοποιείτε autotools .desktop θα φροντίσει για αυτό// Αρχικοποίηση της gtkgtk.init(null, 0);//Δημιουργία του παραθύρου σας, ονομασία του, και σύνδεση του x με τη συνάρτηση εξόδου. Να θυμάστε ότι το παράθυρο είναι μια δεσμευμένη λέξηvar weatherwindow = new gtk.window({type: gtk.windowtype.toplevel});weatherwindow.title = \"todays weather\";//Το παράθυρο δέχεται μόνο ένα γραφικό στοιχείο και έναν τίτλο. Παραπέρα δομή όμοια μεgtk.boxesweatherwindow.connect(\"destroy\", function(){gtk.main_quit()});//we initialize the icon here, but deside the file later in geonames.js.var weathericon = new gtk.image();//Ορισμός μερικών ετικετών στο παράθυρό σαςvar label1 = new gtk.label({label: \"\"});var label2 = new gtk.label({label: \"looking in the sky...\"});var label3 = new gtk.label({label: \"\"});var grid = new gtk.grid();weatherwindow.add(grid);var entry = new gtk.entry();entry.set_width_chars(4);entry.set_max_length(4);var label4 = new gtk.label({label: \"enter icao station for weather: \"});var button1 = new gtk.button({label: \"search!\"});//Κάποιος καιρόςentry.connect(\"key_press_event\", function(widget, event) { // fixme: Λήψη καιρού με την εισαγωγή (πλήκτρο 13) if (entry.get_text().length === 4) { // enough is enough getweatherforstation(); } return false;});button1.connect(\"clicked\", function(){ getweatherforstation();});function getweatherforstation() { var station = entry.get_text(); var geonames = new weatherservice.geonames(station); //\"efhf\"; geonames.getweather(function(error, weather) { //Αυτό εδώ δουλεύει λίγο σαν σήματα. Αυτός ο κώδικας θα εκτελεστεί όταν έχουμε καιρό. if (error) { label2.set_text(\"suggested icao station does not exist try efhf\"); return; } weathericon.file = geonames.geticon(weather); label1.set_text(\"temperature is \" + weather.weatherobservation.temperature + \" degrees.\"); if (weather.weatherobservation.weathercondition !== \"n/a\"){ label2.set_text(\"looks like there is \" + weather.weatherobservation.weathercondition + \" in the sky.\"); } else { label2.set_text(\"looks like there is \" + weather.weatherobservation.clouds + \" in the sky.\"); } label3.set_text(\"windspeed is \" + weather.weatherobservation.windspeed + \" m/s\") // ... });}grid.attach(label4, 2, 1, 1, 1);grid.attach_next_to(label1,label4,3,1,1);grid.attach_next_to(label2,label1,3,1,1);grid.attach_next_to(label3,label2,3,1,1);grid.attach_next_to(entry,label4,1,1,1);grid.attach_next_to(button1,entry,1,1,1);grid.attach_next_to(weathericon,label2,1,1,1)weatherwindow.show_all();//και εκτέλεσή τουgtk.main();

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

Warning: Contains invisible HTML formatting

Get a better translation with
10,190,121,136 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