cedric pushed a commit to branch master.
commit 40a4c4598c5714472d0f366a4e1936dc17a5ddd9
Author: Jean Guyomarc'h <[email protected]>
Date: Wed Aug 28 11:07:24 2013 +0900
elemines: add gettext support for several parts.
---
po/POTFILES.in | 3 +++
po/elemines.pot | 39 ++++++++++++++++++++++++++++++++-------
po/eo.po | 40 +++++++++++++++++++++++++++++++++-------
po/fr.po | 39 ++++++++++++++++++++++++++++++++-------
po/gl.po | 40 +++++++++++++++++++++++++++++++++-------
po/it.po | 40 +++++++++++++++++++++++++++++++++-------
po/ko.po | 40 +++++++++++++++++++++++++++++++++-------
po/pl.po | 40 +++++++++++++++++++++++++++++++++-------
po/pt_PT.po | 40 +++++++++++++++++++++++++++++++++-------
po/ru.po | 40 +++++++++++++++++++++++++++++++++-------
po/sr.po | 40 +++++++++++++++++++++++++++++++++-------
src/elemines.h | 4 ++--
src/game.c | 5 +++--
13 files changed, 336 insertions(+), 74 deletions(-)
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b7bcc4c..042a31e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1 +1,4 @@
src/gui.c
+src/game.c
+src/elemines.h
+src/main.c
diff --git a/po/elemines.pot b/po/elemines.pot
index 7e51c90..dff74f4 100644
--- a/po/elemines.pot
+++ b/po/elemines.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -21,7 +21,7 @@ msgstr ""
msgid "High Scores"
msgstr ""
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr ""
@@ -42,7 +42,7 @@ msgstr ""
msgid "OK"
msgstr ""
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr ""
@@ -53,18 +53,43 @@ msgid ""
"<br>http://www.wesnoth.org/<br>"
msgstr ""
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr ""
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr ""
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr ""
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr ""
+
+#: src/game.c:144
+#, c-format
+msgid "Score: %d"
+msgstr ""
+
+#: src/game.c:151
+msgid "High Score!!"
+msgstr ""
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/eo.po b/po/eo.po
index a8d5127..bafe881 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-01-20 13:52+0000\n"
"Last-Translator: Eliovir <[email protected]>\n"
"Language-Team: Esperanto <[email protected]>\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Grandaj poentaroj"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Agordoj"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "Bone"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "Pri"
@@ -57,18 +57,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Bildoj modifitaj el Battle For Wesnoth:"
"<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Aktualigi"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Paŭzigi"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Poentaroj"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Eliri"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "Poentaroj"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "Grandaj poentaroj"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 1c45791..fdefc67 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-04-07 20:31+0000\n"
"Last-Translator: Jerome Pinot <[email protected]>\n"
"Language-Team: French\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Meilleurs Scores"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Configuration"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "OK"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "À propos"
@@ -57,18 +57,43 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Certaines images sont dérivées du projet "
"Battle For Wesnoth :<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Rafraîchir"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Pause"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Scores"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Quitter"
+
+#: src/game.c:144
+#, c-format
+msgid "Score: %d"
+msgstr "Score : %d"
+
+#: src/game.c:151
+msgid "High Score!!"
+msgstr "Meilleur score !!"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr "Gagné !"
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr "Standard"
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr "Personnalisé"
+
+#: src/main.c:222
+msgid "Level"
+msgstr "Niveau"
diff --git a/po/gl.po b/po/gl.po
index ef52a50..8287cf9 100644
--- a/po/gl.po
+++ b/po/gl.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-01-20 15:03+0100\n"
"Last-Translator: Aníbal Garrido Hermo <[email protected]>\n"
"Language-Team: Galician <[email protected]>\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Mellores puntuacións"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Configuración"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "Aceptar"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "Acerca de"
@@ -57,18 +57,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Imaxes derivadas de \"Battle For Wesnoth\":"
"<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Anovar"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Pausa"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Puntuacións"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Saír"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "Puntuacións"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "Mellores puntuacións"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/it.po b/po/it.po
index 6cf47c6..16b95ad 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-01-20 10:47+0100\n"
"Last-Translator: Massimo Maiurana <[email protected]>\n"
"Language-Team: Italiano\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Classifica"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Configurazione"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "OK"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "Informazioni"
@@ -57,18 +57,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Immagini provenienti da \"Battle For Wesnoth\":"
"<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Aggiorna"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Pausa"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Punteggi"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Esci"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "Punteggi"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "Classifica"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/ko.po b/po/ko.po
index 600917e..f5ca643 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-01-24 16:20+0900\n"
"Last-Translator: Park Eunri <[email protected]>\n"
"Language-Team: Korean\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "최고 기록"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "설정"
@@ -43,7 +43,7 @@ msgstr ""
msgid "OK"
msgstr "확인"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "정보"
@@ -56,18 +56,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>이미지는 Battle For Wesnoth에서 가져옴:"
"<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "다시 시작"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "일시중지"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "기록"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "닫기"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "기록"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "최고 기록"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/pl.po b/po/pl.po
index f127932..43fa800 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-03-21 09:15+0100\n"
"Last-Translator: Konrad Makowski <[email protected]>\n"
"Language-Team: Polish <[email protected]>\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Najlepsze wyniki"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Kofiguracja"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "OK"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "Informacje"
@@ -57,18 +57,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Obrazki dostarczone przez Battle For \n"
"Wesnoth:<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Odśwież"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Wstrzymaj"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Wyniki"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Wyjdź"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "Wyniki"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "Najlepsze wyniki"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/pt_PT.po b/po/pt_PT.po
index 935a72b..a79cf18 100644
--- a/po/pt_PT.po
+++ b/po/pt_PT.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-04-30 12:55-0000\n"
"Last-Translator: Sérgio Marques <[email protected]>\n"
"Language-Team: \n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Recordes"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Definições"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "Aceitar"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "Sobre"
@@ -57,18 +57,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Imagens derivadas de Battle For Wesnoth:"
"<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Atualizar"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Pausa"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Resultados"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Sair"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "Resultados"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "Recordes"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/ru.po b/po/ru.po
index f37be6d..042d4c4 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-02-01 02:00+0400\n"
"Last-Translator: Igor Murzov <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Лучшие результаты"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Настройка"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "OK"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "О программе"
@@ -57,18 +57,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Изображения взяты из Battle For Wesnoth:"
"<br>http://www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Обновить"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Пауза"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Результаты"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Выход"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "Результаты"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "Лучшие результаты"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/po/sr.po b/po/sr.po
index 90f2c55..28bdfc8 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: elemines 0.2.3\n"
"Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2013-03-24 14:48+0900\n"
+"POT-Creation-Date: 2013-08-14 12:30+0200\n"
"PO-Revision-Date: 2013-04-20 18:07+0000\n"
"Last-Translator: Саша Петровић <[email protected]>\n"
"Language-Team: Serbian <[email protected]>\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "High Scores"
msgstr "Најрезултати"
-#: src/gui.c:96 src/gui.c:363
+#: src/gui.c:96 src/gui.c:372
msgid "Configuration"
msgstr "Поставке"
@@ -44,7 +44,7 @@ msgstr ""
msgid "OK"
msgstr "У реду"
-#: src/gui.c:146 src/gui.c:366
+#: src/gui.c:146 src/gui.c:375
msgid "About"
msgstr "О програму"
@@ -57,18 +57,44 @@ msgstr ""
"<b>%s %s</b><br><br>%s<br><br>Слике су порклом из Боја за Веснот:<br>http://"
"www.wesnoth.org/<br>"
-#: src/gui.c:361
+#: src/gui.c:370
msgid "Refresh"
msgstr "Освежи"
-#: src/gui.c:362
+#: src/gui.c:371
msgid "Pause"
msgstr "Предах"
-#: src/gui.c:365
+#: src/gui.c:374
msgid "Scores"
msgstr "Достигнућа"
-#: src/gui.c:367
+#: src/gui.c:376
msgid "Quit"
msgstr "Напусти"
+
+#: src/game.c:144
+#, fuzzy, c-format
+msgid "Score: %d"
+msgstr "Достигнућа"
+
+#: src/game.c:151
+#, fuzzy
+msgid "High Score!!"
+msgstr "Најрезултати"
+
+#: src/game.c:159
+msgid "You win!"
+msgstr ""
+
+#: src/elemines.h:56
+msgid "Standard"
+msgstr ""
+
+#: src/elemines.h:57
+msgid "Custom"
+msgstr ""
+
+#: src/main.c:222
+msgid "Level"
+msgstr ""
diff --git a/src/elemines.h b/src/elemines.h
index 7595e65..91cb85e 100644
--- a/src/elemines.h
+++ b/src/elemines.h
@@ -53,8 +53,8 @@
#define COPYRIGHT "Copyright © 2012-2013 Jérôme Pinot <[email protected]> and
various contributors (see AUTHORS)."
-#define STANDARD "Standard"
-#define CUSTOM "Custom"
+#define STANDARD _("Standard")
+#define CUSTOM _("Custom")
typedef struct _Elemines_Cell Elemines_Cell;
typedef struct _Elemines_Walker Elemines_Walker;
diff --git a/src/game.c b/src/game.c
index 4fa6ac2..fa525f1 100644
--- a/src/game.c
+++ b/src/game.c
@@ -141,14 +141,14 @@ _finish(const char *target, Eina_Bool win)
edje_object_signal_emit(edje, "congrat", "");
score = _scoring();
- snprintf(str, sizeof(str), "Score: %d", score);
+ snprintf(str, sizeof(str), _("Score: %d"), score);
elm_object_part_text_set(game.ui.table, "congrat:score", str);
if (score >=
etrophy_gamescore_level_hi_score_get(game.trophy.gamescore,
game.trophy.game_type))
{
elm_object_part_text_set(game.ui.table, "congrat:best score",
- "High Score!!");
+ _("High Score!!"));
}
else
{
@@ -156,6 +156,7 @@ _finish(const char *target, Eina_Bool win)
}
elm_object_signal_emit(game.ui.table, "congrat:you win", "");
+ elm_object_part_text_set(game.ui.table, "congrat:you win", _("You
win!"));
}
if (game.clock.etimer)
--
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk