Hai cercato la traduzione di geonames da Inglese a Greco

Inglese

Traduttore

geonames

Traduttore

Greco

Traduttore
Traduttore

Traduci istantaneamente testi, documenti e voce con Lara

Traduci ora

Contributi umani

Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.

Aggiungi una traduzione

Inglese

Greco

Informazioni

Inglese

geonames database

Greco

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

Ultimo aggiornamento 2011-10-23
Frequenza di utilizzo: 1
Qualità:

Inglese

methods for geonames

Greco

Μέθοδοι για geonames

Ultimo aggiornamento 2020-04-20
Frequenza di utilizzo: 1
Qualità:

Inglese

geonames. org query

Greco

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

Ultimo aggiornamento 2011-10-23
Frequenza di utilizzo: 1
Qualità:

Inglese

creating function geonames

Greco

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

Ultimo aggiornamento 2020-04-20
Frequenza di utilizzo: 1
Qualità:

Inglese

allows searching geonames database

Greco

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

Ultimo aggiornamento 2020-04-20
Frequenza di utilizzo: 1
Qualità:

Inglese

please wait while querying geonames. org...

Greco

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

Ultimo aggiornamento 2011-10-23
Frequenza di utilizzo: 1
Qualità:

Inglese

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

Greco

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

Ultimo aggiornamento 2011-10-23
Frequenza di utilizzo: 1
Qualità:

Inglese

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

Greco

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

Ultimo aggiornamento 2020-04-20
Frequenza di utilizzo: 1
Qualità:

Inglese

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

Greco

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

Ultimo aggiornamento 2020-04-20
Frequenza di utilizzo: 1
Qualità:

Inglese

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

Greco

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

Ultimo aggiornamento 2020-04-20
Frequenza di utilizzo: 1
Qualità:

Attenzione: contiene formattazione HTML nascosta

Ottieni una traduzione migliore grazie a
10,190,063,883 contributi umani

Ci sono utenti che chiedono aiuto:



I cookie ci aiutano a fornire i nostri servizi. Utilizzando tali servizi, accetti l'utilizzo dei cookie da parte nostra. Maggiori informazioni. OK