revived wlan: initial commit

This commit is contained in:
Daniel Kolesa 2014-02-19 16:48:37 +00:00
commit 53c2921e8c
78 changed files with 3281 additions and 0 deletions

6
AUTHORS Normal file
View File

@ -0,0 +1,6 @@
Original wlan:
- Matthew Mullins
- Christopher 'devilhorns' Michael
Updated wlan:
- Daniel 'q66' Kolesa <quaker66@gmail.com>

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

32
Makefile.am Normal file
View File

@ -0,0 +1,32 @@
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-wlan.edj
EXTRA_DIST = module.desktop.in \
e_modules-wlan.spec.in \
e-module-wlan.edc \
$(wildcard images/*.png)
%.edj: %.edc
$(EDJE_CC) $(EDJE_FLAGS) $< $@
clean-local:
rm -rf e-module-wlan.edj module.desktop e_modules-wlan.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

73
configure.ac Normal file
View File

@ -0,0 +1,73 @@
dnl Process this file with autoconf to produce a configure script.
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT(wlan, 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")
# 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-wlan.spec
module.desktop
$po_makefile_in
], [
])

322
e-module-wlan.edc Normal file
View File

@ -0,0 +1,322 @@
images {
image: "module_icon.png" COMP;
image: "wlan.png" COMP;
image: "qual_00.png" COMP;
image: "qual_01.png" COMP;
image: "qual_02.png" COMP;
image: "qual_03.png" COMP;
image: "qual_04.png" COMP;
image: "qual_05.png" COMP;
image: "qual_06.png" COMP;
image: "qual_07.png" COMP;
image: "qual_08.png" COMP;
image: "qual_09.png" COMP;
image: "qual_10.png" COMP;
image: "level_00.png" COMP;
image: "level_01.png" COMP;
image: "level_02.png" COMP;
image: "level_03.png" COMP;
image: "level_04.png" COMP;
image: "level_05.png" COMP;
image: "level_06.png" COMP;
image: "level_07.png" COMP;
image: "level_08.png" COMP;
image: "level_09.png" COMP;
image: "level_10.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.0 1.0;
rel1.relative : 0.0 0.0;
rel1.offset : 0 0;
rel2.relative : 1.0 1.0;
rel2.offset : -1 -1;
image.normal : "module_icon.png";
}
}
}
}
group {
name : "modules/wlan/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:"qual_meter", "default", value);
}
if ((type == MSG_FLOAT) && (id == 2)) {
new Float:value;
value = getfarg(2);
set_state(PART:"level_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;
rel1.offset : 0 0;
rel2.relative : 1.0 1.0;
rel2.offset : -1 -1;
}
}
part {
name : "wlan";
type : IMAGE;
clip_to : "fade_clip";
description {
state : "default" 0.0;
color : 255 255 255 192;
aspect : 1.0 1.0;
aspect_preference : BOTH;
align : 0.5 0.5;
rel1.relative : 0.0 0.0;
rel1.offset : 0 0;
rel2.relative : 1.0 1.0;
rel2.offset : -1 -1;
image.normal : "wlan.png";
}
}
part {
name : "qual_meter";
type : IMAGE;
clip_to : "fade_clip";
description {
state : "default" 0.0;
color : 255 255 255 192;
rel1.relative : 0.0 0.0;
rel1.offset : 0 0;
rel2.relative : 1.0 0.25;
rel2.offset : -1 -1;
image.normal : "qual_00.png";
}
description {
state : "default" 0.1;
inherit : "default" 0.0;
image.normal : "qual_01.png";
}
description {
state : "default" 0.2;
inherit : "default" 0.0;
image.normal : "qual_02.png";
}
description {
state : "default" 0.3;
inherit : "default" 0.0;
image.normal : "qual_03.png";
}
description {
state : "default" 0.4;
inherit : "default" 0.0;
image.normal : "qual_04.png";
}
description {
state : "default" 0.5;
inherit : "default" 0.0;
image.normal : "qual_05.png";
}
description {
state : "default" 0.6;
inherit : "default" 0.0;
image.normal : "qual_06.png";
}
description {
state : "default" 0.7;
inherit : "default" 0.0;
image.normal : "qual_07.png";
}
description {
state : "default" 0.8;
inherit : "default" 0.0;
image.normal : "qual_08.png";
}
description {
state : "default" 0.9;
inherit : "default" 0.0;
image.normal : "qual_09.png";
}
description {
state : "default" 1.0;
inherit : "default" 0.0;
image.normal : "qual_10.png";
}
}
part {
name : "qual_label";
type : TEXT;
// clip_to : "fade_clip";
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;
rel1.offset : 0 0;
rel1.to : "qual_meter";
rel2.relative : 0.5 1.0;
rel2.offset : 0 0;
rel2.to : "qual_meter";
text {
text : "Quality:";
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 : "level_meter";
type : IMAGE;
clip_to : "fade_clip";
description {
state : "default" 0.0;
rel1.relative : 0.0 0.75;
rel1.offset : 0 0;
rel2.relative : 1.0 1.0;
rel2.offset : -1 -1;
image.normal : "level_00.png";
color : 255 255 255 192;
}
description {
state : "default" 0.1;
inherit : "default" 0.0;
image.normal : "level_01.png";
}
description {
state : "default" 0.2;
inherit : "default" 0.0;
image.normal : "level_02.png";
}
description {
state : "default" 0.3;
inherit : "default" 0.0;
image.normal : "level_03.png";
}
description {
state : "default" 0.4;
inherit : "default" 0.0;
image.normal : "level_04.png";
}
description {
state : "default" 0.5;
inherit : "default" 0.0;
image.normal : "level_05.png";
}
description {
state : "default" 0.6;
inherit : "default" 0.0;
image.normal : "level_06.png";
}
description {
state : "default" 0.7;
inherit : "default" 0.0;
image.normal : "level_07.png";
}
description {
state : "default" 0.8;
inherit : "default" 0.0;
image.normal : "level_08.png";
}
description {
state : "default" 0.9;
inherit : "default" 0.0;
image.normal : "level_09.png";
}
description {
state : "default" 1.0;
inherit : "default" 0.0;
image.normal : "level_10.png";
}
}
part {
name : "level_label";
type : TEXT;
// clip_to : "fade_clip";
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;
rel1.offset : 0 0;
rel1.to : "level_meter";
rel2.relative : 0.5 1.0;
rel2.offset : -1 -1;
rel2.to : "level_meter";
text {
text : "Level:";
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 : "qual_label";
target : "level_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 : "qual_label";
target : "level_label";
}
}
}
}

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

@ -0,0 +1,48 @@
%define module_name wlan
%{!?_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/level_00.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

BIN
images/level_01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

BIN
images/level_02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

BIN
images/level_03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

BIN
images/level_04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/level_05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
images/level_06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/level_07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
images/level_08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
images/level_09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
images/level_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
images/module_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
images/qual_00.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

BIN
images/qual_01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

BIN
images/qual_02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

BIN
images/qual_03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

BIN
images/qual_04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

BIN
images/qual_05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

BIN
images/qual_06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 975 B

BIN
images/qual_07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
images/qual_08.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/qual_09.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/qual_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/wlan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

35
module.desktop.in Normal file
View File

@ -0,0 +1,35 @@
[Desktop Entry]
Encoding=UTF-8
Type=Link
Name=Wlan
Name[Name]=Wlan
Name[ab]=
Name[ca]=
Name[cs]=
Name[de]=WLAN
Name[el]=Ασύρματο Δίκτυο
Name[eo]=Sendrata loka reto
Name[es]=
Name[fr]=Réseau local sans fil
Name[gl]=
Name[hu]=
Name[it]=
Name[ja]=
Name[ko]=
Name[pt]=Rede sem fios
Name[ru]=
Name[sr]=
Name[tr]=
Comment=Gadget to monitor a wlan device.
Comment[cs]=Gadget k monitorování wlan zařízení.
Comment[de]=Drahtloses Netzwerk beobachten
Comment[el]=Συστατικό για την παρακολούθηση μιας συσκευής ασύρματου δικτύου.
Comment[eo]=Elrigardi aparaton de sendrata loka reto.
Comment[es]=Módulo para administrar un dispositivo de red sin hilos.
Comment[fr]=Affiche l'utilisation du réseau local sans fil.
Comment[gl]=Módulo para administrar un dispositivo de rede sen fíos.
Comment[hu]=Modul a wlan monitorozásához.
Comment[it]=Modulo per il monitoraggio di un dispositivo di rete wireless.
Comment[pt]=Módulo de monitorização dos dispositivos de rede sem fios
Comment[ru]=Гаджет для мониторинга карты беспроводной сети.
Icon=e-module-wlan

1
po/LINGUAS Normal file
View File

@ -0,0 +1 @@
ar bg ca cs da de el eo es fi fr gl he hr hu id it ja lt ms 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 =

4
po/POTFILES.in Normal file
View File

@ -0,0 +1,4 @@
src/e_mod_config.c
src/e_mod_config.h
src/e_mod_main.c
src/e_mod_main.h

69
po/ar.po Normal file
View File

@ -0,0 +1,69 @@
# Arabic translation for wlan.
# This file is put in the public domain.
# sameeer hussain <almusalimalmusalimah> 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: wlan module\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2010-09-09 08:02-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-Launchpad-Export-Date: 2009-08-27 10:01+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Language: Arabic\n"
"X-Poedit-Country: SAUDI ARABIA\n"
"X-Poedit-SourceCharset: utf-8\n"
#: ../src/e_mod_config.c:44
#| msgid "General Settings"
msgid "Wlan Settings"
msgstr "إعدادات الشبكة اللاسلكية"
#: ../src/e_mod_config.c:122
msgid "General Settings"
msgstr "اﻹعدادات العامة"
#: ../src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "اعرض النص دائماً"
#: ../src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "اعرض النص عند مرور الفأرة"
#: ../src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "أعرض النص كنسبة"
#: ../src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "الفاصل الزمني للفحص :"
#: ../src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f ثوان"
#: ../src/e_mod_config.c:143
msgid "Device Settings"
msgstr "إعدادات الجهاز"
#: ../src/e_mod_main.c:110
msgid "Wlan"
msgstr "الشبكة اللاسلكية (Wlan)"
#: ../src/e_mod_main.c:169
#| msgid "Device Settings"
msgid "Settings"
msgstr "اﻹعدادات"
#~ msgid "Wlan Configuration"
#~ msgstr "إعدادات الشبكة المحلية الاسلكية (Wlan)"
#~ msgid "Configuration"
#~ msgstr "الإعدادات"

59
po/bg.po Normal file
View File

@ -0,0 +1,59 @@
# 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-11 05:25+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:44
msgid "Wlan Configuration"
msgstr "Конфигурация на wlan"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Общи настройки"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Винаги показвай текста"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Показвай текста при преминаване с мишката"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Показвай текста като процент"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Интервал от време за проверка:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f·секунди"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Настройки на устройство"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Конфигурация"

62
po/ca.po Normal file
View File

@ -0,0 +1,62 @@
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-04 18:28+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:44
msgid "Wlan Settings"
msgstr "Preferències Xarxa Sense Fils"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Preferències Generals"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Sempre Mostra Text"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Mostra text Quan Ratolí damunt"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Mostra Text Com Tan Per Cent"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Interval Comprovació:"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segons"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Preferències Dispositiu"
#: src/e_mod_main.c:110
msgid "Wlan"
msgstr "Xarxa Sense Fils"
#: src/e_mod_main.c:164
msgid "Settings"
msgstr "Preferències"
#~ msgid "Wlan Configuration"
#~ msgstr "WLAN-Konfiguration"
#~ msgid "Configuration"
#~ msgstr "Konfiguration"

65
po/cs.po Normal file
View File

@ -0,0 +1,65 @@
# 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: Wlan\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 12:40+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:44
msgid "Wlan Settings"
msgstr "Nastavení modulu Wlan"
#: ../src/e_mod_config.c:122
msgid "General Settings"
msgstr "Obecná nastavení"
#: ../src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Vždy zobrazit text"
#: ../src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Zobrazit text, když je kurzor nad ikonou"
#: ../src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Zobrazit text jako procenta"
#: ../src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Interval kontroly:"
#: ../src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekund"
#: ../src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Nastavení zařízení"
#: ../src/e_mod_main.c:110
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:164
msgid "Settings"
msgstr "Nastavení"
#~ msgid "Wlan Configuration"
#~ msgstr "Nastavení modulu Wlan"
#~ msgid "Configuration"
#~ msgstr "Konfigurace"

59
po/da.po Normal file
View File

@ -0,0 +1,59 @@
# Danish 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-03 08:50+0000\n"
"Last-Translator: Kris <lakristho@gmail.com>\n"
"Language-Team: Danish <da@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:44
msgid "Wlan Configuration"
msgstr ""
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Generelle indstillinger"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Vis altid tekst"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr ""
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr ""
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr ""
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr ""
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr ""
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr ""
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Konfiguration"

64
po/de.po Normal file
View File

@ -0,0 +1,64 @@
# German translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# meica, 2008.
# Fabian Nowak <timystery@arcor.de>, 2010
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2011-01-09 21:20+0100\n"
"PO-Revision-Date: 2008-12-29 10:31+0000\n"
"Last-Translator: Fabian Nowak <timystery@arcor.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"
#: src/e_mod_config.c:44
msgid "Wlan Settings"
msgstr "WLAN-Einstellungen"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Allgemeine Einstellungen"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Text immer anzeigen"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Text anzeigen, wenn der Mauszeiger ihn berührt"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Text in Prozent anzeigen"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Kontrollintervall:"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f Sekunden"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Geräte-Einstellungen"
#: src/e_mod_main.c:109
msgid "Wlan"
msgstr "Drahtloses Netzwerk"
#: src/e_mod_main.c:168
msgid "Settings"
msgstr "Einstellungen"
#~ msgid "Wlan Configuration"
#~ msgstr "WLAN-Konfiguration"
#~ msgid "Configuration"
#~ msgstr "Konfiguration"

58
po/el.po Normal file
View File

@ -0,0 +1,58 @@
# translation of el.po to Greek
# Wlan module (e17), Greek translation
# This file is put in the public domain.
# ragecryx <ragecryx@yahoo.gr>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: el\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:32+0800\n"
"PO-Revision-Date: 2008-11-11 10:12+0200\n"
"Last-Translator: \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"
"X-Generator: KBabel 1.11.4\n"
#: ../src/e_mod_config.c:44
msgid "Wlan Configuration"
msgstr "Ρύθμιση Wlan"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Γενικές Ρυθμίσεις"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Εμφάνιση Κειμένου Πάντα"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Εμφάνιση Κειμένου όταν είναι πάνω το Ποντίκι"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Εμφάνιση Κειμένου ως Ποσοστό"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Χρονικό Διάστημα Ελέγχου:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f δευτερόλεπτα"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Ρυθμίσεις Συσκευής"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Ρύθμιση"

59
po/eo.po Normal file
View File

@ -0,0 +1,59 @@
# 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: $MSGID_BUGS_ADDRESS\n"
"POT-Creation-Date: 2012-12-04 13:32+0100\n"
"PO-Revision-Date: 2013-06-28 20:11+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: 2013-06-30 05:56+0000\n"
"X-Generator: Launchpad (build 16692)\n"
"Language: eo\n"
#: src/e_mod_config.c:44
msgid "Wlan Settings"
msgstr "Agordoj de sendrata reto"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Ĝeneralaj agordoj"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Ĉiam montri tekston"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Montri tekston kiam muso supras"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Montri tekston kiel procento"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Kontroli intervalon:"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekundoj"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Agordoj pri aparatoj"
#: src/e_mod_main.c:110
msgid "Wlan"
msgstr "Sendrata loka reto"
#: src/e_mod_main.c:164
msgid "Settings"
msgstr "Agordoj"

57
po/es.po Normal file
View File

@ -0,0 +1,57 @@
# Spanish translation for E17 wlan module.
# This file is put in the public domain.
# TeB <pasaeljabon@gmail.com>, 2008.
# DiegoJ <diegojromerolopez@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: Wlan\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:32+0800\n"
"PO-Revision-Date: 2009-04-11 14:55+0000\n"
"Last-Translator: DiegoJ <diegojromerolopez@gmail.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:44
msgid "Wlan Configuration"
msgstr "Configuración de Wlan"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Preferencias generales"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Mostrar texto siempre"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Mostrar texto al poner el ratón encima"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Mostrar texto como porcentaje"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Tasa de comprobación:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Opciones de dispositivo"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Configuración"

56
po/fi.po Normal file
View File

@ -0,0 +1,56 @@
# Wlan module (e17), Finnish translation
# This file is put in the public domain.
# Jani väyrynen <janivayrynen@gmail.com>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: Wlan module (e17)\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:32+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:44
msgid "Wlan Configuration"
msgstr "Wlanin asetukset"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Yleisasetukset"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Näytä teksti aina"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Näytä teksti hiiren ollessa kohdalla"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Näytä teksti prosentteina"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Tarkistusväli:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekuntia"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Laiteasetukset"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Asetukset"

62
po/fr.po Normal file
View File

@ -0,0 +1,62 @@
# Wlan module (e17), French translation.
# This file is put in the public domain.
# batden <batden@orange.fr>, 2009, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: Wlan module\n"
"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
"POT-Creation-Date: 2012-12-04 13:32+0100\n"
"PO-Revision-Date: 2013-06-29 00:17+0000\n"
"Last-Translator: Eliovir <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: 2013-06-30 05:56+0000\n"
"X-Generator: Launchpad (build 16692)\n"
"X-Poedit-Country: FRANCE\n"
"Language: \n"
"X-Poedit-Language: French\n"
"X-Poedit-SourceCharset: utf-8\n"
#: src/e_mod_config.c:44
msgid "Wlan Settings"
msgstr "Paramétrage de Wlan"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Paramètres généraux"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Toujours afficher le texte"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Afficher le texte au survol"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Afficher le texte en pourcentage"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Intervalle des vérifications :"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f secondes"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Choix de l'interface"
#: src/e_mod_main.c:110
msgid "Wlan"
msgstr "Réseau local sans fil"
#: src/e_mod_main.c:164
msgid "Settings"
msgstr "Configuration"

58
po/gl.po Normal file
View File

@ -0,0 +1,58 @@
# Galician translation of wlan
# This file is put in the public domain.
# Aníbal Garrido <khany@member.trisquel.info>, 2012.
#
msgid ""
msgstr ""
"Project-Id-Version: wlan\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:110
msgid "Wlan"
msgstr "Wlan"
#: src/e_mod_main.c:164
msgid "Settings"
msgstr "Configuracións"
#: src/e_mod_config.c:44
msgid "Wlan Settings"
msgstr "Configuración de Wlan"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Configuración Xeral"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Amosar o texto sempre"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Amosar texto ó pór o rato enriba"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Amosa-lo texto como porcentaxe"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Intervalo de comprobación:"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Preferencias do Dispositivo"

56
po/he.po Normal file
View File

@ -0,0 +1,56 @@
# 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-28 16:32+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:44
msgid "Wlan Configuration"
msgstr "תצורת Wlan"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "הגדרות כלליות"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "הצג טקסט תמיד"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "הצג טקסט עם העברת סמן העכבר"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "הצג טקסט כאחוזים"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "המתנה בין בדיקות:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f שניות"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "הגדרות ההתקן"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "תצורה"

56
po/hr.po Normal file
View File

@ -0,0 +1,56 @@
# Croatian translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# Miro Glavic <glavicmiro@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-28 16:32+0800\n"
"PO-Revision-Date: 2009-02-13 01:53+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"
#: ../src/e_mod_config.c:44
msgid "Wlan Configuration"
msgstr "Wlan Konfiguracija"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Opće Postavke"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Uvijek Prikaži Tekst"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Prikaži Tekst Kad je Miš Preko"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Prikaži Tekst Kao Postotak"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Provjeri Interval:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekundi"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Postavke Uređaja"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Konfiguracija"

59
po/hu.po Normal file
View File

@ -0,0 +1,59 @@
# translation of hu.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: hu\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:32+0800\n"
"PO-Revision-Date: 2008-02-02 23:51+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:44
msgid "Wlan Configuration"
msgstr "Wlan beállítások"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Aáltalános beállítások"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Mindig mutasd a szöveget"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Szöveg mutatása, ha az egér felette van"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Mutasd a szöveget százalékként"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Ellenőrzési időközök "
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f másodperc"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Eszköz beállítások"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Beállítás"

56
po/id.po Normal file
View File

@ -0,0 +1,56 @@
# Indonesian 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-28 16:32+0800\n"
"PO-Revision-Date: 2009-03-02 07:53+0000\n"
"Last-Translator: madziuleq <Unknown>\n"
"Language-Team: Indonesian <id@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:44
msgid "Wlan Configuration"
msgstr "Konfigurasi WLAN"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Pengaturan Umum"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Selalu Tampilan Teks"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Tampilkan Teks Pada Posisi Kursor"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr ""
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr ""
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f detik"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Pengaturan Perangkat"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "WLAN"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Konfigurasi"

56
po/it.po Normal file
View File

@ -0,0 +1,56 @@
# Italian translation for E17 wlan module.
# This file is put in the public domain.
# Massimo Maiurana <maiurana@inwind.it>, 2005.
#
msgid ""
msgstr ""
"Project-Id-Version: Wlan\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2010-09-11 13:56+0200\n"
"PO-Revision-Date: 2010-09-11 14:07+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:44
msgid "Wlan Settings"
msgstr "Impostazioni di Wlan"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Impostazioni generali"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Mostra sempre testo"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Mostra testo al passaggio del mouse"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Mostra testo come percentuale"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Frequenza di aggiornamento:"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f secondi"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Impostazione del dispositivo"
#: src/e_mod_main.c:110
msgid "Wlan"
msgstr "Wlan"
#: src/e_mod_main.c:169
msgid "Settings"
msgstr "Impostazioni"

66
po/ja.po Normal file
View File

@ -0,0 +1,66 @@
# 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: Wlan\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:32+0800\n"
"PO-Revision-Date: 2008-03-20 22:18+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:44
msgid "Wlan Configuration"
msgstr "wlan の設定"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "一般の設定"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "常に情報を表示する"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "マウスが乗ったときに情報を表示する"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "情報を百分率で表示する"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "監視間隔"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f 秒"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "デバイスの設定"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr ""
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "設定"
#~ msgid "Show Graph"
#~ msgstr "グラフを表示する"
#~ msgid "Enlightenment Wlan Monitor Module"
#~ msgstr "Enlightenment wlan 監視モジュール"
#~ msgid "This module is used to monitor a wlan device."
#~ msgstr "これは wlan デバイスを監視するためのモジュールです."

60
po/lt.po Normal file
View File

@ -0,0 +1,60 @@
# 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:47+0000\n"
"Last-Translator: Vaidotas <Unknown>\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:44
msgid "Wlan Settings"
msgstr "Wlan nustatymai"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Bendri nustatymai"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Visada rodyti tekstą"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Rodyti tekstą užvedus pelės kursorių"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Rodyti tekstą kaip procentus"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Tikrinimo intervalas:"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekundžių"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Įrenginio nustatymai"
#: src/e_mod_main.c:110
msgid "Wlan"
msgstr "Belaidis ryšys"
#: src/e_mod_main.c:164
msgid "Settings"
msgstr "Nustatymai"

57
po/ms.po Normal file
View File

@ -0,0 +1,57 @@
# Malay translation for enlightenment
# This file is distributed under the same license as the enlightenment package.
# Ahmed Noor Kader Mustajir Md Eusoff <Unknown>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: enlightenment\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-03 14:58+0800\n"
"PO-Revision-Date: 2009-01-24 15:55+0000\n"
"Last-Translator: Ahmed Noor Kader Mustajir Md Eusoff <Unknown>\n"
"Language-Team: Malay <ms@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../e_mod_config.c:44
msgid "Wlan Configuration"
msgstr "Konfigurasi Wlan"
#: ../e_mod_config.c:117
msgid "General Settings"
msgstr "Tetapan Umum"
#: ../e_mod_config.c:119
msgid "Always Show Text"
msgstr "Selalu Tunjuk Teks"
#: ../e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Tunjuk Teks Bila Tetikus Di Atas"
#: ../e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Tunjuk Teks sebagai Peratusan"
#: ../e_mod_config.c:128
msgid "Check Interval:"
msgstr "Periksa Perubahan"
#: ../e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f saat"
#: ../e_mod_config.c:138
msgid "Device Settings"
msgstr "Tetapan Peranti"
#: ../e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../e_mod_main.c:165
msgid "Configuration"
msgstr "Konfigurasi"

56
po/nb.po Normal file
View File

@ -0,0 +1,56 @@
# Norwegian Bokmal 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-28 16:32+0800\n"
"PO-Revision-Date: 2009-03-21 15:04+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"
#: ../src/e_mod_config.c:44
msgid "Wlan Configuration"
msgstr "Wlan-konfigurering"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Generelle innstillinger"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Vis alltid tekst"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Vis tekst når musen er over"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Vis tekst som prosent"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Kontrollintervall"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekunder"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Enhetsinnstillinger"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Konfigurasjon"

56
po/nl.po Normal file
View File

@ -0,0 +1,56 @@
# 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: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:32+0800\n"
"PO-Revision-Date: 2009-07-16 18:00+0000\n"
"Last-Translator: Yentl <y.v.t@scarlet.be>\n"
"Language-Team: Dutch <nl@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:44
msgid "Wlan Configuration"
msgstr "Wlan Configuratie"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Algemene Instellingen"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Altijd Tekst Weergeven"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Tekst Weergeven bij Muisover"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Tekst Weergeven als Percentage"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Check Interval:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f seconden"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Apparaatinstellingen"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Configuratie"

56
po/pl.po Normal file
View File

@ -0,0 +1,56 @@
# 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-28 16:32+0800\n"
"PO-Revision-Date: 2009-02-24 08:57+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:44
msgid "Wlan Configuration"
msgstr "Konfiguracja Wlan"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Ustawienia ogólne"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Zawsze pokazuj tekst"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Pokazuj tekst przy najechaniu myszą"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Pokazuj tekst jako procent"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Częstotliwość sprawdzania:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekund"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Ustawienia urządzenia"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Konfiguracja"

64
po/pt.po Normal file
View File

@ -0,0 +1,64 @@
# Portuguese translation for wlan
# 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: wlan\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2010-09-09 08:02-0700\n"
"PO-Revision-Date: 2012-08-25 15:42+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:44
#| msgid "General Settings"
msgid "Wlan Settings"
msgstr "Definições"
#: ../src/e_mod_config.c:122
msgid "General Settings"
msgstr "Definições gerais"
#: ../src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Mostrar sempre o texto"
#: ../src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Mostrar texto ao passar com o rato"
#: ../src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Mostrar texto como percentagem"
#: ../src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Intervalo de verificação:"
#: ../src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"
#: ../src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Definições do dispositivo"
#: ../src/e_mod_main.c:110
msgid "Wlan"
msgstr "Rede sem fios"
#: ../src/e_mod_main.c:169
#| msgid "Device Settings"
msgid "Settings"
msgstr "Definições"

56
po/pt_BR.po Normal file
View File

@ -0,0 +1,56 @@
# 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-28 16:32+0800\n"
"PO-Revision-Date: 2009-01-16 01:35+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:44
msgid "Wlan Configuration"
msgstr "Configuração do Wlan"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Configurações gerais"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Sempre mostrar texto"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Mostrar texto ao passar com o mouse"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Mostrar texto como porcentagem"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Intervalo de checagem"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f segundos"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Configurações do dispositivo"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Configuração"

58
po/ru.po Normal file
View File

@ -0,0 +1,58 @@
# Russian 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-11-05 16:07+0800\n"
"PO-Revision-Date: 2009-09-25 08:45+0000\n"
"Last-Translator: Sergey Sedov <Unknown>\n"
"Language-Team: Russian <ru@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:51+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: ../src/e_mod_config.c:44
msgid "Wlan Configuration"
msgstr "Настройки беспроводного соединения"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Основные параметры"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Всегда отображать текстовые подписи"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Отображать текстовые подписи при наведении указателя мыши"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Отображать значения в процентах"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Интервал проверки:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f секунд(ы)"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Настройки оборудования"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Беспроводная сеть"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Настройки"

56
po/sk.po Normal file
View File

@ -0,0 +1,56 @@
# 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-28 16:32+0800\n"
"PO-Revision-Date: 2009-04-29 09:24+0000\n"
"Last-Translator: kayle.sk <webmaster@kayle.sk>\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:44
msgid "Wlan Configuration"
msgstr "Nastavenie WLAN"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Všeobecné nastavenia"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Vždy zobraziť text"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Zobraziť text ak je kurzor nad ikonou"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Zobraziť text ako percentá"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Interval kontroly:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekúnd"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Nastavenia zariadenia"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "WLAN"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Nastavenia"

60
po/sl.po Normal file
View File

@ -0,0 +1,60 @@
# translation of wlan.po to Slovenian
# Slovenian translation of Wlan.
# This file is put in the public domain.
#
# r1to <renato.rener@gmail.com>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: wlan\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2011-02-17 15:01-0800\n"
"PO-Revision-Date: 2011-02-23 04:06+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:44
msgid "Wlan Settings"
msgstr "Wlan nastavitve"
#: ../src/e_mod_config.c:122
msgid "General Settings"
msgstr "Splošne nastavitve"
#: ../src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Prikazuj besedilo - vedno"
#: ../src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Prikazuj·besedilo·ob prehodu z miško"
#: ../src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Prikazuj besedilo v odstotkih"
#: ../src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Premor preverjanja:"
#: ../src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f·sek."
#: ../src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Nastavitev naprav"
#: ../src/e_mod_main.c:110
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:169
msgid "Settings"
msgstr "Nastavitve"

58
po/sr.po Normal file
View File

@ -0,0 +1,58 @@
#
# Саша Петровић <salepetronije@gmail.com>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
"POT-Creation-Date: 2012-12-04 13:32+0100\n"
"PO-Revision-Date: 2013-01-10 19:32+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: 2013-01-11 04:36+0000\n"
"X-Generator: Launchpad (build 16412)\n"
"Language: \n"
#: src/e_mod_config.c:44
msgid "Wlan Settings"
msgstr "Поставке бежичне везе"
#: src/e_mod_config.c:122
msgid "General Settings"
msgstr "Опште поставке"
#: src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Увек прикажи текст"
#: src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Прикажи текст при надношењу миша"
#: src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Прикажи текст као проценат"
#: src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Учесталост провере"
#: src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f секунди"
#: src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Подешавања уређаја"
#: src/e_mod_main.c:110
msgid "Wlan"
msgstr "Бежична мрежа"
#: src/e_mod_main.c:164
msgid "Settings"
msgstr "Поставке"

67
po/sv.po Normal file
View File

@ -0,0 +1,67 @@
# Swedish translation of Wlan 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: Wlan module for E17 N/A\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2009-08-28 16:32+0800\n"
"PO-Revision-Date: 2009-01-11 15:47+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:44
msgid "Wlan Configuration"
msgstr "Wlan-konfiguration"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Allmänna inställningar"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Visa alltid text"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Visa text när musen är över"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Visa text som procent"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Kontrollintervall:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f sekunder"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Enhetsinställningar"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Konfiguration"
#~ msgid "Show Graph"
#~ msgstr "Visa graf"
#~ msgid "Enlightenment Wlan Monitor Module"
#~ msgstr "Enlightenment Wlanövervakningsmodul"
#~ msgid "This module is used to monitor a wlan device."
#~ msgstr "Denna modul används för att övervaka en Wlan enhet."

59
po/tr.po Normal file
View File

@ -0,0 +1,59 @@
# 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:51+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:44
msgid "Wlan Configuration"
msgstr "Wlan Yapılandırması"
#: ../src/e_mod_config.c:117
msgid "General Settings"
msgstr "Genel Ayarlar"
#: ../src/e_mod_config.c:119
msgid "Always Show Text"
msgstr "Metni Hep Göster"
#: ../src/e_mod_config.c:121
msgid "Show Text On Mouse Over"
msgstr "Metni Fare Üzerine Gelince Göster"
#: ../src/e_mod_config.c:124
msgid "Show Text As Percent"
msgstr "Metni Yüzde Olarak Göster"
#: ../src/e_mod_config.c:128
msgid "Check Interval:"
msgstr "Kontrol Sıklığı:"
#: ../src/e_mod_config.c:131
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f saniye"
#: ../src/e_mod_config.c:138
msgid "Device Settings"
msgstr "Aygıt Ayarları"
#: ../src/e_mod_main.c:107
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:165
msgid "Configuration"
msgstr "Yapılandırma"

67
po/uk.po Normal file
View File

@ -0,0 +1,67 @@
# 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: wlan.HEAD\n"
"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
"POT-Creation-Date: 2010-09-09 08:02-0700\n"
"PO-Revision-Date: 2011-02-06 11:04+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:44
#| msgid "General Settings"
msgid "Wlan Settings"
msgstr "Налаштування"
#: ../src/e_mod_config.c:122
msgid "General Settings"
msgstr "Загальні налаштування"
#: ../src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "Постійно показувати текст"
#: ../src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "Показувати текст лише при піднесенні курсора миші"
#: ../src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "Показувати текст у відсотках"
#: ../src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "Проміжок перевірки:"
#: ../src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f секунд"
#: ../src/e_mod_config.c:143
msgid "Device Settings"
msgstr "Налаштування пристрою"
#: ../src/e_mod_main.c:110
msgid "Wlan"
msgstr "Локальна мережа"
#: ../src/e_mod_main.c:169
#| msgid "Device Settings"
msgid "Settings"
msgstr "Налаштування"
#~ msgid "Wlan Configuration"
#~ msgstr "Налаштування локальної радіомережі"
#~ msgid "Configuration"
#~ msgstr "Налаштування"

64
po/zh_CN.po Normal file
View File

@ -0,0 +1,64 @@
# Wlan module (e17), Simplifed Chinese translation
# This file is put in the public domain.
#
# Aron Xu <aronmalache@163.com>, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: Wlan module (e17)\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
"POT-Creation-Date: 2012-12-22 06:25+0800\n"
"PO-Revision-Date: 2012-12-22 06:26+0800\n"
"Last-Translator: Aron Xu <happyaron.xu@gmail.com>\n"
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\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:44
msgid "Wlan Settings"
msgstr "Wlan 设置"
#: ../src/e_mod_config.c:122
msgid "General Settings"
msgstr "常规设置"
#: ../src/e_mod_config.c:124
msgid "Always Show Text"
msgstr "总是显示文本"
#: ../src/e_mod_config.c:126
msgid "Show Text On Mouse Over"
msgstr "当鼠标移过时显示"
#: ../src/e_mod_config.c:129
msgid "Show Text As Percent"
msgstr "以百分比显示"
#: ../src/e_mod_config.c:133
msgid "Check Interval:"
msgstr "检查间隔"
#: ../src/e_mod_config.c:136
#, c-format
msgid "%1.0f seconds"
msgstr "%1.0f 秒"
#: ../src/e_mod_config.c:143
msgid "Device Settings"
msgstr "设备设置"
#: ../src/e_mod_main.c:110
msgid "Wlan"
msgstr "Wlan"
#: ../src/e_mod_main.c:164
msgid "Settings"
msgstr "设置"
#~ msgid "Wlan Configuration"
#~ msgstr "Wlan 配置"
#~ msgid "Configuration"
#~ msgstr "配置"

20
src/Makefile.am Normal file
View File

@ -0,0 +1,20 @@
MAINTAINERCLEANFILES = Makefile.in
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(includedir) \
@E_CFLAGS@
pkgdir = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
e_mod_config.c \
e_mod_config.h
module_la_LIBADD = @E_LIBS@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
clean-local:
rm -rf *~

183
src/e_mod_config.c Normal file
View File

@ -0,0 +1,183 @@
#include <e.h>
#include "e_mod_main.h"
struct _E_Config_Dialog_Data {
const char *device;
Eina_List *devs;
int dev_num;
double poll_time;
int always_text;
int show_percent;
};
static void *_create_data(E_Config_Dialog *cfd);
static void _free_data (E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
static void _fill_data (Config_Item *ci, 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 _wlan_config_get_devices(Eina_List *devs);
void _config_wlan_module(Config_Item *ci) {
E_Config_Dialog *cfd = NULL;
E_Config_Dialog_View *v = NULL;
char buf[PATH_MAX];
if (e_config_dialog_find("Wlan", "_e_modules_wlan_config_dialog"))
return;
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-wlan.edj", wlan_config->mod_dir);
cfd = e_config_dialog_new(e_util_comp_current_get(), D_("Wlan Settings"),
"Wlan", "_e_modules_wlan_config_dialog", buf, 0, v, ci);
wlan_config->config_dialog = cfd;
}
static void _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata) {
Eina_List *l;
char *tmp;
int i = 0;
cfdata->poll_time = ci->poll_time;
cfdata->always_text = ci->always_text;
cfdata->show_percent = ci->show_percent;
cfdata->device = NULL;
if (ci->device) cfdata->device = eina_stringshare_add(ci->device);
if (!cfdata->device) return;
_wlan_config_get_devices(cfdata->devs);
if (!cfdata->devs) return;
EINA_LIST_FOREACH(cfdata->devs, l, tmp) {
if (!strcmp(cfdata->device, tmp)) {
cfdata->dev_num = i;
break;
}
i++;
}
}
static void *_create_data(E_Config_Dialog *cfd) {
E_Config_Dialog_Data *cfdata = E_NEW(E_Config_Dialog_Data, 1);
Config_Item *ci = cfd->data;
_fill_data(ci, cfdata);
return cfdata;
}
static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) {
const char *data;
if (!wlan_config) return;
wlan_config->config_dialog = NULL;
eina_stringshare_del(cfdata->device);
if (cfdata->devs) {
EINA_LIST_FREE(cfdata->devs, data) eina_stringshare_del(data);
eina_list_free(cfdata->devs);
}
E_FREE(cfdata);
}
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;
Eina_List *l;
char *tmp;
int i = 0;
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);
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);
if (cfdata->devs) {
of = e_widget_framelist_add(evas, D_("Device Settings"), 0);
rg = e_widget_radio_group_new(&(cfdata->dev_num));
EINA_LIST_FOREACH(cfdata->devs, l, tmp) {
ob = e_widget_radio_add(evas, tmp, i, rg);
e_widget_framelist_object_append(of, ob);
i++;
}
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;
char *tmp;
ci = cfd->data;
ci->poll_time = cfdata->poll_time;
ci->always_text = cfdata->always_text;
ci->show_percent = cfdata->show_percent;
if (cfdata->devs) {
cfdata->devs = eina_list_nth_list(cfdata->devs, cfdata->dev_num);
tmp = eina_list_data_get(cfdata->devs);
if (tmp) {
if (ci->device) eina_stringshare_del(ci->device);
ci->device = eina_stringshare_add(tmp);
E_FREE(tmp);
}
}
e_config_save_queue();
_wlan_config_updated(ci);
return 1;
}
static void _wlan_config_get_devices(Eina_List *devs) {
FILE *stat;
char dev[64];
char buf[256];
unsigned long dummy;
float dummy_float;
if (!(stat = fopen("/proc/net/wireless", "r"))) return;
while (fgets(buf, 256, stat)) {
int i;
for (i = 0; buf[i]; ++i)
if (buf[i] == ':') buf[i] = ' ';
if (sscanf (buf, "%s %lu %f %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu "
"%lu %lu %lu %lu\n", dev, &dummy, &dummy_float, &dummy,
&dummy, &dummy, &dummy, &dummy, &dummy, &dummy, &dummy,
&dummy, &dummy, &dummy, &dummy, &dummy, &dummy) < 4) continue;
devs = eina_list_append(devs, eina_stringshare_add(dev));
}
fclose(stat);
}

11
src/e_mod_config.h Normal file
View File

@ -0,0 +1,11 @@
#ifdef E_TYPEDEFS
#else
#ifndef E_MOD_CONFIG_H
#define E_MOD_CONFIG_H
#include "e_mod_main.h"
void _configure_wlan_module(Wlan_Face *nf);
#endif
#endif

396
src/e_mod_main.c Normal file
View File

@ -0,0 +1,396 @@
#include <e.h>
#include "e_mod_main.h"
typedef struct _Instance Instance;
typedef struct _Wlan Wlan;
struct _Instance {
E_Gadcon_Client *gcc;
Evas_Object *wlan_obj;
Wlan *wlan;
Ecore_Timer *check_timer;
Config_Item *ci;
};
struct _Wlan {
Instance *inst;
Evas_Object *wlan_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 _wlan_cb_mouse_down (void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _wlan_cb_mouse_in (void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _wlan_cb_mouse_out (void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _wlan_menu_cb_configure(void *data, E_Menu *m, E_Menu_Item *mi);
static void _wlan_menu_cb_post (void *data, E_Menu *m);
static Config_Item *_wlan_config_item_get(const char *id);
static Wlan *_wlan_new (Evas * evas);
static void _wlan_free (Wlan * wlan);
static Eina_Bool _wlan_cb_check (void *data);
static void _wlan_update_qual (void *data, double value);
static void _wlan_update_level (void *data, double value);
static E_Config_DD *conf_edd = NULL;
static E_Config_DD *conf_item_edd = NULL;
Config *wlan_config = NULL;
static const E_Gadcon_Client_Class _gc_class = {
GADCON_CLIENT_CLASS_VERSION, "wlan", {
_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;
Wlan *wlan;
Instance *inst = E_NEW (Instance, 1);
inst->ci = _wlan_config_item_get(id);
wlan = _wlan_new(gc->evas);
wlan->inst = inst;
inst->wlan = wlan;
o = wlan->wlan_obj;
gcc = e_gadcon_client_new(gc, name, id, style, o);
gcc->data = inst;
inst->gcc = gcc;
inst->wlan_obj = o;
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
_wlan_cb_mouse_down, inst);
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_IN,
_wlan_cb_mouse_in, inst);
evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_OUT,
_wlan_cb_mouse_out, inst);
if (inst->ci->always_text)
edje_object_signal_emit(inst->wlan_obj, "label_active", "");
_wlan_cb_check(inst);
inst->check_timer = ecore_timer_add(inst->ci->poll_time,
_wlan_cb_check, inst);
wlan_config->instances = eina_list_append(wlan_config->instances, inst);
return gcc;
}
static void _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient) {
e_gadcon_client_aspect_set (gcc, 16, 16);
e_gadcon_client_min_size_set(gcc, 16, 16);
}
static const char *_gc_label(const E_Gadcon_Client_Class *client_class) {
return D_("Wlan");
}
static Evas_Object *_gc_icon(const E_Gadcon_Client_Class *client_class,
Evas *evas) {
char buf[PATH_MAX];
Evas_Object *o = edje_object_add(evas);
snprintf(buf, sizeof(buf), "%s/e-module-wlan.edj", wlan_config->mod_dir);
edje_object_file_set(o, buf, "icon");
return o;
}
static const char *_gc_id_new(const E_Gadcon_Client_Class *client_class) {
return _wlan_config_item_get(NULL)->id;
}
static void _gc_shutdown(E_Gadcon_Client *gcc) {
Instance *inst = gcc->data;
if (inst->check_timer) ecore_timer_del(inst->check_timer);
wlan_config->instances = eina_list_remove(wlan_config->instances, inst);
_wlan_free(inst->wlan);
E_FREE(inst);
}
static void _wlan_cb_mouse_down(void *data, Evas *e, Evas_Object *obj,
void *event_info)
{
Instance *inst = data;
Evas_Event_Mouse_Down *ev = event_info;
if ((ev->button == 3) && (!wlan_config->menu)) {
E_Menu *m;
E_Menu_Item *mi;
int x, y;
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, _wlan_menu_cb_configure, inst);
m = e_gadcon_client_util_menu_items_append(inst->gcc, m, 0);
e_menu_post_deactivate_callback_set(m, _wlan_menu_cb_post, inst);
wlan_config->menu = m;
e_gadcon_canvas_zone_geometry_get(inst->gcc->gadcon, &x, &y,
NULL, NULL);
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_DOWN, ev->timestamp);
evas_event_feed_mouse_up(inst->gcc->gadcon->evas, ev->button,
EVAS_BUTTON_NONE, ev->timestamp, NULL);
}
}
static void _wlan_menu_cb_post(void *data, E_Menu *m) {
if (!wlan_config->menu) return;
e_object_del(E_OBJECT(wlan_config->menu));
wlan_config->menu = NULL;
}
static void _wlan_menu_cb_configure(void *data, E_Menu *m, E_Menu_Item *mi) {
_config_wlan_module(((Instance*)data)->ci);
}
void _wlan_config_updated(Config_Item *ci) {
Eina_List *l;
if (!wlan_config) return;
for (l = wlan_config->instances; l; l = l->next) {
Instance *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,
_wlan_cb_check, inst);
edje_object_signal_emit (inst->wlan_obj,
inst->ci->always_text ? "label_active" : "label_passive", "");
}
}
static Config_Item *_wlan_config_item_get(const char *id) {
Config_Item *ci;
char buf[128];
if (!id) {
int num = 0;
if (wlan_config->items) {
const char *p;
ci = eina_list_last(wlan_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 {
Eina_List *l;
for (l = wlan_config->items; l; l = l->next) {
ci = l->data;
if (!ci->id) continue;
if (!strcmp (ci->id, id)) {
if (!ci->device) ci->device = eina_stringshare_add("wlan0");
return ci;
}
}
}
ci = E_NEW(Config_Item, 1);
ci->id = eina_stringshare_add(id);
ci->device = eina_stringshare_add("wlan0");
ci->poll_time = 1.0;
ci->always_text = 0;
ci->show_percent = 1;
wlan_config->items = eina_list_append(wlan_config->items, ci);
return ci;
}
EAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, "Wlan" };
EAPI void *e_modapi_init(E_Module *m) {
char buf[PATH_MAX];
snprintf(buf, sizeof (buf), "%s/locale", m->dir);
bindtextdomain (PACKAGE, buf);
bind_textdomain_codeset(PACKAGE, "UTF-8");
conf_item_edd = E_CONFIG_DD_NEW("Wlan_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, device, 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);
conf_edd = E_CONFIG_DD_NEW("Wlan_Config", Config);
#undef T
#undef D
#define T Config
#define D conf_edd
E_CONFIG_LIST(D, T, items, conf_item_edd);
wlan_config = e_config_domain_load("module.wlan", conf_edd);
if (!wlan_config) {
Config_Item *ci;
wlan_config = E_NEW(Config, 1);
ci = E_NEW(Config_Item, 1);
ci->id = eina_stringshare_add("0");
ci->device = eina_stringshare_add("wlan0");
ci->poll_time = 1.0;
ci->always_text = 0;
ci->show_percent = 1;
wlan_config->items = eina_list_append(wlan_config->items, ci);
}
wlan_config->mod_dir = eina_stringshare_add(m->dir);
e_gadcon_provider_register(&_gc_class);
return m;
}
EAPI int e_modapi_shutdown(E_Module *m) {
e_gadcon_provider_unregister(&_gc_class);
if (wlan_config->config_dialog)
e_object_del(E_OBJECT(wlan_config->config_dialog));
if (wlan_config->menu) {
e_menu_post_deactivate_callback_set(wlan_config->menu, NULL, NULL);
e_object_del(E_OBJECT(wlan_config->menu));
wlan_config->menu = NULL;
}
while (wlan_config->items) {
Config_Item *ci = wlan_config->items->data;
wlan_config->items = eina_list_remove_list(wlan_config->items,
wlan_config->items);
if (ci->id) eina_stringshare_del(ci->id);
if (ci->device) eina_stringshare_del(ci->device);
E_FREE(ci);
}
if (wlan_config->mod_dir) eina_stringshare_del(wlan_config->mod_dir);
E_FREE(wlan_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.wlan", conf_edd, wlan_config);
return 1;
}
static Wlan *_wlan_new(Evas *evas)
{
Wlan *wlan = E_NEW(Wlan, 1);
char buf[PATH_MAX];
wlan->wlan_obj = edje_object_add(evas);
snprintf(buf, sizeof (buf), "%s/e-module-wlan.edj", wlan_config->mod_dir);
if (!e_theme_edje_object_set(wlan->wlan_obj, "base/theme/modules/wlan",
"modules/wlan/main")) edje_object_file_set(wlan->wlan_obj, buf,
"modules/wlan/main");
evas_object_show(wlan->wlan_obj);
return wlan;
}
static void _wlan_free(Wlan *m) {
evas_object_del(m->wlan_obj);
E_FREE(m);
}
static void _wlan_cb_mouse_in(void *data, Evas *e, Evas_Object *obj,
void *event_info) {
Instance *inst = data;
edje_object_signal_emit(inst->wlan_obj, "label_active", "");
}
static void _wlan_cb_mouse_out(void *data, Evas *e, Evas_Object *obj,
void *event_info) {
Instance *inst = data;
if (!inst->ci->always_text)
edje_object_signal_emit(inst->wlan_obj, "label_passive", "");
}
static Eina_Bool _wlan_cb_check(void *data) {
Instance *inst;
unsigned int dummy;
char iface[64];
char buf [256];
FILE *stat;
int found_dev = 0;
int wlan_status = 0;
int wlan_link = 0;
int wlan_level = 0;
int wlan_noise = 0;
char omsg [100];
char in_str[100];
if (!(stat = fopen("/proc/net/wireless", "r"))) return EINA_TRUE;
inst = data;
while (fgets(buf, 256, stat)) {
int i = 0;
/* remove : */
for (; buf[i] != 0; i++)
if (buf[i] == ':' || buf[i] == '.') buf[i] = ' ';
if (sscanf(buf, "%s %u %u %u %u %u %u %u %u %u %u",
iface, &wlan_status, &wlan_link, &wlan_level, &wlan_noise,
&dummy, &dummy, &dummy, &dummy, &dummy, &dummy) < 11) continue;
if (!inst->ci->device) continue;
if (!strcmp(iface, inst->ci->device)) {
found_dev = 1;
break;
}
}
fclose(stat);
if (!found_dev) return EINA_TRUE;
snprintf(in_str, sizeof(in_str), "LNK: %d%%", wlan_link);
double link_send = ((double)wlan_link / (double)100.0);
double level_send = ((double)wlan_level / (double)100.0);
_wlan_update_qual (inst, link_send);
_wlan_update_level(inst, level_send);
snprintf(omsg, sizeof(omsg), "Qual: %d%%", wlan_link);
edje_object_part_text_set(inst->wlan_obj, "qual_label", omsg);
snprintf(omsg, sizeof(omsg), "Lvl: %d%%", wlan_level);
edje_object_part_text_set(inst->wlan_obj, "level_label", omsg);
return EINA_TRUE;
}
static void _wlan_update_qual(void *data, double value) {
Instance *inst = data;
Edje_Message_Float *val = malloc(sizeof(Edje_Message_Float));
val->val = value;
edje_object_message_send(inst->wlan_obj, EDJE_MESSAGE_FLOAT, 1, val);
free(val);
}
static void _wlan_update_level(void *data, double value) {
Instance *inst = data;
Edje_Message_Float *val = malloc(sizeof(Edje_Message_Float));
val->val = value;
edje_object_message_send(inst->wlan_obj, EDJE_MESSAGE_FLOAT, 2, val);
free(val);
}

45
src/e_mod_main.h Normal file
View File

@ -0,0 +1,45 @@
#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 {
const char *mod_dir;
E_Config_Dialog *config_dialog;
E_Menu *menu;
Eina_List *instances, *items;
};
struct _Config_Item {
const char *id;
const char *device;
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 _wlan_config_updated(Config_Item *ci);
void _config_wlan_module (Config_Item *ci);
void _wlan_get_values (Config_Item *ci, int *real, int *swap, int *total_real, int *total_swap);
extern Config *wlan_config;
#endif