Commit 5d2d6057 authored by digitalLumberjack's avatar digitalLumberjack

corrected favorite start, with font awesome

parent 9a54da6e
......@@ -66,7 +66,7 @@ void BasicGameListView::populateList(const std::vector<FileData*>& files)
{
if ((*it)->metadata.get("favorite").compare("yes") == 0)
{
mList.add(" " + (*it)->getName(), *it, ((*it)->getType() == FOLDER)); // FIXME Folder as favorite ?
mList.add("\uF006 " + (*it)->getName(), *it, ((*it)->getType() == FOLDER)); // FIXME Folder as favorite ?
}
}
}
......@@ -138,6 +138,7 @@ std::vector<HelpPrompt> BasicGameListView::getHelpPrompts()
prompts.push_back(HelpPrompt("up/down", "choose"));
prompts.push_back(HelpPrompt("a", "launch"));
prompts.push_back(HelpPrompt("b", "back"));
prompts.push_back(HelpPrompt("y", "favorite"));
prompts.push_back(HelpPrompt("select", "options"));
return prompts;
}
......@@ -330,10 +330,7 @@ std::vector<HelpPrompt> DetailedGameListView::getHelpPrompts()
prompts.push_back(HelpPrompt("up/down", "choose"));
prompts.push_back(HelpPrompt("a", "launch"));
prompts.push_back(HelpPrompt("b", "back"));
if (mSystem->getHasFavorites())
{
prompts.push_back(HelpPrompt("y", "toggle favorite"));
}
prompts.push_back(HelpPrompt("y", "favorite"));
prompts.push_back(HelpPrompt("select", "options"));
return prompts;
}
......
......@@ -384,7 +384,8 @@ std::vector<std::string> getFallbackFontPaths()
// TODO
const char* paths[] = {
"/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf" // japanese, chinese, present on Debian
"/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf",// japanese, chinese, present on Debian
"/usr/share/fonts/truetype/fontawesome-webfont.ttf"
};
std::vector<std::string> fontPaths;
......
......@@ -403,8 +403,6 @@ msgstr " PASSÉS."
msgid "FAVORITES ONLY"
msgstr "FAVORIS SEULEMENT"
msgid "toggle favorite"
msgstr "switcher favoris"
msgid "favorite"
msgstr "favoris"
......
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