|
1 | 1 | {if $success} |
2 | | -<p>Survey was added successfully.<br/> Click here to go back to view the list of survey's created : <a href="{$baseurl}/survey_accounts/">Survey List</a><br /></p> |
| 2 | +<p> |
| 3 | + {dgettext("survey_accounts", "Survey was added successfully.")}<br/> |
| 4 | + {dgettext("survey_accounts", "Click here to go back to view the list of survey's created")} : |
| 5 | + <a href="{$baseurl}/survey_accounts/">{dgettext("survey_accounts", "Survey List")}</a><br /> |
| 6 | +</p> |
3 | 7 | <br /> |
4 | 8 | {/if} |
5 | 9 | <br /> |
|
9 | 13 | {if not $success} |
10 | 14 | <table class="table table-primary table-bordered" border="0"> |
11 | 15 | <!-- table title --> |
12 | | - <tr class="info"><th colspan="2">Usage</th></tr> |
| 16 | + <tr class="info"><th colspan="2">{dgettext("survey_accounts", "Usage")}</th></tr> |
13 | 17 |
|
14 | 18 | <tr> |
15 | 19 | <td colspan="2"> |
16 | | - Use this form to create a link for a study participant to use in order to directly enter a form/data into Loris. |
| 20 | + {dgettext("survey_accounts", "Use this form to create a link for a study participant to use in order to directly enter a form/data into Loris.")} |
17 | 21 | </td> |
18 | 22 | </tr> |
19 | 23 |
|
20 | 24 | <!-- table title --> |
21 | | - <tr class="info"><th colspan="2">Add Survey</th></tr> |
| 25 | + <tr class="info"><th colspan="2">{dgettext("survey_accounts", "Add Survey")}</th></tr> |
22 | 26 |
|
23 | 27 | {foreach from=$form.errors item=error} |
24 | 28 | <tr> |
|
50 | 54 | <td nowrap="nowrap">{$form.Email.label}</td> |
51 | 55 | <td nowrap="nowrap" id="Email">{$form.Email.html}</td> |
52 | 56 | </tr> |
53 | | - <tr> |
| 57 | + <tr> |
54 | 58 | <td nowrap="nowrap">{$form.Email2.label}</td> |
55 | 59 | <td nowrap="nowrap" id="Email2">{$form.Email2.html}</td> |
56 | 60 | </tr> |
57 | 61 | <tr> |
58 | 62 | <td nowrap="nowrap" colspan="2"> |
59 | | - <input class="btn btn-sm btn-primary" name="fire_away" value="Create survey" id="create_survey" type="submit" /> |
60 | | - <input class="btn btn-sm btn-primary email" name="fire_away" value="Email survey" id="email_survey" type="submit" /> |
| 63 | + <input class="btn btn-sm btn-primary" name="fire_away" value="{dgettext("survey_accounts", "Create survey")}" id="create_survey" type="submit" /> |
| 64 | + <input class="btn btn-sm btn-primary email" name="fire_away" value="{dgettext("survey_accounts", "Email survey")}" id="email_survey" type="submit" /> |
61 | 65 | {/if} |
62 | 66 | </td> |
63 | 67 | </tr> |
|
67 | 71 | <div class="modal-dialog"> |
68 | 72 | <div class="modal-content"> |
69 | 73 | <div class="modal-header"> |
70 | | - <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
71 | | - <h3 class="modal-title">Email to Study Participant</h3> |
| 74 | + <button type="button" class="close" data-dismiss="modal"> |
| 75 | + <span aria-hidden="true">×</span> |
| 76 | + <span class="sr-only">{dgettext("survey_accounts", "Close")}</span> |
| 77 | + </button> |
| 78 | + <h3 class="modal-title">{dgettext("survey_accounts", "Email to Study Participant")}</h3> |
72 | 79 | </div> |
73 | 80 | <div class="modal-body"> |
74 | | - <textarea class="form-control" id="emailContent" name="email_dialog" rows="24" cols="80" placeholder="Optionally enter a customized message here. A default email will be sent if left blank.">This is where your message goes.</textarea> |
| 81 | + <textarea class="form-control" id="emailContent" name="email_dialog" rows="24" cols="80" |
| 82 | + placeholder="{dgettext("survey_accounts", "Optionally enter a customized message here. A default email will be sent if left blank.")}"> |
| 83 | + {dgettext("survey_accounts", "This is where your message goes.")} |
| 84 | + </textarea> |
75 | 85 | </div> |
76 | 86 | <div class="modal-footer"> |
77 | | - <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
78 | | - <button type="button" id="emailData" class="btn btn-primary">Email</button> |
| 87 | + <button type="button" class="btn btn-default" data-dismiss="modal">{dgettext("survey_accounts", "Close")}</button> |
| 88 | + <button type="button" id="emailData" class="btn btn-primary">{dgettext("survey_accounts", "Email")}</button> |
79 | 89 | </div> |
80 | 90 | </div> |
81 | 91 | </div> |
|
0 commit comments