GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71793
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glocale.h File Reference
#include <grass/config.h>
#include <grass/defs/glocale.h>
Include dependency graph for glocale.h:

Go to the source code of this file.

Macros

#define _(str)   (str)
 
#define n_(strs, strp, num)   ((num == 1) ? (strs) : (strp))
 

Macro Definition Documentation

#define _ (   str)    (str)

Definition at line 13 of file glocale.h.

Referenced by AS_class_apply_algorithm(), AS_class_equiprob(), AS_option_to_algorithm(), Cairo_begin_raster(), Cairo_Bitmap(), cairo_read_bmp(), cairo_read_ppm(), cairo_read_xid(), cairo_write_bmp(), cairo_write_ppm(), cairo_write_xid(), close_g3d_file(), D_open_driver(), D_parse_color(), D_plot_icon(), db__recv_table_data(), db__recv_value(), db_convert_Cstring_to_value(), db_convert_value_to_string(), db_delete_table(), db_error(), db_get_column(), db_get_index_column_name(), db_get_table_number_of_rows(), db_legal_tablename(), db_memory_error(), db_noproc_error(), db_procedure_not_implemented(), db_protocol_error(), db_select_CatValArray(), db_select_int(), db_select_value(), db_set_default_connection(), db_set_index_column_name(), db_start_driver_open_database(), db_table_exists(), dig__fread_port_O(), dig__fwrite_port_O(), dig_add_area(), dig_add_isle(), dig_area_add_isle(), dig_area_del_isle(), dig_del_area(), dig_del_isle(), dig_del_line(), dig_file_load(), dig_fwrite(), dig_load_plus(), dig_node_line_angle(), dig_out_of_memory(), dig_Rd_Plus_head(), dig_Rd_spidx_head(), dig_read_cidx_head(), dig_read_frmt_ascii(), dig_spidx_del_area(), dig_spidx_del_isle(), dig_spidx_del_line(), dig_spidx_del_node(), dig_Wr_spidx_head(), dig_write_plus_file(), G__calloc(), G__check_gisinit(), G__check_option_rules(), G__describe_option_rules(), G__gisinit(), G__malloc(), G__matrix_add(), G__no_gisinit(), G__read_Cell_head_array(), G__realloc(), G__usage_html(), G__usage_rest(), G__usage_xml(), G__wps_print_process_description(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_bz2_compress(), G_bz2_expand(), G_check_compressor(), G_check_input_output_name(), G_color_rules_descriptions(), G_compress(), G_config_path(), G_database_projection_name(), G_debug(), G_define_standard_flag(), G_define_standard_option(), G_distance_point_to_line_segment(), G_done_msg(), G_expand(), G_fseek(), G_get_3dview(), G_get_element_window(), G_get_projinfo(), G_get_projunits(), G_get_units_name(), G_getenv(), G_getenv2(), G_home(), G_init_logging(), G_legal_filename(), G_list(), G_list_element(), G_location_path(), G_ls2(), G_make_mapset(), G_mapset(), G_mapset_path(), G_math_cholesky_sband_decomposition(), G_math_solver_cholesky(), G_math_solver_gauss(), G_math_solver_gs(), G_math_solver_jacobi(), G_math_solver_lu(), G_math_solver_sparse_gs(), G_math_solver_sparse_jacobi(), G_matrix_copy(), G_matrix_init(), G_matrix_inverse(), G_matrix_LU_solve(), G_matrix_product(), G_matrix_read(), G_matrix_scalar_mul(), G_matrix_set(), G_matrix_set_element(), G_matvect_extract_vector(), G_matvect_get_column(), G_matvect_get_row(), G_matvect_product(), G_mkstemp(), G_myname(), G_open_option_file(), G_option_to_separator(), G_owner(), G_parser(), G_projection_name(), G_put_3dview(), G_read_datum_table(), G_read_ellipsoid_table(), G_read_key_value_file(), G_read_vector_timestamp(), G_srand48_auto(), G_vector_copy(), G_vector_norm1(), G_vector_norm_euclid(), G_vector_norm_maxval(), G_vector_product(), G_vector_set(), G_vector_sub(), G_write_key_value_file(), G_write_vector_timestamp(), gk_make_framesfromkeys(), gk_make_linear_framesfromkeys(), GK_print_keys(), GK_update_frames(), Gp_load_sites(), Gp_load_sites_thematic(), GP_str_to_marker(), GPJ__get_datum_params(), GPJ__get_ellipsoid_params(), GPJ_get_datum_transform_by_name(), GPJ_grass_to_osr(), GPJ_osr_to_grass(), Gs_build_256lookup(), GS_get_cat_at_xy(), Gs_get_cat_label(), Gs_load_3dview(), GS_load_att_map(), Gs_loadmap_as_bitmap(), Gs_loadmap_as_char(), Gs_loadmap_as_float(), Gs_loadmap_as_int(), Gs_loadmap_as_short(), Gs_numtype(), Gs_pack_colors(), Gs_pack_colors_float(), gs_put_label(), GS_write_ppm(), GS_write_tif(), GS_write_zoom(), gsd_put_legend(), gsd_rot(), gsd_wall(), gsdrape_set_surface(), Gv_load_vect(), Gv_load_vect_thematic(), Gvl_load_colors_data(), GVL_load_vol(), HTML_Graph_set(), I_cluster_begin(), I_cluster_exec(), I_compute_georef_equations_tps(), I_compute_scatts(), I_create_cat_rast(), I_fopen_group_file_append(), I_fopen_group_file_new(), I_fopen_group_file_old(), I_fopen_sigset_file_new(), I_fopen_subgroup_file_append(), I_fopen_subgroup_file_new(), I_fopen_subgroup_file_old(), I_get_control_points(), I_get_target(), I_iclass_analysis(), I_iclass_init_group(), I_iclass_statistics_get_histo(), I_iclass_statistics_get_max(), I_iclass_statistics_get_mean(), I_iclass_statistics_get_min(), I_iclass_statistics_get_product(), I_iclass_statistics_get_range_max(), I_iclass_statistics_get_range_min(), I_iclass_statistics_get_stddev(), I_iclass_statistics_get_sum(), I_iclass_write_signatures(), I_insert_patch_to_cat_rast(), I_list_group(), I_list_subgroup(), I_put_control_points(), I_rasterize(), if(), IL_create_bitmask(), IL_grid_calc_2d(), IL_interp_segments_2d(), IL_interp_segments_2d_parallel(), IL_output_2d(), IL_resample_output_2d(), IL_vector_input_data_2d(), IL_write_temp_2d(), M_define_option(), M_do_copy(), M_do_list(), M_do_remove(), M_do_rename(), M_read_list(), main(), make_perimeter(), make_statistics(), N_define_standard_option(), N_gwflow_2d_calc_water_budget(), N_gwflow_3d_calc_water_budget(), N_read_rast3d_to_array_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), NetA_articulation_points(), NetA_betweenness_closeness(), NetA_compute_bridges(), NetA_eigenvector_centrality(), NetA_find_path(), NetA_flow(), NetA_get_node_costs(), NetA_init_distinct(), NetA_init_timetable_from_db(), NetA_initialise_varray(), NetA_min_cut(), NetA_spanning_tree(), NetA_split_vertices(), NetA_strongly_connected_components(), NetA_timetable_shortest_path(), NetA_varray_to_nodes(), NetA_weakly_connected_components(), Nviz_color_from_str(), Nviz_create_render_window(), Nviz_new_light(), Nviz_new_map_obj(), Nviz_set_focus_state(), open_g3d_file(), P_Create_Aux2_Table(), P_Create_Aux4_Table(), P_popmatrix(), P_pushmatrix(), P_Sparse_Points(), parse_fontcap(), pg_addedge(), pj_do_proj(), pj_do_transform(), pj_get_kv(), pj_get_string(), pj_print_proj_params(), PNG_Graph_set(), process_point(), PS_Graph_set(), Rast3d_close(), Rast3d_get_standard3d_params(), Rast3d_open_cell_new(), Rast3d_open_cell_old(), Rast3d_open_cell_old_no_header(), Rast3d_rewrite_header(), Rast3d_set_window_params(), Rast3d_write_colors(), Rast__check_for_auto_masking(), Rast__check_fp_type(), Rast__check_init(), Rast__close_null(), Rast__null_bitstream_size(), Rast__open_null_write(), Rast__open_old(), Rast__quant_import(), Rast__read_null_bits(), Rast__read_null_row_ptrs(), Rast__read_row_ptrs(), Rast__write_null_bits(), Rast_close(), Rast_close_gdal_write_link(), Rast_create_gdal_link(), Rast_get_cellhd(), Rast_get_reclass(), Rast_get_sample(), Rast_get_window(), Rast_make_random_colors(), Rast_map_is_fp(), Rast_map_type(), Rast_mask_info(), Rast_option_to_interp_type(), Rast_parse_color_rule_error(), Rast_put_cell_title(), Rast_put_cellhd(), Rast_put_reclass(), Rast_quantize_fp_map(), Rast_read_cats(), Rast_read_color_rule(), Rast_read_color_rules(), Rast_read_colors(), Rast_read_fp_range(), Rast_read_histogram(), Rast_read_history(), Rast_read_range(), Rast_read_vector_cats(), Rast_set_fp_type(), Rast_set_null_value(), Rast_set_quant_rules(), Rast_set_window(), Rast_short_history(), Rast_unopen(), Rast_window_cols(), Rast_window_rows(), Rast_write_colors(), Rast_write_fp_range(), Rast_write_history(), Rast_write_quant(), Rast_write_range(), read_coor(), read_datum_table(), read_ellipsoid_table(), read_png(), Rowio_setup(), S_read(), Segment_open(), show_colormode(), SimpleErrorMessage(), tgis_set_default_connection(), V1_close_nat(), V1_close_ogr(), V1_close_pg(), V1_delete_line_ogr(), V1_delete_line_pg(), V1_open_new_ogr(), V1_open_new_pg(), V1_open_old_nat(), V1_open_old_ogr(), V1_open_old_pg(), V1_read_line_ogr(), V1_read_line_pg(), V1_read_next_line_ogr(), V1_read_next_line_pg(), V1_rewind_ogr(), V1_rewind_pg(), V1_rewrite_line_ogr(), V1_rewrite_line_pg(), V1_write_line_ogr(), V1_write_line_pg(), V2__delete_line_from_topo_nat(), V2__write_area_sfa(), V2_close_ogr(), V2_close_pg(), V2_delete_line_nat(), V2_delete_line_pg(), V2_delete_line_sfa(), V2_open_old_ogr(), V2_open_old_pg(), V2_read_line_nat(), V2_read_line_pg(), V2_read_line_sfa(), V2_read_next_line_ogr(), V2_read_next_line_pg(), V2_restore_line_nat(), V2_rewind_ogr(), V2_rewind_pg(), V2_rewrite_line_nat(), V2_rewrite_line_pg(), V2_rewrite_line_sfa(), V2_write_line_pg(), V2_write_line_sfa(), Vect__build_sfa(), Vect__copy_areas(), Vect__delete(), Vect__get_area_points(), Vect__open_old(), Vect__open_topo_pg(), Vect__read_head(), Vect__write_head(), Vect_add_dblink(), Vect_append_point(), Vect_area_alive(), Vect_break_polygons_file(), Vect_break_polygons_mem(), Vect_build_line_area(), Vect_build_nat(), Vect_build_ogr(), Vect_build_partial(), Vect_build_pg(), Vect_build_sidx(), Vect_build_sidx_from_topo(), Vect_cat_set(), Vect_cats_in_constraint(), Vect_cats_set_constraint(), Vect_check_input_output_name(), Vect_cidx_get_cat_by_index(), Vect_cidx_open(), Vect_cidx_save(), Vect_clean_small_angles_at_nodes(), Vect_close(), Vect_coor_info(), Vect_copy(), Vect_copy_map_dblinks(), Vect_copy_map_lines_field(), Vect_copy_table_by_cats(), Vect_copy_tables(), Vect_default_field_info(), Vect_delete_line(), Vect_fidx_dump(), Vect_get_area_boundaries(), Vect_get_area_box(), Vect_get_area_centroid(), Vect_get_area_isle(), Vect_get_area_num_isles(), Vect_get_area_points(), Vect_get_area_points_geos(), Vect_get_centroid_area(), Vect_get_dblink(), Vect_get_finfo_dsn_name(), Vect_get_finfo_format_info(), Vect_get_finfo_geometry_type(), Vect_get_finfo_layer_name(), Vect_get_finfo_topology_info(), Vect_get_isle_area(), Vect_get_isle_boundaries(), Vect_get_isle_box(), Vect_get_isle_points(), Vect_get_line_areas(), Vect_get_line_box(), Vect_get_line_nodes(), Vect_get_map_box1(), Vect_get_next_line_id(), Vect_get_node_coor(), Vect_get_point_in_poly(), Vect_get_proj_name(), Vect_graph_add_edge(), Vect_graph_build(), Vect_graph_shortest_path(), Vect_isle_alive(), Vect_isle_find_area(), Vect_legal_filename(), Vect_level(), Vect_line_alive(), Vect_line_check_intersection(), Vect_line_check_intersection2(), Vect_line_delete_point(), Vect_line_get_point(), Vect_line_insert_point(), Vect_line_segment(), Vect_map_add_dblink(), Vect_map_del_dblink(), Vect_maptype_info(), Vect_merge_lines(), Vect_net_build_graph(), Vect_net_get_line_cost(), Vect_net_ttb_build_graph(), Vect_net_ttb_shortest_path(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_new_map_struct(), Vect_node_alive(), Vect_open_fidx(), Vect_open_sidx(), Vect_open_topo(), Vect_overlay(), Vect_overlay_and(), Vect_read_area_geos(), Vect_read_ascii(), Vect_read_ascii_head(), Vect_read_dblinks(), Vect_read_line(), Vect_read_line_geos(), Vect_read_next_line(), Vect_remove_duplicates(), Vect_remove_small_areas_ext(), Vect_remove_small_areas_nat(), Vect_rename(), Vect_restore_line(), Vect_rewrite_line(), Vect_save_fidx(), Vect_save_frmt(), Vect_save_sidx(), Vect_save_topo(), Vect_segment_intersection(), Vect_set_constraint_field(), Vect_set_db_updated(), Vect_set_open_level(), Vect_set_varray_from_cat_list(), Vect_set_varray_from_cat_string(), Vect_set_varray_from_db(), Vect_sfa_get_num_features(), Vect_sfa_line_astext(), Vect_snap_lines(), Vect_spatial_index_del_item(), Vect_str_to_cat_list(), Vect_topo_check(), Vect_write_ascii(), Vect_write_colors(), Vect_write_dblinks(), Vect_write_line(), vector2perimeters(), Vedit_delete_area(), Vedit_delete_area_centroid(), Vedit_delete_lines(), Vedit_modify_cats(), and write_png().

#define n_ (   strs,
  strp,
  num 
)    ((num == 1) ? (strs) : (strp))