Revert previous commit. Damn svn, didn't mean to delete the whole dir.

SVN revision: 84558
This commit is contained in:
Tom Hacohen 2013-06-17 09:48:48 +00:00
parent 7b92dceb80
commit c0007723d8
78 changed files with 3619 additions and 0 deletions

2
AUTHORS Normal file
View File

@ -0,0 +1,2 @@
Originally by Matthew Mullins.
Recoded into seperate modules by Christopher 'devilhorns' Michael <devilhorns@comcast.net>

32
COPYING Normal file
View File

@ -0,0 +1,32 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies of the Software and its Copyright notices. In addition publicly
documented acknowledgment must be given that this software has been used if no
source code of this software is made available publicly. Making the source
available publicly means including the source for this software with the
distribution, or a method to get this software via some reasonable mechanism
(electronic transfer via a network or media) as well as making an offer to
supply the source on request. This Copyright notice serves as an offer to
supply the source on on request as well. Instead of this, supplying
acknowledgments of use of this software in either Copyright notices, Manuals,
Publicity and Marketing documents or any documentation provided with any
product containing this software. This License does not apply to any software
that links to the libraries provided by this software (statically or
dynamically), but only to the software provided.
Please see the COPYING-PLAIN for a plain-english explanation of this notice
and its intent.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

33
COPYING-PLAIN Normal file
View File

@ -0,0 +1,33 @@
Plain English Copyright Notice
This file is not intended to be the actual License. The reason this file
exists is that we here are programmers and engineers. We aren't lawyers. We
provide licenses that we THINK say the right things, but we have our own
intentions at heart. This is a plain-english explanation of what those
intentions are, and if you follow them you will be within the "spirit" of
the license.
The intent is for us to enjoy writing software that is useful to us (the
AUTHORS) and allow others to use it freely and also benefit from the work we
put into making it. We don't want to restrict others using it. They should
not *HAVE* to make the source code of the applications they write that
simply link to these libraries (be that statically or dynamically), or for
them to be limited as to what license they choose to use (be it open, closed
or anything else). But we would like to know you are using these libraries.
We simply would like to know that it has been useful to someone. This is why
we ask for acknowledgement of some sort.
You can do what you want with the source of this software - it doesn't
matter. We still have it here for ourselves and it is open and free to use
and download and play with. It can't be taken away. We don't really mind what
you do with the source to your software. We would simply like to know that
you are using it - especially if it makes it to a commerical product. If you
simply e-mail all the AUTHORS (see COPYING and AUTHORS files) telling us, and
then make sure you include a paragraph or page in the manual for the product
with the copyright notice and state that you used this software, we will be
very happy. If you want to contribute back modifications and fixes you may have
made we will welcome those too with open arms (generally). If you want help
with changes needed, ports needed or features to be added, arrangements can
be easily made with some dialogue.
Christopher Michael <devilhorns@comcast.net>

0
ChangeLog Normal file
View File

11
INSTALL Normal file
View File

@ -0,0 +1,11 @@
COMPILING and INSTALLING:
If you got a official release tar archive do:
./autogen.sh
Then to compile:
make
To install:
make install

33
Makefile.am Normal file
View File

@ -0,0 +1,33 @@
ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
config.sub configure depcomp install-sh ltmain.sh \
missing module.desktop config.rpath mkinstalldirs
SUBDIRS = src
if HAVE_PO
SUBDIRS += po
endif
EDJE_FLAGS = -v \
-id $(top_srcdir)/images
filesdir = $(datadir)
files_DATA = module.desktop e-module-mem.edj mem.edj
EXTRA_DIST = module.desktop.in \
e_modules-mem.spec.in \
e-module-mem.edc \
mem.edc \
$(wildcard images/*.png)
%.edj: %.edc
$(EDJE_CC) $(EDJE_FLAGS) $< $@
clean-local:
rm -rf e-module-mem.edj mem.edj module.desktop e_modules-mem.spec *~
uninstall:
rm -rf $(DESTDIR)$(datadir)

0
NEWS Normal file
View File

0
README Normal file
View File

17
autogen.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
rm -rf autom4te.cache
rm -f aclocal.m4 ltmain.sh
touch README
echo "Running autopoint..." ; autopoint -f || :
echo "Running aclocal..." ; aclocal -I m4 $ACLOCAL_FLAGS || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then
./configure "$@"
fi

92
configure.ac Normal file
View File

@ -0,0 +1,92 @@
dnl Process this file with autoconf to produce a configure script.
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT(mem, 0.1.0, enlightenment-devel@lists.sourceforge.net)
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR(configure.ac)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_ISC_POSIX
AM_INIT_AUTOMAKE(1.6)
AC_CONFIG_HEADERS(config.h)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_PROG_CC
AC_HEADER_STDC
AC_C_CONST
define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
AC_PROG_LIBTOOL
m4_ifdef([AM_GNU_GETTEXT_VERSION], [
AM_GNU_GETTEXT_VERSION([0.14])
])
m4_ifdef([AM_GNU_GETTEXT], [
AM_GNU_GETTEXT([external])
po_makefile_in=po/Makefile.in
AM_CONDITIONAL([HAVE_PO], [true])
],[
AM_CONDITIONAL([HAVE_PO], [false])
])
AC_SUBST(LTLIBINTL)
PKG_CHECK_MODULES(E, [enlightenment])
release=$(pkg-config --variable=release enlightenment)
MODULE_ARCH="$host_os-$host_cpu-$release"
AC_SUBST(MODULE_ARCH)
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
uname=`uname`
AM_CONDITIONAL(BUILD_LINUX, test x$uname = xLinux)
AM_CONDITIONAL(BUILD_FREEBSD, test x$uname = xFreeBSD)
AM_CONDITIONAL(BUILD_NETBSD, test x$uname = xNetBSD)
case $uname in
FreeBSD*)
machdep_libs=
;;
Linux*)
machdep_libs=
;;
NetBSD*)
machdep_libs="-lkvm"
;;
esac
AC_SUBST(machdep_libs)
# Find edje_cc
PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
AC_ARG_WITH(edje-cc,
AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]),
[
v=$withval;
EDJE_CC=$v
],[
EDJE_CC=$(pkg-config --variable=prefix edje)/bin/edje_cc
]
)
AC_SUBST(EDJE_CC)
AC_MSG_CHECKING([Which edje_cc to use])
AC_MSG_RESULT(${EDJE_CC})
datadir=$(pkg-config --variable=modules enlightenment)/${PACKAGE}
AC_ARG_ENABLE(homedir-install,
AS_HELP_STRING([--enable-homedir-install], [Install module in homedir]),
[ datadir="${HOME}/.e/e/modules/${PACKAGE}" ]
)
AC_OUTPUT([
Makefile
src/Makefile
e_modules-mem.spec
module.desktop
$po_makefile_in
], [
])

32
e-module-mem.edc Normal file
View File

@ -0,0 +1,32 @@
images {
image: "module_icon.png" COMP;
}
collections {
group {
name: "icon";
max: 48 48;
parts {
part {
name: "image";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.00;
visible: 1;
aspect: 1.00 1.00;
rel1 {
relative: 0.00 0.00;
offset: 0 0;
}
rel2 {
relative: 1.00 1.00;
offset: -1 -1;
}
image {
normal: "module_icon.png";
}
}
}
}
}
}

48
e_modules-mem.spec.in Normal file
View File

@ -0,0 +1,48 @@
%define module_name mem
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
Summary: %{module_name} module for the Enlightenment window manager
Name: e_modules-%{module_name}
Version: @VERSION@
Release: %{_rel}
License: BSD
Group: User Interface/Desktops
URL: http://www.enlightenment.org/
Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{module_name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
BuildRequires: ecore-devel, evas-devel, edje-bin
BuildRequires: edje-devel, eet-devel, enlightenment-devel >= 0.16.999
Requires: enlightenment >= 0.16.999
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{module_name} module for the Enlightenment window manager.
%prep
%setup -q -n %{module_name}-%{version}
%build
%{configure}
%{__make} %{?_smp_mflags} %{?mflags}
%install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
%{find_lang} %{module_name} || true > %{module_name}.lang
%clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files -f %{module_name}.lang
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README
%{_libdir}/enlightenment/modules/%{module_name}*
%changelog

BIN
images/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/module_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
images/real_00.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

BIN
images/real_01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

BIN
images/real_02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

BIN
images/real_03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

BIN
images/real_04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

BIN
images/real_05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

BIN
images/real_06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 975 B

BIN
images/real_07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/real_08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/real_09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/real_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/swap_00.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

BIN
images/swap_01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

BIN
images/swap_02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

BIN
images/swap_03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

BIN
images/swap_04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/swap_05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
images/swap_06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/swap_07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
images/swap_08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
images/swap_09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
images/swap_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

0
m4/.svnignore Normal file
View File

454
mem.edc Normal file
View File

@ -0,0 +1,454 @@
images
{
image: "icon.png" COMP;
image: "real_00.png" COMP;
image: "real_01.png" COMP;
image: "real_02.png" COMP;
image: "real_03.png" COMP;
image: "real_04.png" COMP;
image: "real_05.png" COMP;
image: "real_06.png" COMP;
image: "real_07.png" COMP;
image: "real_08.png" COMP;
image: "real_09.png" COMP;
image: "real_10.png" COMP;
image: "swap_00.png" COMP;
image: "swap_01.png" COMP;
image: "swap_02.png" COMP;
image: "swap_03.png" COMP;
image: "swap_04.png" COMP;
image: "swap_05.png" COMP;
image: "swap_06.png" COMP;
image: "swap_07.png" COMP;
image: "swap_08.png" COMP;
image: "swap_09.png" COMP;
image: "swap_10.png" COMP;
}
collections
{
group
{
name: "modules/mem/main";
min: 4 4;
max: 128 128;
script
{
public message(Msg_Type:type, id, ...)
{
if ((type == MSG_FLOAT) && (id == 1))
{
new Float:value;
value = getfarg(2);
set_state(PART:"real_meter", "default", value);
}
if ((type == MSG_FLOAT) && (id == 2))
{
new Float:value;
value = getfarg(2);
set_state(PART:"swap_meter", "default", value);
}
}
}
parts
{
part
{
name: "fade_clip";
type: RECT;
description
{
state: "default" 0.0;
color: 255 255 255 255;
rel1
{
relative: 0.0 0.0;
offset: 0 0;
}
rel2
{
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
part
{
name: "mem";
type: IMAGE;
clip_to: "fade_clip";
description
{
state: "default" 0.0;
aspect: 1.0 1.0;
aspect_preference: BOTH;
rel1
{
relative: 0.0 0.0;
offset: 0 0;
}
rel2
{
relative: 1.0 1.0;
offset: -1 -1;
}
image
{
normal: "icon.png";
}
color: 255 255 255 192;
}
}
part
{
name: "real_meter";
type: IMAGE;
clip_to: "fade_clip";
description
{
state: "default" 0.0;
rel1
{
relative: 0.0 0.0;
offset: 0 0;
}
rel2
{
relative: 1.0 0.25;
offset: -1 -1;
}
image
{
normal: "real_00.png";
}
color: 255 255 255 192;
}
description
{
state: "default" 0.1;
inherit: "default" 0.0;
image
{
normal: "real_01.png";
}
}
description
{
state: "default" 0.2;
inherit: "default" 0.0;
image
{
normal: "real_02.png";
}
}
description
{
state: "default" 0.3;
inherit: "default" 0.0;
image
{
normal: "real_03.png";
}
}
description
{
state: "default" 0.4;
inherit: "default" 0.0;
image
{
normal: "real_04.png";
}
}
description
{
state: "default" 0.5;
inherit: "default" 0.0;
image
{
normal: "real_05.png";
}
}
description
{
state: "default" 0.6;
inherit: "default" 0.0;
image
{
normal: "real_06.png";
}
}
description
{
state: "default" 0.7;
inherit: "default" 0.0;
image
{
normal: "real_07.png";
}
}
description
{
state: "default" 0.8;
inherit: "default" 0.0;
image
{
normal: "real_08.png";
}
}
description
{
state: "default" 0.9;
inherit: "default" 0.0;
image
{
normal: "real_09.png";
}
}
description
{
state: "default" 1.0;
inherit: "default" 0.0;
image
{
normal: "real_10.png";
}
}
}
part
{
name: "real_label";
type: TEXT;
effect: SOFT_SHADOW;
description
{
state: "default" 0.0;
color: 255 255 255 0;
color3: 0 0 0 0;
visible: 0;
rel1
{
relative: 0.5 0.0;
offset: 0 0;
to: "real_meter";
}
rel2
{
relative: 0.5 1.0;
offset: -1 -1;
to: "real_meter";
}
text
{
text: "Real:";
font: "Sans:style=Mono";
size: 9;
min: 1 1;
align: 0.5 1.0;
text_class: "module_small";
}
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
color3: 0 0 0 42;
color_class: "module_label";
}
}
part
{
name: "swap_meter";
type: IMAGE;
clip_to: "fade_clip";
description
{
state: "default" 0.0;
rel1
{
relative: 0.0 0.75;
offset: 0 0;
}
rel2
{
relative: 1.0 1.0;
offset: -1 -1;
}
image
{
normal: "swap_00.png";
}
color: 255 255 255 192;
}
description
{
state: "default" 0.1;
inherit: "default" 0.0;
image
{
normal: "swap_01.png";
}
}
description
{
state: "default" 0.2;
inherit: "default" 0.0;
image
{
normal: "swap_02.png";
}
}
description
{
state: "default" 0.3;
inherit: "default" 0.0;
image
{
normal: "swap_03.png";
}
}
description
{
state: "default" 0.4;
inherit: "default" 0.0;
image
{
normal: "swap_04.png";
}
}
description
{
state: "default" 0.5;
inherit: "default" 0.0;
image
{
normal: "swap_05.png";
}
}
description
{
state: "default" 0.6;
inherit: "default" 0.0;
image
{
normal: "swap_06.png";
}
}
description
{
state: "default" 0.7;
inherit: "default" 0.0;
image
{
normal: "swap_07.png";
}
}
description
{
state: "default" 0.8;
inherit: "default" 0.0;
image
{
normal: "swap_08.png";
}
}
description
{
state: "default" 0.9;
inherit: "default" 0.0;
image
{
normal: "swap_09.png";
}
}
description
{
state: "default" 1.0;
inherit: "default" 0.0;
image
{
normal: "swap_10.png";
}
}
}
part
{
name: "swap_label";
type: TEXT;
effect: SOFT_SHADOW;
description
{
state: "default" 0.0;
color: 255 255 255 0;
color3: 0 0 0 0;
visible: 0;
rel1
{
relative: 0.5 0.0;
offset: 0 0;
to: "swap_meter";
}
rel2
{
relative: 0.5 1.0;
offset: -1 -1;
to: "swap_meter";
}
text
{
text: "Swap:";
font: "Sans:style=Mono";
size: 9;
min: 1 1;
align: 0.5 1.0;
text_class: "module_small";
}
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
color3: 0 0 0 42;
color_class: "module_label";
}
}
}
programs
{
program
{
name: "go_active";
signal: "label_active";
source: "";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.5;
target: "real_label";
target: "swap_label";
}
program
{
name: "go_passive2";
signal: "label_passive2";
source: "";
action: ACTION_STOP;
target: "go_active";
}
program
{
name: "go_passive";
signal: "label_passive";
source: "";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "real_label";
target: "swap_label";
}
}
}
}

22
module.desktop.in Normal file
View File

@ -0,0 +1,22 @@
[Desktop Entry]
Type=Link
Name=Mem
Name[ru]=Память
Name[eo]=Memoro
Name[hu]=Memória
Name[fr]=Mémoire
Name[el]=Μνήμη
Name[pt]=Memória
Icon=e-module-mem
X-Enlightenment-ModuleType=system
Comment=Used to monitor memory utilization.
Comment[ru]=Используется для мониторинга использования памяти.
Comment[cs]=Zobrazí využití paměti.
Comment[eo]=Elrigardi la uzadon de memoro.
Comment[es]=Utilizado para monitorizar el uso de la memoria.
Comment[gl]=Empregado para monitorizar o uso da memoria.
Comment[hu]=A fizikai memória foglaltságát jelzi ki.
Comment[it]=Usato per il monitoraggio dell'utilizzo della memoria.
Comment[fr]=Affiche l'utilisation de la mémoire.
Comment[el]=Χρησιμοποιείται για την παρατήρηση της μνήμης.
Comment[pt]=Utilizado para monitorizar a memória utilizada

1
po/LINGUAS Normal file
View File

@ -0,0 +1 @@
ar bg ca cs de el eo es fi fr gl he hr hu it ja lt nb nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN

41
po/Makevars Normal file
View File

@ -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=N_ --keyword=D_ --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 =

5
po/POTFILES.in Normal file
View File

@ -0,0 +1,5 @@
src/e_mod_config.c
src/e_mod_main.c
src/e_mod_main.h
src/machdep_freebsd.c
src/machdep_linux.c

71
po/ar.po Normal file
View File

@ -0,0 +1,71 @@
# Arabic translation for mem.
# This file is put in the public domain.
# sameeer hussain <almusalimalmusalimah> 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: mem module\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2010-09-09 08:00-0700\n"
"PO-Revision-Date: 2012-01-24 20:44+0300\n"
"Last-Translator: سمير حسين <almusalimalmusalimah@gmail.com>\n"
"Language-Team: Arabic <almusalimalmusalimah@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Arabic\n"
"X-Poedit-Country: SAUDI ARABIA\n"
"X-Poedit-SourceCharset: utf-8\n"
#: ../src/e_mod_config.c:43
#| msgid "General Settings"
msgid "Mem Settings"
msgstr "إعدادات وحدة Mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "اﻹعدادات العامة"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "اعرض النص دائماً"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "اعرض النص عند مرور الفأرة"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "أعرض النص كنسبة"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "تجاهل الصِوان"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "تجاهل المخزن"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "فاصل الفحص :"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f ثواني"
#: ../src/e_mod_main.c:108
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:167
#| msgid "General Settings"
msgid "Settings"
msgstr "اﻹعدادات"
#~ msgid "Mem Configuration"
#~ msgstr "إعدادات مِم"
#~ msgid "Configuration"
#~ msgstr "الإعدادات"

63
po/bg.po Normal file
View File

@ -0,0 +1,63 @@
# Bulgarian translation for enlightenment
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-11-05 16:07+0800\n"
"PO-Revision-Date: 2009-09-25 16:19+0000\n"
"Last-Translator: vlood <vlood.vassilev@gmail.com>\n"
"Language-Team: Bulgarian <bg@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-11-12 04:50+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Конфигурация на Mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Общи настройки"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Винаги показвай текста"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Показвай текста при преминаване с мишката"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Показвай текста като процент"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Игнорирай буферите"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Игнорирай кеша"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Интервал от време за проверка:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f·секунди"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Настройка"

66
po/ca.po Normal file
View File

@ -0,0 +1,66 @@
msgid ""
msgstr ""
"Project-Id-Version: Marc Furtià  i Puig\\\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2013-01-29 18:09+0100\n"
"PO-Revision-Date: 2013-02-01 09:53+0100\n"
"Last-Translator: Marc Furtià i Puig <marc.furtia@gmail.com>\n"
"Language-Team: \n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Bookmarks: -1,-1,1139,-1,-1,-1,-1,-1,-1,-1\n"
"X-Generator: Poedit 1.5.4\n"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Preferències Mem"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Preferències Generals"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Mostrar sempre text"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Mostrar text quan el ratolí sigui sobre"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Mostrar Text en percentatge"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignora Búfers"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignora lCaché"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Taxa de comprovació:"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segons"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Mem"
#: src/e_mod_main.c:162
msgid "Settings"
msgstr "Preferències "
#~ msgid "Mem Configuration"
#~ msgstr "Configuración de Mem"
#~ msgid "Configuration"
#~ msgstr "Configuración"

69
po/cs.po Normal file
View File

@ -0,0 +1,69 @@
# Czech translation.
# This file is put in the public domain.
# quaker66@gmail.com
# Vít Pelčák <vit@pelcak.org>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: Mem\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2011-10-16 14:36+0200\n"
"PO-Revision-Date: 2011-10-15 13:05+0200\n"
"Last-Translator: Vít Pelčák <vit@pelcak.org>\n"
"Language-Team: Czech <kde-i18n-doc@kde.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 1.2\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#: ../src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Nastavení Mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Obecná nastavení"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Vždy zobrazit text"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Zobrazit text, když je na ikoně kurzor"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Zobrazit text jako procenta"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorovat buffery"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorovat cache"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Interval kontroly:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekund"
#: ../src/e_mod_main.c:108
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Settings"
msgstr "Nastavení"
#~ msgid "Mem Configuration"
#~ msgstr "Nastavení mem modulu"
#~ msgid "Configuration"
#~ msgstr "Konfigurace"

69
po/de.po Normal file
View File

@ -0,0 +1,69 @@
# German translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2010-11-23 23:43+0100\n"
"PO-Revision-Date: 2009-11-07 18:14+0000\n"
"Last-Translator: MixCool <lars.thoms@mixcool.de>\n"
"Language-Team: German <de@li.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-11-12 04:50+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Speichermodul-Einstellungen"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Allgemeine Einstellungen"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Text immer zeigen"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Beim Überfahren mit dem Mauszeiger Text anzeigen"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Text in Prozent anzeigen"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Puffer ignorieren"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Gecachtes ignorieren"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Abfrageintervall:"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f Sekunden"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Speichermodul"
#: src/e_mod_main.c:167
msgid "Settings"
msgstr "Einstellungen"
#~ msgid "Mem Configuration"
#~ msgstr "Mem Einstellungen"
#~ msgid "Configuration"
#~ msgstr "Einstellungen"

61
po/el.po Normal file
View File

@ -0,0 +1,61 @@
# translation of el.po to Greek
# Mem module (e17), Finnish translation
# This file is put in the public domain.
#
#
msgid ""
msgstr ""
"Project-Id-Version: el\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-02-08 20:56+0000\n"
"Last-Translator: Galatsanos Panagiotis <Unknown>\n"
"Language-Team: Greek <en@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Ρύθμιση Mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Γενικές Ρυθμίσεις"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Εμφάνιση Κειμένου Πάντα"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Εμφάνιση Κειμένου όταν βρίσκεται Πάνω το Ποντίκι"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Εμφάνιση Κειμένου Ως Ποσοστό"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr ""
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Αγνόησε αποθηκευμένα"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Χρονικό Διάστημα Ελέγχου:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f δευτερόλεπτα"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Ρύθμιση"

62
po/eo.po Normal file
View File

@ -0,0 +1,62 @@
# translation of eo.po to
# This file is put in the public domain.
# Olivier M.<olivierweb@ifrance.com>
#
msgid ""
msgstr ""
"Project-Id-Version: eo\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2012-12-04 13:32+0100\n"
"PO-Revision-Date: 2012-11-26 09:49+0000\n"
"Last-Translator: Eliovir <Unknown>\n"
"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2012-12-05 05:27+0000\n"
"X-Generator: Launchpad (build 16335)\n"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Agordoj de Memoro"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Ĝeneralaj agordoj"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Ĉiam montri tekson"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Montri tekston kiam muso supras"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Montri tekston kiel procento"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignori bufrojn"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignori kaŝmemoron"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Kontroli intervalon:"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekundoj"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Memoro"
#: src/e_mod_main.c:162
msgid "Settings"
msgstr "Agordoj"

63
po/es.po Normal file
View File

@ -0,0 +1,63 @@
# Spanish translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
#
# chilicuil <Unknown>, 2008.
# Francisco Perez Lopez, 2008.
# DiegoJ <diegojromerolopez@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-04-11 14:30+0000\n"
"Last-Translator: DiegoJ <diegojromerolopez@gmail.com>\n"
"Language-Team: Spanish\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Configuración de Mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Preferencias generales"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Mostrar siempre texto"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Mostrar etiquetas cuando el raton pase sobre el elemento"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Mostrar la información en porcentajes"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorar búfers"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorar la caché"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Tasa de comprobación:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Configuración"

60
po/fi.po Normal file
View File

@ -0,0 +1,60 @@
# Mem module (e17), Finnish translation
# This file is put in the public domain.
# Jani väyrynen <janivayrynen@gmail.com>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: Mem module (e17)\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2008-01-23 01:50+0200\n"
"Last-Translator: Jani väyrynen <janivayrynen@gmail.com>\n"
"Language-Team: Finnish <janivayrynen@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Muistin asetukset"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Yleisasetukset"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Näytä teksti aina"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Näytä teksti hiiren ollessa kohdalla"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Näytä teksti prosentteina"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ohita puskurit"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ohita välimuisti"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Tarkistusväli:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekuntia"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Muisti"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Asetukset"

66
po/fr.po Normal file
View File

@ -0,0 +1,66 @@
# Mem module (e17), French translation.
# This file is put in the public domain.
# batden <batden@orange.fr>, 2009, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: Mem module\n"
"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
"POT-Creation-Date: 2012-12-04 13:32+0100\n"
"PO-Revision-Date: 2012-12-07 09:27+0000\n"
"Last-Translator: batden <Unknown>\n"
"Language-Team: French <pourunmondesansgourou@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2012-12-08 05:06+0000\n"
"X-Generator: Launchpad (build 16341)\n"
"X-Poedit-Country: FRANCE\n"
"Language: \n"
"X-Poedit-Language: French\n"
"X-Poedit-SourceCharset: utf-8\n"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Paramétrage de Mémoire"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Paramètres généraux"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Toujours afficher le texte"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Afficher le texte au survol"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Afficher le texte en pourcentage"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorer les tampons de fichiers"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorer la mémoire cache"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Intervalle des vérifications :"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f secondes"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Mémoire"
#: src/e_mod_main.c:162
msgid "Settings"
msgstr "Configuration"

62
po/gl.po Normal file
View File

@ -0,0 +1,62 @@
# Galician translation of mem
# This file is put in the public domain.
# Aníbal Garrido <khany@member.trisquel.info>, 2012.
#
msgid ""
msgstr ""
"Project-Id-Version: mem\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2012-08-30 19:32+0200\n"
"PO-Revision-Date: 2012-09-17 12:30+0200\n"
"Last-Translator: Aníbal Garrido <khany@member.trisquel.info>\n"
"Language-Team: http://trasno.net/ <proxecto@trasno.net>\n"
"Language: gl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Mem"
#: src/e_mod_main.c:162
msgid "Settings"
msgstr "Configuración"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Configuración de Mem"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Configuración Xeral"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Amosar sempre o texto"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Amosar o texto ó pór o rato enriba"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Amosa-lo texto como porcentaxe"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorar búferes"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorar a caché"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Intervalo de Comprobación:"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"

60
po/he.po Normal file
View File

@ -0,0 +1,60 @@
# Hebrew translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# Yaron <sh.yaron@gmail.com>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2008-11-29 21:38+0000\n"
"Last-Translator: Yaron <sh.yaron@gmail.com>\n"
"Language-Team: Hebrew <he@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "תצורת הזכרון"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "הגדרות כלליות"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "הצג טקסט תמיד"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "הצג טקסט עם העברת סמן העכבר"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "הצג טקסט כאחוזים"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "התעלם מחוצצים"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "התעלם ממטמון"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "המתנה בין בדיקות:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f שניות"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "זיכרון"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "תצורה"

63
po/hr.po Normal file
View File

@ -0,0 +1,63 @@
# Croatian translation for enlightenment
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-02-12 23:22+0000\n"
"Last-Translator: Miro Glavic <glavicmiro@gmail.com>\n"
"Language-Team: Croatian <hr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-04-12 06:45+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Konfiguracija Mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Opće Postavke"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Uvijek Prikaži Tekst"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Prikaži Tekst Kad je Miš Preko"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Prikaži Tekst Kao Postotak"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignoriraj Međuspremnike"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignoriraj Priručno Memorirano"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Provjeri Interval:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekundi"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Konfiguracija"

63
po/hu.po Normal file
View File

@ -0,0 +1,63 @@
# translation of mem.po to hungarian
# Copyright (C) YEAR Enlightenment development team
# This file is distributed under the same license as the PACKAGE package.
#
# Lisovszki <lisovszki@gmail.com>, 2008.
msgid ""
msgstr ""
"Project-Id-Version: mem\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:31+0800\n"
"PO-Revision-Date: 2008-02-02 20:54+0100\n"
"Last-Translator: Lisovszki <lisovszki@gmail.com>\n"
"Language-Team: hungarian <hu@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Memória beállítások"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Általános beállítások"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Mindig mutasd a szöveget"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Szöveg megjelenítésa, ha az egér felette van"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Szöveg százalékban"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Tárolók elvetése"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Gyorsítótár elvetése"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Ellenőrzés Időköz:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f másodperc"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Memória"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Beállítás"

60
po/it.po Normal file
View File

@ -0,0 +1,60 @@
# Italian translation for E17 mem module.
# This file is put in the public domain.
# Massimo Maiurana <maiurana@inwind.it>, 2005.
#
msgid ""
msgstr ""
"Project-Id-Version: Mem\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2010-09-10 12:29+0200\n"
"PO-Revision-Date: 2010-09-10 12:43+0200\n"
"Last-Translator: Massimo Maiurana <maiurana@inwind.it>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8-bit\n"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Impostazioni di Mem"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Impostazioni generali"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Mostra testo sempre"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Mostra testo al passaggio del mouse"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Mostra testo come percentuale"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignora buffer"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignora cache"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Frequenza di aggiornamento:"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f secondi"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Mem"
#: src/e_mod_main.c:167
msgid "Settings"
msgstr "Impostazioni"

70
po/ja.po Normal file
View File

@ -0,0 +1,70 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Yasufumi Haga <yasufumi.haga@nifty.com>, 2006
#
msgid ""
msgstr ""
"Project-Id-Version: Mem\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2008-03-20 15:49+0900\n"
"Last-Translator: Yasufumi Haga <yasufumi.haga@nifty.com>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "mem の設定"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "一般の設定"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "常に表示する"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "マウスが乗れば表示する"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "百分率で表示する"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "バッファは無視する"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "キャッシュは無視する"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "監視間隔"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f 秒"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr ""
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "設定"
#~ msgid "Enlightenment Mem Monitor Module"
#~ msgstr "Enlightenment メモリ監視モジュール"
#~ msgid "This module is used to monitor memory."
#~ msgstr "これはメモリを監視するためのモジュールです."
#~ msgid "Show Graph"
#~ msgstr "グラフを表示する"

64
po/lt.po Normal file
View File

@ -0,0 +1,64 @@
# Lithuanian translation for enlightenment
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
"POT-Creation-Date: 2012-12-04 13:32+0100\n"
"PO-Revision-Date: 2013-01-05 22:14+0000\n"
"Last-Translator: Mantas Kriaučiūnas <mantas@akl.lt>\n"
"Language-Team: Lithuanian <lt@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-01-06 04:52+0000\n"
"X-Generator: Launchpad (build 16393)\n"
"Language: lt\n"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Mem nustatymai"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Bendri nustatymai"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Visada rodyti tekstą"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Rodyti tekstą užvedus pelės kursorių"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Rodyti tekstą kaip procentus"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignoruoti buferius"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignoruoti podėlį"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Tikrinimo intervalas:"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekundės"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Atmintis"
#: src/e_mod_main.c:162
msgid "Settings"
msgstr "Nustatymai"

63
po/nb.po Normal file
View File

@ -0,0 +1,63 @@
# Norwegian Bokmal translation for enlightenment
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-03-21 15:17+0000\n"
"Last-Translator: Kenneth Langdalen <Unknown>\n"
"Language-Team: Norwegian Bokmal <nb@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-04-12 06:45+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr ""
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr ""
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr ""
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr ""
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr ""
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr ""
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr ""
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Kontrollintervall:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekunder"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr ""
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Konfigurasjon"

67
po/nl.po Normal file
View File

@ -0,0 +1,67 @@
# Dutch translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2011-09-04 07:02-0700\n"
"PO-Revision-Date: 2011-09-04 16:13+0100\n"
"Last-Translator: Heimen Stoffels <vistausss@gmail.com>\n"
"Language-Team: Dutch <nl@li.org>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Mem-configuratie"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Algemene instellingen"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Toon altijd tekst"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Toon tekst bij muisover"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Toon tekst als percentage"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Negeer buffers"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Negeer gecachede gegevens"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Controle-interval:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f seconden"
#: ../src/e_mod_main.c:108
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Settings"
msgstr "Instellingen"
#~ msgid "Mem Configuration"
#~ msgstr "Mem Configuratie"
#~ msgid "Configuration"
#~ msgstr "Configuratie"

60
po/pl.po Normal file
View File

@ -0,0 +1,60 @@
# Polish translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# Stanislaw Gackowski <launchpad@soeb.eu>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-02-24 09:22+0000\n"
"Last-Translator: Stanislaw Gackowski <launchpad@soeb.eu>\n"
"Language-Team: Polish <pl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Konfiguracja Pam"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Ustawienia ogólne"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Zawsze pokazuj tekst"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Pokazuj tekst przy najechaniu myszą"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Pokazuj tekst jako procent"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignoruj bufory"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignoruj cache"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Częstotliwość sprawdzania:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekund"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Pam"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Konfiguracja"

68
po/pt.po Normal file
View File

@ -0,0 +1,68 @@
# Portuguese translation for mem
# This file is distributed under the same license as the enlightenment package.
# Adaptado ao acordo ortográfico de 1990
# Sérgio Marques <smarquespt@gmail.com>, 2010.
# Sérgio Marques <sarquespt@gmail.com>, 2010.
msgid ""
msgstr ""
"Project-Id-Version: mem\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2010-09-09 08:00-0700\n"
"PO-Revision-Date: 2012-08-25 01:19+0100\n"
"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Poedit-Language: Portuguese\n"
"X-Poedit-Country: Portugal\n"
"X-Generator: Lokalize 1.1\n"
#: ../src/e_mod_config.c:43
#| msgid "General Settings"
msgid "Mem Settings"
msgstr "Definições"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Definições gerais"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Mostrar sempre o texto"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Mostrar texto ao passar com o rato"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Mostrar texto como percentagem"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorar \"buffers\""
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorar \"cache\""
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Intervalo de verificação:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"
#: ../src/e_mod_main.c:108
msgid "Mem"
msgstr "Memória"
#: ../src/e_mod_main.c:167
#| msgid "General Settings"
msgid "Settings"
msgstr "Definições"

60
po/pt_BR.po Normal file
View File

@ -0,0 +1,60 @@
# Brazilian Portuguese translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# Enrico Nicoletto <liverig@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-01-10 19:27+0000\n"
"Last-Translator: Enrico Nicoletto <liverig@gmail.com>\n"
"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Configuração do mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Configurações gerais"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Sempre mostrar texto"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Mostrar texto ao passar com o mouse"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Mostrar texto como porcentagem"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorar buffers"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorar com cache"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Intervalo de checagem"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Configuração"

66
po/ru.po Normal file
View File

@ -0,0 +1,66 @@
# Russian translation for E17 mem module.
# This file is put in the public domain.
# Copyright (C) 2006 Stanislav Sedov
#
msgid ""
msgstr ""
"Project-Id-Version: Mem\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-06-06 17:58+0000\n"
"Last-Translator: Stanislav Sedov <Unknown>\n"
"Language-Team: none\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "ðÁÒÁÍÅÔÒÙ ÍÏÄÕÌÑ mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "ïÓÎÏ×ÎÙÅ ÐÁÒÁÍÅÔÒÙ"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "÷ÓÅÇÄÁ ÏÔÏÂÒÁÖÁÔØ ÔÅËÓÔÏ×ÙÅ ÐÏÄÐÉÓÉ"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "ïÔÏÂÒÁÖÁÔØ ÔÅËÓÔÏ×ÙÅ ÐÏÄÐÉÓÉ ÐÒÉ ÎÁ×ÅÄÅÎÉÉ ÕËÁÚÁÔÅÌÑ ÍÙÛÉ"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "ïÔÏÂÒÁÖÁÔØ ÚÎÁÞÅÎÉÑ × ÐÒÏÃÅÎÔÁÈ"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "éÇÎÏÒÉÒÏ×ÁÔØ ÐÁÍÑÔØ × ÂÕÆÅÒÁÈ"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "éÇÎÏÒÉÒÏ×ÁÔØ ÐÁÍÑÔØ ÄÌÑ ËÅÛÁ"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "éÎÔÅÒ×ÁÌ ÐÒÏ×ÅÒËÉ:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f ÓÅËÕÎÄ(Ù)"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "îÁÓÔÒÏÊËÁ"
#~ msgid "Enlightenment Mem Monitor Module"
#~ msgstr "íÏÄÕÌØ ÓÌÅÖÅÎÉÑ ÚÁ ÐÁÍÑÔØÀ"
#~ msgid "This module is used to monitor memory."
#~ msgstr "üÔÏÔ ÍÏÄÕÌØ ÉÓÐÏÌØÚÕÅÔÓÑ ÄÌÑ ÓÌÅÖÅÎÉÑ ÚÁ ÓÏÓÔÏÑÎÉÅÍ ÐÁÍÑÔÉ."

60
po/sk.po Normal file
View File

@ -0,0 +1,60 @@
# Slovak translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-06-12 16:45+0000\n"
"Last-Translator: milboy <Unknown>\n"
"Language-Team: Slovak <sk@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Konfigurácia modulu mem"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Hlavné nastavenia"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Vždy zobraziť text"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Zobryziť text ak je kurzor na ikonou"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Zobraziť text ako percentá"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorovať vyrovnávaciu pamäť"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorovať rýchlu pamäť"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Interval kontroly"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekúnd"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Konfigurácia"

64
po/sl.po Normal file
View File

@ -0,0 +1,64 @@
# translation of mem.po to Slovenian
# Slovenian translation of Mem_sl.
# This file is put in the public domain.
#
# r1to <renato.rener@gmail.com>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: mem\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2011-02-17 15:00-0800\n"
"PO-Revision-Date: 2011-02-22 09:22+0100\n"
"Last-Translator: r1to <renato.rener@gmail.com>\n"
"Language-Team: Slovenian <sl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#: ../src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Nastavitve Spomina"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Splošne nastavitve"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Vedno prikazuj besedilo"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Prikaži besedilo ob prehodu z miško"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Prikaži besedilo kot odstotek"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ne upoštevaj medpomnilnika"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ne upoštevaj predpomnilnika"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Premor med posodabljanji:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f·sek."
#: ../src/e_mod_main.c:108
msgid "Mem"
msgstr "Spomin"
#: ../src/e_mod_main.c:167
msgid "Settings"
msgstr "Nastavitve"

62
po/sr.po Normal file
View File

@ -0,0 +1,62 @@
#
# Саша Петровић <salepetronije@gmail.com>, 2012.
#
msgid ""
msgstr ""
"Project-Id-Version: trunk\n"
"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
"POT-Creation-Date: 2012-12-04 13:32+0100\n"
"PO-Revision-Date: 2012-12-22 19:12+0000\n"
"Last-Translator: Саша Петровић <salepetronije@gmail.com>\n"
"Language-Team: српски <xfce-i18n@xfce.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2012-12-23 04:42+0000\n"
"X-Generator: Launchpad (build 16378)\n"
"Language: \n"
#: src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Поставке праћења меморије"
#: src/e_mod_config.c:92
msgid "General Settings"
msgstr "Општа подешавања"
#: src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Увек прикажи текст"
#: src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Прикажи текст при надношењу миша"
#: src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Прикажи текст као проценат"
#: src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Занемари међуспремнике"
#: src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Занемари оставу"
#: src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Учесталост провере:"
#: src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f секунди"
#: src/e_mod_main.c:108
msgid "Mem"
msgstr "Праћење меморије"
#: src/e_mod_main.c:162
msgid "Settings"
msgstr "Подешавања"

71
po/sv.po Normal file
View File

@ -0,0 +1,71 @@
# Swedish translation of Mem module for E17.
# This file is put in the public domain.
# Anders Trobäck <enlightenment@troback.com>, 2006.
# Daniel Nylander <yeager@ubuntu.com>, 2009.
#
#
msgid ""
msgstr ""
"Project-Id-Version: Mem module for E17 N/A\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-25 17:14+0800\n"
"PO-Revision-Date: 2009-01-10 12:40+0000\n"
"Last-Translator: Daniel Nylander <yeager@ubuntu.com>\n"
"Language-Team: Swedish\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Minneskonfiguration"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Allmänna inställningar"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Visa alltid text"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Visa text när musen är över"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Visa text som procent"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Ignorera buffertar"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Ignorera cachat"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Kontrollintervall:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr ""
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Minne"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Konfiguration"
#~ msgid "Enlightenment Mem Monitor Module"
#~ msgstr "Enlightenment minnesövervakningsmodul"
#~ msgid "This module is used to monitor memory."
#~ msgstr "Denna modul används för att övervaka minnet."
#~ msgid "Show Graph"
#~ msgstr "Visa graf"

63
po/tr.po Normal file
View File

@ -0,0 +1,63 @@
# Turkish translation for enlightenment
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the enlightenment package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-11-05 16:07+0800\n"
"PO-Revision-Date: 2009-11-13 15:50+0000\n"
"Last-Translator: Mustafa Yılmaz <apshalasha@gmail.com>\n"
"Language-Team: Turkish <tr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-11-14 04:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: ../src/e_mod_config.c:43
msgid "Mem Configuration"
msgstr "Mem Yapılandırması"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Genel Ayarlar"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Metni Hep Göster"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Metni Fare Üzerine Gelince Göster"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Metni Yüzde Olarak Göster"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Tampon Belleği Dikkate Alma"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Önbelleği Dikkate Alma"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Kontrol Sıklığı:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f saniye"
#: ../src/e_mod_main.c:105
msgid "Mem"
msgstr "Mem"
#: ../src/e_mod_main.c:162
msgid "Configuration"
msgstr "Yapılandırma"

71
po/uk.po Normal file
View File

@ -0,0 +1,71 @@
# This file is put in the public domain.
# Daniel Korostil <ted.korostiled@gmail.com>, 2009.
# Korostil Daniel <ted.korostiled@gmail.com>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: mem.HEAD\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2010-09-09 08:00-0700\n"
"PO-Revision-Date: 2011-02-06 07:34+0300\n"
"Last-Translator: Korostil Daniel <ted.korostiled@gmail.com>\n"
"Language-Team: translation@linux.org.ua\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Virtaal 0.6.1\n"
#: ../src/e_mod_config.c:43
#| msgid "General Settings"
msgid "Mem Settings"
msgstr "Налаштування"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "Загальні налаштування"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "Завжди показувати текст"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "Показувати текст при наведені курсора"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "Показувати у відсотках"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "Нехтувати пам'ятю буферів"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "Нехтувати пам'ятю кешу"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "Проміжок перевірки:"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f секунд"
#: ../src/e_mod_main.c:108
msgid "Mem"
msgstr "Пам'ять"
#: ../src/e_mod_main.c:167
#| msgid "General Settings"
msgid "Settings"
msgstr "Налаштування"
#~ msgid "Mem Configuration"
#~ msgstr "Налаштування пам'яті"
#~ msgid "Configuration"
#~ msgstr "Налаштування"

69
po/zh_CN.po Normal file
View File

@ -0,0 +1,69 @@
# Mem module (e17), Simplified Chinese translation.
# Copyright (C) 2008-2009 Free Software Foundation, Inc.
# This file is distributed under the same license as the e17 Mem module.
#
# Aron Xu <aronmalache@163.com>, 2008, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: Mem module (e17)\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2012-12-22 06:00+0800\n"
"PO-Revision-Date: 2012-12-22 06:00+0800\n"
"Last-Translator: Aron Xu <aronmalache@163.com>\n"
"Language-Team: Chinese/Simplified <i18n-translation@lists.linux.net.cn>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/e_mod_config.c:43
msgid "Mem Settings"
msgstr "Mem 设置"
#: ../src/e_mod_config.c:92
msgid "General Settings"
msgstr "常规设置"
#: ../src/e_mod_config.c:94
msgid "Always Show Text"
msgstr "总是显示文本"
#: ../src/e_mod_config.c:96
msgid "Show Text On Mouse Over"
msgstr "鼠标移过时显示"
#: ../src/e_mod_config.c:99
msgid "Show Text As Percent"
msgstr "按百分比显示"
#: ../src/e_mod_config.c:104
msgid "Ignore Buffers"
msgstr "忽略缓冲"
#: ../src/e_mod_config.c:108
msgid "Ignore Cached"
msgstr "忽略缓存"
#: ../src/e_mod_config.c:112
msgid "Check Interval:"
msgstr "检查间隔"
#: ../src/e_mod_config.c:115
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f 秒"
#: ../src/e_mod_main.c:108
msgid "Mem"
msgstr "内存"
#: ../src/e_mod_main.c:162
msgid "Settings"
msgstr "设置"
#~ msgid "Mem Configuration"
#~ msgstr "内存配置"
#~ msgid "Configuration"
#~ msgstr "配置"

31
src/Makefile.am Normal file
View File

@ -0,0 +1,31 @@
MAINTAINERCLEANFILES = Makefile.in e_modules-mem.spec
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(includedir) \
@E_CFLAGS@
pkgdir = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
if BUILD_FREEBSD
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
machdep_freebsd.c \
e_mod_config.c
endif
if BUILD_LINUX
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
machdep_linux.c \
e_mod_config.c
endif
EXTRA_module_la_SOURCES = machdep_linux.c \
machdep_freebsd.c
module_la_LIBADD = @E_LIBS@ @machdep_libs@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
clean-local:
rm -rf *~

140
src/e_mod_config.c Normal file
View File

@ -0,0 +1,140 @@
#include <e.h>
#include "e_mod_main.h"
struct _E_Config_Dialog_Data
{
double poll_time;
int always_text;
int show_percent;
#ifdef __linux__
int real_ignore_buffers;
int real_ignore_cached;
#endif
};
/* Protos */
static void *_create_data (E_Config_Dialog * cfd);
static void _free_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata);
static Evas_Object *_basic_create_widgets (E_Config_Dialog * cfd, Evas * evas,
E_Config_Dialog_Data * cfdata);
static int _basic_apply_data (E_Config_Dialog * cfd,
E_Config_Dialog_Data * cfdata);
static void _fill_data (Config_Item * ci, E_Config_Dialog_Data * cfdata);
/* Config Calls */
void
_config_mem_module (Config_Item * ci)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
E_Container *con;
char buf[4096];
v = E_NEW (E_Config_Dialog_View, 1);
v->create_cfdata = _create_data;
v->free_cfdata = _free_data;
v->basic.apply_cfdata = _basic_apply_data;
v->basic.create_widgets = _basic_create_widgets;
snprintf (buf, sizeof (buf), "%s/e-module-mem.edj",
e_module_dir_get (mem_config->module));
con = e_container_current_get (e_manager_current_get ());
cfd = e_config_dialog_new (con, D_ ("Mem Settings"), "Mem",
"_e_modules_mem_config_dialog", buf, 0, v, ci);
mem_config->config_dialog = cfd;
}
static void
_fill_data (Config_Item * ci, E_Config_Dialog_Data * cfdata)
{
cfdata->poll_time = ci->poll_time;
#ifdef __linux__
cfdata->real_ignore_buffers = ci->real_ignore_buffers;
cfdata->real_ignore_cached = ci->real_ignore_cached;
#endif
// cfdata->show_text = c->conf->show_text;
cfdata->always_text = ci->always_text;
cfdata->show_percent = ci->show_percent;
}
static void *
_create_data (E_Config_Dialog * cfd)
{
E_Config_Dialog_Data *cfdata;
Config_Item *ci;
ci = cfd->data;
cfdata = E_NEW (E_Config_Dialog_Data, 1);
_fill_data (ci, cfdata);
return cfdata;
}
static void
_free_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata)
{
if (!mem_config)
return;
mem_config->config_dialog = NULL;
free (cfdata);
cfdata = NULL;
}
static Evas_Object *
_basic_create_widgets (E_Config_Dialog * cfd, Evas * evas,
E_Config_Dialog_Data * cfdata)
{
Evas_Object *o, *of, *ob;
E_Radio_Group *rg;
o = e_widget_list_add (evas, 0, 0);
of = e_widget_framelist_add (evas, D_ ("General Settings"), 0);
rg = e_widget_radio_group_new (&(cfdata->always_text));
ob = e_widget_radio_add (evas, D_ ("Always Show Text"), 1, rg);
e_widget_framelist_object_append (of, ob);
ob = e_widget_radio_add (evas, D_ ("Show Text On Mouse Over"), 0, rg);
e_widget_framelist_object_append (of, ob);
ob =
e_widget_check_add (evas, D_ ("Show Text As Percent"),
&(cfdata->show_percent));
e_widget_framelist_object_append (of, ob);
#ifdef __linux__
ob =
e_widget_check_add (evas, D_ ("Ignore Buffers"),
&(cfdata->real_ignore_buffers));
e_widget_framelist_object_append (of, ob);
ob =
e_widget_check_add (evas, D_ ("Ignore Cached"),
&(cfdata->real_ignore_cached));
e_widget_framelist_object_append (of, ob);
#endif
ob = e_widget_label_add (evas, D_ ("Check Interval:"));
e_widget_framelist_object_append (of, ob);
ob =
e_widget_slider_add (evas, 1, 0, D_ ("%1.0f seconds"), 1.0, 60.0, 1.0, 0,
&(cfdata->poll_time), NULL, 150);
e_widget_framelist_object_append (of, ob);
e_widget_list_object_append (o, of, 1, 1, 0.5);
return o;
}
static int
_basic_apply_data (E_Config_Dialog * cfd, E_Config_Dialog_Data * cfdata)
{
Config_Item *ci;
ci = cfd->data;
ci->poll_time = cfdata->poll_time;
#ifdef __linux__
ci->real_ignore_buffers = cfdata->real_ignore_buffers;
ci->real_ignore_cached = cfdata->real_ignore_cached;
#endif
ci->always_text = cfdata->always_text;
ci->show_percent = cfdata->show_percent;
e_config_save_queue ();
_mem_config_updated (ci);
return 1;
}

461
src/e_mod_main.c Normal file
View File

@ -0,0 +1,461 @@
#include <e.h>
#include "e_mod_main.h"
typedef struct _Instance Instance;
typedef struct _Mem Mem;
struct _Instance
{
E_Gadcon_Client *gcc;
Evas_Object *mem_obj;
Mem *mem;
Ecore_Timer *check_timer;
Config_Item *ci;
};
struct _Mem
{
Instance *inst;
Evas_Object *mem_obj;
};
/* Func Protos for Gadcon */
static E_Gadcon_Client *_gc_init (E_Gadcon * gc, const char *name,
const char *id, const char *style);
static void _gc_shutdown (E_Gadcon_Client * gcc);
static void _gc_orient (E_Gadcon_Client * gcc, E_Gadcon_Orient orient);
static const char *_gc_label (const E_Gadcon_Client_Class *client_class);
static Evas_Object *_gc_icon (const E_Gadcon_Client_Class *client_class, Evas * evas);
static const char *_gc_id_new (const E_Gadcon_Client_Class *client_class);
/* Func Protos for Module */
static void _mem_cb_mouse_down (void *data, Evas * e, Evas_Object * obj,
void *event_info);
static void _mem_cb_mouse_in (void *data, Evas * e, Evas_Object * obj,
void *event_info);
static void _mem_cb_mouse_out (void *data, Evas * e, Evas_Object * obj,
void *event_info);
static void _mem_menu_cb_configure (void *data, E_Menu * m, E_Menu_Item * mi);
static void _mem_menu_cb_post (void *data, E_Menu * m);
static Config_Item *_mem_config_item_get (const char *id);
static Mem *_mem_new (Evas * evas);
static void _mem_free (Mem * mem);
static Eina_Bool _mem_cb_check (void *data);
static E_Config_DD *conf_edd = NULL;
static E_Config_DD *conf_item_edd = NULL;
Config *mem_config = NULL;
static const E_Gadcon_Client_Class _gc_class =
{
GADCON_CLIENT_CLASS_VERSION, "mem",
{
_gc_init, _gc_shutdown, _gc_orient, _gc_label, _gc_icon, _gc_id_new, NULL, NULL
},
E_GADCON_CLIENT_STYLE_PLAIN
};
static E_Gadcon_Client *
_gc_init (E_Gadcon * gc, const char *name, const char *id, const char *style)
{
E_Gadcon_Client *gcc;
Evas_Object *o;
Instance *inst;
Mem *mem;
inst = E_NEW (Instance, 1);
inst->ci = _mem_config_item_get (id);
mem = _mem_new (gc->evas);
mem->inst = inst;
inst->mem = mem;
o = mem->mem_obj;
gcc = e_gadcon_client_new (gc, name, id, style, o);
gcc->data = inst;
inst->gcc = gcc;
inst->mem_obj = o;
evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_DOWN,
_mem_cb_mouse_down, inst);
evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_IN, _mem_cb_mouse_in,
inst);
evas_object_event_callback_add (o, EVAS_CALLBACK_MOUSE_OUT,
_mem_cb_mouse_out, inst);
if (inst->ci->always_text)
edje_object_signal_emit (inst->mem_obj, "label_active", "");
_mem_cb_check (inst);
inst->check_timer = ecore_timer_add (inst->ci->poll_time, _mem_cb_check, inst);
mem_config->instances = eina_list_append (mem_config->instances, inst);
return gcc;
}
static void
_gc_orient (E_Gadcon_Client * gcc, E_Gadcon_Orient orient)
{
e_gadcon_client_aspect_set (gcc, 32, 16);
e_gadcon_client_min_size_set (gcc, 32, 16);
}
static const char *
_gc_label (const E_Gadcon_Client_Class *client_class)
{
return D_ ("Mem");
}
static Evas_Object *
_gc_icon (const E_Gadcon_Client_Class *client_class, Evas * evas)
{
Evas_Object *o;
char buf[PATH_MAX];
o = edje_object_add (evas);
snprintf (buf, sizeof (buf), "%s/e-module-mem.edj",
e_module_dir_get (mem_config->module));
edje_object_file_set (o, buf, "icon");
return o;
}
static const char *
_gc_id_new (const E_Gadcon_Client_Class *client_class)
{
Config_Item *ci;
ci = _mem_config_item_get (NULL);
return ci->id;
}
static void
_gc_shutdown (E_Gadcon_Client * gcc)
{
Instance *inst;
inst = gcc->data;
if (inst->check_timer)
ecore_timer_del (inst->check_timer);
mem_config->instances = eina_list_remove (mem_config->instances, inst);
_mem_free (inst->mem);
E_FREE (inst);
}
static void
_mem_cb_mouse_down (void *data, Evas * e, Evas_Object * obj, void *event_info)
{
Instance *inst;
Evas_Event_Mouse_Down *ev;
inst = data;
ev = event_info;
if ((ev->button == 3) && (!mem_config->menu))
{
E_Menu *m;
E_Menu_Item *mi;
int x, y, w, h;
m = e_menu_new ();
mi = e_menu_item_new (m);
e_menu_item_label_set (mi, D_ ("Settings"));
e_util_menu_item_theme_icon_set(mi, "preferences-system");
e_menu_item_callback_set (mi, _mem_menu_cb_configure, inst);
m = e_gadcon_client_util_menu_items_append (inst->gcc, m, 0);
e_menu_post_deactivate_callback_set (m, _mem_menu_cb_post, inst);
mem_config->menu = m;
e_gadcon_canvas_zone_geometry_get (inst->gcc->gadcon, &x, &y, &w, &h);
e_menu_activate_mouse (m,
e_util_zone_current_get (e_manager_current_get
()), x + ev->output.x,
y + ev->output.y, 1, 1,
E_MENU_POP_DIRECTION_AUTO, ev->timestamp);
evas_event_feed_mouse_up (inst->gcc->gadcon->evas, ev->button,
EVAS_BUTTON_NONE, ev->timestamp, NULL);
}
}
static void
_mem_menu_cb_post (void *data, E_Menu * m)
{
if (!mem_config->menu)
return;
e_object_del (E_OBJECT (mem_config->menu));
mem_config->menu = NULL;
}
static void
_mem_menu_cb_configure (void *data, E_Menu * m, E_Menu_Item * mi)
{
Instance *inst;
inst = data;
_config_mem_module (inst->ci);
}
void
_mem_config_updated (Config_Item *ci)
{
Eina_List *l;
if (!mem_config)
return;
for (l = mem_config->instances; l; l = l->next)
{
Instance *inst;
inst = l->data;
if (inst->ci != ci) continue;
if (inst->check_timer)
ecore_timer_del (inst->check_timer);
inst->check_timer =
ecore_timer_add (inst->ci->poll_time, _mem_cb_check, inst);
if (inst->ci->always_text)
edje_object_signal_emit (inst->mem_obj, "label_active", "");
else
edje_object_signal_emit (inst->mem_obj, "label_passive", "");
}
}
static Config_Item *
_mem_config_item_get (const char *id)
{
Eina_List *l;
Config_Item *ci;
char buf[128];
if (!id)
{
int num = 0;
/* Create id */
if (mem_config->items)
{
const char *p;
ci = eina_list_last (mem_config->items)->data;
p = strrchr (ci->id, '.');
if (p) num = atoi (p + 1) + 1;
}
snprintf (buf, sizeof (buf), "%s.%d", _gc_class.name, num);
id = buf;
}
else
{
for (l = mem_config->items; l; l = l->next)
{
if (!(ci = l->data)) continue;
if (!strcmp (ci->id, id)) return ci;
}
}
ci = E_NEW (Config_Item, 1);
ci->id = eina_stringshare_add (id);
ci->poll_time = 1.0;
ci->always_text = 0;
ci->show_percent = 1;
#ifdef __linux__
ci->real_ignore_buffers = 0;
ci->real_ignore_cached = 0;
#endif
mem_config->items = eina_list_append (mem_config->items, ci);
return ci;
}
EAPI E_Module_Api e_modapi =
{
E_MODULE_API_VERSION, "Mem"
};
EAPI void *
e_modapi_init (E_Module * m)
{
char buf[PATH_MAX];
snprintf (buf, sizeof (buf), "%s/locale", e_module_dir_get (m));
bindtextdomain (PACKAGE, buf);
bind_textdomain_codeset (PACKAGE, "UTF-8");
conf_item_edd = E_CONFIG_DD_NEW ("Mem_Config_Item", Config_Item);
#undef T
#undef D
#define T Config_Item
#define D conf_item_edd
E_CONFIG_VAL (D, T, id, STR);
E_CONFIG_VAL (D, T, poll_time, DOUBLE);
E_CONFIG_VAL (D, T, always_text, INT);
E_CONFIG_VAL (D, T, show_percent, INT);
#ifdef __linux__
E_CONFIG_VAL (D, T, real_ignore_buffers, INT);
E_CONFIG_VAL (D, T, real_ignore_cached, INT);
#endif
conf_edd = E_CONFIG_DD_NEW ("Mem_Config", Config);
#undef T
#undef D
#define T Config
#define D conf_edd
E_CONFIG_LIST (D, T, items, conf_item_edd);
mem_config = e_config_domain_load ("module.mem", conf_edd);
if (!mem_config)
{
Config_Item *ci;
mem_config = E_NEW (Config, 1);
ci = E_NEW (Config_Item, 1);
ci->id = eina_stringshare_add ("0");
ci->poll_time = 1.0;
ci->always_text = 0;
ci->show_percent = 1;
#ifdef __linux__
ci->real_ignore_buffers = 0;
ci->real_ignore_cached = 0;
#endif
mem_config->items = eina_list_append (mem_config->items, ci);
}
mem_config->module = m;
e_gadcon_provider_register (&_gc_class);
return m;
}
EAPI int
e_modapi_shutdown (E_Module * m)
{
mem_config->module = NULL;
e_gadcon_provider_unregister (&_gc_class);
if (mem_config->config_dialog)
e_object_del (E_OBJECT (mem_config->config_dialog));
if (mem_config->menu)
{
e_menu_post_deactivate_callback_set (mem_config->menu, NULL, NULL);
e_object_del (E_OBJECT (mem_config->menu));
mem_config->menu = NULL;
}
while (mem_config->items)
{
Config_Item *ci;
ci = mem_config->items->data;
mem_config->items =
eina_list_remove_list (mem_config->items, mem_config->items);
if (ci->id)
eina_stringshare_del (ci->id);
E_FREE (ci);
}
E_FREE (mem_config);
E_CONFIG_DD_FREE (conf_item_edd);
E_CONFIG_DD_FREE (conf_edd);
return 1;
}
EAPI int
e_modapi_save (E_Module * m)
{
e_config_domain_save ("module.mem", conf_edd, mem_config);
return 1;
}
static Mem *
_mem_new (Evas * evas)
{
Mem *mem;
char buf[PATH_MAX];
mem = E_NEW (Mem, 1);
mem->mem_obj = edje_object_add (evas);
snprintf (buf, sizeof (buf), "%s/mem.edj",
e_module_dir_get (mem_config->module));
if (!e_theme_edje_object_set
(mem->mem_obj, "base/theme/modules/mem", "modules/mem/main"))
edje_object_file_set (mem->mem_obj, buf, "modules/mem/main");
evas_object_show (mem->mem_obj);
return mem;
}
static void
_mem_free (Mem * m)
{
evas_object_del (m->mem_obj);
E_FREE (m);
}
static void
_mem_cb_mouse_in (void *data, Evas * e, Evas_Object * obj, void *event_info)
{
Instance *inst;
inst = data;
if (!inst->ci->always_text)
edje_object_signal_emit (inst->mem_obj, "label_active", "");
}
static void
_mem_cb_mouse_out (void *data, Evas * e, Evas_Object * obj, void *event_info)
{
Instance *inst;
inst = data;
if (!inst->ci->always_text)
edje_object_signal_emit (inst->mem_obj, "label_passive", "");
}
static Eina_Bool
_mem_cb_check (void *data)
{
Instance *inst;
Edje_Message_Float msg;
int real, swap, total_real, total_swap;
char real_str[100];
char swap_str[100];
inst = data;
_mem_get_values (inst->ci, &real, &swap, &total_real, &total_swap);
if (!inst->ci->show_percent)
{
snprintf (real_str, sizeof (real_str), "Real: %d/%d MB", (real / 1024),
(total_real / 1024));
if ( total_swap )
snprintf (swap_str, sizeof (swap_str), "Swap: %d/%d MB", (swap / 1024),
(total_swap / 1024));
}
else
{
double tr;
tr = (((double) real / (double) total_real) * 100);
snprintf (real_str, sizeof (real_str), "Real: %1.2f%%", tr);
if ( total_swap )
{
tr = (((double) swap / (double) total_swap) * 100);
snprintf (swap_str, sizeof (swap_str), "Swap: %1.2f%%", tr);
}
}
edje_object_part_text_set (inst->mem_obj, "real_label", real_str);
if (total_swap)
edje_object_part_text_set (inst->mem_obj, "swap_label", swap_str);
else
edje_object_part_text_set (inst->mem_obj, "swap_label", "");
double tr = ((double) real / (double) total_real);
msg.val = tr;
edje_object_message_send (inst->mem_obj, EDJE_MESSAGE_FLOAT, 1, &msg);
if ( total_swap )
{
double ts = ((double) swap / (double) total_swap);
msg.val = ts;
edje_object_message_send (inst->mem_obj, EDJE_MESSAGE_FLOAT, 2, &msg);
}
return EINA_TRUE;
}

46
src/e_mod_main.h Normal file
View File

@ -0,0 +1,46 @@
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
#ifdef ENABLE_NLS
# include <libintl.h>
# define D_(string) dgettext(PACKAGE, string)
#else
# define bindtextdomain(domain,dir)
# define bind_textdomain_codeset(domain,codeset)
# define D_(string) (string)
#endif
typedef struct _Config Config;
typedef struct _Config_Item Config_Item;
struct _Config
{
E_Module *module;
E_Config_Dialog *config_dialog;
E_Menu *menu;
Eina_List *instances;
Eina_List *items;
};
struct _Config_Item
{
const char *id;
double poll_time;
int show_percent;
int always_text;
int real_ignore_buffers;
int real_ignore_cached;
};
EAPI extern E_Module_Api e_modapi;
EAPI void *e_modapi_init(E_Module *m);
EAPI int e_modapi_shutdown(E_Module *m);
EAPI int e_modapi_save(E_Module *m);
void _mem_config_updated(Config_Item *ci);
void _config_mem_module(Config_Item *ci);
void _mem_get_values(Config_Item *ci, int *real, int *swap, int *total_real, int *total_swap);
extern Config *mem_config;
#endif

113
src/machdep_freebsd.c Normal file
View File

@ -0,0 +1,113 @@
#include <e.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <err.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/user.h>
#include "e_mod_main.h"
#define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof (var))
static int
getsysctl (char *name, void *ptr, size_t len)
{
size_t nlen = len;
if (sysctlbyname (name, ptr, &nlen, NULL, 0) == -1)
{
return (1);
}
if (nlen != len)
{
return (1);
}
return (0);
}
static int
swapinfo (int *total, int *used)
{
int pagesize = getpagesize ();
size_t mibsize, size;
struct xswdev xsw;
int mib[16], n;
int tmp_total, tmp_used;
*total = 0;
*used = 0;
mibsize = sizeof mib / sizeof mib[0];
if (sysctlnametomib ("vm.swap_info", mib, &mibsize) == -1)
{
warn ("sysctlnametomib()");
return 1;
}
for (n = 0;; n++)
{
mib[mibsize] = n;
size = sizeof xsw;
if (sysctl (mib, mibsize + 1, &xsw, &size, NULL, 0) == -1)
break;
if (xsw.xsw_version != XSWDEV_VERSION)
{
warnx ("xswdev version mismatch");
return 1;
}
tmp_total = (long long) xsw.xsw_nblks * pagesize;
tmp_used = (long long) xsw.xsw_used * pagesize;
*total += tmp_total;
*used += tmp_used;
}
if (errno != ENOENT)
warn ("sysctl()");
return 0;
}
void
_mem_get_values (ci, phys_used, sw_used, phys_total, sw_total)
Config_Item *ci;
int *phys_used;
int *sw_used;
int *phys_total;
int *sw_total;
{
int total_pages, inactive_pages, free_pages;
int pagesize = getpagesize ();
if (GETSYSCTL ("vm.stats.vm.v_page_count", total_pages))
{
warnx ("can't read sysctl \"vm.stats.vm.v_page_count\"");
return;
}
if (GETSYSCTL ("vm.stats.vm.v_free_count", free_pages))
{
warnx ("can't read sysctl \"vm.stats.vm.v_free_count\"");
return;
}
if (GETSYSCTL ("vm.stats.vm.v_inactive_count", inactive_pages))
{
warnx ("can't read sysctl \"vm.stats.vm.v_inactive_count\"");
return;
}
*phys_total = (total_pages * pagesize) >> 10;
*phys_used = ((total_pages - free_pages - inactive_pages) * pagesize) >> 10;
if ((swapinfo (sw_total, sw_used)) != 0)
{
*sw_total = 0;
*sw_used = 0;
}
}

69
src/machdep_linux.c Normal file
View File

@ -0,0 +1,69 @@
#include <e.h>
#include "e_mod_main.h"
void
_mem_get_values (Config_Item * ci, int *real, int *swap, int *total_real,
int *total_swap)
{
FILE *pmeminfo = NULL;
int cursor = 0;
char *line, *field;
unsigned char c;
long int value = 0, mtotal = 0, stotal = 0, mfree = 0, sfree = 0;
ldiv_t ldresult;
long int liresult;
if (!(pmeminfo = fopen ("/proc/meminfo", "r")))
{
fprintf (stderr, "can't open /proc/meminfo");
return;
}
line = (char *) calloc (64, sizeof (char));
while (fscanf (pmeminfo, "%c", &c) != EOF)
{
if (c != '\n')
line[cursor++] = c;
else
{
field = (char *) malloc (strlen (line) * sizeof (char));
sscanf (line, "%s %ld kB", field, &value);
if (!strcmp (field, "MemTotal:"))
mtotal = value;
else if (!strcmp (field, "MemFree:"))
mfree = value;
else if (ci->real_ignore_buffers && (!strcmp (field, "Buffers:")))
mfree += value;
else if (ci->real_ignore_cached && (!strcmp (field, "Cached:")))
mfree += value;
else if (ci->real_ignore_cached && (!strcmp (field, "SwapCached:")))
sfree += value;
else if (!strcmp (field, "SwapTotal:"))
stotal = value;
else if (!strcmp (field, "SwapFree:"))
sfree = value;
free (line);
free (field);
cursor = 0;
line = (char *) calloc (64, sizeof (char));
}
}
fclose (pmeminfo);
if (stotal >= 1)
{
ldresult = ldiv (stotal, 100);
liresult = ldresult.quot;
ldresult = ldiv ((stotal - sfree), liresult);
}
ldresult = ldiv (mtotal, 100);
liresult = ldresult.quot;
ldresult = ldiv ((mtotal - mfree), liresult);
*real = (mtotal - mfree);
*swap = (stotal - sfree);
*total_real = mtotal;
*total_swap = stotal;
}