|
From: Stefano A. <xa...@us...> - 2009-12-22 18:19:25
|
Module: performous
Branch: master
Commit: d5c0df2f19449eae91eadfe217aa2a4fe996cd1f
Author: Xaldyz <xa...@us...>
Date: Tue Dec 22 19:19:04 2009 +0100
Added Cmake script to lang folder
Added italian language support
Added gettext model
---
lang/CMakeLists.txt | 8 ++++
lang/it.po | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++
lang/performous.pot | 90 ++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 193 insertions(+), 0 deletions(-)
diff --git a/lang/CMakeLists.txt b/lang/CMakeLists.txt
new file mode 100644
index 0000000..5dcecef
--- /dev/null
+++ b/lang/CMakeLists.txt
@@ -0,0 +1,8 @@
+cmake_minimum_required(VERSION 2.6)
+file(GLOB LANGUAGES *.po)
+foreach(language ${LANGUAGES})
+ string(REGEX REPLACE "(.+(\\\\|/))+" "" language ${language})
+ string(REGEX REPLACE "\\.po$" "" language ${language})
+ execute_process(COMMAND ${MSGFMT} ${CMAKE_CURRENT_SOURCE_DIR}/${language}.po -o ${CMAKE_CURRENT_BINARY_DIR}/${language}.mo)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${language}.mo DESTINATION ${LOCALE_DIR}/${language}/LC_MESSAGES/${CMAKE_PROJECT_NAME}.mo)
+endforeach(language)
\ No newline at end of file
diff --git a/lang/it.po b/lang/it.po
new file mode 100644
index 0000000..c7783da
--- /dev/null
+++ b/lang/it.po
@@ -0,0 +1,95 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Performous\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-12-07 01:56+0100\n"
+"PO-Revision-Date: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-KeywordsList: _\n"
+"X-Poedit-Basepath: .\n"
+"Last-Translator: Xaldyz <xa...@us...>\n"
+"X-Poedit-SearchPath-0: ../game\n"
+
+#: ../game/screen_hiscore.cc:104
+msgid "Hiscore for "
+msgstr "Punteggi per "
+
+#: ../game/screen_intro.cc:9
+msgid "Perform"
+msgstr "Perform"
+
+#: ../game/screen_intro.cc:9
+msgid "Start performing!"
+msgstr "Start perform! (Comincia a cantare)"
+
+#: ../game/screen_intro.cc:10
+msgid "Practice"
+msgstr "Pratica"
+
+#: ../game/screen_intro.cc:10
+msgid "Check your skills or test the microphones"
+msgstr "Controlla la tua bravura! / Test microfono"
+
+#: ../game/screen_intro.cc:11
+msgid "Configure"
+msgstr "Configura"
+
+#: ../game/screen_intro.cc:11
+msgid "Configure game options"
+msgstr "Opzioni di configurazione gioco"
+
+#: ../game/screen_intro.cc:12
+msgid "Quit"
+msgstr "Esci"
+
+#: ../game/screen_intro.cc:12
+msgid "Leave the game"
+msgstr "Lascia il gioco"
+
+#: ../game/screen_intro.cc:19
+msgid "No playback devices could be used.\n"
+msgstr "Nessun dispositivo di riproduzione può essere usato.\n"
+
+#: ../game/screen_intro.cc:20
+msgid "No microphones found.\n"
+msgstr "Nessun microfono trovato.\n"
+
+#: ../game/screen_intro.cc:21
+msgid ""
+"\n"
+"Please configure some before playing."
+msgstr ""
+"\n"
+"Per favore entra in configurazione prima di giocare"
+
+#: ../game/screen_players.cc:110
+msgid "No players found!"
+msgstr "Nessun giocatore trovato!"
+
+#: ../game/screen_players.cc:111
+msgid "Enter a name to create a new player."
+msgstr "Inserisci un nome per creare un nuovo giocatore."
+
+#: ../game/screen_players.cc:113
+msgid "Press enter to create player!"
+msgstr "Premi invio per creare il giocatore!"
+
+#: ../game/screen_songs.cc:209
+msgid "No songs found!"
+msgstr "Nessuna canzone trovata!"
+
+#: ../game/screen_songs.cc:210
+msgid ""
+"Visit performous.org\n"
+"for free songs"
+msgstr ""
+"Visita performous.org\n"
+"per canzoni gratis"
+
+#: ../game/screen_songs.cc:212
+msgid "no songs match search"
+msgstr "nessuna canzone trovata"
+
diff --git a/lang/performous.pot b/lang/performous.pot
new file mode 100644
index 0000000..8a48f37
--- /dev/null
+++ b/lang/performous.pot
@@ -0,0 +1,90 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Performous\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-12-07 01:56+0100\n"
+"PO-Revision-Date: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-KeywordsList: _\n"
+"X-Poedit-Basepath: .\n"
+"X-Poedit-SearchPath-0: ../game\n"
+
+#: ../game/screen_hiscore.cc:104
+msgid "Hiscore for "
+msgstr ""
+
+#: ../game/screen_intro.cc:9
+msgid "Perform"
+msgstr ""
+
+#: ../game/screen_intro.cc:9
+msgid "Start performing!"
+msgstr ""
+
+#: ../game/screen_intro.cc:10
+msgid "Practice"
+msgstr ""
+
+#: ../game/screen_intro.cc:10
+msgid "Check your skills or test the microphones"
+msgstr ""
+
+#: ../game/screen_intro.cc:11
+msgid "Configure"
+msgstr ""
+
+#: ../game/screen_intro.cc:11
+msgid "Configure game options"
+msgstr ""
+
+#: ../game/screen_intro.cc:12
+msgid "Quit"
+msgstr ""
+
+#: ../game/screen_intro.cc:12
+msgid "Leave the game"
+msgstr ""
+
+#: ../game/screen_intro.cc:19
+msgid "No playback devices could be used.\n"
+msgstr ""
+
+#: ../game/screen_intro.cc:20
+msgid "No microphones found.\n"
+msgstr ""
+
+#: ../game/screen_intro.cc:21
+msgid ""
+"\n"
+"Please configure some before playing."
+msgstr ""
+
+#: ../game/screen_players.cc:110
+msgid "No players found!"
+msgstr ""
+
+#: ../game/screen_players.cc:111
+msgid "Enter a name to create a new player."
+msgstr ""
+
+#: ../game/screen_players.cc:113
+msgid "Press enter to create player!"
+msgstr ""
+
+#: ../game/screen_songs.cc:209
+msgid "No songs found!"
+msgstr ""
+
+#: ../game/screen_songs.cc:210
+msgid ""
+"Visit performous.org\n"
+"for free songs"
+msgstr ""
+
+#: ../game/screen_songs.cc:212
+msgid "no songs match search"
+msgstr ""
+
|