fully translated to spanish

This commit is contained in:
matiasbian 2018-06-10 19:17:40 -03:00
parent 560bb6cf8b
commit 1a02433aa3
13 changed files with 248 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

0
msgfmt
View File

View File

33
po/es_AR/gfx_curses.po Normal file
View File

@ -0,0 +1,33 @@
# Spanish translations for 2048 package.
# Copyright (C) 2018 THE 2048'S COPYRIGHT HOLDER
# This file is distributed under the same license as the 2048 package.
# Matias <matiasezequielbian@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: 2048 v1.0.1\n"
"Report-Msgid-Bugs-To: matiasezequielbian@gmail.com\n"
"POT-Creation-Date: 2018-04-26 18:58-0300\n"
"PO-Revision-Date: 2018-04-26 19:00-0300\n"
"Last-Translator: Matias <matiasezequielbian@gmail.com>\n"
"Language-Team: Spanish\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/gfx_curses.c:70
#, c-format
msgid " Hi: %d\n"
msgstr "Puntuación Máxima: %d\n"
#: src/gfx_curses.c:68
#, c-format
msgid "Score: %d\n"
msgstr "Puntuación: %d\n"
#: src/gfx_curses.c:66
#, c-format
msgid "Score: %d (+%d)\n"
msgstr "Puntuación: %d (+%d)\n"

33
po/es_AR/gfx_terminal.po Normal file
View File

@ -0,0 +1,33 @@
# Spanish translations for PACKAGE package.
# Copyright (C) 2018 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Matias <matiasezequielbian@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-26 19:02-0300\n"
"PO-Revision-Date: 2018-04-26 19:03-0300\n"
"Last-Translator: Matias <matiasezequielbian@gmail.com>\n"
"Language-Team: Spanish\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/gfx_terminal.c:46
#, c-format
msgid " Hi: %ld\n"
msgstr "Puntuación Máxima: %ld\n"
#: src/gfx_terminal.c:44
#, c-format
msgid "Score: %ld\n"
msgstr "Puntuación: %ld\n"
#: src/gfx_terminal.c:42
#, c-format
msgid "Score: %ld (+%ld)\n"
msgstr "Puntuación: %ld (+%ld)\n"

56
po/es_AR/highscore.po Normal file
View File

@ -0,0 +1,56 @@
# Spanish translations for PACKAGE package.
# Copyright (C) 2018 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Matias <matiasezequielbian@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-17 18:12-0300\n"
"PO-Revision-Date: 2018-05-17 18:19-0300\n"
"Last-Translator: Matias <matiasezequielbian@gmail.com>\n"
"Language-Team: Argentinian <translation-es-AR@lists.sourceforge.net>\n"
"Language: es_AR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/highscore.c:58
#, c-format
msgid "Are you sure you want to reset your scores? Y(es) or N(o)\n"
msgstr "¿Estás seguro que quieres reiniciar tus puntuaciones? (S)i o (N)o\n"
#: src/highscore.c:76
#, c-format
msgid "Please enter Yes or No\n"
msgstr "Por favor ingresa Si o No\n"
#: src/highscore.c:95
#, c-format
msgid "load: Failed to open highscore file\n"
msgstr "Carga: Error al abrir el archivo de puntuaciones máximas\n"
#: src/highscore.c:100
#, c-format
msgid "load: Failed to parse highscore file\n"
msgstr "Carga: Error al parsear el archivo de puntuaciones máximas\n"
#: src/highscore.c:122
#, c-format
msgid "save: Failed to open highscore file\n"
msgstr "Guardado: Error al abrir el archivo de puntuaciones máximas\n"
#: src/highscore.c:127
#, c-format
msgid "save: Failed to write highscore file\n"
msgstr "Guardado: Error al escribir el archivo de puntuaciones máximas\n"
#: src/highscore.c:71
msgid "y"
msgstr "s"
#: src/highscore.c:71
msgid "yes"
msgstr "si"

33
po/gfx_curses.pot Normal file
View File

@ -0,0 +1,33 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 2048 v1.0.1\n"
"Report-Msgid-Bugs-To: matiasezequielbian@gmail.com\n"
"POT-Creation-Date: 2018-04-26 18:58-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <matiasezequielbian@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/gfx_curses.c:70
#, c-format
msgid " Hi: %d\n"
msgstr ""
#: src/gfx_curses.c:68
#, c-format
msgid "Score: %d\n"
msgstr ""
#: src/gfx_curses.c:66
#, c-format
msgid "Score: %d (+%d)\n"
msgstr ""

33
po/gfx_terminal.pot Normal file
View File

@ -0,0 +1,33 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-26 19:02-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/gfx_terminal.c:46
#, c-format
msgid " Hi: %ld\n"
msgstr ""
#: src/gfx_terminal.c:44
#, c-format
msgid "Score: %ld\n"
msgstr ""
#: src/gfx_terminal.c:42
#, c-format
msgid "Score: %ld (+%ld)\n"
msgstr ""

56
po/highscore.pot Normal file
View File

@ -0,0 +1,56 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-17 18:12-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/highscore.c:58
#, c-format
msgid "Are you sure you want to reset your scores? Y(es) or N(o)\n"
msgstr ""
#: src/highscore.c:76
#, c-format
msgid "Please enter Yes or No\n"
msgstr ""
#: src/highscore.c:95
#, c-format
msgid "load: Failed to open highscore file\n"
msgstr ""
#: src/highscore.c:100
#, c-format
msgid "load: Failed to parse highscore file\n"
msgstr ""
#: src/highscore.c:122
#, c-format
msgid "save: Failed to open highscore file\n"
msgstr ""
#: src/highscore.c:127
#, c-format
msgid "save: Failed to write highscore file\n"
msgstr ""
#: src/highscore.c:71
msgid "y"
msgstr ""
#: src/highscore.c:71
msgid "yes"
msgstr ""

View File

@ -5,6 +5,7 @@
#include "gfx.h"
#include <libintl.h>
#include <locale.h>
#include <string.h>
void draw_then_sleep(struct gfx_state *s, struct gamestate *g)
{
@ -15,9 +16,9 @@ void draw_then_sleep(struct gfx_state *s, struct gamestate *g)
int main(int argc, char **argv)
{
setlocale (LC_ALL, "");
bindtextdomain ("gfx_terminal", "/usr/share/locale/");
textdomain ("gfx_terminal");
setlocale (LC_ALL, "");
bindtextdomain ("gfx_terminal", strcat(getenv("PWD"),"/18n/"));
textdomain ("gfx_terminal");
struct gamestate *g = gamestate_init(argc, argv);
if (!g) {

View File