Make some labels in Places modules translatable (patch from Igor Murzov)
SVN revision: 81480
This commit is contained in:
parent
9e8aa01db6
commit
9750dafbe3
|
@ -8,7 +8,7 @@ subdir = po
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
# These options get passed to xgettext.
|
# These options get passed to xgettext.
|
||||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ \
|
XGETTEXT_OPTIONS = --keyword=D_ --keyword=N_ \
|
||||||
--keyword=EVRY_PLUGIN_BASE:1 --keyword=EVRY_ACTION_NEW:1 \
|
--keyword=EVRY_PLUGIN_BASE:1 --keyword=EVRY_ACTION_NEW:1 \
|
||||||
--from-code=UTF-8 --foreign-user
|
--from-code=UTF-8 --foreign-user
|
||||||
|
|
||||||
|
|
|
@ -135,10 +135,10 @@ _begin(Evry_Plugin *plugin, const Evry_Item *item)
|
||||||
|
|
||||||
EVRY_PLUGIN_INSTANCE(p, plugin);
|
EVRY_PLUGIN_INSTANCE(p, plugin);
|
||||||
|
|
||||||
_item_add(p, N_("Home"), e_user_homedir_get(), _mime_dir, NULL);
|
_item_add(p, D_("Home"), e_user_homedir_get(), _mime_dir, NULL);
|
||||||
|
|
||||||
e_user_dir_concat_static(path, "backgrounds");
|
e_user_dir_concat_static(path, "backgrounds");
|
||||||
_item_add(p, N_("Wallpaper"), path, _mime_dir, NULL);
|
_item_add(p, D_("Wallpaper"), path, _mime_dir, NULL);
|
||||||
|
|
||||||
_gtk_bookmarks_add(p);
|
_gtk_bookmarks_add(p);
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
# define _(string) dgettext(PACKAGE, string)
|
# define D_(string) dgettext(PACKAGE, string)
|
||||||
#else
|
#else
|
||||||
# define bindtextdomain(domain,dir)
|
# define bindtextdomain(domain,dir)
|
||||||
# define bind_textdomain_codeset(domain,codeset)
|
# define bind_textdomain_codeset(domain,codeset)
|
||||||
# define _(string) (string)
|
# define D_(string) (string)
|
||||||
#endif
|
#endif
|
||||||
#define N_(str) (str)
|
#define N_(str) (str)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue