File tree 4 files changed +29
-34
lines changed 4 files changed +29
-34
lines changed Original file line number Diff line number Diff line change 80
80
<source >action.delete_post</source >
81
81
<target >Delete post</target >
82
82
</trans-unit >
83
- <trans-unit id =" action.delete_post_confirmation " >
84
- <source >action.delete_post_confirmation </source >
83
+ <trans-unit id =" delete_post_modal.title " >
84
+ <source >delete_post_modal.title </source >
85
85
<target >Are you sure you want to delete this post?</target >
86
86
</trans-unit >
87
- <trans-unit id =" title.confirmation_modal " >
88
- <source >title.confirmation_modal </source >
89
- <target >Confirmation </target >
87
+ <trans-unit id =" delete_post_modal.body " >
88
+ <source >delete_post_modal.body </source >
89
+ <target >This action cannot be undone. </target >
90
90
</trans-unit >
91
- <trans-unit id =" label.yes " >
92
- <source >label.yes </source >
93
- <target >Yes </target >
91
+ <trans-unit id =" label.delete_post " >
92
+ <source >label.delete_post </source >
93
+ <target >Delete post </target >
94
94
</trans-unit >
95
- <trans-unit id =" label.no " >
96
- <source >label.no </source >
97
- <target >No </target >
95
+ <trans-unit id =" label.cancel " >
96
+ <source >label.cancel </source >
97
+ <target >Cancel </target >
98
98
</trans-unit >
99
99
<trans-unit id =" action.create_post" >
100
100
<source >action.create_post</source >
Original file line number Diff line number Diff line change 84
84
<source >action.delete_post</source >
85
85
<target >Borrar artículo</target >
86
86
</trans-unit >
87
- <trans-unit id =" action.delete_post_confirmation " >
88
- <source >action.delete_post_confirmation </source >
87
+ <trans-unit id =" delete_post_modal.title " >
88
+ <source >delete_post_modal.title </source >
89
89
<target >¿Está seguro que quiere eliminar este artículo?</target >
90
90
</trans-unit >
91
- <trans-unit id =" title.confirmation_modal " >
92
- <source >title.confirmation_modal </source >
93
- <target >Confirmación </target >
91
+ <trans-unit id =" delete_post_modal.body " >
92
+ <source >delete_post_modal.body </source >
93
+ <target >Esta acción no se puede deshacer. </target >
94
94
</trans-unit >
95
- <trans-unit id =" label.yes " >
96
- <source >label.yes </source >
97
- <target >Sí </target >
95
+ <trans-unit id =" label.delete_post " >
96
+ <source >label.delete_post </source >
97
+ <target >Borrar artículo </target >
98
98
</trans-unit >
99
- <trans-unit id =" label.no " >
100
- <source >label.no </source >
101
- <target >No </target >
99
+ <trans-unit id =" label.cancel " >
100
+ <source >label.cancel </source >
101
+ <target >Cancelar </target >
102
102
</trans-unit >
103
103
<trans-unit id =" action.create_post" >
104
104
<source >action.create_post</source >
Original file line number Diff line number Diff line change 8
8
9
9
{% if show_confirmation | default (false ) %}
10
10
{% set attr = {' data-confirmation' : ' true' } %}
11
- {{ include (' default/_confirmation_modal .html.twig' , { ' message ' : ' action.delete_post_confirmation ' |trans} ) }}
11
+ {{ include (' blog/_delete_post_confirmation .html.twig' ) }}
12
12
{% endif %}
13
13
14
14
{{ form_start(form , { attr : attr |default ({}) }) }}
Original file line number Diff line number Diff line change 2
2
<div class =" modal fade" id =" confirmationModal" tabindex =" -1" >
3
3
<div class =" modal-dialog" >
4
4
<div class =" modal-content" >
5
- <div class =" modal-header" >
6
- <button type =" button" class =" close" data-dismiss =" modal" aria-label =" Close" >
7
- <span aria-hidden =" true" >× </span >
8
- </button >
9
- <h4 class =" modal-title" >{{ ' title.confirmation_modal' | trans }}</h4 >
10
- </div >
11
5
<div class =" modal-body" >
12
- {{ message }}
6
+ <h4 >{{ ' delete_post_modal.title' | trans }}</h4 >
7
+ <p >{{ ' delete_post_modal.body' | trans }}</p >
13
8
</div >
14
9
<div class =" modal-footer" >
15
- <button type =" button" class =" btn btn-danger" id =" btnYes" data-dismiss =" modal" >
16
- {{ ' label.yes' | trans }}
17
- </button >
18
10
<button type =" button" class =" btn btn-default" id =" btnNo" data-dismiss =" modal" >
19
- {{ ' label.no' | trans }}
11
+ {{ ' label.cancel' | trans }}
12
+ </button >
13
+ <button type =" button" class =" btn btn-danger" id =" btnYes" data-dismiss =" modal" >
14
+ {{ ' label.delete_post' | trans }}
20
15
</button >
21
16
</div >
22
17
</div >
You can’t perform that action at this time.
0 commit comments