File tree 2 files changed +11
-4
lines changed
app/assets/javascripts/discourse/templates/modal
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 10
10
</div >
11
11
{{ /if }}
12
12
13
- {{ i18n " user.associated_accounts.confirm_description"
14
- provider = (i18n (concat " login." model.provider_name " .name" ))
15
- account_description =model.account_description }}
13
+ {{ #if model.account_description }}
14
+ {{ i18n " user.associated_accounts.confirm_description.account_specific"
15
+ provider = (i18n (concat " login." model.provider_name " .name" ))
16
+ account_description =model.account_description }}
17
+ {{ else }}
18
+ {{ i18n " user.associated_accounts.confirm_description.generic"
19
+ provider = (i18n (concat " login." model.provider_name " .name" ))}}
20
+ {{ /if }}
16
21
{{ /d-modal-body }}
17
22
18
23
<div class =" modal-footer" >
Original file line number Diff line number Diff line change @@ -1024,7 +1024,9 @@ en:
1024
1024
cancel : " Cancel"
1025
1025
not_connected : " (not connected)"
1026
1026
confirm_modal_title : " Connect %{provider} Account"
1027
- confirm_description : " Your %{provider} account '%{account_description}' will be used for authentication."
1027
+ confirm_description :
1028
+ account_specific : " Your %{provider} account '%{account_description}' will be used for authentication."
1029
+ generic : " Your %{provider} account will be used for authentication."
1028
1030
1029
1031
name :
1030
1032
title : " Name"
You can’t perform that action at this time.
0 commit comments