|
From: Yoda-JM <yo...@us...> - 2010-01-08 20:09:20
|
Module: performous
Branch: master
Commit: e453f8fa468dc7e9d57e5a0d19d4a4a7ebc82e4c
Author: Vincent Le Ligeour <yo...@us...>
Date: Fri Jan 8 21:09:03 2010 +0100
Updated translation
---
game/screen_players.cc | 3 +-
lang/es.po | 8 +--
lang/fi.po | 8 +--
lang/fr.po | 131 ++++++++++++++++++++++++++++++++---------------
lang/it.po | 8 +--
lang/performous.pot | 6 +--
6 files changed, 98 insertions(+), 66 deletions(-)
diff --git a/game/screen_players.cc b/game/screen_players.cc
index 80bb318..961fe77 100644
--- a/game/screen_players.cc
+++ b/game/screen_players.cc
@@ -13,6 +13,7 @@
#include <iostream>
#include <sstream>
+#include <boost/format.hpp>
ScreenPlayers::ScreenPlayers(std::string const& name, Audio& audio, Database& database):
Screen(name), m_audio(audio), m_database(database), m_players(database.m_players), m_covers(20)
@@ -116,7 +117,7 @@ void ScreenPlayers::draw() {
// Format the player information text
oss_song << m_database.scores.front().track << '\n';
// TODO: use boost::format
- oss_song << _("You reached") << ' ' << m_database.scores.front().score << ' ' << _("points!");
+ oss_song << boost::format(_("You reached %1 points!")) % m_database.scores.front().score;
oss_order << _("Change player with arrow keys.") << '\n'
<< _("Name:") << ' ' << m_players.current().name << '\n';
//m_database.queryPerPlayerHiscore(oss_order);
diff --git a/lang/es.po b/lang/es.po
index cf6a472..2baf863 100644
--- a/lang/es.po
+++ b/lang/es.po
@@ -82,12 +82,8 @@ msgid "Press enter to create player!"
msgstr "Presiona \"enter\" para crear el nuevo jugador:"
#: ../game/screen_players.cc:119
-msgid "You reached"
-msgstr "¡Has conseguido"
-
-#: ../game/screen_players.cc:119
-msgid "points!"
-msgstr "puntos!"
+msgid "You reached %1 points!"
+msgstr "¡Has conseguido %1 puntos!"
#: ../game/screen_players.cc:120
msgid "Change player with arrow keys."
diff --git a/lang/fi.po b/lang/fi.po
index 0fd65c0..15496ea 100644
--- a/lang/fi.po
+++ b/lang/fi.po
@@ -126,12 +126,8 @@ msgid "Press enter to create player!"
msgstr "Paina Enter luodaksesi pelaajan!"
#: ../game/screen_players.cc:121
-msgid "You reached"
-msgstr "Sait"
-
-#: ../game/screen_players.cc:121
-msgid "points!"
-msgstr "pistettä!"
+msgid "You reached %1 points!"
+msgstr "Sait %1 pistettä!"
#: ../game/screen_players.cc:122
msgid "Change player with arrow keys."
diff --git a/lang/fr.po b/lang/fr.po
index f548570..17f4d92 100644
--- a/lang/fr.po
+++ b/lang/fr.po
@@ -17,47 +17,47 @@ msgstr ""
msgid "Hiscore for "
msgstr "Records pour "
-#: ../game/screen_intro.cc:9 ../game/screen_intro.cc:10
+#: ../game/screen_intro.cc:10
msgid "Perform"
msgstr "Jouer"
-#: ../game/screen_intro.cc:9 ../game/screen_intro.cc:10
+#: ../game/screen_intro.cc:10
msgid "Start performing!"
msgstr "Commencer une partie!"
-#: ../game/screen_intro.cc:10 ../game/screen_intro.cc:11
+#: ../game/screen_intro.cc:11
msgid "Practice"
msgstr "S'exercer"
-#: ../game/screen_intro.cc:10 ../game/screen_intro.cc:11
+#: ../game/screen_intro.cc:11
msgid "Check your skills or test the microphones"
msgstr "Chauffer votre voix et tester les micros"
-#: ../game/screen_intro.cc:11 ../game/screen_intro.cc:12
+#: ../game/screen_intro.cc:12
msgid "Configure"
msgstr "Options"
-#: ../game/screen_intro.cc:11 ../game/screen_intro.cc:12
+#: ../game/screen_intro.cc:12
msgid "Configure game options"
msgstr "Configurer les options de jeu"
-#: ../game/screen_intro.cc:12 ../game/screen_intro.cc:13
+#: ../game/screen_intro.cc:13
msgid "Quit"
msgstr "Quitter"
-#: ../game/screen_intro.cc:12 ../game/screen_intro.cc:13
+#: ../game/screen_intro.cc:13
msgid "Leave the game"
msgstr "Sortir du jeu"
-#: ../game/screen_intro.cc:19 ../game/screen_intro.cc:21
+#: ../game/screen_intro.cc:21
msgid "No playback devices could be used.\n"
msgstr "Aucun périférique audio de sortie n'est utilisable.\n"
-#: ../game/screen_intro.cc:20 ../game/screen_intro.cc:22
+#: ../game/screen_intro.cc:22
msgid "No microphones found.\n"
msgstr "Aucun micro n'a été trouvé.\n"
-#: ../game/screen_intro.cc:21 ../game/screen_intro.cc:23
+#: ../game/screen_intro.cc:23
msgid ""
"\n"
"Please configure some before playing."
@@ -65,23 +65,95 @@ msgstr ""
"\n"
"Veuillez en configurer certains avant de jouer."
-#: ../game/screen_players.cc:110 ../game/screen_players.cc:111
+#: ../game/screen_players.cc:109
msgid "No players found!"
msgstr "Aucun joueur n'a été trouvé!"
-#: ../game/screen_players.cc:111 ../game/screen_players.cc:112
+#: ../game/screen_players.cc:110
msgid "Enter a name to create a new player."
msgstr "Entrez un nom pour créer un nouveau joueur."
-#: ../game/screen_players.cc:113 ../game/screen_players.cc:114
+#: ../game/screen_players.cc:112
msgid "Press enter to create player!"
msgstr "Pressez Entrer pour créer un nouveau joueur!"
-#: ../game/screen_songs.cc:209 ../game/screen_songs.cc:178
+#: ../game/screen_players.cc:119
+msgid "You reached %1 points!"
+msgstr "%1 points marqués!"
+
+#: ../game/screen_players.cc:120
+msgid "Change player with arrow keys."
+msgstr "Changez de joueur avec les flèches"
+
+#: ../game/screen_players.cc:121
+msgid "Name:"
+msgstr "Nom:"
+
+#: ../game/screen_players.cc:124
+msgid "Type text to filter or create a new player."
+msgstr "Entrez un nom pour créer un nouveau joueur."
+
+#: ../game/screen_players.cc:124
+msgid "Search Text:"
+msgstr "Recherche:"
+
+#: ../game/screen_sing.cc:338
+msgid " ENTER to skip instrumental break"
+msgstr " \"Entrée\" to passer l'instrumental"
+
+#: ../game/screen_sing.cc:339
+msgid " Remember to wait for grading!"
+msgstr " N'oubliez pas d'attendre pour votre classement!"
+
+#: ../game/screen_sing.cc:427
+msgid "No player!"
+msgstr "Aucun joueur n'a été trouvé!"
+
+#: ../game/screen_sing.cc:436
+msgid "Hit singer"
+msgstr "Superstar"
+
+#: ../game/screen_sing.cc:437
+msgid "Lead singer"
+msgstr "Soliste"
+
+#: ../game/screen_sing.cc:438
+msgid "Rising star"
+msgstr "Etoile montante"
+
+#: ../game/screen_sing.cc:439
+msgid "Amateur"
+msgstr "Amateur"
+
+#: ../game/screen_sing.cc:440
+msgid "Tone deaf"
+msgstr "Casserole"
+
+#: ../game/screen_sing.cc:442
+msgid "Maniac"
+msgstr "Maniac"
+
+#: ../game/screen_sing.cc:443
+msgid "Hoofer"
+msgstr "Claquettiste"
+
+#: ../game/screen_sing.cc:446
+msgid "Loser"
+msgstr "Perdant"
+
+#: ../game/screen_sing.cc:448
+msgid "Virtuoso"
+msgstr "Virtuose"
+
+#: ../game/screen_sing.cc:449
+msgid "Rocker"
+msgstr "Rockeur"
+
+#: ../game/screen_songs.cc:178
msgid "No songs found!"
msgstr "Aucun morceau trouvé!"
-#: ../game/screen_songs.cc:210 ../game/screen_songs.cc:179
+#: ../game/screen_songs.cc:179
msgid ""
"Visit performous.org\n"
"for free songs"
@@ -89,7 +161,7 @@ msgstr ""
"Visitez performous.org\n"
"pour des morceaux gratuits"
-#: ../game/screen_songs.cc:212 ../game/screen_songs.cc:181
+#: ../game/screen_songs.cc:181
msgid "no songs match search"
msgstr "aucun morceau ne satisfait la recherche"
@@ -101,31 +173,6 @@ msgstr "filtre: "
msgid "none"
msgstr "aucun"
-#: ../game/screen_players.cc:121
-msgid "You reached"
-msgstr ""
-
-#: ../game/screen_players.cc:121
-msgid "points!"
-msgstr "points!"
-
-#: ../game/screen_players.cc:122
-msgid "Change player with arrow keys."
-msgstr "Changez de joueur avec les flèches"
-
-#: ../game/screen_players.cc:123
-msgid "Name:"
-msgstr "Nom:"
-
-#: ../game/screen_players.cc:126
-#, fuzzy
-msgid "Type text to filter or create a new player."
-msgstr "Entrez un nom pour créer un nouveau joueur."
-
-#: ../game/screen_players.cc:126
-msgid "Search Text:"
-msgstr "Recherche:"
-
#: ../game/songs.cc:204
msgid "random order"
msgstr "ordre aléatoire"
diff --git a/lang/it.po b/lang/it.po
index 3766754..677e765 100644
--- a/lang/it.po
+++ b/lang/it.po
@@ -78,12 +78,8 @@ msgid "Press enter to create player!"
msgstr "Premi invio per creare il giocatore!"
#: ../game/screen_players.cc:119
-msgid "You reached"
-msgstr "Hai fatto"
-
-#: ../game/screen_players.cc:119
-msgid "points!"
-msgstr "punti!"
+msgid "You reached %1 points!"
+msgstr "Hai fatto %1 punti!"
#: ../game/screen_players.cc:120
msgid "Change player with arrow keys."
diff --git a/lang/performous.pot b/lang/performous.pot
index b843632..41da930 100644
--- a/lang/performous.pot
+++ b/lang/performous.pot
@@ -79,11 +79,7 @@ msgid "Press enter to create player!"
msgstr ""
#: ../game/screen_players.cc:119
-msgid "You reached"
-msgstr ""
-
-#: ../game/screen_players.cc:119
-msgid "points!"
+msgid "You reached %1 points!"
msgstr ""
#: ../game/screen_players.cc:120
|