File tree 2 files changed +4
-2
lines changed
starlette_admin/templates
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
19
19
20
20
### Fixed
21
21
22
+ * Support translation for login form placeholders by [ @hasansezertasan ] ( https://github.com/hasansezertasan )
23
+ in [ #425 ] ( https://github.com/jowilf/starlette-admin/pull/425 )
22
24
* Update AuthMiddleware for Compatibility with Starlette >= 0.33 by [ @jowilf ] ( https://github.com/jowilf )
23
25
in [ #427 ] ( https://github.com/jowilf/starlette-admin/pull/427 )
24
26
* Fixes actions docstrings
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ <h2 class="card-title text-center mb-4">{{ _("Login to your account") }}</h2>
33
33
< input type ="text "
34
34
name ="username "
35
35
class ="form-control {% if form_errors and form_errors.has('username') %}is-invalid{% endif %} "
36
- placeholder ="Enter username "
36
+ placeholder ="{{ _('Username') }} "
37
37
autocomplete ="off "/>
38
38
{% if form_errors and form_errors.has('username') %}
39
39
< div class ="invalid-feedback "> {{ form_errors.msg('username') }}</ div >
@@ -44,7 +44,7 @@ <h2 class="card-title text-center mb-4">{{ _("Login to your account") }}</h2>
44
44
< input type ="password "
45
45
name ="password "
46
46
class ="form-control {% if form_errors and form_errors.has('password') %}is-invalid{% endif %} "
47
- placeholder ="Password "
47
+ placeholder ="{{ _(' Password') }} "
48
48
autocomplete ="off "/>
49
49
{% if form_errors and form_errors.has('password') %}
50
50
< div class ="invalid-feedback "> {{ form_errors.msg('password') }}</ div >
You can’t perform that action at this time.
0 commit comments