Je was op zoek naar: geonames (Engels - Grieks)

Engels

Vertalen

geonames

Vertalen

Grieks

Vertalen
Vertalen

Vertaal onmiddellijk teksten, documenten en gesprekken met Lara

Nu vertalen

Menselijke bijdragen

Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.

Voeg een vertaling toe

Engels

Grieks

Info

Engels

geonames database

Grieks

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

Laatste Update: 2011-10-23
Gebruiksfrequentie: 1
Kwaliteit:

Engels

methods for geonames

Grieks

Μέθοδοι για geonames

Laatste Update: 2020-04-20
Gebruiksfrequentie: 1
Kwaliteit:

Engels

geonames. org query

Grieks

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

Laatste Update: 2011-10-23
Gebruiksfrequentie: 1
Kwaliteit:

Engels

creating function geonames

Grieks

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

Laatste Update: 2020-04-20
Gebruiksfrequentie: 1
Kwaliteit:

Engels

allows searching geonames database

Grieks

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

Laatste Update: 2020-04-20
Gebruiksfrequentie: 1
Kwaliteit:

Engels

please wait while querying geonames. org...

Grieks

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

Laatste Update: 2011-10-23
Gebruiksfrequentie: 1
Kwaliteit:

Engels

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

Grieks

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

Laatste Update: 2011-10-23
Gebruiksfrequentie: 1
Kwaliteit:

Engels

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

Grieks

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

Laatste Update: 2020-04-20
Gebruiksfrequentie: 1
Kwaliteit:

Engels

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{}

Grieks

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

Laatste Update: 2020-04-20
Gebruiksfrequentie: 1
Kwaliteit:

Engels

#!/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();

Grieks

#!/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();

Laatste Update: 2020-04-20
Gebruiksfrequentie: 1
Kwaliteit:

Waarschuwing: Bevat onzichtbare HTML-opmaak

Krijg een betere vertaling met
10,190,109,319 menselijke bijdragen

Gebruikers vragen nu voor assistentie



Wij gebruiken cookies om u de best mogelijke ervaring op onze website te bieden. Door de website verder te gebruiken, geeft u toestemming voor het gebruik van cookies. Klik hier voor meer informatie. OK