Skip to content

Commit 0bcc432

Browse files
khangoncweitat
andauthored
fix-8914: Update spelling and translations of attendee form (#8932)
* fix-8914: Update spelling and translations of attendee form * fix-8914: Update spelling and translations of attendee form format code * fix-8914: Update spelling and translations of attendee form translate for text Code of conduct consent * fix-8914 correct translation with ticket * fix-8914 add translate for new country * fix-8914 add translate for new country * fix-8914 add translate for new country * fix-8914 translate mulple language * Update table.hbs * Update order-form.hbs --------- Co-authored-by: cweitat <[email protected]>
1 parent c8bef1f commit 0bcc432

File tree

28 files changed

+790
-98
lines changed

28 files changed

+790
-98
lines changed

app/components/forms/orders/order-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ export default Component.extend(FormMixin, {
460460
rules: [
461461
{
462462
type : 'empty',
463-
prompt : this.l10n.t('Please enter Consent form field.')
463+
prompt : this.l10n.t('Please enter Code of conduct consent.')
464464
}
465465
]
466466
};

app/components/forms/wizard/custom-forms/table.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<a href="https://foundation.wikimedia.org/wiki/Policy:Universal_Code_of_Conduct">{{t 'Universal Code of Conduct'}} </a>
8080
<span> {{t 'and the'}} </span>
8181
<a href="https://foundation.wikimedia.org/wiki/Policy:Friendly_space_policy">{{t 'Friendly Space Policy'}}</a>
82-
<span> .</span>
82+
<span>.</span>
8383
{{else}}
8484
{{t-var field.name}}
8585
{{/if}}

app/components/public/ticket-list.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export default Component.extend(FormMixin, {
4545
accessCodeTickets : A(),
4646
discountedTickets : A(),
4747

48-
invalidPromotionalAccessCode: false,
49-
invalidPromotionalDiscountCode: false,
48+
invalidPromotionalAccessCode : false,
49+
invalidPromotionalDiscountCode : false,
5050

5151
tickets: computed('orderAmount', function() {
5252
const ticketMap = {};

app/mixins/custom-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ export default Mixin.create(MutableArray, {
673673
event : parent
674674
}),
675675
this.store.createRecord('custom-form', {
676-
name : 'Consent form field',
676+
name : 'Code of conduct consent',
677677
fieldIdentifier : 'is_consent_form_field',
678678
formID : _formID,
679679
form : 'attendee',

app/models/custom-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default ModelBase.extend({
108108
acceptVideoRecording : tn.t('Photo & video & text consent'),
109109
acceptShareDetails : tn.t('Partner contact consent'),
110110
acceptReceiveEmails : tn.t('Email consent'),
111-
is_consent_form_field : tn.t('Consent form field'),
111+
is_consent_form_field : tn.t('Code of conduct consent'),
112112
is_consent_form_field_photo : tn.t('Wikimania photo consent'),
113113
is_consent_form_field_email : tn.t('Wikimania email updates'),
114114
isConsentOfRefundPolicy : tn.t('Consent of refund policy'),

app/templates/components/forms/orders/order-form.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,15 @@
224224
<a href="https://foundation.wikimedia.org/wiki/Policy:Universal_Code_of_Conduct">{{t 'Universal Code of Conduct'}}</a>
225225
<span> {{t 'and the'}} </span>
226226
<a href="https://foundation.wikimedia.org/wiki/Policy:Friendly_space_policy">{{t 'Friendly Space Policy'}}</a>
227-
<span> .</span>
227+
<span>.</span>
228228
{{else if (eq field.fieldIdentifier 'is_consent_form_field_photo')}}
229229
<UiCheckbox
230230
@checked={{get holder field.identifierPath}}
231231
@name={{if field.isRequired (concat field.fieldIdentifier "_required_" index) (concat field.fieldIdentifier "_" index)}}
232232
@onChange={{action (mut (get holder field.identifierPath))}} />
233233
<span>{{t 'I consent to the Wikimania'}} </span>
234234
<a href="https://wikimania.wikimedia.org/wiki/2023:Photography_policy">{{t 'photo policy'}}</a>
235-
<span> .</span>
235+
<span>.</span>
236236
{{else if (eq field.fieldIdentifier 'is_consent_form_field_email')}}
237237
<UiCheckbox
238238
@checked={{get holder field.identifierPath}}

app/templates/components/widgets/forms/ui-checkbox-group.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@type={{this.type}}
1111
@onChange={{action 'childOnChange'}}
1212
@checked={{op.checked}}/>
13-
{{op.label}}
13+
{{t op.label}}
1414
</div>
1515
{{/each}}
1616
</div>

translations/ar.po

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12129,8 +12129,8 @@ msgid "Friendly Space Policy"
1212912129
msgstr "سياسة المساحة الودية"
1213012130

1213112131
#: app/models/custom-form.js:113:28
12132-
msgid "Consent form field"
12133-
msgstr "حقل نموذج الموافقة"
12132+
msgid "Code of conduct consent"
12133+
msgstr "الموافقة على مدونة قواعد السلوك"
1213412134

1213512135
#: app/utils/dictionary/age-groups.ts:5:9
1213612136
msgid "Under 18"
@@ -12203,3 +12203,55 @@ msgstr "ما هي لغتك الأم ، أو ما هي اللغة التي تتق
1220312203
#: app/models/custom-form.js:111:27
1220412204
msgid "Are you fluent in any other of the following languages?"
1220512205
msgstr "هل تتقن أي لغة أخرى من اللغات التالية؟"
12206+
12207+
#: app/models/custom-form.js:106:27
12208+
msgid "Which of these categories describe your gender identity? (check all that apply)"
12209+
msgstr "أي من الفئات التالية يصف هويتك الجنسية على أفضل نحو؟ (اختر كل ما ينطبق)"
12210+
12211+
#: app/utils/dictionary/genders.ts:5:12
12212+
msgid "Man"
12213+
msgstr "رجل"
12214+
12215+
#: app/utils/dictionary/genders.ts:8:12
12216+
msgid "Woman"
12217+
msgstr "امرأة"
12218+
12219+
#: app/utils/dictionary/genders.ts:11:12
12220+
msgid "Transgender"
12221+
msgstr "المتحولين جنسيا"
12222+
12223+
#: app/utils/dictionary/genders.ts:14:12
12224+
msgid "Non-binary"
12225+
msgstr "غير ثنائي"
12226+
12227+
#: app/utils/dictionary/genders.ts:17:12
12228+
msgid "Genderqueer"
12229+
msgstr "الجنس"
12230+
12231+
#: app/utils/dictionary/genders.ts:20:12
12232+
msgid "An identity not listed here"
12233+
msgstr "هوية غير مدرجة هنا"
12234+
12235+
#: app/utils/dictionary/genders.ts:23:12
12236+
msgid "I prefer not to say"
12237+
msgstr "أنا أفضل ألا أقول"
12238+
12239+
#: app/templates/components/forms/orders/order-form.hbs:251:26
12240+
msgid "I consent to the Wikimania"
12241+
msgstr "أوافق على ويكيمانيا"
12242+
12243+
#: app/templates/components/forms/orders/order-form.hbs:252:91
12244+
msgid "photo policy"
12245+
msgstr "سياسة الصور"
12246+
12247+
#: app/models/custom-form.js:116:36
12248+
msgid "Wikimania photo consent"
12249+
msgstr "ويكيمانيا الموافقة على الصورة"
12250+
12251+
#: app/models/custom-form.js:117:36
12252+
msgid "Wikimania email updates"
12253+
msgstr "تحديثات البريد الإلكتروني Wikimania"
12254+
12255+
#: app/templates/components/forms/orders/order-form.hbs:259:26
12256+
msgid "I want to receive email updates about future Wikimania editions."
12257+
msgstr "أرغب في تلقي تحديثات عبر البريد الإلكتروني حول إصدارات Wikimania المستقبلية."

translations/bn.po

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11684,8 +11684,8 @@ msgid "Friendly Space Policy"
1168411684
msgstr "বন্ধুত্বপূর্ণ মহাকাশ নীতি"
1168511685

1168611686
#: app/models/custom-form.js:113:28
11687-
msgid "Consent form field"
11688-
msgstr "সম্মতি ফর্ম ক্ষেত্র"
11687+
msgid "Code of conduct consent"
11688+
msgstr "আচরণবিধি সম্মতি"
1168911689

1169011690
#: app/utils/dictionary/boolean-complex.ts:13:15
1169111691
msgid "Not sure yet"
@@ -11724,13 +11724,45 @@ msgid "Wikimania email updates"
1172411724
msgstr "উইকিমেনিয়া ইমেল আপডেট"
1172511725

1172611726
#: app/templates/components/forms/orders/order-form.hbs:251:26
11727-
msgid "I consent to having my photo taken at Wikimania per the"
11728-
msgstr "আমি প্রতি উইকিম্যানিয়াতে আমার ছবি তোলার বিষয়ে সম্মতি দিচ্ছি"
11727+
msgid "I consent to the Wikimania"
11728+
msgstr "আমি উইকিম্যানিয়াতে সম্মতি জানাই"
1172911729

1173011730
#: app/templates/components/forms/orders/order-form.hbs:252:91
1173111731
msgid "photo policy"
1173211732
msgstr "ছবির নীতি"
1173311733

1173411734
#: app/templates/components/forms/orders/order-form.hbs:259:26
1173511735
msgid "I want to receive email updates about future Wikimania editions."
11736-
msgstr "আমি ভবিষ্যতের উইকিম্যানিয়া সংস্করণ সম্পর্কে ইমেল আপডেট পেতে চাই"
11736+
msgstr "আমি ভবিষ্যতের উইকিম্যানিয়া সংস্করণ সম্পর্কে ইমেল আপডেট পেতে চাই."
11737+
11738+
#: app/models/custom-form.js:106:27
11739+
msgid "Which of these categories describe your gender identity? (check all that apply)"
11740+
msgstr "আপনার লিঙ্গ পরিচয় কোন কোন বিভাগের বর্ণনা করে? (যা যা প্রযোজ্য, সেগুলি চেক করুন)"
11741+
11742+
#: app/utils/dictionary/genders.ts:5:12
11743+
msgid "Man"
11744+
msgstr "পুরুষ"
11745+
11746+
#: app/utils/dictionary/genders.ts:8:12
11747+
msgid "Woman"
11748+
msgstr "নারী"
11749+
11750+
#: app/utils/dictionary/genders.ts:11:12
11751+
msgid "Transgender"
11752+
msgstr "ট্রান্সজেন্ডার"
11753+
11754+
#: app/utils/dictionary/genders.ts:14:12
11755+
msgid "Non-binary"
11756+
msgstr "নন-বাইনারি"
11757+
11758+
#: app/utils/dictionary/genders.ts:17:12
11759+
msgid "Genderqueer"
11760+
msgstr "জেন্ডারকুইর"
11761+
11762+
#: app/utils/dictionary/genders.ts:20:12
11763+
msgid "An identity not listed here"
11764+
msgstr "এখানে তালিকাভুক্ত না এমন একটি পরিচয়"
11765+
11766+
#: app/utils/dictionary/genders.ts:23:12
11767+
msgid "I prefer not to say"
11768+
msgstr "আমি বলতে পছন্দ করি না"

translations/ca.po

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11929,7 +11929,7 @@ msgid "Friendly Space Policy"
1192911929
msgstr ""
1193011930

1193111931
#: app/models/custom-form.js:113:28
11932-
msgid "Consent form field"
11932+
msgid "Code of conduct consent"
1193311933
msgstr ""
1193411934

1193511935
#: app/utils/dictionary/boolean-complex.ts:13:15
@@ -11969,7 +11969,7 @@ msgid "Wikimania email updates"
1196911969
msgstr ""
1197011970

1197111971
#: app/templates/components/forms/orders/order-form.hbs:251:26
11972-
msgid "I consent to having my photo taken at Wikimania per the"
11972+
msgid "I consent to the Wikimania"
1197311973
msgstr ""
1197411974

1197511975
#: app/templates/components/forms/orders/order-form.hbs:252:91
@@ -11979,3 +11979,35 @@ msgstr ""
1197911979
#: app/templates/components/forms/orders/order-form.hbs:259:26
1198011980
msgid "I want to receive email updates about future Wikimania editions."
1198111981
msgstr ""
11982+
11983+
#: app/models/custom-form.js:106:27
11984+
msgid "Which of these categories describe your gender identity? (check all that apply)"
11985+
msgstr ""
11986+
11987+
#: app/utils/dictionary/genders.ts:5:12
11988+
msgid "Man"
11989+
msgstr ""
11990+
11991+
#: app/utils/dictionary/genders.ts:8:12
11992+
msgid "Woman"
11993+
msgstr ""
11994+
11995+
#: app/utils/dictionary/genders.ts:11:12
11996+
msgid "Transgender"
11997+
msgstr ""
11998+
11999+
#: app/utils/dictionary/genders.ts:14:12
12000+
msgid "Non-binary"
12001+
msgstr ""
12002+
12003+
#: app/utils/dictionary/genders.ts:17:12
12004+
msgid "Genderqueer"
12005+
msgstr ""
12006+
12007+
#: app/utils/dictionary/genders.ts:20:12
12008+
msgid "An identity not listed here"
12009+
msgstr ""
12010+
12011+
#: app/utils/dictionary/genders.ts:23:12
12012+
msgid "I prefer not to say"
12013+
msgstr ""

0 commit comments

Comments
 (0)