|
34 | 34 |
|
35 | 35 | <div class="uv-view {% if app.request.cookies and app.request.cookies.get('uv-asideView') %}uv-aside-view{% endif %}">
|
36 | 36 | {% if mailbox is defined and mailbox.id is not empty %}
|
37 |
| - <h1>Update Mailbox</h1> |
| 37 | + <h1>{{ 'Update Mailbox'|trans }}</h1> |
38 | 38 | {% else %}
|
39 |
| - <h1>New Mailbox</h1> |
| 39 | + <h1>{{ 'Add Mailbox'|trans }}</h1> |
40 | 40 | {% endif %}
|
41 | 41 |
|
42 | 42 | <div class="uv-hr"></div>
|
43 | 43 |
|
44 | 44 | <form method="post" action="" id="mailbox-settings-view">
|
45 | 45 | {# Mailer Id #}
|
46 | 46 | <div class="uv-element-block">
|
47 |
| - <label class="uv-field-label">ID:</label> |
| 47 | + <label class="uv-field-label">{{ 'ID'|trans }}</label> |
48 | 48 |
|
49 | 49 | <div class="uv-field-block">
|
50 | 50 | {% if mailbox is defined and mailbox.id is not empty %}
|
51 |
| - <input type="text" name="id" class="uv-field" value="{{ mailbox.id }}" placeholder="Mailbox ID - Leave blank to automatically create id" /> |
| 51 | + <input type="text" name="id" class="uv-field" value="{{ mailbox.id }}" placeholder="{{ 'Mailbox ID - Leave blank to automatically create id'|trans }}" /> |
52 | 52 | {% else %}
|
53 |
| - <input type="text" name="id" class="uv-field" value="" placeholder="Mailbox ID - Leave blank to automatically create id" /> |
| 53 | + <input type="text" name="id" class="uv-field" value="" placeholder="{{ 'Mailbox ID - Leave blank to automatically create id'|trans }}" /> |
54 | 54 | {% endif %}
|
55 | 55 | </div>
|
56 | 56 | </div>
|
57 | 57 |
|
58 | 58 | {# Mailer Name #}
|
59 | 59 | <div class="uv-element-block">
|
60 |
| - <label class="uv-field-label">Name:</label> |
| 60 | + <label class="uv-field-label">{{ 'Name'|trans }}</label> |
61 | 61 |
|
62 | 62 | <div class="uv-field-block">
|
63 | 63 | {% if mailbox is defined and mailbox.name is not empty %}
|
64 |
| - <input type="text" name="name" class="uv-field" value="{{ mailbox.name }}" placeholder="Mailbox Name" /> |
| 64 | + <input type="text" name="name" class="uv-field" value="{{ mailbox.name }}" placeholder="{{ 'Mailbox Name'|trans }}" /> |
65 | 65 | {% else %}
|
66 |
| - <input type="text" name="name" class="uv-field" value="" placeholder="Mailbox Name" /> |
| 66 | + <input type="text" name="name" class="uv-field" value="" placeholder="{{ 'Mailbox Name'|trans }}" /> |
67 | 67 | {% endif %}
|
68 | 68 | </div>
|
69 | 69 | </div>
|
|
81 | 81 | <span class="uv-checkbox-view"></span>
|
82 | 82 | </div>
|
83 | 83 |
|
84 |
| - <span class="uv-checkbox-label">Enable Mailbox</span> |
| 84 | + <span class="uv-checkbox-label">{{ 'Enable Mailbox'|trans }}</span> |
85 | 85 | </label>
|
86 | 86 | </div>
|
87 | 87 |
|
88 | 88 | <div class="uv-hr"></div>
|
89 | 89 |
|
90 | 90 | {# IMAP Settings #}
|
91 |
| - <h3 class="section-heading">Incoming Mail (IMAP) Server</h3> |
92 |
| - <p class="section-description">Configure your imap settings which will be used to fetch emails from your mailbox.</p> |
| 91 | + <h3 class="section-heading">{{ 'Incoming Mail (IMAP) Server'|trans }}</h3> |
| 92 | + <p class="section-description">{{ 'Configure your imap settings which will be used to fetch emails from your mailbox.'|trans }}</p> |
93 | 93 |
|
94 | 94 | <div class="uv-element-block">
|
95 |
| - <label class="uv-field-label">Transport:</label> |
| 95 | + <label class="uv-field-label">{{ 'Transport'|trans }}</label> |
96 | 96 |
|
97 | 97 | {% if mailbox is defined %}
|
98 | 98 | <select name="imap[transport]" id="cta-mailbox-imap-transport" class="uv-select">
|
99 |
| - <option value="custom" {% if mailbox.imapConfiguration.code == 'custom' %}selected{% endif %}>IMAP</option> |
100 |
| - <option value="gmail" {% if mailbox.imapConfiguration.code == 'gmail' %}selected{% endif %}>Gmail</option> |
101 |
| - <option value="yahoo" {% if mailbox.imapConfiguration.code == 'yahoo' %}selected{% endif %}>Yahoo Mail</option> |
| 99 | + <option value="custom" {% if mailbox.imapConfiguration.code == 'custom' %}selected{% endif %}>{{ 'IMAP'|trans }}</option> |
| 100 | + <option value="gmail" {% if mailbox.imapConfiguration.code == 'gmail' %}selected{% endif %}>{{ 'Gmail'|trans }}</option> |
| 101 | + <option value="yahoo" {% if mailbox.imapConfiguration.code == 'yahoo' %}selected{% endif %}>{{ 'Yahoo'|trans }}</option> |
102 | 102 | </select>
|
103 | 103 | {% else %}
|
104 | 104 | <select name="imap[transport]" id="cta-mailbox-imap-transport" class="uv-select">
|
105 |
| - <option value="custom" selected>IMAP</option> |
106 |
| - <option value="gmail">Gmail</option> |
107 |
| - <option value="yahoo">Yahoo</option> |
| 105 | + <option value="custom" selected>{{ 'IMAP'|trans }}</option> |
| 106 | + <option value="gmail">{{ 'Gmail'|trans }}</option> |
| 107 | + <option value="yahoo">{{ 'Yahoo'|trans }}</option> |
108 | 108 | </select>
|
109 | 109 | {% endif %}
|
110 | 110 | </div>
|
|
114 | 114 | <div class="uv-hr"></div>
|
115 | 115 |
|
116 | 116 | {# SwiftMailer Settings #}
|
117 |
| - <h3 class="section-heading">Outgoing Mail (SMTP) Server</h3> |
118 |
| - <p class="section-description">Select a valid Swift Mailer configuration which will be used to send emails through your mailbox.</p> |
| 117 | + <h3 class="section-heading">{{ 'Outgoing Mail (SMTP) Server'|trans }}</h3> |
| 118 | + <p class="section-description">{{ 'Select a valid Swift Mailer configuration which will be used to send emails through your mailbox.'|trans }}</p> |
119 | 119 |
|
120 | 120 | <div class="uv-element-block">
|
121 |
| - <label class="uv-field-label">Swift Mailer ID:</label> |
| 121 | + <label class="uv-field-label">{{ 'Swift Mailer ID'|trans }}</label> |
122 | 122 |
|
123 | 123 | {% if swiftmailerConfigurations is defined and swiftmailerConfigurations is not empty %}
|
124 | 124 | <select name="swiftmailer_id" class="uv-select">
|
125 |
| - <option value="none">None Selected</option> |
| 125 | + <option value="none">{{ 'None Selected'|trans }}</option> |
126 | 126 | {% for configuration in swiftmailerConfigurations %}
|
127 | 127 | {% if mailbox is defined and mailbox.swiftmailerConfiguration and mailbox.swiftmailerConfiguration.id == configuration.id %}
|
128 | 128 | <option value="{{ configuration.id }}" selected>{{ configuration.id }}</option>
|
|
133 | 133 | </select>
|
134 | 134 | {% else %}
|
135 | 135 | <select name="swiftmailer_id" class="uv-select">
|
136 |
| - <option value="none">None Selected</option> |
| 136 | + <option value="none">{{ 'None Selected'|trans }}</option> |
137 | 137 | </select>
|
138 | 138 | {% endif %}
|
139 | 139 | </div>
|
|
155 | 155 |
|
156 | 156 | <script id="imap_conf_template_predefined" type="text/template">
|
157 | 157 | <div class="uv-element-block">
|
158 |
| - <label class="uv-field-label">Username:</label> |
| 158 | + <label class="uv-field-label">{{ 'Username' |trans }}</label> |
159 | 159 |
|
160 | 160 | <div class="uv-field-block">
|
161 | 161 | <% if (typeof(username) != 'undefined' && username != '') { %>
|
162 |
| - <input class="uv-field" type="text" name="imap[username]" value="<%- username %>" placeholder="Email address"> |
| 162 | + <input class="uv-field" type="text" name="imap[username]" value="<%- username %>" placeholder="{{ 'Email address'|trans }}"> |
163 | 163 | <% } else { %>
|
164 |
| - <input class="uv-field" type="text" name="imap[username]" value="" placeholder="Email address"> |
| 164 | + <input class="uv-field" type="text" name="imap[username]" value="" placeholder="{{ 'Email address'|trans }}"> |
165 | 165 | <% } %>
|
166 | 166 | </div>
|
167 | 167 | </div>
|
168 | 168 |
|
169 | 169 | <div class="uv-element-block">
|
170 |
| - <label class="uv-field-label">Password:</label> |
| 170 | + <label class="uv-field-label">{{ 'Password' |trans }}</label> |
171 | 171 |
|
172 | 172 | <div class="uv-field-block">
|
173 |
| - <input class="uv-field" type="password" name="imap[password]" placeholder="Associated Password"> |
| 173 | + <input class="uv-field" type="password" name="imap[password]" placeholder="{{ 'Associated Password'|trans }}"> |
174 | 174 | </div>
|
175 | 175 | </div>
|
176 | 176 | </script>
|
177 | 177 |
|
178 | 178 | <script id="imap_conf_template_custom" type="text/template">
|
179 | 179 | <div class="uv-element-block">
|
180 |
| - <label class="uv-field-label">Host:</label> |
| 180 | + <label class="uv-field-label">{{ 'Host'|trans }}</label> |
181 | 181 |
|
182 | 182 | <div class="uv-field-block">
|
183 | 183 | <% if (typeof(host) != 'undefined' && host != '') { %>
|
184 | 184 | <input class="uv-field" type="text" name="imap[host]" value="<%- host %>" placeholder="<%- host %>">
|
185 | 185 | <% } else { %>
|
186 |
| - <input class="uv-field" type="text" name="imap[host]" value="" placeholder="IMAP Host"> |
| 186 | + <input class="uv-field" type="text" name="imap[host]" value="" placeholder="{{'IMAP Host'|trans }}"> |
187 | 187 | <% } %>
|
188 | 188 | </div>
|
189 | 189 | </div>
|
190 | 190 |
|
191 | 191 | <div class="uv-element-block">
|
192 |
| - <label class="uv-field-label">Email:</label> |
| 192 | + <label class="uv-field-label">{{ 'Email'|trans }}</label> |
193 | 193 |
|
194 | 194 | <div class="uv-field-block">
|
195 | 195 | <% if (typeof(username) != 'undefined' && username != '') { %>
|
196 |
| - <input class="uv-field" type="text" name="imap[username]" value="<%- username %>" placeholder="Email address"> |
| 196 | + <input class="uv-field" type="text" name="imap[username]" value="<%- username %>" placeholder="{{'Email address'|trans }}"> |
197 | 197 | <% } else { %>
|
198 |
| - <input class="uv-field" type="text" name="imap[username]" value="" placeholder="Email address"> |
| 198 | + <input class="uv-field" type="text" name="imap[username]" value="" placeholder="{{'Email address'|trans }}"> |
199 | 199 | <% } %>
|
200 | 200 | </div>
|
201 | 201 | </div>
|
202 | 202 |
|
203 | 203 | <div class="uv-element-block">
|
204 |
| - <label class="uv-field-label">Password:</label> |
| 204 | + <label class="uv-field-label">{{'Password'|trans }}</label> |
205 | 205 |
|
206 | 206 | <div class="uv-field-block">
|
207 |
| - <input class="uv-field" type="password" name="imap[password]" placeholder="Associated Password"> |
| 207 | + <input class="uv-field" type="password" name="imap[password]" placeholder="{{'Associated Password'|trans }}"> |
208 | 208 | </div>
|
209 | 209 | </div>
|
210 | 210 | </script>
|
|
0 commit comments