[apps/code] Translate the variable box

This commit is contained in:
Léa Saviot
2020-04-22 15:31:24 +02:00
committed by Émilie Feral
parent 0f2ac5b110
commit dd6c2a4f54
10 changed files with 39 additions and 20 deletions

View File

@@ -130,8 +130,8 @@ void VariableBoxController::willDisplayCellForIndex(HighlightCell * cell, int in
}
assert(cellType == k_subtitleCellType);
I18n::Message subtitleMessages[k_scriptOriginsCount] = {
I18n::Message::CurrentScript,
I18n::Message::BuiltinFunctionsAndKeyWords,
I18n::Message::ScriptInProgress,
I18n::Message::BuiltinsAndKeywords,
I18n::Message::ImportedModulesAndScripts
};
static_cast<MessageTableCell *>(cell)->setMessage(subtitleMessages[(int)cellOrigin]);