diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2019-10-31 09:25:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 09:25:04 -0700 |
commit | b7aa28cab20901f39d1ea636d770cd60b0696c01 (patch) | |
tree | dc71129d348c7d4cb9bcd76b055a7624664de88d | |
parent | 125cd138935a70d990331ce3f7681a3ddf5fe758 (diff) | |
parent | 0a9c9c410381c80703f6faabfbdc7142497cbb46 (diff) | |
download | navit-b7aa28cab20901f39d1ea636d770cd60b0696c01.tar.gz |
Merge branch 'trunk' into android_hole
39 files changed, 2753 insertions, 1561 deletions
diff --git a/navit/attr.c b/navit/attr.c index 58cfe621d..7eff92fb8 100644 --- a/navit/attr.c +++ b/navit/attr.c @@ -836,6 +836,10 @@ void attr_free(struct attr *attr) { g_free(attr); } +void attr_free_g(struct attr *attr, void * unused) { + attr_free(attr); +} + void attr_dup_content(struct attr *src, struct attr *dst) { int size; dst->type=src->type; diff --git a/navit/attr.h b/navit/attr.h index ab4283394..d4cd07a1e 100644 --- a/navit/attr.h +++ b/navit/attr.h @@ -238,6 +238,7 @@ void attr_data_set(struct attr *attr, void *data); void attr_data_set_le(struct attr *attr, void *data); void attr_free_content(struct attr *attr); void attr_free(struct attr *attr); +void attr_free_g(struct attr *attr, void * unused); /* to use as GFunc in glib context */ void attr_dup_content(struct attr *src, struct attr *dst); struct attr *attr_dup(struct attr *attr); void attr_list_free(struct attr **attrs); diff --git a/navit/binding/dbus/binding_dbus.c b/navit/binding/dbus/binding_dbus.c index 5eddc50f7..84ed7fe00 100644 --- a/navit/binding/dbus/binding_dbus.c +++ b/navit/binding/dbus/binding_dbus.c @@ -1167,7 +1167,7 @@ static DBusHandlerResult request_navit_set_layout(DBusConnection *connection, DB if (!dbus_message_get_args(message, NULL, DBUS_TYPE_STRING, &new_layout_name, DBUS_TYPE_INVALID)) return dbus_error_invalid_parameter(connection, message); - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while(navit_get_attr(navit, attr_layout, &attr, iter)) { if (strcmp(attr.u.layout->name, new_layout_name) == 0) { navit_set_attr(navit, &attr); @@ -1241,7 +1241,7 @@ static DBusHandlerResult request_navit_traffic_export_gpx(DBusConnection *connec dbus_message_iter_get_basic(&iter, &filename); - a_iter = navit_attr_iter_new(); + a_iter = navit_attr_iter_new(NULL); if (navit_get_attr(navit, attr_traffic, &attr, a_iter)) traffic = (struct traffic *) attr.u.navit_object; navit_attr_iter_destroy(a_iter); @@ -1357,7 +1357,7 @@ static DBusHandlerResult request_navit_traffic_inject(DBusConnection *connection dbus_message_iter_get_basic(&iter, &filename); attr = g_new0(struct attr, 1); - a_iter = navit_attr_iter_new(); + a_iter = navit_attr_iter_new(NULL); if (navit_get_attr(navit, attr_traffic, attr, a_iter)) traffic = (struct traffic *) attr->u.navit_object; navit_attr_iter_destroy(a_iter); @@ -1648,7 +1648,7 @@ static DBusHandlerResult request_navit_get_attr(DBusConnection *connection, DBus static DBusHandlerResult request_navit_attr_iter(DBusConnection *connection, DBusMessage *message) { DBusMessage *reply; - struct attr_iter *attr_iter=navit_attr_iter_new(); + struct attr_iter *attr_iter=navit_attr_iter_new(NULL); char *opath=object_new("navit_attr_iter",attr_iter); reply = dbus_message_new_method_return(message); dbus_message_append_args(reply, DBUS_TYPE_OBJECT_PATH, &opath, DBUS_TYPE_INVALID); diff --git a/navit/bookmarks.c b/navit/bookmarks.c index f32b6d89c..9877a6dba 100644 --- a/navit/bookmarks.c +++ b/navit/bookmarks.c @@ -364,7 +364,7 @@ static int bookmarks_store_bookmarks_to_file(struct bookmarks *this_, int limit #ifdef FlushFileBuffers FlushFileBuffers(f) -#endif FlushFileBuffers +#endif fclose(f); @@ -378,7 +378,7 @@ static int bookmarks_store_bookmarks_to_file(struct bookmarks *this_, int limit unlink(this_->bookmark_file); #ifdef _POSIX sync(); -#endif _POSIX +#endif result=(rename(this_->working_file,this_->bookmark_file)==0); if (!result) { navit_add_message(this_->parent->u.navit,_("Failed to write bookmarks file")); @@ -421,7 +421,8 @@ void bookmarks_set_center_from_file(struct bookmarks *this_, char *file) { f = fopen(file, "r"); if (! f) return; - getline(&line, &line_size, f); + if(getline(&line, &line_size, f) < 0) + dbg(lvl_error, "Error on getline (%s)", strerror(errno)); fclose(f); if (line) { center = transform_center(this_->trans); @@ -631,9 +632,15 @@ struct former_destination { GList* c; }; -static void free_former_destination(struct former_destination* former_destination) { +/* to adapt g_free to GFunc */ +static void g_free_helper(void * data, void*user_data) { + g_free(data); +} + +/* unused parameter is for GFunc compatibility */ +static void free_former_destination(struct former_destination* former_destination, void * unused) { g_free(former_destination->description); - g_list_foreach(former_destination->c, (GFunc)g_free, NULL); + g_list_foreach(former_destination->c, (GFunc)g_free_helper, NULL); g_list_free(former_destination->c); g_free(former_destination); } @@ -693,7 +700,7 @@ static GList* find_destination_in_list(struct former_destination* dest_to_remove curr_dest = curr_el->data; if (destination_equal(dest_to_remove, curr_dest, remove_found?0:1)) { if(remove_found) { - free_former_destination(curr_dest); + free_former_destination(curr_dest, NULL); curr_el = g_list_remove(curr_el, curr_dest); continue; } else { diff --git a/navit/config_.c b/navit/config_.c index 644b66d70..2149eaf2e 100644 --- a/navit/config_.c +++ b/navit/config_.c @@ -109,8 +109,8 @@ int config_remove_attr(struct config *this_, struct attr *attr) { } struct attr_iter * -config_attr_iter_new() { - return navit_object_attr_iter_new(); +config_attr_iter_new(void * unused) { + return navit_object_attr_iter_new(unused); } void config_attr_iter_destroy(struct attr_iter *iter) { diff --git a/navit/config_.h b/navit/config_.h index 64ac0465c..78710dcbb 100644 --- a/navit/config_.h +++ b/navit/config_.h @@ -17,7 +17,7 @@ int config_get_attr(struct config *this_, enum attr_type type, struct attr *attr int config_set_attr(struct config *this_, struct attr *attr); int config_add_attr(struct config *this_, struct attr *attr); int config_remove_attr(struct config *this_, struct attr *attr); -struct attr_iter *config_attr_iter_new(void); +struct attr_iter *config_attr_iter_new(void * unused); void config_attr_iter_destroy(struct attr_iter *iter); struct config *config_new(struct attr *parent, struct attr **attrs); /* end of prototypes */ diff --git a/navit/coord.c b/navit/coord.c index c452f1c35..cc64044bd 100644 --- a/navit/coord.c +++ b/navit/coord.c @@ -378,6 +378,10 @@ void coord_format_with_sep(float lat,float lng, enum coord_format fmt, char *buf size_used+=g_snprintf(buffer+size_used,size-size_used,"%.0f°%.0f'%.0f\"%c",floor(lng_deg),floor(lng_min), round(lng_sec),lng_c); break; + /* compiler warned about those not being handled. What to do with them?*/ + case DEGREES_DECIMAL_ABSOLUTE: + case DEGREES_DECIMAL: + break; } } diff --git a/navit/debug.c b/navit/debug.c index ef485ad8a..6321756b6 100644 --- a/navit/debug.c +++ b/navit/debug.c @@ -74,11 +74,13 @@ static void sigsegv(int sig) { #include <unistd.h> static void sigsegv(int sig) { char buffer[256]; + int retval; if (segv_level > 1) sprintf(buffer, "gdb -ex bt %s %d", gdb_program, getpid()); else sprintf(buffer, "gdb -ex bt -ex detach -ex quit %s %d", gdb_program, getpid()); - system(buffer); + retval = system(buffer); + fprintf(stderr, "calling gdb returned %d\n", retval); exit(1); } #endif diff --git a/navit/file.c b/navit/file.c index 8d0365499..680b355b2 100644 --- a/navit/file.c +++ b/navit/file.c @@ -99,8 +99,8 @@ static void file_http_request(struct file *file, char *method, char *host, char char *request=g_strdup_printf("%s %s HTTP/1.0\r\nUser-Agent: navit %s\r\nHost: %s\r\n%s%s%s\r\n",method,path, NAVIT_VERSION, host,persistent?"Connection: Keep-Alive\r\n":"",header?header:"",header?"\r\n":""); - write(file->fd, request, strlen(request)); - dbg(lvl_debug,"%s",request); + int retval = write(file->fd, request, strlen(request)); + dbg(lvl_debug,"%s returned %d",request, retval); file->requests++; } diff --git a/navit/graphics.c b/navit/graphics.c index b3b9e54c2..662a74f0b 100644 --- a/navit/graphics.c +++ b/navit/graphics.c @@ -53,6 +53,10 @@ #include "event.h" #include "navit.h" +/** + * @brief maximum amount of coordinates to allocate on stack using g_alloca + */ +#define ALLOCA_COORD_LIMIT 16384 //############################################################################################################## //# Description: @@ -1035,11 +1039,18 @@ void graphics_draw_mode(struct graphics *this_, enum draw_mode_num mode) { * @author Martin Schaller (04/2008) */ void graphics_draw_lines(struct graphics *this_, struct graphics_gc *gc, struct point *p, int count) { - struct point * p_scaled = g_alloca(sizeof (struct point)*count); + struct point * p_scaled; int a; + if(count < ALLOCA_COORD_LIMIT) + p_scaled = g_alloca(sizeof (struct point)* count); + else + p_scaled = g_malloc(sizeof (struct point)* count); + for(a=0; a < count; a ++) p_scaled[a] = graphics_dpi_scale_point(this_,&(p[a])); this_->meth.draw_lines(this_->priv, gc->priv, p_scaled, count); + if(count >= ALLOCA_COORD_LIMIT) + g_free(p_scaled); } /** @@ -1052,8 +1063,13 @@ void graphics_draw_lines(struct graphics *this_, struct graphics_gc *gc, struct * @author Martin Schaller (04/2008) */ void graphics_draw_circle(struct graphics *this_, struct graphics_gc *gc, struct point *p, int r) { - struct point *pnt=g_alloca(sizeof(struct point)*(r*4+64)); + struct point *pnt; int i=0; + if((r*4+64) < ALLOCA_COORD_LIMIT) + pnt=g_alloca(sizeof(struct point)*(r*4+64)); + else + pnt=g_malloc(sizeof(struct point)*(r*4+64)); + if(this_->meth.draw_circle) { struct point p_scaled; p_scaled = graphics_dpi_scale_point(this_,p); @@ -1065,6 +1081,8 @@ void graphics_draw_circle(struct graphics *this_, struct graphics_gc *gc, struct i++; graphics_draw_lines(this_, gc, pnt, i); } + if((r*4+64) >= ALLOCA_COORD_LIMIT) + g_free(pnt); } /** @@ -1091,11 +1109,18 @@ static void graphics_draw_polygon(struct graphics *gra, struct graphics_gc *gc, if (! gra->meth.draw_polygon) { return; } else { - struct point * pin_scaled = g_alloca(sizeof (struct point)*count_in); + struct point * pin_scaled; int a; + if(count_in < ALLOCA_COORD_LIMIT) + pin_scaled = g_alloca(sizeof (struct point)*count_in); + else + pin_scaled = g_malloc(sizeof (struct point)*count_in); + for(a=0; a < count_in; a ++) pin_scaled[a] = graphics_dpi_scale_point(gra,&(pin[a])); gra->meth.draw_polygon(gra->priv, gc->priv, pin_scaled, count_in); + if(count_in >= ALLOCA_COORD_LIMIT) + g_free(pin_scaled); } } @@ -1120,17 +1145,16 @@ static void graphics_draw_polygon_with_holes(struct graphics *gra, struct graphi graphics_draw_polygon(gra, gc, pin, count_in); return; } else { - int limit=10000; struct point * pin_scaled; struct point ** holes_scaled; int a; int b; - if(count_in < limit) { + if(count_in < ALLOCA_COORD_LIMIT) { pin_scaled = g_alloca(sizeof (struct point)*count_in); } else { pin_scaled = g_malloc(sizeof (struct point)*count_in); } - if(hole_count < limit) { + if(hole_count < ALLOCA_COORD_LIMIT) { holes_scaled = g_alloca(sizeof (struct point *)*hole_count); } else { holes_scaled = g_malloc(sizeof (struct point *)*hole_count); @@ -1148,21 +1172,25 @@ static void graphics_draw_polygon_with_holes(struct graphics *gra, struct graphi /* free the hole arrays */ for(b=0; b < hole_count; b ++) g_free(holes_scaled[b]); - if(count_in >= limit) + if(count_in >= ALLOCA_COORD_LIMIT) g_free(pin_scaled); - if(hole_count >= limit) + if(hole_count >= ALLOCA_COORD_LIMIT) g_free(holes_scaled); } } void graphics_draw_rectangle_rounded(struct graphics *this_, struct graphics_gc *gc, struct point *plu, int w, int h, int r, int fill) { - struct point *p=g_alloca(sizeof(struct point)*(r*4+32)); + struct point *p; struct point pi0= {plu->x+r,plu->y+r}; struct point pi1= {plu->x+w-r,plu->y+r}; struct point pi2= {plu->x+w-r,plu->y+h-r}; struct point pi3= {plu->x+r,plu->y+h-r}; int i=0; + if((r*4+32) < ALLOCA_COORD_LIMIT) + p=g_alloca(sizeof(struct point)*(r*4+32)); + else + p=g_malloc(sizeof(struct point)*(r*4+32)); circle_to_points(&pi2, r*2, 0, -1, 258, p, &i, 1); circle_to_points(&pi1, r*2, 0, 255, 258, p, &i, 1); @@ -1174,6 +1202,8 @@ void graphics_draw_rectangle_rounded(struct graphics *this_, struct graphics_gc graphics_draw_polygon(this_,gc,p,i); else graphics_draw_lines(this_,gc,p,i); + if((r*4+32) >= ALLOCA_COORD_LIMIT) + g_free(p); } @@ -1243,11 +1273,18 @@ void graphics_draw_image(struct graphics *this_, struct graphics_gc *gc, struct static void graphics_draw_image_warp(struct graphics *this_, struct graphics_gc *gc, struct point *p, int count, struct graphics_image *img) { if(this_->meth.draw_image_warp) { - struct point * p_scaled = g_alloca(sizeof (struct point)*count); + struct point * p_scaled; int a; + if(count < ALLOCA_COORD_LIMIT) + p_scaled = g_alloca(sizeof (struct point)*count); + else + p_scaled = g_malloc(sizeof (struct point)*count); + for(a=0; a < count; a ++) p_scaled[a] = graphics_dpi_scale_point(this_,&(p[a])); this_->meth.draw_image_warp(this_->priv, gc->priv, p_scaled, count, img->priv); + if(count >= ALLOCA_COORD_LIMIT) + g_free(p_scaled); } else { dbg(lvl_error,"draw_image_warp not supported by graphics driver"); } @@ -2009,7 +2046,10 @@ static void graphics_draw_polyline_as_polygon(struct graphics *gra, struct graph return; ctx.shape.l=0; ctx.shape.wi=0; - ctx.res=g_alloca(sizeof(struct point)*maxpoints); + if(maxpoints < ALLOCA_COORD_LIMIT) + ctx.res=g_alloca(sizeof(struct point)*maxpoints); + else + ctx.res=g_malloc(sizeof(struct point)*maxpoints); i=0; draw_init_ctx(&ctx, maxpoints); draw_shape(&ctx, pnt, *width++); @@ -2029,6 +2069,8 @@ static void graphics_draw_polyline_as_polygon(struct graphics *gra, struct graph draw_end(&ctx,&pnt[count-1]); ctx.res[ctx.npos]=ctx.res[ctx.ppos-1]; graphics_draw_polygon(gra, gc, ctx.res+ctx.npos, ctx.ppos-ctx.npos); + if(maxpoints >= ALLOCA_COORD_LIMIT) + g_free(ctx.res); } @@ -2128,14 +2170,22 @@ static int clip_line(struct wpoint *p1, struct wpoint *p2, struct point_rect *cl */ void graphics_draw_polyline_clipped(struct graphics *gra, struct graphics_gc *gc, struct point *pa, int count, int *width, int poly) { - struct point *points_to_draw=g_alloca(sizeof(struct point)*(count+1)); - int *w=g_alloca(sizeof(int)*(count+1)); + struct point *points_to_draw; + int *w; struct wpoint segment_start,segment_end; int i,points_to_draw_cnt=0; int clip_result; int r_width, r_height; struct point_rect r=gra->r; + if(count < ALLOCA_COORD_LIMIT) { + points_to_draw=g_alloca(sizeof(struct point)*(count+1)); + w=g_alloca(sizeof(int)*(count+1)); + } else { + points_to_draw=g_malloc(sizeof(struct point)*(count+1)); + w=g_malloc(sizeof(int)*(count+1)); + } + r_width=r.rl.x-r.lu.x; r_height=r.rl.y-r.lu.y; @@ -2186,6 +2236,10 @@ void graphics_draw_polyline_clipped(struct graphics *gra, struct graphics_gc *gc } } } + if(count >= ALLOCA_COORD_LIMIT) { + g_free(points_to_draw); + g_free(w); + } } static int is_inside(struct point *p, struct point_rect *r, int edge) { @@ -2239,11 +2293,9 @@ static void poly_intersection(struct point *p1, struct point *p2, struct point_r */ static void graphics_clip_polygon(struct point_rect * r, struct point * in, int count_in, struct point *out, int* count_out) { - /* set our self a limit for the in stack buffer. To not overflow stack */ - const int limit=10000; /* get a temp buffer to store points after one direction clipping. * since we are clipping 4 directions, result is always in out at the end*/ - struct point *temp=g_alloca(sizeof(struct point) * (count_in < limit ? count_in*8+1:0)); + struct point *temp; struct point *pout; struct point *pin; int edge; @@ -2258,7 +2310,9 @@ static void graphics_clip_polygon(struct point_rect * r, struct point * in, int * 1. the output buffer * 2. temp */ - if (count_in >= limit) { + if (count_in < ALLOCA_COORD_LIMIT) { + temp=g_alloca(sizeof(struct point) * (count_in < ALLOCA_COORD_LIMIT ? count_in*8+1:0)); + } else { /* too big. Allocate a buffer (slower) */ temp=g_new(struct point, count_in*8+1); } @@ -2319,7 +2373,7 @@ static void graphics_clip_polygon(struct point_rect * r, struct point * in, int /* have clipped poly in out. And number of points now in *count_out */ /* if we had to allocate the buffer, we need to free it */ - if (count_in >= limit) { + if (count_in >= ALLOCA_COORD_LIMIT) { g_free(temp); } return; @@ -2335,14 +2389,13 @@ static void graphics_clip_polygon(struct point_rect * r, struct point * in, int */ void graphics_draw_polygon_clipped(struct graphics *gra, struct graphics_gc *gc, struct point *pin, int count_in) { struct point_rect r=gra->r; - int limit=10000; struct point *clipped; int count_out = count_in*8+1; /* prepare buffer */ - if (count_in < limit) { + if (count_in < ALLOCA_COORD_LIMIT) { /* use on stack buffer */ - clipped=g_alloca(sizeof(struct point) * (count_in < limit ? count_in*8+1:0)); + clipped=g_alloca(sizeof(struct point) * (count_in < ALLOCA_COORD_LIMIT ? count_in*8+1:0)); } else { /* too big. allocate buffer (slower) */ clipped=g_new(struct point, count_in*8+1); @@ -2352,7 +2405,7 @@ void graphics_draw_polygon_clipped(struct graphics *gra, struct graphics_gc *gc, graphics_draw_polygon(gra, gc, clipped, count_out); /* if we had to allocate buffer, free it */ - if (count_in >= limit) { + if (count_in >= ALLOCA_COORD_LIMIT) { g_free(clipped); } } @@ -2373,7 +2426,6 @@ static void graphics_draw_polygon_with_holes_clipped(struct graphics *gra, struc int count_in, int hole_count, int* ccount, struct point **holes) { int i; struct point_rect r=gra->r; - int limit=10000; struct point *clipped; int total_count_in; int count_out; @@ -2390,7 +2442,7 @@ static void graphics_draw_polygon_with_holes_clipped(struct graphics *gra, struc count_out = total_count_in*8+1+hole_count; /* prepare buffer for outer and all holes!*/ - if (count_out < limit) { + if (count_out < ALLOCA_COORD_LIMIT) { /* use on stack buffer */ clipped=g_alloca(sizeof(struct point) * count_out); /* no need to free on stack buffer */ @@ -2404,7 +2456,7 @@ static void graphics_draw_polygon_with_holes_clipped(struct graphics *gra, struc count_used=0; /* prepare arrays for new holes */ - if(hole_count < limit) { + if(hole_count < ALLOCA_COORD_LIMIT) { found_ccount=g_alloca(sizeof(int)* hole_count); found_holes=g_alloca(sizeof(struct point*)* hole_count); } else { @@ -2431,7 +2483,7 @@ static void graphics_draw_polygon_with_holes_clipped(struct graphics *gra, struc } /* call drawing function */ graphics_draw_polygon_with_holes(gra, gc, clipped, count_out, found_hole_count, found_ccount, found_holes); - if(hole_count >= limit) { + if(hole_count >= ALLOCA_COORD_LIMIT) { g_free(found_ccount); g_free(found_holes); } @@ -2763,13 +2815,21 @@ static inline void displayitem_draw_image (struct displayitem *di, struct displa * @brief dc The display_context to use to draw items */ static void displayitem_draw(struct displayitem *di, struct layout *l, struct display_context *dc) { - int *width=g_alloca(sizeof(int)*dc->maxlen); + int *width; int limit=0; - struct point *pa=g_alloca(sizeof(struct point)*dc->maxlen); + struct point *pa; struct graphics *gra=dc->gra; struct element *e=dc->e; int draw_underground=0; + if (dc->maxlen < ALLOCA_COORD_LIMIT) { + width=g_alloca(sizeof(int)*dc->maxlen); + pa=g_alloca(sizeof(struct point)*dc->maxlen); + } else { + width=g_malloc(sizeof(int)*dc->maxlen); + pa=g_malloc(sizeof(struct point)*dc->maxlen); + } + while (di) { int count=di->count,mindist=dc->mindist; struct displayitem_poly_holes t_holes; @@ -2852,6 +2912,10 @@ static void displayitem_draw(struct displayitem *di, struct layout *l, struct di di=di->next; } + if (dc->maxlen >= ALLOCA_COORD_LIMIT) { + g_free(width); + g_free(pa); + } } /** * FIXME @@ -2888,8 +2952,15 @@ void graphics_draw_itemgra(struct graphics *gra, struct itemgra *itm, struct tra GList *es; struct display_context dc; int max_coord=32; - char *buffer=g_alloca(sizeof(struct displayitem)+max_coord*sizeof(struct coord)); - struct displayitem *di=(struct displayitem *)buffer; + char *buffer; + struct displayitem *di; + if (max_coord < ALLOCA_COORD_LIMIT) { + buffer=g_alloca(sizeof(struct displayitem)+max_coord*sizeof(struct coord)); + } else { + buffer=g_malloc(sizeof(struct displayitem)+max_coord*sizeof(struct coord)); + } + di=(struct displayitem *)buffer; + es=itm->elements; di->item.type=type_none; di->item.id_hi=0; @@ -2927,6 +2998,9 @@ void graphics_draw_itemgra(struct graphics *gra, struct itemgra *itm, struct tra display_context_free(&dc); es=g_list_next(es); } + if (max_coord >= ALLOCA_COORD_LIMIT) { + g_free(buffer); + } } /** @@ -3061,9 +3135,19 @@ GList *displaylist_get_clicked_list(struct displaylist *displaylist, struct poin static void do_draw(struct displaylist *displaylist, int cancel, int flags) { struct item *item; int count,max=displaylist->dc.maxlen,workload=0; - struct coord *ca=g_alloca(sizeof(struct coord)*max); + int used=0; + struct coord *ca; struct attr attr,attr2; enum projection pro; + int need_free=0; + + if (max < ALLOCA_COORD_LIMIT) { + ca=g_alloca(sizeof(struct coord)*max); + need_free=0; + } else { + ca=g_malloc(sizeof(struct coord)*max); + need_free=1; + } if (displaylist->order != displaylist->order_hashed || displaylist->layout != displaylist->layout_hashed) { displaylist_update_hash(displaylist); @@ -3095,24 +3179,59 @@ static void do_draw(struct displaylist *displaylist, int cancel, int flags) { int label_count=0; char *labels[2]; struct hash_entry *entry; + int coords_left; if (item == &busy_item) { - if (displaylist->workload) + if (displaylist->workload) { + if (need_free) { + g_free(ca); + } return; - else + } else continue; } entry=get_hash_entry(displaylist, item->type); if (!entry) continue; count=item_coord_get_within_selection(item, ca, item->type < type_line ? 1: max, displaylist->sel); + /* abort if no coordinates within selection at all */ if (! count) continue; - if (displaylist->dc.pro != pro) - transform_from_to_count(ca, displaylist->dc.pro, ca, pro, count); + /* handle overflow */ if (count == max) { - dbg(lvl_error,"point count overflow %d for %s "ITEM_ID_FMT"", count,item_to_name(item->type),ITEM_ID_ARGS(*item)); - displaylist->dc.maxlen=max*2; + /* get required space */ + item_coord_rewind(item); + coords_left=item_coords_left(item); + /* increase to required space, or double space if we couldn't get required space */ + if(coords_left > 0) { + displaylist->dc.maxlen=(coords_left+2); + } else { + displaylist->dc.maxlen=max*2; + } + dbg(lvl_error,"point count overflow %d for %s "ITEM_ID_FMT". Increase to %d", count,item_to_name(item->type), + ITEM_ID_ARGS(*item), displaylist->dc.maxlen); + /* remember the new maximum */ + max=displaylist->dc.maxlen; + /* get more memory */ + if(need_free) + g_free(ca); + ca=g_malloc(sizeof(struct coord)*(displaylist->dc.maxlen)); + need_free=1; + /* try again to get coordinates */ + item_coord_rewind(item); + count=item_coord_get_within_selection(item, ca, item->type < type_line ? 1: max, displaylist->sel); + /* check if we got valid coordinates in second attempt. If not don't try to draw this at all */ + if(count <= 0) { + continue; + } } + /* transform the coordinates */ + if (displaylist->dc.pro != pro) + transform_from_to_count(ca, displaylist->dc.pro, ca, pro, count); + + /* remember the peak coordinates actually used */ + if(used < count) + used=count; + if (item_is_custom_poi(*item)) { if (item_attr_get(item, attr_icon_src, &attr2)) labels[1]=map_convert_string(displaylist->m, attr2.u.str); @@ -3138,8 +3257,12 @@ static void do_draw(struct displaylist *displaylist, int cancel, int flags) { if (labels[1]) map_convert_free(labels[1]); workload++; - if (workload == displaylist->workload) + if (workload == displaylist->workload) { + if (need_free) { + g_free(ca); + } return; + } } map_rect_destroy(displaylist->mr); } @@ -3170,6 +3293,15 @@ static void do_draw(struct displaylist *displaylist, int cancel, int flags) { displaylist->msh=NULL; profile(1,"callback\n"); callback_call_1(displaylist->cb, cancel); + /* check if we can shrink item buffer next time */ + if((displaylist->dc.maxlen > ALLOCA_COORD_LIMIT) && (used < ALLOCA_COORD_LIMIT)) { + dbg(lvl_debug, "Shrink memory. %d actually used", used); + displaylist->dc.maxlen=ALLOCA_COORD_LIMIT; + } + /* clean up if required */ + if (need_free) { + g_free(ca); + } profile(0,"end\n"); } @@ -3336,7 +3468,7 @@ void graphics_displaylist_close(struct displaylist_handle *dlh) { struct displaylist * graphics_displaylist_new(void) { struct displaylist *ret=g_new0(struct displaylist, 1); - ret->dc.maxlen=16384; + ret->dc.maxlen=ALLOCA_COORD_LIMIT; return ret; } @@ -3503,18 +3635,28 @@ static int within_dist_polygon(struct point *p, struct point *poly_pnt, int coun */ int graphics_displayitem_within_dist(struct displaylist *displaylist, struct displayitem *di, struct point *p, int dist) { - struct point *pa=g_alloca(sizeof(struct point)*displaylist->dc.maxlen); + int result; + struct point *pa; int count; + if (displaylist->dc.maxlen < ALLOCA_COORD_LIMIT) { + pa=g_alloca(sizeof(struct point)*displaylist->dc.maxlen); + } else { + pa=g_malloc(sizeof(struct point)*displaylist->dc.maxlen); + } count=transform(displaylist->dc.trans, displaylist->dc.pro, di->c, pa, di->count, 0, 0, NULL); if (di->item.type < type_line) { - return within_dist_point(p, &pa[0], dist); - } - if (di->item.type < type_area) { - return within_dist_polyline(p, pa, count, dist, 0); + result = within_dist_point(p, &pa[0], dist); + } else if (di->item.type < type_area) { + result = within_dist_polyline(p, pa, count, dist, 0); + } else + result = within_dist_polygon(p, pa, count, dist); + + if (displaylist->dc.maxlen >= ALLOCA_COORD_LIMIT) { + g_free(pa); } - return within_dist_polygon(p, pa, count, dist); + return result; } diff --git a/navit/gui/gtk/gui_gtk_action.c b/navit/gui/gtk/gui_gtk_action.c index ca5ff9427..7b700c7d5 100644 --- a/navit/gui/gtk/gui_gtk_action.c +++ b/navit/gui/gtk/gui_gtk_action.c @@ -158,6 +158,7 @@ static void info_action(GtkWidget *w, struct gui_priv *gui, void *dummy) { struct coord lt, rb; struct point p; struct transformation *t; + int retval; t=navit_get_trans(gui->nav); transform_get_size(t, &mw, &mh); @@ -169,7 +170,8 @@ static void info_action(GtkWidget *w, struct gui_priv *gui, void *dummy) { transform_reverse(t, &p, &rb); sprintf(buffer,"./info.sh %d,%d 0x%x,0x%x 0x%x,0x%x", mw, mh, lt.x, lt.y, rb.x, rb.y); - system(buffer); + retval=system(buffer); + dbg(lvl_debug,"calling %s returned %d", buffer, retval); } diff --git a/navit/gui/gtk/gui_gtk_window.c b/navit/gui/gtk/gui_gtk_window.c index 858904ddb..008659c44 100644 --- a/navit/gui/gtk/gui_gtk_window.c +++ b/navit/gui/gtk/gui_gtk_window.c @@ -413,7 +413,7 @@ static void gui_gtk_layouts_init(struct gui_priv *this) { int count=0; char *name; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while(navit_get_attr(this->nav, attr_layout, &attr, iter)) { name=g_strdup_printf("Layout %d", count++); data=g_new(struct action_cb_data, 1); @@ -466,7 +466,7 @@ static void gui_gtk_vehicles_update(struct gui_priv *this) { g_list_free(this->vehicle_menuitems); this->vehicle_menuitems = NULL; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while(navit_get_attr(this->nav, attr_vehicle, &attr, iter)) { vehicle_get_attr(attr.u.vehicle, attr_name, &vattr, NULL); name=g_strdup_printf("Vehicle %d", count++); @@ -495,7 +495,7 @@ static void gui_gtk_maps_init(struct gui_priv *this) { int count=0; char *name, *label; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while(navit_get_attr(this->nav, attr_map, &attr, iter)) { name=g_strdup_printf("Map %d", count++); if (! map_get_attr(attr.u.map, attr_type, &type, NULL)) diff --git a/navit/gui/internal/gui_internal_command.c b/navit/gui/internal/gui_internal_command.c index 910e2e8cf..ffd795b7d 100644 --- a/navit/gui/internal/gui_internal_command.c +++ b/navit/gui/internal/gui_internal_command.c @@ -200,7 +200,7 @@ static void gui_internal_cmd2_setting_vehicle(struct gui_priv *this, char *funct struct attr_iter *iter; struct attr active_vehicle; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); if (navit_get_attr(this->nav, attr_vehicle, &attr, iter) && !navit_get_attr(this->nav, attr_vehicle, &attr2, iter)) { vehicle_get_attr(attr.u.vehicle, attr_name, &vattr, NULL); navit_attr_iter_destroy(iter); @@ -215,7 +215,7 @@ static void gui_internal_cmd2_setting_vehicle(struct gui_priv *this, char *funct gui_internal_widget_append(wb, w); if (!navit_get_attr(this->nav, attr_vehicle, &active_vehicle, NULL)) active_vehicle.u.vehicle=NULL; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while(navit_get_attr(this->nav, attr_vehicle, &attr, iter)) { vehicle_get_attr(attr.u.vehicle, attr_name, &vattr, NULL); wl=gui_internal_button_new_with_callback(this, vattr.u.str, @@ -278,7 +278,7 @@ static void gui_internal_cmd2_setting_maps(struct gui_priv *this, char *function //w->spy=this->spacing*3; w = gui_internal_widget_table_new(this,gravity_left_top | flags_fill | flags_expand |orientation_vertical,1); gui_internal_widget_append(wb, w); - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); on.type=off.type=attr_active; on.u.num=1; off.u.num=0; @@ -323,7 +323,7 @@ static void gui_internal_cmd2_setting_layout(struct gui_priv *this, char *functi wb=gui_internal_menu(this, _("Layout")); w=gui_internal_widget_table_new(this, gravity_top_center|orientation_vertical|flags_expand|flags_fill,1); gui_internal_widget_append(wb, w); - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while(navit_get_attr(this->nav, attr_layout, &attr, iter)) { gui_internal_widget_append(w, row=gui_internal_widget_table_row_new(this, gravity_left|orientation_horizontal|flags_fill)); diff --git a/navit/gui/qt5_qml/backend.cpp b/navit/gui/qt5_qml/backend.cpp index 7a455c2a6..c9733b173 100644 --- a/navit/gui/qt5_qml/backend.cpp +++ b/navit/gui/qt5_qml/backend.cpp @@ -69,7 +69,7 @@ void Backend::get_maps() { struct attr_iter * iter; _maps.clear(); - iter = navit_attr_iter_new(); + iter = navit_attr_iter_new(NULL); on.type = off.type = attr_active; on.u.num = 1; off.u.num = 0; @@ -106,7 +106,7 @@ void Backend::get_vehicles() { struct attr active_vehicle; _vehicles.clear(); - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); if (navit_get_attr(this->nav, attr_vehicle, &attr, iter) && !navit_get_attr(this->nav, attr_vehicle, &attr2, iter)) { vehicle_get_attr(attr.u.vehicle, attr_name, &vattr, NULL); navit_attr_iter_destroy(iter); @@ -119,7 +119,7 @@ void Backend::get_vehicles() { if (!navit_get_attr(this->nav, attr_vehicle, &active_vehicle, NULL)) active_vehicle.u.vehicle=NULL; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while(navit_get_attr(this->nav, attr_vehicle, &attr, iter)) { vehicle_get_attr(attr.u.vehicle, attr_name, &vattr, NULL); dbg(lvl_debug, "adding vehicle %s", vattr.u.str); diff --git a/navit/item.c b/navit/item.c index c17f31f8b..ab590cb4e 100644 --- a/navit/item.c +++ b/navit/item.c @@ -165,6 +165,22 @@ int item_coord_get(struct item *it, struct coord *c, int count) { } /** + * @brief Gets the number of coordinates left for this item + * + * This function returnes the number of coordinates left to get for this item. It does not + * change the "coordinates pointer". + * + * @param it The map item + * @returns The number of coordinates left. -1 if not supported by the actual map. + */ +int item_coords_left(struct item * it) { + if(!it->meth->item_coords_left) { + return (-1); + } + return it->meth->item_coords_left(it->priv_data); +} + +/** * @brief Sets coordinates of an item * * This function supports different modes: @@ -195,33 +211,69 @@ int item_coord_set(struct item *it, struct coord *c, int count, enum change_mode return it->meth->item_coord_set(it->priv_data, c, count, mode); } +/** + * @brief Get coordinates within selection + * This function returns the coordinates of an item if at least one coordinate of that item is inside the + * selection. If the given buffer is too small, it returns the buffer size if at least one coordinate + * intersects with the selection, otherwise it returnes 0 + * + * If the return value equals count, the content of c is undefined. + * + * @param it requested item + * @param c preallocated buffer for the result + * @param count number of coordinates in c + * @param sel current map selection + * @return number of coordinates read to c, or count if out of space, or 0 if not intersecting, or <0 on read error. + */ int item_coord_get_within_selection(struct item *it, struct coord *c, int count, struct map_selection *sel) { - int i,ret=it->meth->item_coord_get(it->priv_data, c, count); - struct coord_rect r; - struct map_selection *curr; - if (ret <= 0 || !sel) - return ret; - r.lu=c[0]; - r.rl=c[0]; - for (i = 1 ; i < ret ; i++) { - if (r.lu.x > c[i].x) - r.lu.x=c[i].x; - if (r.rl.x < c[i].x) - r.rl.x=c[i].x; - if (r.rl.y > c[i].y) - r.rl.y=c[i].y; - if (r.lu.y < c[i].y) - r.lu.y=c[i].y; - } - curr=sel; - while (curr) { - struct coord_rect *sr=&curr->u.c_rect; - if (r.lu.x <= sr->rl.x && r.rl.x >= sr->lu.x && - r.lu.y >= sr->rl.y && r.rl.y <= sr->lu.y) - return ret; - curr=curr->next; + int in_coords; + int ret = 0; + struct coord_rect bbox; + int intersects=0; + + /* scan all coordinates. Even if buffer is too small */ + while ((in_coords=item_coord_get(it, c, count)) > 0) { + int i; + struct map_selection *curr; + /* update ret */ + if(ret == 0) { + ret=in_coords; + /* init bbox */ + bbox.lu=c[0]; + bbox.rl=c[0]; + } + + /* update bbox */ + for (i = 0 ; i < in_coords ; i++) { + if (bbox.lu.x > c[i].x) + bbox.lu.x=c[i].x; + if (bbox.rl.x < c[i].x) + bbox.rl.x=c[i].x; + if (bbox.rl.y > c[i].y) + bbox.rl.y=c[i].y; + if (bbox.lu.y < c[i].y) + bbox.lu.y=c[i].y; + } + /* check if bbox intersects already with selection */ + curr=sel; + while ((!intersects) && (curr)) { + struct coord_rect *sr=&curr->u.c_rect; + if (bbox.lu.x <= sr->rl.x && bbox.rl.x >= sr->lu.x && + bbox.lu.y >= sr->rl.y && bbox.rl.y <= sr->lu.y) + intersects=1; + curr=curr->next; + } + + /* abort on the special case to read only one coord. */ + if(count == 1) + break; + /* we can abort if already intersecting. */ + if(intersects) + break; } - return 0; + if(!intersects) + ret=0; + return ret; } /** diff --git a/navit/item.h b/navit/item.h index 0d0e84c7f..26c83cd72 100644 --- a/navit/item.h +++ b/navit/item.h @@ -83,6 +83,7 @@ struct item_methods { int (*item_attr_set)(void *priv_data, struct attr *attr, enum change_mode mode); int (*item_coord_set)(void *priv_data, struct coord *c, int count, enum change_mode mode); int (*item_type_set)(void *priv_data, enum item_type type); + int (*item_coords_left)(void *priv_data); }; struct item_id { @@ -127,6 +128,7 @@ void item_create_hash(void); void item_destroy_hash(void); int *item_get_default_flags(enum item_type type); void item_coord_rewind(struct item *it); +int item_coords_left(struct item * it); int item_coord_get(struct item *it, struct coord *c, int count); int item_coord_set(struct item *it, struct coord *c, int count, enum change_mode mode); int item_coord_get_within_selection(struct item *it, struct coord *c, int count, struct map_selection *sel); diff --git a/navit/layout.c b/navit/layout.c index 65e4b7265..7ecea6c27 100644 --- a/navit/layout.c +++ b/navit/layout.c @@ -98,7 +98,7 @@ struct attr_iter { struct attr_iter * -layout_attr_iter_new(void) { +layout_attr_iter_new(void* unused) { return g_new0(struct attr_iter, 1); } @@ -282,6 +282,7 @@ static int layer_set_attr_do(struct layer *l, struct attr *attr, int init) { dbg(lvl_error, "Ignoring reference to unknown layer '%s' in layer '%s'.", attr->u.str, l->name); } obj->func->iter_destroy(iter); + return 0; default: return 0; } diff --git a/navit/layout.h b/navit/layout.h index 8b8a63194..7f19460e2 100644 --- a/navit/layout.h +++ b/navit/layout.h @@ -135,7 +135,7 @@ struct polygon; struct polyline; struct text; struct layout *layout_new(struct attr *parent, struct attr **attrs); -struct attr_iter *layout_attr_iter_new(void); +struct attr_iter *layout_attr_iter_new(void* unused); void layout_attr_iter_destroy(struct attr_iter *iter); int layout_get_attr(struct layout *layout, enum attr_type type, struct attr *attr, struct attr_iter *iter); int layout_add_attr(struct layout *layout, struct attr *attr); diff --git a/navit/log.c b/navit/log.c index 3c40e9152..d68312938 100644 --- a/navit/log.c +++ b/navit/log.c @@ -47,7 +47,9 @@ #include "debug.h" #include "xmlconfig.h" #include "log.h" - +#ifndef HAVE_API_WIN32_BASE +#include <errno.h> +#endif struct log_data { int len; int max_len; @@ -239,7 +241,8 @@ static void log_flush(struct log *this_, enum log_flags flags) { #ifndef HAVE_API_WIN32_BASE if (flags & log_flag_truncate) { pos=ftell(this_->f); - ftruncate(fileno(this_->f), pos); + if(ftruncate(fileno(this_->f), pos) <0) + dbg(lvl_error,"Error on fruncate (%s)", strerror(errno)); } #endif if (this_->trailer.len) { diff --git a/navit/main.c b/navit/main.c index 898fb9dca..84ec577aa 100644 --- a/navit/main.c +++ b/navit/main.c @@ -358,7 +358,12 @@ void main_init(const char *program) { if (file_exists("navit.c") || file_exists("navit.o") || file_exists("navit.lo") || file_exists("version.h")) { char buffer[PATH_MAX]; printf("%s",_("Running from source directory\n")); - getcwd(buffer, PATH_MAX); /* libc of navit returns "dummy" */ + if(getcwd(buffer, PATH_MAX)==NULL) { /*libc of navit returns "dummy" */ + printf("%s",_("Error getting current path. use ./ \n")); + buffer[0]='.'; + buffer[1]='/'; + buffer[2]=0; + } setenv("NAVIT_PREFIX", buffer, 0); main_setup_environment(0); } else { diff --git a/navit/map/binfile/binfile.c b/navit/map/binfile/binfile.c index 7cc707ac8..18a4166b1 100644 --- a/navit/map/binfile/binfile.c +++ b/navit/map/binfile/binfile.c @@ -454,6 +454,15 @@ static int binfile_coord_get(void *priv_data, struct coord *c, int count) { } /** + * @brief Get nuber of coords left for current item + * + * @param prv_data + */ +static int binfile_coords_left(void *priv_data) { + return binfile_coord_left(priv_data); +} + +/** * @brief * @param * @return @@ -829,6 +838,8 @@ static struct item_methods methods_binfile = { NULL, binfile_attr_set, binfile_coord_set, + NULL, + binfile_coords_left, }; static void push_tile(struct map_rect_priv *mr, struct tile *t, int offset, int length) { diff --git a/navit/mapset.c b/navit/mapset.c index 58751ee1e..94f1f42be 100644 --- a/navit/mapset.c +++ b/navit/mapset.c @@ -74,7 +74,7 @@ struct mapset *mapset_dup(struct mapset *ms) { struct attr_iter * -mapset_attr_iter_new(void) { +mapset_attr_iter_new(void* unused) { return g_new0(struct attr_iter, 1); } diff --git a/navit/mapset.h b/navit/mapset.h index 6f8917d04..df6c0d0a7 100644 --- a/navit/mapset.h +++ b/navit/mapset.h @@ -35,7 +35,7 @@ struct mapset_handle; struct mapset_search; struct mapset *mapset_new(struct attr *parent, struct attr **attrs); struct mapset *mapset_dup(struct mapset *ms); -struct attr_iter *mapset_attr_iter_new(void); +struct attr_iter *mapset_attr_iter_new(void * unused); void mapset_attr_iter_destroy(struct attr_iter *iter); int mapset_add_attr(struct mapset *ms, struct attr *attr); int mapset_remove_attr(struct mapset *ms, struct attr *attr); diff --git a/navit/maptool/maptool.c b/navit/maptool/maptool.c index 54a68135c..f18175990 100644 --- a/navit/maptool/maptool.c +++ b/navit/maptool/maptool.c @@ -255,7 +255,7 @@ static void add_plugin(char *path) { if (! plugins) { file_init(); - plugins=plugins_new(); + plugins=plugins_new(NULL, NULL); } pa_attr.u.str=path; pl_attr.u.plugins=plugins; diff --git a/navit/navigation.c b/navit/navigation.c index bc216ec15..1ddec7d33 100644 --- a/navit/navigation.c +++ b/navit/navigation.c @@ -4050,24 +4050,28 @@ static int navigation_map_item_attr_get(void *priv_data, enum attr_type attr_typ this_->str=attr->u.str=g_strdup_printf("delta:%d", cmd->delta); return 1; } + /* fall through */ case 3: this_->debug_idx++; if (prev) { this_->str=attr->u.str=g_strdup_printf("prev street_name:%s", prev->way.name); return 1; } + /* fall through */ case 4: this_->debug_idx++; if (prev) { this_->str=attr->u.str=g_strdup_printf("prev street_name_systematic:%s", prev->way.name_systematic); return 1; } + /* fall through */ case 5: this_->debug_idx++; if (prev) { this_->str=attr->u.str=g_strdup_printf("prev angle:(%d -) %d", prev->way.angle2, prev->angle_end); return 1; } + /* fall through */ case 6: this_->debug_idx++; this_->ways=itm->way.next; @@ -4075,6 +4079,7 @@ static int navigation_map_item_attr_get(void *priv_data, enum attr_type attr_typ this_->str=attr->u.str=g_strdup_printf("prev item type:%s", item_to_name(prev->way.item.type)); return 1; } + /* fall through */ case 7: if (this_->ways && prev) { this_->str=attr->u.str=g_strdup_printf("other item angle:%d delta:%d flags:%d dir:%d type:%s id:(0x%x,0x%x)", @@ -4084,6 +4089,7 @@ static int navigation_map_item_attr_get(void *priv_data, enum attr_type attr_typ return 1; } this_->debug_idx++; + /* fall through */ case 8: this_->debug_idx++; if (prev) { @@ -4108,6 +4114,7 @@ static int navigation_map_item_attr_get(void *priv_data, enum attr_type attr_typ maneuver->delta); return 1; } + /* fall through */ default: this_->attr_next=attr_none; diff --git a/navit/navit.c b/navit/navit.c index 63ed65807..50d639896 100644 --- a/navit/navit.c +++ b/navit/navit.c @@ -198,13 +198,12 @@ static int navit_add_vehicle(struct navit *this_, struct vehicle *v); static int navit_set_attr_do(struct navit *this_, struct attr *attr, int init); static int navit_get_cursor_pnt(struct navit *this_, struct point *p, int keep_orientation, int *dir); static void navit_set_cursors(struct navit *this_); -static void navit_cmd_zoom_to_route(struct navit *this); -static void navit_cmd_set_center_cursor(struct navit *this_); -static void navit_cmd_announcer_toggle(struct navit *this_); +static int navit_cmd_zoom_to_route(struct navit *this, char *function, struct attr **in, struct attr ***out); +static int navit_cmd_set_center_cursor(struct navit *this_, char *function, struct attr **in, struct attr ***out); +static int navit_cmd_announcer_toggle(struct navit *this_, char *function, struct attr **in, struct attr ***out); static void navit_set_vehicle(struct navit *this_, struct navit_vehicle *nv); static int navit_set_vehicleprofile(struct navit *this_, struct vehicleprofile *vp); -static void navit_cmd_switch_layout_day_night(struct navit *this_, char *function, struct attr **in, struct attr ***out, - int valid); +static int navit_cmd_switch_layout_day_night(struct navit *this_, char *function, struct attr **in, struct attr ***out); struct object_func navit_func; struct navit *global_navit; @@ -830,22 +829,22 @@ void navit_zoom_out_cursor(struct navit *this_, int factor) { } else navit_zoom_out(this_, 2, NULL); } - -static int navit_cmd_zoom_in(struct navit *this_) { +static int navit_cmd_zoom_in(struct navit *this_, char *cmd, struct attr **in, struct attr ***out) { navit_zoom_in_cursor(this_, 2); return 0; } -static int navit_cmd_zoom_out(struct navit *this_) { +static int navit_cmd_zoom_out(struct navit *this_, char *cmd, struct attr **in, struct attr ***out) { navit_zoom_out_cursor(this_, 2); return 0; } -static void navit_cmd_say(struct navit *this, char *function, struct attr **in, struct attr ***out, int *valid) { +static int navit_cmd_say(struct navit *this, char *function, struct attr **in, struct attr ***out) { if (in && in[0] && ATTR_IS_STRING(in[0]->type) && in[0]->u.str) navit_say(this, in[0]->u.str); + return 0; } static GHashTable *cmd_int_var_hash = NULL; @@ -858,11 +857,9 @@ static GHashTable *cmd_attr_var_hash = NULL; * @param function unused (needed to match command function signature) * @param in input attributes in[0] is the key string, in[1] is the integer value to store * @param out output attributes, unused - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_set_int_var(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_set_int_var(struct navit *this, char *function, struct attr **in, struct attr ***out) { char*key; struct attr*val; if(!cmd_int_var_hash) { @@ -876,6 +873,7 @@ static void navit_cmd_set_int_var(struct navit *this, char *function, struct att key = g_strdup(in[0]->u.str); g_hash_table_insert(cmd_int_var_hash, key, val); } + return 0; } @@ -886,11 +884,9 @@ static void navit_cmd_set_int_var(struct navit *this, char *function, struct att * @param function unused (needed to match command function signature) * @param in input attributes in[0] is the key string, in[1] is the attr* value to store * @param out output attributes, unused - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_set_attr_var(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_set_attr_var(struct navit *this, char *function, struct attr **in, struct attr ***out) { char*key; struct attr*val; if(!cmd_attr_var_hash) { @@ -905,6 +901,7 @@ static void navit_cmd_set_attr_var(struct navit *this, char *function, struct at } else { dbg(lvl_warning, "Wrong parameters for set_attr_var() command function"); } + return 0; } @@ -917,10 +914,9 @@ static void navit_cmd_set_attr_var(struct navit *this, char *function, struct at * @param in input attribute in[0] is the name of the layer * @param out output unused * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_toggle_layer(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_toggle_layer(struct navit *this, char *function, struct attr **in, struct attr ***out) { if (in && in[0] && ATTR_IS_STRING(in[0]->type) && in[0]->u.str) { if(this->layout_current && this->layout_current->layers) { GList* layers = this->layout_current->layers; @@ -929,12 +925,13 @@ static void navit_cmd_toggle_layer(struct navit *this, char *function, struct at if(l && !strcmp(l->name,in[0]->u.str) ) { l->active ^= 1; navit_draw(this); - return; + return 0; } layers=g_list_next(layers); } } } + return 0; } /** @@ -944,11 +941,9 @@ static void navit_cmd_toggle_layer(struct navit *this, char *function, struct at * @param function unused (needed to match command function signature) * @param in input attribute in[0] is the name of the map * @param out output attribute, 0 on error or the id of the created item on success - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_map_add_curr_pos(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_map_add_curr_pos(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct attr **list = g_new0(struct attr *,2); struct attr*val = g_new0(struct attr,1); struct mapset* ms; @@ -973,12 +968,12 @@ static void navit_cmd_map_add_curr_pos(struct navit *this, char *function, struc if(!(ms=navit_get_mapset(this))) { dbg(lvl_error, "Command function map_add_curr_pos(): there is no active mapset"); - return; + return 0; } if((item_type = item_from_name(in[1]->u.str))==type_none) { dbg(lvl_error, "Command function map_add_curr_pos(): unknown item type"); - return; + return 0; } curr_map = mapset_get_map_by_name(ms, in[0]->u.str); @@ -986,7 +981,7 @@ static void navit_cmd_map_add_curr_pos(struct navit *this, char *function, struc //no map with the given name found if( ! curr_map) { dbg(lvl_error, "Command function map_add_curr_pos(): map not found"); - return; + return 0; } if(this->vehicle && this->vehicle->vehicle ) { @@ -995,11 +990,11 @@ static void navit_cmd_map_add_curr_pos(struct navit *this, char *function, struc transform_from_geo(projection_mg, pos_attr.u.coord_geo, &curr_coord); } else { dbg(lvl_error, "Command function map_add_curr_pos(): vehicle position is not accessible"); - return; + return 0; } } else { dbg(lvl_error, "Command function map_add_curr_pos(): no vehicle"); - return; + return 0; } sel.next=NULL; @@ -1025,6 +1020,7 @@ static void navit_cmd_map_add_curr_pos(struct navit *this, char *function, struc } map_rect_destroy(mr); } + return 0; } /** @@ -1034,11 +1030,9 @@ static void navit_cmd_map_add_curr_pos(struct navit *this, char *function, struc * @param function unused (needed to match command function signature) * @param in input attribute in[0] - name of the map ; in[1] - item ; in[2] - attr name ; in[3] - attr value * @param out output attribute, 0 on error, 1 on success - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_map_item_set_attr(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_map_item_set_attr(struct navit *this, char *function, struct attr **in, struct attr ***out) { if ( in && in[0] && ATTR_IS_STRING(in[0]->type) && in[0]->u.str &&//map name in[1] && ATTR_IS_ITEM(in[1]->type) && in[2]->u.item &&//item @@ -1069,7 +1063,7 @@ static void navit_cmd_map_item_set_attr(struct navit *this, char *function, stru curr_map = mapset_get_map_by_name(ms, in[0]->u.str); if( ! curr_map) { - return; + return 0; } mr=map_rect_new(curr_map,NULL); @@ -1090,6 +1084,7 @@ static void navit_cmd_map_item_set_attr(struct navit *this, char *function, stru dbg(lvl_debug,"Command function item_set_attr(): attr val cond: %d",(in[3] && ATTR_IS_STRING(in[3]->type) && in[3]->u.str)?1:0); } + return 0; } /** @@ -1099,11 +1094,9 @@ static void navit_cmd_map_item_set_attr(struct navit *this, char *function, stru * @param function unused (needed to match command function signature) * @param in input attribute in[0] is the key string * @param out output attribute, the attr for the given key string if exists or NULL - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_get_attr_var(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_get_attr_var(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct attr **list = g_new0(struct attr *,2); list[1] = NULL; *out = list; @@ -1112,7 +1105,7 @@ static void navit_cmd_get_attr_var(struct navit *this, char *function, struct at val->type = attr_type_item_begin; val->u.item = NULL; list[0] = val; - return; + return 0; } if (in && in[0] && ATTR_IS_STRING(in[0]->type) && in[0]->u.str) { struct attr*ret = g_hash_table_lookup(cmd_attr_var_hash, in[0]->u.str); @@ -1125,6 +1118,7 @@ static void navit_cmd_get_attr_var(struct navit *this, char *function, struct at list[0] = val; } } + return 0; } @@ -1135,11 +1129,9 @@ static void navit_cmd_get_attr_var(struct navit *this, char *function, struct at * @param function unused (needed to match command function signature) * @param in input attribute in[0] is the key string * @param out output attribute, the value for the given key string if exists or 0 - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_get_int_var(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_get_int_var(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct attr **list = g_new0(struct attr *,2); list[1] = NULL; *out = list; @@ -1148,7 +1140,7 @@ static void navit_cmd_get_int_var(struct navit *this, char *function, struct att val->type = attr_type_int_begin; val->u.num = 0; list[0] = val; - return; + return 0; } if (in && in[0] && ATTR_IS_STRING(in[0]->type) && in[0]->u.str) { struct attr*ret = g_hash_table_lookup(cmd_int_var_hash, in[0]->u.str); @@ -1161,6 +1153,7 @@ static void navit_cmd_get_int_var(struct navit *this, char *function, struct att list[0] = val; } } + return 0; } GList *cmd_int_var_stack = NULL; @@ -1172,15 +1165,15 @@ GList *cmd_int_var_stack = NULL; * @param function unused (needed to match command function signature) * @param in input attribute in[0] is the integer attibute to push * @param out output attributes, unused - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_push_int(struct navit *this, char *function, struct attr **in, struct attr ***out, int *valid) { +static int navit_cmd_push_int(struct navit *this, char *function, struct attr **in, struct attr ***out) { if (in && in[0] && ATTR_IS_NUMERIC(in[0]->type)) { struct attr*val = g_new(struct attr,1); attr_dup_content(in[0],val); cmd_int_var_stack = g_list_prepend(cmd_int_var_stack, val); } + return 0; } /** @@ -1190,10 +1183,9 @@ static void navit_cmd_push_int(struct navit *this, char *function, struct attr * * @param function unused (needed to match command function signature) * @param in input attributes unused * @param out output attribute, the value popped if stack isn't empty or 0 - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_pop_int(struct navit *this, char *function, struct attr **in, struct attr ***out, int *valid) { +static int navit_cmd_pop_int(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct attr **list = g_new0(struct attr *,2); if(!cmd_int_var_stack) { struct attr*val = g_new0(struct attr,1); @@ -1206,6 +1198,7 @@ static void navit_cmd_pop_int(struct navit *this, char *function, struct attr ** } list[1] = NULL; *out = list; + return 0; } /** @@ -1215,11 +1208,9 @@ static void navit_cmd_pop_int(struct navit *this, char *function, struct attr ** * @param function unused (needed to match command function signature) * @param in input attributes unused * @param out output attribute, the size of stack - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_int_stack_size(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_int_stack_size(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct attr **list; struct attr *attr = g_new0(struct attr,1); attr->type = attr_type_int_begin; @@ -1233,6 +1224,7 @@ static void navit_cmd_int_stack_size(struct navit *this, char *function, struct list[1] = NULL; *out = list; cmd_int_var_stack = g_list_remove_link(cmd_int_var_stack,cmd_int_var_stack); + return 0; } static struct attr ** navit_get_coord(struct navit *this, struct attr **in, struct pcoord *pc) { @@ -1268,63 +1260,64 @@ static struct attr ** navit_get_coord(struct navit *this, struct attr **in, stru return in; } -static void navit_cmd_set_destination(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_set_destination(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct pcoord pc; char *description=NULL; in=navit_get_coord(this, in, &pc); if (!in) - return; + return 0; if (in[0] && ATTR_IS_STRING(in[0]->type)) description=in[0]->u.str; navit_set_destination(this, &pc, description, 1); + return 0; } -static void navit_cmd_route_remove_next_waypoint(struct navit *this, char *function, struct attr **in, - struct attr ***out, - int *valid) { +static int navit_cmd_route_remove_next_waypoint(struct navit *this, char *function, struct attr **in, + struct attr ***out) { navit_remove_waypoint(this); + return 0; } -static void navit_cmd_route_remove_last_waypoint(struct navit *this, char *function, struct attr **in, - struct attr ***out, - int *valid) { +static int navit_cmd_route_remove_last_waypoint(struct navit *this, char *function, struct attr **in, + struct attr ***out) { navit_remove_nth_waypoint(this, navit_get_destination_count(this)-1); + return 0; } -static void navit_cmd_set_center(struct navit *this, char *function, struct attr **in, struct attr ***out, int *valid) { +static int navit_cmd_set_center(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct pcoord pc; int set_timeout=0; in=navit_get_coord(this, in, &pc); if (!in) - return; + return 0; if(in[0] && ATTR_IS_INT(in[0]->type)) set_timeout=in[0]->u.num!=0; navit_set_center(this, &pc, set_timeout); + return 0; } -static void navit_cmd_set_position(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_set_position(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct pcoord pc; in=navit_get_coord(this, in, &pc); if (!in) - return; + return 0; navit_set_position(this, &pc); + return 0; } -static void navit_cmd_fmt_coordinates(struct navit *this, char *function, struct attr **in, struct attr ***out, - int *valid) { +static int navit_cmd_fmt_coordinates(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct attr attr; attr.type=attr_type_string_begin; attr.u.str="Fix me"; if (out) { *out=attr_generic_add_attr(*out, &attr); } + return 0; } /** @@ -1334,10 +1327,9 @@ static void navit_cmd_fmt_coordinates(struct navit *this, char *function, struct * @param function unused (needed to match command function signature) * @param in input attributes in[0] - separator, in[1..] - attributes to join * @param out output attribute joined attribute as string - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_strjoin(struct navit *this, char *function, struct attr **in, struct attr ***out, int *valid) { +static int navit_cmd_strjoin(struct navit *this, char *function, struct attr **in, struct attr ***out) { struct attr attr; gchar *ret, *sep; int i; @@ -1360,6 +1352,7 @@ static void navit_cmd_strjoin(struct navit *this, char *function, struct attr ** } g_free(ret); } + return 0; } /** @@ -1369,10 +1362,9 @@ static void navit_cmd_strjoin(struct navit *this, char *function, struct attr ** * @param function unused (needed to match command function signature) * @param in input attributes in[0] - name of executable, in[1..] - parameters * @param out output attribute unused - * @param valid unused - * @returns nothing + * @returns 0 */ -static void navit_cmd_spawn(struct navit *this, char *function, struct attr **in, struct attr ***out, int *valid) { +static int navit_cmd_spawn(struct navit *this, char *function, struct attr **in, struct attr ***out) { int i,j, nparms, nvalid; char ** argv=NULL; struct spawn_process_info *pi; @@ -1418,6 +1410,7 @@ static void navit_cmd_spawn(struct navit *this, char *function, struct attr **in g_free(argv[i]); g_free(argv); } + return 0; } @@ -1887,12 +1880,12 @@ void navit_say(struct navit *this_, const char *text) { * @brief Toggles the navigation announcer for navit * @param this_ The navit object */ -static void navit_cmd_announcer_toggle(struct navit *this_) { +static int navit_cmd_announcer_toggle(struct navit *this_, char *function, struct attr **in, struct attr ***out) { struct attr attr, speechattr; // search for the speech attribute if(!navit_get_attr(this_, attr_speech, &speechattr, NULL)) - return; + return 0; // find out if the corresponding attribute attr_active has been set if(speech_get_attr(speechattr.u.speech, attr_active, &attr, NULL)) { // flip it then... @@ -1905,10 +1898,11 @@ static void navit_cmd_announcer_toggle(struct navit *this_) { // apply the new state if(!speech_set_attr(speechattr.u.speech, &attr)) - return; + return 0; // announce that the speech attribute has changed callback_list_call_attr_1(this_->attr_cbl, attr_speech, this_); + return 0; } void navit_speak(struct navit *this_) { @@ -2058,7 +2052,7 @@ void navit_window_roadbook_new(struct navit *this_) { navit_window_roadbook_update(this_); } -void navit_init(struct navit *this_) { +int navit_init(struct navit *this_) { struct mapset *ms; struct map *map; int callback; @@ -2135,7 +2129,7 @@ void navit_init(struct navit *this_) { } attr = g_new0(struct attr, 1); - iter = navit_attr_iter_new(); + iter = navit_attr_iter_new(NULL); map = NULL; while (navit_get_attr(this_, attr_traffic, attr, iter)) { traffic = (struct traffic *) attr->u.navit_object; @@ -2213,6 +2207,7 @@ void navit_init(struct navit *this_) { navit_draw_async(this_, 1); if (callback) callback_list_call_attr_1(this_->attr_cbl, attr_graphics_ready, this_); + return 0; } void navit_zoom_to_rect(struct navit *this_, struct coord_rect *r) { @@ -2280,8 +2275,9 @@ void navit_zoom_to_route(struct navit *this_, int orientation) { navit_zoom_to_rect(this_, &r); } -static void navit_cmd_zoom_to_route(struct navit *this) { +static int navit_cmd_zoom_to_route(struct navit *this, char *function, struct attr **in, struct attr ***out) { navit_zoom_to_route(this, 0); + return 0; } @@ -2484,8 +2480,9 @@ static void navit_set_center_cursor_draw(struct navit *this_) { * *@param this_ The navit object */ -static void navit_cmd_set_center_cursor(struct navit *this_) { +static int navit_cmd_set_center_cursor(struct navit *this_, char *function, struct attr **in, struct attr ***out) { navit_set_center_cursor_draw(this_); + return 0; } void navit_set_center_screen(struct navit *this_, struct point *p, int set_timeout) { @@ -2951,7 +2948,7 @@ struct layout *navit_get_layout_by_name(struct navit *this_, const char *layout_ if (!layout_name) return NULL; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while (navit_get_attr(this_, attr_layout, &layout_attr, iter)) { if (strcmp(layout_attr.u.layout->name, layout_name) == 0) { result = layout_attr.u.layout; @@ -3112,7 +3109,7 @@ int navit_remove_attr(struct navit *this_, struct attr *attr) { } struct attr_iter * -navit_attr_iter_new(void) { +navit_attr_iter_new(void * unused) { return g_new0(struct attr_iter, 1); } @@ -3529,7 +3526,6 @@ void navit_layout_switch(struct navit *n) { * @param function unused * @param in input attributes in[0], a string, see usage below * @param out output attribute unused - * @param valid unused * * * usage : @@ -3543,20 +3539,19 @@ void navit_layout_switch(struct navit *n) { * the version of the active layout (day/night/undefined) */ static -void navit_cmd_switch_layout_day_night(struct navit *this_, char *function, struct attr **in, struct attr ***out, - int valid) { +int navit_cmd_switch_layout_day_night(struct navit *this_, char *function, struct attr **in, struct attr *** out) { if (!(in && in[0] && ATTR_IS_STRING(in[0]->type))) { - return; + return 0; } dbg(lvl_debug," called with mode =%s",in[0]->u.str); if (!this_->layout_current) - return; + return 0; if (!this_->vehicle) - return; + return 0; if (!strcmp(in[0]->u.str,"manual")) { this_->auto_switch = FALSE; @@ -3585,7 +3580,7 @@ void navit_cmd_switch_layout_day_night(struct navit *this_, char *function, stru } dbg(lvl_debug,"auto = %i",this_->auto_switch); - return; + return 0; } int navit_set_vehicle_by_name(struct navit *n,const char *name) { @@ -3593,7 +3588,7 @@ int navit_set_vehicle_by_name(struct navit *n,const char *name) { struct attr_iter *iter; struct attr vehicle_attr, name_attr; - iter=navit_attr_iter_new(); + iter=navit_attr_iter_new(NULL); while (navit_get_attr(n,attr_vehicle,&vehicle_attr,iter)) { v=vehicle_attr.u.vehicle; @@ -3703,7 +3698,7 @@ void navit_destroy(struct navit *this_) { cmd_attr_var_hash=NULL; } if(cmd_int_var_stack) { - g_list_foreach(cmd_int_var_stack, (GFunc)attr_free, NULL); + g_list_foreach(cmd_int_var_stack, (GFunc)attr_free_g, NULL); g_list_free(cmd_int_var_stack); cmd_int_var_stack=NULL; } diff --git a/navit/navit.h b/navit/navit.h index f543a7baf..d715d814d 100644 --- a/navit/navit.h +++ b/navit/navit.h @@ -98,7 +98,7 @@ void navit_say(struct navit *this_, const char *text); void navit_speak(struct navit *this_); void navit_window_roadbook_destroy(struct navit *this_); void navit_window_roadbook_new(struct navit *this_); -void navit_init(struct navit *this_); +int navit_init(struct navit *this_); void navit_zoom_to_rect(struct navit *this_, struct coord_rect *r); void navit_zoom_to_route(struct navit *this_, int orientation); void navit_set_center(struct navit *this_, struct pcoord *center, int set_timeout); @@ -110,7 +110,7 @@ struct layout *navit_get_layout_by_name(struct navit *this_, const char *layout_ void navit_update_current_layout(struct navit *this_, struct layout *layout); int navit_add_attr(struct navit *this_, struct attr *attr); int navit_remove_attr(struct navit *this_, struct attr *attr); -struct attr_iter *navit_attr_iter_new(void); +struct attr_iter *navit_attr_iter_new(void * unused); void navit_attr_iter_destroy(struct attr_iter *iter); void navit_add_callback(struct navit *this_, struct callback *cb); void navit_remove_callback(struct navit *this_, struct callback *cb); diff --git a/navit/plugin.c b/navit/plugin.c index 82fcc61c5..259d8e7e6 100644 --- a/navit/plugin.c +++ b/navit/plugin.c @@ -220,7 +220,7 @@ void plugin_destroy(struct plugin *pl) { } struct plugins * -plugins_new(void) { +plugins_new(struct attr * in, struct attr ** out) { struct plugins *ret=g_new0(struct plugins, 1); ret->hash=g_hash_table_new(g_str_hash, g_str_equal); pls=ret; @@ -300,7 +300,7 @@ plugin_new(struct attr *parent, struct attr **attrs) { #endif } -void plugins_init(struct plugins *pls) { +int plugins_init(struct plugins *pls) { #ifdef USE_PLUGINS struct plugin *pl; GList *l; @@ -322,6 +322,7 @@ void plugins_init(struct plugins *pls) { dbg(lvl_error, "Warning: No plugins found. Is Navit installed correctly?"); } #endif + return 0; } void plugins_destroy(struct plugins *pls) { diff --git a/navit/plugin.h b/navit/plugin.h index 5c9636aa2..911daa440 100644 --- a/navit/plugin.h +++ b/navit/plugin.h @@ -33,26 +33,26 @@ struct plugin; * offered by a plugin. */ enum plugin_category { - /** Category for plugins which implement a graphics backend. */ - plugin_category_graphics, - /** Category for plugins which implement a GUI frontend. */ - plugin_category_gui, - /** Category for plugins which implement a driver for providing/loading map data. */ - plugin_category_map, - /** Category for plugins which implement an OSD. */ - plugin_category_osd, - /** Category for plugins which implement speech output. */ - plugin_category_speech, - /** Category for plugins which supply position data (typically from a GPS receiver). */ - plugin_category_vehicle, - /** Category for plugins which implement/wrap an event subsystem. */ - plugin_category_event, - /** Category for plugins which load fonts. */ - plugin_category_font, - /** Category for plugins which retrieve traffic information. */ - plugin_category_traffic, - /** Dummy for last entry. */ - plugin_category_last, + /** Category for plugins which implement a graphics backend. */ + plugin_category_graphics, + /** Category for plugins which implement a GUI frontend. */ + plugin_category_gui, + /** Category for plugins which implement a driver for providing/loading map data. */ + plugin_category_map, + /** Category for plugins which implement an OSD. */ + plugin_category_osd, + /** Category for plugins which implement speech output. */ + plugin_category_speech, + /** Category for plugins which supply position data (typically from a GPS receiver). */ + plugin_category_vehicle, + /** Category for plugins which implement/wrap an event subsystem. */ + plugin_category_event, + /** Category for plugins which load fonts. */ + plugin_category_font, + /** Category for plugins which retrieve traffic information. */ + plugin_category_traffic, + /** Dummy for last entry. */ + plugin_category_last, }; #endif @@ -95,8 +95,8 @@ void plugin_call_##name(t1 p1,t2 p2, t3 p3, t4 p4) PLUGIN_CALL(name,p1,p2,p3,p4) PLUGIN_REGISTER(name,t1 p1,t2 p2,t3 p3,t4 p4) struct name_val { - char *name; - void *val; + char *name; + void *val; }; GList *plugin_categories[plugin_category_last]; @@ -162,9 +162,9 @@ void plugin_set_lazy(struct plugin *pl, int lazy); void plugin_call_init(struct plugin *pl); void plugin_unload(struct plugin *pl); void plugin_destroy(struct plugin *pl); -struct plugins *plugins_new(void); +struct plugins *plugins_new(struct attr *, struct attr **); struct plugin *plugin_new(struct attr *parent, struct attr ** attrs); -void plugins_init(struct plugins *pls); +int plugins_init(struct plugins *pls); void plugins_destroy(struct plugins *pls); void *plugin_get_category(enum plugin_category category, const char *category_name, const char *name); /* end of prototypes */ diff --git a/navit/popup.c b/navit/popup.c index 49f379853..79d997b46 100644 --- a/navit/popup.c +++ b/navit/popup.c @@ -108,7 +108,7 @@ static void popup_traffic_distortion_delay(struct item *item, int delay) { static void popup_set_destination(struct navit *nav, struct pcoord *pc) { struct coord c; struct coord_geo g; - char buffer[1024]; + char buffer[1024 +10]; /* +10 for "Map Point "*/ char buffer_geo[1024]; c.x = pc->x; c.y = pc->y; @@ -141,7 +141,7 @@ static void popup_set_bookmark(struct navit *nav, struct pcoord *pc) { struct attr attr; struct coord c; struct coord_geo g; - char buffer[1024]; + char buffer[1024 + 10]; /* + 10 for "Map Point " */ char buffer_geo[1024]; c.x = pc->x; c.y = pc->y; diff --git a/navit/route.c b/navit/route.c index 6ee352c65..652ae6d54 100644 --- a/navit/route.c +++ b/navit/route.c @@ -1072,8 +1072,13 @@ static void route_free_selection(struct map_selection *sel) { } +/* for compatibility to GFunc */ +static void route_info_free_g(struct route_info *inf, void * unused) { + route_info_free(inf); +} + static void route_clear_destinations(struct route *this_) { - g_list_foreach(this_->destinations, (GFunc)route_info_free, NULL); + g_list_foreach(this_->destinations, (GFunc)route_info_free_g, NULL); g_list_free(this_->destinations); this_->destinations=NULL; } diff --git a/navit/traffic.c b/navit/traffic.c index 035707934..9705abbdd 100644 --- a/navit/traffic.c +++ b/navit/traffic.c @@ -3408,7 +3408,7 @@ static int traffic_message_restore_segments(struct traffic_message * this_, stru struct map_rect * mr; struct item * map_item; int * default_flags; - int item_flags, segmented, maxspeed; + int item_flags, segmented, maxspeed=INT_MAX; struct coord map_c; /* @@ -4152,7 +4152,7 @@ static void traffic_set_shared(struct traffic *this_) { dbg(lvl_debug, "enter"); if (!this_->shared) { - iter = navit_attr_iter_new(); + iter = navit_attr_iter_new(NULL); while (navit_get_attr(this_->navit, attr_traffic, &attr, iter)) { traffic = (struct traffic *) attr.u.navit_object; if (traffic->shared) diff --git a/navit/xmlconfig.c b/navit/xmlconfig.c index 476997c2d..c47c82163 100644 --- a/navit/xmlconfig.c +++ b/navit/xmlconfig.c @@ -1304,13 +1304,14 @@ navit_object_ref(struct navit_object *obj) { return obj; } -void navit_object_unref(struct navit_object *obj) { +void* navit_object_unref(struct navit_object *obj) { if (obj) { obj->refcount--; dbg(lvl_debug,"refcount %s %p %d",attr_to_name(obj->func->type),obj,obj->refcount); if (obj->refcount <= 0 && obj->func && obj->func->destroy) obj->func->destroy(obj); } + return NULL; } struct attr_iter { @@ -1318,7 +1319,7 @@ struct attr_iter { }; struct attr_iter * -navit_object_attr_iter_new(void) { +navit_object_attr_iter_new(void * unused) { return g_new0(struct attr_iter, 1); } diff --git a/navit/xmlconfig.h b/navit/xmlconfig.h index 56f118eb2..d5697d53c 100644 --- a/navit/xmlconfig.h +++ b/navit/xmlconfig.h @@ -78,54 +78,56 @@ typedef void *(*object_func_unref)(void *); * see fit. */ struct object_func { - enum attr_type type; /**< The object type */ - void *(*create)(struct attr *parent, struct attr **attrs); /**< Function to create a new object instance */ - int (*get_attr)(void *, enum attr_type type, struct attr *attr, struct attr_iter *iter); /**< Function + enum attr_type type; /**< The object type */ + void *(*create)(struct attr *parent, struct attr **attrs); /**< Function to create a new object instance */ + int (*get_attr)(void *, enum attr_type type, struct attr *attr, struct attr_iter *iter); /**< Function * to get an attribute of the object, * set to `navit_object_get_attr` for default behavior */ - struct attr_iter *(*iter_new)(void *); /**< Function to obtain a new attribute iterator, + struct attr_iter *(*iter_new)(void *); /**< Function to obtain a new attribute iterator, * set to `navit_object_attr_iter_new` for default * behavior, can be NULL for some object types */ - void (*iter_destroy)(struct attr_iter *); /**< Function to destroy an attribute iterator, + void (*iter_destroy)(struct attr_iter *); /**< Function to destroy an attribute iterator, * set to `navit_object_attr_iter_destroy` for default * behavior, can be NULL for some object types */ - int (*set_attr)(void *, struct attr *attr); /**< Function to set an attribute, + int (*set_attr)(void *, struct attr *attr); /**< Function to set an attribute, * set to `navit_object_set_attr` for default behavior, * can be NULL for some object types */ - int (*add_attr)(void *, struct attr *attr); /**< Function to add an attribute, + int (*add_attr)(void *, struct attr *attr); /**< Function to add an attribute, * set to `navit_object_add_attr` for default behavior, * can be NULL for some object types */ - int (*remove_attr)(void *, struct attr *attr); /**< Function to remove an attribute, + int (*remove_attr)(void *, struct attr *attr); /**< Function to remove an attribute, * set to `navit_object_remove_attr` for default behavior, * can be NULL for some object types */ - int (*init)(void *); /**< TODO, + int (*init)(void *); /**< TODO, * can be NULL for some object types */ - void (*destroy)(void *); /**< Function to destroy an object instance, + void (*destroy)(void *); /**< Function to destroy an object instance, * set to `navit_object_destroy` for default behavior, * can be NULL */ - void *(*dup)(void *); /**< Function to create a copy of an object instance */ - void *(*ref)(void *); /**< Function to increase the reference count for an + void *(*dup)(void *); /**< Function to create a copy of an object instance */ + void *(*ref)(void *); /**< Function to increase the reference count for an * object instance, set to `navit_object_ref` for * default behavior, can be NULL for some object types */ - void *(*unref)(void *); /**< Function to decrease the reference count for an + void *(*unref)(void *); /**< Function to decrease the reference count for an * object instance, set to `navit_object_unref` for * default behavior, can be NULL for some object types */ }; -extern struct object_func map_func, mapset_func, navit_func, osd_func, tracking_func, vehicle_func, maps_func, layout_func, roadprofile_func, vehicleprofile_func, layer_func, config_func, profile_option_func, script_func, log_func, speech_func, navigation_func, route_func, traffic_func; +extern struct object_func map_func, mapset_func, navit_func, osd_func, tracking_func, vehicle_func, maps_func, + layout_func, roadprofile_func, vehicleprofile_func, layer_func, config_func, profile_option_func, script_func, log_func, + speech_func, navigation_func, route_func, traffic_func; #define HAS_OBJECT_FUNC(x) ((x) == attr_map || (x) == attr_mapset || (x) == attr_navit || (x) == attr_osd || (x) == attr_trackingo || (x) == attr_vehicle || (x) == attr_maps || (x) == attr_layout || (x) == attr_roadprofile || (x) == attr_vehicleprofile || (x) == attr_layer || (x) == attr_config || (x) == attr_profile_option || (x) == attr_script || (x) == attr_log || (x) == attr_speech || (x) == attr_navigation || (x) == attr_route) #define NAVIT_OBJECT struct object_func *func; int refcount; struct attr **attrs; struct navit_object { - NAVIT_OBJECT + NAVIT_OBJECT }; int navit_object_set_methods(void *in, int in_size, void *out, int out_size); struct navit_object *navit_object_new(struct attr **attrs, struct object_func *func, int size); struct navit_object *navit_object_ref(struct navit_object *obj); -void navit_object_unref(struct navit_object *obj); -struct attr_iter * navit_object_attr_iter_new(void); +void* navit_object_unref(struct navit_object *obj); +struct attr_iter * navit_object_attr_iter_new(void * unused); void navit_object_attr_iter_destroy(struct attr_iter *iter); int navit_object_get_attr(struct navit_object *obj, enum attr_type type, struct attr *attr, struct attr_iter *iter); void navit_object_callbacks(struct navit_object *obj, struct attr *attr); @@ -140,10 +142,12 @@ typedef GError xmlerror; enum attr_type; struct object_func *object_func_lookup(enum attr_type type); int xml_parse_file(char *filename, void *data, - void (*start)(xml_context *, const char *, const char **, const char **, void *, GError **), - void (*end)(xml_context *, const char *, void *, GError **), - void (*text)(xml_context *, const char *, gsize, void *, GError **)); -int xml_parse_text(const char *document, void *data, void (*start)(xml_context *, const char *, const char **, const char **, void *, GError **), void (*end)(xml_context *, const char *, void *, GError **), void (*text)(xml_context*, const char *, gsize, void *, GError **)); + void (*start)(xml_context *, const char *, const char **, const char **, void *, GError **), + void (*end)(xml_context *, const char *, void *, GError **), + void (*text)(xml_context *, const char *, gsize, void *, GError **)); +int xml_parse_text(const char *document, void *data, void (*start)(xml_context *, const char *, const char **, + const char **, void *, GError **), void (*end)(xml_context *, const char *, void *, GError **), + void (*text)(xml_context*, const char *, gsize, void *, GError **)); gboolean config_load(const char *filename, xmlerror **error); //static void xinclude(GMarkupParseContext *context, const gchar **attribute_names, const gchar **attribute_values, struct xmldocument *doc_old, xmlerror **error); diff --git a/po/ckb.po.in b/po/ckb.po.in index 549d8f26e..1bfc90424 100644 --- a/po/ckb.po.in +++ b/po/ckb.po.in @@ -1,12 +1,12 @@ # Kurdish (Sorani) translations for navit -# Copyright (C) 2006-2016 The Navit Team +# Copyright (C) 2006-2019 The Navit Team # This file is distributed under the same license as the navit package. # Many thanks to the contributors of this translation: # kosar https://launchpad.net/~kosar-belana msgid "" msgstr "" -"Project-Id-Version: navit 0.5.0\n" +"Project-Id-Version: navit 0.5.1\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2013-06-22 23:00+0000\n" "Last-Translator: kosar <kosar.belana@gmail.com>\n" @@ -149,7 +149,6 @@ msgstr "" msgid "%1$sonto %2$s|neuter form" msgstr "" -#. TRANSLATORS: motorway ramp refers to the slip road for entering a motorway. msgid "onto the motorway ramp" msgstr "" @@ -362,7 +361,6 @@ msgstr "" msgid "You have reached your destination %s" msgstr "" -#. TRANSLATORS: Exit as a noun, as in "Exit 43 Greenmound-East" msgid "Interchange" msgstr "" @@ -379,9 +377,15 @@ msgstr "" msgid "Length" msgstr "" +msgid "mi" +msgstr "" + msgid "km" msgstr "" +msgid "feet" +msgstr "" + msgid "m" msgstr "" @@ -442,6 +446,7 @@ msgid "Anguilla" msgstr "" #. 008 +#. Android resource: @strings/albania msgid "Albania" msgstr "" @@ -454,6 +459,7 @@ msgid "Netherlands Antilles" msgstr "" #. 024 +#. Android resource: @strings/angola msgid "Angola" msgstr "" @@ -462,6 +468,7 @@ msgid "Antarctica" msgstr "" #. 032 +#. Android resource: @strings/argentina msgid "Argentina" msgstr "" @@ -470,10 +477,12 @@ msgid "American Samoa" msgstr "" #. 040 +#. Android resource: @strings/austria msgid "Austria" msgstr "" #. 036 +#. Android resource: @strings/australia msgid "Australia" msgstr "" @@ -486,10 +495,12 @@ msgid "Aland Islands" msgstr "" #. 031 +#. Android resource: @strings/azerbaijan msgid "Azerbaijan" msgstr "" #. 070 +#. Android resource: @strings/bosnia_and_herzegovina msgid "Bosnia and Herzegovina" msgstr "" @@ -502,6 +513,7 @@ msgid "Bangladesh" msgstr "" #. 056 +#. Android resource: @strings/belgium msgid "Belgium" msgstr "" @@ -510,6 +522,7 @@ msgid "Burkina Faso" msgstr "" #. 100 +#. Android resource: @strings/bulgaria msgid "Bulgaria" msgstr "" @@ -518,6 +531,7 @@ msgid "Bahrain" msgstr "" #. 108 +#. Android resource: @strings/burundi msgid "Burundi" msgstr "" @@ -538,6 +552,7 @@ msgid "Brunei Darussalam" msgstr "" #. 068 +#. Android resource: @strings/bolivia msgid "Bolivia" msgstr "" @@ -546,6 +561,7 @@ msgid "Bonaire, Sint Eustatius and Saba" msgstr "" #. 076 +#. Android resource: @strings/brazil msgid "Brazil" msgstr "" @@ -562,10 +578,12 @@ msgid "Bouvet Island" msgstr "" #. 072 +#. Android resource: @strings/botswana msgid "Botswana" msgstr "" #. 112 +#. Android resource: @strings/belarus msgid "Belarus" msgstr "" @@ -574,6 +592,7 @@ msgid "Belize" msgstr "" #. 124 +#. Android resource: @strings/canada msgid "Canada" msgstr "" @@ -582,6 +601,7 @@ msgid "Cocos (Keeling) Islands" msgstr "" #. 180 +#. Android resource: @strings/congo msgid "Congo, Democratic Republic of the" msgstr "" @@ -594,10 +614,12 @@ msgid "Congo" msgstr "" #. 756 +#. Android resource: @strings/switzerland msgid "Switzerland" msgstr "" #. 384 +#. Android resource: @strings/cotedivoire msgid "Cote d'Ivoire" msgstr "" @@ -606,6 +628,7 @@ msgid "Cook Islands" msgstr "" #. 152 +#. Android resource: @strings/chile msgid "Chile" msgstr "" @@ -614,10 +637,12 @@ msgid "Cameroon" msgstr "" #. 156 +#. Android resource: @strings/china msgid "China" msgstr "" #. 170 +#. Android resource: @strings/colombia msgid "Colombia" msgstr "" @@ -626,6 +651,7 @@ msgid "Costa Rica" msgstr "" #. 192 +#. Android resource: @strings/cuba msgid "Cuba" msgstr "" @@ -642,14 +668,17 @@ msgid "Christmas Island" msgstr "" #. 196 +#. Android resource: @strings/cyprus msgid "Cyprus" msgstr "" #. 203 +#. Android resource: @strings/czech_republic msgid "Czech Republic" msgstr "" #. 276 +#. Android resource: @strings/germany msgid "Germany" msgstr "" @@ -658,6 +687,7 @@ msgid "Djibouti" msgstr "" #. 208 +#. Android resource: @strings/denmark msgid "Denmark" msgstr "" @@ -666,6 +696,7 @@ msgid "Dominica" msgstr "" #. 214 +#. Android resource: @strings/dominican_republic msgid "Dominican Republic" msgstr "" @@ -674,10 +705,12 @@ msgid "Algeria" msgstr "" #. 218 +#. Android resource: @strings/ecuador msgid "Ecuador" msgstr "" #. 233 +#. Android resource: @strings/estonia msgid "Estonia" msgstr "" @@ -694,14 +727,17 @@ msgid "Eritrea" msgstr "" #. 724 +#. Android resource: @strings/spain msgid "Spain" msgstr "" #. 231 +#. Android resource: @strings/ethiopia msgid "Ethiopia" msgstr "" #. 246 +#. Android resource: @strings/finland msgid "Finland" msgstr "" @@ -718,10 +754,12 @@ msgid "Micronesia, Federated States of" msgstr "" #. 234 +#. Android resource: @strings/faroe_islands msgid "Faroe Islands" msgstr "" #. 250 +#. Android resource: @strings/france msgid "France" msgstr "" @@ -730,6 +768,7 @@ msgid "Gabon" msgstr "" #. 826 +#. Android resource: @strings/united_kingdom msgid "United Kingdom" msgstr "" @@ -766,6 +805,7 @@ msgid "Gambia" msgstr "" #. 324 +#. Android resource: @strings/guinea msgid "Guinea" msgstr "" @@ -778,6 +818,7 @@ msgid "Equatorial Guinea" msgstr "" #. 300 +#. Android resource: @strings/greece msgid "Greece" msgstr "" @@ -798,6 +839,7 @@ msgid "Guinea-Bissau" msgstr "" #. 328 +#. Android resource: @strings/guyana msgid "Guyana" msgstr "" @@ -814,26 +856,32 @@ msgid "Honduras" msgstr "" #. 191 +#. Android resource: @strings/croatia msgid "Croatia" msgstr "" #. 332 +#. Android resource: @strings/haiti msgid "Haiti" msgstr "" #. 348 +#. Android resource: @strings/hungary msgid "Hungary" msgstr "" #. 360 +#. Android resource: @strings/indonesia msgid "Indonesia" msgstr "" #. 372 +#. Android resource: @strings/ireland msgid "Ireland" msgstr "" #. 376 +#. Android resource: @strings/israel msgid "Israel" msgstr "" @@ -842,6 +890,7 @@ msgid "Isle of Man" msgstr "" #. 356 +#. Android resource: @strings/india msgid "India" msgstr "" @@ -850,18 +899,22 @@ msgid "British Indian Ocean Territory" msgstr "" #. 368 +#. Android resource: @strings/iraq msgid "Iraq" msgstr "" #. 364 +#. Android resource: @strings/iran msgid "Iran, Islamic Republic of" msgstr "" #. 352 +#. Android resource: @strings/iceland msgid "Iceland" msgstr "" #. 380 +#. Android resource: @strings/italy msgid "Italy" msgstr "" @@ -870,6 +923,7 @@ msgid "Jersey" msgstr "" #. 388 +#. Android resource: @strings/jamaica msgid "Jamaica" msgstr "" @@ -878,14 +932,17 @@ msgid "Jordan" msgstr "" #. 392 +#. Android resource: @strings/japan msgid "Japan" msgstr "" #. 404 +#. Android resource: @strings/kenya msgid "Kenya" msgstr "" #. 417 +#. Android resource: @strings/kyrgyzsyan msgid "Kyrgyzstan" msgstr "" @@ -922,6 +979,7 @@ msgid "Cayman Islands" msgstr "" #. 398 +#. Android resource: @strings/kazakhstan msgid "Kazakhstan" msgstr "" @@ -946,26 +1004,32 @@ msgid "Sri Lanka" msgstr "" #. 430 +#. Android resource: @strings/liberia msgid "Liberia" msgstr "" #. 426 +#. Android resource: @strings/lesotho msgid "Lesotho" msgstr "" #. 440 +#. Android resource: @strings/lithuania msgid "Lithuania" msgstr "" #. 442 +#. Android resource: @strings/luxembourg msgid "Luxembourg" msgstr "" #. 428 +#. Android resource: @strings/latvia msgid "Latvia" msgstr "" #. 434 +#. Android resource: @strings/libya msgid "Libya" msgstr "" @@ -990,6 +1054,7 @@ msgid "Saint Martin (French part)" msgstr "" #. 450 +#. Android resource: @strings/madagascar msgid "Madagascar" msgstr "" @@ -1010,6 +1075,7 @@ msgid "Myanmar" msgstr "" #. 496 +#. Android resource: @strings/mongolia msgid "Mongolia" msgstr "" @@ -1050,10 +1116,12 @@ msgid "Malawi" msgstr "" #. 484 +#. Android resource: @strings/mexico msgid "Mexico" msgstr "" #. 458 +#. Android resource: @strings/malaysia msgid "Malaysia" msgstr "" @@ -1062,10 +1130,12 @@ msgid "Mozambique" msgstr "" #. 516 +#. Android resource: @strings/namibia msgid "Namibia" msgstr "" #. 540 +#. Android resource: @strings/new_caledonia msgid "New Caledonia" msgstr "" @@ -1086,6 +1156,7 @@ msgid "Nicaragua" msgstr "" #. 528 +#. Android resource: @strings/netherlands msgid "Netherlands" msgstr "" @@ -1094,6 +1165,7 @@ msgid "Norway" msgstr "" #. 524 +#. Android resource: @strings/nepal msgid "Nepal" msgstr "" @@ -1106,6 +1178,7 @@ msgid "Niue" msgstr "" #. 554 +#. Android resource: @strings/newzealand msgid "New Zealand" msgstr "" @@ -1118,6 +1191,7 @@ msgid "Panama" msgstr "" #. 604 +#. Android resource: @strings/peru msgid "Peru" msgstr "" @@ -1130,14 +1204,17 @@ msgid "Papua New Guinea" msgstr "" #. 608 +#. Android resource: @strings/philippines msgid "Philippines" msgstr "" #. 586 +#. Android resource: @strings/pakistan msgid "Pakistan" msgstr "" #. 616 +#. Android resource: @strings/poland msgid "Poland" msgstr "" @@ -1158,6 +1235,7 @@ msgid "Palestinian Territory, Occupied" msgstr "" #. 620 +#. Android resource: @strings/portugal msgid "Portugal" msgstr "" @@ -1166,6 +1244,7 @@ msgid "Palau" msgstr "" #. 600 +#. Android resource: @strings/paraguay msgid "Paraguay" msgstr "" @@ -1174,10 +1253,12 @@ msgid "Qatar" msgstr "" #. 638 +#. Android resource: @strings/reunion msgid "Reunion" msgstr "" #. 642 +#. Android resource: @strings/romania msgid "Romania" msgstr "" @@ -1186,14 +1267,17 @@ msgid "Serbia" msgstr "" #. 643 +#. Android resource: @strings/russian_federation msgid "Russian Federation" msgstr "" #. 646 +#. Android resource: @strings/rwanda msgid "Rwanda" msgstr "" #. 682 +#. Android resource: @strings/saudi_arabia msgid "Saudi Arabia" msgstr "" @@ -1214,6 +1298,7 @@ msgid "Sweden" msgstr "" #. 702 +#. Android resource: @strings/singapore msgid "Singapore" msgstr "" @@ -1230,6 +1315,7 @@ msgid "Svalbard and Jan Mayen" msgstr "" #. 703 +#. Android resource: @strings/slovakia msgid "Slovakia" msgstr "" @@ -1250,6 +1336,7 @@ msgid "Somalia" msgstr "" #. 740 +#. Android resource: @strings/suriname msgid "Suriname" msgstr "" @@ -1294,6 +1381,7 @@ msgid "Togo" msgstr "" #. 764 +#. Android resource: @strings/thailand msgid "Thailand" msgstr "" @@ -1310,6 +1398,7 @@ msgid "Timor-Leste" msgstr "" #. 795 +#. Android resource: @strings/turkmenistan msgid "Turkmenistan" msgstr "" @@ -1322,6 +1411,7 @@ msgid "Tonga" msgstr "" #. 792 +#. Android resource: @strings/turkey msgid "Turkey" msgstr "" @@ -1338,14 +1428,17 @@ msgid "Taiwan, Province of China" msgstr "" #. 834 +#. Android resource: @strings/tanzania msgid "Tanzania, United Republic of" msgstr "" #. 804 +#. Android resource: @strings/ukraine msgid "Ukraine" msgstr "" #. 800 +#. Android resource: @strings/uganda msgid "Uganda" msgstr "" @@ -1358,6 +1451,7 @@ msgid "United States" msgstr "" #. 858 +#. Android resource: @strings/uruguay msgid "Uruguay" msgstr "" @@ -1374,6 +1468,7 @@ msgid "Saint Vincent and the Grenadines" msgstr "" #. 862 +#. Android resource: @strings/venezuela msgid "Venezuela" msgstr "" @@ -1410,6 +1505,7 @@ msgid "Mayotte" msgstr "" #. 710 +#. Android resource: @strings/south_africa msgid "South Africa" msgstr "" @@ -1437,23 +1533,23 @@ msgid "" msgstr "" #. We have not found an existing config file from all possibilities -msgid "No config file navit.xml, navit.xml.local found\n" +msgid "No config file navit.xml, navit.xml.local found" msgstr "" #, c-format -msgid "Error parsing config file '%s': %s\n" +msgid "Error parsing config file '%s': %s" msgstr "" #, c-format -msgid "Using config file '%s'\n" +msgid "Using config file '%s'" msgstr "" #, c-format -msgid "Error: No configuration found in config file '%s'\n" +msgid "Error: No configuration found in config file '%s'" msgstr "" msgid "" -"Internal initialization failed, exiting. Check previous error messages.\n" +"Internal initialization failed, exiting. Check previous error messages." msgstr "" msgid "unknown street" @@ -1594,6 +1690,9 @@ msgstr "" msgid "_Lock on Road" msgstr "" +msgid "_Follow Vehicle" +msgstr "" + msgid "_Keep orientation to the North" msgstr "" @@ -1663,7 +1762,12 @@ msgstr "" msgid "Shopping" msgstr "" -msgid "Select a search radius from screen center" +#. Input is in kilometers +msgid "Select a search radius from screen center in km" +msgstr "" + +#. Input is in miles. +msgid "Select a search radius from screen center in miles" msgstr "" #, c-format @@ -1671,15 +1775,15 @@ msgid "POI %s. %s" msgstr "" #, c-format -msgid "Set destination to %ld, %ld \n" +msgid "Set destination to %ld, %ld " msgstr "" #, c-format -msgid "Set map to %ld, %ld \n" +msgid "Set map to %ld, %ld " msgstr "" #, c-format -msgid "Set next visit to %ld, %ld \n" +msgid "Set next visit to %ld, %ld " msgstr "" msgid "POI search" @@ -1688,9 +1792,6 @@ msgstr "" msgid "Select a category" msgstr "" -msgid "Select a distance to look for (km)" -msgstr "" - msgid "Select a POI" msgstr "" @@ -1703,7 +1804,7 @@ msgstr "" msgid "Direction" msgstr "" -msgid "Distance(m)" +msgid "Distance" msgstr "" msgid "Name" @@ -1750,7 +1851,7 @@ msgid "OT" msgstr "" #, c-format -msgid "Route %4.0fkm %02d:%02d ETA" +msgid "Route %4.1f%s %02d:%02d ETA" msgstr "" msgid "Route 0000km 0+00:00 ETA" @@ -1973,6 +2074,9 @@ msgstr "" msgid "Show Locale" msgstr "" +msgid "Network info" +msgstr "" + msgid "Former Destinations" msgstr "" @@ -2011,729 +2115,861 @@ msgstr "" msgid "Please decrease your speed" msgstr "" -msgid "partial match" +msgid "Vehicle Position" msgstr "" -#. Android resource: @strings/address_search_button -msgid "Search" +msgid "Main menu" msgstr "" -#. Android resource: @strings/address_search_towns -msgid "Towns" +msgid "" +"Show\n" +"Map" msgstr "" -msgid "Map data (c) OpenStreetMap contributors, ODBL" +msgid "Settings" msgstr "" -msgid "" -"Current map location %s is not available\n" -"Please restart Navit after you attach an SD card or select a different map " -"location." +msgid "Tools" msgstr "" -msgid "Downloaded maps" +msgid "Route" msgstr "" -msgid "" -"Sorry, we currently do not support maps above 3.8G on Android, please select " -"a smaller one." +msgid "About" msgstr "" -#. Android resource: @strings/position_popup_drive_here -msgid "Route to here" +msgid "Quit" msgstr "" -msgid "Cancel" +msgid "Actions" msgstr "" -msgid "filenamePath" +msgid "" +"Former\n" +"Destinations" msgstr "" -msgid "" -"New location set to %s\n" -"Restart Navit to apply the changes." +msgid "Coordinates" msgstr "" -msgid "Whole Planet" +msgid "" +"Stop\n" +"Navigation" msgstr "" -msgid "Africa" +msgid "Display" msgstr "" -msgid "Canary Islands" +msgid "Fullscreen" msgstr "" -msgid "Asia" +msgid "Window Mode" msgstr "" -msgid "Korea" +msgid "Auto zoom" msgstr "" -msgid "Taiwan" +msgid "Manual zoom" msgstr "" -msgid "UAE+Other" +msgid "Layers" msgstr "" -msgid "Oceania" +msgid "Zoom to route" msgstr "" -msgid "Tasmania" +msgid "Description" msgstr "" -msgid "Victoria" +msgid "" +"Drop last\n" +"Waypoint" msgstr "" -msgid "New South Wales" +msgid "" +"Drop next\n" +"Waypoint" msgstr "" -msgid "Europe" +msgid "Satellite Status" msgstr "" -msgid "Western Europe" +msgid "NMEA Data" msgstr "" -msgid "Azores" +msgid "car_shortest" msgstr "" -msgid "BeNeLux" +msgid "car_avoid_tolls" msgstr "" -msgid "Alsace" +msgid "car_pedantic" msgstr "" -msgid "Aquitaine" +msgid "horse" msgstr "" -msgid "Auvergne" +msgid "Truck" msgstr "" -msgid "Basse-Normandie" +#. Strings from android/res/values/strings.xml +#. Android resource: @strings/yes +msgid "Yes" msgstr "" -msgid "Bourgogne" +#. Android resource: @strings/cancel +msgid "Cancel" msgstr "" -msgid "Bretagne" +#. Android resource: @strings/notification_ticker +msgid "Navit started" msgstr "" -msgid "Centre" +#. Android resource: @strings/notification_event_default +msgid "Navit running" msgstr "" -msgid "Champagne-Ardenne" +#. Android resource: @strings/initial_info_box_title +msgid "Welcome to Navit" msgstr "" -msgid "Corse" +#. Android resource: @strings/initial_info_box_message +msgid "" +"Thank you for installing Navit!\n" +"\n" +"To start, select \"Download maps\" from the menu to download a map. Note: " +"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" +"\n" +"Mapdata: (c) OpenStreetMap contributors\n" +"\n" +"Enjoy Navit!" msgstr "" -msgid "Franche-Comte" +#. Android resource: @strings/initial_info_box_OK +msgid "OK" msgstr "" -msgid "Haute-Normandie" +#. Android resource: @strings/initial_info_box_more_info +msgid "More info" msgstr "" -msgid "Ile-de-France" +#. Android resource: @strings/optionsmenu_zoom_in +msgid "Zoom in" msgstr "" -msgid "Languedoc-Roussillon" +#. Android resource: @strings/optionsmenu_zoom_out +msgid "Zoom out" msgstr "" -msgid "Limousin" +#. Android resource: @strings/optionsmenu_download_maps +msgid "Download maps" msgstr "" -msgid "Lorraine" +#. Android resource: @strings/optionsmenu_toggle_poi +msgid "Toggle POIs" msgstr "" -msgid "Midi-Pyrenees" +#. Android resource: @strings/optionsmenu_exit_navit +msgid "Exit Navit" msgstr "" -msgid "Nord-pas-de-Calais" +#. Android resource: @strings/optionsmenu_backup_restore +msgid "Backup / Restore" msgstr "" -msgid "Pays-de-la-Loire" +#. Android resource: @strings/optionsmenu_set_map_location +msgid "Set map location" msgstr "" -msgid "Picardie" +#. Android resource: @strings/position_popup_drive_here +msgid "Route to here" msgstr "" -msgid "Poitou-Charentes" +#. Android resource: @strings/map_delete +msgid "Delete this map?" msgstr "" -msgid "Provence-Alpes-Cote-d-Azur" +#. Android resource: @strings/map_download_title +msgid "Map download" msgstr "" -msgid "Rhone-Alpes" +#. Android resource: @strings/map_download_downloading +msgid "Downloading:" msgstr "" -msgid "Baden-Wuerttemberg" +#. Android resource: @strings/map_download_eta +msgid "ETA" msgstr "" -msgid "Bayern" +#. Android resource: @strings/map_download_ready +msgid "ready" msgstr "" -msgid "Mittelfranken" +#. Android resource: @strings/map_download_download_error +msgid "Error downloading map." msgstr "" -msgid "Niederbayern" +#. Android resource: @strings/map_download_download_aborted +msgid "Map download aborted" msgstr "" -msgid "Oberbayern" +#. Android resource: @strings/map_download_not_enough_free_space +msgid "Not enough free space" msgstr "" -msgid "Oberfranken" +#. Android resource: @strings/map_download_oversize +msgid "" +"Sorry, we currently do not support maps above 3.8G on Android, please select " +"a smaller one." msgstr "" -msgid "Oberpfalz" +#. Android resource: @strings/map_no_fix +msgid "No location. Reopen after location fix." msgstr "" -msgid "Schwaben" +#. Android resource: @strings/maps_for_current_location +msgid "Maps containing current location" msgstr "" -msgid "Unterfranken" +#. Android resource: @strings/maps_installed +msgid "Installed maps" msgstr "" -msgid "Berlin" +#. Android resource: @strings/map_downloading +msgid "downloading" msgstr "" -msgid "Brandenburg" +#. Android resource: @strings/map_download_medium_unavailable +msgid "Media selected for map storage is not available" msgstr "" -msgid "Bremen" +#. Android resource: @strings/map_download_error_writing_map +msgid "Error writing map!" msgstr "" -msgid "Hamburg" +#. Android resource: @strings/map_location_changed +#, c-format +msgid "New location set to %s Restart Navit to apply the changes." msgstr "" -msgid "Hessen" +#. Android resource: @strings/map_location_unavailable +#, c-format +msgid "" +"Current map location %s is not available Please restart Navit after you " +"attach an SD card or select a different map location." msgstr "" -msgid "Mecklenburg-Vorpommern" +#. Android resource: @strings/address_search_title +msgid "Address search" msgstr "" -msgid "Niedersachsen" +#. Android resource: @strings/address_enter_destination +msgid "Enter destination" msgstr "" -msgid "Nordrhein-westfalen" +#. Android resource: @strings/address_partial_match +msgid "Match partial address" msgstr "" -msgid "Rheinland-Pfalz" +#. Android resource: @strings/address_search_button +msgid "Search" msgstr "" -msgid "Saarland" +#. Android resource: @strings/address_search_searching +msgid "Searching..." msgstr "" -msgid "Sachsen-Anhalt" +#. Android resource: @strings/address_search_not_found +msgid "Address not found" msgstr "" -msgid "Sachsen" +#. Android resource: @strings/address_search_getting_results +msgid "Getting search results" msgstr "" -msgid "Schleswig-Holstein" +#. Android resource: @strings/address_search_loading_results +msgid "Loading search results" msgstr "" -msgid "Thueringen" +#. Android resource: @strings/address_search_no_results +msgid "No results found" msgstr "" -msgid "Mallorca" +#. Android resource: @strings/address_search_no_text_entered +msgid "No text entered" msgstr "" -msgid "Galicia" +#. Android resource: @strings/address_search_set_destination +msgid "Setting destination to:" msgstr "" -msgid "Scandinavia" +#. Android resource: @strings/address_search_towns +msgid "Towns" msgstr "" -msgid "England" +#. Android resource: @strings/choose_an_action +msgid "Choose an action" msgstr "" -msgid "Buckinghamshire" +#. Android resource: @strings/please_insert_an_sd_card +msgid "Please insert an SD Card" msgstr "" -msgid "Cambridgeshire" +#. Android resource: @strings/backing_up +msgid "Backing up..." msgstr "" -msgid "Cumbria" +#. Android resource: @strings/restoring +msgid "Restoring..." msgstr "" -msgid "East yorkshire with hull" +#. Android resource: @strings/failed_to_create_backup_directory +msgid "Failed to create backup directory" msgstr "" -msgid "Essex" +#. Android resource: @strings/backup_failed +msgid "Backup failed" msgstr "" -msgid "Herefordshire" +#. Android resource: @strings/no_backup_found +msgid "No backup found" msgstr "" -msgid "Kent" +#. Android resource: @strings/failed_to_restore +msgid "Failed to restore" msgstr "" -msgid "Lancashire" +#. Android resource: @strings/backup_successful +msgid "Backup successful" msgstr "" -msgid "Leicestershire" +#. Android resource: @strings/restore_successful_please_restart_navit +msgid "" +"Restore Successful\n" +"Please restart Navit" msgstr "" -msgid "Norfolk" +#. Android resource: @strings/backup_not_found +msgid "Backup not found" msgstr "" -msgid "Nottinghamshire" +#. Android resource: @strings/restore_failed +msgid "Restore failed" msgstr "" -msgid "Oxfordshire" +#. Android resource: @strings/select_backup +msgid "Select backup" msgstr "" -msgid "Shropshire" +#. Android resource: @strings/backup +msgid "Backup" msgstr "" -msgid "Somerset" +#. Android resource: @strings/restore +msgid "Restore" msgstr "" -msgid "South yorkshire" +#. Android resource: @strings/TTS_title_data_missing +msgid "System text to speech engine data is missing" msgstr "" -msgid "Suffolk" +#. Android resource: @strings/TTS_qery_install_data +msgid "" +"Navit can use any text to speech engine installed on your device. The " +"currently selected engine reports it is unable to speak in your language. " +"Should we ask the system to show voice download dialog?" msgstr "" -msgid "Surrey" +#. Android resource: @strings/permissions_not_granted +msgid "" +"Navit needs permission to access GPS and read the map.\n" +"If you change your mind please restart Navit and grant the permissions" msgstr "" -msgid "Wiltshire" +#. Android resource: @strings/permissions_info_box_title +msgid "One or more ungranted permissions" msgstr "" -msgid "Scotland" +#. Android resource: @strings/whole_planet +msgid "Whole Planet" msgstr "" -msgid "Wales" +#. Android resource: @strings/africa +msgid "Africa" msgstr "" -msgid "Crete" +#. Android resource: @strings/canary_islands +msgid "Canary Islands" msgstr "" -msgid "North America" +#. Android resource: @strings/asia +msgid "Asia" msgstr "" -msgid "Alaska" +#. Android resource: @strings/taiwan +msgid "Taiwan" msgstr "" -msgid "Hawaii" +#. Android resource: @strings/korea +msgid "Korea" msgstr "" -msgid "USA" +#. Android resource: @strings/uae_other +msgid "UAE+Other" msgstr "" -msgid " (except Alaska and Hawaii)" +#. Android resource: @strings/oceania +msgid "Oceania" msgstr "" -msgid "Midwest" +#. Android resource: @strings/tasmania +msgid "Tasmania" msgstr "" -msgid "Michigan" +#. Android resource: @strings/victoria +msgid "Victoria" msgstr "" -msgid "Ohio" +#. Android resource: @strings/new_south_wales +msgid "New South Wales" msgstr "" -msgid "Northeast" +#. Android resource: @strings/europe +msgid "Europe" msgstr "" -msgid "Massachusetts" +#. Android resource: @strings/western_europe +msgid "Western Europe" msgstr "" -msgid "Vermont" +#. Android resource: @strings/azores +msgid "Azores" msgstr "" -msgid "Pacific" +#. Android resource: @strings/benelux +msgid "BeNeLux" msgstr "" -msgid "South" +#. Android resource: @strings/alsace +msgid "Alsace" msgstr "" -msgid "Arkansas" +#. Android resource: @strings/aquitaine +msgid "Aquitaine" msgstr "" -msgid "District of Columbia" +#. Android resource: @strings/auvergne +msgid "Auvergne" msgstr "" -msgid "Florida" +#. Android resource: @strings/centre +msgid "Centre" msgstr "" -msgid "Louisiana" +#. Android resource: @strings/bretagne +msgid "Bretagne" msgstr "" -msgid "Maryland" +#. Android resource: @strings/bourgogne +msgid "Bourgogne" msgstr "" -msgid "Mississippi" +#. Android resource: @strings/basse_normandie +msgid "Basse-Normandie" msgstr "" -msgid "Oklahoma" +#. Android resource: @strings/champagne_ardenne +msgid "Champagne-Ardenne" msgstr "" -msgid "Texas" +#. Android resource: @strings/corse +msgid "Corse" msgstr "" -msgid "Virginia" +#. Android resource: @strings/franche_comte +msgid "Franche-Comte" msgstr "" -msgid "West Virginia" +#. Android resource: @strings/haute_normandie +msgid "Haute-Normandie" msgstr "" -msgid "West" +#. Android resource: @strings/ile_de_france +msgid "Ile-de-France" msgstr "" -msgid "Arizona" +#. Android resource: @strings/languedoc_roussillon +msgid "Languedoc-Roussillon" msgstr "" -msgid "California" +#. Android resource: @strings/limousin +msgid "Limousin" msgstr "" -msgid "Colorado" +#. Android resource: @strings/lorraine +msgid "Lorraine" msgstr "" -msgid "Idaho" +#. Android resource: @strings/midi_pyrenees +msgid "Midi-Pyrenees" msgstr "" -msgid "Montana" +#. Android resource: @strings/nord_pas_de_calais +msgid "Nord-pas-de-Calais" msgstr "" -msgid "New Mexico" +#. Android resource: @strings/pays_de_la_loire +msgid "Pays-de-la-Loire" msgstr "" -msgid "Nevada" +#. Android resource: @strings/picardie +msgid "Picardie" msgstr "" -msgid "Oregon" +#. Android resource: @strings/poitou_charentes +msgid "Poitou-Charentes" msgstr "" -msgid "Utah" +#. Android resource: @strings/provence_alpes_cote_d_azur +msgid "Provence-Alpes-Cote-d-Azur" msgstr "" -msgid "Washington State" +#. Android resource: @strings/rhone_alpes +msgid "Rhone-Alpes" msgstr "" -msgid "South+Middle America" +#. Android resource: @strings/baden_wuerttemberg +msgid "Baden-Wuerttemberg" msgstr "" -msgid "Guyane Francaise" +#. Android resource: @strings/bayern +msgid "Bayern" msgstr "" -msgid "downloading" +#. Android resource: @strings/mittelfranken +msgid "Mittelfranken" msgstr "" -#. Android resource: @strings/map_download_ready -msgid "ready" +#. Android resource: @strings/niederbayern +msgid "Niederbayern" msgstr "" -msgid "Media selected for map storage is not available" +#. Android resource: @strings/oberbayern +msgid "Oberbayern" msgstr "" -#. Android resource: @strings/map_download_not_enough_free_space -msgid "Not enough free space" +#. Android resource: @strings/oberfranken +msgid "Oberfranken" msgstr "" -msgid "Error downloading map!" +#. Android resource: @strings/oberpfalz +msgid "Oberpfalz" msgstr "" -msgid "Error writing map!" +#. Android resource: @strings/schwaben +msgid "Schwaben" msgstr "" -msgid "Map download aborted!" +#. Android resource: @strings/unterfranken +msgid "Unterfranken" msgstr "" -#. Android resource: @strings/map_download_eta -msgid "ETA" +#. Android resource: @strings/berlin +msgid "Berlin" msgstr "" -#. Android resource: @strings/map_download_title -msgid "Map download" +#. Android resource: @strings/brandenburg +msgid "Brandenburg" msgstr "" -msgid "Vehicle Position" +#. Android resource: @strings/bremen +msgid "Bremen" msgstr "" -msgid "Main menu" +#. Android resource: @strings/hamburg +msgid "Hamburg" msgstr "" -msgid "" -"Show\n" -"Map" +#. Android resource: @strings/hessen +msgid "Hessen" msgstr "" -msgid "Settings" +#. Android resource: @strings/mecklenburg_vorpommern +msgid "Mecklenburg-Vorpommern" msgstr "" -msgid "Tools" +#. Android resource: @strings/niedersachsen +msgid "Niedersachsen" msgstr "" -msgid "Route" +#. Android resource: @strings/nordrhein_westfalen +msgid "Nordrhein-westfalen" msgstr "" -msgid "About" +#. Android resource: @strings/rheinland_pfalz +msgid "Rheinland-Pfalz" msgstr "" -msgid "Quit" +#. Android resource: @strings/saarland +msgid "Saarland" msgstr "" -msgid "Actions" +#. Android resource: @strings/sachsen_anhalt +msgid "Sachsen-Anhalt" msgstr "" -msgid "" -"Former\n" -"Destinations" +#. Android resource: @strings/sachsen +msgid "Sachsen" msgstr "" -msgid "Coordinates" +#. Android resource: @strings/schleswig_holstein +msgid "Schleswig-Holstein" msgstr "" -msgid "" -"Stop\n" -"Navigation" +#. Android resource: @strings/thueringen +msgid "Thueringen" msgstr "" -msgid "Display" +#. Android resource: @strings/mallorca +msgid "Mallorca" msgstr "" -msgid "Fullscreen" +#. Android resource: @strings/galicia +msgid "Galicia" msgstr "" -msgid "Window Mode" +#. Android resource: @strings/scandinavia +msgid "Scandinavia" msgstr "" -msgid "Layers" +#. Android resource: @strings/england +msgid "England" msgstr "" -msgid "Description" +#. Android resource: @strings/buckinghamshire +msgid "Buckinghamshire" msgstr "" -msgid "" -"Drop last \n" -"Waypoint" +#. Android resource: @strings/cambridgeshire +msgid "Cambridgeshire" msgstr "" -msgid "" -"Drop next \n" -"Waypoint" +#. Android resource: @strings/cumbria +msgid "Cumbria" msgstr "" -msgid "Satellite Status" +#. Android resource: @strings/east_yorkshire_with_hull +msgid "East yorkshire with hull" msgstr "" -msgid "NMEA Data" +#. Android resource: @strings/essex +msgid "Essex" msgstr "" -msgid "car_shortest" +#. Android resource: @strings/herefordshire +msgid "Herefordshire" msgstr "" -msgid "car_avoid_tolls" +#. Android resource: @strings/kent +msgid "Kent" msgstr "" -msgid "car_pedantic" +#. Android resource: @strings/lancashire +msgid "Lancashire" msgstr "" -msgid "horse" +#. Android resource: @strings/leicestershire +msgid "Leicestershire" msgstr "" -msgid "Truck" +#. Android resource: @strings/norfolk +msgid "Norfolk" msgstr "" -#. Strings from android/res/values/strings.xml -#. Android resource: @strings/yes -msgid "Yes" +#. Android resource: @strings/nottinghamshire +msgid "Nottinghamshire" msgstr "" -#. Android resource: @strings/notification_ticker -msgid "Navit started" +#. Android resource: @strings/oxfordshire +msgid "Oxfordshire" msgstr "" -#. Android resource: @strings/notification_event_default -msgid "Navit running" +#. Android resource: @strings/shropshire +msgid "Shropshire" msgstr "" -#. Android resource: @strings/initial_info_box_title -msgid "Welcome to Navit" +#. Android resource: @strings/somerset +msgid "Somerset" msgstr "" -#. Android resource: @strings/initial_info_box_message -msgid "" -"Thank you for installing Navit!\n" -"\n" -"To start, select \"Download maps\" from the menu to download a map. Note: " -"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" -"\n" -"Mapdata: (c) OpenStreetMap contributors\n" -"\n" -"Enjoy Navit!" +#. Android resource: @strings/south_yorkshire +msgid "South yorkshire" msgstr "" -#. Android resource: @strings/initial_info_box_OK -msgid "OK" +#. Android resource: @strings/suffolk +msgid "Suffolk" msgstr "" -#. Android resource: @strings/initial_info_box_more_info -msgid "More info" +#. Android resource: @strings/surrey +msgid "Surrey" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_in -msgid "Zoom in" +#. Android resource: @strings/wiltshire +msgid "Wiltshire" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_out -msgid "Zoom out" +#. Android resource: @strings/scotland +msgid "Scotland" msgstr "" -#. Android resource: @strings/optionsmenu_download_maps -msgid "Download maps" +#. Android resource: @strings/wales +msgid "Wales" msgstr "" -#. Android resource: @strings/optionsmenu_toggle_poi -msgid "Toggle POIs" +#. Android resource: @strings/crete +msgid "Crete" msgstr "" -#. Android resource: @strings/optionsmenu_exit_navit -msgid "Exit Navit" +#. Android resource: @strings/north_america +msgid "North America" msgstr "" -#. Android resource: @strings/optionsmenu_backup_restore -msgid "Backup / Restore" +#. Android resource: @strings/alaska +msgid "Alaska" msgstr "" -#. Android resource: @strings/optionsmenu_set_map_location -msgid "Set map location" +#. Android resource: @strings/hawaii +msgid "Hawaii" msgstr "" -#. Android resource: @strings/map_delete -msgid "Delete this map?" +#. Android resource: @strings/usa +msgid "USA" msgstr "" -#. Android resource: @strings/map_download_downloading -msgid "Downloading:" +#. Android resource: @strings/except_alaska_and_hawaii +msgid "(except Alaska and Hawaii)" msgstr "" -#. Android resource: @strings/map_download_download_error -msgid "Error downloading map." +#. Android resource: @strings/midwest +msgid "Midwest" msgstr "" -#. Android resource: @strings/map_download_download_aborted -msgid "Map download aborted" +#. Android resource: @strings/michigan +msgid "Michigan" msgstr "" -#. Android resource: @strings/map_no_fix -msgid "No location. Reopen after location fix." +#. Android resource: @strings/ohio +msgid "Ohio" msgstr "" -#. Android resource: @strings/maps_for_current_location -msgid "Maps containing current location" +#. Android resource: @strings/northeast +msgid "Northeast" msgstr "" -#. Android resource: @strings/address_search_title -msgid "Address search" +#. Android resource: @strings/massachusetts +msgid "Massachusetts" msgstr "" -#. Android resource: @strings/address_enter_destination -msgid "Enter destination" +#. Android resource: @strings/vermont +msgid "Vermont" msgstr "" -#. Android resource: @strings/address_partial_match -msgid "Match partial address" +#. Android resource: @strings/pacific +msgid "Pacific" msgstr "" -#. Android resource: @strings/address_search_searching -msgid "Searching..." +#. Android resource: @strings/south +msgid "South" msgstr "" -#. Android resource: @strings/address_search_not_found -msgid "Address not found" +#. Android resource: @strings/arkansas +msgid "Arkansas" msgstr "" -#. Android resource: @strings/address_search_getting_results -msgid "Getting search results" +#. Android resource: @strings/district_of_columbia +msgid "District of Columbia" msgstr "" -#. Android resource: @strings/address_search_loading_results -msgid "Loading search results" +#. Android resource: @strings/florida +msgid "Florida" msgstr "" -#. Android resource: @strings/address_search_no_results -msgid "No results found" +#. Android resource: @strings/louisiana +msgid "Louisiana" msgstr "" -#. Android resource: @strings/address_search_no_text_entered -msgid "No text entered" +#. Android resource: @strings/maryland +msgid "Maryland" msgstr "" -#. Android resource: @strings/address_search_set_destination -msgid "Setting destination to:" +#. Android resource: @strings/mississippi +msgid "Mississippi" msgstr "" -#. Android resource: @strings/choose_an_action -msgid "Choose an action" +#. Android resource: @strings/oklahoma +msgid "Oklahoma" msgstr "" -#. Android resource: @strings/please_insert_an_sd_card -msgid "Please insert an SD Card" +#. Android resource: @strings/texas +msgid "Texas" msgstr "" -#. Android resource: @strings/backing_up -msgid "Backing up..." +#. Android resource: @strings/virginia +msgid "Virginia" msgstr "" -#. Android resource: @strings/restoring -msgid "Restoring..." +#. Android resource: @strings/west_virginia +msgid "West Virginia" msgstr "" -#. Android resource: @strings/failed_to_create_backup_directory -msgid "Failed to create backup directory" +#. Android resource: @strings/west +msgid "West" msgstr "" -#. Android resource: @strings/backup_failed -msgid "Backup failed" +#. Android resource: @strings/arizona +msgid "Arizona" msgstr "" -#. Android resource: @strings/no_backup_found -msgid "No backup found" +#. Android resource: @strings/california +msgid "California" msgstr "" -#. Android resource: @strings/failed_to_restore -msgid "Failed to restore" +#. Android resource: @strings/colorado +msgid "Colorado" msgstr "" -#. Android resource: @strings/backup_successful -msgid "Backup successful" +#. Android resource: @strings/idaho +msgid "Idaho" msgstr "" -#. Android resource: @strings/restore_successful_please_restart_navit -msgid "" -"Restore Successful\n" -"Please restart Navit" +#. Android resource: @strings/montana +msgid "Montana" msgstr "" -#. Android resource: @strings/backup_not_found -msgid "Backup not found" +#. Android resource: @strings/new_mexico +msgid "New Mexico" msgstr "" -#. Android resource: @strings/restore_failed -msgid "Restore failed" +#. Android resource: @strings/nevada +msgid "Nevada" msgstr "" -#. Android resource: @strings/select_backup -msgid "Select backup" +#. Android resource: @strings/oregon +msgid "Oregon" msgstr "" -#. Android resource: @strings/backup -msgid "Backup" +#. Android resource: @strings/utah +msgid "Utah" msgstr "" -#. Android resource: @strings/restore -msgid "Restore" +#. Android resource: @strings/washington_state +msgid "Washington State" msgstr "" -#. Android resource: @strings/TTS_title_data_missing -msgid "System text to speech engine data is missing" +#. Android resource: @strings/south_middle_america +msgid "South+Middle America" msgstr "" -#. Android resource: @strings/TTS_qery_install_data -msgid "" -"Navit can use any text to speech engine installed on your device. The " -"currently selected engine reports it is unable to speak in your language. " -"Should we ask the system to show voice download dialog?" +#. Android resource: @strings/guyane_francaise +msgid "Guyane Francaise" msgstr "" diff --git a/po/cy.po.in b/po/cy.po.in index db524f7f2..09d30dec3 100644 --- a/po/cy.po.in +++ b/po/cy.po.in @@ -1,5 +1,5 @@ # Welsh translations for navit -# Copyright (C) 2006-2016 The Navit Team +# Copyright (C) 2006-2019 The Navit Team # This file is distributed under the same license as the navit package. # Many thanks to the contributors of this translation: # Michael von Glasow https://launchpad.net/~michael-vonglasow @@ -8,7 +8,7 @@ msgid "" msgstr "" -"Project-Id-Version: navit 0.5.0\n" +"Project-Id-Version: navit 0.5.1\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2016-06-14 23:55+0000\n" "Last-Translator: Padi Phillips <Unknown>\n" @@ -154,7 +154,6 @@ msgstr "" msgid "%1$sonto %2$s|neuter form" msgstr "" -#. TRANSLATORS: motorway ramp refers to the slip road for entering a motorway. msgid "onto the motorway ramp" msgstr "" @@ -367,7 +366,6 @@ msgstr "" msgid "You have reached your destination %s" msgstr "" -#. TRANSLATORS: Exit as a noun, as in "Exit 43 Greenmound-East" msgid "Interchange" msgstr "" @@ -384,9 +382,15 @@ msgstr "" msgid "Length" msgstr "" +msgid "mi" +msgstr "" + msgid "km" msgstr "" +msgid "feet" +msgstr "" + msgid "m" msgstr "" @@ -447,6 +451,7 @@ msgid "Anguilla" msgstr "" #. 008 +#. Android resource: @strings/albania msgid "Albania" msgstr "" @@ -459,6 +464,7 @@ msgid "Netherlands Antilles" msgstr "" #. 024 +#. Android resource: @strings/angola msgid "Angola" msgstr "" @@ -467,6 +473,7 @@ msgid "Antarctica" msgstr "" #. 032 +#. Android resource: @strings/argentina msgid "Argentina" msgstr "" @@ -475,10 +482,12 @@ msgid "American Samoa" msgstr "" #. 040 +#. Android resource: @strings/austria msgid "Austria" msgstr "" #. 036 +#. Android resource: @strings/australia msgid "Australia" msgstr "" @@ -491,10 +500,12 @@ msgid "Aland Islands" msgstr "" #. 031 +#. Android resource: @strings/azerbaijan msgid "Azerbaijan" msgstr "" #. 070 +#. Android resource: @strings/bosnia_and_herzegovina msgid "Bosnia and Herzegovina" msgstr "" @@ -507,6 +518,7 @@ msgid "Bangladesh" msgstr "" #. 056 +#. Android resource: @strings/belgium msgid "Belgium" msgstr "" @@ -515,6 +527,7 @@ msgid "Burkina Faso" msgstr "" #. 100 +#. Android resource: @strings/bulgaria msgid "Bulgaria" msgstr "" @@ -523,6 +536,7 @@ msgid "Bahrain" msgstr "" #. 108 +#. Android resource: @strings/burundi msgid "Burundi" msgstr "" @@ -543,6 +557,7 @@ msgid "Brunei Darussalam" msgstr "" #. 068 +#. Android resource: @strings/bolivia msgid "Bolivia" msgstr "" @@ -551,6 +566,7 @@ msgid "Bonaire, Sint Eustatius and Saba" msgstr "" #. 076 +#. Android resource: @strings/brazil msgid "Brazil" msgstr "" @@ -567,10 +583,12 @@ msgid "Bouvet Island" msgstr "" #. 072 +#. Android resource: @strings/botswana msgid "Botswana" msgstr "" #. 112 +#. Android resource: @strings/belarus msgid "Belarus" msgstr "" @@ -579,6 +597,7 @@ msgid "Belize" msgstr "" #. 124 +#. Android resource: @strings/canada msgid "Canada" msgstr "" @@ -587,6 +606,7 @@ msgid "Cocos (Keeling) Islands" msgstr "" #. 180 +#. Android resource: @strings/congo msgid "Congo, Democratic Republic of the" msgstr "" @@ -599,10 +619,12 @@ msgid "Congo" msgstr "" #. 756 +#. Android resource: @strings/switzerland msgid "Switzerland" msgstr "" #. 384 +#. Android resource: @strings/cotedivoire msgid "Cote d'Ivoire" msgstr "" @@ -611,6 +633,7 @@ msgid "Cook Islands" msgstr "" #. 152 +#. Android resource: @strings/chile msgid "Chile" msgstr "" @@ -619,10 +642,12 @@ msgid "Cameroon" msgstr "" #. 156 +#. Android resource: @strings/china msgid "China" msgstr "" #. 170 +#. Android resource: @strings/colombia msgid "Colombia" msgstr "" @@ -631,6 +656,7 @@ msgid "Costa Rica" msgstr "" #. 192 +#. Android resource: @strings/cuba msgid "Cuba" msgstr "" @@ -647,14 +673,17 @@ msgid "Christmas Island" msgstr "" #. 196 +#. Android resource: @strings/cyprus msgid "Cyprus" msgstr "" #. 203 +#. Android resource: @strings/czech_republic msgid "Czech Republic" msgstr "" #. 276 +#. Android resource: @strings/germany msgid "Germany" msgstr "" @@ -663,6 +692,7 @@ msgid "Djibouti" msgstr "" #. 208 +#. Android resource: @strings/denmark msgid "Denmark" msgstr "" @@ -671,6 +701,7 @@ msgid "Dominica" msgstr "" #. 214 +#. Android resource: @strings/dominican_republic msgid "Dominican Republic" msgstr "" @@ -679,10 +710,12 @@ msgid "Algeria" msgstr "" #. 218 +#. Android resource: @strings/ecuador msgid "Ecuador" msgstr "" #. 233 +#. Android resource: @strings/estonia msgid "Estonia" msgstr "" @@ -699,14 +732,17 @@ msgid "Eritrea" msgstr "" #. 724 +#. Android resource: @strings/spain msgid "Spain" msgstr "" #. 231 +#. Android resource: @strings/ethiopia msgid "Ethiopia" msgstr "" #. 246 +#. Android resource: @strings/finland msgid "Finland" msgstr "" @@ -723,10 +759,12 @@ msgid "Micronesia, Federated States of" msgstr "" #. 234 +#. Android resource: @strings/faroe_islands msgid "Faroe Islands" msgstr "" #. 250 +#. Android resource: @strings/france msgid "France" msgstr "" @@ -735,6 +773,7 @@ msgid "Gabon" msgstr "" #. 826 +#. Android resource: @strings/united_kingdom msgid "United Kingdom" msgstr "" @@ -771,6 +810,7 @@ msgid "Gambia" msgstr "" #. 324 +#. Android resource: @strings/guinea msgid "Guinea" msgstr "" @@ -783,6 +823,7 @@ msgid "Equatorial Guinea" msgstr "" #. 300 +#. Android resource: @strings/greece msgid "Greece" msgstr "" @@ -803,6 +844,7 @@ msgid "Guinea-Bissau" msgstr "" #. 328 +#. Android resource: @strings/guyana msgid "Guyana" msgstr "" @@ -819,26 +861,32 @@ msgid "Honduras" msgstr "" #. 191 +#. Android resource: @strings/croatia msgid "Croatia" msgstr "" #. 332 +#. Android resource: @strings/haiti msgid "Haiti" msgstr "" #. 348 +#. Android resource: @strings/hungary msgid "Hungary" msgstr "" #. 360 +#. Android resource: @strings/indonesia msgid "Indonesia" msgstr "" #. 372 +#. Android resource: @strings/ireland msgid "Ireland" msgstr "" #. 376 +#. Android resource: @strings/israel msgid "Israel" msgstr "" @@ -847,6 +895,7 @@ msgid "Isle of Man" msgstr "" #. 356 +#. Android resource: @strings/india msgid "India" msgstr "" @@ -855,18 +904,22 @@ msgid "British Indian Ocean Territory" msgstr "" #. 368 +#. Android resource: @strings/iraq msgid "Iraq" msgstr "" #. 364 +#. Android resource: @strings/iran msgid "Iran, Islamic Republic of" msgstr "" #. 352 +#. Android resource: @strings/iceland msgid "Iceland" msgstr "" #. 380 +#. Android resource: @strings/italy msgid "Italy" msgstr "" @@ -875,6 +928,7 @@ msgid "Jersey" msgstr "" #. 388 +#. Android resource: @strings/jamaica msgid "Jamaica" msgstr "" @@ -883,14 +937,17 @@ msgid "Jordan" msgstr "" #. 392 +#. Android resource: @strings/japan msgid "Japan" msgstr "" #. 404 +#. Android resource: @strings/kenya msgid "Kenya" msgstr "" #. 417 +#. Android resource: @strings/kyrgyzsyan msgid "Kyrgyzstan" msgstr "" @@ -927,6 +984,7 @@ msgid "Cayman Islands" msgstr "" #. 398 +#. Android resource: @strings/kazakhstan msgid "Kazakhstan" msgstr "" @@ -951,26 +1009,32 @@ msgid "Sri Lanka" msgstr "" #. 430 +#. Android resource: @strings/liberia msgid "Liberia" msgstr "" #. 426 +#. Android resource: @strings/lesotho msgid "Lesotho" msgstr "" #. 440 +#. Android resource: @strings/lithuania msgid "Lithuania" msgstr "" #. 442 +#. Android resource: @strings/luxembourg msgid "Luxembourg" msgstr "" #. 428 +#. Android resource: @strings/latvia msgid "Latvia" msgstr "" #. 434 +#. Android resource: @strings/libya msgid "Libya" msgstr "" @@ -995,6 +1059,7 @@ msgid "Saint Martin (French part)" msgstr "" #. 450 +#. Android resource: @strings/madagascar msgid "Madagascar" msgstr "" @@ -1015,6 +1080,7 @@ msgid "Myanmar" msgstr "" #. 496 +#. Android resource: @strings/mongolia msgid "Mongolia" msgstr "" @@ -1055,10 +1121,12 @@ msgid "Malawi" msgstr "" #. 484 +#. Android resource: @strings/mexico msgid "Mexico" msgstr "" #. 458 +#. Android resource: @strings/malaysia msgid "Malaysia" msgstr "" @@ -1067,10 +1135,12 @@ msgid "Mozambique" msgstr "" #. 516 +#. Android resource: @strings/namibia msgid "Namibia" msgstr "" #. 540 +#. Android resource: @strings/new_caledonia msgid "New Caledonia" msgstr "" @@ -1091,6 +1161,7 @@ msgid "Nicaragua" msgstr "" #. 528 +#. Android resource: @strings/netherlands msgid "Netherlands" msgstr "" @@ -1099,6 +1170,7 @@ msgid "Norway" msgstr "" #. 524 +#. Android resource: @strings/nepal msgid "Nepal" msgstr "" @@ -1111,6 +1183,7 @@ msgid "Niue" msgstr "" #. 554 +#. Android resource: @strings/newzealand msgid "New Zealand" msgstr "" @@ -1123,6 +1196,7 @@ msgid "Panama" msgstr "" #. 604 +#. Android resource: @strings/peru msgid "Peru" msgstr "" @@ -1135,14 +1209,17 @@ msgid "Papua New Guinea" msgstr "" #. 608 +#. Android resource: @strings/philippines msgid "Philippines" msgstr "" #. 586 +#. Android resource: @strings/pakistan msgid "Pakistan" msgstr "" #. 616 +#. Android resource: @strings/poland msgid "Poland" msgstr "" @@ -1163,6 +1240,7 @@ msgid "Palestinian Territory, Occupied" msgstr "" #. 620 +#. Android resource: @strings/portugal msgid "Portugal" msgstr "" @@ -1171,6 +1249,7 @@ msgid "Palau" msgstr "" #. 600 +#. Android resource: @strings/paraguay msgid "Paraguay" msgstr "" @@ -1179,10 +1258,12 @@ msgid "Qatar" msgstr "" #. 638 +#. Android resource: @strings/reunion msgid "Reunion" msgstr "" #. 642 +#. Android resource: @strings/romania msgid "Romania" msgstr "" @@ -1191,14 +1272,17 @@ msgid "Serbia" msgstr "" #. 643 +#. Android resource: @strings/russian_federation msgid "Russian Federation" msgstr "" #. 646 +#. Android resource: @strings/rwanda msgid "Rwanda" msgstr "" #. 682 +#. Android resource: @strings/saudi_arabia msgid "Saudi Arabia" msgstr "" @@ -1219,6 +1303,7 @@ msgid "Sweden" msgstr "" #. 702 +#. Android resource: @strings/singapore msgid "Singapore" msgstr "" @@ -1235,6 +1320,7 @@ msgid "Svalbard and Jan Mayen" msgstr "" #. 703 +#. Android resource: @strings/slovakia msgid "Slovakia" msgstr "" @@ -1255,6 +1341,7 @@ msgid "Somalia" msgstr "" #. 740 +#. Android resource: @strings/suriname msgid "Suriname" msgstr "" @@ -1299,6 +1386,7 @@ msgid "Togo" msgstr "" #. 764 +#. Android resource: @strings/thailand msgid "Thailand" msgstr "" @@ -1315,6 +1403,7 @@ msgid "Timor-Leste" msgstr "" #. 795 +#. Android resource: @strings/turkmenistan msgid "Turkmenistan" msgstr "" @@ -1327,6 +1416,7 @@ msgid "Tonga" msgstr "" #. 792 +#. Android resource: @strings/turkey msgid "Turkey" msgstr "" @@ -1343,14 +1433,17 @@ msgid "Taiwan, Province of China" msgstr "" #. 834 +#. Android resource: @strings/tanzania msgid "Tanzania, United Republic of" msgstr "" #. 804 +#. Android resource: @strings/ukraine msgid "Ukraine" msgstr "" #. 800 +#. Android resource: @strings/uganda msgid "Uganda" msgstr "" @@ -1363,6 +1456,7 @@ msgid "United States" msgstr "" #. 858 +#. Android resource: @strings/uruguay msgid "Uruguay" msgstr "" @@ -1379,6 +1473,7 @@ msgid "Saint Vincent and the Grenadines" msgstr "" #. 862 +#. Android resource: @strings/venezuela msgid "Venezuela" msgstr "" @@ -1415,6 +1510,7 @@ msgid "Mayotte" msgstr "" #. 710 +#. Android resource: @strings/south_africa msgid "South Africa" msgstr "" @@ -1442,23 +1538,23 @@ msgid "" msgstr "" #. We have not found an existing config file from all possibilities -msgid "No config file navit.xml, navit.xml.local found\n" +msgid "No config file navit.xml, navit.xml.local found" msgstr "" #, c-format -msgid "Error parsing config file '%s': %s\n" +msgid "Error parsing config file '%s': %s" msgstr "" #, c-format -msgid "Using config file '%s'\n" +msgid "Using config file '%s'" msgstr "" #, c-format -msgid "Error: No configuration found in config file '%s'\n" +msgid "Error: No configuration found in config file '%s'" msgstr "" msgid "" -"Internal initialization failed, exiting. Check previous error messages.\n" +"Internal initialization failed, exiting. Check previous error messages." msgstr "" msgid "unknown street" @@ -1599,6 +1695,9 @@ msgstr "" msgid "_Lock on Road" msgstr "" +msgid "_Follow Vehicle" +msgstr "" + msgid "_Keep orientation to the North" msgstr "" @@ -1668,7 +1767,12 @@ msgstr "" msgid "Shopping" msgstr "" -msgid "Select a search radius from screen center" +#. Input is in kilometers +msgid "Select a search radius from screen center in km" +msgstr "" + +#. Input is in miles. +msgid "Select a search radius from screen center in miles" msgstr "" #, c-format @@ -1676,15 +1780,15 @@ msgid "POI %s. %s" msgstr "" #, c-format -msgid "Set destination to %ld, %ld \n" +msgid "Set destination to %ld, %ld " msgstr "" #, c-format -msgid "Set map to %ld, %ld \n" +msgid "Set map to %ld, %ld " msgstr "" #, c-format -msgid "Set next visit to %ld, %ld \n" +msgid "Set next visit to %ld, %ld " msgstr "" msgid "POI search" @@ -1693,9 +1797,6 @@ msgstr "" msgid "Select a category" msgstr "" -msgid "Select a distance to look for (km)" -msgstr "" - msgid "Select a POI" msgstr "" @@ -1708,7 +1809,7 @@ msgstr "" msgid "Direction" msgstr "" -msgid "Distance(m)" +msgid "Distance" msgstr "" msgid "Name" @@ -1755,7 +1856,7 @@ msgid "OT" msgstr "" #, c-format -msgid "Route %4.0fkm %02d:%02d ETA" +msgid "Route %4.1f%s %02d:%02d ETA" msgstr "" msgid "Route 0000km 0+00:00 ETA" @@ -1978,6 +2079,9 @@ msgstr "" msgid "Show Locale" msgstr "" +msgid "Network info" +msgstr "" + msgid "Former Destinations" msgstr "" @@ -2016,729 +2120,861 @@ msgstr "" msgid "Please decrease your speed" msgstr "" -msgid "partial match" +msgid "Vehicle Position" msgstr "" -#. Android resource: @strings/address_search_button -msgid "Search" +msgid "Main menu" msgstr "" -#. Android resource: @strings/address_search_towns -msgid "Towns" +msgid "" +"Show\n" +"Map" msgstr "" -msgid "Map data (c) OpenStreetMap contributors, ODBL" +msgid "Settings" msgstr "" -msgid "" -"Current map location %s is not available\n" -"Please restart Navit after you attach an SD card or select a different map " -"location." +msgid "Tools" msgstr "" -msgid "Downloaded maps" +msgid "Route" msgstr "" -msgid "" -"Sorry, we currently do not support maps above 3.8G on Android, please select " -"a smaller one." +msgid "About" msgstr "" -#. Android resource: @strings/position_popup_drive_here -msgid "Route to here" +msgid "Quit" msgstr "" -msgid "Cancel" +msgid "Actions" msgstr "" -msgid "filenamePath" +msgid "" +"Former\n" +"Destinations" msgstr "" -msgid "" -"New location set to %s\n" -"Restart Navit to apply the changes." +msgid "Coordinates" msgstr "" -msgid "Whole Planet" +msgid "" +"Stop\n" +"Navigation" msgstr "" -msgid "Africa" +msgid "Display" msgstr "" -msgid "Canary Islands" +msgid "Fullscreen" msgstr "" -msgid "Asia" +msgid "Window Mode" msgstr "" -msgid "Korea" +msgid "Auto zoom" msgstr "" -msgid "Taiwan" +msgid "Manual zoom" msgstr "" -msgid "UAE+Other" +msgid "Layers" msgstr "" -msgid "Oceania" +msgid "Zoom to route" msgstr "" -msgid "Tasmania" +msgid "Description" msgstr "" -msgid "Victoria" +msgid "" +"Drop last\n" +"Waypoint" msgstr "" -msgid "New South Wales" +msgid "" +"Drop next\n" +"Waypoint" msgstr "" -msgid "Europe" +msgid "Satellite Status" msgstr "" -msgid "Western Europe" +msgid "NMEA Data" msgstr "" -msgid "Azores" +msgid "car_shortest" msgstr "" -msgid "BeNeLux" +msgid "car_avoid_tolls" msgstr "" -msgid "Alsace" +msgid "car_pedantic" msgstr "" -msgid "Aquitaine" +msgid "horse" msgstr "" -msgid "Auvergne" +msgid "Truck" msgstr "" -msgid "Basse-Normandie" +#. Strings from android/res/values/strings.xml +#. Android resource: @strings/yes +msgid "Yes" msgstr "" -msgid "Bourgogne" +#. Android resource: @strings/cancel +msgid "Cancel" msgstr "" -msgid "Bretagne" +#. Android resource: @strings/notification_ticker +msgid "Navit started" msgstr "" -msgid "Centre" +#. Android resource: @strings/notification_event_default +msgid "Navit running" msgstr "" -msgid "Champagne-Ardenne" +#. Android resource: @strings/initial_info_box_title +msgid "Welcome to Navit" msgstr "" -msgid "Corse" +#. Android resource: @strings/initial_info_box_message +msgid "" +"Thank you for installing Navit!\n" +"\n" +"To start, select \"Download maps\" from the menu to download a map. Note: " +"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" +"\n" +"Mapdata: (c) OpenStreetMap contributors\n" +"\n" +"Enjoy Navit!" msgstr "" -msgid "Franche-Comte" +#. Android resource: @strings/initial_info_box_OK +msgid "OK" msgstr "" -msgid "Haute-Normandie" +#. Android resource: @strings/initial_info_box_more_info +msgid "More info" msgstr "" -msgid "Ile-de-France" +#. Android resource: @strings/optionsmenu_zoom_in +msgid "Zoom in" msgstr "" -msgid "Languedoc-Roussillon" +#. Android resource: @strings/optionsmenu_zoom_out +msgid "Zoom out" msgstr "" -msgid "Limousin" +#. Android resource: @strings/optionsmenu_download_maps +msgid "Download maps" msgstr "" -msgid "Lorraine" +#. Android resource: @strings/optionsmenu_toggle_poi +msgid "Toggle POIs" msgstr "" -msgid "Midi-Pyrenees" +#. Android resource: @strings/optionsmenu_exit_navit +msgid "Exit Navit" msgstr "" -msgid "Nord-pas-de-Calais" +#. Android resource: @strings/optionsmenu_backup_restore +msgid "Backup / Restore" msgstr "" -msgid "Pays-de-la-Loire" +#. Android resource: @strings/optionsmenu_set_map_location +msgid "Set map location" msgstr "" -msgid "Picardie" +#. Android resource: @strings/position_popup_drive_here +msgid "Route to here" msgstr "" -msgid "Poitou-Charentes" +#. Android resource: @strings/map_delete +msgid "Delete this map?" msgstr "" -msgid "Provence-Alpes-Cote-d-Azur" +#. Android resource: @strings/map_download_title +msgid "Map download" msgstr "" -msgid "Rhone-Alpes" +#. Android resource: @strings/map_download_downloading +msgid "Downloading:" msgstr "" -msgid "Baden-Wuerttemberg" +#. Android resource: @strings/map_download_eta +msgid "ETA" msgstr "" -msgid "Bayern" +#. Android resource: @strings/map_download_ready +msgid "ready" msgstr "" -msgid "Mittelfranken" +#. Android resource: @strings/map_download_download_error +msgid "Error downloading map." msgstr "" -msgid "Niederbayern" +#. Android resource: @strings/map_download_download_aborted +msgid "Map download aborted" msgstr "" -msgid "Oberbayern" +#. Android resource: @strings/map_download_not_enough_free_space +msgid "Not enough free space" msgstr "" -msgid "Oberfranken" +#. Android resource: @strings/map_download_oversize +msgid "" +"Sorry, we currently do not support maps above 3.8G on Android, please select " +"a smaller one." msgstr "" -msgid "Oberpfalz" +#. Android resource: @strings/map_no_fix +msgid "No location. Reopen after location fix." msgstr "" -msgid "Schwaben" +#. Android resource: @strings/maps_for_current_location +msgid "Maps containing current location" msgstr "" -msgid "Unterfranken" +#. Android resource: @strings/maps_installed +msgid "Installed maps" msgstr "" -msgid "Berlin" +#. Android resource: @strings/map_downloading +msgid "downloading" msgstr "" -msgid "Brandenburg" +#. Android resource: @strings/map_download_medium_unavailable +msgid "Media selected for map storage is not available" msgstr "" -msgid "Bremen" +#. Android resource: @strings/map_download_error_writing_map +msgid "Error writing map!" msgstr "" -msgid "Hamburg" +#. Android resource: @strings/map_location_changed +#, c-format +msgid "New location set to %s Restart Navit to apply the changes." msgstr "" -msgid "Hessen" +#. Android resource: @strings/map_location_unavailable +#, c-format +msgid "" +"Current map location %s is not available Please restart Navit after you " +"attach an SD card or select a different map location." msgstr "" -msgid "Mecklenburg-Vorpommern" +#. Android resource: @strings/address_search_title +msgid "Address search" msgstr "" -msgid "Niedersachsen" +#. Android resource: @strings/address_enter_destination +msgid "Enter destination" msgstr "" -msgid "Nordrhein-westfalen" +#. Android resource: @strings/address_partial_match +msgid "Match partial address" msgstr "" -msgid "Rheinland-Pfalz" +#. Android resource: @strings/address_search_button +msgid "Search" msgstr "" -msgid "Saarland" +#. Android resource: @strings/address_search_searching +msgid "Searching..." msgstr "" -msgid "Sachsen-Anhalt" +#. Android resource: @strings/address_search_not_found +msgid "Address not found" msgstr "" -msgid "Sachsen" +#. Android resource: @strings/address_search_getting_results +msgid "Getting search results" msgstr "" -msgid "Schleswig-Holstein" +#. Android resource: @strings/address_search_loading_results +msgid "Loading search results" msgstr "" -msgid "Thueringen" +#. Android resource: @strings/address_search_no_results +msgid "No results found" msgstr "" -msgid "Mallorca" +#. Android resource: @strings/address_search_no_text_entered +msgid "No text entered" msgstr "" -msgid "Galicia" +#. Android resource: @strings/address_search_set_destination +msgid "Setting destination to:" msgstr "" -msgid "Scandinavia" +#. Android resource: @strings/address_search_towns +msgid "Towns" msgstr "" -msgid "England" +#. Android resource: @strings/choose_an_action +msgid "Choose an action" msgstr "" -msgid "Buckinghamshire" +#. Android resource: @strings/please_insert_an_sd_card +msgid "Please insert an SD Card" msgstr "" -msgid "Cambridgeshire" +#. Android resource: @strings/backing_up +msgid "Backing up..." msgstr "" -msgid "Cumbria" +#. Android resource: @strings/restoring +msgid "Restoring..." msgstr "" -msgid "East yorkshire with hull" +#. Android resource: @strings/failed_to_create_backup_directory +msgid "Failed to create backup directory" msgstr "" -msgid "Essex" +#. Android resource: @strings/backup_failed +msgid "Backup failed" msgstr "" -msgid "Herefordshire" +#. Android resource: @strings/no_backup_found +msgid "No backup found" msgstr "" -msgid "Kent" +#. Android resource: @strings/failed_to_restore +msgid "Failed to restore" msgstr "" -msgid "Lancashire" +#. Android resource: @strings/backup_successful +msgid "Backup successful" msgstr "" -msgid "Leicestershire" +#. Android resource: @strings/restore_successful_please_restart_navit +msgid "" +"Restore Successful\n" +"Please restart Navit" msgstr "" -msgid "Norfolk" +#. Android resource: @strings/backup_not_found +msgid "Backup not found" msgstr "" -msgid "Nottinghamshire" +#. Android resource: @strings/restore_failed +msgid "Restore failed" msgstr "" -msgid "Oxfordshire" +#. Android resource: @strings/select_backup +msgid "Select backup" msgstr "" -msgid "Shropshire" +#. Android resource: @strings/backup +msgid "Backup" msgstr "" -msgid "Somerset" +#. Android resource: @strings/restore +msgid "Restore" msgstr "" -msgid "South yorkshire" +#. Android resource: @strings/TTS_title_data_missing +msgid "System text to speech engine data is missing" msgstr "" -msgid "Suffolk" +#. Android resource: @strings/TTS_qery_install_data +msgid "" +"Navit can use any text to speech engine installed on your device. The " +"currently selected engine reports it is unable to speak in your language. " +"Should we ask the system to show voice download dialog?" msgstr "" -msgid "Surrey" +#. Android resource: @strings/permissions_not_granted +msgid "" +"Navit needs permission to access GPS and read the map.\n" +"If you change your mind please restart Navit and grant the permissions" msgstr "" -msgid "Wiltshire" +#. Android resource: @strings/permissions_info_box_title +msgid "One or more ungranted permissions" msgstr "" -msgid "Scotland" +#. Android resource: @strings/whole_planet +msgid "Whole Planet" msgstr "" -msgid "Wales" +#. Android resource: @strings/africa +msgid "Africa" msgstr "" -msgid "Crete" +#. Android resource: @strings/canary_islands +msgid "Canary Islands" msgstr "" -msgid "North America" +#. Android resource: @strings/asia +msgid "Asia" msgstr "" -msgid "Alaska" +#. Android resource: @strings/taiwan +msgid "Taiwan" msgstr "" -msgid "Hawaii" +#. Android resource: @strings/korea +msgid "Korea" msgstr "" -msgid "USA" +#. Android resource: @strings/uae_other +msgid "UAE+Other" msgstr "" -msgid " (except Alaska and Hawaii)" +#. Android resource: @strings/oceania +msgid "Oceania" msgstr "" -msgid "Midwest" +#. Android resource: @strings/tasmania +msgid "Tasmania" msgstr "" -msgid "Michigan" +#. Android resource: @strings/victoria +msgid "Victoria" msgstr "" -msgid "Ohio" +#. Android resource: @strings/new_south_wales +msgid "New South Wales" msgstr "" -msgid "Northeast" +#. Android resource: @strings/europe +msgid "Europe" msgstr "" -msgid "Massachusetts" +#. Android resource: @strings/western_europe +msgid "Western Europe" msgstr "" -msgid "Vermont" +#. Android resource: @strings/azores +msgid "Azores" msgstr "" -msgid "Pacific" +#. Android resource: @strings/benelux +msgid "BeNeLux" msgstr "" -msgid "South" +#. Android resource: @strings/alsace +msgid "Alsace" msgstr "" -msgid "Arkansas" +#. Android resource: @strings/aquitaine +msgid "Aquitaine" msgstr "" -msgid "District of Columbia" +#. Android resource: @strings/auvergne +msgid "Auvergne" msgstr "" -msgid "Florida" +#. Android resource: @strings/centre +msgid "Centre" msgstr "" -msgid "Louisiana" +#. Android resource: @strings/bretagne +msgid "Bretagne" msgstr "" -msgid "Maryland" +#. Android resource: @strings/bourgogne +msgid "Bourgogne" msgstr "" -msgid "Mississippi" +#. Android resource: @strings/basse_normandie +msgid "Basse-Normandie" msgstr "" -msgid "Oklahoma" +#. Android resource: @strings/champagne_ardenne +msgid "Champagne-Ardenne" msgstr "" -msgid "Texas" +#. Android resource: @strings/corse +msgid "Corse" msgstr "" -msgid "Virginia" +#. Android resource: @strings/franche_comte +msgid "Franche-Comte" msgstr "" -msgid "West Virginia" +#. Android resource: @strings/haute_normandie +msgid "Haute-Normandie" msgstr "" -msgid "West" +#. Android resource: @strings/ile_de_france +msgid "Ile-de-France" msgstr "" -msgid "Arizona" +#. Android resource: @strings/languedoc_roussillon +msgid "Languedoc-Roussillon" msgstr "" -msgid "California" +#. Android resource: @strings/limousin +msgid "Limousin" msgstr "" -msgid "Colorado" +#. Android resource: @strings/lorraine +msgid "Lorraine" msgstr "" -msgid "Idaho" +#. Android resource: @strings/midi_pyrenees +msgid "Midi-Pyrenees" msgstr "" -msgid "Montana" +#. Android resource: @strings/nord_pas_de_calais +msgid "Nord-pas-de-Calais" msgstr "" -msgid "New Mexico" +#. Android resource: @strings/pays_de_la_loire +msgid "Pays-de-la-Loire" msgstr "" -msgid "Nevada" +#. Android resource: @strings/picardie +msgid "Picardie" msgstr "" -msgid "Oregon" +#. Android resource: @strings/poitou_charentes +msgid "Poitou-Charentes" msgstr "" -msgid "Utah" +#. Android resource: @strings/provence_alpes_cote_d_azur +msgid "Provence-Alpes-Cote-d-Azur" msgstr "" -msgid "Washington State" +#. Android resource: @strings/rhone_alpes +msgid "Rhone-Alpes" msgstr "" -msgid "South+Middle America" +#. Android resource: @strings/baden_wuerttemberg +msgid "Baden-Wuerttemberg" msgstr "" -msgid "Guyane Francaise" +#. Android resource: @strings/bayern +msgid "Bayern" msgstr "" -msgid "downloading" +#. Android resource: @strings/mittelfranken +msgid "Mittelfranken" msgstr "" -#. Android resource: @strings/map_download_ready -msgid "ready" +#. Android resource: @strings/niederbayern +msgid "Niederbayern" msgstr "" -msgid "Media selected for map storage is not available" +#. Android resource: @strings/oberbayern +msgid "Oberbayern" msgstr "" -#. Android resource: @strings/map_download_not_enough_free_space -msgid "Not enough free space" +#. Android resource: @strings/oberfranken +msgid "Oberfranken" msgstr "" -msgid "Error downloading map!" +#. Android resource: @strings/oberpfalz +msgid "Oberpfalz" msgstr "" -msgid "Error writing map!" +#. Android resource: @strings/schwaben +msgid "Schwaben" msgstr "" -msgid "Map download aborted!" +#. Android resource: @strings/unterfranken +msgid "Unterfranken" msgstr "" -#. Android resource: @strings/map_download_eta -msgid "ETA" +#. Android resource: @strings/berlin +msgid "Berlin" msgstr "" -#. Android resource: @strings/map_download_title -msgid "Map download" +#. Android resource: @strings/brandenburg +msgid "Brandenburg" msgstr "" -msgid "Vehicle Position" +#. Android resource: @strings/bremen +msgid "Bremen" msgstr "" -msgid "Main menu" +#. Android resource: @strings/hamburg +msgid "Hamburg" msgstr "" -msgid "" -"Show\n" -"Map" +#. Android resource: @strings/hessen +msgid "Hessen" msgstr "" -msgid "Settings" +#. Android resource: @strings/mecklenburg_vorpommern +msgid "Mecklenburg-Vorpommern" msgstr "" -msgid "Tools" +#. Android resource: @strings/niedersachsen +msgid "Niedersachsen" msgstr "" -msgid "Route" +#. Android resource: @strings/nordrhein_westfalen +msgid "Nordrhein-westfalen" msgstr "" -msgid "About" +#. Android resource: @strings/rheinland_pfalz +msgid "Rheinland-Pfalz" msgstr "" -msgid "Quit" +#. Android resource: @strings/saarland +msgid "Saarland" msgstr "" -msgid "Actions" +#. Android resource: @strings/sachsen_anhalt +msgid "Sachsen-Anhalt" msgstr "" -msgid "" -"Former\n" -"Destinations" +#. Android resource: @strings/sachsen +msgid "Sachsen" msgstr "" -msgid "Coordinates" +#. Android resource: @strings/schleswig_holstein +msgid "Schleswig-Holstein" msgstr "" -msgid "" -"Stop\n" -"Navigation" +#. Android resource: @strings/thueringen +msgid "Thueringen" msgstr "" -msgid "Display" +#. Android resource: @strings/mallorca +msgid "Mallorca" msgstr "" -msgid "Fullscreen" +#. Android resource: @strings/galicia +msgid "Galicia" msgstr "" -msgid "Window Mode" +#. Android resource: @strings/scandinavia +msgid "Scandinavia" msgstr "" -msgid "Layers" +#. Android resource: @strings/england +msgid "England" msgstr "" -msgid "Description" +#. Android resource: @strings/buckinghamshire +msgid "Buckinghamshire" msgstr "" -msgid "" -"Drop last \n" -"Waypoint" +#. Android resource: @strings/cambridgeshire +msgid "Cambridgeshire" msgstr "" -msgid "" -"Drop next \n" -"Waypoint" +#. Android resource: @strings/cumbria +msgid "Cumbria" msgstr "" -msgid "Satellite Status" +#. Android resource: @strings/east_yorkshire_with_hull +msgid "East yorkshire with hull" msgstr "" -msgid "NMEA Data" +#. Android resource: @strings/essex +msgid "Essex" msgstr "" -msgid "car_shortest" +#. Android resource: @strings/herefordshire +msgid "Herefordshire" msgstr "" -msgid "car_avoid_tolls" +#. Android resource: @strings/kent +msgid "Kent" msgstr "" -msgid "car_pedantic" +#. Android resource: @strings/lancashire +msgid "Lancashire" msgstr "" -msgid "horse" +#. Android resource: @strings/leicestershire +msgid "Leicestershire" msgstr "" -msgid "Truck" +#. Android resource: @strings/norfolk +msgid "Norfolk" msgstr "" -#. Strings from android/res/values/strings.xml -#. Android resource: @strings/yes -msgid "Yes" +#. Android resource: @strings/nottinghamshire +msgid "Nottinghamshire" msgstr "" -#. Android resource: @strings/notification_ticker -msgid "Navit started" +#. Android resource: @strings/oxfordshire +msgid "Oxfordshire" msgstr "" -#. Android resource: @strings/notification_event_default -msgid "Navit running" +#. Android resource: @strings/shropshire +msgid "Shropshire" msgstr "" -#. Android resource: @strings/initial_info_box_title -msgid "Welcome to Navit" +#. Android resource: @strings/somerset +msgid "Somerset" msgstr "" -#. Android resource: @strings/initial_info_box_message -msgid "" -"Thank you for installing Navit!\n" -"\n" -"To start, select \"Download maps\" from the menu to download a map. Note: " -"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" -"\n" -"Mapdata: (c) OpenStreetMap contributors\n" -"\n" -"Enjoy Navit!" +#. Android resource: @strings/south_yorkshire +msgid "South yorkshire" msgstr "" -#. Android resource: @strings/initial_info_box_OK -msgid "OK" +#. Android resource: @strings/suffolk +msgid "Suffolk" msgstr "" -#. Android resource: @strings/initial_info_box_more_info -msgid "More info" +#. Android resource: @strings/surrey +msgid "Surrey" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_in -msgid "Zoom in" +#. Android resource: @strings/wiltshire +msgid "Wiltshire" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_out -msgid "Zoom out" +#. Android resource: @strings/scotland +msgid "Scotland" msgstr "" -#. Android resource: @strings/optionsmenu_download_maps -msgid "Download maps" +#. Android resource: @strings/wales +msgid "Wales" msgstr "" -#. Android resource: @strings/optionsmenu_toggle_poi -msgid "Toggle POIs" +#. Android resource: @strings/crete +msgid "Crete" msgstr "" -#. Android resource: @strings/optionsmenu_exit_navit -msgid "Exit Navit" +#. Android resource: @strings/north_america +msgid "North America" msgstr "" -#. Android resource: @strings/optionsmenu_backup_restore -msgid "Backup / Restore" +#. Android resource: @strings/alaska +msgid "Alaska" msgstr "" -#. Android resource: @strings/optionsmenu_set_map_location -msgid "Set map location" +#. Android resource: @strings/hawaii +msgid "Hawaii" msgstr "" -#. Android resource: @strings/map_delete -msgid "Delete this map?" +#. Android resource: @strings/usa +msgid "USA" msgstr "" -#. Android resource: @strings/map_download_downloading -msgid "Downloading:" +#. Android resource: @strings/except_alaska_and_hawaii +msgid "(except Alaska and Hawaii)" msgstr "" -#. Android resource: @strings/map_download_download_error -msgid "Error downloading map." +#. Android resource: @strings/midwest +msgid "Midwest" msgstr "" -#. Android resource: @strings/map_download_download_aborted -msgid "Map download aborted" +#. Android resource: @strings/michigan +msgid "Michigan" msgstr "" -#. Android resource: @strings/map_no_fix -msgid "No location. Reopen after location fix." +#. Android resource: @strings/ohio +msgid "Ohio" msgstr "" -#. Android resource: @strings/maps_for_current_location -msgid "Maps containing current location" +#. Android resource: @strings/northeast +msgid "Northeast" msgstr "" -#. Android resource: @strings/address_search_title -msgid "Address search" +#. Android resource: @strings/massachusetts +msgid "Massachusetts" msgstr "" -#. Android resource: @strings/address_enter_destination -msgid "Enter destination" +#. Android resource: @strings/vermont +msgid "Vermont" msgstr "" -#. Android resource: @strings/address_partial_match -msgid "Match partial address" +#. Android resource: @strings/pacific +msgid "Pacific" msgstr "" -#. Android resource: @strings/address_search_searching -msgid "Searching..." +#. Android resource: @strings/south +msgid "South" msgstr "" -#. Android resource: @strings/address_search_not_found -msgid "Address not found" +#. Android resource: @strings/arkansas +msgid "Arkansas" msgstr "" -#. Android resource: @strings/address_search_getting_results -msgid "Getting search results" +#. Android resource: @strings/district_of_columbia +msgid "District of Columbia" msgstr "" -#. Android resource: @strings/address_search_loading_results -msgid "Loading search results" +#. Android resource: @strings/florida +msgid "Florida" msgstr "" -#. Android resource: @strings/address_search_no_results -msgid "No results found" +#. Android resource: @strings/louisiana +msgid "Louisiana" msgstr "" -#. Android resource: @strings/address_search_no_text_entered -msgid "No text entered" +#. Android resource: @strings/maryland +msgid "Maryland" msgstr "" -#. Android resource: @strings/address_search_set_destination -msgid "Setting destination to:" +#. Android resource: @strings/mississippi +msgid "Mississippi" msgstr "" -#. Android resource: @strings/choose_an_action -msgid "Choose an action" +#. Android resource: @strings/oklahoma +msgid "Oklahoma" msgstr "" -#. Android resource: @strings/please_insert_an_sd_card -msgid "Please insert an SD Card" +#. Android resource: @strings/texas +msgid "Texas" msgstr "" -#. Android resource: @strings/backing_up -msgid "Backing up..." +#. Android resource: @strings/virginia +msgid "Virginia" msgstr "" -#. Android resource: @strings/restoring -msgid "Restoring..." +#. Android resource: @strings/west_virginia +msgid "West Virginia" msgstr "" -#. Android resource: @strings/failed_to_create_backup_directory -msgid "Failed to create backup directory" +#. Android resource: @strings/west +msgid "West" msgstr "" -#. Android resource: @strings/backup_failed -msgid "Backup failed" +#. Android resource: @strings/arizona +msgid "Arizona" msgstr "" -#. Android resource: @strings/no_backup_found -msgid "No backup found" +#. Android resource: @strings/california +msgid "California" msgstr "" -#. Android resource: @strings/failed_to_restore -msgid "Failed to restore" +#. Android resource: @strings/colorado +msgid "Colorado" msgstr "" -#. Android resource: @strings/backup_successful -msgid "Backup successful" +#. Android resource: @strings/idaho +msgid "Idaho" msgstr "" -#. Android resource: @strings/restore_successful_please_restart_navit -msgid "" -"Restore Successful\n" -"Please restart Navit" +#. Android resource: @strings/montana +msgid "Montana" msgstr "" -#. Android resource: @strings/backup_not_found -msgid "Backup not found" +#. Android resource: @strings/new_mexico +msgid "New Mexico" msgstr "" -#. Android resource: @strings/restore_failed -msgid "Restore failed" +#. Android resource: @strings/nevada +msgid "Nevada" msgstr "" -#. Android resource: @strings/select_backup -msgid "Select backup" +#. Android resource: @strings/oregon +msgid "Oregon" msgstr "" -#. Android resource: @strings/backup -msgid "Backup" +#. Android resource: @strings/utah +msgid "Utah" msgstr "" -#. Android resource: @strings/restore -msgid "Restore" +#. Android resource: @strings/washington_state +msgid "Washington State" msgstr "" -#. Android resource: @strings/TTS_title_data_missing -msgid "System text to speech engine data is missing" +#. Android resource: @strings/south_middle_america +msgid "South+Middle America" msgstr "" -#. Android resource: @strings/TTS_qery_install_data -msgid "" -"Navit can use any text to speech engine installed on your device. The " -"currently selected engine reports it is unable to speak in your language. " -"Should we ask the system to show voice download dialog?" +#. Android resource: @strings/guyane_francaise +msgid "Guyane Francaise" msgstr "" diff --git a/po/da.po.in b/po/da.po.in index e3c1d3c5b..48813e515 100644 --- a/po/da.po.in +++ b/po/da.po.in @@ -1,5 +1,5 @@ -# Danish translation for Navit translations for navit -# Copyright (C) 2006-2016 The Navit Team +# Danish translations for avit +# Copyright (C) 2006-2019 The Navit Team # This file is distributed under the same license as the navit package. # Many thanks to the contributors of this translation: # Esben Aaberg https://launchpad.net/~esben-aaberg @@ -16,7 +16,7 @@ msgid "" msgstr "" -"Project-Id-Version: navit 0.5.0\n" +"Project-Id-Version: navit 0.5.1\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2016-01-29 16:53+0000\n" "Last-Translator: Esben Aaberg <esben_aaberg@yahoo.com>\n" @@ -160,7 +160,6 @@ msgstr "" msgid "%1$sonto %2$s|neuter form" msgstr "" -#. TRANSLATORS: motorway ramp refers to the slip road for entering a motorway. msgid "onto the motorway ramp" msgstr "op på rampen" @@ -373,7 +372,6 @@ msgstr "og så ankommer du til din destination" msgid "You have reached your destination %s" msgstr "Du er fremme ved destinationen %s" -#. TRANSLATORS: Exit as a noun, as in "Exit 43 Greenmound-East" msgid "Interchange" msgstr "Motorvejskryds" @@ -390,9 +388,15 @@ msgstr "Kommando" msgid "Length" msgstr "Længde" +msgid "mi" +msgstr "" + msgid "km" msgstr "km" +msgid "feet" +msgstr "" + msgid "m" msgstr "m" @@ -453,6 +457,7 @@ msgid "Anguilla" msgstr "Anguilla" #. 008 +#. Android resource: @strings/albania msgid "Albania" msgstr "Albanien" @@ -465,6 +470,7 @@ msgid "Netherlands Antilles" msgstr "Nederlandske Antiller" #. 024 +#. Android resource: @strings/angola msgid "Angola" msgstr "Angola" @@ -473,6 +479,7 @@ msgid "Antarctica" msgstr "Antarktis" #. 032 +#. Android resource: @strings/argentina msgid "Argentina" msgstr "Argentina" @@ -481,10 +488,12 @@ msgid "American Samoa" msgstr "Amerikansk Samoa" #. 040 +#. Android resource: @strings/austria msgid "Austria" msgstr "Østrig" #. 036 +#. Android resource: @strings/australia msgid "Australia" msgstr "Australien" @@ -497,10 +506,12 @@ msgid "Aland Islands" msgstr "Ålands Øerne" #. 031 +#. Android resource: @strings/azerbaijan msgid "Azerbaijan" msgstr "Aserbajdsjan" #. 070 +#. Android resource: @strings/bosnia_and_herzegovina msgid "Bosnia and Herzegovina" msgstr "Bosnien-Hercegovina" @@ -513,6 +524,7 @@ msgid "Bangladesh" msgstr "Bangladesh" #. 056 +#. Android resource: @strings/belgium msgid "Belgium" msgstr "Belgien" @@ -521,6 +533,7 @@ msgid "Burkina Faso" msgstr "Burkina Faso" #. 100 +#. Android resource: @strings/bulgaria msgid "Bulgaria" msgstr "Bulgarien" @@ -529,6 +542,7 @@ msgid "Bahrain" msgstr "Bahrain" #. 108 +#. Android resource: @strings/burundi msgid "Burundi" msgstr "Burundi" @@ -549,6 +563,7 @@ msgid "Brunei Darussalam" msgstr "Brunei Darussalam" #. 068 +#. Android resource: @strings/bolivia msgid "Bolivia" msgstr "Bolivia" @@ -557,6 +572,7 @@ msgid "Bonaire, Sint Eustatius and Saba" msgstr "" #. 076 +#. Android resource: @strings/brazil msgid "Brazil" msgstr "Brasilien" @@ -573,10 +589,12 @@ msgid "Bouvet Island" msgstr "Bouvetøen" #. 072 +#. Android resource: @strings/botswana msgid "Botswana" msgstr "Botswana" #. 112 +#. Android resource: @strings/belarus msgid "Belarus" msgstr "Hviderusland" @@ -585,6 +603,7 @@ msgid "Belize" msgstr "Belize" #. 124 +#. Android resource: @strings/canada msgid "Canada" msgstr "Canada" @@ -593,6 +612,7 @@ msgid "Cocos (Keeling) Islands" msgstr "Cocosøerne (Keelingøerne)" #. 180 +#. Android resource: @strings/congo msgid "Congo, Democratic Republic of the" msgstr "Congo, Den Demokratiske Republik" @@ -605,10 +625,12 @@ msgid "Congo" msgstr "Congo" #. 756 +#. Android resource: @strings/switzerland msgid "Switzerland" msgstr "Schweiz" #. 384 +#. Android resource: @strings/cotedivoire msgid "Cote d'Ivoire" msgstr "Elfenbenskysten" @@ -617,6 +639,7 @@ msgid "Cook Islands" msgstr "Cook-øerne" #. 152 +#. Android resource: @strings/chile msgid "Chile" msgstr "Chile" @@ -625,10 +648,12 @@ msgid "Cameroon" msgstr "Cameroun" #. 156 +#. Android resource: @strings/china msgid "China" msgstr "Kina" #. 170 +#. Android resource: @strings/colombia msgid "Colombia" msgstr "Columbia" @@ -637,6 +662,7 @@ msgid "Costa Rica" msgstr "Costa Rica" #. 192 +#. Android resource: @strings/cuba msgid "Cuba" msgstr "Cuba" @@ -653,14 +679,17 @@ msgid "Christmas Island" msgstr "Christmas Island (Indiske Ocean)" #. 196 +#. Android resource: @strings/cyprus msgid "Cyprus" msgstr "Cypern" #. 203 +#. Android resource: @strings/czech_republic msgid "Czech Republic" msgstr "Tjekkiet" #. 276 +#. Android resource: @strings/germany msgid "Germany" msgstr "Tyskland" @@ -669,6 +698,7 @@ msgid "Djibouti" msgstr "Djibouti" #. 208 +#. Android resource: @strings/denmark msgid "Denmark" msgstr "Danmark" @@ -677,6 +707,7 @@ msgid "Dominica" msgstr "Dominica" #. 214 +#. Android resource: @strings/dominican_republic msgid "Dominican Republic" msgstr "Dominikanske Republik" @@ -685,10 +716,12 @@ msgid "Algeria" msgstr "Algeriet" #. 218 +#. Android resource: @strings/ecuador msgid "Ecuador" msgstr "Ecuador" #. 233 +#. Android resource: @strings/estonia msgid "Estonia" msgstr "Estland" @@ -705,14 +738,17 @@ msgid "Eritrea" msgstr "Eritrea" #. 724 +#. Android resource: @strings/spain msgid "Spain" msgstr "Spanien" #. 231 +#. Android resource: @strings/ethiopia msgid "Ethiopia" msgstr "Etiopien" #. 246 +#. Android resource: @strings/finland msgid "Finland" msgstr "Finland" @@ -729,10 +765,12 @@ msgid "Micronesia, Federated States of" msgstr "Mikronesien, de forenede stater af" #. 234 +#. Android resource: @strings/faroe_islands msgid "Faroe Islands" msgstr "Færøerne" #. 250 +#. Android resource: @strings/france msgid "France" msgstr "Frankrig" @@ -741,6 +779,7 @@ msgid "Gabon" msgstr "Gabon" #. 826 +#. Android resource: @strings/united_kingdom msgid "United Kingdom" msgstr "Storbritannien" @@ -777,6 +816,7 @@ msgid "Gambia" msgstr "Gambia" #. 324 +#. Android resource: @strings/guinea msgid "Guinea" msgstr "Guinea" @@ -789,6 +829,7 @@ msgid "Equatorial Guinea" msgstr "Ækvatorialguinea" #. 300 +#. Android resource: @strings/greece msgid "Greece" msgstr "Grækenland" @@ -809,6 +850,7 @@ msgid "Guinea-Bissau" msgstr "Guinea-Bissau" #. 328 +#. Android resource: @strings/guyana msgid "Guyana" msgstr "Guyana" @@ -825,26 +867,32 @@ msgid "Honduras" msgstr "Honduras" #. 191 +#. Android resource: @strings/croatia msgid "Croatia" msgstr "Kroatien" #. 332 +#. Android resource: @strings/haiti msgid "Haiti" msgstr "Haiti" #. 348 +#. Android resource: @strings/hungary msgid "Hungary" msgstr "Ungarn" #. 360 +#. Android resource: @strings/indonesia msgid "Indonesia" msgstr "Indonesien" #. 372 +#. Android resource: @strings/ireland msgid "Ireland" msgstr "Irland" #. 376 +#. Android resource: @strings/israel msgid "Israel" msgstr "Israel" @@ -853,6 +901,7 @@ msgid "Isle of Man" msgstr "Isle of Man" #. 356 +#. Android resource: @strings/india msgid "India" msgstr "Indien" @@ -861,18 +910,22 @@ msgid "British Indian Ocean Territory" msgstr "Det britiske territorium i Indiske Ocean" #. 368 +#. Android resource: @strings/iraq msgid "Iraq" msgstr "Irak" #. 364 +#. Android resource: @strings/iran msgid "Iran, Islamic Republic of" msgstr "Iran, Den Islamiske Republik" #. 352 +#. Android resource: @strings/iceland msgid "Iceland" msgstr "Island" #. 380 +#. Android resource: @strings/italy msgid "Italy" msgstr "Italien" @@ -881,6 +934,7 @@ msgid "Jersey" msgstr "Jersey" #. 388 +#. Android resource: @strings/jamaica msgid "Jamaica" msgstr "Jamaica" @@ -889,14 +943,17 @@ msgid "Jordan" msgstr "Jordan" #. 392 +#. Android resource: @strings/japan msgid "Japan" msgstr "Japan" #. 404 +#. Android resource: @strings/kenya msgid "Kenya" msgstr "Kenya" #. 417 +#. Android resource: @strings/kyrgyzsyan msgid "Kyrgyzstan" msgstr "Kirgisistan" @@ -933,6 +990,7 @@ msgid "Cayman Islands" msgstr "Cayman-øerne" #. 398 +#. Android resource: @strings/kazakhstan msgid "Kazakhstan" msgstr "Kasakhstan" @@ -957,26 +1015,32 @@ msgid "Sri Lanka" msgstr "Sri Lanka" #. 430 +#. Android resource: @strings/liberia msgid "Liberia" msgstr "Liberia" #. 426 +#. Android resource: @strings/lesotho msgid "Lesotho" msgstr "Lesotho" #. 440 +#. Android resource: @strings/lithuania msgid "Lithuania" msgstr "Litauen" #. 442 +#. Android resource: @strings/luxembourg msgid "Luxembourg" msgstr "Luxembourg" #. 428 +#. Android resource: @strings/latvia msgid "Latvia" msgstr "Letland" #. 434 +#. Android resource: @strings/libya msgid "Libya" msgstr "Libyen" @@ -1001,6 +1065,7 @@ msgid "Saint Martin (French part)" msgstr "Sankt Marin (Fransk del)" #. 450 +#. Android resource: @strings/madagascar msgid "Madagascar" msgstr "Madagaskar" @@ -1021,6 +1086,7 @@ msgid "Myanmar" msgstr "Myanmar (Burma)" #. 496 +#. Android resource: @strings/mongolia msgid "Mongolia" msgstr "Mongoliet" @@ -1061,10 +1127,12 @@ msgid "Malawi" msgstr "Malawi" #. 484 +#. Android resource: @strings/mexico msgid "Mexico" msgstr "Mexico" #. 458 +#. Android resource: @strings/malaysia msgid "Malaysia" msgstr "Malaysia" @@ -1073,10 +1141,12 @@ msgid "Mozambique" msgstr "Mozambique" #. 516 +#. Android resource: @strings/namibia msgid "Namibia" msgstr "Namibia" #. 540 +#. Android resource: @strings/new_caledonia msgid "New Caledonia" msgstr "Ny Kaledonien" @@ -1097,6 +1167,7 @@ msgid "Nicaragua" msgstr "Nicaragua" #. 528 +#. Android resource: @strings/netherlands msgid "Netherlands" msgstr "Holland" @@ -1105,6 +1176,7 @@ msgid "Norway" msgstr "Norge" #. 524 +#. Android resource: @strings/nepal msgid "Nepal" msgstr "Nepal" @@ -1117,6 +1189,7 @@ msgid "Niue" msgstr "Niue" #. 554 +#. Android resource: @strings/newzealand msgid "New Zealand" msgstr "New Zealand" @@ -1129,6 +1202,7 @@ msgid "Panama" msgstr "Panama" #. 604 +#. Android resource: @strings/peru msgid "Peru" msgstr "Peru" @@ -1141,14 +1215,17 @@ msgid "Papua New Guinea" msgstr "Papua New Guinea" #. 608 +#. Android resource: @strings/philippines msgid "Philippines" msgstr "Filippinerne" #. 586 +#. Android resource: @strings/pakistan msgid "Pakistan" msgstr "Pakistan" #. 616 +#. Android resource: @strings/poland msgid "Poland" msgstr "Polen" @@ -1169,6 +1246,7 @@ msgid "Palestinian Territory, Occupied" msgstr "Palæstinensiske Territorie, Det Besatte" #. 620 +#. Android resource: @strings/portugal msgid "Portugal" msgstr "Portugal" @@ -1177,6 +1255,7 @@ msgid "Palau" msgstr "Palau" #. 600 +#. Android resource: @strings/paraguay msgid "Paraguay" msgstr "Paraguay" @@ -1185,10 +1264,12 @@ msgid "Qatar" msgstr "Qatar" #. 638 +#. Android resource: @strings/reunion msgid "Reunion" msgstr "Reunion" #. 642 +#. Android resource: @strings/romania msgid "Romania" msgstr "Romænien" @@ -1197,14 +1278,17 @@ msgid "Serbia" msgstr "Serbien" #. 643 +#. Android resource: @strings/russian_federation msgid "Russian Federation" msgstr "Rusland" #. 646 +#. Android resource: @strings/rwanda msgid "Rwanda" msgstr "Rwanda" #. 682 +#. Android resource: @strings/saudi_arabia msgid "Saudi Arabia" msgstr "Saudi-Arabien" @@ -1225,6 +1309,7 @@ msgid "Sweden" msgstr "Sverige" #. 702 +#. Android resource: @strings/singapore msgid "Singapore" msgstr "Singapore" @@ -1241,6 +1326,7 @@ msgid "Svalbard and Jan Mayen" msgstr "Svalbard og Jan Mayen" #. 703 +#. Android resource: @strings/slovakia msgid "Slovakia" msgstr "Slovakiet" @@ -1261,6 +1347,7 @@ msgid "Somalia" msgstr "Somalia" #. 740 +#. Android resource: @strings/suriname msgid "Suriname" msgstr "Surinam" @@ -1305,6 +1392,7 @@ msgid "Togo" msgstr "Togo" #. 764 +#. Android resource: @strings/thailand msgid "Thailand" msgstr "Thailand" @@ -1321,6 +1409,7 @@ msgid "Timor-Leste" msgstr "Timor-Leste" #. 795 +#. Android resource: @strings/turkmenistan msgid "Turkmenistan" msgstr "Turkmenistan" @@ -1333,6 +1422,7 @@ msgid "Tonga" msgstr "Tonga" #. 792 +#. Android resource: @strings/turkey msgid "Turkey" msgstr "Tyrkiet" @@ -1349,14 +1439,17 @@ msgid "Taiwan, Province of China" msgstr "Taiwan, Den Kinesiske Provins" #. 834 +#. Android resource: @strings/tanzania msgid "Tanzania, United Republic of" msgstr "Tanzania, Den Forenede Republik" #. 804 +#. Android resource: @strings/ukraine msgid "Ukraine" msgstr "Ukraine" #. 800 +#. Android resource: @strings/uganda msgid "Uganda" msgstr "Uganda" @@ -1369,6 +1462,7 @@ msgid "United States" msgstr "USA" #. 858 +#. Android resource: @strings/uruguay msgid "Uruguay" msgstr "Uruguay" @@ -1385,6 +1479,7 @@ msgid "Saint Vincent and the Grenadines" msgstr "Sankt Vincent og Grenadinerne" #. 862 +#. Android resource: @strings/venezuela msgid "Venezuela" msgstr "Venezuela" @@ -1421,6 +1516,7 @@ msgid "Mayotte" msgstr "Mayotte" #. 710 +#. Android resource: @strings/south_africa msgid "South Africa" msgstr "Sydafrika" @@ -1448,23 +1544,23 @@ msgid "" msgstr "" #. We have not found an existing config file from all possibilities -msgid "No config file navit.xml, navit.xml.local found\n" +msgid "No config file navit.xml, navit.xml.local found" msgstr "" #, c-format -msgid "Error parsing config file '%s': %s\n" +msgid "Error parsing config file '%s': %s" msgstr "" #, c-format -msgid "Using config file '%s'\n" +msgid "Using config file '%s'" msgstr "" #, c-format -msgid "Error: No configuration found in config file '%s'\n" +msgid "Error: No configuration found in config file '%s'" msgstr "" msgid "" -"Internal initialization failed, exiting. Check previous error messages.\n" +"Internal initialization failed, exiting. Check previous error messages." msgstr "" msgid "unknown street" @@ -1605,6 +1701,9 @@ msgstr "" msgid "_Lock on Road" msgstr "Stop Navigation" +msgid "_Follow Vehicle" +msgstr "" + msgid "_Keep orientation to the North" msgstr "" @@ -1674,7 +1773,12 @@ msgstr "" msgid "Shopping" msgstr "" -msgid "Select a search radius from screen center" +#. Input is in kilometers +msgid "Select a search radius from screen center in km" +msgstr "" + +#. Input is in miles. +msgid "Select a search radius from screen center in miles" msgstr "" #, c-format @@ -1682,15 +1786,15 @@ msgid "POI %s. %s" msgstr "" #, c-format -msgid "Set destination to %ld, %ld \n" +msgid "Set destination to %ld, %ld " msgstr "" #, c-format -msgid "Set map to %ld, %ld \n" +msgid "Set map to %ld, %ld " msgstr "" #, c-format -msgid "Set next visit to %ld, %ld \n" +msgid "Set next visit to %ld, %ld " msgstr "" msgid "POI search" @@ -1699,9 +1803,6 @@ msgstr "" msgid "Select a category" msgstr "Vælg en kategori" -msgid "Select a distance to look for (km)" -msgstr "" - msgid "Select a POI" msgstr "" @@ -1714,7 +1815,7 @@ msgstr "Kategori" msgid "Direction" msgstr "" -msgid "Distance(m)" +msgid "Distance" msgstr "" msgid "Name" @@ -1761,8 +1862,8 @@ msgid "OT" msgstr "OT" #, c-format -msgid "Route %4.0fkm %02d:%02d ETA" -msgstr "Rute %4.0fkm %02d:%02d ETA" +msgid "Route %4.1f%s %02d:%02d ETA" +msgstr "" msgid "Route 0000km 0+00:00 ETA" msgstr "Rute 0000km 0+00:00 ETA" @@ -1984,6 +2085,9 @@ msgstr "Route Beskrivelse" msgid "Show Locale" msgstr "Vis Lokale" +msgid "Network info" +msgstr "" + msgid "Former Destinations" msgstr "Tidligere destinationer" @@ -2022,738 +2126,874 @@ msgstr "" msgid "Please decrease your speed" msgstr "" -msgid "partial match" -msgstr "" +msgid "Vehicle Position" +msgstr "Køretøjsposition" -#. Android resource: @strings/address_search_button -msgid "Search" -msgstr "" +msgid "Main menu" +msgstr "Hovedmenu" -#. Android resource: @strings/address_search_towns -msgid "Towns" +msgid "" +"Show\n" +"Map" msgstr "" +"Vis\n" +"Kort" -msgid "Map data (c) OpenStreetMap contributors, ODBL" -msgstr "" +msgid "Settings" +msgstr "Indstillinger" + +msgid "Tools" +msgstr "Værktøj" + +msgid "Route" +msgstr "Rute" + +msgid "About" +msgstr "Om" + +msgid "Quit" +msgstr "Luk" + +msgid "Actions" +msgstr "Funktioner" msgid "" -"Current map location %s is not available\n" -"Please restart Navit after you attach an SD card or select a different map " -"location." +"Former\n" +"Destinations" msgstr "" -msgid "Downloaded maps" +msgid "Coordinates" msgstr "" msgid "" -"Sorry, we currently do not support maps above 3.8G on Android, please select " -"a smaller one." +"Stop\n" +"Navigation" msgstr "" +"Stop\n" +"Navigation" -#. Android resource: @strings/position_popup_drive_here -msgid "Route to here" -msgstr "" +msgid "Display" +msgstr "Vis" -msgid "Cancel" -msgstr "" +msgid "Fullscreen" +msgstr "Fuldskærm" -msgid "filenamePath" -msgstr "" +msgid "Window Mode" +msgstr "Vinduestilstand" -msgid "" -"New location set to %s\n" -"Restart Navit to apply the changes." +msgid "Auto zoom" msgstr "" -msgid "Whole Planet" +msgid "Manual zoom" msgstr "" -msgid "Africa" +msgid "Layers" msgstr "" -msgid "Canary Islands" +msgid "Zoom to route" msgstr "" -msgid "Asia" -msgstr "" +msgid "Description" +msgstr "Beskrivelse" -msgid "Korea" +msgid "" +"Drop last\n" +"Waypoint" msgstr "" -msgid "Taiwan" +msgid "" +"Drop next\n" +"Waypoint" msgstr "" -msgid "UAE+Other" +msgid "Satellite Status" msgstr "" -msgid "Oceania" +msgid "NMEA Data" msgstr "" -msgid "Tasmania" +msgid "car_shortest" msgstr "" -msgid "Victoria" +msgid "car_avoid_tolls" msgstr "" -msgid "New South Wales" +msgid "car_pedantic" msgstr "" -msgid "Europe" -msgstr "" +msgid "horse" +msgstr "hest" -msgid "Western Europe" -msgstr "" +msgid "Truck" +msgstr "Lastbil" -msgid "Azores" +#. Strings from android/res/values/strings.xml +#. Android resource: @strings/yes +msgid "Yes" msgstr "" -msgid "BeNeLux" +#. Android resource: @strings/cancel +msgid "Cancel" msgstr "" -msgid "Alsace" +#. Android resource: @strings/notification_ticker +msgid "Navit started" msgstr "" -msgid "Aquitaine" +#. Android resource: @strings/notification_event_default +msgid "Navit running" msgstr "" -msgid "Auvergne" +#. Android resource: @strings/initial_info_box_title +msgid "Welcome to Navit" msgstr "" -msgid "Basse-Normandie" +#. Android resource: @strings/initial_info_box_message +msgid "" +"Thank you for installing Navit!\n" +"\n" +"To start, select \"Download maps\" from the menu to download a map. Note: " +"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" +"\n" +"Mapdata: (c) OpenStreetMap contributors\n" +"\n" +"Enjoy Navit!" msgstr "" -msgid "Bourgogne" +#. Android resource: @strings/initial_info_box_OK +msgid "OK" msgstr "" -msgid "Bretagne" +#. Android resource: @strings/initial_info_box_more_info +msgid "More info" msgstr "" -msgid "Centre" +#. Android resource: @strings/optionsmenu_zoom_in +msgid "Zoom in" msgstr "" -msgid "Champagne-Ardenne" +#. Android resource: @strings/optionsmenu_zoom_out +msgid "Zoom out" msgstr "" -msgid "Corse" +#. Android resource: @strings/optionsmenu_download_maps +msgid "Download maps" msgstr "" -msgid "Franche-Comte" +#. Android resource: @strings/optionsmenu_toggle_poi +msgid "Toggle POIs" msgstr "" -msgid "Haute-Normandie" +#. Android resource: @strings/optionsmenu_exit_navit +msgid "Exit Navit" msgstr "" -msgid "Ile-de-France" +#. Android resource: @strings/optionsmenu_backup_restore +msgid "Backup / Restore" msgstr "" -msgid "Languedoc-Roussillon" +#. Android resource: @strings/optionsmenu_set_map_location +msgid "Set map location" msgstr "" -msgid "Limousin" +#. Android resource: @strings/position_popup_drive_here +msgid "Route to here" msgstr "" -msgid "Lorraine" +#. Android resource: @strings/map_delete +msgid "Delete this map?" msgstr "" -msgid "Midi-Pyrenees" +#. Android resource: @strings/map_download_title +msgid "Map download" msgstr "" -msgid "Nord-pas-de-Calais" +#. Android resource: @strings/map_download_downloading +msgid "Downloading:" msgstr "" -msgid "Pays-de-la-Loire" +#. Android resource: @strings/map_download_eta +msgid "ETA" msgstr "" -msgid "Picardie" +#. Android resource: @strings/map_download_ready +msgid "ready" msgstr "" -msgid "Poitou-Charentes" +#. Android resource: @strings/map_download_download_error +msgid "Error downloading map." msgstr "" -msgid "Provence-Alpes-Cote-d-Azur" +#. Android resource: @strings/map_download_download_aborted +msgid "Map download aborted" msgstr "" -msgid "Rhone-Alpes" +#. Android resource: @strings/map_download_not_enough_free_space +msgid "Not enough free space" msgstr "" -msgid "Baden-Wuerttemberg" +#. Android resource: @strings/map_download_oversize +msgid "" +"Sorry, we currently do not support maps above 3.8G on Android, please select " +"a smaller one." msgstr "" -msgid "Bayern" +#. Android resource: @strings/map_no_fix +msgid "No location. Reopen after location fix." msgstr "" -msgid "Mittelfranken" +#. Android resource: @strings/maps_for_current_location +msgid "Maps containing current location" msgstr "" -msgid "Niederbayern" +#. Android resource: @strings/maps_installed +msgid "Installed maps" msgstr "" -msgid "Oberbayern" +#. Android resource: @strings/map_downloading +msgid "downloading" msgstr "" -msgid "Oberfranken" +#. Android resource: @strings/map_download_medium_unavailable +msgid "Media selected for map storage is not available" msgstr "" -msgid "Oberpfalz" +#. Android resource: @strings/map_download_error_writing_map +msgid "Error writing map!" msgstr "" -msgid "Schwaben" +#. Android resource: @strings/map_location_changed +#, c-format +msgid "New location set to %s Restart Navit to apply the changes." msgstr "" -msgid "Unterfranken" +#. Android resource: @strings/map_location_unavailable +#, c-format +msgid "" +"Current map location %s is not available Please restart Navit after you " +"attach an SD card or select a different map location." msgstr "" -msgid "Berlin" +#. Android resource: @strings/address_search_title +msgid "Address search" msgstr "" -msgid "Brandenburg" +#. Android resource: @strings/address_enter_destination +msgid "Enter destination" msgstr "" -msgid "Bremen" +#. Android resource: @strings/address_partial_match +msgid "Match partial address" msgstr "" -msgid "Hamburg" +#. Android resource: @strings/address_search_button +msgid "Search" msgstr "" -msgid "Hessen" +#. Android resource: @strings/address_search_searching +msgid "Searching..." msgstr "" -msgid "Mecklenburg-Vorpommern" +#. Android resource: @strings/address_search_not_found +msgid "Address not found" msgstr "" -msgid "Niedersachsen" +#. Android resource: @strings/address_search_getting_results +msgid "Getting search results" msgstr "" -msgid "Nordrhein-westfalen" +#. Android resource: @strings/address_search_loading_results +msgid "Loading search results" msgstr "" -msgid "Rheinland-Pfalz" +#. Android resource: @strings/address_search_no_results +msgid "No results found" msgstr "" -msgid "Saarland" +#. Android resource: @strings/address_search_no_text_entered +msgid "No text entered" msgstr "" -msgid "Sachsen-Anhalt" +#. Android resource: @strings/address_search_set_destination +msgid "Setting destination to:" msgstr "" -msgid "Sachsen" +#. Android resource: @strings/address_search_towns +msgid "Towns" msgstr "" -msgid "Schleswig-Holstein" +#. Android resource: @strings/choose_an_action +msgid "Choose an action" msgstr "" -msgid "Thueringen" +#. Android resource: @strings/please_insert_an_sd_card +msgid "Please insert an SD Card" msgstr "" -msgid "Mallorca" +#. Android resource: @strings/backing_up +msgid "Backing up..." msgstr "" -msgid "Galicia" +#. Android resource: @strings/restoring +msgid "Restoring..." msgstr "" -msgid "Scandinavia" +#. Android resource: @strings/failed_to_create_backup_directory +msgid "Failed to create backup directory" msgstr "" -msgid "England" +#. Android resource: @strings/backup_failed +msgid "Backup failed" msgstr "" -msgid "Buckinghamshire" +#. Android resource: @strings/no_backup_found +msgid "No backup found" msgstr "" -msgid "Cambridgeshire" +#. Android resource: @strings/failed_to_restore +msgid "Failed to restore" msgstr "" -msgid "Cumbria" +#. Android resource: @strings/backup_successful +msgid "Backup successful" msgstr "" -msgid "East yorkshire with hull" +#. Android resource: @strings/restore_successful_please_restart_navit +msgid "" +"Restore Successful\n" +"Please restart Navit" msgstr "" -msgid "Essex" +#. Android resource: @strings/backup_not_found +msgid "Backup not found" msgstr "" -msgid "Herefordshire" +#. Android resource: @strings/restore_failed +msgid "Restore failed" msgstr "" -msgid "Kent" +#. Android resource: @strings/select_backup +msgid "Select backup" msgstr "" -msgid "Lancashire" +#. Android resource: @strings/backup +msgid "Backup" msgstr "" -msgid "Leicestershire" +#. Android resource: @strings/restore +msgid "Restore" msgstr "" -msgid "Norfolk" +#. Android resource: @strings/TTS_title_data_missing +msgid "System text to speech engine data is missing" msgstr "" -msgid "Nottinghamshire" +#. Android resource: @strings/TTS_qery_install_data +msgid "" +"Navit can use any text to speech engine installed on your device. The " +"currently selected engine reports it is unable to speak in your language. " +"Should we ask the system to show voice download dialog?" msgstr "" -msgid "Oxfordshire" +#. Android resource: @strings/permissions_not_granted +msgid "" +"Navit needs permission to access GPS and read the map.\n" +"If you change your mind please restart Navit and grant the permissions" msgstr "" -msgid "Shropshire" +#. Android resource: @strings/permissions_info_box_title +msgid "One or more ungranted permissions" msgstr "" -msgid "Somerset" +#. Android resource: @strings/whole_planet +msgid "Whole Planet" msgstr "" -msgid "South yorkshire" +#. Android resource: @strings/africa +msgid "Africa" msgstr "" -msgid "Suffolk" +#. Android resource: @strings/canary_islands +msgid "Canary Islands" msgstr "" -msgid "Surrey" +#. Android resource: @strings/asia +msgid "Asia" msgstr "" -msgid "Wiltshire" +#. Android resource: @strings/taiwan +msgid "Taiwan" msgstr "" -msgid "Scotland" +#. Android resource: @strings/korea +msgid "Korea" msgstr "" -msgid "Wales" +#. Android resource: @strings/uae_other +msgid "UAE+Other" msgstr "" -msgid "Crete" +#. Android resource: @strings/oceania +msgid "Oceania" msgstr "" -msgid "North America" +#. Android resource: @strings/tasmania +msgid "Tasmania" msgstr "" -msgid "Alaska" +#. Android resource: @strings/victoria +msgid "Victoria" msgstr "" -msgid "Hawaii" +#. Android resource: @strings/new_south_wales +msgid "New South Wales" msgstr "" -msgid "USA" +#. Android resource: @strings/europe +msgid "Europe" msgstr "" -msgid " (except Alaska and Hawaii)" +#. Android resource: @strings/western_europe +msgid "Western Europe" msgstr "" -msgid "Midwest" +#. Android resource: @strings/azores +msgid "Azores" msgstr "" -msgid "Michigan" +#. Android resource: @strings/benelux +msgid "BeNeLux" msgstr "" -msgid "Ohio" +#. Android resource: @strings/alsace +msgid "Alsace" msgstr "" -msgid "Northeast" +#. Android resource: @strings/aquitaine +msgid "Aquitaine" msgstr "" -msgid "Massachusetts" +#. Android resource: @strings/auvergne +msgid "Auvergne" msgstr "" -msgid "Vermont" +#. Android resource: @strings/centre +msgid "Centre" msgstr "" -msgid "Pacific" +#. Android resource: @strings/bretagne +msgid "Bretagne" msgstr "" -msgid "South" +#. Android resource: @strings/bourgogne +msgid "Bourgogne" msgstr "" -msgid "Arkansas" +#. Android resource: @strings/basse_normandie +msgid "Basse-Normandie" msgstr "" -msgid "District of Columbia" +#. Android resource: @strings/champagne_ardenne +msgid "Champagne-Ardenne" msgstr "" -msgid "Florida" +#. Android resource: @strings/corse +msgid "Corse" msgstr "" -msgid "Louisiana" +#. Android resource: @strings/franche_comte +msgid "Franche-Comte" msgstr "" -msgid "Maryland" +#. Android resource: @strings/haute_normandie +msgid "Haute-Normandie" msgstr "" -msgid "Mississippi" +#. Android resource: @strings/ile_de_france +msgid "Ile-de-France" msgstr "" -msgid "Oklahoma" +#. Android resource: @strings/languedoc_roussillon +msgid "Languedoc-Roussillon" msgstr "" -msgid "Texas" +#. Android resource: @strings/limousin +msgid "Limousin" msgstr "" -msgid "Virginia" +#. Android resource: @strings/lorraine +msgid "Lorraine" msgstr "" -msgid "West Virginia" +#. Android resource: @strings/midi_pyrenees +msgid "Midi-Pyrenees" msgstr "" -msgid "West" +#. Android resource: @strings/nord_pas_de_calais +msgid "Nord-pas-de-Calais" msgstr "" -msgid "Arizona" +#. Android resource: @strings/pays_de_la_loire +msgid "Pays-de-la-Loire" msgstr "" -msgid "California" +#. Android resource: @strings/picardie +msgid "Picardie" msgstr "" -msgid "Colorado" +#. Android resource: @strings/poitou_charentes +msgid "Poitou-Charentes" msgstr "" -msgid "Idaho" +#. Android resource: @strings/provence_alpes_cote_d_azur +msgid "Provence-Alpes-Cote-d-Azur" msgstr "" -msgid "Montana" +#. Android resource: @strings/rhone_alpes +msgid "Rhone-Alpes" msgstr "" -msgid "New Mexico" +#. Android resource: @strings/baden_wuerttemberg +msgid "Baden-Wuerttemberg" msgstr "" -msgid "Nevada" +#. Android resource: @strings/bayern +msgid "Bayern" msgstr "" -msgid "Oregon" +#. Android resource: @strings/mittelfranken +msgid "Mittelfranken" msgstr "" -msgid "Utah" +#. Android resource: @strings/niederbayern +msgid "Niederbayern" msgstr "" -msgid "Washington State" +#. Android resource: @strings/oberbayern +msgid "Oberbayern" msgstr "" -msgid "South+Middle America" +#. Android resource: @strings/oberfranken +msgid "Oberfranken" msgstr "" -msgid "Guyane Francaise" +#. Android resource: @strings/oberpfalz +msgid "Oberpfalz" msgstr "" -msgid "downloading" +#. Android resource: @strings/schwaben +msgid "Schwaben" msgstr "" -#. Android resource: @strings/map_download_ready -msgid "ready" +#. Android resource: @strings/unterfranken +msgid "Unterfranken" msgstr "" -msgid "Media selected for map storage is not available" +#. Android resource: @strings/berlin +msgid "Berlin" msgstr "" -#. Android resource: @strings/map_download_not_enough_free_space -msgid "Not enough free space" +#. Android resource: @strings/brandenburg +msgid "Brandenburg" msgstr "" -msgid "Error downloading map!" +#. Android resource: @strings/bremen +msgid "Bremen" msgstr "" -msgid "Error writing map!" +#. Android resource: @strings/hamburg +msgid "Hamburg" msgstr "" -msgid "Map download aborted!" +#. Android resource: @strings/hessen +msgid "Hessen" msgstr "" -#. Android resource: @strings/map_download_eta -msgid "ETA" +#. Android resource: @strings/mecklenburg_vorpommern +msgid "Mecklenburg-Vorpommern" msgstr "" -#. Android resource: @strings/map_download_title -msgid "Map download" +#. Android resource: @strings/niedersachsen +msgid "Niedersachsen" msgstr "" -msgid "Vehicle Position" -msgstr "Køretøjsposition" - -msgid "Main menu" -msgstr "Hovedmenu" - -msgid "" -"Show\n" -"Map" +#. Android resource: @strings/nordrhein_westfalen +msgid "Nordrhein-westfalen" msgstr "" -"Vis\n" -"Kort" -msgid "Settings" -msgstr "Indstillinger" - -msgid "Tools" -msgstr "Værktøj" - -msgid "Route" -msgstr "Rute" - -msgid "About" -msgstr "Om" +#. Android resource: @strings/rheinland_pfalz +msgid "Rheinland-Pfalz" +msgstr "" -msgid "Quit" -msgstr "Luk" +#. Android resource: @strings/saarland +msgid "Saarland" +msgstr "" -msgid "Actions" -msgstr "Funktioner" +#. Android resource: @strings/sachsen_anhalt +msgid "Sachsen-Anhalt" +msgstr "" -msgid "" -"Former\n" -"Destinations" +#. Android resource: @strings/sachsen +msgid "Sachsen" msgstr "" -msgid "Coordinates" +#. Android resource: @strings/schleswig_holstein +msgid "Schleswig-Holstein" msgstr "" -msgid "" -"Stop\n" -"Navigation" +#. Android resource: @strings/thueringen +msgid "Thueringen" msgstr "" -"Stop\n" -"Navigation" -msgid "Display" -msgstr "Vis" +#. Android resource: @strings/mallorca +msgid "Mallorca" +msgstr "" -msgid "Fullscreen" -msgstr "Fuldskærm" +#. Android resource: @strings/galicia +msgid "Galicia" +msgstr "" -msgid "Window Mode" -msgstr "Vinduestilstand" +#. Android resource: @strings/scandinavia +msgid "Scandinavia" +msgstr "" -msgid "Layers" +#. Android resource: @strings/england +msgid "England" msgstr "" -msgid "Description" -msgstr "Beskrivelse" +#. Android resource: @strings/buckinghamshire +msgid "Buckinghamshire" +msgstr "" -msgid "" -"Drop last \n" -"Waypoint" +#. Android resource: @strings/cambridgeshire +msgid "Cambridgeshire" msgstr "" -msgid "" -"Drop next \n" -"Waypoint" +#. Android resource: @strings/cumbria +msgid "Cumbria" msgstr "" -msgid "Satellite Status" +#. Android resource: @strings/east_yorkshire_with_hull +msgid "East yorkshire with hull" msgstr "" -msgid "NMEA Data" +#. Android resource: @strings/essex +msgid "Essex" msgstr "" -msgid "car_shortest" +#. Android resource: @strings/herefordshire +msgid "Herefordshire" msgstr "" -msgid "car_avoid_tolls" +#. Android resource: @strings/kent +msgid "Kent" msgstr "" -msgid "car_pedantic" +#. Android resource: @strings/lancashire +msgid "Lancashire" msgstr "" -msgid "horse" -msgstr "hest" +#. Android resource: @strings/leicestershire +msgid "Leicestershire" +msgstr "" -msgid "Truck" -msgstr "Lastbil" +#. Android resource: @strings/norfolk +msgid "Norfolk" +msgstr "" -#. Strings from android/res/values/strings.xml -#. Android resource: @strings/yes -msgid "Yes" +#. Android resource: @strings/nottinghamshire +msgid "Nottinghamshire" msgstr "" -#. Android resource: @strings/notification_ticker -msgid "Navit started" +#. Android resource: @strings/oxfordshire +msgid "Oxfordshire" msgstr "" -#. Android resource: @strings/notification_event_default -msgid "Navit running" +#. Android resource: @strings/shropshire +msgid "Shropshire" msgstr "" -#. Android resource: @strings/initial_info_box_title -msgid "Welcome to Navit" +#. Android resource: @strings/somerset +msgid "Somerset" msgstr "" -#. Android resource: @strings/initial_info_box_message -msgid "" -"Thank you for installing Navit!\n" -"\n" -"To start, select \"Download maps\" from the menu to download a map. Note: " -"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" -"\n" -"Mapdata: (c) OpenStreetMap contributors\n" -"\n" -"Enjoy Navit!" +#. Android resource: @strings/south_yorkshire +msgid "South yorkshire" msgstr "" -#. Android resource: @strings/initial_info_box_OK -msgid "OK" +#. Android resource: @strings/suffolk +msgid "Suffolk" msgstr "" -#. Android resource: @strings/initial_info_box_more_info -msgid "More info" +#. Android resource: @strings/surrey +msgid "Surrey" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_in -msgid "Zoom in" +#. Android resource: @strings/wiltshire +msgid "Wiltshire" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_out -msgid "Zoom out" +#. Android resource: @strings/scotland +msgid "Scotland" msgstr "" -#. Android resource: @strings/optionsmenu_download_maps -msgid "Download maps" +#. Android resource: @strings/wales +msgid "Wales" msgstr "" -#. Android resource: @strings/optionsmenu_toggle_poi -msgid "Toggle POIs" +#. Android resource: @strings/crete +msgid "Crete" msgstr "" -#. Android resource: @strings/optionsmenu_exit_navit -msgid "Exit Navit" +#. Android resource: @strings/north_america +msgid "North America" msgstr "" -#. Android resource: @strings/optionsmenu_backup_restore -msgid "Backup / Restore" +#. Android resource: @strings/alaska +msgid "Alaska" msgstr "" -#. Android resource: @strings/optionsmenu_set_map_location -msgid "Set map location" +#. Android resource: @strings/hawaii +msgid "Hawaii" msgstr "" -#. Android resource: @strings/map_delete -msgid "Delete this map?" +#. Android resource: @strings/usa +msgid "USA" msgstr "" -#. Android resource: @strings/map_download_downloading -msgid "Downloading:" +#. Android resource: @strings/except_alaska_and_hawaii +msgid "(except Alaska and Hawaii)" msgstr "" -#. Android resource: @strings/map_download_download_error -msgid "Error downloading map." +#. Android resource: @strings/midwest +msgid "Midwest" msgstr "" -#. Android resource: @strings/map_download_download_aborted -msgid "Map download aborted" +#. Android resource: @strings/michigan +msgid "Michigan" msgstr "" -#. Android resource: @strings/map_no_fix -msgid "No location. Reopen after location fix." +#. Android resource: @strings/ohio +msgid "Ohio" msgstr "" -#. Android resource: @strings/maps_for_current_location -msgid "Maps containing current location" +#. Android resource: @strings/northeast +msgid "Northeast" msgstr "" -#. Android resource: @strings/address_search_title -msgid "Address search" +#. Android resource: @strings/massachusetts +msgid "Massachusetts" msgstr "" -#. Android resource: @strings/address_enter_destination -msgid "Enter destination" +#. Android resource: @strings/vermont +msgid "Vermont" msgstr "" -#. Android resource: @strings/address_partial_match -msgid "Match partial address" +#. Android resource: @strings/pacific +msgid "Pacific" msgstr "" -#. Android resource: @strings/address_search_searching -msgid "Searching..." +#. Android resource: @strings/south +msgid "South" msgstr "" -#. Android resource: @strings/address_search_not_found -msgid "Address not found" +#. Android resource: @strings/arkansas +msgid "Arkansas" msgstr "" -#. Android resource: @strings/address_search_getting_results -msgid "Getting search results" +#. Android resource: @strings/district_of_columbia +msgid "District of Columbia" msgstr "" -#. Android resource: @strings/address_search_loading_results -msgid "Loading search results" +#. Android resource: @strings/florida +msgid "Florida" msgstr "" -#. Android resource: @strings/address_search_no_results -msgid "No results found" +#. Android resource: @strings/louisiana +msgid "Louisiana" msgstr "" -#. Android resource: @strings/address_search_no_text_entered -msgid "No text entered" +#. Android resource: @strings/maryland +msgid "Maryland" msgstr "" -#. Android resource: @strings/address_search_set_destination -msgid "Setting destination to:" +#. Android resource: @strings/mississippi +msgid "Mississippi" msgstr "" -#. Android resource: @strings/choose_an_action -msgid "Choose an action" +#. Android resource: @strings/oklahoma +msgid "Oklahoma" msgstr "" -#. Android resource: @strings/please_insert_an_sd_card -msgid "Please insert an SD Card" +#. Android resource: @strings/texas +msgid "Texas" msgstr "" -#. Android resource: @strings/backing_up -msgid "Backing up..." +#. Android resource: @strings/virginia +msgid "Virginia" msgstr "" -#. Android resource: @strings/restoring -msgid "Restoring..." +#. Android resource: @strings/west_virginia +msgid "West Virginia" msgstr "" -#. Android resource: @strings/failed_to_create_backup_directory -msgid "Failed to create backup directory" +#. Android resource: @strings/west +msgid "West" msgstr "" -#. Android resource: @strings/backup_failed -msgid "Backup failed" +#. Android resource: @strings/arizona +msgid "Arizona" msgstr "" -#. Android resource: @strings/no_backup_found -msgid "No backup found" +#. Android resource: @strings/california +msgid "California" msgstr "" -#. Android resource: @strings/failed_to_restore -msgid "Failed to restore" +#. Android resource: @strings/colorado +msgid "Colorado" msgstr "" -#. Android resource: @strings/backup_successful -msgid "Backup successful" +#. Android resource: @strings/idaho +msgid "Idaho" msgstr "" -#. Android resource: @strings/restore_successful_please_restart_navit -msgid "" -"Restore Successful\n" -"Please restart Navit" +#. Android resource: @strings/montana +msgid "Montana" msgstr "" -#. Android resource: @strings/backup_not_found -msgid "Backup not found" +#. Android resource: @strings/new_mexico +msgid "New Mexico" msgstr "" -#. Android resource: @strings/restore_failed -msgid "Restore failed" +#. Android resource: @strings/nevada +msgid "Nevada" msgstr "" -#. Android resource: @strings/select_backup -msgid "Select backup" +#. Android resource: @strings/oregon +msgid "Oregon" msgstr "" -#. Android resource: @strings/backup -msgid "Backup" +#. Android resource: @strings/utah +msgid "Utah" msgstr "" -#. Android resource: @strings/restore -msgid "Restore" +#. Android resource: @strings/washington_state +msgid "Washington State" msgstr "" -#. Android resource: @strings/TTS_title_data_missing -msgid "System text to speech engine data is missing" +#. Android resource: @strings/south_middle_america +msgid "South+Middle America" msgstr "" -#. Android resource: @strings/TTS_qery_install_data -msgid "" -"Navit can use any text to speech engine installed on your device. The " -"currently selected engine reports it is unable to speak in your language. " -"Should we ask the system to show voice download dialog?" +#. Android resource: @strings/guyane_francaise +msgid "Guyane Francaise" msgstr "" #, c-format +#~ msgid "Route %4.0fkm %02d:%02d ETA" +#~ msgstr "Rute %4.0fkm %02d:%02d ETA" + +#, c-format #~ msgid "then leave the roundabout at the %1$s %2$s" #~ msgstr "forlad så rundkørslen ved den %1$s %2$s" diff --git a/po/de_CH.po.in b/po/de_CH.po.in index a31b5840b..90f63e9f0 100644 --- a/po/de_CH.po.in +++ b/po/de_CH.po.in @@ -1,5 +1,5 @@ # German (Switzerland) translations for navit -# Copyright (C) 2006-2016 The Navit Team +# Copyright (C) 2006-2019 The Navit Team # This file is distributed under the same license as the navit package. # Many thanks to the contributors of this translation: @@ -149,7 +149,6 @@ msgstr "" msgid "%1$sonto %2$s|neuter form" msgstr "" -#. TRANSLATORS: motorway ramp refers to the slip road for entering a motorway. msgid "onto the motorway ramp" msgstr "" @@ -362,7 +361,6 @@ msgstr "" msgid "You have reached your destination %s" msgstr "" -#. TRANSLATORS: Exit as a noun, as in "Exit 43 Greenmound-East" msgid "Interchange" msgstr "" @@ -379,9 +377,15 @@ msgstr "" msgid "Length" msgstr "" +msgid "mi" +msgstr "" + msgid "km" msgstr "" +msgid "feet" +msgstr "" + msgid "m" msgstr "" @@ -442,6 +446,7 @@ msgid "Anguilla" msgstr "" #. 008 +#. Android resource: @strings/albania msgid "Albania" msgstr "" @@ -454,6 +459,7 @@ msgid "Netherlands Antilles" msgstr "" #. 024 +#. Android resource: @strings/angola msgid "Angola" msgstr "" @@ -462,6 +468,7 @@ msgid "Antarctica" msgstr "" #. 032 +#. Android resource: @strings/argentina msgid "Argentina" msgstr "" @@ -470,10 +477,12 @@ msgid "American Samoa" msgstr "" #. 040 +#. Android resource: @strings/austria msgid "Austria" msgstr "" #. 036 +#. Android resource: @strings/australia msgid "Australia" msgstr "" @@ -486,10 +495,12 @@ msgid "Aland Islands" msgstr "" #. 031 +#. Android resource: @strings/azerbaijan msgid "Azerbaijan" msgstr "" #. 070 +#. Android resource: @strings/bosnia_and_herzegovina msgid "Bosnia and Herzegovina" msgstr "" @@ -502,6 +513,7 @@ msgid "Bangladesh" msgstr "" #. 056 +#. Android resource: @strings/belgium msgid "Belgium" msgstr "" @@ -510,6 +522,7 @@ msgid "Burkina Faso" msgstr "" #. 100 +#. Android resource: @strings/bulgaria msgid "Bulgaria" msgstr "" @@ -518,6 +531,7 @@ msgid "Bahrain" msgstr "" #. 108 +#. Android resource: @strings/burundi msgid "Burundi" msgstr "" @@ -538,6 +552,7 @@ msgid "Brunei Darussalam" msgstr "" #. 068 +#. Android resource: @strings/bolivia msgid "Bolivia" msgstr "" @@ -546,6 +561,7 @@ msgid "Bonaire, Sint Eustatius and Saba" msgstr "" #. 076 +#. Android resource: @strings/brazil msgid "Brazil" msgstr "" @@ -562,10 +578,12 @@ msgid "Bouvet Island" msgstr "" #. 072 +#. Android resource: @strings/botswana msgid "Botswana" msgstr "" #. 112 +#. Android resource: @strings/belarus msgid "Belarus" msgstr "" @@ -574,6 +592,7 @@ msgid "Belize" msgstr "" #. 124 +#. Android resource: @strings/canada msgid "Canada" msgstr "" @@ -582,6 +601,7 @@ msgid "Cocos (Keeling) Islands" msgstr "" #. 180 +#. Android resource: @strings/congo msgid "Congo, Democratic Republic of the" msgstr "" @@ -594,10 +614,12 @@ msgid "Congo" msgstr "" #. 756 +#. Android resource: @strings/switzerland msgid "Switzerland" msgstr "" #. 384 +#. Android resource: @strings/cotedivoire msgid "Cote d'Ivoire" msgstr "" @@ -606,6 +628,7 @@ msgid "Cook Islands" msgstr "" #. 152 +#. Android resource: @strings/chile msgid "Chile" msgstr "" @@ -614,10 +637,12 @@ msgid "Cameroon" msgstr "" #. 156 +#. Android resource: @strings/china msgid "China" msgstr "" #. 170 +#. Android resource: @strings/colombia msgid "Colombia" msgstr "" @@ -626,6 +651,7 @@ msgid "Costa Rica" msgstr "" #. 192 +#. Android resource: @strings/cuba msgid "Cuba" msgstr "" @@ -642,14 +668,17 @@ msgid "Christmas Island" msgstr "" #. 196 +#. Android resource: @strings/cyprus msgid "Cyprus" msgstr "" #. 203 +#. Android resource: @strings/czech_republic msgid "Czech Republic" msgstr "" #. 276 +#. Android resource: @strings/germany msgid "Germany" msgstr "" @@ -658,6 +687,7 @@ msgid "Djibouti" msgstr "" #. 208 +#. Android resource: @strings/denmark msgid "Denmark" msgstr "" @@ -666,6 +696,7 @@ msgid "Dominica" msgstr "" #. 214 +#. Android resource: @strings/dominican_republic msgid "Dominican Republic" msgstr "" @@ -674,10 +705,12 @@ msgid "Algeria" msgstr "" #. 218 +#. Android resource: @strings/ecuador msgid "Ecuador" msgstr "" #. 233 +#. Android resource: @strings/estonia msgid "Estonia" msgstr "" @@ -694,14 +727,17 @@ msgid "Eritrea" msgstr "" #. 724 +#. Android resource: @strings/spain msgid "Spain" msgstr "" #. 231 +#. Android resource: @strings/ethiopia msgid "Ethiopia" msgstr "" #. 246 +#. Android resource: @strings/finland msgid "Finland" msgstr "" @@ -718,10 +754,12 @@ msgid "Micronesia, Federated States of" msgstr "" #. 234 +#. Android resource: @strings/faroe_islands msgid "Faroe Islands" msgstr "" #. 250 +#. Android resource: @strings/france msgid "France" msgstr "" @@ -730,6 +768,7 @@ msgid "Gabon" msgstr "" #. 826 +#. Android resource: @strings/united_kingdom msgid "United Kingdom" msgstr "" @@ -766,6 +805,7 @@ msgid "Gambia" msgstr "" #. 324 +#. Android resource: @strings/guinea msgid "Guinea" msgstr "" @@ -778,6 +818,7 @@ msgid "Equatorial Guinea" msgstr "" #. 300 +#. Android resource: @strings/greece msgid "Greece" msgstr "" @@ -798,6 +839,7 @@ msgid "Guinea-Bissau" msgstr "" #. 328 +#. Android resource: @strings/guyana msgid "Guyana" msgstr "" @@ -814,26 +856,32 @@ msgid "Honduras" msgstr "" #. 191 +#. Android resource: @strings/croatia msgid "Croatia" msgstr "" #. 332 +#. Android resource: @strings/haiti msgid "Haiti" msgstr "" #. 348 +#. Android resource: @strings/hungary msgid "Hungary" msgstr "" #. 360 +#. Android resource: @strings/indonesia msgid "Indonesia" msgstr "" #. 372 +#. Android resource: @strings/ireland msgid "Ireland" msgstr "" #. 376 +#. Android resource: @strings/israel msgid "Israel" msgstr "" @@ -842,6 +890,7 @@ msgid "Isle of Man" msgstr "" #. 356 +#. Android resource: @strings/india msgid "India" msgstr "" @@ -850,18 +899,22 @@ msgid "British Indian Ocean Territory" msgstr "" #. 368 +#. Android resource: @strings/iraq msgid "Iraq" msgstr "" #. 364 +#. Android resource: @strings/iran msgid "Iran, Islamic Republic of" msgstr "" #. 352 +#. Android resource: @strings/iceland msgid "Iceland" msgstr "" #. 380 +#. Android resource: @strings/italy msgid "Italy" msgstr "" @@ -870,6 +923,7 @@ msgid "Jersey" msgstr "" #. 388 +#. Android resource: @strings/jamaica msgid "Jamaica" msgstr "" @@ -878,14 +932,17 @@ msgid "Jordan" msgstr "" #. 392 +#. Android resource: @strings/japan msgid "Japan" msgstr "" #. 404 +#. Android resource: @strings/kenya msgid "Kenya" msgstr "" #. 417 +#. Android resource: @strings/kyrgyzsyan msgid "Kyrgyzstan" msgstr "" @@ -922,6 +979,7 @@ msgid "Cayman Islands" msgstr "" #. 398 +#. Android resource: @strings/kazakhstan msgid "Kazakhstan" msgstr "" @@ -946,26 +1004,32 @@ msgid "Sri Lanka" msgstr "" #. 430 +#. Android resource: @strings/liberia msgid "Liberia" msgstr "" #. 426 +#. Android resource: @strings/lesotho msgid "Lesotho" msgstr "" #. 440 +#. Android resource: @strings/lithuania msgid "Lithuania" msgstr "" #. 442 +#. Android resource: @strings/luxembourg msgid "Luxembourg" msgstr "" #. 428 +#. Android resource: @strings/latvia msgid "Latvia" msgstr "" #. 434 +#. Android resource: @strings/libya msgid "Libya" msgstr "" @@ -990,6 +1054,7 @@ msgid "Saint Martin (French part)" msgstr "" #. 450 +#. Android resource: @strings/madagascar msgid "Madagascar" msgstr "" @@ -1010,6 +1075,7 @@ msgid "Myanmar" msgstr "" #. 496 +#. Android resource: @strings/mongolia msgid "Mongolia" msgstr "" @@ -1050,10 +1116,12 @@ msgid "Malawi" msgstr "" #. 484 +#. Android resource: @strings/mexico msgid "Mexico" msgstr "" #. 458 +#. Android resource: @strings/malaysia msgid "Malaysia" msgstr "" @@ -1062,10 +1130,12 @@ msgid "Mozambique" msgstr "" #. 516 +#. Android resource: @strings/namibia msgid "Namibia" msgstr "" #. 540 +#. Android resource: @strings/new_caledonia msgid "New Caledonia" msgstr "" @@ -1086,6 +1156,7 @@ msgid "Nicaragua" msgstr "" #. 528 +#. Android resource: @strings/netherlands msgid "Netherlands" msgstr "" @@ -1094,6 +1165,7 @@ msgid "Norway" msgstr "" #. 524 +#. Android resource: @strings/nepal msgid "Nepal" msgstr "" @@ -1106,6 +1178,7 @@ msgid "Niue" msgstr "" #. 554 +#. Android resource: @strings/newzealand msgid "New Zealand" msgstr "" @@ -1118,6 +1191,7 @@ msgid "Panama" msgstr "" #. 604 +#. Android resource: @strings/peru msgid "Peru" msgstr "" @@ -1130,14 +1204,17 @@ msgid "Papua New Guinea" msgstr "" #. 608 +#. Android resource: @strings/philippines msgid "Philippines" msgstr "" #. 586 +#. Android resource: @strings/pakistan msgid "Pakistan" msgstr "" #. 616 +#. Android resource: @strings/poland msgid "Poland" msgstr "" @@ -1158,6 +1235,7 @@ msgid "Palestinian Territory, Occupied" msgstr "" #. 620 +#. Android resource: @strings/portugal msgid "Portugal" msgstr "" @@ -1166,6 +1244,7 @@ msgid "Palau" msgstr "" #. 600 +#. Android resource: @strings/paraguay msgid "Paraguay" msgstr "" @@ -1174,10 +1253,12 @@ msgid "Qatar" msgstr "" #. 638 +#. Android resource: @strings/reunion msgid "Reunion" msgstr "" #. 642 +#. Android resource: @strings/romania msgid "Romania" msgstr "" @@ -1186,14 +1267,17 @@ msgid "Serbia" msgstr "" #. 643 +#. Android resource: @strings/russian_federation msgid "Russian Federation" msgstr "" #. 646 +#. Android resource: @strings/rwanda msgid "Rwanda" msgstr "" #. 682 +#. Android resource: @strings/saudi_arabia msgid "Saudi Arabia" msgstr "" @@ -1214,6 +1298,7 @@ msgid "Sweden" msgstr "" #. 702 +#. Android resource: @strings/singapore msgid "Singapore" msgstr "" @@ -1230,6 +1315,7 @@ msgid "Svalbard and Jan Mayen" msgstr "" #. 703 +#. Android resource: @strings/slovakia msgid "Slovakia" msgstr "" @@ -1250,6 +1336,7 @@ msgid "Somalia" msgstr "" #. 740 +#. Android resource: @strings/suriname msgid "Suriname" msgstr "" @@ -1294,6 +1381,7 @@ msgid "Togo" msgstr "" #. 764 +#. Android resource: @strings/thailand msgid "Thailand" msgstr "" @@ -1310,6 +1398,7 @@ msgid "Timor-Leste" msgstr "" #. 795 +#. Android resource: @strings/turkmenistan msgid "Turkmenistan" msgstr "" @@ -1322,6 +1411,7 @@ msgid "Tonga" msgstr "" #. 792 +#. Android resource: @strings/turkey msgid "Turkey" msgstr "" @@ -1338,14 +1428,17 @@ msgid "Taiwan, Province of China" msgstr "" #. 834 +#. Android resource: @strings/tanzania msgid "Tanzania, United Republic of" msgstr "" #. 804 +#. Android resource: @strings/ukraine msgid "Ukraine" msgstr "" #. 800 +#. Android resource: @strings/uganda msgid "Uganda" msgstr "" @@ -1358,6 +1451,7 @@ msgid "United States" msgstr "" #. 858 +#. Android resource: @strings/uruguay msgid "Uruguay" msgstr "" @@ -1374,6 +1468,7 @@ msgid "Saint Vincent and the Grenadines" msgstr "" #. 862 +#. Android resource: @strings/venezuela msgid "Venezuela" msgstr "" @@ -1410,6 +1505,7 @@ msgid "Mayotte" msgstr "" #. 710 +#. Android resource: @strings/south_africa msgid "South Africa" msgstr "" @@ -1437,23 +1533,23 @@ msgid "" msgstr "" #. We have not found an existing config file from all possibilities -msgid "No config file navit.xml, navit.xml.local found\n" +msgid "No config file navit.xml, navit.xml.local found" msgstr "" #, c-format -msgid "Error parsing config file '%s': %s\n" +msgid "Error parsing config file '%s': %s" msgstr "" #, c-format -msgid "Using config file '%s'\n" +msgid "Using config file '%s'" msgstr "" #, c-format -msgid "Error: No configuration found in config file '%s'\n" +msgid "Error: No configuration found in config file '%s'" msgstr "" msgid "" -"Internal initialization failed, exiting. Check previous error messages.\n" +"Internal initialization failed, exiting. Check previous error messages." msgstr "" msgid "unknown street" @@ -1594,6 +1690,9 @@ msgstr "" msgid "_Lock on Road" msgstr "" +msgid "_Follow Vehicle" +msgstr "" + msgid "_Keep orientation to the North" msgstr "" @@ -1663,7 +1762,12 @@ msgstr "" msgid "Shopping" msgstr "" -msgid "Select a search radius from screen center" +#. Input is in kilometers +msgid "Select a search radius from screen center in km" +msgstr "" + +#. Input is in miles. +msgid "Select a search radius from screen center in miles" msgstr "" #, c-format @@ -1671,15 +1775,15 @@ msgid "POI %s. %s" msgstr "" #, c-format -msgid "Set destination to %ld, %ld \n" +msgid "Set destination to %ld, %ld " msgstr "" #, c-format -msgid "Set map to %ld, %ld \n" +msgid "Set map to %ld, %ld " msgstr "" #, c-format -msgid "Set next visit to %ld, %ld \n" +msgid "Set next visit to %ld, %ld " msgstr "" msgid "POI search" @@ -1688,9 +1792,6 @@ msgstr "" msgid "Select a category" msgstr "" -msgid "Select a distance to look for (km)" -msgstr "" - msgid "Select a POI" msgstr "" @@ -1703,7 +1804,7 @@ msgstr "" msgid "Direction" msgstr "" -msgid "Distance(m)" +msgid "Distance" msgstr "" msgid "Name" @@ -1750,7 +1851,7 @@ msgid "OT" msgstr "" #, c-format -msgid "Route %4.0fkm %02d:%02d ETA" +msgid "Route %4.1f%s %02d:%02d ETA" msgstr "" msgid "Route 0000km 0+00:00 ETA" @@ -1973,6 +2074,9 @@ msgstr "" msgid "Show Locale" msgstr "" +msgid "Network info" +msgstr "" + msgid "Former Destinations" msgstr "" @@ -2011,729 +2115,861 @@ msgstr "" msgid "Please decrease your speed" msgstr "" -msgid "partial match" +msgid "Vehicle Position" msgstr "" -#. Android resource: @strings/address_search_button -msgid "Search" +msgid "Main menu" msgstr "" -#. Android resource: @strings/address_search_towns -msgid "Towns" +msgid "" +"Show\n" +"Map" msgstr "" -msgid "Map data (c) OpenStreetMap contributors, ODBL" +msgid "Settings" msgstr "" -msgid "" -"Current map location %s is not available\n" -"Please restart Navit after you attach an SD card or select a different map " -"location." +msgid "Tools" msgstr "" -msgid "Downloaded maps" +msgid "Route" msgstr "" -msgid "" -"Sorry, we currently do not support maps above 3.8G on Android, please select " -"a smaller one." +msgid "About" msgstr "" -#. Android resource: @strings/position_popup_drive_here -msgid "Route to here" +msgid "Quit" msgstr "" -msgid "Cancel" +msgid "Actions" msgstr "" -msgid "filenamePath" +msgid "" +"Former\n" +"Destinations" msgstr "" -msgid "" -"New location set to %s\n" -"Restart Navit to apply the changes." +msgid "Coordinates" msgstr "" -msgid "Whole Planet" +msgid "" +"Stop\n" +"Navigation" msgstr "" -msgid "Africa" +msgid "Display" msgstr "" -msgid "Canary Islands" +msgid "Fullscreen" msgstr "" -msgid "Asia" +msgid "Window Mode" msgstr "" -msgid "Korea" +msgid "Auto zoom" msgstr "" -msgid "Taiwan" +msgid "Manual zoom" msgstr "" -msgid "UAE+Other" +msgid "Layers" msgstr "" -msgid "Oceania" +msgid "Zoom to route" msgstr "" -msgid "Tasmania" +msgid "Description" msgstr "" -msgid "Victoria" +msgid "" +"Drop last\n" +"Waypoint" msgstr "" -msgid "New South Wales" +msgid "" +"Drop next\n" +"Waypoint" msgstr "" -msgid "Europe" +msgid "Satellite Status" msgstr "" -msgid "Western Europe" +msgid "NMEA Data" msgstr "" -msgid "Azores" +msgid "car_shortest" msgstr "" -msgid "BeNeLux" +msgid "car_avoid_tolls" msgstr "" -msgid "Alsace" +msgid "car_pedantic" msgstr "" -msgid "Aquitaine" +msgid "horse" msgstr "" -msgid "Auvergne" +msgid "Truck" msgstr "" -msgid "Basse-Normandie" +#. Strings from android/res/values/strings.xml +#. Android resource: @strings/yes +msgid "Yes" msgstr "" -msgid "Bourgogne" +#. Android resource: @strings/cancel +msgid "Cancel" msgstr "" -msgid "Bretagne" +#. Android resource: @strings/notification_ticker +msgid "Navit started" msgstr "" -msgid "Centre" +#. Android resource: @strings/notification_event_default +msgid "Navit running" msgstr "" -msgid "Champagne-Ardenne" +#. Android resource: @strings/initial_info_box_title +msgid "Welcome to Navit" msgstr "" -msgid "Corse" +#. Android resource: @strings/initial_info_box_message +msgid "" +"Thank you for installing Navit!\n" +"\n" +"To start, select \"Download maps\" from the menu to download a map. Note: " +"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" +"\n" +"Mapdata: (c) OpenStreetMap contributors\n" +"\n" +"Enjoy Navit!" msgstr "" -msgid "Franche-Comte" +#. Android resource: @strings/initial_info_box_OK +msgid "OK" msgstr "" -msgid "Haute-Normandie" +#. Android resource: @strings/initial_info_box_more_info +msgid "More info" msgstr "" -msgid "Ile-de-France" +#. Android resource: @strings/optionsmenu_zoom_in +msgid "Zoom in" msgstr "" -msgid "Languedoc-Roussillon" +#. Android resource: @strings/optionsmenu_zoom_out +msgid "Zoom out" msgstr "" -msgid "Limousin" +#. Android resource: @strings/optionsmenu_download_maps +msgid "Download maps" msgstr "" -msgid "Lorraine" +#. Android resource: @strings/optionsmenu_toggle_poi +msgid "Toggle POIs" msgstr "" -msgid "Midi-Pyrenees" +#. Android resource: @strings/optionsmenu_exit_navit +msgid "Exit Navit" msgstr "" -msgid "Nord-pas-de-Calais" +#. Android resource: @strings/optionsmenu_backup_restore +msgid "Backup / Restore" msgstr "" -msgid "Pays-de-la-Loire" +#. Android resource: @strings/optionsmenu_set_map_location +msgid "Set map location" msgstr "" -msgid "Picardie" +#. Android resource: @strings/position_popup_drive_here +msgid "Route to here" msgstr "" -msgid "Poitou-Charentes" +#. Android resource: @strings/map_delete +msgid "Delete this map?" msgstr "" -msgid "Provence-Alpes-Cote-d-Azur" +#. Android resource: @strings/map_download_title +msgid "Map download" msgstr "" -msgid "Rhone-Alpes" +#. Android resource: @strings/map_download_downloading +msgid "Downloading:" msgstr "" -msgid "Baden-Wuerttemberg" +#. Android resource: @strings/map_download_eta +msgid "ETA" msgstr "" -msgid "Bayern" +#. Android resource: @strings/map_download_ready +msgid "ready" msgstr "" -msgid "Mittelfranken" +#. Android resource: @strings/map_download_download_error +msgid "Error downloading map." msgstr "" -msgid "Niederbayern" +#. Android resource: @strings/map_download_download_aborted +msgid "Map download aborted" msgstr "" -msgid "Oberbayern" +#. Android resource: @strings/map_download_not_enough_free_space +msgid "Not enough free space" msgstr "" -msgid "Oberfranken" +#. Android resource: @strings/map_download_oversize +msgid "" +"Sorry, we currently do not support maps above 3.8G on Android, please select " +"a smaller one." msgstr "" -msgid "Oberpfalz" +#. Android resource: @strings/map_no_fix +msgid "No location. Reopen after location fix." msgstr "" -msgid "Schwaben" +#. Android resource: @strings/maps_for_current_location +msgid "Maps containing current location" msgstr "" -msgid "Unterfranken" +#. Android resource: @strings/maps_installed +msgid "Installed maps" msgstr "" -msgid "Berlin" +#. Android resource: @strings/map_downloading +msgid "downloading" msgstr "" -msgid "Brandenburg" +#. Android resource: @strings/map_download_medium_unavailable +msgid "Media selected for map storage is not available" msgstr "" -msgid "Bremen" +#. Android resource: @strings/map_download_error_writing_map +msgid "Error writing map!" msgstr "" -msgid "Hamburg" +#. Android resource: @strings/map_location_changed +#, c-format +msgid "New location set to %s Restart Navit to apply the changes." msgstr "" -msgid "Hessen" +#. Android resource: @strings/map_location_unavailable +#, c-format +msgid "" +"Current map location %s is not available Please restart Navit after you " +"attach an SD card or select a different map location." msgstr "" -msgid "Mecklenburg-Vorpommern" +#. Android resource: @strings/address_search_title +msgid "Address search" msgstr "" -msgid "Niedersachsen" +#. Android resource: @strings/address_enter_destination +msgid "Enter destination" msgstr "" -msgid "Nordrhein-westfalen" +#. Android resource: @strings/address_partial_match +msgid "Match partial address" msgstr "" -msgid "Rheinland-Pfalz" +#. Android resource: @strings/address_search_button +msgid "Search" msgstr "" -msgid "Saarland" +#. Android resource: @strings/address_search_searching +msgid "Searching..." msgstr "" -msgid "Sachsen-Anhalt" +#. Android resource: @strings/address_search_not_found +msgid "Address not found" msgstr "" -msgid "Sachsen" +#. Android resource: @strings/address_search_getting_results +msgid "Getting search results" msgstr "" -msgid "Schleswig-Holstein" +#. Android resource: @strings/address_search_loading_results +msgid "Loading search results" msgstr "" -msgid "Thueringen" +#. Android resource: @strings/address_search_no_results +msgid "No results found" msgstr "" -msgid "Mallorca" +#. Android resource: @strings/address_search_no_text_entered +msgid "No text entered" msgstr "" -msgid "Galicia" +#. Android resource: @strings/address_search_set_destination +msgid "Setting destination to:" msgstr "" -msgid "Scandinavia" +#. Android resource: @strings/address_search_towns +msgid "Towns" msgstr "" -msgid "England" +#. Android resource: @strings/choose_an_action +msgid "Choose an action" msgstr "" -msgid "Buckinghamshire" +#. Android resource: @strings/please_insert_an_sd_card +msgid "Please insert an SD Card" msgstr "" -msgid "Cambridgeshire" +#. Android resource: @strings/backing_up +msgid "Backing up..." msgstr "" -msgid "Cumbria" +#. Android resource: @strings/restoring +msgid "Restoring..." msgstr "" -msgid "East yorkshire with hull" +#. Android resource: @strings/failed_to_create_backup_directory +msgid "Failed to create backup directory" msgstr "" -msgid "Essex" +#. Android resource: @strings/backup_failed +msgid "Backup failed" msgstr "" -msgid "Herefordshire" +#. Android resource: @strings/no_backup_found +msgid "No backup found" msgstr "" -msgid "Kent" +#. Android resource: @strings/failed_to_restore +msgid "Failed to restore" msgstr "" -msgid "Lancashire" +#. Android resource: @strings/backup_successful +msgid "Backup successful" msgstr "" -msgid "Leicestershire" +#. Android resource: @strings/restore_successful_please_restart_navit +msgid "" +"Restore Successful\n" +"Please restart Navit" msgstr "" -msgid "Norfolk" +#. Android resource: @strings/backup_not_found +msgid "Backup not found" msgstr "" -msgid "Nottinghamshire" +#. Android resource: @strings/restore_failed +msgid "Restore failed" msgstr "" -msgid "Oxfordshire" +#. Android resource: @strings/select_backup +msgid "Select backup" msgstr "" -msgid "Shropshire" +#. Android resource: @strings/backup +msgid "Backup" msgstr "" -msgid "Somerset" +#. Android resource: @strings/restore +msgid "Restore" msgstr "" -msgid "South yorkshire" +#. Android resource: @strings/TTS_title_data_missing +msgid "System text to speech engine data is missing" msgstr "" -msgid "Suffolk" +#. Android resource: @strings/TTS_qery_install_data +msgid "" +"Navit can use any text to speech engine installed on your device. The " +"currently selected engine reports it is unable to speak in your language. " +"Should we ask the system to show voice download dialog?" msgstr "" -msgid "Surrey" +#. Android resource: @strings/permissions_not_granted +msgid "" +"Navit needs permission to access GPS and read the map.\n" +"If you change your mind please restart Navit and grant the permissions" msgstr "" -msgid "Wiltshire" +#. Android resource: @strings/permissions_info_box_title +msgid "One or more ungranted permissions" msgstr "" -msgid "Scotland" +#. Android resource: @strings/whole_planet +msgid "Whole Planet" msgstr "" -msgid "Wales" +#. Android resource: @strings/africa +msgid "Africa" msgstr "" -msgid "Crete" +#. Android resource: @strings/canary_islands +msgid "Canary Islands" msgstr "" -msgid "North America" +#. Android resource: @strings/asia +msgid "Asia" msgstr "" -msgid "Alaska" +#. Android resource: @strings/taiwan +msgid "Taiwan" msgstr "" -msgid "Hawaii" +#. Android resource: @strings/korea +msgid "Korea" msgstr "" -msgid "USA" +#. Android resource: @strings/uae_other +msgid "UAE+Other" msgstr "" -msgid " (except Alaska and Hawaii)" +#. Android resource: @strings/oceania +msgid "Oceania" msgstr "" -msgid "Midwest" +#. Android resource: @strings/tasmania +msgid "Tasmania" msgstr "" -msgid "Michigan" +#. Android resource: @strings/victoria +msgid "Victoria" msgstr "" -msgid "Ohio" +#. Android resource: @strings/new_south_wales +msgid "New South Wales" msgstr "" -msgid "Northeast" +#. Android resource: @strings/europe +msgid "Europe" msgstr "" -msgid "Massachusetts" +#. Android resource: @strings/western_europe +msgid "Western Europe" msgstr "" -msgid "Vermont" +#. Android resource: @strings/azores +msgid "Azores" msgstr "" -msgid "Pacific" +#. Android resource: @strings/benelux +msgid "BeNeLux" msgstr "" -msgid "South" +#. Android resource: @strings/alsace +msgid "Alsace" msgstr "" -msgid "Arkansas" +#. Android resource: @strings/aquitaine +msgid "Aquitaine" msgstr "" -msgid "District of Columbia" +#. Android resource: @strings/auvergne +msgid "Auvergne" msgstr "" -msgid "Florida" +#. Android resource: @strings/centre +msgid "Centre" msgstr "" -msgid "Louisiana" +#. Android resource: @strings/bretagne +msgid "Bretagne" msgstr "" -msgid "Maryland" +#. Android resource: @strings/bourgogne +msgid "Bourgogne" msgstr "" -msgid "Mississippi" +#. Android resource: @strings/basse_normandie +msgid "Basse-Normandie" msgstr "" -msgid "Oklahoma" +#. Android resource: @strings/champagne_ardenne +msgid "Champagne-Ardenne" msgstr "" -msgid "Texas" +#. Android resource: @strings/corse +msgid "Corse" msgstr "" -msgid "Virginia" +#. Android resource: @strings/franche_comte +msgid "Franche-Comte" msgstr "" -msgid "West Virginia" +#. Android resource: @strings/haute_normandie +msgid "Haute-Normandie" msgstr "" -msgid "West" +#. Android resource: @strings/ile_de_france +msgid "Ile-de-France" msgstr "" -msgid "Arizona" +#. Android resource: @strings/languedoc_roussillon +msgid "Languedoc-Roussillon" msgstr "" -msgid "California" +#. Android resource: @strings/limousin +msgid "Limousin" msgstr "" -msgid "Colorado" +#. Android resource: @strings/lorraine +msgid "Lorraine" msgstr "" -msgid "Idaho" +#. Android resource: @strings/midi_pyrenees +msgid "Midi-Pyrenees" msgstr "" -msgid "Montana" +#. Android resource: @strings/nord_pas_de_calais +msgid "Nord-pas-de-Calais" msgstr "" -msgid "New Mexico" +#. Android resource: @strings/pays_de_la_loire +msgid "Pays-de-la-Loire" msgstr "" -msgid "Nevada" +#. Android resource: @strings/picardie +msgid "Picardie" msgstr "" -msgid "Oregon" +#. Android resource: @strings/poitou_charentes +msgid "Poitou-Charentes" msgstr "" -msgid "Utah" +#. Android resource: @strings/provence_alpes_cote_d_azur +msgid "Provence-Alpes-Cote-d-Azur" msgstr "" -msgid "Washington State" +#. Android resource: @strings/rhone_alpes +msgid "Rhone-Alpes" msgstr "" -msgid "South+Middle America" +#. Android resource: @strings/baden_wuerttemberg +msgid "Baden-Wuerttemberg" msgstr "" -msgid "Guyane Francaise" +#. Android resource: @strings/bayern +msgid "Bayern" msgstr "" -msgid "downloading" +#. Android resource: @strings/mittelfranken +msgid "Mittelfranken" msgstr "" -#. Android resource: @strings/map_download_ready -msgid "ready" +#. Android resource: @strings/niederbayern +msgid "Niederbayern" msgstr "" -msgid "Media selected for map storage is not available" +#. Android resource: @strings/oberbayern +msgid "Oberbayern" msgstr "" -#. Android resource: @strings/map_download_not_enough_free_space -msgid "Not enough free space" +#. Android resource: @strings/oberfranken +msgid "Oberfranken" msgstr "" -msgid "Error downloading map!" +#. Android resource: @strings/oberpfalz +msgid "Oberpfalz" msgstr "" -msgid "Error writing map!" +#. Android resource: @strings/schwaben +msgid "Schwaben" msgstr "" -msgid "Map download aborted!" +#. Android resource: @strings/unterfranken +msgid "Unterfranken" msgstr "" -#. Android resource: @strings/map_download_eta -msgid "ETA" +#. Android resource: @strings/berlin +msgid "Berlin" msgstr "" -#. Android resource: @strings/map_download_title -msgid "Map download" +#. Android resource: @strings/brandenburg +msgid "Brandenburg" msgstr "" -msgid "Vehicle Position" +#. Android resource: @strings/bremen +msgid "Bremen" msgstr "" -msgid "Main menu" +#. Android resource: @strings/hamburg +msgid "Hamburg" msgstr "" -msgid "" -"Show\n" -"Map" +#. Android resource: @strings/hessen +msgid "Hessen" msgstr "" -msgid "Settings" +#. Android resource: @strings/mecklenburg_vorpommern +msgid "Mecklenburg-Vorpommern" msgstr "" -msgid "Tools" +#. Android resource: @strings/niedersachsen +msgid "Niedersachsen" msgstr "" -msgid "Route" +#. Android resource: @strings/nordrhein_westfalen +msgid "Nordrhein-westfalen" msgstr "" -msgid "About" +#. Android resource: @strings/rheinland_pfalz +msgid "Rheinland-Pfalz" msgstr "" -msgid "Quit" +#. Android resource: @strings/saarland +msgid "Saarland" msgstr "" -msgid "Actions" +#. Android resource: @strings/sachsen_anhalt +msgid "Sachsen-Anhalt" msgstr "" -msgid "" -"Former\n" -"Destinations" +#. Android resource: @strings/sachsen +msgid "Sachsen" msgstr "" -msgid "Coordinates" +#. Android resource: @strings/schleswig_holstein +msgid "Schleswig-Holstein" msgstr "" -msgid "" -"Stop\n" -"Navigation" +#. Android resource: @strings/thueringen +msgid "Thueringen" msgstr "" -msgid "Display" +#. Android resource: @strings/mallorca +msgid "Mallorca" msgstr "" -msgid "Fullscreen" +#. Android resource: @strings/galicia +msgid "Galicia" msgstr "" -msgid "Window Mode" +#. Android resource: @strings/scandinavia +msgid "Scandinavia" msgstr "" -msgid "Layers" +#. Android resource: @strings/england +msgid "England" msgstr "" -msgid "Description" +#. Android resource: @strings/buckinghamshire +msgid "Buckinghamshire" msgstr "" -msgid "" -"Drop last \n" -"Waypoint" +#. Android resource: @strings/cambridgeshire +msgid "Cambridgeshire" msgstr "" -msgid "" -"Drop next \n" -"Waypoint" +#. Android resource: @strings/cumbria +msgid "Cumbria" msgstr "" -msgid "Satellite Status" +#. Android resource: @strings/east_yorkshire_with_hull +msgid "East yorkshire with hull" msgstr "" -msgid "NMEA Data" +#. Android resource: @strings/essex +msgid "Essex" msgstr "" -msgid "car_shortest" +#. Android resource: @strings/herefordshire +msgid "Herefordshire" msgstr "" -msgid "car_avoid_tolls" +#. Android resource: @strings/kent +msgid "Kent" msgstr "" -msgid "car_pedantic" +#. Android resource: @strings/lancashire +msgid "Lancashire" msgstr "" -msgid "horse" +#. Android resource: @strings/leicestershire +msgid "Leicestershire" msgstr "" -msgid "Truck" +#. Android resource: @strings/norfolk +msgid "Norfolk" msgstr "" -#. Strings from android/res/values/strings.xml -#. Android resource: @strings/yes -msgid "Yes" +#. Android resource: @strings/nottinghamshire +msgid "Nottinghamshire" msgstr "" -#. Android resource: @strings/notification_ticker -msgid "Navit started" +#. Android resource: @strings/oxfordshire +msgid "Oxfordshire" msgstr "" -#. Android resource: @strings/notification_event_default -msgid "Navit running" +#. Android resource: @strings/shropshire +msgid "Shropshire" msgstr "" -#. Android resource: @strings/initial_info_box_title -msgid "Welcome to Navit" +#. Android resource: @strings/somerset +msgid "Somerset" msgstr "" -#. Android resource: @strings/initial_info_box_message -msgid "" -"Thank you for installing Navit!\n" -"\n" -"To start, select \"Download maps\" from the menu to download a map. Note: " -"The map filesize may be large (>50MB) - a wifi connection is recommended.\n" -"\n" -"Mapdata: (c) OpenStreetMap contributors\n" -"\n" -"Enjoy Navit!" +#. Android resource: @strings/south_yorkshire +msgid "South yorkshire" msgstr "" -#. Android resource: @strings/initial_info_box_OK -msgid "OK" +#. Android resource: @strings/suffolk +msgid "Suffolk" msgstr "" -#. Android resource: @strings/initial_info_box_more_info -msgid "More info" +#. Android resource: @strings/surrey +msgid "Surrey" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_in -msgid "Zoom in" +#. Android resource: @strings/wiltshire +msgid "Wiltshire" msgstr "" -#. Android resource: @strings/optionsmenu_zoom_out -msgid "Zoom out" +#. Android resource: @strings/scotland +msgid "Scotland" msgstr "" -#. Android resource: @strings/optionsmenu_download_maps -msgid "Download maps" +#. Android resource: @strings/wales +msgid "Wales" msgstr "" -#. Android resource: @strings/optionsmenu_toggle_poi -msgid "Toggle POIs" +#. Android resource: @strings/crete +msgid "Crete" msgstr "" -#. Android resource: @strings/optionsmenu_exit_navit -msgid "Exit Navit" +#. Android resource: @strings/north_america +msgid "North America" msgstr "" -#. Android resource: @strings/optionsmenu_backup_restore -msgid "Backup / Restore" +#. Android resource: @strings/alaska +msgid "Alaska" msgstr "" -#. Android resource: @strings/optionsmenu_set_map_location -msgid "Set map location" +#. Android resource: @strings/hawaii +msgid "Hawaii" msgstr "" -#. Android resource: @strings/map_delete -msgid "Delete this map?" +#. Android resource: @strings/usa +msgid "USA" msgstr "" -#. Android resource: @strings/map_download_downloading -msgid "Downloading:" +#. Android resource: @strings/except_alaska_and_hawaii +msgid "(except Alaska and Hawaii)" msgstr "" -#. Android resource: @strings/map_download_download_error -msgid "Error downloading map." +#. Android resource: @strings/midwest +msgid "Midwest" msgstr "" -#. Android resource: @strings/map_download_download_aborted -msgid "Map download aborted" +#. Android resource: @strings/michigan +msgid "Michigan" msgstr "" -#. Android resource: @strings/map_no_fix -msgid "No location. Reopen after location fix." +#. Android resource: @strings/ohio +msgid "Ohio" msgstr "" -#. Android resource: @strings/maps_for_current_location -msgid "Maps containing current location" +#. Android resource: @strings/northeast +msgid "Northeast" msgstr "" -#. Android resource: @strings/address_search_title -msgid "Address search" +#. Android resource: @strings/massachusetts +msgid "Massachusetts" msgstr "" -#. Android resource: @strings/address_enter_destination -msgid "Enter destination" +#. Android resource: @strings/vermont +msgid "Vermont" msgstr "" -#. Android resource: @strings/address_partial_match -msgid "Match partial address" +#. Android resource: @strings/pacific +msgid "Pacific" msgstr "" -#. Android resource: @strings/address_search_searching -msgid "Searching..." +#. Android resource: @strings/south +msgid "South" msgstr "" -#. Android resource: @strings/address_search_not_found -msgid "Address not found" +#. Android resource: @strings/arkansas +msgid "Arkansas" msgstr "" -#. Android resource: @strings/address_search_getting_results -msgid "Getting search results" +#. Android resource: @strings/district_of_columbia +msgid "District of Columbia" msgstr "" -#. Android resource: @strings/address_search_loading_results -msgid "Loading search results" +#. Android resource: @strings/florida +msgid "Florida" msgstr "" -#. Android resource: @strings/address_search_no_results -msgid "No results found" +#. Android resource: @strings/louisiana +msgid "Louisiana" msgstr "" -#. Android resource: @strings/address_search_no_text_entered -msgid "No text entered" +#. Android resource: @strings/maryland +msgid "Maryland" msgstr "" -#. Android resource: @strings/address_search_set_destination -msgid "Setting destination to:" +#. Android resource: @strings/mississippi +msgid "Mississippi" msgstr "" -#. Android resource: @strings/choose_an_action -msgid "Choose an action" +#. Android resource: @strings/oklahoma +msgid "Oklahoma" msgstr "" -#. Android resource: @strings/please_insert_an_sd_card -msgid "Please insert an SD Card" +#. Android resource: @strings/texas +msgid "Texas" msgstr "" -#. Android resource: @strings/backing_up -msgid "Backing up..." +#. Android resource: @strings/virginia +msgid "Virginia" msgstr "" -#. Android resource: @strings/restoring -msgid "Restoring..." +#. Android resource: @strings/west_virginia +msgid "West Virginia" msgstr "" -#. Android resource: @strings/failed_to_create_backup_directory -msgid "Failed to create backup directory" +#. Android resource: @strings/west +msgid "West" msgstr "" -#. Android resource: @strings/backup_failed -msgid "Backup failed" +#. Android resource: @strings/arizona +msgid "Arizona" msgstr "" -#. Android resource: @strings/no_backup_found -msgid "No backup found" +#. Android resource: @strings/california +msgid "California" msgstr "" -#. Android resource: @strings/failed_to_restore -msgid "Failed to restore" +#. Android resource: @strings/colorado +msgid "Colorado" msgstr "" -#. Android resource: @strings/backup_successful -msgid "Backup successful" +#. Android resource: @strings/idaho +msgid "Idaho" msgstr "" -#. Android resource: @strings/restore_successful_please_restart_navit -msgid "" -"Restore Successful\n" -"Please restart Navit" +#. Android resource: @strings/montana +msgid "Montana" msgstr "" -#. Android resource: @strings/backup_not_found -msgid "Backup not found" +#. Android resource: @strings/new_mexico +msgid "New Mexico" msgstr "" -#. Android resource: @strings/restore_failed -msgid "Restore failed" +#. Android resource: @strings/nevada +msgid "Nevada" msgstr "" -#. Android resource: @strings/select_backup -msgid "Select backup" +#. Android resource: @strings/oregon +msgid "Oregon" msgstr "" -#. Android resource: @strings/backup -msgid "Backup" +#. Android resource: @strings/utah +msgid "Utah" msgstr "" -#. Android resource: @strings/restore -msgid "Restore" +#. Android resource: @strings/washington_state +msgid "Washington State" msgstr "" -#. Android resource: @strings/TTS_title_data_missing -msgid "System text to speech engine data is missing" +#. Android resource: @strings/south_middle_america +msgid "South+Middle America" msgstr "" -#. Android resource: @strings/TTS_qery_install_data -msgid "" -"Navit can use any text to speech engine installed on your device. The " -"currently selected engine reports it is unable to speak in your language. " -"Should we ask the system to show voice download dialog?" +#. Android resource: @strings/guyane_francaise +msgid "Guyane Francaise" msgstr "" diff --git a/scripts/ci_sanity_checks.sh b/scripts/ci_sanity_checks.sh index 33d05263c..de46d5f15 100755 --- a/scripts/ci_sanity_checks.sh +++ b/scripts/ci_sanity_checks.sh @@ -24,12 +24,7 @@ check_diff(){ } # List the files that are different from the trunk -from=$(git rev-parse refs/remotes/origin/trunk) -to=$(git rev-parse HEAD) -interval=${from}..${to} -[[ "${from}" == "${to}" ]] && interval=${to} - -for f in $(git diff --name-only ${interval} | sort -u); do +for f in $(git diff --name-only refs/remotes/origin/trunk | sort -u); do if [[ "${f}" =~ navit/support/ ]] || [[ "${f}" =~ navit/fib-1\.1/ ]] || [[ "${f}" =~ navit/traffic/permanentrestrictions/ ]] ; then echo "[DEBUG] Skipping file ${f} ..." continue |