Question: refactor free software options

This commit is contained in:
TEC 2022-10-16 20:36:43 +08:00
parent b4f041b743
commit ad5cf89d8d
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 10 additions and 5 deletions

View File

@ -319,11 +319,16 @@ the questions you see now will not necessarily be in the final survey.",
SurveyPart("Other software usage",
RadioSelect(:free_software_zeal,
"How strongly do the ideals of free/libre software affect your computer use?",
["I have a clear preference for free/libre software and am willing to accept <em>any</em> lack of features or UI polish",
"I have a clear preference for free/libre software and am willing to accept a <em>significant</em> lack of features or UI polish",
"I have a clear preference for free/libre software and am willing to accept a <em>limited</em> lack of features or UI polish",
"I have a clear preference for free/libre software but am <em>not</em> willing to accept a lack of features or UI polish",
"I have no preference for free/libre software"])),
replace.(["%p %f and am %w *any* %l",
"%p %f and am %w a *significant* %l",
"%p %f and am %w a *limited* %l",
"%p %f but am *not* %w a %l",
"I have no preference for %f"],
"%p" => "I have a clear preference for",
"%f" => "free/libre software",
"%w" => "willing to accept",
"%l" => "lack of features or UI polish",
r"\*(.*?)\*" => s"<em style=\"color: var(--primary-hover);\">\1</em>"))),
SurveyPart("Survey bookkeeping",
RadioSelect(:survey_prior,
"Did you respond to the 2020 Emacs survey?",