mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Added translation part
This commit is contained in:
parent
14766fee6e
commit
f15229e831
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user