Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Almost all translated #28

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ Lingyu Zhu <lynuszhu@gmail.com>
Dylan <dook@stardust.red>
* Fixed linker errors.

Alan Rodriguez <alan.nicolas.rodriguez@gmail.com>
* Added spanish translation.
8 changes: 7 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
05-10-2018 v3.0.2
* Creating: new branch traduction
04-26-2018 v3.0.1
* Added: spanish man page


07-28-2014 v3.0.0
* Gameplay: Levels! Now you can make your own maps and mazes
that the snake will play on. As expected, each
Expand Down Expand Up @@ -27,7 +33,7 @@

03-06-2014 v2.0.0
* Development: Completely rewrote the game in C++, using brand
new C++11 features!
new C++11 features!Ad
* Interface: Main menu has a cute Matrix-like animation.
* Interface: GUI-like menus and buttons and widgets and much more.
* Gameplay: Made input keys customizable.
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ MANPAGE = doc/man/$(MANFILE)
# Build info
EXE = $(PACKAGE)
CDEBUG = -O2
CXXFLAGS = $(CDEBUG) -Wall -Wextra $(CFLAGS_PLATFORM)
CXXFLAGS = $(CDEBUG) -Wall -Wextra $(CFLAGS_PLATFORM) -DLOCALEDIR=\"$(LOCALEDIR)\"
LDFLAGS = -lncurses $(LDFLAGS_PLATFORM)
INCLUDESDIR = -I"src/" -I"deps/"
LIBSDIR =
Expand Down Expand Up @@ -140,6 +140,8 @@ install: all
$(MUTE)install -pm644 misc/nsnake32.xpm $(DESTDIR)$(XPMDIR)/nsnake.xpm
$(MUTE)install -pdm755 $(DESTDIR)$(DESKTOPDIR)
$(MUTE)install -pm644 misc/nsnake.desktop $(DESTDIR)$(DESKTOPDIR)

cp po/es_AR.mo /usr/share/locale/es_AR/LC_MESSAGES/

# $(PACKAGE) successfuly installed!

Expand Down Expand Up @@ -220,4 +222,3 @@ $(ENGINE_DIR)/%.o: $(ENGINE_DIR)/%.cpp
$(COMMANDER_DIR)/%.o: $(COMMANDER_DIR)/%.c
# Compiling $<...
$(MUTE)$(CC) $(COMMANDER_CFLAGS) $< -c -o $@

51 changes: 26 additions & 25 deletions doc/man/nsnake.6
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,63 @@
.TH nsnake 6 "DATE" vVERSION "nsnake vVERSION"
\"---------------------------------- NAME --------------------------------------
.SH NAME
nsnake \- Classic snake game on the terminal
nsnake \- El clasico juego de snake en la terminal
\"-------------------------------- SYNOPSIS ------------------------------------
.SH SYNOPSIS
nsnake
.RB [ -h ]
.RB [ -v ]
\"------------------------------- DESCRIPTION ----------------------------------
.SH DESCRIPTION
nsnake is the classic snake game with textual interface.
You can play it at command-line and uses the nCurses library for graphics.
The rules are the same of any snake game:
nsnake es el juego snake clasico con interface solo texto.
Se puede jugar por linea de comandos y usando la biblioteca nCurses para los graficos.
Las reglas son las mismas de cualquier juego de snake:
.PP
You control a hungry snake and the objective is to eat as many fruits you can.
Each fruit eaten increases your size.
The game ends when the snake collides with the walls or itself.
Controlas una serpiente hambrienta y el objetivo es comer cuantas frutas puedas.
Cada fruta que comas incrementara tu tamaño.
El juego termina cuando la serpiente colisiona con la pared o consigo misma.
.PP
The challenge is to earn the biggest score possible by eating as many fruits as
you can.
El reto es obtener la mayor puntuacion posible comiendo cuantas frutas
puedas.
.PP
Controls and game settings can be changed through the in-game menus or by
directly editing the settings file.
Los controles y la configuracion del juego pueden ser cambiada a traves del menu dentro del juego o
directamente editando el archivo de configuracion.

.B Default controls:
.B Controles por defecto:
.RS
.BR "Arrow Keys " "Moves the snake"
.BR "Teclas de direccion " "Mueve la serpiente"

.BR "q " "Quits the game at any time"
.BR "q " "sale del juego en cualquier momento"

.BR "p " "Pauses/Unpauses the game"
.BR "p " "Pausa/Continua el juego"

.BR "h " "Show help during the game"
.BR "h " "muestra la ayuda en el juego"
.RE
\"--------------------------------- OPTIONS ------------------------------------
\"--------------------------------- OPCIONES ------------------------------------
.SH OPTIONS

.TP
.B "-h, --help"
Displays the quick help text.
.B "-h, --ayuda"
Muestra el texto de ayuda rapida.

.TP
.B "-v, --version"
Displays the version and general information.
\"----------------------------------- FILES -------------------------------------
Muestra la version e informacion general.
\"----------------------------------- ARCHIVOS -------------------------------------
.SH FILES
.BR "$(HOME)/.local/share/nsnake/" " Per-user content; game settings and scores"
\"----------------------------------- SEE ALSO ----------------------------------
.BR "$(HOME)/.local/share/nsnake/" " contenido Per-user; configuracion del juego y puntajes"
\"----------------------------------- VER TAMBIEN ----------------------------------
.SH SEE ALSO
.BR "snake4" "(6) " "ktron" "(6) " "yetris" "(6) "
\"----------------------------------- BUGS -------------------------------------
.SH BUGS
Probably. If you find any, please report it at the issue tracker (https://github.com/alexdantas/nsnake/issue) or email me at <eu@alexdantas.net>.
Probablemente hayan. Si encontras alguno, por favor reportalo en el issue tracker (https://github.com/alexdantas/nsnake/issue) o por email a <eu@alexdantas.net>.

\"---------------------------------- AUTHOR ------------------------------------
.SH AUTHOR
.PP
This manual page and nsnake were both written by Alexandre Dantas <eu@alexdantas.net>.
Esta pagina de manual fue traducida por Alan Rodriguez <alan.nicolas.rodriguez@gmail.com>
y nsnake fue escrito por Alexandre Dantas <eu@alexdantas.net>.
\"----------------------------------- WWW -------------------------------------
.SH WWW
* http://nsnake.alexdantas.net/
Expand Down
66 changes: 66 additions & 0 deletions doc/man/nsnakeO.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
\" ----------------------------- nsnake man page -------------------------------
.TH nsnake 6 "DATE" vVERSION "nsnake vVERSION"
\"---------------------------------- NAME --------------------------------------
.SH NAME
nsnake \- Classic snake game on the terminal
\"-------------------------------- SYNOPSIS ------------------------------------
.SH SYNOPSIS
nsnake
.RB [ -h ]
.RB [ -v ]
\"------------------------------- DESCRIPTION ----------------------------------
.SH DESCRIPTION
nsnake is the classic snake game with textual interface.
You can play it at command-line and uses the nCurses library for graphics.
The rules are the same of any snake game:
.PP
You control a hungry snake and the objective is to eat as many fruits you can.
Each fruit eaten increases your size.
The game ends when the snake collides with the walls or itself.
.PP
The challenge is to earn the biggest score possible by eating as many fruits as
you can.
.PP
Controls and game settings can be changed through the in-game menus or by
directly editing the settings file.

.B Default controls:
.RS
.BR "Arrow Keys " "Moves the snake"

.BR "q " "Quits the game at any time"

.BR "p " "Pauses/Unpauses the game"

.BR "h " "Show help during the game"
.RE
\"--------------------------------- OPTIONS ------------------------------------
.SH OPTIONS

.TP
.B "-h, --help"
Displays the quick help text.

.TP
.B "-v, --version"
Displays the version and general information.
\"----------------------------------- FILES -------------------------------------
.SH FILES
.BR "$(HOME)/.local/share/nsnake/" " Per-user content; game settings and scores"
\"----------------------------------- SEE ALSO ----------------------------------
.SH SEE ALSO
.BR "snake4" "(6) " "ktron" "(6) " "yetris" "(6) "
\"----------------------------------- BUGS -------------------------------------
.SH BUGS
Probably. If you find any, please report it at the issue tracker (https://github.com/alexdantas/nsnake/issue) or email me at <eu@alexdantas.net>.

\"---------------------------------- AUTHOR ------------------------------------
.SH AUTHOR
.PP
This manual page and nsnake were both written by Alexandre Dantas <eu@alexdantas.net>.
\"----------------------------------- WWW -------------------------------------
.SH WWW
* http://nsnake.alexdantas.net/

* https://github.com/alexdantas/nsnake/

Binary file added po/es_AR.mo
Binary file not shown.