Added missing names, added usernames, closes #89

This commit is contained in:
M4x1m3
2019-12-27 19:44:48 +01:00
parent b7fe5b51c8
commit 765e648d2b
6 changed files with 27 additions and 6 deletions

View File

@@ -28,7 +28,19 @@ int ContributorsController::reusableCellCount(int type) {
return k_totalNumberOfCell;
}
constexpr static I18n::Message s_contributorsUsernames[7] = {
I18n::Message::PQuentinGuidee,
I18n::Message::PDannySimmons,
I18n::Message::PJoachimLeFournis,
I18n::Message::PJeanBaptisteBoric,
I18n::Message::PMaximeFriess,
I18n::Message::PDavid,
I18n::Message::PDamienNicolet
};
void ContributorsController::willDisplayCellForIndex(HighlightCell * cell, int index) {
MessageTableCellWithBuffer * myTextCell = (MessageTableCellWithBuffer *)cell;
myTextCell->setAccessoryText(I18n::translate(s_contributorsUsernames[index]));
GenericSubController::willDisplayCellForIndex(cell, index);
}