mirror of
https://github.com/gristlabs/grist-core.git
synced 2025-06-06 17:04:04 +00:00
(core) Removing translation from reported answeres on welcome screen
Summary: Questions were saved as localized values. Now they are saved in English using resource keys. Test Plan: Manual Reviewers: georgegevoian Reviewed By: georgegevoian Subscribers: georgegevoian Differential Revision: https://phab.getgrist.com/D3845
This commit is contained in:
parent
68c354de67
commit
8cb928e83d
@ -27,9 +27,9 @@ export function showWelcomeQuestions(userPrefsObs: Observable<UserPrefs>) {
|
|||||||
const showQuestions = getUserPrefObs(userPrefsObs, 'showNewUserQuestions');
|
const showQuestions = getUserPrefObs(userPrefsObs, 'showNewUserQuestions');
|
||||||
|
|
||||||
async function onConfirm() {
|
async function onConfirm() {
|
||||||
const selected = choices.filter((c, i) => selection[i].get()).map(c => t(c.textKey));
|
const selected = choices.filter((c, i) => selection[i].get()).map(c => c.textKey);
|
||||||
const use_cases = ['L', ...selected]; // Format to populate a ChoiceList column
|
const use_cases = ['L', ...selected]; // Format to populate a ChoiceList column
|
||||||
const use_other = selected.includes(t("Other")) ? otherText.get() : '';
|
const use_other = selected.includes("Other") ? otherText.get() : '';
|
||||||
|
|
||||||
const submitUrl = new URL(window.location.href);
|
const submitUrl = new URL(window.location.href);
|
||||||
submitUrl.pathname = '/welcome/info';
|
submitUrl.pathname = '/welcome/info';
|
||||||
|
Loading…
Reference in New Issue
Block a user