summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-04-11 20:25:52 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-04-11 20:25:52 +0000
commit272ecdcb9d2d57fd94e48e64f62a4ea660adfaad (patch)
tree232443d0f40cc4d2cf6a6d92518d436ef9cd22d6
parent6f0b2143e520804bdb44f6d36eba04b59dbab2a6 (diff)
e17 now CAN be translated. i have done a partial japanese translation for
amusement value (it works). we can add .po's for anything else we like :) SVN revision: 14143
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh16
-rw-r--r--configure.in14
-rw-r--r--po/Makefile.am26
-rw-r--r--po/enlightenment.pot360
-rw-r--r--po/ja.po360
-rw-r--r--src/bin/Makefile.am4
-rw-r--r--src/bin/e_border.c21
-rw-r--r--src/bin/e_error.c2
-rw-r--r--src/bin/e_gadman.c18
-rw-r--r--src/bin/e_includes.h1
-rw-r--r--src/bin/e_init.c2
-rw-r--r--src/bin/e_int_menus.c45
-rw-r--r--src/bin/e_intl.c26
-rw-r--r--src/bin/e_intl.h20
-rw-r--r--src/bin/e_main.c126
-rw-r--r--src/bin/e_module.c38
-rw-r--r--src/bin/e_signals.c29
18 files changed, 968 insertions, 142 deletions
diff --git a/Makefile.am b/Makefile.am
index dbb7d3fac..4749b5efd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
1SUBDIRS = src data doc 1SUBDIRS = src data doc po
2 2
3MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ 3MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
4 config.h.in config.sub configure install-sh \ 4 config.h.in config.sub configure install-sh \
diff --git a/autogen.sh b/autogen.sh
index ea0a3321e..4e9360b96 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,7 +7,21 @@ echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
7&& echo "Running autoheader..."; autoheader \ 7&& echo "Running autoheader..."; autoheader \
8&& echo "Running autoconf..."; autoconf \ 8&& echo "Running autoconf..."; autoconf \
9&& echo "Running libtoolize..."; ( libtoolize --automake || glibtoolize --automake ) \ 9&& echo "Running libtoolize..."; ( libtoolize --automake || glibtoolize --automake ) \
10&& echo "Running automake..."; automake --add-missing --copy --gnu 10&& echo "Running automake..."; automake --add-missing --copy --gnu \
11&& echo "Generating gettext enlightenment.pot template"; \
12xgettext \
13-s \
14-n \
15-C \
16-d enlightenment \
17-p po \
18--copyright-holder="Enlightenment development team" \
19--foreign-user \
20--msgid-bugs-address="enlightenment-devel@lists.sourceforge.net" \
21-k -k_ -kd_ \
22--from-code=UTF-8 \
23-o enlightenment.pot \
24`find . -name "*.[ch]" -print`
11 25
12### If you want this, uncomment it. 26### If you want this, uncomment it.
13./configure "$@" 27./configure "$@"
diff --git a/configure.in b/configure.in
index 8432ab9c5..77006dc09 100644
--- a/configure.in
+++ b/configure.in
@@ -81,13 +81,22 @@ dnl Set PACKAGE_DATA_DIR in config.h.
81if test "x${datadir}" = 'x${prefix}/share'; then 81if test "x${datadir}" = 'x${prefix}/share'; then
82 if test "x${prefix}" = "xNONE"; then 82 if test "x${prefix}" = "xNONE"; then
83 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}", "Package installed data destination") 83 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}", "Package installed data destination")
84 AC_DEFINE_UNQUOTED(LOCALE_DIR, "${ac_default_prefix}/share/locale", "Locale directory")
84 else 85 else
85 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}", "Package installed data destination") 86 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}", "Package installed data destination")
87 AC_DEFINE_UNQUOTED(LOCALE_DIR, "${prefix}/share/locale", "Locale directory")
86 fi 88 fi
87else 89else
88 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}", "Package installed data destination") 90 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}", "Package installed data destination")
91 AC_DEFINE_UNQUOTED(LOCALE_DIR, "${datadir}/locale", "Locale directory")
89fi 92fi
90 93
94AM_GNU_GETTEXT
95AM_GNU_GETTEXT_VERSION(0.12.1)
96if test "x$LIBINTL" = "x"; then
97 LIBINTL="$INTLLIBS"
98fi
99
91AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl) 100AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
92AC_SUBST(dlopen_libs) 101AC_SUBST(dlopen_libs)
93 102
@@ -153,7 +162,7 @@ AC_ARG_WITH(embryo-config,
153embryo_cflags=`$EMBRYO_CONFIG --cflags` 162embryo_cflags=`$EMBRYO_CONFIG --cflags`
154embryo_libs=`$EMBRYO_CONFIG --libs` 163embryo_libs=`$EMBRYO_CONFIG --libs`
155 164
156e_libs=$evas_libs" "$ecore_libs" "$edje_libs" "$eet_libs" "$embryo_libs" " 165e_libs=$evas_libs" "$ecore_libs" "$edje_libs" "$eet_libs" "$embryo_libs" "$LIBINTL" "
157e_cflags=$evas_cflags" "$ecore_cflags" "$edje_cflags" "$eet_cflags" "$embryo_cflags" " 166e_cflags=$evas_cflags" "$ecore_cflags" "$edje_cflags" "$eet_cflags" "$embryo_cflags" "
158AC_SUBST(e_libs) 167AC_SUBST(e_libs)
159AC_SUBST(e_cflags) 168AC_SUBST(e_cflags)
@@ -211,6 +220,7 @@ data/icons/Makefile
211data/icons/images/Makefile 220data/icons/images/Makefile
212data/other/Makefile 221data/other/Makefile
213doc/Makefile 222doc/Makefile
223po/Makefile
214enlightenment-config 224enlightenment-config
215],[ 225],[
216chmod +x enlightenment-config 226chmod +x enlightenment-config
diff --git a/po/Makefile.am b/po/Makefile.am
new file mode 100644
index 000000000..e93164b52
--- /dev/null
+++ b/po/Makefile.am
@@ -0,0 +1,26 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3MSGFMT = msgfmt
4
5podir =
6po_DATA = \
7ja.mo
8
9LANGS = \
10ja
11
12install-data-local:
13 for L in $(LANGS); do \
14 $(INSTALL_DATA) -D \
15 $$L.mo $(datadir)/locale/$$L/LC_MESSAGES/$(PACKAGE).mo; \
16 done
17
18EXTRA_DIST = \
19enlightenment.pot \
20ja.po
21
22.po.mo:
23 $(MSGFMT) -f -o $@ $<
24
25clean-local:
26 rm -f *.mo
diff --git a/po/enlightenment.pot b/po/enlightenment.pot
new file mode 100644
index 000000000..7561273e4
--- /dev/null
+++ b/po/enlightenment.pot
@@ -0,0 +1,360 @@
1# SOME DESCRIPTIVE TITLE.
2# This file is put in the public domain.
3# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4#
5#, fuzzy
6msgid ""
7msgstr ""
8"Project-Id-Version: PACKAGE VERSION\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2005-04-12 05:16+0900\n"
11"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13"Language-Team: LANGUAGE <LL@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
18#: src/bin/e_int_menus.c:272
19msgid "(No Applications)"
20msgstr ""
21
22#: src/bin/e_int_menus.c:445
23msgid "(No Windows)"
24msgstr ""
25
26#: src/bin/e_int_menus.c:521
27msgid "(Unused)"
28msgstr ""
29
30#: src/bin/e_int_menus.c:102 src/bin/e_int_menus.c:210
31msgid "About Enlightenment"
32msgstr ""
33
34#: src/bin/e_module.c:381
35msgid "About..."
36msgstr ""
37
38#: src/bin/e_main.c:361
39msgid "Artificially slowing startup so you can see it all."
40msgstr ""
41
42#: src/bin/e_gadman.c:526
43msgid "Automatic Height"
44msgstr ""
45
46#: src/bin/e_gadman.c:483
47msgid "Automatic Width"
48msgstr ""
49
50#: src/bin/e_gadman.c:509
51msgid "Center Horizontally"
52msgstr ""
53
54#: src/bin/e_gadman.c:552
55msgid "Center Vertically"
56msgstr ""
57
58#: src/bin/e_border.c:3213
59msgid "Close"
60msgstr ""
61
62#: src/bin/e_module.c:396
63msgid "Configuration"
64msgstr ""
65
66#: src/bin/e_border.c:3281
67msgid "Create Icon"
68msgstr ""
69
70#: src/bin/e_int_menus.c:77
71msgid "Desktops"
72msgstr ""
73
74#: src/bin/e_border.c:3255
75msgid "Edit Icon"
76msgstr ""
77
78#: src/bin/e_int_menus.c:515
79msgid "Edit Mode"
80msgstr ""
81
82#: src/bin/e_module.c:385
83msgid "Enabled"
84msgstr ""
85
86#: src/bin/e_gadman.c:563
87msgid "End Edit Mode"
88msgstr ""
89
90#: src/bin/e_main.c:345
91msgid "Enlightenment"
92msgstr ""
93
94#: src/bin/e_main.c:330
95msgid "Enlightenment IPC setup error!"
96msgstr ""
97
98#: src/bin/e_main.c:347
99msgid "Enlightenment Starting. Please wait."
100msgstr ""
101
102#: src/bin/e_main.c:157
103msgid ""
104"Enlightenment cannot Initialize Ecore!\n"
105"Perhaps you are out of memory?"
106msgstr ""
107
108#: src/bin/e_main.c:235
109msgid ""
110"Enlightenment cannot create directories in your home directory.\n"
111"Perhaps you have no home directory or the disk is full?"
112msgstr ""
113
114#: src/bin/e_main.c:184
115msgid ""
116"Enlightenment cannot initialize its X connection.\n"
117"Have you set your DISPLAY variable?"
118msgstr ""
119
120#: src/bin/e_main.c:223
121msgid ""
122"Enlightenment cannot initialize the Evas system.\n"
123"Perhaps you are out of memory?"
124msgstr ""
125
126#: src/bin/e_main.c:215
127msgid ""
128"Enlightenment cannot initialize the IPC system.\n"
129"Perhaps you are out of memory?"
130msgstr ""
131
132#: src/bin/e_main.c:207
133msgid ""
134"Enlightenment cannot initialize the connections system.\n"
135"Perhaps you are out of memory?"
136msgstr ""
137
138#: src/bin/e_main.c:173
139msgid ""
140"Enlightenment cannot set up a HUP signal handler.\n"
141"Perhaps you are out of memory?"
142msgstr ""
143
144#: src/bin/e_main.c:167
145msgid ""
146"Enlightenment cannot set up an exit signal handler.\n"
147"Perhaps you are out of memory?"
148msgstr ""
149
150#: src/bin/e_main.c:272
151msgid ""
152"Enlightenment cannot set up init screen.\n"
153"Perhaps you are out of memory?"
154msgstr ""
155
156#: src/bin/e_main.c:288
157msgid "Enlightenment cannot set up its app system."
158msgstr ""
159
160#: src/bin/e_main.c:251
161msgid "Enlightenment cannot set up its config system."
162msgstr ""
163
164#: src/bin/e_main.c:262
165msgid "Enlightenment cannot set up its font system."
166msgstr ""
167
168#: src/bin/e_main.c:313
169msgid "Enlightenment cannot set up its module system."
170msgstr ""
171
172#: src/bin/e_main.c:243
173msgid ""
174"Enlightenment cannot set up paths for finding files.\n"
175"Perhaps you are out of memory?"
176msgstr ""
177
178#: src/bin/e_main.c:300 src/bin/e_main.c:331
179msgid ""
180"Enlightenment cannot set up the IPC socket.\n"
181"It likely is already in use by an exisiting copy of Enlightenment.\n"
182"Double check to see if Enlightenment is not already on this display,\n"
183"but if that fails try deleting all files in ~/.ecore/enlightenment-*\n"
184"and try running again."
185msgstr ""
186
187#: src/bin/e_main.c:191
188msgid ""
189"Enlightenment cannot setup xinerama wrapping.\n"
190"This should not happen."
191msgstr ""
192
193#: src/bin/e_main.c:280
194msgid ""
195"Enlightenment set up window management for all the screens on your system\n"
196"failed. Perhaps another window manager is running?\n"
197msgstr ""
198
199#: src/bin/e_error.c:354
200msgid "Enlightenment: Error!"
201msgstr ""
202
203#: src/bin/e_module.c:98 src/bin/e_module.c:109 src/bin/e_module.c:131
204msgid "Error loading Module"
205msgstr ""
206
207#: src/bin/e_border.c:3355
208msgid ""
209"Error starting icon editor\n"
210"\n"
211"please install e_util_eapp_edit\n"
212"or make sure it is in your PATH\n"
213msgstr ""
214
215#: src/bin/e_int_menus.c:117
216msgid "Exit Enlightement"
217msgstr ""
218
219#: src/bin/e_int_menus.c:58
220msgid "Favorite Applications"
221msgstr ""
222
223#: src/bin/e_gadman.c:541
224msgid "Full Screen Height"
225msgstr ""
226
227#: src/bin/e_gadman.c:498
228msgid "Full Screen Width"
229msgstr ""
230
231#: src/bin/e_int_menus.c:93
232msgid "Gadgets"
233msgstr ""
234
235#: src/bin/e_gadman.c:536
236msgid "Half Screen Height"
237msgstr ""
238
239#: src/bin/e_gadman.c:493
240msgid "Half Screen Width"
241msgstr ""
242
243#: src/bin/e_border.c:3354
244msgid "Icon Edit Error"
245msgstr ""
246
247#: src/bin/e_border.c:3218
248msgid "Iconify"
249msgstr ""
250
251#: src/bin/e_border.c:3233
252msgid "Maximized"
253msgstr ""
254
255#: src/bin/e_int_menus.c:69
256msgid "Modules"
257msgstr ""
258
259#: src/bin/e_main.c:363
260msgid "Most features do not work yet, and those that do are buggy."
261msgstr ""
262
263#: src/bin/e_int_menus.c:362
264msgid "New Column of Desktops"
265msgstr ""
266
267#: src/bin/e_int_menus.c:354
268msgid "New Row of Desktops"
269msgstr ""
270
271#: src/bin/e_main.c:112
272#, c-format
273msgid ""
274"Options:\n"
275"\t-display DISPLAY\n"
276"\t\tConnect to display named DISPLAY.\n"
277"\t\tEG: -display :1.0\n"
278"\t-fake-xinerama-screen WxH+X+Y\n"
279"\t\tAdd a FAKE xinerama screen (instead of the real ones)\n"
280"\t\tgiven the geometry. Add as many as you like. They all\n"
281"\t\treplace the real xinerama screens, if any. This can\n"
282"\t\tbe used to simulate xinerama.\n"
283"\t\tEG: -fake-xinerama-screen 800x600+0+0 -fake-xinerama-screen 800x600+800"
284"+0\n"
285msgstr ""
286
287#: src/bin/e_int_menus.c:366
288msgid "Remove Column of Desktops"
289msgstr ""
290
291#: src/bin/e_int_menus.c:358
292msgid "Remove Row of Desktops"
293msgstr ""
294
295#: src/bin/e_int_menus.c:111
296msgid "Restart Enlightement"
297msgstr ""
298
299#: src/bin/e_border.c:3226
300msgid "Shaded"
301msgstr ""
302
303#: src/bin/e_border.c:3240
304msgid "Sticky"
305msgstr ""
306
307#: src/bin/e_module.c:99
308#, c-format
309msgid ""
310"There was an error loading module named: %s\n"
311"No module named %s could be found in the\n"
312"module search directories\n"
313msgstr ""
314
315#: src/bin/e_module.c:110 src/bin/e_module.c:132
316#, c-format
317msgid ""
318"There was an error loading module named: %s\n"
319"The full path to this module is:\n"
320"%s\n"
321"The error reported was:\n"
322"%s"
323msgstr ""
324
325#: src/bin/e_int_menus.c:211
326#, c-format
327msgid ""
328"This is Enlightenment %s.\n"
329"Copyright © 1999-2004, by the Enlightenment Dev Team.\n"
330"\n"
331"We hope you enjoy using this software as much as we enjoyed writing it.\n"
332"\n"
333"Please think of the aardvarks. They need some love too."
334msgstr ""
335
336#: src/bin/e_main.c:362
337msgid "This is development code, so be warned."
338msgstr ""
339
340#: src/bin/e_main.c:322
341msgid ""
342"This is program has barely been started on, so it is not complete by a long\n"
343"shot. Please do NOT expect anything to work properly at this stage. It's\n"
344"being worked on.\n"
345"\n"
346"Hit \"OK\" to dismiss this dialog and continue using Enlightenment 0.17."
347msgstr ""
348
349#: src/bin/e_main.c:321
350msgid "Welcome to Enlightenment 0.17"
351msgstr ""
352
353#: src/bin/e_int_menus.c:85
354msgid "Windows"
355msgstr ""
356
357#: src/bin/e_init.c:34
358#, c-format
359msgid "X reports there are no root windows and %i screens!\n"
360msgstr ""
diff --git a/po/ja.po b/po/ja.po
new file mode 100644
index 000000000..77eeaff87
--- /dev/null
+++ b/po/ja.po
@@ -0,0 +1,360 @@
1# SOME DESCRIPTIVE TITLE.
2# This file is put in the public domain.
3# FIRST AUTHOR <raster@rasterman.com>, YEAR.
4#
5#, fuzzy
6msgid ""
7msgstr ""
8"Project-Id-Version: enlightenment 0.16.999\n"
9"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
10"POT-Creation-Date: 2005-04-12 05:16+0900\n"
11"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12"Last-Translator: FULL NAME <raster@rasterman.com>\n"
13"Language-Team: LANGUAGE <enlightenment-devel@lists.sourceforge.ne>\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/bin/e_int_menus.c:272
19msgid "(No Applications)"
20msgstr ""
21
22#: src/bin/e_int_menus.c:445
23msgid "(No Windows)"
24msgstr ""
25
26#: src/bin/e_int_menus.c:521
27msgid "(Unused)"
28msgstr ""
29
30#: src/bin/e_int_menus.c:102 src/bin/e_int_menus.c:210
31msgid "About Enlightenment"
32msgstr "悟について"
33
34#: src/bin/e_module.c:381
35msgid "About..."
36msgstr ""
37
38#: src/bin/e_main.c:361
39msgid "Artificially slowing startup so you can see it all."
40msgstr "人工に開始従ってあなたを遅らせることはそれをすべて見ることができる。"
41
42#: src/bin/e_gadman.c:526
43msgid "Automatic Height"
44msgstr ""
45
46#: src/bin/e_gadman.c:483
47msgid "Automatic Width"
48msgstr ""
49
50#: src/bin/e_gadman.c:509
51msgid "Center Horizontally"
52msgstr ""
53
54#: src/bin/e_gadman.c:552
55msgid "Center Vertically"
56msgstr ""
57
58#: src/bin/e_border.c:3213
59msgid "Close"
60msgstr ""
61
62#: src/bin/e_module.c:396
63msgid "Configuration"
64msgstr ""
65
66#: src/bin/e_border.c:3281
67msgid "Create Icon"
68msgstr ""
69
70#: src/bin/e_int_menus.c:77
71msgid "Desktops"
72msgstr ""
73
74#: src/bin/e_border.c:3255
75msgid "Edit Icon"
76msgstr ""
77
78#: src/bin/e_int_menus.c:515
79msgid "Edit Mode"
80msgstr ""
81
82#: src/bin/e_module.c:385
83msgid "Enabled"
84msgstr ""
85
86#: src/bin/e_gadman.c:563
87msgid "End Edit Mode"
88msgstr ""
89
90#: src/bin/e_main.c:345
91msgid "Enlightenment"
92msgstr "悟"
93
94#: src/bin/e_main.c:330
95msgid "Enlightenment IPC setup error!"
96msgstr ""
97
98#: src/bin/e_main.c:347
99msgid "Enlightenment Starting. Please wait."
100msgstr "悟は始まっている。ちょっとまってください。"
101
102#: src/bin/e_main.c:157
103msgid ""
104"Enlightenment cannot Initialize Ecore!\n"
105"Perhaps you are out of memory?"
106msgstr ""
107
108#: src/bin/e_main.c:235
109msgid ""
110"Enlightenment cannot create directories in your home directory.\n"
111"Perhaps you have no home directory or the disk is full?"
112msgstr ""
113
114#: src/bin/e_main.c:184
115msgid ""
116"Enlightenment cannot initialize its X connection.\n"
117"Have you set your DISPLAY variable?"
118msgstr ""
119
120#: src/bin/e_main.c:223
121msgid ""
122"Enlightenment cannot initialize the Evas system.\n"
123"Perhaps you are out of memory?"
124msgstr ""
125
126#: src/bin/e_main.c:215
127msgid ""
128"Enlightenment cannot initialize the IPC system.\n"
129"Perhaps you are out of memory?"
130msgstr ""
131
132#: src/bin/e_main.c:207
133msgid ""
134"Enlightenment cannot initialize the connections system.\n"
135"Perhaps you are out of memory?"
136msgstr ""
137
138#: src/bin/e_main.c:173
139msgid ""
140"Enlightenment cannot set up a HUP signal handler.\n"
141"Perhaps you are out of memory?"
142msgstr ""
143
144#: src/bin/e_main.c:167
145msgid ""
146"Enlightenment cannot set up an exit signal handler.\n"
147"Perhaps you are out of memory?"
148msgstr ""
149
150#: src/bin/e_main.c:272
151msgid ""
152"Enlightenment cannot set up init screen.\n"
153"Perhaps you are out of memory?"
154msgstr ""
155
156#: src/bin/e_main.c:288
157msgid "Enlightenment cannot set up its app system."
158msgstr ""
159
160#: src/bin/e_main.c:251
161msgid "Enlightenment cannot set up its config system."
162msgstr ""
163
164#: src/bin/e_main.c:262
165msgid "Enlightenment cannot set up its font system."
166msgstr ""
167
168#: src/bin/e_main.c:313
169msgid "Enlightenment cannot set up its module system."
170msgstr ""
171
172#: src/bin/e_main.c:243
173msgid ""
174"Enlightenment cannot set up paths for finding files.\n"
175"Perhaps you are out of memory?"
176msgstr ""
177
178#: src/bin/e_main.c:300 src/bin/e_main.c:331
179msgid ""
180"Enlightenment cannot set up the IPC socket.\n"
181"It likely is already in use by an exisiting copy of Enlightenment.\n"
182"Double check to see if Enlightenment is not already on this display,\n"
183"but if that fails try deleting all files in ~/.ecore/enlightenment-*\n"
184"and try running again."
185msgstr ""
186
187#: src/bin/e_main.c:191
188msgid ""
189"Enlightenment cannot setup xinerama wrapping.\n"
190"This should not happen."
191msgstr ""
192
193#: src/bin/e_main.c:280
194msgid ""
195"Enlightenment set up window management for all the screens on your system\n"
196"failed. Perhaps another window manager is running?\n"
197msgstr ""
198
199#: src/bin/e_error.c:354
200msgid "Enlightenment: Error!"
201msgstr ""
202
203#: src/bin/e_module.c:98 src/bin/e_module.c:109 src/bin/e_module.c:131
204msgid "Error loading Module"
205msgstr ""
206
207#: src/bin/e_border.c:3355
208msgid ""
209"Error starting icon editor\n"
210"\n"
211"please install e_util_eapp_edit\n"
212"or make sure it is in your PATH\n"
213msgstr ""
214
215#: src/bin/e_int_menus.c:117
216msgid "Exit Enlightement"
217msgstr "出口の悟"
218
219#: src/bin/e_int_menus.c:58
220msgid "Favorite Applications"
221msgstr ""
222
223#: src/bin/e_gadman.c:541
224msgid "Full Screen Height"
225msgstr ""
226
227#: src/bin/e_gadman.c:498
228msgid "Full Screen Width"
229msgstr ""
230
231#: src/bin/e_int_menus.c:93
232msgid "Gadgets"
233msgstr ""
234
235#: src/bin/e_gadman.c:536
236msgid "Half Screen Height"
237msgstr ""
238
239#: src/bin/e_gadman.c:493
240msgid "Half Screen Width"
241msgstr ""
242
243#: src/bin/e_border.c:3354
244msgid "Icon Edit Error"
245msgstr ""
246
247#: src/bin/e_border.c:3218
248msgid "Iconify"
249msgstr ""
250
251#: src/bin/e_border.c:3233
252msgid "Maximized"
253msgstr ""
254
255#: src/bin/e_int_menus.c:69
256msgid "Modules"
257msgstr ""
258
259#: src/bin/e_main.c:363
260msgid "Most features do not work yet, and those that do are buggy."
261msgstr "ほとんどの特徴はまだ働かないし、特徴はバッギである。"
262
263#: src/bin/e_int_menus.c:362
264msgid "New Column of Desktops"
265msgstr ""
266
267#: src/bin/e_int_menus.c:354
268msgid "New Row of Desktops"
269msgstr ""
270
271#: src/bin/e_main.c:112
272#, c-format
273msgid ""
274"Options:\n"
275"\t-display DISPLAY\n"
276"\t\tConnect to display named DISPLAY.\n"
277"\t\tEG: -display :1.0\n"
278"\t-fake-xinerama-screen WxH+X+Y\n"
279"\t\tAdd a FAKE xinerama screen (instead of the real ones)\n"
280"\t\tgiven the geometry. Add as many as you like. They all\n"
281"\t\treplace the real xinerama screens, if any. This can\n"
282"\t\tbe used to simulate xinerama.\n"
283"\t\tEG: -fake-xinerama-screen 800x600+0+0 -fake-xinerama-screen 800x600+800"
284"+0\n"
285msgstr ""
286
287#: src/bin/e_int_menus.c:366
288msgid "Remove Column of Desktops"
289msgstr ""
290
291#: src/bin/e_int_menus.c:358
292msgid "Remove Row of Desktops"
293msgstr ""
294
295#: src/bin/e_int_menus.c:111
296msgid "Restart Enlightement"
297msgstr "再始動悟"
298
299#: src/bin/e_border.c:3226
300msgid "Shaded"
301msgstr ""
302
303#: src/bin/e_border.c:3240
304msgid "Sticky"
305msgstr ""
306
307#: src/bin/e_module.c:99
308#, c-format
309msgid ""
310"There was an error loading module named: %s\n"
311"No module named %s could be found in the\n"
312"module search directories\n"
313msgstr ""
314
315#: src/bin/e_module.c:110 src/bin/e_module.c:132
316#, c-format
317msgid ""
318"There was an error loading module named: %s\n"
319"The full path to this module is:\n"
320"%s\n"
321"The error reported was:\n"
322"%s"
323msgstr ""
324
325#: src/bin/e_int_menus.c:211
326#, c-format
327msgid ""
328"This is Enlightenment %s.\n"
329"Copyright © 1999-2004, by the Enlightenment Dev Team.\n"
330"\n"
331"We hope you enjoy using this software as much as we enjoyed writing it.\n"
332"\n"
333"Please think of the aardvarks. They need some love too."
334msgstr ""
335
336#: src/bin/e_main.c:362
337msgid "This is development code, so be warned."
338msgstr "これは開発コード、従って警告される。"
339
340#: src/bin/e_main.c:322
341msgid ""
342"This is program has barely been started on, so it is not complete by a long\n"
343"shot. Please do NOT expect anything to work properly at this stage. It's\n"
344"being worked on.\n"
345"\n"
346"Hit \"OK\" to dismiss this dialog and continue using Enlightenment 0.17."
347msgstr ""
348
349#: src/bin/e_main.c:321
350msgid "Welcome to Enlightenment 0.17"
351msgstr ""
352
353#: src/bin/e_int_menus.c:85
354msgid "Windows"
355msgstr ""
356
357#: src/bin/e_init.c:34
358#, c-format
359msgid "X reports there are no root windows and %i screens!\n"
360msgstr ""
diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
index e2782d7ba..486858360 100644
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -44,7 +44,8 @@ e_xinerama.h \
44e_table.h \ 44e_table.h \
45e_layout.h \ 45e_layout.h \
46e_test.h \ 46e_test.h \
47e_font.h 47e_font.h \
48e_intl.h
48 49
49enlightenment_SOURCES = \ 50enlightenment_SOURCES = \
50e_main.c \ 51e_main.c \
@@ -82,6 +83,7 @@ e_table.c \
82e_layout.c \ 83e_layout.c \
83e_test.c \ 84e_test.c \
84e_font.c \ 85e_font.c \
86e_intl.c \
85$(ENLIGHTENMENTHEADERS) 87$(ENLIGHTENMENTHEADERS)
86 88
87enlightenment_LDFLAGS = -export-dynamic @e_libs@ @dlopen_libs@ 89enlightenment_LDFLAGS = -export-dynamic @e_libs@ @dlopen_libs@
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 38a2944ae..d59ab81d9 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -3210,12 +3210,12 @@ _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y)
3210 e_menu_post_deactivate_callback_set(m, _e_border_cb_border_menu_end, NULL); 3210 e_menu_post_deactivate_callback_set(m, _e_border_cb_border_menu_end, NULL);
3211 3211
3212 mi = e_menu_item_new(m); 3212 mi = e_menu_item_new(m);
3213 e_menu_item_label_set(mi, "Close"); 3213 e_menu_item_label_set(mi, _("Close"));
3214 e_menu_item_callback_set(mi, _e_border_menu_cb_close, bd); 3214 e_menu_item_callback_set(mi, _e_border_menu_cb_close, bd);
3215 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/close"); 3215 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/close");
3216 3216
3217 mi = e_menu_item_new(m); 3217 mi = e_menu_item_new(m);
3218 e_menu_item_label_set(mi, "Iconify"); 3218 e_menu_item_label_set(mi, _("Iconify"));
3219 e_menu_item_callback_set(mi, _e_border_menu_cb_iconify, bd); 3219 e_menu_item_callback_set(mi, _e_border_menu_cb_iconify, bd);
3220 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/minimize"); 3220 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/minimize");
3221 3221
@@ -3223,21 +3223,21 @@ _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y)
3223 e_menu_item_separator_set(mi, 1); 3223 e_menu_item_separator_set(mi, 1);
3224 3224
3225 mi = e_menu_item_new(m); 3225 mi = e_menu_item_new(m);
3226 e_menu_item_label_set(mi, "Shaded"); 3226 e_menu_item_label_set(mi, _("Shaded"));
3227 e_menu_item_check_set(mi, 1); 3227 e_menu_item_check_set(mi, 1);
3228 e_menu_item_toggle_set(mi, (bd->shaded ? 1 : 0)); 3228 e_menu_item_toggle_set(mi, (bd->shaded ? 1 : 0));
3229 e_menu_item_callback_set(mi, _e_border_menu_cb_shade, bd); 3229 e_menu_item_callback_set(mi, _e_border_menu_cb_shade, bd);
3230 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/shade"); 3230 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/shade");
3231 3231
3232 mi = e_menu_item_new(m); 3232 mi = e_menu_item_new(m);
3233 e_menu_item_label_set(mi, "Maximized"); 3233 e_menu_item_label_set(mi, _("Maximized"));
3234 e_menu_item_check_set(mi, 1); 3234 e_menu_item_check_set(mi, 1);
3235 e_menu_item_toggle_set(mi, (bd->maximized ? 1 : 0)); 3235 e_menu_item_toggle_set(mi, (bd->maximized ? 1 : 0));
3236 e_menu_item_callback_set(mi, _e_border_menu_cb_maximize, bd); 3236 e_menu_item_callback_set(mi, _e_border_menu_cb_maximize, bd);
3237 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/maximize"); 3237 e_menu_item_icon_edje_set(mi, e_path_find(path_themes, "default.edj"), "widgets/border/default/maximize");
3238 3238
3239 mi = e_menu_item_new(m); 3239 mi = e_menu_item_new(m);
3240 e_menu_item_label_set(mi, "Sticky"); 3240 e_menu_item_label_set(mi, _("Sticky"));
3241 e_menu_item_check_set(mi, 1); 3241 e_menu_item_check_set(mi, 1);
3242 e_menu_item_toggle_set(mi, (bd->sticky ? 1 : 0)); 3242 e_menu_item_toggle_set(mi, (bd->sticky ? 1 : 0));
3243 e_menu_item_callback_set(mi, _e_border_menu_cb_stick, bd); 3243 e_menu_item_callback_set(mi, _e_border_menu_cb_stick, bd);
@@ -3252,7 +3252,7 @@ _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y)
3252 if (a) 3252 if (a)
3253 { 3253 {
3254 mi = e_menu_item_new(m); 3254 mi = e_menu_item_new(m);
3255 e_menu_item_label_set(mi, "Edit Icon"); 3255 e_menu_item_label_set(mi, _("Edit Icon"));
3256 e_menu_item_callback_set(mi, _e_border_menu_cb_icon_edit, a->path); 3256 e_menu_item_callback_set(mi, _e_border_menu_cb_icon_edit, a->path);
3257 e_menu_item_icon_edje_set(mi, a->path, "icon"); 3257 e_menu_item_icon_edje_set(mi, a->path, "icon");
3258 } 3258 }
@@ -3278,7 +3278,7 @@ _e_border_menu_show(E_Border *bd, Evas_Coord x, Evas_Coord y)
3278 "--win-class \"%s\" %s/.e/e/applications/all/%s.eapp", 3278 "--win-class \"%s\" %s/.e/e/applications/all/%s.eapp",
3279 bd->client.icccm.class, homedir, name); 3279 bd->client.icccm.class, homedir, name);
3280 mi = e_menu_item_new(m); 3280 mi = e_menu_item_new(m);
3281 e_menu_item_label_set(mi, "Create Icon"); 3281 e_menu_item_label_set(mi, _("Create Icon"));
3282 e_menu_item_callback_set(mi, _e_border_menu_cb_icon_edit, buf); 3282 e_menu_item_callback_set(mi, _e_border_menu_cb_icon_edit, buf);
3283 } 3283 }
3284 3284
@@ -3351,9 +3351,10 @@ _e_border_menu_cb_icon_edit(void *data, E_Menu *m, E_Menu_Item *mi)
3351 printf("EXEC %s\n", full); 3351 printf("EXEC %s\n", full);
3352 process = ecore_exe_run(full, NULL); 3352 process = ecore_exe_run(full, NULL);
3353 if (!process || !ecore_exe_pid_get(process)) 3353 if (!process || !ecore_exe_pid_get(process))
3354 e_error_dialog_show("Icon Edit Error", "Error starting icon editor\n\n \ 3354 e_error_dialog_show(_("Icon Edit Error"),
3355 please install e_util_eapp_edit\n \ 3355 _("Error starting icon editor\n\n"
3356 or make sure it is in your PATH\n"); 3356 "please install e_util_eapp_edit\n"
3357 "or make sure it is in your PATH\n"));
3357} 3358}
3358 3359
3359static void 3360static void
diff --git a/src/bin/e_error.c b/src/bin/e_error.c
index 46cddde55..ae57b225f 100644
--- a/src/bin/e_error.c
+++ b/src/bin/e_error.c
@@ -351,7 +351,7 @@ e_error_message_manager_show(E_Manager *man, char *title, char *txt)
351static void 351static void
352_e_error_message_show_x(char *txt) 352_e_error_message_show_x(char *txt)
353{ 353{
354 e_error_dialog_show_internal("Enlightenment: Error!", txt); 354 e_error_dialog_show_internal(_("Enlightenment: Error!"), txt);
355} 355}
356 356
357static void 357static void
diff --git a/src/bin/e_gadman.c b/src/bin/e_gadman.c
index c25c2dff5..3810703a8 100644
--- a/src/bin/e_gadman.c
+++ b/src/bin/e_gadman.c
@@ -480,7 +480,7 @@ e_gadman_client_menu_new(E_Gadman_Client *gmc)
480 if (gmc->autow > 0) 480 if (gmc->autow > 0)
481 { 481 {
482 mi = e_menu_item_new(m); 482 mi = e_menu_item_new(m);
483 e_menu_item_label_set(mi, "Automatic Width"); 483 e_menu_item_label_set(mi, _("Automatic Width"));
484 e_menu_item_check_set(mi, 1); 484 e_menu_item_check_set(mi, 1);
485 e_menu_item_toggle_set(mi, gmc->use_autow); 485 e_menu_item_toggle_set(mi, gmc->use_autow);
486 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 486 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
@@ -490,12 +490,12 @@ e_gadman_client_menu_new(E_Gadman_Client *gmc)
490 e_menu_item_separator_set(mi, 1); 490 e_menu_item_separator_set(mi, 1);
491 } 491 }
492 mi = e_menu_item_new(m); 492 mi = e_menu_item_new(m);
493 e_menu_item_label_set(mi, "Half Screen Width"); 493 e_menu_item_label_set(mi, _("Half Screen Width"));
494 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 494 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
495 "half_width"); 495 "half_width");
496 e_menu_item_callback_set(mi, _e_gadman_cb_half_width, gmc); 496 e_menu_item_callback_set(mi, _e_gadman_cb_half_width, gmc);
497 mi = e_menu_item_new(m); 497 mi = e_menu_item_new(m);
498 e_menu_item_label_set(mi, "Full Screen Width"); 498 e_menu_item_label_set(mi, _("Full Screen Width"));
499 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 499 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
500 "full_width"); 500 "full_width");
501 e_menu_item_callback_set(mi, _e_gadman_cb_full_width, gmc); 501 e_menu_item_callback_set(mi, _e_gadman_cb_full_width, gmc);
@@ -506,7 +506,7 @@ e_gadman_client_menu_new(E_Gadman_Client *gmc)
506 { 506 {
507 seperator = 1; 507 seperator = 1;
508 mi = e_menu_item_new(m); 508 mi = e_menu_item_new(m);
509 e_menu_item_label_set(mi, "Center Horizontally"); 509 e_menu_item_label_set(mi, _("Center Horizontally"));
510 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 510 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
511 "center_horiz"); 511 "center_horiz");
512 e_menu_item_callback_set(mi, _e_gadman_cb_center_horiz, gmc); 512 e_menu_item_callback_set(mi, _e_gadman_cb_center_horiz, gmc);
@@ -523,7 +523,7 @@ e_gadman_client_menu_new(E_Gadman_Client *gmc)
523 if (gmc->autoh > 0) 523 if (gmc->autoh > 0)
524 { 524 {
525 mi = e_menu_item_new(m); 525 mi = e_menu_item_new(m);
526 e_menu_item_label_set(mi, "Automatic Height"); 526 e_menu_item_label_set(mi, _("Automatic Height"));
527 e_menu_item_check_set(mi, 1); 527 e_menu_item_check_set(mi, 1);
528 e_menu_item_toggle_set(mi, gmc->use_autoh); 528 e_menu_item_toggle_set(mi, gmc->use_autoh);
529 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 529 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
@@ -533,12 +533,12 @@ e_gadman_client_menu_new(E_Gadman_Client *gmc)
533 e_menu_item_separator_set(mi, 1); 533 e_menu_item_separator_set(mi, 1);
534 } 534 }
535 mi = e_menu_item_new(m); 535 mi = e_menu_item_new(m);
536 e_menu_item_label_set(mi, "Half Screen Height"); 536 e_menu_item_label_set(mi, _("Half Screen Height"));
537 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 537 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
538 "half_height"); 538 "half_height");
539 e_menu_item_callback_set(mi, _e_gadman_cb_half_height, gmc); 539 e_menu_item_callback_set(mi, _e_gadman_cb_half_height, gmc);
540 mi = e_menu_item_new(m); 540 mi = e_menu_item_new(m);
541 e_menu_item_label_set(mi, "Full Screen Height"); 541 e_menu_item_label_set(mi, _("Full Screen Height"));
542 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 542 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
543 "full_height"); 543 "full_height");
544 e_menu_item_callback_set(mi, _e_gadman_cb_full_height, gmc); 544 e_menu_item_callback_set(mi, _e_gadman_cb_full_height, gmc);
@@ -549,7 +549,7 @@ e_gadman_client_menu_new(E_Gadman_Client *gmc)
549 { 549 {
550 seperator = 1; 550 seperator = 1;
551 mi = e_menu_item_new(m); 551 mi = e_menu_item_new(m);
552 e_menu_item_label_set(mi, "Center Vertically"); 552 e_menu_item_label_set(mi, _("Center Vertically"));
553 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 553 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
554 "center_vert"); 554 "center_vert");
555 e_menu_item_callback_set(mi, _e_gadman_cb_center_vert, gmc); 555 e_menu_item_callback_set(mi, _e_gadman_cb_center_vert, gmc);
@@ -560,7 +560,7 @@ e_gadman_client_menu_new(E_Gadman_Client *gmc)
560 e_menu_item_separator_set(mi, 1); 560 e_menu_item_separator_set(mi, 1);
561 } 561 }
562 mi = e_menu_item_new(m); 562 mi = e_menu_item_new(m);
563 e_menu_item_label_set(mi, "End Edit Mode"); 563 e_menu_item_label_set(mi, _("End Edit Mode"));
564 e_menu_item_callback_set(mi, _e_gadman_cb_end_edit_mode, gmc); 564 e_menu_item_callback_set(mi, _e_gadman_cb_end_edit_mode, gmc);
565 565
566 return m; 566 return m;
diff --git a/src/bin/e_includes.h b/src/bin/e_includes.h
index bcde59acd..ece004266 100644
--- a/src/bin/e_includes.h
+++ b/src/bin/e_includes.h
@@ -34,3 +34,4 @@
34#include "e_table.h" 34#include "e_table.h"
35#include "e_layout.h" 35#include "e_layout.h"
36#include "e_font.h" 36#include "e_font.h"
37#include "e_intl.h"
diff --git a/src/bin/e_init.c b/src/bin/e_init.c
index 2f002703b..d9ad64599 100644
--- a/src/bin/e_init.c
+++ b/src/bin/e_init.c
@@ -31,7 +31,7 @@ e_init_init(void)
31 roots = ecore_x_window_root_list(&num); 31 roots = ecore_x_window_root_list(&num);
32 if ((!roots) || (num <= 0)) 32 if ((!roots) || (num <= 0))
33 { 33 {
34 e_error_message_show("X reports there are no root windows and %i screens!\n", 34 e_error_message_show(_("X reports there are no root windows and %i screens!\n"),
35 num); 35 num);
36 return 0; 36 return 0;
37 } 37 }
diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c
index 70341f847..edcedb7c4 100644
--- a/src/bin/e_int_menus.c
+++ b/src/bin/e_int_menus.c
@@ -55,7 +55,7 @@ e_int_menus_main_new(void)
55 subm = e_int_menus_favorite_apps_new(); 55 subm = e_int_menus_favorite_apps_new();
56 dat->apps = subm; 56 dat->apps = subm;
57 mi = e_menu_item_new(m); 57 mi = e_menu_item_new(m);
58 e_menu_item_label_set(mi, "Favorite Applications"); 58 e_menu_item_label_set(mi, _("Favorite Applications"));
59 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 59 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
60 "favorites"); 60 "favorites");
61 e_menu_item_submenu_set(mi, subm); 61 e_menu_item_submenu_set(mi, subm);
@@ -66,7 +66,7 @@ e_int_menus_main_new(void)
66 subm = e_module_menu_new(); 66 subm = e_module_menu_new();
67 dat->modules = subm; 67 dat->modules = subm;
68 mi = e_menu_item_new(m); 68 mi = e_menu_item_new(m);
69 e_menu_item_label_set(mi, "Modules"); 69 e_menu_item_label_set(mi, _("Modules"));
70 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 70 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
71 "module"); 71 "module");
72 e_menu_item_submenu_set(mi, subm); 72 e_menu_item_submenu_set(mi, subm);
@@ -74,7 +74,7 @@ e_int_menus_main_new(void)
74 subm = e_int_menus_desktops_new(); 74 subm = e_int_menus_desktops_new();
75 dat->desktops = subm; 75 dat->desktops = subm;
76 mi = e_menu_item_new(m); 76 mi = e_menu_item_new(m);
77 e_menu_item_label_set(mi, "Desktops"); 77 e_menu_item_label_set(mi, _("Desktops"));
78 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 78 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
79 "desktops"); 79 "desktops");
80 e_menu_item_submenu_set(mi, subm); 80 e_menu_item_submenu_set(mi, subm);
@@ -82,7 +82,7 @@ e_int_menus_main_new(void)
82 subm = e_int_menus_clients_new(); 82 subm = e_int_menus_clients_new();
83 dat->clients = subm; 83 dat->clients = subm;
84 mi = e_menu_item_new(m); 84 mi = e_menu_item_new(m);
85 e_menu_item_label_set(mi, "Windows"); 85 e_menu_item_label_set(mi, _("Windows"));
86 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 86 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
87 "windows"); 87 "windows");
88 e_menu_item_submenu_set(mi, subm); 88 e_menu_item_submenu_set(mi, subm);
@@ -90,7 +90,7 @@ e_int_menus_main_new(void)
90 subm = e_int_menus_gadgets_new(); 90 subm = e_int_menus_gadgets_new();
91 dat->gadgets = subm; 91 dat->gadgets = subm;
92 mi = e_menu_item_new(m); 92 mi = e_menu_item_new(m);
93 e_menu_item_label_set(mi, "Gadgets"); 93 e_menu_item_label_set(mi, _("Gadgets"));
94 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 94 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
95 "gadgets"); 95 "gadgets");
96 e_menu_item_submenu_set(mi, subm); 96 e_menu_item_submenu_set(mi, subm);
@@ -99,7 +99,7 @@ e_int_menus_main_new(void)
99 e_menu_item_separator_set(mi, 1); 99 e_menu_item_separator_set(mi, 1);
100 100
101 mi = e_menu_item_new(m); 101 mi = e_menu_item_new(m);
102 e_menu_item_label_set(mi, "About Enlightenment"); 102 e_menu_item_label_set(mi, _("About Enlightenment"));
103 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 103 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
104 "e"); 104 "e");
105 e_menu_item_callback_set(mi, _e_int_menus_main_about, NULL); 105 e_menu_item_callback_set(mi, _e_int_menus_main_about, NULL);
@@ -108,13 +108,13 @@ e_int_menus_main_new(void)
108 e_menu_item_separator_set(mi, 1); 108 e_menu_item_separator_set(mi, 1);
109 109
110 mi = e_menu_item_new(m); 110 mi = e_menu_item_new(m);
111 e_menu_item_label_set(mi, "Restart Enlightement"); 111 e_menu_item_label_set(mi, _("Restart Enlightement"));
112 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 112 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
113 "reset"); 113 "reset");
114 e_menu_item_callback_set(mi, _e_int_menus_main_restart, NULL); 114 e_menu_item_callback_set(mi, _e_int_menus_main_restart, NULL);
115 115
116 mi = e_menu_item_new(m); 116 mi = e_menu_item_new(m);
117 e_menu_item_label_set(mi, "Exit Enlightement"); 117 e_menu_item_label_set(mi, _("Exit Enlightement"));
118 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"), 118 e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.edj"),
119 "power"); 119 "power");
120 e_menu_item_callback_set(mi, _e_int_menus_main_exit, NULL); 120 e_menu_item_callback_set(mi, _e_int_menus_main_exit, NULL);
@@ -207,12 +207,13 @@ _e_int_menus_main_del_hook(void *obj)
207static void 207static void
208_e_int_menus_main_about(void *data, E_Menu *m, E_Menu_Item *mi) 208_e_int_menus_main_about(void *data, E_Menu *m, E_Menu_Item *mi)
209{ 209{
210 e_error_dialog_show("About Enlightenment", 210 e_error_dialog_show(_("About Enlightenment"),
211 "This is Enlightenment "VERSION".\n" 211 _("This is Enlightenment %s.\n"
212 "Copyright © 1999-2004, by the Enlightenment Dev Team.\n" 212 "Copyright © 1999-2004, by the Enlightenment Dev Team.\n"
213 "\n" 213 "\n"
214 "We hope you enjoy using this software as much as we enjoyed writing it.\n\n" 214 "We hope you enjoy using this software as much as we enjoyed writing it.\n\n"
215 "Please think of the aardvarks. They need some love too." 215 "Please think of the aardvarks. They need some love too."),
216 VERSION
216 ); 217 );
217} 218}
218 219
@@ -268,7 +269,7 @@ _e_int_menus_apps_scan(E_Menu *m)
268 if (app_count == 0) 269 if (app_count == 0)
269 { 270 {
270 mi = e_menu_item_new(m); 271 mi = e_menu_item_new(m);
271 e_menu_item_label_set(mi, "(No Applications)"); 272 e_menu_item_label_set(mi, _("(No Applications)"));
272 } 273 }
273} 274}
274 275
@@ -350,19 +351,19 @@ _e_int_menus_desktops_pre_cb(void *data, E_Menu *m)
350 e_menu_item_separator_set(mi, 1); 351 e_menu_item_separator_set(mi, 1);
351 352
352 mi = e_menu_item_new(m); 353 mi = e_menu_item_new(m);
353 e_menu_item_label_set(mi, "New Row of Desktops"); 354 e_menu_item_label_set(mi, _("New Row of Desktops"));
354 e_menu_item_callback_set(mi, _e_int_menus_desktops_row_add_cb, NULL); 355 e_menu_item_callback_set(mi, _e_int_menus_desktops_row_add_cb, NULL);
355 356
356 mi = e_menu_item_new(m); 357 mi = e_menu_item_new(m);
357 e_menu_item_label_set(mi, "Remove Row of Desktops"); 358 e_menu_item_label_set(mi, _("Remove Row of Desktops"));
358 e_menu_item_callback_set(mi, _e_int_menus_desktops_row_del_cb, NULL); 359 e_menu_item_callback_set(mi, _e_int_menus_desktops_row_del_cb, NULL);
359 360
360 mi = e_menu_item_new(m); 361 mi = e_menu_item_new(m);
361 e_menu_item_label_set(mi, "New Column of Desktops"); 362 e_menu_item_label_set(mi, _("New Column of Desktops"));
362 e_menu_item_callback_set(mi, _e_int_menus_desktops_col_add_cb, NULL); 363 e_menu_item_callback_set(mi, _e_int_menus_desktops_col_add_cb, NULL);
363 364
364 mi = e_menu_item_new(m); 365 mi = e_menu_item_new(m);
365 e_menu_item_label_set(mi, "Remove Column of Desktops"); 366 e_menu_item_label_set(mi, _("Remove Column of Desktops"));
366 e_menu_item_callback_set(mi, _e_int_menus_desktops_col_del_cb, NULL); 367 e_menu_item_callback_set(mi, _e_int_menus_desktops_col_del_cb, NULL);
367} 368}
368 369
@@ -441,7 +442,7 @@ _e_int_menus_clients_pre_cb(void *data, E_Menu *m)
441 { 442 {
442 /* FIXME here we want nothing, but that crashes!!! */ 443 /* FIXME here we want nothing, but that crashes!!! */
443 mi = e_menu_item_new(m); 444 mi = e_menu_item_new(m);
444 e_menu_item_label_set(mi, "(No Windows)"); 445 e_menu_item_label_set(mi, _("(No Windows)"));
445 return; 446 return;
446 } 447 }
447 for (l = borders; l; l = l->next) 448 for (l = borders; l; l = l->next)
@@ -511,13 +512,13 @@ _e_int_menus_gadgets_pre_cb(void *data, E_Menu *m)
511 e_menu_item_toggle_set(mi, 1); 512 e_menu_item_toggle_set(mi, 1);
512 else 513 else
513 e_menu_item_toggle_set(mi, 0); 514 e_menu_item_toggle_set(mi, 0);
514 e_menu_item_label_set(mi, "Edit Mode"); 515 e_menu_item_label_set(mi, _("Edit Mode"));
515 e_menu_item_callback_set(mi, _e_int_menus_gadgets_edit_mode_cb, root->zone->container->gadman); 516 e_menu_item_callback_set(mi, _e_int_menus_gadgets_edit_mode_cb, root->zone->container->gadman);
516 } 517 }
517 else 518 else
518 { 519 {
519 mi = e_menu_item_new(m); 520 mi = e_menu_item_new(m);
520 e_menu_item_label_set(mi, "(Unused)"); 521 e_menu_item_label_set(mi, _("(Unused)"));
521 e_menu_item_callback_set(mi, NULL, NULL); 522 e_menu_item_callback_set(mi, NULL, NULL);
522 } 523 }
523} 524}
diff --git a/src/bin/e_intl.c b/src/bin/e_intl.c
new file mode 100644
index 000000000..5287c79c8
--- /dev/null
+++ b/src/bin/e_intl.c
@@ -0,0 +1,26 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4#include "e.h"
5#include "config.h"
6
7/* TODO List:
8 */
9
10int
11e_intl_init(void)
12{
13 setlocale(LC_ALL, "");
14 bindtextdomain(PACKAGE, LOCALE_DIR);
15 textdomain(PACKAGE);
16// XSetLocaleModifiers("");
17 bind_textdomain_codeset(PACKAGE, "UTF-8");
18
19 return 1;
20}
21
22int
23e_intl_shutdown(void)
24{
25 return 1;
26}
diff --git a/src/bin/e_intl.h b/src/bin/e_intl.h
new file mode 100644
index 000000000..965cbb8a3
--- /dev/null
+++ b/src/bin/e_intl.h
@@ -0,0 +1,20 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4#ifdef E_TYPEDEFS
5
6#include <locale.h>
7#include <libintl.h>
8
9#define _(str) gettext(str)
10#define d_(str, dom) dgettext(PACKAGE dom, str)
11
12#else
13#ifndef E_INTL_H
14#define E_INTL_H
15
16EAPI int e_intl_init(void);
17EAPI int e_intl_shutdown(void);
18
19#endif
20#endif
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index d9694b0cd..7bae1d674 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -82,6 +82,8 @@ main(int argc, char **argv)
82 after_restart = 1; 82 after_restart = 1;
83 } 83 }
84 putenv("RESTART=1"); 84 putenv("RESTART=1");
85
86 e_intl_init();
85 87
86 /* handle some command-line parameters */ 88 /* handle some command-line parameters */
87 for (i = 1; i < argc; i++) 89 for (i = 1; i < argc; i++)
@@ -107,16 +109,16 @@ main(int argc, char **argv)
107 (!strcmp(argv[i], "--help"))) 109 (!strcmp(argv[i], "--help")))
108 { 110 {
109 printf 111 printf
110 ("Options:\n" 112 (_("Options:\n"
111 "\t-display DISPLAY\n" 113 "\t-display DISPLAY\n"
112 "\t\tConnect to display named DISPLAY.\n" 114 "\t\tConnect to display named DISPLAY.\n"
113 "\t\tEG: -display :1.0\n" 115 "\t\tEG: -display :1.0\n"
114 "\t-fake-xinerama-screen WxH+X+Y\n" 116 "\t-fake-xinerama-screen WxH+X+Y\n"
115 "\t\tAdd a FAKE xinerama screen (instead of the real ones)\n" 117 "\t\tAdd a FAKE xinerama screen (instead of the real ones)\n"
116 "\t\tgiven the geometry. Add as many as you like. They all\n" 118 "\t\tgiven the geometry. Add as many as you like. They all\n"
117 "\t\treplace the real xinerama screens, if any. This can\n" 119 "\t\treplace the real xinerama screens, if any. This can\n"
118 "\t\tbe used to simulate xinerama.\n" 120 "\t\tbe used to simulate xinerama.\n"
119 "\t\tEG: -fake-xinerama-screen 800x600+0+0 -fake-xinerama-screen 800x600+800+0\n" 121 "\t\tEG: -fake-xinerama-screen 800x600+0+0 -fake-xinerama-screen 800x600+800+0\n")
120 ); 122 );
121 exit(0); 123 exit(0);
122 } 124 }
@@ -152,8 +154,8 @@ main(int argc, char **argv)
152 /* basic ecore init */ 154 /* basic ecore init */
153 if (!ecore_init()) 155 if (!ecore_init())
154 { 156 {
155 e_error_message_show("Enlightenment cannot Initialize Ecore!\n" 157 e_error_message_show(_("Enlightenment cannot Initialize Ecore!\n"
156 "Perhaps you are out of memory?"); 158 "Perhaps you are out of memory?"));
157 exit(-1); 159 exit(-1);
158 } 160 }
159 _e_main_shutdown_push(ecore_shutdown); 161 _e_main_shutdown_push(ecore_shutdown);
@@ -162,14 +164,14 @@ main(int argc, char **argv)
162 /* setup a handler for when e is asked to exit via a system signal */ 164 /* setup a handler for when e is asked to exit via a system signal */
163 if (!ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, _e_main_cb_signal_exit, NULL)) 165 if (!ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, _e_main_cb_signal_exit, NULL))
164 { 166 {
165 e_error_message_show("Enlightenment cannot set up an exit signal handler.\n" 167 e_error_message_show(_("Enlightenment cannot set up an exit signal handler.\n"
166 "Perhaps you are out of memory?"); 168 "Perhaps you are out of memory?"));
167 _e_main_shutdown(-1); 169 _e_main_shutdown(-1);
168 } 170 }
169 if(!ecore_event_handler_add(ECORE_EVENT_SIGNAL_HUP, _e_main_cb_signal_hup, NULL)) 171 if(!ecore_event_handler_add(ECORE_EVENT_SIGNAL_HUP, _e_main_cb_signal_hup, NULL))
170 { 172 {
171 e_error_message_show("Enlightenment cannot set up a HUP signal handler.\n" 173 e_error_message_show(_("Enlightenment cannot set up a HUP signal handler.\n"
172 "Perhaps you are out of memory?"); 174 "Perhaps you are out of memory?"));
173 _e_main_shutdown(-1); 175 _e_main_shutdown(-1);
174 } 176 }
175 177
@@ -179,15 +181,15 @@ main(int argc, char **argv)
179 /* init x */ 181 /* init x */
180 if (!ecore_x_init(NULL)) 182 if (!ecore_x_init(NULL))
181 { 183 {
182 e_error_message_show("Enlightenment cannot initialize its X connection.\n" 184 e_error_message_show(_("Enlightenment cannot initialize its X connection.\n"
183 "Have you set your DISPLAY variable?"); 185 "Have you set your DISPLAY variable?"));
184 _e_main_shutdown(-1); 186 _e_main_shutdown(-1);
185 } 187 }
186 _e_main_shutdown_push(_e_main_x_shutdown); 188 _e_main_shutdown_push(_e_main_x_shutdown);
187 if (!e_xinerama_init()) 189 if (!e_xinerama_init())
188 { 190 {
189 e_error_message_show("Enlightenment cannot setup xinerama wrapping.\n" 191 e_error_message_show(_("Enlightenment cannot setup xinerama wrapping.\n"
190 "This should not happen."); 192 "This should not happen."));
191 _e_main_shutdown(-1); 193 _e_main_shutdown(-1);
192 } 194 }
193 _e_main_shutdown_push(e_xinerama_shutdown); 195 _e_main_shutdown_push(e_xinerama_shutdown);
@@ -202,24 +204,24 @@ main(int argc, char **argv)
202 /* init generic communications */ 204 /* init generic communications */
203 if (!ecore_con_init()) 205 if (!ecore_con_init())
204 { 206 {
205 e_error_message_show("Enlightenment cannot initialize the connections system.\n" 207 e_error_message_show(_("Enlightenment cannot initialize the connections system.\n"
206 "Perhaps you are out of memory?"); 208 "Perhaps you are out of memory?"));
207 _e_main_shutdown(-1); 209 _e_main_shutdown(-1);
208 } 210 }
209 _e_main_shutdown_push(ecore_con_shutdown); 211 _e_main_shutdown_push(ecore_con_shutdown);
210 /* init ipc */ 212 /* init ipc */
211 if (!ecore_ipc_init()) 213 if (!ecore_ipc_init())
212 { 214 {
213 e_error_message_show("Enlightenment cannot initialize the ipc system.\n" 215 e_error_message_show(_("Enlightenment cannot initialize the IPC system.\n"
214 "Perhaps you are out of memory?"); 216 "Perhaps you are out of memory?"));
215 _e_main_shutdown(-1); 217 _e_main_shutdown(-1);
216 } 218 }
217 _e_main_shutdown_push(ecore_ipc_shutdown); 219 _e_main_shutdown_push(ecore_ipc_shutdown);
218 /* init the evas wrapper */ 220 /* init the evas wrapper */
219 if (!ecore_evas_init()) 221 if (!ecore_evas_init())
220 { 222 {
221 e_error_message_show("Enlightenment cannot initialize the evas system.\n" 223 e_error_message_show(_("Enlightenment cannot initialize the Evas system.\n"
222 "Perhaps you are out of memory?"); 224 "Perhaps you are out of memory?"));
223 _e_main_shutdown(-1); 225 _e_main_shutdown(-1);
224 } 226 }
225 _e_main_shutdown_push(ecore_evas_shutdown); 227 _e_main_shutdown_push(ecore_evas_shutdown);
@@ -230,23 +232,23 @@ main(int argc, char **argv)
230 /* setup directories we will be using for configurations sotrage etc. */ 232 /* setup directories we will be using for configurations sotrage etc. */
231 if (!_e_main_dirs_init()) 233 if (!_e_main_dirs_init())
232 { 234 {
233 e_error_message_show("Enlightenment cannot create directories in your home directory.\n" 235 e_error_message_show(_("Enlightenment cannot create directories in your home directory.\n"
234 "Perhaps you have no home directory or the disk is full?"); 236 "Perhaps you have no home directory or the disk is full?"));
235 _e_main_shutdown(-1); 237 _e_main_shutdown(-1);
236 } 238 }
237 _e_main_shutdown_push(_e_main_dirs_shutdown); 239 _e_main_shutdown_push(_e_main_dirs_shutdown);
238 /* setup paths for finding things */ 240 /* setup paths for finding things */
239 if (!_e_main_path_init()) 241 if (!_e_main_path_init())
240 { 242 {
241 e_error_message_show("Enlightenment cannot set up paths for finding files.\n" 243 e_error_message_show(_("Enlightenment cannot set up paths for finding files.\n"
242 "Perhaps you are out of memory?"); 244 "Perhaps you are out of memory?"));
243 _e_main_shutdown(-1); 245 _e_main_shutdown(-1);
244 } 246 }
245 _e_main_shutdown_push(_e_main_path_shutdown); 247 _e_main_shutdown_push(_e_main_path_shutdown);
246 /* init config system */ 248 /* init config system */
247 if (!e_config_init()) 249 if (!e_config_init())
248 { 250 {
249 e_error_message_show("Enlightenment cannot set up its config system."); 251 e_error_message_show(_("Enlightenment cannot set up its config system."));
250 _e_main_shutdown(-1); 252 _e_main_shutdown(-1);
251 } 253 }
252 _e_main_shutdown_push(e_config_shutdown); 254 _e_main_shutdown_push(e_config_shutdown);
@@ -257,7 +259,7 @@ main(int argc, char **argv)
257 /* init font system */ 259 /* init font system */
258 if (!e_font_init()) 260 if (!e_font_init())
259 { 261 {
260 e_error_message_show("Enlightenment cannot set up its font system."); 262 e_error_message_show(_("Enlightenment cannot set up its font system."));
261 _e_main_shutdown(-1); 263 _e_main_shutdown(-1);
262 } 264 }
263 _e_main_shutdown_push(e_font_shutdown); 265 _e_main_shutdown_push(e_font_shutdown);
@@ -267,23 +269,23 @@ main(int argc, char **argv)
267 /* setup init status window/screen */ 269 /* setup init status window/screen */
268 if (!e_init_init()) 270 if (!e_init_init())
269 { 271 {
270 e_error_message_show("Enlightenment cannot set up init screen.\n" 272 e_error_message_show(_("Enlightenment cannot set up init screen.\n"
271 "Perhaps you are out of memory?"); 273 "Perhaps you are out of memory?"));
272 _e_main_shutdown(-1); 274 _e_main_shutdown(-1);
273 } 275 }
274 _e_main_shutdown_push(e_init_shutdown); 276 _e_main_shutdown_push(e_init_shutdown);
275 /* manage the root window */ 277 /* manage the root window */
276 if (!_e_main_screens_init()) 278 if (!_e_main_screens_init())
277 { 279 {
278 e_error_message_show("Enlightenment set up window management for all the screens on your system\n" 280 e_error_message_show(_("Enlightenment set up window management for all the screens on your system\n"
279 "failed. Perhaps another window manager is running?\n"); 281 "failed. Perhaps another window manager is running?\n"));
280 _e_main_shutdown(-1); 282 _e_main_shutdown(-1);
281 } 283 }
282 _e_main_shutdown_push(_e_main_screens_shutdown); 284 _e_main_shutdown_push(_e_main_screens_shutdown);
283 /* init app system */ 285 /* init app system */
284 if (!e_app_init()) 286 if (!e_app_init())
285 { 287 {
286 e_error_message_show("Enlightenment cannot set up its app system."); 288 e_error_message_show(_("Enlightenment cannot set up its app system."));
287 _e_main_shutdown(-1); 289 _e_main_shutdown(-1);
288 } 290 }
289 _e_main_shutdown_push(e_app_shutdown); 291 _e_main_shutdown_push(e_app_shutdown);
@@ -295,11 +297,11 @@ main(int argc, char **argv)
295 if (!_e_main_ipc_init()) 297 if (!_e_main_ipc_init())
296 { 298 {
297 e_error_message_show( 299 e_error_message_show(
298 "Enlightenment cannot set up the IPC socket.\n" 300 _("Enlightenment cannot set up the IPC socket.\n"
299 "It likely is already in use by an exisiting copy of Enlightenment.\n" 301 "It likely is already in use by an exisiting copy of Enlightenment.\n"
300 "Double check to see if Enlightenment is not already on this display,\n" 302 "Double check to see if Enlightenment is not already on this display,\n"
301 "but if that fails try deleting all files in ~/.ecore/enlightenment-*\n" 303 "but if that fails try deleting all files in ~/.ecore/enlightenment-*\n"
302 "and try running again."); 304 "and try running again."));
303 ipc_failed = 1; 305 ipc_failed = 1;
304 } 306 }
305 else 307 else
@@ -308,7 +310,7 @@ main(int argc, char **argv)
308 /* setup module loading etc */ 310 /* setup module loading etc */
309 if (!e_module_init()) 311 if (!e_module_init())
310 { 312 {
311 e_error_message_show("Enlightenment cannot set up its module system."); 313 e_error_message_show(_("Enlightenment cannot set up its module system."));
312 _e_main_shutdown(-1); 314 _e_main_shutdown(-1);
313 } 315 }
314 _e_main_shutdown_push(e_module_shutdown); 316 _e_main_shutdown_push(e_module_shutdown);
@@ -316,21 +318,21 @@ main(int argc, char **argv)
316 if (!nowelcome) 318 if (!nowelcome)
317 { 319 {
318 /* explicitly show a gui dialog */ 320 /* explicitly show a gui dialog */
319 e_error_dialog_show("Welcome to Enlightenment 0.17", 321 e_error_dialog_show(_("Welcome to Enlightenment 0.17"),
320 "This is program has barely been started on, so it is not complete by a long\n" 322 _("This is program has barely been started on, so it is not complete by a long\n"
321 "shot. Please do NOT expect anything to work properly at this stage. It's\n" 323 "shot. Please do NOT expect anything to work properly at this stage. It's\n"
322 "being worked on.\n" 324 "being worked on.\n"
323 "\n" 325 "\n"
324 "Hit \"OK\" to dismiss this dialog and continue using Enlightenment 0.17."); 326 "Hit \"OK\" to dismiss this dialog and continue using Enlightenment 0.17."));
325 } 327 }
326 328
327 if (ipc_failed) 329 if (ipc_failed)
328 e_error_dialog_show("Enlightenment IPC setup error!", 330 e_error_dialog_show(_("Enlightenment IPC setup error!"),
329 "Enlightenment cannot set up the IPC socket.\n" 331 _("Enlightenment cannot set up the IPC socket.\n"
330 "It likely is already in use by an exisiting copy of Enlightenment.\n" 332 "It likely is already in use by an exisiting copy of Enlightenment.\n"
331 "Double check to see if Enlightenment is not already on this display,\n" 333 "Double check to see if Enlightenment is not already on this display,\n"
332 "but if that fails try deleting all files in ~/.ecore/enlightenment-*\n" 334 "but if that fails try deleting all files in ~/.ecore/enlightenment-*\n"
333 "and try running again."); 335 "and try running again."));
334 336
335 /* add in a handler that just before we go idle we flush x */ 337 /* add in a handler that just before we go idle we flush x */
336 _e_main_idle_enterer_flusher = ecore_idle_enterer_add(_e_main_cb_x_flusher, NULL); 338 _e_main_idle_enterer_flusher = ecore_idle_enterer_add(_e_main_cb_x_flusher, NULL);
@@ -340,9 +342,9 @@ main(int argc, char **argv)
340 342
341 ecore_x_ungrab(); 343 ecore_x_ungrab();
342 344
343 e_init_title_set("Enlightenment"); 345 e_init_title_set(_("Enlightenment"));
344 e_init_version_set(VERSION); 346 e_init_version_set(VERSION);
345 e_init_status_set("Enlightenment Starting. Please wait."); 347 e_init_status_set(_("Enlightenment Starting. Please wait."));
346 348
347 if (!nostartup) 349 if (!nostartup)
348 { 350 {
@@ -356,9 +358,9 @@ main(int argc, char **argv)
356 } 358 }
357 else 359 else
358 { 360 {
359 ecore_timer_add( 3.0, _e_main_cb_startup_fake_status, "Artificially slowing startup so you can see it all."); 361 ecore_timer_add( 3.0, _e_main_cb_startup_fake_status, _("Artificially slowing startup so you can see it all."));
360 ecore_timer_add( 7.5, _e_main_cb_startup_fake_status, "This is development code, so be warned."); 362 ecore_timer_add( 7.5, _e_main_cb_startup_fake_status, _("This is development code, so be warned."));
361 ecore_timer_add(12.0, _e_main_cb_startup_fake_status, "Most features do not work yet, and those that do are buggy."); 363 ecore_timer_add(12.0, _e_main_cb_startup_fake_status, _("Most features do not work yet, and those that do are buggy."));
362 ecore_timer_add(16.0, _e_main_cb_startup_fake_end, NULL); 364 ecore_timer_add(16.0, _e_main_cb_startup_fake_end, NULL);
363 } 365 }
364 366
@@ -379,9 +381,7 @@ main(int argc, char **argv)
379 /* if we were flagged to restart, then restart. */ 381 /* if we were flagged to restart, then restart. */
380 if (restart) 382 if (restart)
381 { 383 {
382 printf("Restart...\n");
383 ecore_app_restart(); 384 ecore_app_restart();
384 printf("eh? restart failed!\n");
385 } 385 }
386 386
387 /* just return 0 to keep the compiler quiet */ 387 /* just return 0 to keep the compiler quiet */
@@ -517,6 +517,8 @@ _e_main_dirs_init(void)
517 system(buf); 517 system(buf);
518 } 518 }
519 free(homedir); 519 free(homedir);
520
521 e_intl_shutdown();
520 522
521 return 1; 523 return 1;
522} 524}
diff --git a/src/bin/e_module.c b/src/bin/e_module.c
index 5e3fee098..d797a7b59 100644
--- a/src/bin/e_module.c
+++ b/src/bin/e_module.c
@@ -95,10 +95,10 @@ e_module_new(char *name)
95 modpath = name; 95 modpath = name;
96 if (!modpath) 96 if (!modpath)
97 { 97 {
98 e_error_dialog_show("Error loading Module", 98 e_error_dialog_show(_("Error loading Module"),
99 "There was an error loading module named: %s\n" 99 _("There was an error loading module named: %s\n"
100 "No module named %s could be found in the\n" 100 "No module named %s could be found in the\n"
101 "module search directories\n", 101 "module search directories\n"),
102 name, buf); 102 name, buf);
103 free(m); 103 free(m);
104 return NULL; 104 return NULL;
@@ -106,12 +106,12 @@ e_module_new(char *name)
106 m->handle = dlopen(modpath, RTLD_NOW | RTLD_LOCAL); 106 m->handle = dlopen(modpath, RTLD_NOW | RTLD_LOCAL);
107 if (!m->handle) 107 if (!m->handle)
108 { 108 {
109 e_error_dialog_show("Error loading Module", 109 e_error_dialog_show(_("Error loading Module"),
110 "There was an error loading module named: %s\n" 110 _("There was an error loading module named: %s\n"
111 "The full path to this module is:\n" 111 "The full path to this module is:\n"
112 "%s\n" 112 "%s\n"
113 "The error reported was:\n" 113 "The error reported was:\n"
114 "%s", 114 "%s"),
115 name, buf, dlerror()); 115 name, buf, dlerror());
116 free(m); 116 free(m);
117 return NULL; 117 return NULL;
@@ -128,12 +128,12 @@ e_module_new(char *name)
128 (!m->func.about) 128 (!m->func.about)
129 ) 129 )
130 { 130 {
131 e_error_dialog_show("Error loading Module", 131 e_error_dialog_show(_("Error loading Module"),
132 "There was an error loading module named: %s\n" 132 _("There was an error loading module named: %s\n"
133 "The full path to this module is:\n" 133 "The full path to this module is:\n"
134 "%s\n" 134 "%s\n"
135 "The error reported was:\n" 135 "The error reported was:\n"
136 "%s", 136 "%s"),
137 name, buf, dlerror()); 137 name, buf, dlerror());
138 dlclose(m->handle); 138 dlclose(m->handle);
139 free(m); 139 free(m);
@@ -378,11 +378,11 @@ _e_module_control_menu_new(E_Module *mod)
378 m = e_menu_new(); 378 m = e_menu_new();
379 379
380 mi = e_menu_item_new(m); 380 mi = e_menu_item_new(m);
381 e_menu_item_label_set(mi, "About..."); 381 e_menu_item_label_set(mi, _("About..."));
382 e_menu_item_callback_set(mi, _e_module_control_menu_about, mod); 382 e_menu_item_callback_set(mi, _e_module_control_menu_about, mod);
383 383
384 mi = e_menu_item_new(m); 384 mi = e_menu_item_new(m);
385 e_menu_item_label_set(mi, "Enabled"); 385 e_menu_item_label_set(mi, _("Enabled"));
386 e_menu_item_check_set(mi, 1); 386 e_menu_item_check_set(mi, 1);
387 if (mod->enabled) e_menu_item_toggle_set(mi, 1); 387 if (mod->enabled) e_menu_item_toggle_set(mi, 1);
388 e_menu_item_callback_set(mi, _e_module_control_menu_enabled, mod); 388 e_menu_item_callback_set(mi, _e_module_control_menu_enabled, mod);
@@ -393,7 +393,7 @@ _e_module_control_menu_new(E_Module *mod)
393 e_menu_item_separator_set(mi, 1); 393 e_menu_item_separator_set(mi, 1);
394 394
395 mi = e_menu_item_new(m); 395 mi = e_menu_item_new(m);
396 e_menu_item_label_set(mi, "Configuration"); 396 e_menu_item_label_set(mi, _("Configuration"));
397 e_menu_item_submenu_set(mi, mod->config_menu); 397 e_menu_item_submenu_set(mi, mod->config_menu);
398 } 398 }
399 return m; 399 return m;
diff --git a/src/bin/e_signals.c b/src/bin/e_signals.c
index 1b81e135f..c129ee864 100644
--- a/src/bin/e_signals.c
+++ b/src/bin/e_signals.c
@@ -12,21 +12,24 @@
12/* a tricky little devil, requires e and it's libs to be built 12/* a tricky little devil, requires e and it's libs to be built
13 * with the -rdynamic flag to GCC for any sort of decent output. 13 * with the -rdynamic flag to GCC for any sort of decent output.
14 */ 14 */
15void e_sigseg_act(int x, siginfo_t *info, void *data){ 15void
16 16e_sigseg_act(int x, siginfo_t *info, void *data)
17 void *array[255]; 17{
18 size_t size; 18 void *array[255];
19 write(2, "**** SEGMENTATION FAULT ****\n", 29); 19 size_t size;
20 write(2, "**** Printing Backtrace... *****\n\n", 34); 20
21 size = backtrace(array, 255); 21 write(2, "**** SEGMENTATION FAULT ****\n", 29);
22 backtrace_symbols_fd(array, size, 2); 22 write(2, "**** Printing Backtrace... *****\n\n", 34);
23 exit(-11); 23 size = backtrace(array, 255);
24 backtrace_symbols_fd(array, size, 2);
25 exit(-11);
24} 26}
25#else 27#else
26void e_sigseg_act(int x, siginfo_t *info, void *data){ 28void e_sigseg_act(int x, siginfo_t *info, void *data)
27 write(2, "**** SEGMENTATION FAULT ****\n", 29); 29{
28 write(2, "**** Backtrace disabled... *****\n\n", 34); 30 write(2, "**** SEGMENTATION FAULT ****\n", 29);
29 exit(-11); 31 write(2, "**** Backtrace disabled... *****\n\n", 34);
32 exit(-11);
30} 33}
31#endif 34#endif
32 35