Skip to content

Commit 06a9a00

Browse files
Hieu Lam - TMAntthitrinh
andauthored
feature-8884:Form answers are in English instead of the local languag… (#8978)
* feature-8884:Form answers are in English instead of the local language on the overview page * feature-8884:Form answers are in English instead of the local language on the overview page --------- Co-authored-by: ntthitrinh <[email protected]> Co-authored-by: ntthitrinh <[email protected]>
1 parent 8a25220 commit 06a9a00

File tree

6 files changed

+36
-16
lines changed

6 files changed

+36
-16
lines changed

app/templates/components/forms/orders/attendee-list.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@
4848
{{#if (is-url-field field.fieldIdentifier)}}
4949
<a href="{{get holder field.identifierPath}}">{{get holder field.identifierPath}}</a>
5050
{{else}}
51-
<span class="word-break">{{get holder field.identifierPath}}</span>
51+
<span class="word-break">{{t (get holder field.identifierPath) }}</span>
5252
{{/if}}
5353
{{else}}
5454
<Input type="text" placeholder={{t-var field.name}} @value={{get holder field.identifierPath}}/>
5555
{{/if}}
5656
{{else if (eq field.type 'paragraph')}}
5757
<span class="line-break">{{get holder field.identifierPath}}</span>
5858
{{else if (eq field.type 'select')}}
59-
<span class="word-break">{{get holder field.identifierPath}}</span>
59+
<span class="word-break">{{t (get holder field.identifierPath)}}</span>
6060
{{else if (eq field.type 'checkbox')}}
6161
{{#if (or (eq field.fieldIdentifier "native_language") (eq field.fieldIdentifier "fluent_language") (eq field.fieldIdentifier "language_form_1") (eq field.fieldIdentifier "language_form_2") (eq field.fieldIdentifier "gender"))}}
62-
<span class="word-break">{{get holder (concat field.fieldIdentifier '_name_mapping')}}</span>
62+
<span class="word-break">{{t (get holder (concat field.fieldIdentifier '_name_mapping'))}}</span>
6363
{{else}}
6464
<span class="word-break">
6565
{{#if (get holder field.identifierPath)}}
@@ -71,7 +71,7 @@
7171
{{/if}}
7272
{{else}}
7373
{{#if (not field.isComplex)}}
74-
<span class="word-break">{{sanitize (get holder field.identifierPath)}}</span>
74+
<span class="word-break">{{ sanitize (get holder field.identifierPath)}}</span>
7575
{{else}}
7676
<span class="word-break">{{t (get holder field.identifierPath)}}</span>
7777
{{/if}}

translations/ar.po

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12286,3 +12286,23 @@ msgstr "تحديثات البريد الإلكتروني Wikimania"
1228612286
#: app/templates/components/forms/orders/order-form.hbs:259:26
1228712287
msgid "I want to receive email updates about future Wikimania editions."
1228812288
msgstr "أرغب في تلقي تحديثات عبر البريد الإلكتروني حول إصدارات Wikimania المستقبلية."
12289+
12290+
#: app/components/forms/orders/order-form.js:256:19
12291+
msgid "Please enter your wiki scholarship."
12292+
msgstr "الرجاء إدخال منحة ويكي الخاصة بك."
12293+
12294+
#: app/models/custom-form.js:115:30
12295+
msgid "Have you received a Wikimania scholarship?"
12296+
msgstr "هل حصلت على منحة ويكيمانيا؟"
12297+
12298+
#: app/utils/dictionary/wiki-scholarship.ts:5:10
12299+
msgid "No, I haven't"
12300+
msgstr "لا ، لم أفعل"
12301+
12302+
#: app/utils/dictionary/wiki-scholarship.ts:9:10
12303+
msgid "Yes, from the Wikimedia Foundation"
12304+
msgstr "نعم ، من مؤسسة ويكيميديا"
12305+
12306+
#: app/utils/dictionary/wiki-scholarship.ts:13:10
12307+
msgid "Yes, from a Wikimedia affiliate"
12308+
msgstr "نعم ، من شركة تابعة لويكيميديا"

translations/bn.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2192,7 +2192,7 @@ msgstr ""
21922192
msgid "Facebook"
21932193
msgstr "ফেসবুক"
21942194

2195-
#: app/components/public/session-item.hbs:131:113
2195+
#: app/components/public/session-item.hbs:131:119
21962196
#: app/models/custom-form.js:100:27
21972197
msgid "LinkedIn"
21982198
msgstr ""
@@ -2933,7 +2933,7 @@ msgstr ""
29332933
#: app/templates/components/public/exhibition-view.hbs:65:132
29342934
#: app/templates/components/public/exhibition-view.hbs:68:136
29352935
msgid "Email"
2936-
msgstr ""
2936+
msgstr "ইমেইল"
29372937

29382938
#: app/controllers/admin/users/list.js:49:26
29392939
#: app/routes/admin/permissions/system-roles.js:9:11
@@ -3647,7 +3647,7 @@ msgstr ""
36473647

36483648
#: app/models/custom-form.js:104:27
36493649
msgid "Photo & video & text consent"
3650-
msgstr ""
3650+
msgstr "ফটো এবং ভিডিও এবং পাঠ্য সম্মতি"
36513651

36523652
#: app/models/custom-form.js:105:27
36533653
msgid "Partner contact consent"
@@ -7042,15 +7042,15 @@ msgstr ""
70427042
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4
70437043
#: app/utils/dictionary/boolean-complex.ts:5:15
70447044
msgid "Yes"
7045-
msgstr ""
7045+
msgstr "হ্যাঁ"
70467046

70477047
#: app/templates/components/forms/orders/attendee-list.hbs:51:26
70487048
#: app/templates/components/modals/confirm-modal.hbs:32:75
70497049
#: app/templates/components/modals/edit-user-modal.hbs:10:40
70507050
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4
70517051
#: app/utils/dictionary/boolean-complex.ts:9:15
70527052
msgid "No"
7053-
msgstr ""
7053+
msgstr "না"
70547054

70557055
#: app/templates/components/forms/orders/attendee-list.hbs:71:12
70567056
#: app/templates/components/forms/orders/order-form.hbs:191:10

translations/hi.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3680,7 +3680,7 @@ msgstr ""
36803680

36813681
#: app/models/custom-form.js:104:27
36823682
msgid "Photo & video & text consent"
3683-
msgstr ""
3683+
msgstr "फ़ोटो एवं वीडियो एवं पाठ सहमति"
36843684

36853685
#: app/models/custom-form.js:105:27
36863686
msgid "Partner contact consent"
@@ -7077,15 +7077,15 @@ msgstr ""
70777077
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4
70787078
#: app/utils/dictionary/boolean-complex.ts:5:15
70797079
msgid "Yes"
7080-
msgstr ""
7080+
msgstr "हाँ"
70817081

70827082
#: app/templates/components/forms/orders/attendee-list.hbs:51:26
70837083
#: app/templates/components/modals/confirm-modal.hbs:32:75
70847084
#: app/templates/components/modals/edit-user-modal.hbs:10:40
70857085
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4
70867086
#: app/utils/dictionary/boolean-complex.ts:9:15
70877087
msgid "No"
7088-
msgstr ""
7088+
msgstr "नहीं"
70897089

70907090
#: app/templates/components/forms/orders/attendee-list.hbs:71:12
70917091
#: app/templates/components/forms/orders/order-form.hbs:191:10

translations/pl.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7219,15 +7219,15 @@ msgstr "Pobierz bilet"
72197219
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4
72207220
#: app/utils/dictionary/boolean-complex.ts:5:15
72217221
msgid "Yes"
7222-
msgstr "Yes"
7222+
msgstr "Tak"
72237223

72247224
#: app/templates/components/forms/orders/attendee-list.hbs:51:26
72257225
#: app/templates/components/modals/confirm-modal.hbs:32:75
72267226
#: app/templates/components/modals/edit-user-modal.hbs:10:40
72277227
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4
72287228
#: app/utils/dictionary/boolean-complex.ts:9:15
72297229
msgid "No"
7230-
msgstr "No"
7230+
msgstr "NIE"
72317231

72327232
#: app/templates/components/forms/orders/attendee-list.hbs:71:12
72337233
#: app/templates/components/forms/orders/order-form.hbs:191:10

translations/zh_Hant.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7076,14 +7076,14 @@ msgstr "下載門票"
70767076
#: app/templates/components/modals/publish-unpublish-modal.hbs:31:4
70777077
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:3:4
70787078
msgid "Yes"
7079-
msgstr "Yes"
7079+
msgstr "是的"
70807080

70817081
#: app/templates/components/forms/orders/attendee-list.hbs:51:26
70827082
#: app/templates/components/modals/confirm-modal.hbs:32:75
70837083
#: app/templates/components/modals/edit-user-modal.hbs:10:40
70847084
#: app/templates/components/ui-table/cell/events/view/sessions/cell-is-mail-sent.hbs:5:4
70857085
msgid "No"
7086-
msgstr "No"
7086+
msgstr ""
70877087

70887088
#: app/templates/components/forms/orders/attendee-list.hbs:71:12
70897089
#: app/templates/components/forms/orders/order-form.hbs:191:10

0 commit comments

Comments
 (0)