Added translation part

This commit is contained in:
Sanel Zukan 2011-10-20 09:17:08 +00:00
parent 14766fee6e
commit f15229e831

View File

@ -49,8 +49,9 @@ EOF
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <edelib/Ede.h>
#include <edelib/Window.h> #include <edelib/Window.h>
#include <edelib/Nls.h>
#include <edelib/Ede.h>
#include <FL/Fl.H> #include <FL/Fl.H>
#include <FL/Fl_Box.H> #include <FL/Fl_Box.H>
@ -61,7 +62,7 @@ int main(int argc, char** argv) {
EdeWindow *win = new EdeWindow(300, 100); EdeWindow *win = new EdeWindow(300, 100);
win->label("$name sample"); win->label("$name sample");
new Fl_Box(1, 1, 299, 99, "Hola from $name"); new Fl_Box(1, 1, 299, 99, _("Hola from $name"));
win->end(); win->end();
win->show(argc, argv); win->show(argc, argv);