summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <quaker66@gmail.com>2014-02-19 16:48:37 +0000
committerDaniel Kolesa <quaker66@gmail.com>2014-02-19 16:50:08 +0000
commit53c2921e8c378664e88ce927dc6abd86a4131430 (patch)
treecfbf8795563c3ab4c8b575129b642ef85ca48830
revived wlan: initial commit
-rw-r--r--AUTHORS6
-rw-r--r--COPYING32
-rw-r--r--COPYING-PLAIN33
-rw-r--r--ChangeLog0
-rw-r--r--INSTALL11
-rw-r--r--Makefile.am32
-rw-r--r--NEWS0
-rw-r--r--README0
-rwxr-xr-xautogen.sh17
-rw-r--r--configure.ac73
-rw-r--r--e-module-wlan.edc322
-rw-r--r--e_modules-wlan.spec.in48
-rw-r--r--images/level_00.pngbin0 -> 100 bytes
-rw-r--r--images/level_01.pngbin0 -> 534 bytes
-rw-r--r--images/level_02.pngbin0 -> 813 bytes
-rw-r--r--images/level_03.pngbin0 -> 1022 bytes
-rw-r--r--images/level_04.pngbin0 -> 1227 bytes
-rw-r--r--images/level_05.pngbin0 -> 1453 bytes
-rw-r--r--images/level_06.pngbin0 -> 1680 bytes
-rw-r--r--images/level_07.pngbin0 -> 1888 bytes
-rw-r--r--images/level_08.pngbin0 -> 2097 bytes
-rw-r--r--images/level_09.pngbin0 -> 2273 bytes
-rw-r--r--images/level_10.pngbin0 -> 2410 bytes
-rw-r--r--images/module_icon.pngbin0 -> 2310 bytes
-rw-r--r--images/qual_00.pngbin0 -> 100 bytes
-rw-r--r--images/qual_01.pngbin0 -> 376 bytes
-rw-r--r--images/qual_02.pngbin0 -> 527 bytes
-rw-r--r--images/qual_03.pngbin0 -> 652 bytes
-rw-r--r--images/qual_04.pngbin0 -> 744 bytes
-rw-r--r--images/qual_05.pngbin0 -> 863 bytes
-rw-r--r--images/qual_06.pngbin0 -> 975 bytes
-rw-r--r--images/qual_07.pngbin0 -> 1088 bytes
-rw-r--r--images/qual_08.pngbin0 -> 1209 bytes
-rw-r--r--images/qual_09.pngbin0 -> 1296 bytes
-rw-r--r--images/qual_10.pngbin0 -> 1382 bytes
-rw-r--r--images/wlan.pngbin0 -> 2942 bytes
-rw-r--r--module.desktop.in35
-rw-r--r--po/LINGUAS1
-rw-r--r--po/Makevars41
-rw-r--r--po/POTFILES.in4
-rw-r--r--po/ar.po69
-rw-r--r--po/bg.po59
-rw-r--r--po/ca.po62
-rw-r--r--po/cs.po65
-rw-r--r--po/da.po59
-rw-r--r--po/de.po64
-rw-r--r--po/el.po58
-rw-r--r--po/eo.po59
-rw-r--r--po/es.po57
-rw-r--r--po/fi.po56
-rw-r--r--po/fr.po62
-rw-r--r--po/gl.po58
-rw-r--r--po/he.po56
-rw-r--r--po/hr.po56
-rw-r--r--po/hu.po59
-rw-r--r--po/id.po56
-rw-r--r--po/it.po56
-rw-r--r--po/ja.po66
-rw-r--r--po/lt.po60
-rw-r--r--po/ms.po57
-rw-r--r--po/nb.po56
-rw-r--r--po/nl.po56
-rw-r--r--po/pl.po56
-rw-r--r--po/pt.po64
-rw-r--r--po/pt_BR.po56
-rw-r--r--po/ru.po58
-rw-r--r--po/sk.po56
-rw-r--r--po/sl.po60
-rw-r--r--po/sr.po58
-rw-r--r--po/sv.po67
-rw-r--r--po/tr.po59
-rw-r--r--po/uk.po67
-rw-r--r--po/zh_CN.po64
-rw-r--r--src/Makefile.am20
-rw-r--r--src/e_mod_config.c183
-rw-r--r--src/e_mod_config.h11
-rw-r--r--src/e_mod_main.c396
-rw-r--r--src/e_mod_main.h45
78 files changed, 3281 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..37f1ea4
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,6 @@
1Original wlan:
2- Matthew Mullins
3- Christopher 'devilhorns' Michael
4
5Updated wlan:
6- Daniel 'q66' Kolesa <quaker66@gmail.com>
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..9690c3f
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,32 @@
1
2Permission is hereby granted, free of charge, to any person obtaining a copy
3of this software and associated documentation files (the "Software"), to
4deal in the Software without restriction, including without limitation the
5rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6sell copies of the Software, and to permit persons to whom the Software is
7furnished to do so, subject to the following conditions:
8
9The above copyright notice and this permission notice shall be included in
10all copies of the Software and its Copyright notices. In addition publicly
11documented acknowledgment must be given that this software has been used if no
12source code of this software is made available publicly. Making the source
13available publicly means including the source for this software with the
14distribution, or a method to get this software via some reasonable mechanism
15(electronic transfer via a network or media) as well as making an offer to
16supply the source on request. This Copyright notice serves as an offer to
17supply the source on on request as well. Instead of this, supplying
18acknowledgments of use of this software in either Copyright notices, Manuals,
19Publicity and Marketing documents or any documentation provided with any
20product containing this software. This License does not apply to any software
21that links to the libraries provided by this software (statically or
22dynamically), but only to the software provided.
23
24Please see the COPYING-PLAIN for a plain-english explanation of this notice
25and its intent.
26
27THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
31IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
32CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/COPYING-PLAIN b/COPYING-PLAIN
new file mode 100644
index 0000000..b8e40d7
--- /dev/null
+++ b/COPYING-PLAIN
@@ -0,0 +1,33 @@
1Plain English Copyright Notice
2
3This file is not intended to be the actual License. The reason this file
4exists is that we here are programmers and engineers. We aren't lawyers. We
5provide licenses that we THINK say the right things, but we have our own
6intentions at heart. This is a plain-english explanation of what those
7intentions are, and if you follow them you will be within the "spirit" of
8the license.
9
10The intent is for us to enjoy writing software that is useful to us (the
11AUTHORS) and allow others to use it freely and also benefit from the work we
12put into making it. We don't want to restrict others using it. They should
13not *HAVE* to make the source code of the applications they write that
14simply link to these libraries (be that statically or dynamically), or for
15them to be limited as to what license they choose to use (be it open, closed
16or anything else). But we would like to know you are using these libraries.
17We simply would like to know that it has been useful to someone. This is why
18we ask for acknowledgement of some sort.
19
20You can do what you want with the source of this software - it doesn't
21matter. We still have it here for ourselves and it is open and free to use
22and download and play with. It can't be taken away. We don't really mind what
23you do with the source to your software. We would simply like to know that
24you are using it - especially if it makes it to a commerical product. If you
25simply e-mail all the AUTHORS (see COPYING and AUTHORS files) telling us, and
26then make sure you include a paragraph or page in the manual for the product
27with the copyright notice and state that you used this software, we will be
28very happy. If you want to contribute back modifications and fixes you may have
29made we will welcome those too with open arms (generally). If you want help
30with changes needed, ports needed or features to be added, arrangements can
31be easily made with some dialogue.
32
33Christopher Michael <devilhorns@comcast.net>
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ChangeLog
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..5001234
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,11 @@
1COMPILING and INSTALLING:
2
3If you got a official release tar archive do:
4 ./autogen.sh
5
6Then to compile:
7 make
8
9To install:
10 make install
11
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..a60a87d
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,32 @@
1ACLOCAL_AMFLAGS = -I m4
2
3MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
4 config.sub configure depcomp install-sh ltmain.sh \
5 missing module.desktop config.rpath mkinstalldirs
6
7SUBDIRS = src
8
9if HAVE_PO
10
11SUBDIRS += po
12
13endif
14
15EDJE_FLAGS = -v -id $(top_srcdir)/images
16
17filesdir = $(datadir)
18files_DATA = module.desktop e-module-wlan.edj
19
20EXTRA_DIST = module.desktop.in \
21 e_modules-wlan.spec.in \
22 e-module-wlan.edc \
23 $(wildcard images/*.png)
24
25%.edj: %.edc
26 $(EDJE_CC) $(EDJE_FLAGS) $< $@
27
28clean-local:
29 rm -rf e-module-wlan.edj module.desktop e_modules-wlan.spec *~
30
31uninstall:
32 rm -rf $(DESTDIR)$(datadir)
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/README
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..ae01364
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,17 @@
1#!/bin/sh
2
3rm -rf autom4te.cache
4rm -f aclocal.m4 ltmain.sh
5
6touch README
7
8echo "Running autopoint..." ; autopoint -f || :
9echo "Running aclocal..." ; aclocal -I m4 $ACLOCAL_FLAGS || exit 1
10echo "Running autoheader..." ; autoheader || exit 1
11echo "Running autoconf..." ; autoconf || exit 1
12echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
13echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
14
15if [ -z "$NOCONFIGURE" ]; then
16 ./configure "$@"
17fi
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..6ab8bd9
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,73 @@
1dnl Process this file with autoconf to produce a configure script.
2
3# get rid of that stupid cache mechanism
4rm -f config.cache
5
6AC_INIT(wlan, 0.1.0, enlightenment-devel@lists.sourceforge.net)
7AC_PREREQ(2.52)
8AC_CONFIG_SRCDIR(configure.ac)
9AC_CANONICAL_BUILD
10AC_CANONICAL_HOST
11AC_ISC_POSIX
12
13AM_INIT_AUTOMAKE(1.6)
14AC_CONFIG_HEADERS(config.h)
15m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
16
17AC_PROG_CC
18AC_HEADER_STDC
19AC_C_CONST
20
21define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
22define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
23AC_PROG_LIBTOOL
24
25m4_ifdef([AM_GNU_GETTEXT_VERSION], [
26AM_GNU_GETTEXT_VERSION([0.14])
27])
28
29m4_ifdef([AM_GNU_GETTEXT], [
30AM_GNU_GETTEXT([external])
31po_makefile_in=po/Makefile.in
32AM_CONDITIONAL([HAVE_PO], [true])
33],[
34AM_CONDITIONAL([HAVE_PO], [false])
35])
36AC_SUBST(LTLIBINTL)
37
38PKG_CHECK_MODULES(E, [enlightenment])
39release=$(pkg-config --variable=release enlightenment)
40MODULE_ARCH="$host_os-$host_cpu-$release"
41AC_SUBST(MODULE_ARCH)
42AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
43
44# Find edje_cc
45PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
46AC_ARG_WITH(edje-cc,
47 AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]),
48 [
49 v=$withval;
50 EDJE_CC=$v
51 ],[
52 EDJE_CC=$(pkg-config --variable=prefix edje)/bin/edje_cc
53 ]
54)
55AC_SUBST(EDJE_CC)
56AC_MSG_CHECKING([Which edje_cc to use])
57AC_MSG_RESULT(${EDJE_CC})
58
59datadir=$(pkg-config --variable=modules enlightenment)/${PACKAGE}
60AC_ARG_ENABLE(homedir-install,
61 AS_HELP_STRING([--enable-homedir-install], [Install module in homedir]),
62 [ datadir="${HOME}/.e/e/modules/${PACKAGE}" ]
63)
64
65AC_OUTPUT([
66Makefile
67src/Makefile
68e_modules-wlan.spec
69module.desktop
70$po_makefile_in
71], [
72])
73
diff --git a/e-module-wlan.edc b/e-module-wlan.edc
new file mode 100644
index 0000000..54cd938
--- /dev/null
+++ b/e-module-wlan.edc
@@ -0,0 +1,322 @@
1images {
2 image: "module_icon.png" COMP;
3 image: "wlan.png" COMP;
4 image: "qual_00.png" COMP;
5 image: "qual_01.png" COMP;
6 image: "qual_02.png" COMP;
7 image: "qual_03.png" COMP;
8 image: "qual_04.png" COMP;
9 image: "qual_05.png" COMP;
10 image: "qual_06.png" COMP;
11 image: "qual_07.png" COMP;
12 image: "qual_08.png" COMP;
13 image: "qual_09.png" COMP;
14 image: "qual_10.png" COMP;
15 image: "level_00.png" COMP;
16 image: "level_01.png" COMP;
17 image: "level_02.png" COMP;
18 image: "level_03.png" COMP;
19 image: "level_04.png" COMP;
20 image: "level_05.png" COMP;
21 image: "level_06.png" COMP;
22 image: "level_07.png" COMP;
23 image: "level_08.png" COMP;
24 image: "level_09.png" COMP;
25 image: "level_10.png" COMP;
26}
27collections {
28 group {
29 name : "icon";
30 max : 48 48;
31 parts {
32 part {
33 name : "image";
34 type : IMAGE;
35 mouse_events : 0;
36 description {
37 state : "default" 0.00;
38 visible : 1;
39 aspect : 1.0 1.0;
40 rel1.relative : 0.0 0.0;
41 rel1.offset : 0 0;
42 rel2.relative : 1.0 1.0;
43 rel2.offset : -1 -1;
44 image.normal : "module_icon.png";
45 }
46 }
47 }
48 }
49 group {
50 name : "modules/wlan/main";
51 min : 4 4;
52 max : 128 128;
53 script {
54 public message(Msg_Type:type, id, ...) {
55 if ((type == MSG_FLOAT) && (id == 1)) {
56 new Float:value;
57 value = getfarg(2);
58 set_state(PART:"qual_meter", "default", value);
59 }
60 if ((type == MSG_FLOAT) && (id == 2)) {
61 new Float:value;
62 value = getfarg(2);
63 set_state(PART:"level_meter", "default", value);
64 }
65 }
66 }
67 parts {
68 part {
69 name : "fade_clip";
70 type : RECT;
71 description {
72 state : "default" 0.0;
73 color : 255 255 255 255;
74 rel1.relative : 0.0 0.0;
75 rel1.offset : 0 0;
76 rel2.relative : 1.0 1.0;
77 rel2.offset : -1 -1;
78 }
79 }
80 part {
81 name : "wlan";
82 type : IMAGE;
83 clip_to : "fade_clip";
84 description {
85 state : "default" 0.0;
86 color : 255 255 255 192;
87 aspect : 1.0 1.0;
88 aspect_preference : BOTH;
89 align : 0.5 0.5;
90 rel1.relative : 0.0 0.0;
91 rel1.offset : 0 0;
92 rel2.relative : 1.0 1.0;
93 rel2.offset : -1 -1;
94 image.normal : "wlan.png";
95 }
96 }
97 part {
98 name : "qual_meter";
99 type : IMAGE;
100 clip_to : "fade_clip";
101 description {
102 state : "default" 0.0;
103 color : 255 255 255 192;
104 rel1.relative : 0.0 0.0;
105 rel1.offset : 0 0;
106 rel2.relative : 1.0 0.25;
107 rel2.offset : -1 -1;
108 image.normal : "qual_00.png";
109 }
110 description {
111 state : "default" 0.1;
112 inherit : "default" 0.0;
113 image.normal : "qual_01.png";
114 }
115 description {
116 state : "default" 0.2;
117 inherit : "default" 0.0;
118 image.normal : "qual_02.png";
119 }
120 description {
121 state : "default" 0.3;
122 inherit : "default" 0.0;
123 image.normal : "qual_03.png";
124 }
125 description {
126 state : "default" 0.4;
127 inherit : "default" 0.0;
128 image.normal : "qual_04.png";
129 }
130 description {
131 state : "default" 0.5;
132 inherit : "default" 0.0;
133 image.normal : "qual_05.png";
134 }
135 description {
136 state : "default" 0.6;
137 inherit : "default" 0.0;
138 image.normal : "qual_06.png";
139 }
140 description {
141 state : "default" 0.7;
142 inherit : "default" 0.0;
143 image.normal : "qual_07.png";
144 }
145 description {
146 state : "default" 0.8;
147 inherit : "default" 0.0;
148 image.normal : "qual_08.png";
149 }
150 description {
151 state : "default" 0.9;
152 inherit : "default" 0.0;
153 image.normal : "qual_09.png";
154 }
155 description {
156 state : "default" 1.0;
157 inherit : "default" 0.0;
158 image.normal : "qual_10.png";
159 }
160 }
161 part {
162 name : "qual_label";
163 type : TEXT;
164// clip_to : "fade_clip";
165 effect : SOFT_SHADOW;
166 description {
167 state : "default" 0.0;
168 color : 255 255 255 0;
169 color3 : 0 0 0 0;
170 visible : 0;
171 rel1.relative : 0.5 0.0;
172 rel1.offset : 0 0;
173 rel1.to : "qual_meter";
174 rel2.relative : 0.5 1.0;
175 rel2.offset : 0 0;
176 rel2.to : "qual_meter";
177 text {
178 text : "Quality:";
179 font : "Sans:style=Mono";
180 size : 9;
181 min : 1 1;
182 align : 0.5 1.0;
183 text_class : "module_small";
184 }
185 }
186 description {
187 state : "visible" 0.0;
188 inherit : "default" 0.0;
189 visible : 1;
190 color : 255 255 255 255;
191 color3 : 0 0 0 42;
192 color_class : "module_label";
193 }
194 }
195 part {
196 name : "level_meter";
197 type : IMAGE;
198 clip_to : "fade_clip";
199 description {
200 state : "default" 0.0;
201 rel1.relative : 0.0 0.75;
202 rel1.offset : 0 0;
203 rel2.relative : 1.0 1.0;
204 rel2.offset : -1 -1;
205 image.normal : "level_00.png";
206 color : 255 255 255 192;
207 }
208 description {
209 state : "default" 0.1;
210 inherit : "default" 0.0;
211 image.normal : "level_01.png";
212 }
213 description {
214 state : "default" 0.2;
215 inherit : "default" 0.0;
216 image.normal : "level_02.png";
217 }
218 description {
219 state : "default" 0.3;
220 inherit : "default" 0.0;
221 image.normal : "level_03.png";
222 }
223 description {
224 state : "default" 0.4;
225 inherit : "default" 0.0;
226 image.normal : "level_04.png";
227 }
228 description {
229 state : "default" 0.5;
230 inherit : "default" 0.0;
231 image.normal : "level_05.png";
232 }
233 description {
234 state : "default" 0.6;
235 inherit : "default" 0.0;
236 image.normal : "level_06.png";
237 }
238 description {
239 state : "default" 0.7;
240 inherit : "default" 0.0;
241 image.normal : "level_07.png";
242 }
243 description {
244 state : "default" 0.8;
245 inherit : "default" 0.0;
246 image.normal : "level_08.png";
247 }
248 description {
249 state : "default" 0.9;
250 inherit : "default" 0.0;
251 image.normal : "level_09.png";
252 }
253 description {
254 state : "default" 1.0;
255 inherit : "default" 0.0;
256 image.normal : "level_10.png";
257 }
258 }
259 part {
260 name : "level_label";
261 type : TEXT;
262// clip_to : "fade_clip";
263 effect : SOFT_SHADOW;
264 description {
265 state : "default" 0.0;
266 color : 255 255 255 0;
267 color3 : 0 0 0 0;
268 visible : 0;
269 rel1.relative : 0.5 0.0;
270 rel1.offset : 0 0;
271 rel1.to : "level_meter";
272 rel2.relative : 0.5 1.0;
273 rel2.offset : -1 -1;
274 rel2.to : "level_meter";
275 text {
276 text : "Level:";
277 font : "Sans:style=Mono";
278 size : 9;
279 min : 1 1;
280 align : 0.5 1.0;
281 text_class : "module_small";
282 }
283 }
284 description {
285 state : "visible" 0.0;
286 inherit : "default" 0.0;
287 visible : 1;
288 color : 255 255 255 255;
289 color3 : 0 0 0 42;
290 color_class : "module_label";
291 }
292 }
293 }
294 programs {
295 program {
296 name : "go_active";
297 signal : "label_active";
298 source : "";
299 action : STATE_SET "visible" 0.0;
300 transition : SINUSOIDAL 0.5;
301 target : "qual_label";
302 target : "level_label";
303 }
304 program {
305 name : "go_passive2";
306 signal : "label_passive2";
307 source : "";
308 action : ACTION_STOP;
309 target : "go_active";
310 }
311 program {
312 name : "go_passive";
313 signal : "label_passive";
314 source : "";
315 action : STATE_SET "default" 0.0;
316 transition : SINUSOIDAL 1.0;
317 target : "qual_label";
318 target : "level_label";
319 }
320 }
321 }
322}
diff --git a/e_modules-wlan.spec.in b/e_modules-wlan.spec.in
new file mode 100644
index 0000000..565a77a
--- /dev/null
+++ b/e_modules-wlan.spec.in
@@ -0,0 +1,48 @@
1%define module_name wlan
2%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
3
4Summary: %{module_name} module for the Enlightenment window manager
5Name: e_modules-%{module_name}
6Version: @VERSION@
7Release: %{_rel}
8License: BSD
9Group: User Interface/Desktops
10URL: http://www.enlightenment.org/
11Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{module_name}-%{version}.tar.gz
12Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
13Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
14Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
15BuildRequires: ecore-devel, evas-devel, edje-bin
16BuildRequires: edje-devel, eet-devel, enlightenment-devel >= 0.16.999
17Requires: enlightenment >= 0.16.999
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
20%description
21%{module_name} module for the Enlightenment window manager.
22
23%prep
24%setup -q -n %{module_name}-%{version}
25
26%build
27%{configure}
28%{__make} %{?_smp_mflags} %{?mflags}
29
30%install
31%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
32%{find_lang} %{module_name} || true > %{module_name}.lang
33
34%clean
35test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
36
37%post
38/sbin/ldconfig
39
40%postun
41/sbin/ldconfig
42
43%files -f %{module_name}.lang
44%defattr(-, root, root)
45%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README
46%{_libdir}/enlightenment/modules/%{module_name}*
47
48%changelog
diff --git a/images/level_00.png b/images/level_00.png
new file mode 100644
index 0000000..bbbce19
--- /dev/null
+++ b/images/level_00.png
Binary files differ
diff --git a/images/level_01.png b/images/level_01.png
new file mode 100644
index 0000000..c127b96
--- /dev/null
+++ b/images/level_01.png
Binary files differ
diff --git a/images/level_02.png b/images/level_02.png
new file mode 100644
index 0000000..2c98193
--- /dev/null
+++ b/images/level_02.png
Binary files differ
diff --git a/images/level_03.png b/images/level_03.png
new file mode 100644
index 0000000..f1ef87f
--- /dev/null
+++ b/images/level_03.png
Binary files differ
diff --git a/images/level_04.png b/images/level_04.png
new file mode 100644
index 0000000..12bb958
--- /dev/null
+++ b/images/level_04.png
Binary files differ
diff --git a/images/level_05.png b/images/level_05.png
new file mode 100644
index 0000000..1524d10
--- /dev/null
+++ b/images/level_05.png
Binary files differ
diff --git a/images/level_06.png b/images/level_06.png
new file mode 100644
index 0000000..ac82cc2
--- /dev/null
+++ b/images/level_06.png
Binary files differ
diff --git a/images/level_07.png b/images/level_07.png
new file mode 100644
index 0000000..a34b704
--- /dev/null
+++ b/images/level_07.png
Binary files differ
diff --git a/images/level_08.png b/images/level_08.png
new file mode 100644
index 0000000..873c34a
--- /dev/null
+++ b/images/level_08.png
Binary files differ
diff --git a/images/level_09.png b/images/level_09.png
new file mode 100644
index 0000000..6e822b6
--- /dev/null
+++ b/images/level_09.png
Binary files differ
diff --git a/images/level_10.png b/images/level_10.png
new file mode 100644
index 0000000..f7e83b5
--- /dev/null
+++ b/images/level_10.png
Binary files differ
diff --git a/images/module_icon.png b/images/module_icon.png
new file mode 100644
index 0000000..f8175ef
--- /dev/null
+++ b/images/module_icon.png
Binary files differ
diff --git a/images/qual_00.png b/images/qual_00.png
new file mode 100644
index 0000000..bbbce19
--- /dev/null
+++ b/images/qual_00.png
Binary files differ
diff --git a/images/qual_01.png b/images/qual_01.png
new file mode 100644
index 0000000..45937dd
--- /dev/null
+++ b/images/qual_01.png
Binary files differ
diff --git a/images/qual_02.png b/images/qual_02.png
new file mode 100644
index 0000000..28cf25a
--- /dev/null
+++ b/images/qual_02.png
Binary files differ
diff --git a/images/qual_03.png b/images/qual_03.png
new file mode 100644
index 0000000..338ee14
--- /dev/null
+++ b/images/qual_03.png
Binary files differ
diff --git a/images/qual_04.png b/images/qual_04.png
new file mode 100644
index 0000000..6b13de7
--- /dev/null
+++ b/images/qual_04.png
Binary files differ
diff --git a/images/qual_05.png b/images/qual_05.png
new file mode 100644
index 0000000..8a3ae92
--- /dev/null
+++ b/images/qual_05.png
Binary files differ
diff --git a/images/qual_06.png b/images/qual_06.png
new file mode 100644
index 0000000..d98131b
--- /dev/null
+++ b/images/qual_06.png
Binary files differ
diff --git a/images/qual_07.png b/images/qual_07.png
new file mode 100644
index 0000000..8442468
--- /dev/null
+++ b/images/qual_07.png
Binary files differ
diff --git a/images/qual_08.png b/images/qual_08.png
new file mode 100644
index 0000000..aa65063
--- /dev/null
+++ b/images/qual_08.png
Binary files differ
diff --git a/images/qual_09.png b/images/qual_09.png
new file mode 100644
index 0000000..b16bf50
--- /dev/null
+++ b/images/qual_09.png
Binary files differ
diff --git a/images/qual_10.png b/images/qual_10.png
new file mode 100644
index 0000000..82653ee
--- /dev/null
+++ b/images/qual_10.png
Binary files differ
diff --git a/images/wlan.png b/images/wlan.png
new file mode 100644
index 0000000..302b7b7
--- /dev/null
+++ b/images/wlan.png
Binary files differ
diff --git a/module.desktop.in b/module.desktop.in
new file mode 100644
index 0000000..40176d5
--- /dev/null
+++ b/module.desktop.in
@@ -0,0 +1,35 @@
1[Desktop Entry]
2Encoding=UTF-8
3Type=Link
4Name=Wlan
5Name[Name]=Wlan
6Name[ab]=
7Name[ca]=
8Name[cs]=
9Name[de]=WLAN
10Name[el]=Ασύρματο Δίκτυο
11Name[eo]=Sendrata loka reto
12Name[es]=
13Name[fr]=Réseau local sans fil
14Name[gl]=
15Name[hu]=
16Name[it]=
17Name[ja]=
18Name[ko]=
19Name[pt]=Rede sem fios
20Name[ru]=
21Name[sr]=
22Name[tr]=
23Comment=Gadget to monitor a wlan device.
24Comment[cs]=Gadget k monitorování wlan zařízení.
25Comment[de]=Drahtloses Netzwerk beobachten
26Comment[el]=Συστατικό για την παρακολούθηση μιας συσκευής ασύρματου δικτύου.
27Comment[eo]=Elrigardi aparaton de sendrata loka reto.
28Comment[es]=Módulo para administrar un dispositivo de red sin hilos.
29Comment[fr]=Affiche l'utilisation du réseau local sans fil.
30Comment[gl]=Módulo para administrar un dispositivo de rede sen fíos.
31Comment[hu]=Modul a wlan monitorozásához.
32Comment[it]=Modulo per il monitoraggio di un dispositivo di rete wireless.
33Comment[pt]=Módulo de monitorização dos dispositivos de rede sem fios
34Comment[ru]=Гаджет для мониторинга карты беспроводной сети.
35Icon=e-module-wlan
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..1dc155c
--- /dev/null
+++ b/po/LINGUAS
@@ -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
diff --git a/po/Makevars b/po/Makevars
new file mode 100644
index 0000000..9275c25
--- /dev/null
+++ b/po/Makevars
@@ -0,0 +1,41 @@
1# Makefile variables for PO directory in any package using GNU gettext.
2
3# Usually the message domain is the same as the package name.
4DOMAIN = $(PACKAGE)
5
6# These two variables depend on the location of this directory.
7subdir = po
8top_builddir = ..
9
10# These options get passed to xgettext.
11XGETTEXT_OPTIONS = --keyword=N_ --keyword=D_ --from-code=UTF-8 --foreign-user
12
13# This is the copyright holder that gets inserted into the header of the
14# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
15# package. (Note that the msgstr strings, extracted from the package's
16# sources, belong to the copyright holder of the package.) Translators are
17# expected to transfer the copyright for their translations to this person
18# or entity, or to disclaim their copyright. The empty string stands for
19# the public domain; in this case the translators are expected to disclaim
20# their copyright.
21COPYRIGHT_HOLDER = Enlightenment development team
22
23# This is the email address or URL to which the translators shall report
24# bugs in the untranslated strings:
25# - Strings which are not entire sentences, see the maintainer guidelines
26# in the GNU gettext documentation, section 'Preparing Strings'.
27# - Strings which use unclear terms or require additional context to be
28# understood.
29# - Strings which make invalid assumptions about notation of date, time or
30# money.
31# - Pluralisation problems.
32# - Incorrect English spelling.
33# - Incorrect formatting.
34# It can be your email address, or a mailing list address where translators
35# can write to without being subscribed, or the URL of a web page through
36# which the translators can contact you.
37MSGID_BUGS_ADDRESS = enlightenment-devel@lists.sourceforge.net
38
39# This is the list of locale categories, beyond LC_MESSAGES, for which the
40# message catalogs shall be used. It is usually empty.
41EXTRA_LOCALE_CATEGORIES =
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..e485344
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,4 @@
1src/e_mod_config.c
2src/e_mod_config.h
3src/e_mod_main.c
4src/e_mod_main.h
diff --git a/po/ar.po b/po/ar.po
new file mode 100644
index 0000000..142113d
--- /dev/null
+++ b/po/ar.po
@@ -0,0 +1,69 @@
1# Arabic translation for wlan.
2# This file is put in the public domain.
3# sameeer hussain <almusalimalmusalimah> 2011.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: wlan module\n"
8"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
9"POT-Creation-Date: 2010-09-09 08:02-0700\n"
10"PO-Revision-Date: 2012-01-24 20:44+0300\n"
11"Last-Translator: سمير حسين <almusalimalmusalimah@gmail.com>\n"
12"Language-Team: Arabic <almusalimalmusalimah@gmail.com>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16"X-Launchpad-Export-Date: 2009-08-27 10:01+0000\n"
17"X-Generator: Launchpad (build Unknown)\n"
18"X-Poedit-Language: Arabic\n"
19"X-Poedit-Country: SAUDI ARABIA\n"
20"X-Poedit-SourceCharset: utf-8\n"
21
22#: ../src/e_mod_config.c:44
23#| msgid "General Settings"
24msgid "Wlan Settings"
25msgstr "إعدادات الشبكة اللاسلكية"
26
27#: ../src/e_mod_config.c:122
28msgid "General Settings"
29msgstr "اﻹعدادات العامة"
30
31#: ../src/e_mod_config.c:124
32msgid "Always Show Text"
33msgstr "اعرض النص دائماً"
34
35#: ../src/e_mod_config.c:126
36msgid "Show Text On Mouse Over"
37msgstr "اعرض النص عند مرور الفأرة"
38
39#: ../src/e_mod_config.c:129
40msgid "Show Text As Percent"
41msgstr "أعرض النص كنسبة"
42
43#: ../src/e_mod_config.c:133
44msgid "Check Interval:"
45msgstr "الفاصل الزمني للفحص :"
46
47#: ../src/e_mod_config.c:136
48#, c-format
49msgid "%1.0f seconds"
50msgstr "%1.0f ثوان"
51
52#: ../src/e_mod_config.c:143
53msgid "Device Settings"
54msgstr "إعدادات الجهاز"
55
56#: ../src/e_mod_main.c:110
57msgid "Wlan"
58msgstr "الشبكة اللاسلكية (Wlan)"
59
60#: ../src/e_mod_main.c:169
61#| msgid "Device Settings"
62msgid "Settings"
63msgstr "اﻹعدادات"
64
65#~ msgid "Wlan Configuration"
66#~ msgstr "إعدادات الشبكة المحلية الاسلكية (Wlan)"
67
68#~ msgid "Configuration"
69#~ msgstr "الإعدادات"
diff --git a/po/bg.po b/po/bg.po
new file mode 100644
index 0000000..9474fec
--- /dev/null
+++ b/po/bg.po
@@ -0,0 +1,59 @@
1# Bulgarian translation for enlightenment
2# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
3# This file is distributed under the same license as the enlightenment package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: enlightenment\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2009-11-05 16:07+0800\n"
11"PO-Revision-Date: 2009-09-11 05:25+0000\n"
12"Last-Translator: vlood <vlood.vassilev@gmail.com>\n"
13"Language-Team: Bulgarian <bg@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2009-11-12 04:50+0000\n"
18"X-Generator: Launchpad (build Unknown)\n"
19
20#: ../src/e_mod_config.c:44
21msgid "Wlan Configuration"
22msgstr "Конфигурация на wlan"
23
24#: ../src/e_mod_config.c:117
25msgid "General Settings"
26msgstr "Общи настройки"
27
28#: ../src/e_mod_config.c:119
29msgid "Always Show Text"
30msgstr "Винаги показвай текста"
31
32#: ../src/e_mod_config.c:121
33msgid "Show Text On Mouse Over"
34msgstr "Показвай текста при преминаване с мишката"
35
36#: ../src/e_mod_config.c:124
37msgid "Show Text As Percent"
38msgstr "Показвай текста като процент"
39
40#: ../src/e_mod_config.c:128
41msgid "Check Interval:"
42msgstr "Интервал от време за проверка:"
43
44#: ../src/e_mod_config.c:131
45#, c-format
46msgid "%1.0f seconds"
47msgstr "%1.0f·секунди"
48
49#: ../src/e_mod_config.c:138
50msgid "Device Settings"
51msgstr "Настройки на устройство"
52
53#: ../src/e_mod_main.c:107
54msgid "Wlan"
55msgstr "Wlan"
56
57#: ../src/e_mod_main.c:165
58msgid "Configuration"
59msgstr "Конфигурация"
diff --git a/po/ca.po b/po/ca.po
new file mode 100644
index 0000000..98b80c6
--- /dev/null
+++ b/po/ca.po
@@ -0,0 +1,62 @@
1msgid ""
2msgstr ""
3"Project-Id-Version: Marc Furtià  i Puig\\\n"
4"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
5"POT-Creation-Date: 2013-01-29 18:09+0100\n"
6"PO-Revision-Date: 2013-02-04 18:28+0100\n"
7"Last-Translator: Marc Furtià i Puig <marc.furtia@gmail.com>\n"
8"Language-Team: \n"
9"Language: ca\n"
10"MIME-Version: 1.0\n"
11"Content-Type: text/plain; charset=UTF-8\n"
12"Content-Transfer-Encoding: 8bit\n"
13"Plural-Forms: nplurals=2; plural=(n != 1);\n"
14"X-Poedit-Bookmarks: -1,-1,1139,-1,-1,-1,-1,-1,-1,-1\n"
15"X-Generator: Poedit 1.5.4\n"
16
17#: src/e_mod_config.c:44
18msgid "Wlan Settings"
19msgstr "Preferències Xarxa Sense Fils"
20
21#: src/e_mod_config.c:122
22msgid "General Settings"
23msgstr "Preferències Generals"
24
25#: src/e_mod_config.c:124
26msgid "Always Show Text"
27msgstr "Sempre Mostra Text"
28
29#: src/e_mod_config.c:126
30msgid "Show Text On Mouse Over"
31msgstr "Mostra text Quan Ratolí damunt"
32
33#: src/e_mod_config.c:129
34msgid "Show Text As Percent"
35msgstr "Mostra Text Com Tan Per Cent"
36
37#: src/e_mod_config.c:133
38msgid "Check Interval:"
39msgstr "Interval Comprovació:"
40
41#: src/e_mod_config.c:136
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f segons"
45
46#: src/e_mod_config.c:143
47msgid "Device Settings"
48msgstr "Preferències Dispositiu"
49
50#: src/e_mod_main.c:110
51msgid "Wlan"
52msgstr "Xarxa Sense Fils"
53
54#: src/e_mod_main.c:164
55msgid "Settings"
56msgstr "Preferències"
57
58#~ msgid "Wlan Configuration"
59#~ msgstr "WLAN-Konfiguration"
60
61#~ msgid "Configuration"
62#~ msgstr "Konfiguration"
diff --git a/po/cs.po b/po/cs.po
new file mode 100644
index 0000000..77520b8
--- /dev/null
+++ b/po/cs.po
@@ -0,0 +1,65 @@
1# Czech translation.
2# This file is put in the public domain.
3# quaker66@gmail.com
4# Vít Pelčák <vit@pelcak.org>, 2011.
5msgid ""
6msgstr ""
7"Project-Id-Version: Wlan\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2011-10-16 14:36+0200\n"
10"PO-Revision-Date: 2011-10-15 12:40+0200\n"
11"Last-Translator: Vít Pelčák <vit@pelcak.org>\n"
12"Language-Team: Czech <kde-i18n-doc@kde.org>\n"
13"Language: \n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Generator: Lokalize 1.2\n"
18"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
19
20#: ../src/e_mod_config.c:44
21msgid "Wlan Settings"
22msgstr "Nastavení modulu Wlan"
23
24#: ../src/e_mod_config.c:122
25msgid "General Settings"
26msgstr "Obecná nastavení"
27
28#: ../src/e_mod_config.c:124
29msgid "Always Show Text"
30msgstr "Vždy zobrazit text"
31
32#: ../src/e_mod_config.c:126
33msgid "Show Text On Mouse Over"
34msgstr "Zobrazit text, když je kurzor nad ikonou"
35
36#: ../src/e_mod_config.c:129
37msgid "Show Text As Percent"
38msgstr "Zobrazit text jako procenta"
39
40#: ../src/e_mod_config.c:133
41msgid "Check Interval:"
42msgstr "Interval kontroly:"
43
44#: ../src/e_mod_config.c:136
45#, c-format
46msgid "%1.0f seconds"
47msgstr "%1.0f sekund"
48
49#: ../src/e_mod_config.c:143
50msgid "Device Settings"
51msgstr "Nastavení zařízení"
52
53#: ../src/e_mod_main.c:110
54msgid "Wlan"
55msgstr "Wlan"
56
57#: ../src/e_mod_main.c:164
58msgid "Settings"
59msgstr "Nastavení"
60
61#~ msgid "Wlan Configuration"
62#~ msgstr "Nastavení modulu Wlan"
63
64#~ msgid "Configuration"
65#~ msgstr "Konfigurace"
diff --git a/po/da.po b/po/da.po
new file mode 100644
index 0000000..cf404c4
--- /dev/null
+++ b/po/da.po
@@ -0,0 +1,59 @@
1# Danish translation for enlightenment
2# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
3# This file is distributed under the same license as the enlightenment package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: enlightenment\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2009-11-05 16:07+0800\n"
11"PO-Revision-Date: 2009-11-03 08:50+0000\n"
12"Last-Translator: Kris <lakristho@gmail.com>\n"
13"Language-Team: Danish <da@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2009-11-12 04:50+0000\n"
18"X-Generator: Launchpad (build Unknown)\n"
19
20#: ../src/e_mod_config.c:44
21msgid "Wlan Configuration"
22msgstr ""
23
24#: ../src/e_mod_config.c:117
25msgid "General Settings"
26msgstr "Generelle indstillinger"
27
28#: ../src/e_mod_config.c:119
29msgid "Always Show Text"
30msgstr "Vis altid tekst"
31
32#: ../src/e_mod_config.c:121
33msgid "Show Text On Mouse Over"
34msgstr ""
35
36#: ../src/e_mod_config.c:124
37msgid "Show Text As Percent"
38msgstr ""
39
40#: ../src/e_mod_config.c:128
41msgid "Check Interval:"
42msgstr ""
43
44#: ../src/e_mod_config.c:131
45#, c-format
46msgid "%1.0f seconds"
47msgstr ""
48
49#: ../src/e_mod_config.c:138
50msgid "Device Settings"
51msgstr ""
52
53#: ../src/e_mod_main.c:107
54msgid "Wlan"
55msgstr ""
56
57#: ../src/e_mod_main.c:165
58msgid "Configuration"
59msgstr "Konfiguration"
diff --git a/po/de.po b/po/de.po
new file mode 100644
index 0000000..cf49ba8
--- /dev/null
+++ b/po/de.po
@@ -0,0 +1,64 @@
1# German translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# meica, 2008.
4# Fabian Nowak <timystery@arcor.de>, 2010
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: enlightenment\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2011-01-09 21:20+0100\n"
11"PO-Revision-Date: 2008-12-29 10:31+0000\n"
12"Last-Translator: Fabian Nowak <timystery@arcor.de>\n"
13"Language-Team: German <de@li.org>\n"
14"Language: de\n"
15"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n"
18
19#: src/e_mod_config.c:44
20msgid "Wlan Settings"
21msgstr "WLAN-Einstellungen"
22
23#: src/e_mod_config.c:122
24msgid "General Settings"
25msgstr "Allgemeine Einstellungen"
26
27#: src/e_mod_config.c:124
28msgid "Always Show Text"
29msgstr "Text immer anzeigen"
30
31#: src/e_mod_config.c:126
32msgid "Show Text On Mouse Over"
33msgstr "Text anzeigen, wenn der Mauszeiger ihn berührt"
34
35#: src/e_mod_config.c:129
36msgid "Show Text As Percent"
37msgstr "Text in Prozent anzeigen"
38
39#: src/e_mod_config.c:133
40msgid "Check Interval:"
41msgstr "Kontrollintervall:"
42
43#: src/e_mod_config.c:136
44#, c-format
45msgid "%1.0f seconds"
46msgstr "%1.0f Sekunden"
47
48#: src/e_mod_config.c:143
49msgid "Device Settings"
50msgstr "Geräte-Einstellungen"
51
52#: src/e_mod_main.c:109
53msgid "Wlan"
54msgstr "Drahtloses Netzwerk"
55
56#: src/e_mod_main.c:168
57msgid "Settings"
58msgstr "Einstellungen"
59
60#~ msgid "Wlan Configuration"
61#~ msgstr "WLAN-Konfiguration"
62
63#~ msgid "Configuration"
64#~ msgstr "Konfiguration"
diff --git a/po/el.po b/po/el.po
new file mode 100644
index 0000000..ab1eba2
--- /dev/null
+++ b/po/el.po
@@ -0,0 +1,58 @@
1# translation of el.po to Greek
2# Wlan module (e17), Greek translation
3# This file is put in the public domain.
4# ragecryx <ragecryx@yahoo.gr>, 2009.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: el\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2009-08-28 16:32+0800\n"
11"PO-Revision-Date: 2008-11-11 10:12+0200\n"
12"Last-Translator: \n"
13"Language-Team: Greek <en@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Generator: KBabel 1.11.4\n"
18
19#: ../src/e_mod_config.c:44
20msgid "Wlan Configuration"
21msgstr "Ρύθμιση Wlan"
22
23#: ../src/e_mod_config.c:117
24msgid "General Settings"
25msgstr "Γενικές Ρυθμίσεις"
26
27#: ../src/e_mod_config.c:119
28msgid "Always Show Text"
29msgstr "Εμφάνιση Κειμένου Πάντα"
30
31#: ../src/e_mod_config.c:121
32msgid "Show Text On Mouse Over"
33msgstr "Εμφάνιση Κειμένου όταν είναι πάνω το Ποντίκι"
34
35#: ../src/e_mod_config.c:124
36msgid "Show Text As Percent"
37msgstr "Εμφάνιση Κειμένου ως Ποσοστό"
38
39#: ../src/e_mod_config.c:128
40msgid "Check Interval:"
41msgstr "Χρονικό Διάστημα Ελέγχου:"
42
43#: ../src/e_mod_config.c:131
44#, c-format
45msgid "%1.0f seconds"
46msgstr "%1.0f δευτερόλεπτα"
47
48#: ../src/e_mod_config.c:138
49msgid "Device Settings"
50msgstr "Ρυθμίσεις Συσκευής"
51
52#: ../src/e_mod_main.c:107
53msgid "Wlan"
54msgstr "Wlan"
55
56#: ../src/e_mod_main.c:165
57msgid "Configuration"
58msgstr "Ρύθμιση"
diff --git a/po/eo.po b/po/eo.po
new file mode 100644
index 0000000..9a04071
--- /dev/null
+++ b/po/eo.po
@@ -0,0 +1,59 @@
1# translation of eo.po to
2# This file is put in the public domain.
3# Olivier M.<olivierweb@ifrance.com>
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: eo\n"
8"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
9"POT-Creation-Date: 2012-12-04 13:32+0100\n"
10"PO-Revision-Date: 2013-06-28 20:11+0000\n"
11"Last-Translator: Eliovir <Unknown>\n"
12"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16"X-Launchpad-Export-Date: 2013-06-30 05:56+0000\n"
17"X-Generator: Launchpad (build 16692)\n"
18"Language: eo\n"
19
20#: src/e_mod_config.c:44
21msgid "Wlan Settings"
22msgstr "Agordoj de sendrata reto"
23
24#: src/e_mod_config.c:122
25msgid "General Settings"
26msgstr "Ĝeneralaj agordoj"
27
28#: src/e_mod_config.c:124
29msgid "Always Show Text"
30msgstr "Ĉiam montri tekston"
31
32#: src/e_mod_config.c:126
33msgid "Show Text On Mouse Over"
34msgstr "Montri tekston kiam muso supras"
35
36#: src/e_mod_config.c:129
37msgid "Show Text As Percent"
38msgstr "Montri tekston kiel procento"
39
40#: src/e_mod_config.c:133
41msgid "Check Interval:"
42msgstr "Kontroli intervalon:"
43
44#: src/e_mod_config.c:136
45#, c-format
46msgid "%1.0f seconds"
47msgstr "%1.0f sekundoj"
48
49#: src/e_mod_config.c:143
50msgid "Device Settings"
51msgstr "Agordoj pri aparatoj"
52
53#: src/e_mod_main.c:110
54msgid "Wlan"
55msgstr "Sendrata loka reto"
56
57#: src/e_mod_main.c:164
58msgid "Settings"
59msgstr "Agordoj"
diff --git a/po/es.po b/po/es.po
new file mode 100644
index 0000000..71c69f7
--- /dev/null
+++ b/po/es.po
@@ -0,0 +1,57 @@
1# Spanish translation for E17 wlan module.
2# This file is put in the public domain.
3# TeB <pasaeljabon@gmail.com>, 2008.
4# DiegoJ <diegojromerolopez@gmail.com>, 2009.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: Wlan\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2009-08-28 16:32+0800\n"
11"PO-Revision-Date: 2009-04-11 14:55+0000\n"
12"Last-Translator: DiegoJ <diegojromerolopez@gmail.com>\n"
13"Language-Team: none\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17
18#: ../src/e_mod_config.c:44
19msgid "Wlan Configuration"
20msgstr "Configuración de Wlan"
21
22#: ../src/e_mod_config.c:117
23msgid "General Settings"
24msgstr "Preferencias generales"
25
26#: ../src/e_mod_config.c:119
27msgid "Always Show Text"
28msgstr "Mostrar texto siempre"
29
30#: ../src/e_mod_config.c:121
31msgid "Show Text On Mouse Over"
32msgstr "Mostrar texto al poner el ratón encima"
33
34#: ../src/e_mod_config.c:124
35msgid "Show Text As Percent"
36msgstr "Mostrar texto como porcentaje"
37
38#: ../src/e_mod_config.c:128
39msgid "Check Interval:"
40msgstr "Tasa de comprobación:"
41
42#: ../src/e_mod_config.c:131
43#, c-format
44msgid "%1.0f seconds"
45msgstr "%1.0f segundos"
46
47#: ../src/e_mod_config.c:138
48msgid "Device Settings"
49msgstr "Opciones de dispositivo"
50
51#: ../src/e_mod_main.c:107
52msgid "Wlan"
53msgstr "Wlan"
54
55#: ../src/e_mod_main.c:165
56msgid "Configuration"
57msgstr "Configuración"
diff --git a/po/fi.po b/po/fi.po
new file mode 100644
index 0000000..9c08a90
--- /dev/null
+++ b/po/fi.po
@@ -0,0 +1,56 @@
1# Wlan module (e17), Finnish translation
2# This file is put in the public domain.
3# Jani väyrynen <janivayrynen@gmail.com>, 2008.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: Wlan module (e17)\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2008-01-23 01:50+0200\n"
11"Last-Translator: Jani väyrynen <janivayrynen@gmail.com>\n"
12"Language-Team: Finnish <janivayrynen@gmail.com>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Wlanin asetukset"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Yleisasetukset"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Näytä teksti aina"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Näytä teksti hiiren ollessa kohdalla"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "Näytä teksti prosentteina"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "Tarkistusväli:"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f sekuntia"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Laiteasetukset"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "Wlan"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Asetukset"
diff --git a/po/fr.po b/po/fr.po
new file mode 100644
index 0000000..d020082
--- /dev/null
+++ b/po/fr.po
@@ -0,0 +1,62 @@
1# Wlan module (e17), French translation.
2# This file is put in the public domain.
3# batden <batden@orange.fr>, 2009, 2010.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: Wlan module\n"
8"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
9"POT-Creation-Date: 2012-12-04 13:32+0100\n"
10"PO-Revision-Date: 2013-06-29 00:17+0000\n"
11"Last-Translator: Eliovir <Unknown>\n"
12"Language-Team: French <pourunmondesansgourou@gmail.com>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=utf-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16"X-Launchpad-Export-Date: 2013-06-30 05:56+0000\n"
17"X-Generator: Launchpad (build 16692)\n"
18"X-Poedit-Country: FRANCE\n"
19"Language: \n"
20"X-Poedit-Language: French\n"
21"X-Poedit-SourceCharset: utf-8\n"
22
23#: src/e_mod_config.c:44
24msgid "Wlan Settings"
25msgstr "Paramétrage de Wlan"
26
27#: src/e_mod_config.c:122
28msgid "General Settings"
29msgstr "Paramètres généraux"
30
31#: src/e_mod_config.c:124
32msgid "Always Show Text"
33msgstr "Toujours afficher le texte"
34
35#: src/e_mod_config.c:126
36msgid "Show Text On Mouse Over"
37msgstr "Afficher le texte au survol"
38
39#: src/e_mod_config.c:129
40msgid "Show Text As Percent"
41msgstr "Afficher le texte en pourcentage"
42
43#: src/e_mod_config.c:133
44msgid "Check Interval:"
45msgstr "Intervalle des vérifications :"
46
47#: src/e_mod_config.c:136
48#, c-format
49msgid "%1.0f seconds"
50msgstr "%1.0f secondes"
51
52#: src/e_mod_config.c:143
53msgid "Device Settings"
54msgstr "Choix de l'interface"
55
56#: src/e_mod_main.c:110
57msgid "Wlan"
58msgstr "Réseau local sans fil"
59
60#: src/e_mod_main.c:164
61msgid "Settings"
62msgstr "Configuration"
diff --git a/po/gl.po b/po/gl.po
new file mode 100644
index 0000000..e293d86
--- /dev/null
+++ b/po/gl.po
@@ -0,0 +1,58 @@
1# Galician translation of wlan
2# This file is put in the public domain.
3# Aníbal Garrido <khany@member.trisquel.info>, 2012.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: wlan\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2012-08-30 19:32+0200\n"
10"PO-Revision-Date: 2012-09-17 12:30+0200\n"
11"Last-Translator: Aníbal Garrido <khany@member.trisquel.info>\n"
12"Language-Team: http://trasno.net/ <proxecto@trasno.net>\n"
13"Language: gl\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17
18#: src/e_mod_main.c:110
19msgid "Wlan"
20msgstr "Wlan"
21
22#: src/e_mod_main.c:164
23msgid "Settings"
24msgstr "Configuracións"
25
26#: src/e_mod_config.c:44
27msgid "Wlan Settings"
28msgstr "Configuración de Wlan"
29
30#: src/e_mod_config.c:122
31msgid "General Settings"
32msgstr "Configuración Xeral"
33
34#: src/e_mod_config.c:124
35msgid "Always Show Text"
36msgstr "Amosar o texto sempre"
37
38#: src/e_mod_config.c:126
39msgid "Show Text On Mouse Over"
40msgstr "Amosar texto ó pór o rato enriba"
41
42#: src/e_mod_config.c:129
43msgid "Show Text As Percent"
44msgstr "Amosa-lo texto como porcentaxe"
45
46#: src/e_mod_config.c:133
47msgid "Check Interval:"
48msgstr "Intervalo de comprobación:"
49
50#: src/e_mod_config.c:136
51#, c-format
52msgid "%1.0f seconds"
53msgstr "%1.0f segundos"
54
55#: src/e_mod_config.c:143
56msgid "Device Settings"
57msgstr "Preferencias do Dispositivo"
58
diff --git a/po/he.po b/po/he.po
new file mode 100644
index 0000000..9999405
--- /dev/null
+++ b/po/he.po
@@ -0,0 +1,56 @@
1# Hebrew translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# Yaron <sh.yaron@gmail.com>, 2008.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2008-11-29 21:38+0000\n"
11"Last-Translator: Yaron <sh.yaron@gmail.com>\n"
12"Language-Team: Hebrew <he@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "תצורת Wlan"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "הגדרות כלליות"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "הצג טקסט תמיד"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "הצג טקסט עם העברת סמן העכבר"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "הצג טקסט כאחוזים"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "המתנה בין בדיקות:"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f שניות"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "הגדרות ההתקן"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "Wlan"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "תצורה"
diff --git a/po/hr.po b/po/hr.po
new file mode 100644
index 0000000..cd8502d
--- /dev/null
+++ b/po/hr.po
@@ -0,0 +1,56 @@
1# Croatian translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# Miro Glavic <glavicmiro@gmail.com>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2009-02-13 01:53+0000\n"
11"Last-Translator: Miro Glavic <glavicmiro@gmail.com>\n"
12"Language-Team: Croatian <hr@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Wlan Konfiguracija"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Opće Postavke"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Uvijek Prikaži Tekst"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Prikaži Tekst Kad je Miš Preko"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "Prikaži Tekst Kao Postotak"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "Provjeri Interval:"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f sekundi"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Postavke Uređaja"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "Wlan"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Konfiguracija"
diff --git a/po/hu.po b/po/hu.po
new file mode 100644
index 0000000..9aadd2d
--- /dev/null
+++ b/po/hu.po
@@ -0,0 +1,59 @@
1# translation of hu.po to hungarian
2# Copyright (C) YEAR Enlightenment development team
3# This file is distributed under the same license as the PACKAGE package.
4#
5# Lisovszki <lisovszki@gmail.com>, 2008.
6msgid ""
7msgstr ""
8"Project-Id-Version: hu\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2009-08-28 16:32+0800\n"
11"PO-Revision-Date: 2008-02-02 23:51+0100\n"
12"Last-Translator: Lisovszki <lisovszki@gmail.com>\n"
13"Language-Team: hungarian <hu@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Generator: KBabel 1.11.4\n"
18"Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20#: ../src/e_mod_config.c:44
21msgid "Wlan Configuration"
22msgstr "Wlan beállítások"
23
24#: ../src/e_mod_config.c:117
25msgid "General Settings"
26msgstr "Aáltalános beállítások"
27
28#: ../src/e_mod_config.c:119
29msgid "Always Show Text"
30msgstr "Mindig mutasd a szöveget"
31
32#: ../src/e_mod_config.c:121
33msgid "Show Text On Mouse Over"
34msgstr "Szöveg mutatása, ha az egér felette van"
35
36#: ../src/e_mod_config.c:124
37msgid "Show Text As Percent"
38msgstr "Mutasd a szöveget százalékként"
39
40#: ../src/e_mod_config.c:128
41msgid "Check Interval:"
42msgstr "Ellenőrzési időközök "
43
44#: ../src/e_mod_config.c:131
45#, c-format
46msgid "%1.0f seconds"
47msgstr "%1.0f másodperc"
48
49#: ../src/e_mod_config.c:138
50msgid "Device Settings"
51msgstr "Eszköz beállítások"
52
53#: ../src/e_mod_main.c:107
54msgid "Wlan"
55msgstr "Wlan"
56
57#: ../src/e_mod_main.c:165
58msgid "Configuration"
59msgstr "Beállítás"
diff --git a/po/id.po b/po/id.po
new file mode 100644
index 0000000..34a8885
--- /dev/null
+++ b/po/id.po
@@ -0,0 +1,56 @@
1# Indonesian translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2009-03-02 07:53+0000\n"
11"Last-Translator: madziuleq <Unknown>\n"
12"Language-Team: Indonesian <id@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Konfigurasi WLAN"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Pengaturan Umum"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Selalu Tampilan Teks"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Tampilkan Teks Pada Posisi Kursor"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr ""
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr ""
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f detik"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Pengaturan Perangkat"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "WLAN"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Konfigurasi"
diff --git a/po/it.po b/po/it.po
new file mode 100644
index 0000000..3010e82
--- /dev/null
+++ b/po/it.po
@@ -0,0 +1,56 @@
1# Italian translation for E17 wlan module.
2# This file is put in the public domain.
3# Massimo Maiurana <maiurana@inwind.it>, 2005.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: Wlan\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2010-09-11 13:56+0200\n"
10"PO-Revision-Date: 2010-09-11 14:07+0200\n"
11"Last-Translator: Massimo Maiurana <maiurana@inwind.it>\n"
12"Language-Team: none\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8-bit\n"
16
17#: src/e_mod_config.c:44
18msgid "Wlan Settings"
19msgstr "Impostazioni di Wlan"
20
21#: src/e_mod_config.c:122
22msgid "General Settings"
23msgstr "Impostazioni generali"
24
25#: src/e_mod_config.c:124
26msgid "Always Show Text"
27msgstr "Mostra sempre testo"
28
29#: src/e_mod_config.c:126
30msgid "Show Text On Mouse Over"
31msgstr "Mostra testo al passaggio del mouse"
32
33#: src/e_mod_config.c:129
34msgid "Show Text As Percent"
35msgstr "Mostra testo come percentuale"
36
37#: src/e_mod_config.c:133
38msgid "Check Interval:"
39msgstr "Frequenza di aggiornamento:"
40
41#: src/e_mod_config.c:136
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f secondi"
45
46#: src/e_mod_config.c:143
47msgid "Device Settings"
48msgstr "Impostazione del dispositivo"
49
50#: src/e_mod_main.c:110
51msgid "Wlan"
52msgstr "Wlan"
53
54#: src/e_mod_main.c:169
55msgid "Settings"
56msgstr "Impostazioni"
diff --git a/po/ja.po b/po/ja.po
new file mode 100644
index 0000000..4efe824
--- /dev/null
+++ b/po/ja.po
@@ -0,0 +1,66 @@
1# SOME DESCRIPTIVE TITLE.
2# This file is put in the public domain.
3# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4# Yasufumi Haga <yasufumi.haga@nifty.com>, 2006
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: Wlan\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2009-08-28 16:32+0800\n"
11"PO-Revision-Date: 2008-03-20 22:18+0900\n"
12"Last-Translator: Yasufumi Haga <yasufumi.haga@nifty.com>\n"
13"Language-Team: none\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17
18#: ../src/e_mod_config.c:44
19msgid "Wlan Configuration"
20msgstr "wlan の設定"
21
22#: ../src/e_mod_config.c:117
23msgid "General Settings"
24msgstr "一般の設定"
25
26#: ../src/e_mod_config.c:119
27msgid "Always Show Text"
28msgstr "常に情報を表示する"
29
30#: ../src/e_mod_config.c:121
31msgid "Show Text On Mouse Over"
32msgstr "マウスが乗ったときに情報を表示する"
33
34#: ../src/e_mod_config.c:124
35msgid "Show Text As Percent"
36msgstr "情報を百分率で表示する"
37
38#: ../src/e_mod_config.c:128
39msgid "Check Interval:"
40msgstr "監視間隔"
41
42#: ../src/e_mod_config.c:131
43#, c-format
44msgid "%1.0f seconds"
45msgstr "%1.0f 秒"
46
47#: ../src/e_mod_config.c:138
48msgid "Device Settings"
49msgstr "デバイスの設定"
50
51#: ../src/e_mod_main.c:107
52msgid "Wlan"
53msgstr ""
54
55#: ../src/e_mod_main.c:165
56msgid "Configuration"
57msgstr "設定"
58
59#~ msgid "Show Graph"
60#~ msgstr "グラフを表示する"
61
62#~ msgid "Enlightenment Wlan Monitor Module"
63#~ msgstr "Enlightenment wlan 監視モジュール"
64
65#~ msgid "This module is used to monitor a wlan device."
66#~ msgstr "これは wlan デバイスを監視するためのモジュールです."
diff --git a/po/lt.po b/po/lt.po
new file mode 100644
index 0000000..eea8a42
--- /dev/null
+++ b/po/lt.po
@@ -0,0 +1,60 @@
1# Lithuanian translation for enlightenment
2# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
3# This file is distributed under the same license as the enlightenment package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: enlightenment\n"
9"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
10"POT-Creation-Date: 2012-12-04 13:32+0100\n"
11"PO-Revision-Date: 2013-01-05 22:47+0000\n"
12"Last-Translator: Vaidotas <Unknown>\n"
13"Language-Team: Lithuanian <lt@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2013-01-06 04:52+0000\n"
18"X-Generator: Launchpad (build 16393)\n"
19"Language: lt\n"
20
21#: src/e_mod_config.c:44
22msgid "Wlan Settings"
23msgstr "Wlan nustatymai"
24
25#: src/e_mod_config.c:122
26msgid "General Settings"
27msgstr "Bendri nustatymai"
28
29#: src/e_mod_config.c:124
30msgid "Always Show Text"
31msgstr "Visada rodyti tekstą"
32
33#: src/e_mod_config.c:126
34msgid "Show Text On Mouse Over"
35msgstr "Rodyti tekstą užvedus pelės kursorių"
36
37#: src/e_mod_config.c:129
38msgid "Show Text As Percent"
39msgstr "Rodyti tekstą kaip procentus"
40
41#: src/e_mod_config.c:133
42msgid "Check Interval:"
43msgstr "Tikrinimo intervalas:"
44
45#: src/e_mod_config.c:136
46#, c-format
47msgid "%1.0f seconds"
48msgstr "%1.0f sekundžių"
49
50#: src/e_mod_config.c:143
51msgid "Device Settings"
52msgstr "Įrenginio nustatymai"
53
54#: src/e_mod_main.c:110
55msgid "Wlan"
56msgstr "Belaidis ryšys"
57
58#: src/e_mod_main.c:164
59msgid "Settings"
60msgstr "Nustatymai"
diff --git a/po/ms.po b/po/ms.po
new file mode 100644
index 0000000..9501754
--- /dev/null
+++ b/po/ms.po
@@ -0,0 +1,57 @@
1# Malay translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# Ahmed Noor Kader Mustajir Md Eusoff <Unknown>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
9"POT-Creation-Date: 2009-01-03 14:58+0800\n"
10"PO-Revision-Date: 2009-01-24 15:55+0000\n"
11"Last-Translator: Ahmed Noor Kader Mustajir Md Eusoff <Unknown>\n"
12"Language-Team: Malay <ms@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17
18#: ../e_mod_config.c:44
19msgid "Wlan Configuration"
20msgstr "Konfigurasi Wlan"
21
22#: ../e_mod_config.c:117
23msgid "General Settings"
24msgstr "Tetapan Umum"
25
26#: ../e_mod_config.c:119
27msgid "Always Show Text"
28msgstr "Selalu Tunjuk Teks"
29
30#: ../e_mod_config.c:121
31msgid "Show Text On Mouse Over"
32msgstr "Tunjuk Teks Bila Tetikus Di Atas"
33
34#: ../e_mod_config.c:124
35msgid "Show Text As Percent"
36msgstr "Tunjuk Teks sebagai Peratusan"
37
38#: ../e_mod_config.c:128
39msgid "Check Interval:"
40msgstr "Periksa Perubahan"
41
42#: ../e_mod_config.c:131
43#, c-format
44msgid "%1.0f seconds"
45msgstr "%1.0f saat"
46
47#: ../e_mod_config.c:138
48msgid "Device Settings"
49msgstr "Tetapan Peranti"
50
51#: ../e_mod_main.c:107
52msgid "Wlan"
53msgstr "Wlan"
54
55#: ../e_mod_main.c:165
56msgid "Configuration"
57msgstr "Konfigurasi"
diff --git a/po/nb.po b/po/nb.po
new file mode 100644
index 0000000..d95b974
--- /dev/null
+++ b/po/nb.po
@@ -0,0 +1,56 @@
1# Norwegian Bokmal translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2009-03-21 15:04+0000\n"
11"Last-Translator: Kenneth Langdalen <Unknown>\n"
12"Language-Team: Norwegian Bokmal <nb@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Wlan-konfigurering"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Generelle innstillinger"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Vis alltid tekst"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Vis tekst når musen er over"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "Vis tekst som prosent"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "Kontrollintervall"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f sekunder"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Enhetsinnstillinger"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "Wlan"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Konfigurasjon"
diff --git a/po/nl.po b/po/nl.po
new file mode 100644
index 0000000..b99d1e5
--- /dev/null
+++ b/po/nl.po
@@ -0,0 +1,56 @@
1# Dutch translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2009-07-16 18:00+0000\n"
11"Last-Translator: Yentl <y.v.t@scarlet.be>\n"
12"Language-Team: Dutch <nl@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Wlan Configuratie"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Algemene Instellingen"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Altijd Tekst Weergeven"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Tekst Weergeven bij Muisover"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "Tekst Weergeven als Percentage"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "Check Interval:"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f seconden"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Apparaatinstellingen"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "Wlan"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Configuratie"
diff --git a/po/pl.po b/po/pl.po
new file mode 100644
index 0000000..b68ee3a
--- /dev/null
+++ b/po/pl.po
@@ -0,0 +1,56 @@
1# Polish translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# Stanislaw Gackowski <launchpad@soeb.eu> 2008.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2009-02-24 08:57+0000\n"
11"Last-Translator: Stanislaw Gackowski <launchpad@soeb.eu>\n"
12"Language-Team: Polish <pl@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Konfiguracja Wlan"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Ustawienia ogólne"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Zawsze pokazuj tekst"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Pokazuj tekst przy najechaniu myszą"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "Pokazuj tekst jako procent"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "Częstotliwość sprawdzania:"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f sekund"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Ustawienia urządzenia"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "Wlan"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Konfiguracja"
diff --git a/po/pt.po b/po/pt.po
new file mode 100644
index 0000000..f8e16d5
--- /dev/null
+++ b/po/pt.po
@@ -0,0 +1,64 @@
1# Portuguese translation for wlan
2# This file is distributed under the same license as the enlightenment package.
3# Adaptado ao acordo ortográfico de 1990
4# Sérgio Marques <smarquespt@gmail.com>, 2010.
5# Sérgio Marques <sarquespt@gmail.com>, 2010.
6msgid ""
7msgstr ""
8"Project-Id-Version: wlan\n"
9"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
10"POT-Creation-Date: 2010-09-09 08:02-0700\n"
11"PO-Revision-Date: 2012-08-25 15:42+0100\n"
12"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n"
13"Language-Team: Portuguese <>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"Plural-Forms: nplurals=2; plural=(n > 1);\n"
18"X-Poedit-Language: Portuguese\n"
19"X-Poedit-Country: Portugal\n"
20"X-Generator: Lokalize 1.1\n"
21
22#: ../src/e_mod_config.c:44
23#| msgid "General Settings"
24msgid "Wlan Settings"
25msgstr "Definições"
26
27#: ../src/e_mod_config.c:122
28msgid "General Settings"
29msgstr "Definições gerais"
30
31#: ../src/e_mod_config.c:124
32msgid "Always Show Text"
33msgstr "Mostrar sempre o texto"
34
35#: ../src/e_mod_config.c:126
36msgid "Show Text On Mouse Over"
37msgstr "Mostrar texto ao passar com o rato"
38
39#: ../src/e_mod_config.c:129
40msgid "Show Text As Percent"
41msgstr "Mostrar texto como percentagem"
42
43#: ../src/e_mod_config.c:133
44msgid "Check Interval:"
45msgstr "Intervalo de verificação:"
46
47#: ../src/e_mod_config.c:136
48#, c-format
49msgid "%1.0f seconds"
50msgstr "%1.0f segundos"
51
52#: ../src/e_mod_config.c:143
53msgid "Device Settings"
54msgstr "Definições do dispositivo"
55
56#: ../src/e_mod_main.c:110
57msgid "Wlan"
58msgstr "Rede sem fios"
59
60#: ../src/e_mod_main.c:169
61#| msgid "Device Settings"
62msgid "Settings"
63msgstr "Definições"
64
diff --git a/po/pt_BR.po b/po/pt_BR.po
new file mode 100644
index 0000000..fb9e5e5
--- /dev/null
+++ b/po/pt_BR.po
@@ -0,0 +1,56 @@
1# Brazilian Portuguese translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# Enrico Nicoletto <liverig@gmail.com>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2009-01-16 01:35+0000\n"
11"Last-Translator: Enrico Nicoletto <liverig@gmail.com>\n"
12"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Configuração do Wlan"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Configurações gerais"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Sempre mostrar texto"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Mostrar texto ao passar com o mouse"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "Mostrar texto como porcentagem"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "Intervalo de checagem"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f segundos"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Configurações do dispositivo"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "Wlan"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Configuração"
diff --git a/po/ru.po b/po/ru.po
new file mode 100644
index 0000000..113799b
--- /dev/null
+++ b/po/ru.po
@@ -0,0 +1,58 @@
1# Russian translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-11-05 16:07+0800\n"
10"PO-Revision-Date: 2009-09-25 08:45+0000\n"
11"Last-Translator: Sergey Sedov <Unknown>\n"
12"Language-Team: Russian <ru@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16"X-Launchpad-Export-Date: 2009-11-12 04:51+0000\n"
17"X-Generator: Launchpad (build Unknown)\n"
18
19#: ../src/e_mod_config.c:44
20msgid "Wlan Configuration"
21msgstr "Настройки беспроводного соединения"
22
23#: ../src/e_mod_config.c:117
24msgid "General Settings"
25msgstr "Основные параметры"
26
27#: ../src/e_mod_config.c:119
28msgid "Always Show Text"
29msgstr "Всегда отображать текстовые подписи"
30
31#: ../src/e_mod_config.c:121
32msgid "Show Text On Mouse Over"
33msgstr "Отображать текстовые подписи при наведении указателя мыши"
34
35#: ../src/e_mod_config.c:124
36msgid "Show Text As Percent"
37msgstr "Отображать значения в процентах"
38
39#: ../src/e_mod_config.c:128
40msgid "Check Interval:"
41msgstr "Интервал проверки:"
42
43#: ../src/e_mod_config.c:131
44#, c-format
45msgid "%1.0f seconds"
46msgstr "%1.0f секунд(ы)"
47
48#: ../src/e_mod_config.c:138
49msgid "Device Settings"
50msgstr "Настройки оборудования"
51
52#: ../src/e_mod_main.c:107
53msgid "Wlan"
54msgstr "Беспроводная сеть"
55
56#: ../src/e_mod_main.c:165
57msgid "Configuration"
58msgstr "Настройки"
diff --git a/po/sk.po b/po/sk.po
new file mode 100644
index 0000000..550944f
--- /dev/null
+++ b/po/sk.po
@@ -0,0 +1,56 @@
1# Slovak translation for enlightenment
2# This file is distributed under the same license as the enlightenment package.
3# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: enlightenment\n"
8"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
9"POT-Creation-Date: 2009-08-28 16:32+0800\n"
10"PO-Revision-Date: 2009-04-29 09:24+0000\n"
11"Last-Translator: kayle.sk <webmaster@kayle.sk>\n"
12"Language-Team: Slovak <sk@li.org>\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16
17#: ../src/e_mod_config.c:44
18msgid "Wlan Configuration"
19msgstr "Nastavenie WLAN"
20
21#: ../src/e_mod_config.c:117
22msgid "General Settings"
23msgstr "Všeobecné nastavenia"
24
25#: ../src/e_mod_config.c:119
26msgid "Always Show Text"
27msgstr "Vždy zobraziť text"
28
29#: ../src/e_mod_config.c:121
30msgid "Show Text On Mouse Over"
31msgstr "Zobraziť text ak je kurzor nad ikonou"
32
33#: ../src/e_mod_config.c:124
34msgid "Show Text As Percent"
35msgstr "Zobraziť text ako percentá"
36
37#: ../src/e_mod_config.c:128
38msgid "Check Interval:"
39msgstr "Interval kontroly:"
40
41#: ../src/e_mod_config.c:131
42#, c-format
43msgid "%1.0f seconds"
44msgstr "%1.0f sekúnd"
45
46#: ../src/e_mod_config.c:138
47msgid "Device Settings"
48msgstr "Nastavenia zariadenia"
49
50#: ../src/e_mod_main.c:107
51msgid "Wlan"
52msgstr "WLAN"
53
54#: ../src/e_mod_main.c:165
55msgid "Configuration"
56msgstr "Nastavenia"
diff --git a/po/sl.po b/po/sl.po
new file mode 100644
index 0000000..3804a89
--- /dev/null
+++ b/po/sl.po
@@ -0,0 +1,60 @@
1# translation of wlan.po to Slovenian
2# Slovenian translation of Wlan.
3# This file is put in the public domain.
4#
5# r1to <renato.rener@gmail.com>, 2011.
6msgid ""
7msgstr ""
8"Project-Id-Version: wlan\n"
9"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
10"POT-Creation-Date: 2011-02-17 15:01-0800\n"
11"PO-Revision-Date: 2011-02-23 04:06+0100\n"
12"Last-Translator: r1to <renato.rener@gmail.com>\n"
13"Language-Team: Slovenian <sl@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Generator: KBabel 1.11.4\n"
18"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
19
20#: ../src/e_mod_config.c:44
21msgid "Wlan Settings"
22msgstr "Wlan nastavitve"
23
24#: ../src/e_mod_config.c:122
25msgid "General Settings"
26msgstr "Splošne nastavitve"
27
28#: ../src/e_mod_config.c:124
29msgid "Always Show Text"
30msgstr "Prikazuj besedilo - vedno"
31
32#: ../src/e_mod_config.c:126
33msgid "Show Text On Mouse Over"
34msgstr "Prikazuj·besedilo·ob prehodu z miško"
35
36#: ../src/e_mod_config.c:129
37msgid "Show Text As Percent"
38msgstr "Prikazuj besedilo v odstotkih"
39
40#: ../src/e_mod_config.c:133
41msgid "Check Interval:"
42msgstr "Premor preverjanja:"
43
44#: ../src/e_mod_config.c:136
45#, c-format
46msgid "%1.0f seconds"
47msgstr "%1.0f·sek."
48
49#: ../src/e_mod_config.c:143
50msgid "Device Settings"
51msgstr "Nastavitev naprav"
52
53#: ../src/e_mod_main.c:110
54msgid "Wlan"
55msgstr "Wlan"
56
57#: ../src/e_mod_main.c:169
58msgid "Settings"
59msgstr "Nastavitve"
60
diff --git a/po/sr.po b/po/sr.po
new file mode 100644
index 0000000..0e215e7
--- /dev/null
+++ b/po/sr.po
@@ -0,0 +1,58 @@
1#
2# Саша Петровић <salepetronije@gmail.com>, 2013.
3#
4msgid ""
5msgstr ""
6"Project-Id-Version: PACKAGE VERSION\n"
7"Report-Msgid-Bugs-To: $MSGID_BUGS_ADDRESS\n"
8"POT-Creation-Date: 2012-12-04 13:32+0100\n"
9"PO-Revision-Date: 2013-01-10 19:32+0000\n"
10"Last-Translator: Саша Петровић <salepetronije@gmail.com>\n"
11"Language-Team: српски <xfce-i18n@xfce.org>\n"
12"MIME-Version: 1.0\n"
13"Content-Type: text/plain; charset=UTF-8\n"
14"Content-Transfer-Encoding: 8bit\n"
15"X-Launchpad-Export-Date: 2013-01-11 04:36+0000\n"
16"X-Generator: Launchpad (build 16412)\n"
17"Language: \n"
18
19#: src/e_mod_config.c:44
20msgid "Wlan Settings"
21msgstr "Поставке бежичне везе"
22
23#: src/e_mod_config.c:122
24msgid "General Settings"
25msgstr "Опште поставке"
26
27#: src/e_mod_config.c:124
28msgid "Always Show Text"
29msgstr "Увек прикажи текст"
30
31#: src/e_mod_config.c:126
32msgid "Show Text On Mouse Over"
33msgstr "Прикажи текст при надношењу миша"
34
35#: src/e_mod_config.c:129
36msgid "Show Text As Percent"
37msgstr "Прикажи текст као проценат"
38
39#: src/e_mod_config.c:133
40msgid "Check Interval:"
41msgstr "Учесталост провере"
42
43#: src/e_mod_config.c:136
44#, c-format
45msgid "%1.0f seconds"
46msgstr "%1.0f секунди"
47
48#: src/e_mod_config.c:143
49msgid "Device Settings"
50msgstr "Подешавања уређаја"
51
52#: src/e_mod_main.c:110
53msgid "Wlan"
54msgstr "Бежична мрежа"
55
56#: src/e_mod_main.c:164
57msgid "Settings"
58msgstr "Поставке"
diff --git a/po/sv.po b/po/sv.po
new file mode 100644
index 0000000..3a90e2f
--- /dev/null
+++ b/po/sv.po
@@ -0,0 +1,67 @@
1# Swedish translation of Wlan module for E17.
2# This file is put in the public domain.
3# Anders Trobäck <enlightenment@troback.com>, 2006.
4# Daniel Nylander <yeager@ubuntu.com>, 2009.
5#
6#
7msgid ""
8msgstr ""
9"Project-Id-Version: Wlan module for E17 N/A\n"
10"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
11"POT-Creation-Date: 2009-08-28 16:32+0800\n"
12"PO-Revision-Date: 2009-01-11 15:47+0000\n"
13"Last-Translator: Daniel Nylander <yeager@ubuntu.com>\n"
14"Language-Team: Swedish\n"
15"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n"
18
19#: ../src/e_mod_config.c:44
20msgid "Wlan Configuration"
21msgstr "Wlan-konfiguration"
22
23#: ../src/e_mod_config.c:117
24msgid "General Settings"
25msgstr "Allmänna inställningar"
26
27#: ../src/e_mod_config.c:119
28msgid "Always Show Text"
29msgstr "Visa alltid text"
30
31#: ../src/e_mod_config.c:121
32msgid "Show Text On Mouse Over"
33msgstr "Visa text när musen är över"
34
35#: ../src/e_mod_config.c:124
36msgid "Show Text As Percent"
37msgstr "Visa text som procent"
38
39#: ../src/e_mod_config.c:128
40msgid "Check Interval:"
41msgstr "Kontrollintervall:"
42
43#: ../src/e_mod_config.c:131
44#, c-format
45msgid "%1.0f seconds"
46msgstr "%1.0f sekunder"
47
48#: ../src/e_mod_config.c:138
49msgid "Device Settings"
50msgstr "Enhetsinställningar"
51
52#: ../src/e_mod_main.c:107
53msgid "Wlan"
54msgstr "Wlan"
55
56#: ../src/e_mod_main.c:165
57msgid "Configuration"
58msgstr "Konfiguration"
59
60#~ msgid "Show Graph"
61#~ msgstr "Visa graf"
62
63#~ msgid "Enlightenment Wlan Monitor Module"
64#~ msgstr "Enlightenment Wlanövervakningsmodul"
65
66#~ msgid "This module is used to monitor a wlan device."
67#~ msgstr "Denna modul används för att övervaka en Wlan enhet."
diff --git a/po/tr.po b/po/tr.po
new file mode 100644
index 0000000..bb8d73f
--- /dev/null
+++ b/po/tr.po
@@ -0,0 +1,59 @@
1# Turkish translation for enlightenment
2# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
3# This file is distributed under the same license as the enlightenment package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: enlightenment\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2009-11-05 16:07+0800\n"
11"PO-Revision-Date: 2009-11-13 15:51+0000\n"
12"Last-Translator: Mustafa Yılmaz <apshalasha@gmail.com>\n"
13"Language-Team: Turkish <tr@li.org>\n"
14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2009-11-14 04:52+0000\n"
18"X-Generator: Launchpad (build Unknown)\n"
19
20#: ../src/e_mod_config.c:44
21msgid "Wlan Configuration"
22msgstr "Wlan Yapılandırması"
23
24#: ../src/e_mod_config.c:117
25msgid "General Settings"
26msgstr "Genel Ayarlar"
27
28#: ../src/e_mod_config.c:119
29msgid "Always Show Text"
30msgstr "Metni Hep Göster"
31
32#: ../src/e_mod_config.c:121
33msgid "Show Text On Mouse Over"
34msgstr "Metni Fare Üzerine Gelince Göster"
35
36#: ../src/e_mod_config.c:124
37msgid "Show Text As Percent"
38msgstr "Metni Yüzde Olarak Göster"
39
40#: ../src/e_mod_config.c:128
41msgid "Check Interval:"
42msgstr "Kontrol Sıklığı:"
43
44#: ../src/e_mod_config.c:131
45#, c-format
46msgid "%1.0f seconds"
47msgstr "%1.0f saniye"
48
49#: ../src/e_mod_config.c:138
50msgid "Device Settings"
51msgstr "Aygıt Ayarları"
52
53#: ../src/e_mod_main.c:107
54msgid "Wlan"
55msgstr "Wlan"
56
57#: ../src/e_mod_main.c:165
58msgid "Configuration"
59msgstr "Yapılandırma"
diff --git a/po/uk.po b/po/uk.po
new file mode 100644
index 0000000..06a30b2
--- /dev/null
+++ b/po/uk.po
@@ -0,0 +1,67 @@
1# This file is put in the public domain.
2# Daniel Korostil <ted.korostiled@gmail.com>, 2009.
3# Korostil Daniel <ted.korostiled@gmail.com>, 2011.
4msgid ""
5msgstr ""
6"Project-Id-Version: wlan.HEAD\n"
7"Report-Msgid-Bugs-To: http://trac.enlightenment.org/e\n"
8"POT-Creation-Date: 2010-09-09 08:02-0700\n"
9"PO-Revision-Date: 2011-02-06 11:04+0300\n"
10"Last-Translator: Korostil Daniel <ted.korostiled@gmail.com>\n"
11"Language-Team: translation@linux.org.ua\n"
12"Language: uk\n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: 8bit\n"
16"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
17"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18"X-Generator: Virtaal 0.6.1\n"
19
20#: ../src/e_mod_config.c:44
21#| msgid "General Settings"
22msgid "Wlan Settings"
23msgstr "Налаштування"
24
25#: ../src/e_mod_config.c:122
26msgid "General Settings"
27msgstr "Загальні налаштування"
28
29#: ../src/e_mod_config.c:124
30msgid "Always Show Text"
31msgstr "Постійно показувати текст"
32
33#: ../src/e_mod_config.c:126
34msgid "Show Text On Mouse Over"
35msgstr "Показувати текст лише при піднесенні курсора миші"
36
37#: ../src/e_mod_config.c:129
38msgid "Show Text As Percent"
39msgstr "Показувати текст у відсотках"
40
41#: ../src/e_mod_config.c:133
42msgid "Check Interval:"
43msgstr "Проміжок перевірки:"
44
45#: ../src/e_mod_config.c:136
46#, c-format
47msgid "%1.0f seconds"
48msgstr "%1.0f секунд"
49
50#: ../src/e_mod_config.c:143
51msgid "Device Settings"
52msgstr "Налаштування пристрою"
53
54#: ../src/e_mod_main.c:110
55msgid "Wlan"
56msgstr "Локальна мережа"
57
58#: ../src/e_mod_main.c:169
59#| msgid "Device Settings"
60msgid "Settings"
61msgstr "Налаштування"
62
63#~ msgid "Wlan Configuration"
64#~ msgstr "Налаштування локальної радіомережі"
65
66#~ msgid "Configuration"
67#~ msgstr "Налаштування"
diff --git a/po/zh_CN.po b/po/zh_CN.po
new file mode 100644
index 0000000..d2a6a53
--- /dev/null
+++ b/po/zh_CN.po
@@ -0,0 +1,64 @@
1# Wlan module (e17), Simplifed Chinese translation
2# This file is put in the public domain.
3#
4# Aron Xu <aronmalache@163.com>, 2008.
5#
6msgid ""
7msgstr ""
8"Project-Id-Version: Wlan module (e17)\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2012-12-22 06:25+0800\n"
11"PO-Revision-Date: 2012-12-22 06:26+0800\n"
12"Last-Translator: Aron Xu <happyaron.xu@gmail.com>\n"
13"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
14"Language: \n"
15"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n"
18
19#: ../src/e_mod_config.c:44
20msgid "Wlan Settings"
21msgstr "Wlan 设置"
22
23#: ../src/e_mod_config.c:122
24msgid "General Settings"
25msgstr "常规设置"
26
27#: ../src/e_mod_config.c:124
28msgid "Always Show Text"
29msgstr "总是显示文本"
30
31#: ../src/e_mod_config.c:126
32msgid "Show Text On Mouse Over"
33msgstr "当鼠标移过时显示"
34
35#: ../src/e_mod_config.c:129
36msgid "Show Text As Percent"
37msgstr "以百分比显示"
38
39#: ../src/e_mod_config.c:133
40msgid "Check Interval:"
41msgstr "检查间隔"
42
43#: ../src/e_mod_config.c:136
44#, c-format
45msgid "%1.0f seconds"
46msgstr "%1.0f 秒"
47
48#: ../src/e_mod_config.c:143
49msgid "Device Settings"
50msgstr "设备设置"
51
52#: ../src/e_mod_main.c:110
53msgid "Wlan"
54msgstr "Wlan"
55
56#: ../src/e_mod_main.c:164
57msgid "Settings"
58msgstr "设置"
59
60#~ msgid "Wlan Configuration"
61#~ msgstr "Wlan 配置"
62
63#~ msgid "Configuration"
64#~ msgstr "配置"
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..46d4a73
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,20 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3INCLUDES = -I. \
4 -I$(top_srcdir) \
5 -I$(includedir) \
6 @E_CFLAGS@
7
8pkgdir = $(datadir)/$(MODULE_ARCH)
9pkg_LTLIBRARIES = module.la
10module_la_SOURCES = e_mod_main.c \
11 e_mod_main.h \
12 e_mod_config.c \
13 e_mod_config.h
14
15module_la_LIBADD = @E_LIBS@
16module_la_LDFLAGS = -module -avoid-version
17module_la_DEPENDENCIES = $(top_builddir)/config.h
18
19clean-local:
20 rm -rf *~
diff --git a/src/e_mod_config.c b/src/e_mod_config.c
new file mode 100644
index 0000000..73790c9
--- /dev/null
+++ b/src/e_mod_config.c
@@ -0,0 +1,183 @@
1#include <e.h>
2#include "e_mod_main.h"
3
4struct _E_Config_Dialog_Data {
5 const char *device;
6 Eina_List *devs;
7 int dev_num;
8 double poll_time;
9 int always_text;
10 int show_percent;
11};
12
13static void *_create_data(E_Config_Dialog *cfd);
14static void _free_data (E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
15static void _fill_data (Config_Item *ci, E_Config_Dialog_Data *cfdata);
16
17static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata);
18static int _basic_apply_data (E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
19
20static void _wlan_config_get_devices(Eina_List *devs);
21
22void _config_wlan_module(Config_Item *ci) {
23 E_Config_Dialog *cfd = NULL;
24 E_Config_Dialog_View *v = NULL;
25
26 char buf[PATH_MAX];
27
28 if (e_config_dialog_find("Wlan", "_e_modules_wlan_config_dialog"))
29 return;
30
31 v = E_NEW(E_Config_Dialog_View, 1);
32 v->create_cfdata = _create_data;
33 v->free_cfdata = _free_data;
34 v->basic.apply_cfdata = _basic_apply_data;
35 v->basic.create_widgets = _basic_create_widgets;
36
37 snprintf(buf, sizeof(buf), "%s/e-module-wlan.edj", wlan_config->mod_dir);
38 cfd = e_config_dialog_new(e_util_comp_current_get(), D_("Wlan Settings"),
39 "Wlan", "_e_modules_wlan_config_dialog", buf, 0, v, ci);
40 wlan_config->config_dialog = cfd;
41}
42
43static void _fill_data(Config_Item *ci, E_Config_Dialog_Data *cfdata) {
44 Eina_List *l;
45 char *tmp;
46 int i = 0;
47
48 cfdata->poll_time = ci->poll_time;
49 cfdata->always_text = ci->always_text;
50 cfdata->show_percent = ci->show_percent;
51
52 cfdata->device = NULL;
53 if (ci->device) cfdata->device = eina_stringshare_add(ci->device);
54
55 if (!cfdata->device) return;
56
57 _wlan_config_get_devices(cfdata->devs);
58 if (!cfdata->devs) return;
59
60 EINA_LIST_FOREACH(cfdata->devs, l, tmp) {
61 if (!strcmp(cfdata->device, tmp)) {
62 cfdata->dev_num = i;
63 break;
64 }
65 i++;
66 }
67}
68
69static void *_create_data(E_Config_Dialog *cfd) {
70 E_Config_Dialog_Data *cfdata = E_NEW(E_Config_Dialog_Data, 1);
71 Config_Item *ci = cfd->data;
72 _fill_data(ci, cfdata);
73 return cfdata;
74}
75
76static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) {
77 const char *data;
78
79 if (!wlan_config) return;
80 wlan_config->config_dialog = NULL;
81 eina_stringshare_del(cfdata->device);
82
83 if (cfdata->devs) {
84 EINA_LIST_FREE(cfdata->devs, data) eina_stringshare_del(data);
85 eina_list_free(cfdata->devs);
86 }
87
88 E_FREE(cfdata);
89}
90
91static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas,
92E_Config_Dialog_Data *cfdata) {
93 Evas_Object *o, *of, *ob;
94 E_Radio_Group *rg;
95 Eina_List *l;
96 char *tmp;
97 int i = 0;
98
99 o = e_widget_list_add(evas, 0, 0);
100 of = e_widget_framelist_add(evas, D_("General Settings"), 0);
101
102 rg = e_widget_radio_group_new(&(cfdata->always_text));
103 ob = e_widget_radio_add(evas, D_("Always Show Text"), 1, rg);
104 e_widget_framelist_object_append(of, ob);
105
106 ob = e_widget_radio_add(evas, D_("Show Text On Mouse Over"), 0, rg);
107 e_widget_framelist_object_append(of, ob);
108
109 ob = e_widget_check_add(evas, D_("Show Text As Percent"),
110 &(cfdata->show_percent));
111 e_widget_framelist_object_append(of, ob);
112
113 ob = e_widget_label_add(evas, D_("Check Interval:"));
114 e_widget_framelist_object_append(of, ob);
115
116 ob = e_widget_slider_add(evas, 1, 0, D_("%1.0f seconds"),
117 1.0, 60.0, 1.0, 0, &(cfdata->poll_time), NULL, 150);
118 e_widget_framelist_object_append(of, ob);
119
120 e_widget_list_object_append(o, of, 1, 1, 0.5);
121
122 if (cfdata->devs) {
123 of = e_widget_framelist_add(evas, D_("Device Settings"), 0);
124 rg = e_widget_radio_group_new(&(cfdata->dev_num));
125 EINA_LIST_FOREACH(cfdata->devs, l, tmp) {
126 ob = e_widget_radio_add(evas, tmp, i, rg);
127 e_widget_framelist_object_append(of, ob);
128 i++;
129 }
130 e_widget_list_object_append (o, of, 1, 1, 0.5);
131 }
132
133 return o;
134}
135
136static int _basic_apply_data(E_Config_Dialog *cfd,
137E_Config_Dialog_Data *cfdata) {
138 Config_Item *ci;
139 char *tmp;
140
141 ci = cfd->data;
142 ci->poll_time = cfdata->poll_time;
143
144 ci->always_text = cfdata->always_text;
145 ci->show_percent = cfdata->show_percent;
146
147 if (cfdata->devs) {
148 cfdata->devs = eina_list_nth_list(cfdata->devs, cfdata->dev_num);
149 tmp = eina_list_data_get(cfdata->devs);
150 if (tmp) {
151 if (ci->device) eina_stringshare_del(ci->device);
152 ci->device = eina_stringshare_add(tmp);
153 E_FREE(tmp);
154 }
155 }
156
157 e_config_save_queue();
158 _wlan_config_updated(ci);
159
160 return 1;
161}
162
163static void _wlan_config_get_devices(Eina_List *devs) {
164 FILE *stat;
165 char dev[64];
166 char buf[256];
167 unsigned long dummy;
168 float dummy_float;
169
170 if (!(stat = fopen("/proc/net/wireless", "r"))) return;
171
172 while (fgets(buf, 256, stat)) {
173 int i;
174 for (i = 0; buf[i]; ++i)
175 if (buf[i] == ':') buf[i] = ' ';
176 if (sscanf (buf, "%s %lu %f %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu "
177 "%lu %lu %lu %lu\n", dev, &dummy, &dummy_float, &dummy,
178 &dummy, &dummy, &dummy, &dummy, &dummy, &dummy, &dummy,
179 &dummy, &dummy, &dummy, &dummy, &dummy, &dummy) < 4) continue;
180 devs = eina_list_append(devs, eina_stringshare_add(dev));
181 }
182 fclose(stat);
183}
diff --git a/src/e_mod_config.h b/src/e_mod_config.h
new file mode 100644
index 0000000..8a06c73
--- /dev/null
+++ b/src/e_mod_config.h
@@ -0,0 +1,11 @@
1#ifdef E_TYPEDEFS
2#else
3#ifndef E_MOD_CONFIG_H
4#define E_MOD_CONFIG_H
5
6#include "e_mod_main.h"
7
8void _configure_wlan_module(Wlan_Face *nf);
9
10#endif
11#endif
diff --git a/src/e_mod_main.c b/src/e_mod_main.c
new file mode 100644
index 0000000..b6d01e0
--- /dev/null
+++ b/src/e_mod_main.c
@@ -0,0 +1,396 @@
1#include <e.h>
2#include "e_mod_main.h"
3
4typedef struct _Instance Instance;
5typedef struct _Wlan Wlan;
6
7struct _Instance {
8 E_Gadcon_Client *gcc;
9 Evas_Object *wlan_obj;
10 Wlan *wlan;
11 Ecore_Timer *check_timer;
12 Config_Item *ci;
13};
14
15struct _Wlan {
16 Instance *inst;
17 Evas_Object *wlan_obj;
18};
19
20/* Func Protos for Gadcon */
21static E_Gadcon_Client *_gc_init (E_Gadcon *gc, const char *name, const char *id, const char *style);
22static void _gc_shutdown(E_Gadcon_Client *gcc);
23static void _gc_orient (E_Gadcon_Client *gcc, E_Gadcon_Orient orient);
24static const char *_gc_label (const E_Gadcon_Client_Class *client_class);
25static Evas_Object *_gc_icon (const E_Gadcon_Client_Class *client_class, Evas *evas);
26static const char *_gc_id_new (const E_Gadcon_Client_Class *client_class);
27
28/* Func Protos for Module */
29static void _wlan_cb_mouse_down (void *data, Evas *e, Evas_Object *obj, void *event_info);
30static void _wlan_cb_mouse_in (void *data, Evas *e, Evas_Object *obj, void *event_info);
31static void _wlan_cb_mouse_out (void *data, Evas *e, Evas_Object *obj, void *event_info);
32static void _wlan_menu_cb_configure(void *data, E_Menu *m, E_Menu_Item *mi);
33static void _wlan_menu_cb_post (void *data, E_Menu *m);
34
35static Config_Item *_wlan_config_item_get(const char *id);
36static Wlan *_wlan_new (Evas * evas);
37static void _wlan_free (Wlan * wlan);
38static Eina_Bool _wlan_cb_check (void *data);
39static void _wlan_update_qual (void *data, double value);
40static void _wlan_update_level (void *data, double value);
41
42static E_Config_DD *conf_edd = NULL;
43static E_Config_DD *conf_item_edd = NULL;
44
45Config *wlan_config = NULL;
46
47static const E_Gadcon_Client_Class _gc_class = {
48 GADCON_CLIENT_CLASS_VERSION, "wlan", {
49 _gc_init, _gc_shutdown, _gc_orient, _gc_label, _gc_icon, _gc_id_new,
50 NULL, NULL
51 }, E_GADCON_CLIENT_STYLE_PLAIN
52};
53
54static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name,
55const char *id, const char *style) {
56 E_Gadcon_Client *gcc;
57 Evas_Object *o;
58 Wlan *wlan;
59
60 Instance *inst = E_NEW (Instance, 1);
61 inst->ci = _wlan_config_item_get(id);
62
63 wlan = _wlan_new(gc->evas);
64 wlan->inst = inst;
65 inst->wlan = wlan;
66
67 o = wlan->wlan_obj;
68 gcc = e_gadcon_client_new(gc, name, id, style, o);
69 gcc->data = inst;
70 inst->gcc = gcc;
71 inst->wlan_obj = o;
72
73 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
74 _wlan_cb_mouse_down, inst);
75 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_IN,
76 _wlan_cb_mouse_in, inst);
77 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_OUT,
78 _wlan_cb_mouse_out, inst);
79
80 if (inst->ci->always_text)
81 edje_object_signal_emit(inst->wlan_obj, "label_active", "");
82
83 _wlan_cb_check(inst);
84
85 inst->check_timer = ecore_timer_add(inst->ci->poll_time,
86 _wlan_cb_check, inst);
87 wlan_config->instances = eina_list_append(wlan_config->instances, inst);
88
89 return gcc;
90}
91
92static void _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient) {
93 e_gadcon_client_aspect_set (gcc, 16, 16);
94 e_gadcon_client_min_size_set(gcc, 16, 16);
95}
96
97static const char *_gc_label(const E_Gadcon_Client_Class *client_class) {
98 return D_("Wlan");
99}
100
101static Evas_Object *_gc_icon(const E_Gadcon_Client_Class *client_class,
102Evas *evas) {
103 char buf[PATH_MAX];
104 Evas_Object *o = edje_object_add(evas);
105 snprintf(buf, sizeof(buf), "%s/e-module-wlan.edj", wlan_config->mod_dir);
106 edje_object_file_set(o, buf, "icon");
107 return o;
108}
109
110static const char *_gc_id_new(const E_Gadcon_Client_Class *client_class) {
111 return _wlan_config_item_get(NULL)->id;
112}
113
114static void _gc_shutdown(E_Gadcon_Client *gcc) {
115 Instance *inst = gcc->data;
116 if (inst->check_timer) ecore_timer_del(inst->check_timer);
117 wlan_config->instances = eina_list_remove(wlan_config->instances, inst);
118 _wlan_free(inst->wlan);
119 E_FREE(inst);
120}
121
122static void _wlan_cb_mouse_down(void *data, Evas *e, Evas_Object *obj,
123void *event_info)
124{
125 Instance *inst = data;
126 Evas_Event_Mouse_Down *ev = event_info;
127
128 if ((ev->button == 3) && (!wlan_config->menu)) {
129 E_Menu *m;
130 E_Menu_Item *mi;
131 int x, y;
132
133 m = e_menu_new();
134 mi = e_menu_item_new(m);
135 e_menu_item_label_set(mi, D_("Settings"));
136 e_util_menu_item_theme_icon_set(mi, "preferences-system");
137 e_menu_item_callback_set(mi, _wlan_menu_cb_configure, inst);
138
139 m = e_gadcon_client_util_menu_items_append(inst->gcc, m, 0);
140 e_menu_post_deactivate_callback_set(m, _wlan_menu_cb_post, inst);
141 wlan_config->menu = m;
142
143 e_gadcon_canvas_zone_geometry_get(inst->gcc->gadcon, &x, &y,
144 NULL, NULL);
145 e_menu_activate_mouse(m,
146 e_util_zone_current_get(e_manager_current_get()),
147 x + ev->output.x, y + ev->output.y, 1, 1,
148 E_MENU_POP_DIRECTION_DOWN, ev->timestamp);
149 evas_event_feed_mouse_up(inst->gcc->gadcon->evas, ev->button,
150 EVAS_BUTTON_NONE, ev->timestamp, NULL);
151 }
152}
153
154static void _wlan_menu_cb_post(void *data, E_Menu *m) {
155 if (!wlan_config->menu) return;
156 e_object_del(E_OBJECT(wlan_config->menu));
157 wlan_config->menu = NULL;
158}
159
160static void _wlan_menu_cb_configure(void *data, E_Menu *m, E_Menu_Item *mi) {
161 _config_wlan_module(((Instance*)data)->ci);
162}
163
164void _wlan_config_updated(Config_Item *ci) {
165 Eina_List *l;
166 if (!wlan_config) return;
167 for (l = wlan_config->instances; l; l = l->next) {
168 Instance *inst = l->data;
169 if (inst->ci != ci) continue;
170 if (inst->check_timer) ecore_timer_del(inst->check_timer);
171 inst->check_timer = ecore_timer_add(inst->ci->poll_time,
172 _wlan_cb_check, inst);
173 edje_object_signal_emit (inst->wlan_obj,
174 inst->ci->always_text ? "label_active" : "label_passive", "");
175 }
176}
177
178static Config_Item *_wlan_config_item_get(const char *id) {
179 Config_Item *ci;
180 char buf[128];
181
182 if (!id) {
183 int num = 0;
184 if (wlan_config->items) {
185 const char *p;
186 ci = eina_list_last(wlan_config->items)->data;
187 p = strrchr(ci->id, '.');
188 if (p) num = atoi(p + 1) + 1;
189 }
190 snprintf(buf, sizeof(buf), "%s.%d", _gc_class.name, num);
191 id = buf;
192 } else {
193 Eina_List *l;
194 for (l = wlan_config->items; l; l = l->next) {
195 ci = l->data;
196 if (!ci->id) continue;
197 if (!strcmp (ci->id, id)) {
198 if (!ci->device) ci->device = eina_stringshare_add("wlan0");
199 return ci;
200 }
201 }
202 }
203
204 ci = E_NEW(Config_Item, 1);
205 ci->id = eina_stringshare_add(id);
206 ci->device = eina_stringshare_add("wlan0");
207 ci->poll_time = 1.0;
208 ci->always_text = 0;
209 ci->show_percent = 1;
210
211 wlan_config->items = eina_list_append(wlan_config->items, ci);
212 return ci;
213}
214
215EAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, "Wlan" };
216
217EAPI void *e_modapi_init(E_Module *m) {
218 char buf[PATH_MAX];
219
220 snprintf(buf, sizeof (buf), "%s/locale", m->dir);
221 bindtextdomain (PACKAGE, buf);
222 bind_textdomain_codeset(PACKAGE, "UTF-8");
223
224 conf_item_edd = E_CONFIG_DD_NEW("Wlan_Config_Item", Config_Item);
225 #undef T
226 #undef D
227 #define T Config_Item
228 #define D conf_item_edd
229 E_CONFIG_VAL(D, T, id, STR);
230 E_CONFIG_VAL(D, T, device, STR);
231 E_CONFIG_VAL(D, T, poll_time, DOUBLE);
232 E_CONFIG_VAL(D, T, always_text, INT);
233 E_CONFIG_VAL(D, T, show_percent, INT);
234
235 conf_edd = E_CONFIG_DD_NEW("Wlan_Config", Config);
236 #undef T
237 #undef D
238 #define T Config
239 #define D conf_edd
240 E_CONFIG_LIST(D, T, items, conf_item_edd);
241
242 wlan_config = e_config_domain_load("module.wlan", conf_edd);
243 if (!wlan_config) {
244 Config_Item *ci;
245 wlan_config = E_NEW(Config, 1);
246 ci = E_NEW(Config_Item, 1);
247 ci->id = eina_stringshare_add("0");
248 ci->device = eina_stringshare_add("wlan0");
249 ci->poll_time = 1.0;
250 ci->always_text = 0;
251 ci->show_percent = 1;
252 wlan_config->items = eina_list_append(wlan_config->items, ci);
253 }
254 wlan_config->mod_dir = eina_stringshare_add(m->dir);
255 e_gadcon_provider_register(&_gc_class);
256 return m;
257}
258
259EAPI int e_modapi_shutdown(E_Module *m) {
260 e_gadcon_provider_unregister(&_gc_class);
261
262 if (wlan_config->config_dialog)
263 e_object_del(E_OBJECT(wlan_config->config_dialog));
264
265 if (wlan_config->menu) {
266 e_menu_post_deactivate_callback_set(wlan_config->menu, NULL, NULL);
267 e_object_del(E_OBJECT(wlan_config->menu));
268 wlan_config->menu = NULL;
269 }
270
271 while (wlan_config->items) {
272 Config_Item *ci = wlan_config->items->data;
273 wlan_config->items = eina_list_remove_list(wlan_config->items,
274 wlan_config->items);
275 if (ci->id) eina_stringshare_del(ci->id);
276 if (ci->device) eina_stringshare_del(ci->device);
277 E_FREE(ci);
278 }
279
280 if (wlan_config->mod_dir) eina_stringshare_del(wlan_config->mod_dir);
281 E_FREE(wlan_config);
282 E_CONFIG_DD_FREE(conf_item_edd);
283 E_CONFIG_DD_FREE(conf_edd);
284
285 return 1;
286}
287
288EAPI int e_modapi_save (E_Module *m) {
289 e_config_domain_save("module.wlan", conf_edd, wlan_config);
290 return 1;
291}
292
293static Wlan *_wlan_new(Evas *evas)
294{
295 Wlan *wlan = E_NEW(Wlan, 1);
296 char buf[PATH_MAX];
297
298 wlan->wlan_obj = edje_object_add(evas);
299 snprintf(buf, sizeof (buf), "%s/e-module-wlan.edj", wlan_config->mod_dir);
300 if (!e_theme_edje_object_set(wlan->wlan_obj, "base/theme/modules/wlan",
301 "modules/wlan/main")) edje_object_file_set(wlan->wlan_obj, buf,
302 "modules/wlan/main");
303 evas_object_show(wlan->wlan_obj);
304
305 return wlan;
306}
307
308static void _wlan_free(Wlan *m) {
309 evas_object_del(m->wlan_obj);
310 E_FREE(m);
311}
312
313static void _wlan_cb_mouse_in(void *data, Evas *e, Evas_Object *obj,
314void *event_info) {
315 Instance *inst = data;
316 edje_object_signal_emit(inst->wlan_obj, "label_active", "");
317}
318
319static void _wlan_cb_mouse_out(void *data, Evas *e, Evas_Object *obj,
320void *event_info) {
321 Instance *inst = data;
322 if (!inst->ci->always_text)
323 edje_object_signal_emit(inst->wlan_obj, "label_passive", "");
324}
325
326static Eina_Bool _wlan_cb_check(void *data) {
327 Instance *inst;
328
329 unsigned int dummy;
330 char iface[64];
331 char buf [256];
332 FILE *stat;
333 int found_dev = 0;
334 int wlan_status = 0;
335 int wlan_link = 0;
336 int wlan_level = 0;
337 int wlan_noise = 0;
338 char omsg [100];
339 char in_str[100];
340
341 if (!(stat = fopen("/proc/net/wireless", "r"))) return EINA_TRUE;
342 inst = data;
343 while (fgets(buf, 256, stat)) {
344 int i = 0;
345 /* remove : */
346 for (; buf[i] != 0; i++)
347 if (buf[i] == ':' || buf[i] == '.') buf[i] = ' ';
348
349 if (sscanf(buf, "%s %u %u %u %u %u %u %u %u %u %u",
350 iface, &wlan_status, &wlan_link, &wlan_level, &wlan_noise,
351 &dummy, &dummy, &dummy, &dummy, &dummy, &dummy) < 11) continue;
352
353 if (!inst->ci->device) continue;
354 if (!strcmp(iface, inst->ci->device)) {
355 found_dev = 1;
356 break;
357 }
358 }
359 fclose(stat);
360
361 if (!found_dev) return EINA_TRUE;
362 snprintf(in_str, sizeof(in_str), "LNK: %d%%", wlan_link);
363
364 double link_send = ((double)wlan_link / (double)100.0);
365 double level_send = ((double)wlan_level / (double)100.0);
366
367 _wlan_update_qual (inst, link_send);
368 _wlan_update_level(inst, level_send);
369
370 snprintf(omsg, sizeof(omsg), "Qual: %d%%", wlan_link);
371 edje_object_part_text_set(inst->wlan_obj, "qual_label", omsg);
372
373 snprintf(omsg, sizeof(omsg), "Lvl: %d%%", wlan_level);
374 edje_object_part_text_set(inst->wlan_obj, "level_label", omsg);
375
376 return EINA_TRUE;
377}
378
379static void _wlan_update_qual(void *data, double value) {
380 Instance *inst = data;
381 Edje_Message_Float *val = malloc(sizeof(Edje_Message_Float));
382
383 val->val = value;
384 edje_object_message_send(inst->wlan_obj, EDJE_MESSAGE_FLOAT, 1, val);
385 free(val);
386}
387
388static void _wlan_update_level(void *data, double value) {
389 Instance *inst = data;
390 Edje_Message_Float *val = malloc(sizeof(Edje_Message_Float));
391
392 val->val = value;
393 edje_object_message_send(inst->wlan_obj, EDJE_MESSAGE_FLOAT, 2, val);
394 free(val);
395}
396
diff --git a/src/e_mod_main.h b/src/e_mod_main.h
new file mode 100644
index 0000000..4b3226b
--- /dev/null
+++ b/src/e_mod_main.h
@@ -0,0 +1,45 @@
1#ifndef E_MOD_MAIN_H
2#define E_MOD_MAIN_H
3
4#ifdef ENABLE_NLS
5# include <libintl.h>
6# define D_(string) dgettext(PACKAGE, string)
7#else
8# define bindtextdomain(domain,dir)
9# define bind_textdomain_codeset(domain,codeset)
10# define D_(string) (string)
11#endif
12
13typedef struct _Config Config;
14typedef struct _Config_Item Config_Item;
15
16struct _Config {
17 const char *mod_dir;
18 E_Config_Dialog *config_dialog;
19 E_Menu *menu;
20 Eina_List *instances, *items;
21};
22
23struct _Config_Item {
24 const char *id;
25 const char *device;
26 double poll_time;
27 int show_percent;
28 int always_text;
29 int real_ignore_buffers;
30 int real_ignore_cached;
31};
32
33EAPI extern E_Module_Api e_modapi;
34
35EAPI void *e_modapi_init (E_Module *m);
36EAPI int e_modapi_shutdown(E_Module *m);
37EAPI int e_modapi_save (E_Module *m);
38
39void _wlan_config_updated(Config_Item *ci);
40void _config_wlan_module (Config_Item *ci);
41void _wlan_get_values (Config_Item *ci, int *real, int *swap, int *total_real, int *total_swap);
42
43extern Config *wlan_config;
44
45#endif