R/pq_lang.R

Defines functions pq_strings

pq_strings = function(lang = "en") {
  if (lang == "de"){
    list(Answer = "Antwort",answers="Antworten", your_ranking="Ihr Ranking",proposed_answers="Vorgeschlagene Antworten:",not_yet_ranked="Noch keine Antwort auf Platz 1 gerankt.", task="Aufgabe:", submitBtn="Ranking absenden" )
  } else {
    list(Answer = "Answer",answers="answers", your_ranking="Your Ranking", proposed_answers="Proposed Answers",not_yet_ranked="No answer yet ranked on position 1.", task="Task:",submitBtn="Submit your ranking")

  }
}
skranz/peerquiz documentation built on June 11, 2017, 5:23 p.m.