Commit b912be43 authored by digitalLumberjack's avatar digitalLumberjack

added missing translations

parent 6f70fb56
......@@ -9,6 +9,7 @@
#include "components/ScraperSearchComponent.h"
#include "components/MenuComponent.h" // for makeButtonGrid
#include "guis/GuiMsgBox.h"
#include <boost/locale.hpp>
using namespace Eigen;
......@@ -101,7 +102,7 @@ void GuiScraperMulti::doNextSearch()
// update subtitle
ss.str(""); // clear
ss << "GAME " << (mCurrentGame + 1) << " OF " << mTotalGames << " - " << strToUpper(mSearchQueue.front().game->getPath().filename().string());
ss << gettext("GAME") << " " << (mCurrentGame + 1) << gettext(" OF ") << mTotalGames << " - " << strToUpper(mSearchQueue.front().game->getPath().filename().string());
mSubtitle->setText(ss.str());
mSearchComp->search(mSearchQueue.front());
......@@ -133,12 +134,12 @@ void GuiScraperMulti::finish()
std::stringstream ss;
if(mTotalSuccessful == 0)
{
ss << "NO GAMES WERE SCRAPED.";
ss << gettext("NO GAMES WERE SCRAPED.");
}else{
ss << mTotalSuccessful << " GAME" << ((mTotalSuccessful > 1) ? "S" : "") << " SUCCESSFULLY SCRAPED!";
ss << mTotalSuccessful << " " << gettext("GAME") << ((mTotalSuccessful > 1) ? gettext("S") : "") << gettext(" SUCCESSFULLY SCRAPED!");
if(mTotalSkipped > 0)
ss << "\n" << mTotalSkipped << " GAME" << ((mTotalSkipped > 1) ? "S" : "") << " SKIPPED.";
ss << "\n" << mTotalSkipped << " " << gettext("GAME") << ((mTotalSkipped > 1) ? gettext("S") : "") << gettext(" SKIPPED.");
}
mWindow->pushGui(new GuiMsgBox(mWindow, ss.str(),
......
......@@ -9,6 +9,8 @@
#include "components/MenuComponent.h"
#include <sstream>
#include "Log.h"
#include <boost/locale.hpp>
//Used to display a list of options.
//Can select one or multiple options.
......@@ -292,7 +294,7 @@ private:
{
// display # selected
std::stringstream ss;
ss << getSelectedObjects().size() << " SELECTED";
ss << getSelectedObjects().size() << gettext(" SELECTED");
mText.setText(ss.str());
mText.setSize(0, mText.getSize().y());
setSize(mText.getSize().x() + mRightArrow.getSize().x() + 24, mText.getSize().y());
......
......@@ -357,3 +357,44 @@ msgid "MOVE CURSOR"
msgstr "BOUGER LE CURSEUR"
msgid "DISCARD CHANGES"
msgstr "ANNULER MODIFICATIONS"
# MISSING SCRAPPER TRANSLATIONS
msgid "Only missing image"
msgstr "Seulement images manquantes"
msgid "All Games"
msgstr "Tous les jeux"
msgid "accept"
msgstr "ACCEPTER"
msgid " SELECTED"
msgstr " SÉLECTIONNÉS"
msgid "accept result"
msgstr "accepter"
msgid "stop (progress saved)"
msgstr "stop (progrès sauvegardé)"
msgid "search"
msgstr "rechercher"
msgid "GAME"
msgstr "JEU"
# PLURAL FOR GAME(S)
msgid "S"
msgstr "X"
msgid " OF "
msgstr " SUR "
msgid "NO GAMES WERE SCRAPED."
msgstr "AUCUN JEU SCRAPPÉ"
msgid " SUCCESSFULLY SCRAPED!"
msgstr " SCRAPPÉS !"
msgid " SKIPPED."
msgstr " PASSÉS."
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment