mirror of https://github.com/ericonr/ep.git
Change translated strings to .c file.
This commit is contained in:
parent
fdf2b43b34
commit
780151cfee
6
Makefile
6
Makefile
|
@ -1,5 +1,5 @@
|
|||
LANGUAGE = PORTUGUESE
|
||||
CFLAGS = -g -Og -pipe -Ipo/ -D$(LANGUAGE)
|
||||
LANGUAGE = po/strings_pt.c
|
||||
CFLAGS = -g -Og -pipe -Ipo/ -D_GNU_SOURCE
|
||||
|
||||
# defaults to cproc because "why not?"
|
||||
CC = cproc
|
||||
|
@ -9,7 +9,7 @@ bindir = $(PREFIX)/bin
|
|||
|
||||
all: ep
|
||||
|
||||
ep: ep.c out.c path.c git.c
|
||||
ep: ep.c out.c path.c git.c $(LANGUAGE)
|
||||
|
||||
install: ep
|
||||
install -m755 $< $(bindir)/ep
|
||||
|
|
|
@ -1,7 +1 @@
|
|||
#if defined(PORTUGUESE)
|
||||
# include "strings_pt.h"
|
||||
#elif defined(ENGLISH)
|
||||
# include "strings_en.h"
|
||||
#else
|
||||
# error "No language selected!"
|
||||
#endif
|
||||
extern const char *unknowndir;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
const char *unknowndir = "[unknown]";
|
|
@ -1 +0,0 @@
|
|||
static const char *unknowndir = "[unknown]";
|
|
@ -0,0 +1 @@
|
|||
const char *unknowndir = "[desconhecido]";
|
|
@ -1 +0,0 @@
|
|||
static const char *unknowndir = "[desconhecido]";
|
Loading…
Reference in New Issue