forked from enlightenment/efl
parent
cab9a46afc
commit
76b65ed331
|
@ -16,6 +16,7 @@ autom4te.cache/
|
|||
/config.log
|
||||
/config.status
|
||||
/config.sub
|
||||
/config.rpath
|
||||
/configure
|
||||
/depcomp
|
||||
doc/Doxyfile
|
||||
|
@ -45,4 +46,106 @@ src/tests/efreet_cache_test
|
|||
src/tests/efreet_icon_cache_dump
|
||||
src/tests/efreet_spec_test
|
||||
src/tests/efreet_test
|
||||
/m4/codeset.m4
|
||||
/m4/gettext.m4
|
||||
/m4/glibc21.m4
|
||||
/m4/iconv.m4
|
||||
/m4/intdiv0.m4
|
||||
/m4/intmax.m4
|
||||
/m4/inttypes-pri.m4
|
||||
/m4/inttypes.m4
|
||||
/m4/inttypes_h.m4
|
||||
/m4/isc-posix.m4
|
||||
/m4/lcmessage.m4
|
||||
/m4/lib-ld.m4
|
||||
/m4/lib-link.m4/m4/codeset.m4
|
||||
/m4/gettext.m4
|
||||
/m4/glibc21.m4
|
||||
/m4/iconv.m4
|
||||
/m4/intdiv0.m4
|
||||
/m4/intmax.m4
|
||||
/m4/inttypes-pri.m4
|
||||
/m4/inttypes.m4
|
||||
/m4/inttypes_h.m4
|
||||
/m4/isc-posix.m4
|
||||
/m4/lcmessage.m4
|
||||
/m4/lib-ld.m4
|
||||
/m4/lib-link.m4
|
||||
/m4/lib-prefix.m4
|
||||
/m4/libtool.m4
|
||||
/m4/longdouble.m4
|
||||
/m4/longlong.m4
|
||||
/m4/ltoptions.m4
|
||||
/m4/ltsugar.m4
|
||||
/m4/ltversion.m4
|
||||
/m4/lt~obsolete.m4
|
||||
/m4/nls.m4
|
||||
/m4/po.m4
|
||||
/m4/printf-posix.m4
|
||||
/m4/progtest.m4
|
||||
/m4/signed.m4
|
||||
/m4/size_max.m4
|
||||
/m4/stdint_h.m4
|
||||
/m4/uintmax_t.m4
|
||||
/m4/ulonglong.m4
|
||||
/m4/wchar_t.m4
|
||||
/m4/wint_t.m4
|
||||
/m4/xsize.m4
|
||||
/m4/glibc2.m4
|
||||
/m4/lib-prefix.m4
|
||||
/m4/libtool.m4
|
||||
/m4/longdouble.m4
|
||||
/m4/longlong.m4
|
||||
/m4/ltoptions.m4
|
||||
/m4/ltsugar.m4
|
||||
/m4/ltversion.m4
|
||||
/m4/lt~obsolete.m4
|
||||
/m4/nls.m4
|
||||
/m4/po.m4
|
||||
/m4/printf-posix.m4
|
||||
/m4/progtest.m4
|
||||
/m4/signed.m4
|
||||
/m4/size_max.m4
|
||||
/m4/stdint_h.m4
|
||||
/m4/uintmax_t.m4
|
||||
/m4/ulonglong.m4
|
||||
/m4/wchar_t.m4
|
||||
/m4/wint_t.m4
|
||||
/m4/xsize.m4
|
||||
/m4/glibc2.m4
|
||||
/m4/intl.m4
|
||||
/m4/intldir.m4
|
||||
/m4/intlmacosx.m4
|
||||
/m4/lock.m4
|
||||
/m4/visibility.m4/m4/intl.m4
|
||||
/m4/intldir.m4
|
||||
/m4/intlmacosx.m4
|
||||
/m4/lock.m4
|
||||
/m4/visibility.m4
|
||||
/po/Makefile.in.in
|
||||
/po/Makevars.template
|
||||
/po/POTFILES
|
||||
/po/Rules-quot
|
||||
/po/boldquot.sed
|
||||
/po/ecore.pot
|
||||
/po/en@boldquot.header
|
||||
/po/en@quot.header
|
||||
/po/insert-header.sin
|
||||
/po/quot.sed
|
||||
/po/remove-potcdate.sed
|
||||
/po/remove-potcdate.sin
|
||||
/po/stamp-po
|
||||
/po/Makefile.in.in
|
||||
/po/Makevars.template
|
||||
/po/POTFILES
|
||||
/po/Rules-quot
|
||||
/po/boldquot.sed
|
||||
/po/ecore.pot
|
||||
/po/en@boldquot.header
|
||||
/po/en@quot.header
|
||||
/po/insert-header.sin
|
||||
/po/quot.sed
|
||||
/po/remove-potcdate.sed
|
||||
/po/remove-potcdate.sin
|
||||
/po/stamp-po
|
||||
/stamp-h1
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = src doc
|
||||
if HAVE_PO
|
||||
SUBDIRS += po
|
||||
endif
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
Makefile.in \
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
rm -rf autom4te.cache
|
||||
rm -f aclocal.m4 ltmain.sh
|
||||
|
||||
touch README
|
||||
touch ABOUT-NLS
|
||||
|
||||
echo "Running autopoint..." ; autopoint -f || :
|
||||
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
|
||||
echo "Running autoheader..." ; autoheader || exit 1
|
||||
echo "Running autoconf..." ; autoconf || exit 1
|
||||
|
|
|
@ -57,6 +57,23 @@ AC_SUBST(release_info)
|
|||
VMAJ=v_maj
|
||||
AC_SUBST(VMAJ)
|
||||
|
||||
AM_GNU_GETTEXT_VERSION(0.17)
|
||||
|
||||
m4_ifdef([AM_GNU_GETTEXT], [
|
||||
AM_GNU_GETTEXT([external])
|
||||
po_makefile_in=po/Makefile.in
|
||||
have_po="yes"
|
||||
],[
|
||||
have_po="no"
|
||||
])
|
||||
AC_SUBST(LTLIBINTL)
|
||||
|
||||
if test "x${POSUB}" = "x" ; then
|
||||
have_po="no"
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
|
||||
|
||||
### Needed information
|
||||
|
||||
AC_CANONICAL_BUILD
|
||||
|
@ -231,6 +248,7 @@ src/tests/Makefile
|
|||
src/tests/data/Makefile
|
||||
src/tests/data/sub/Makefile
|
||||
src/tests/compare/Makefile
|
||||
$po_makefile_in
|
||||
])
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
# Makefile variables for PO directory in any package using GNU gettext.
|
||||
|
||||
# Usually the message domain is the same as the package name.
|
||||
DOMAIN = $(PACKAGE)
|
||||
|
||||
# These two variables depend on the location of this directory.
|
||||
subdir = po
|
||||
top_builddir = ..
|
||||
|
||||
# These options get passed to xgettext.
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=UTF-8 --foreign-user
|
||||
|
||||
# This is the copyright holder that gets inserted into the header of the
|
||||
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
||||
# package. (Note that the msgstr strings, extracted from the package's
|
||||
# sources, belong to the copyright holder of the package.) Translators are
|
||||
# expected to transfer the copyright for their translations to this person
|
||||
# or entity, or to disclaim their copyright. The empty string stands for
|
||||
# the public domain; in this case the translators are expected to disclaim
|
||||
# their copyright.
|
||||
COPYRIGHT_HOLDER = Enlightenment development team
|
||||
|
||||
# This is the email address or URL to which the translators shall report
|
||||
# bugs in the untranslated strings:
|
||||
# - Strings which are not entire sentences, see the maintainer guidelines
|
||||
# in the GNU gettext documentation, section 'Preparing Strings'.
|
||||
# - Strings which use unclear terms or require additional context to be
|
||||
# understood.
|
||||
# - Strings which make invalid assumptions about notation of date, time or
|
||||
# money.
|
||||
# - Pluralisation problems.
|
||||
# - Incorrect English spelling.
|
||||
# - Incorrect formatting.
|
||||
# It can be your email address, or a mailing list address where translators
|
||||
# can write to without being subscribed, or the URL of a web page through
|
||||
# which the translators can contact you.
|
||||
MSGID_BUGS_ADDRESS = enlightenment-devel@lists.sourceforge.net
|
||||
|
||||
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
||||
# message catalogs shall be used. It is usually empty.
|
||||
EXTRA_LOCALE_CATEGORIES =
|
|
@ -0,0 +1 @@
|
|||
src/lib/efreet_base.c
|
|
@ -0,0 +1,22 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Enlightenment development team
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: efreet 1.2.99.72770\n"
|
||||
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2012-06-24 20:19+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: src/lib/efreet_base.c:122
|
||||
msgid "/Desktop"
|
||||
msgstr ""
|
|
@ -119,7 +119,7 @@ EAPI const char *
|
|||
efreet_desktop_dir_get(void)
|
||||
{
|
||||
if (xdg_desktop_dir) return xdg_desktop_dir;
|
||||
xdg_desktop_dir = efreet_dir_get("XDG_DESKTOP_DIR", "/Desktop");
|
||||
xdg_desktop_dir = efreet_dir_get("XDG_DESKTOP_DIR", _("/Desktop"));
|
||||
return xdg_desktop_dir;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
#ifndef EFREET_PRIVATE_H
|
||||
#define EFREET_PRIVATE_H
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
# include <libintl.h>
|
||||
# define _(str) dgettext(PACKAGE, str)
|
||||
#else
|
||||
# define _(str) (str)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @file efreet_private.h
|
||||
* @brief Contains methods and defines that are private to the Efreet
|
||||
|
|
Loading…
Reference in New Issue