From 6f10aef419be921bd0f386a2cc20acfb42d4ac39 Mon Sep 17 00:00:00 2001 From: khangon Date: Wed, 28 Jun 2023 00:43:22 +0700 Subject: [PATCH 1/2] feature-8832: Add option "Not sure yet" to attendee Form Yes/No questions --- app/components/forms/orders/order-form.js | 2 ++ .../components/forms/orders/attendee-list.hbs | 2 +- .../components/forms/orders/order-form.hbs | 11 ++++------- app/utils/dictionary/boolean_complex.ts | 16 ++++++++++++++++ translations/bn.po | 7 +++++++ translations/de.po | 7 +++++++ translations/de_DIVEO.po | 12 ++++++++++++ translations/en.po | 7 +++++++ translations/es.po | 4 ++++ translations/fr.po | 4 ++++ translations/hi.po | 6 ++++++ translations/id.po | 4 ++++ translations/ja.po | 4 ++++ translations/ko.po | 4 ++++ translations/messages.pot | 6 ++++++ translations/nb_NO.po | 6 ++++++ translations/pl.po | 6 ++++++ translations/ru.po | 4 ++++ translations/sv.po | 6 ++++++ translations/th.po | 4 ++++ translations/vi.po | 4 ++++ translations/zh_Hans.po | 14 ++++++++------ translations/zh_Hant.po | 4 ++++ 23 files changed, 130 insertions(+), 14 deletions(-) create mode 100644 app/utils/dictionary/boolean_complex.ts diff --git a/app/components/forms/orders/order-form.js b/app/components/forms/orders/order-form.js index 4282d3eee71..d875f980cfe 100644 --- a/app/components/forms/orders/order-form.js +++ b/app/components/forms/orders/order-form.js @@ -16,6 +16,7 @@ import { countries } from 'open-event-frontend/utils/dictionary/demography'; import { years } from 'open-event-frontend/utils/dictionary/year-list'; import { languageForms } from 'open-event-frontend/utils/dictionary/language-form'; import { homeWikis } from 'open-event-frontend/utils/dictionary/home-wikis'; +import { booleanComplex } from 'open-event-frontend/utils/dictionary/boolean_complex'; export default Component.extend(FormMixin, { router : service(), @@ -662,6 +663,7 @@ export default Component.extend(FormMixin, { years : orderBy(years, 'year'), languageForms : orderBy(languageForms, 'name'), homeWikis : orderBy(homeWikis, 'item'), + booleanComplex: orderBy(booleanComplex, 'position'), actions: { submit(data) { diff --git a/app/templates/components/forms/orders/attendee-list.hbs b/app/templates/components/forms/orders/attendee-list.hbs index 47c9b15dbb3..f56ceb51999 100644 --- a/app/templates/components/forms/orders/attendee-list.hbs +++ b/app/templates/components/forms/orders/attendee-list.hbs @@ -69,7 +69,7 @@ {{/if}} {{/if}} {{#if field.isComplex}} - {{get holder.complexFieldValues field.fieldIdentifier}} + {{t (get holder.complexFieldValues field.fieldIdentifier)}} {{/if}} {{/if}} diff --git a/app/templates/components/forms/orders/order-form.hbs b/app/templates/components/forms/orders/order-form.hbs index 799829d9648..40a04c7c177 100644 --- a/app/templates/components/forms/orders/order-form.hbs +++ b/app/templates/components/forms/orders/order-form.hbs @@ -86,17 +86,14 @@ @name={{if field.isRequired (concat field.fieldIdentifier "_required_" index) (concat field.fieldIdentifier "_" index)}} /> {{/if}} {{#if (eq field.type 'boolean')}} + {{#each this.booleanComplex as |item|}}
- -
-
- - + @value={{item.name}} @checked={{mut (get holder field.identifierPath)}}/> +
+ {{/each}} {{/if}} {{#if (or (is-input-field field.type) (eq field.type 'richtextlink'))}} {{#if (or field.isLongText (eq field.type 'richtextlink')) }} diff --git a/app/utils/dictionary/boolean_complex.ts b/app/utils/dictionary/boolean_complex.ts new file mode 100644 index 00000000000..5e3ef963b30 --- /dev/null +++ b/app/utils/dictionary/boolean_complex.ts @@ -0,0 +1,16 @@ +import { tn } from '../text'; + +export const booleanComplex = [ + { + name : tn.t('Yes'), + position : 1 + }, + { + name : tn.t('No'), + position : 2 + }, + { + name : tn.t('Not sure yet'), + position : 3 + } +]; diff --git a/translations/bn.po b/translations/bn.po index 50ebdc92633..7d970b3be0b 100644 --- a/translations/bn.po +++ b/translations/bn.po @@ -7034,6 +7034,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7041,6 +7042,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -11663,6 +11665,7 @@ msgstr "ফেরত নীতির সম্মতি" msgid "I agree to the terms of the refund policy of the event." msgstr "আমি ইভেন্টের রিফান্ড নীতির শর্তাবলীতে সম্মত।" + #: app/components/forms/wizard/custom-forms/table.hbs:56:25 msgid "I agree to the terms of the" msgstr "আমি শর্তাবলী সম্মত" @@ -11682,3 +11685,7 @@ msgstr "বন্ধুত্বপূর্ণ মহাকাশ নীতি" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "সম্মতি ফর্ম ক্ষেত্র" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "এখনো নিশ্চিত না" diff --git a/translations/de.po b/translations/de.po index 2f2f64df536..3aa3873f0da 100644 --- a/translations/de.po +++ b/translations/de.po @@ -7044,6 +7044,7 @@ msgstr "Ticket herunterladen" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "Ja" @@ -7051,6 +7052,7 @@ msgstr "Ja" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "Nein" @@ -11678,6 +11680,7 @@ msgstr "Zustimmung zur Rückerstattungsrichtlinie" msgid "I agree to the terms of the refund policy of the event." msgstr "Ich stimme den Bedingungen der Rückerstattungsrichtlinie der Veranstaltung zu." + #: app/components/forms/wizard/custom-forms/table.hbs:56:25 msgid "I agree to the terms of the" msgstr "Ich stimme den Bedingungen zu" @@ -11697,3 +11700,7 @@ msgstr "Freundliche Weltraumpolitik" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "Feld „Einwilligungsformular“." + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Noch nicht sicher" diff --git a/translations/de_DIVEO.po b/translations/de_DIVEO.po index 8809d8ffd49..9ce8ff645bf 100644 --- a/translations/de_DIVEO.po +++ b/translations/de_DIVEO.po @@ -7035,6 +7035,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7042,6 +7043,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -11659,6 +11661,12 @@ msgstr "" msgid "Are you fluent in any other of the following languages?" msgstr "" +msgid "Consent of refund policy" +msgstr "" + +msgid "I agree to the terms of the refund policy of the event." +msgstr "" + #: app/components/forms/wizard/custom-forms/table.hbs:56:25 msgid "I agree to the terms of the" msgstr "" @@ -11678,3 +11686,7 @@ msgstr "" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "" diff --git a/translations/en.po b/translations/en.po index 2ccbad1d417..dd45e1534c8 100644 --- a/translations/en.po +++ b/translations/en.po @@ -7040,6 +7040,7 @@ msgstr "Download Ticket" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "Yes" @@ -7047,6 +7048,7 @@ msgstr "Yes" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "No" @@ -11673,6 +11675,7 @@ msgstr "Consent of refund policy" msgid "I agree to the terms of the refund policy of the event." msgstr "I agree to the terms of the refund policy of the event." + #: app/components/forms/wizard/custom-forms/table.hbs:56:25 msgid "I agree to the terms of the" msgstr "I agree to the terms of the" @@ -11692,3 +11695,7 @@ msgstr "Friendly Space Policy" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "Consent form field" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Not sure yet" diff --git a/translations/es.po b/translations/es.po index 6c325598fbd..6db3fff6cc3 100644 --- a/translations/es.po +++ b/translations/es.po @@ -12041,3 +12041,7 @@ msgstr "Política de espacios amigables" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "campo del formulario de consentimiento" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "No estoy seguro todavía" diff --git a/translations/fr.po b/translations/fr.po index 21e6f354c1c..54ad03a1b06 100644 --- a/translations/fr.po +++ b/translations/fr.po @@ -12328,3 +12328,7 @@ msgstr "Politique de l'Espace Convivial" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "Champ du formulaire de consentement" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Pas encore sûr" diff --git a/translations/hi.po b/translations/hi.po index 86aac1df437..eb173beb352 100644 --- a/translations/hi.po +++ b/translations/hi.po @@ -7036,6 +7036,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7043,6 +7044,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -11685,3 +11687,7 @@ msgstr "अनुकूल अंतरिक्ष नीति" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "सहमति प्रपत्र फ़ील्ड" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "अभी तक यकीन नहीं" diff --git a/translations/id.po b/translations/id.po index f5a48cd0915..7fbffe70965 100644 --- a/translations/id.po +++ b/translations/id.po @@ -12001,3 +12001,7 @@ msgstr "Kebijakan Ruang Ramah" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "Bidang formulir persetujuan" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Belum yakin" diff --git a/translations/ja.po b/translations/ja.po index 4d82757d9c1..b7abb759a64 100644 --- a/translations/ja.po +++ b/translations/ja.po @@ -11845,3 +11845,7 @@ msgstr "フレンドリースペースポリシー" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "同意フォーム欄" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "まだ分​​からない" diff --git a/translations/ko.po b/translations/ko.po index 2e15e045052..88099b9ecb3 100644 --- a/translations/ko.po +++ b/translations/ko.po @@ -11780,3 +11780,7 @@ msgstr "친근한 공간정책" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "동의 양식 필드" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "아직 확실하지 않음" diff --git a/translations/messages.pot b/translations/messages.pot index 7ce0ac1df2f..55ba16c81d0 100644 --- a/translations/messages.pot +++ b/translations/messages.pot @@ -7035,6 +7035,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7042,6 +7043,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -11684,3 +11686,7 @@ msgstr "" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "" diff --git a/translations/nb_NO.po b/translations/nb_NO.po index b4d195d4af2..06411f22f1f 100644 --- a/translations/nb_NO.po +++ b/translations/nb_NO.po @@ -7037,6 +7037,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7044,6 +7045,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -11686,3 +11688,7 @@ msgstr "" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "" diff --git a/translations/pl.po b/translations/pl.po index 1123be91782..1549b08d778 100644 --- a/translations/pl.po +++ b/translations/pl.po @@ -7033,6 +7033,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7040,6 +7041,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -11682,3 +11684,7 @@ msgstr "Polityka Przyjaznej Przestrzeni" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "Pole formularza zgody" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Nie wiem jeszcze" diff --git a/translations/ru.po b/translations/ru.po index f995c5cbccd..210284c4256 100644 --- a/translations/ru.po +++ b/translations/ru.po @@ -12026,3 +12026,7 @@ msgstr "Дружественная космическая политика" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "Поле формы согласия" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Пока не уверен" diff --git a/translations/sv.po b/translations/sv.po index ce9cb3d3b1f..34b754e4875 100644 --- a/translations/sv.po +++ b/translations/sv.po @@ -7038,6 +7038,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7045,6 +7046,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -11687,3 +11689,7 @@ msgstr "Friendly Space Policy" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "Fält för samtyckesformulär" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Inte säker än" diff --git a/translations/th.po b/translations/th.po index c60a7588403..389cc4e8f19 100644 --- a/translations/th.po +++ b/translations/th.po @@ -11881,3 +11881,7 @@ msgstr "นโยบายอวกาศที่เป็นมิตร" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "ฟิลด์แบบฟอร์มยินยอม" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "ยังไม่แน่ใจ" diff --git a/translations/vi.po b/translations/vi.po index 174d67967c3..bfcbb9b6080 100644 --- a/translations/vi.po +++ b/translations/vi.po @@ -11983,3 +11983,7 @@ msgstr "Chính sách không gian thân thiện" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "trường biểu mẫu đồng ý" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "Chưa chắc chắn" diff --git a/translations/zh_Hans.po b/translations/zh_Hans.po index fa5c1bc95a2..253b584cf2b 100644 --- a/translations/zh_Hans.po +++ b/translations/zh_Hans.po @@ -7041,6 +7041,7 @@ msgstr "" #: app/templates/components/modals/edit-user-modal.hbs:11:40 #: app/templates/components/modals/publish-unpublish-modal.hbs:31:4 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4 +#: app/utils/dictionary/boolean-complex.ts:5:15 msgid "Yes" msgstr "" @@ -7048,6 +7049,7 @@ msgstr "" #: app/templates/components/modals/confirm-modal.hbs:32:75 #: app/templates/components/modals/edit-user-modal.hbs:10:40 #: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4 +#: app/utils/dictionary/boolean-complex.ts:9:15 msgid "No" msgstr "" @@ -9230,8 +9232,7 @@ msgstr "虚拟活动室" #: app/templates/events/view/videoroom/list.hbs:27:7 msgid "This category is especially suitable for welcome, support, discussion or social video rooms. Virtual event video rooms do not require dedicated sessions and do not need a schedule setup." -msgstr "此类别特别适用于欢迎、支持、讨论或社交视频室。虚拟活动视频室不需要专门的会话" -",也不需要设置时间表。" +msgstr "此类别特别适用于欢迎、支持、讨论或社交视频室。虚拟活动视频室不需要专门的会话,也不需要设置时间表。" #: app/templates/events/view/videoroom/list.hbs:40:29 msgid "Microlocation Video Rooms" @@ -9243,10 +9244,7 @@ msgstr "添加微分配" #: app/templates/events/view/videoroom/list.hbs:47:11 msgid "Microlocation video rooms are suitable for events with different tracks, rooms and sessions that are listed in a schedule. All microlocations are listed on the event schedule. Note: Microlocation rooms require a session in order to be visible to attendees.They are only listed on the video channel list on side panels of online events, if sessions have been added into the location in the schedule." -msgstr "" -"微定位视频室适用于日程表中列出的具有不同轨道、房间和会话的活动。所有微地点都" -"列在活动时间表上。注意:微定位房间需要会话才能对与会者可见。如果会话已添加到" -"日程中的位置,则它们仅列在在线活动侧面板的视频频道列表中。" +msgstr "微定位视频室适用于日程表中列出的具有不同轨道、房间和会话的活动。所有微地点都列在活动时间表上。注意:微定位房间需要会话才能对与会者可见。如果会话已添加到日程中的位置,则它们仅列在在线活动侧面板的视频频道列表中。" #: app/templates/explore/events.hbs:12:25 msgid "Enter Event Name" @@ -11694,3 +11692,7 @@ msgstr "友好空间政策" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "同意书字段" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "尚未确定" diff --git a/translations/zh_Hant.po b/translations/zh_Hant.po index d07c3db74dd..83bf6b10565 100644 --- a/translations/zh_Hant.po +++ b/translations/zh_Hant.po @@ -11746,3 +11746,7 @@ msgstr "友好空間政策" #: app/models/custom-form.js:113:28 msgid "Consent form field" msgstr "同意書字段" + +#: app/utils/dictionary/boolean-complex.ts:13:15 +msgid "Not sure yet" +msgstr "尚未確定" From e9f99548ee564fcb91f14d2474dfebca27cdd6ec Mon Sep 17 00:00:00 2001 From: khangon Date: Wed, 28 Jun 2023 09:06:58 +0700 Subject: [PATCH 2/2] feature-8832: Add option "Not sure yet" to attendee Form Yes/No questions format code --- app/components/forms/orders/order-form.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/components/forms/orders/order-form.js b/app/components/forms/orders/order-form.js index d875f980cfe..323231f3aba 100644 --- a/app/components/forms/orders/order-form.js +++ b/app/components/forms/orders/order-form.js @@ -657,13 +657,13 @@ export default Component.extend(FormMixin, { return groupBy(requiredFixed.concat(customFields), field => field.get('form')); }), - genders : orderBy(genders, 'name'), - ageGroups : orderBy(ageGroups, 'position'), - countries : orderBy(countries, 'name'), - years : orderBy(years, 'year'), - languageForms : orderBy(languageForms, 'name'), - homeWikis : orderBy(homeWikis, 'item'), - booleanComplex: orderBy(booleanComplex, 'position'), + genders : orderBy(genders, 'name'), + ageGroups : orderBy(ageGroups, 'position'), + countries : orderBy(countries, 'name'), + years : orderBy(years, 'year'), + languageForms : orderBy(languageForms, 'name'), + homeWikis : orderBy(homeWikis, 'item'), + booleanComplex : orderBy(booleanComplex, 'position'), actions: { submit(data) {