Mercurial > geeqie
annotate src/intl.h @ 1145:3a7af6a8cd5f
Use functions to return directories instead of constants.
Following functions were added:
get_collections_dir()
get_metadata_cache_dir()
get_rc_dir()
get_thumbnails_cache_dir()
get_trash_dir()
They return the full directory path.
author | zas_ |
---|---|
date | Sat, 15 Nov 2008 17:30:45 +0000 |
parents | 1646720364cf |
children | fffb62c7ba1e |
rev | line source |
---|---|
1 | 1 #ifndef __INTL_H__ |
2 #define __INTL_H__ | |
3 | |
4 #ifdef ENABLE_NLS | |
5 # include <libintl.h> | |
6 # define _(String) dgettext(PACKAGE,String) | |
7 # ifdef gettext_noop | |
8 # define N_(String) gettext_noop(String) | |
9 # else | |
10 # define N_(String) (String) | |
11 # endif /* gettext_noop */ | |
12 #else | |
13 # define _(String) (String) | |
14 # define N_(String) (String) | |
15 # define textdomain(String) (String) | |
16 # define gettext(String) (String) | |
17 # define dgettext(Domain,String) (String) | |
18 # define dcgettext(Domain,String,Type) (String) | |
442 | 19 # define bindtextdomain(Domain,Directory) (Domain) |
9 | 20 # define bind_textdomain_codeset(Domain,String) (Domain) |
1 | 21 #endif /* ENABLE_NLS */ |
22 | |
9 | 23 #endif |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
442
diff
changeset
|
24 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |