summaryrefslogtreecommitdiff
path: root/views/partials/editeventmodal.handlebars
diff options
context:
space:
mode:
authorRaphael <mail@raphaelkabo.com>2025-05-28 18:00:35 +0100
committerGitHub <noreply@github.com>2025-05-28 18:00:35 +0100
commitbde9b408342f56833cf0a514488365189083f312 (patch)
treee20a4f074704a2f5ede5ebd05b4f4ad949cd8205 /views/partials/editeventmodal.handlebars
parent69f75005303d634b9208c23068655385734f4d3a (diff)
parentfb85d79dd2333cd6e0982e5ee0fdc1070ff99889 (diff)
Merge pull request #198 from dinoue/feature/localization-again
Localization, again
Diffstat (limited to 'views/partials/editeventmodal.handlebars')
-rw-r--r--views/partials/editeventmodal.handlebars10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/partials/editeventmodal.handlebars b/views/partials/editeventmodal.handlebars
index 986da9c..2848125 100644
--- a/views/partials/editeventmodal.handlebars
+++ b/views/partials/editeventmodal.handlebars
@@ -7,7 +7,7 @@
<div class="modal-dialog modal-xl modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
- <h5 class="modal-title" id="editModalLabel">Edit '{{eventData.name}}'</h5>
+ <h5 class="modal-title" id="editModalLabel">{{{t "views.partials.editevent.edit" }}}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
@@ -19,25 +19,25 @@
<div class="form-group">
<div class="card border-danger mb-3">
- <div class="card-header text-danger">Delete this event</div>
+ <div class="card-header text-danger">{{t "views.partials.editevent.delthis" }}</div>
<div class="card-body text-danger">
<button type="button" id="deleteEvent" class="button button--danger" data-toggle="modal"
data-target="#deleteModal" data-event-id="{{eventData.id}}"><i class="fas fa-trash"></i>
- Delete</button>
+ {{t "views.del" }}</button>
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
- <button type="button" class="button button--secondary" data-dismiss="modal">Close</button>
+ <button type="button" class="button button--secondary" data-dismiss="modal">{{t "common.close" }}</button>
<button
type="submit"
class="button button--primary"
@click="submitForm"
x-bind:disabled="submitting"
x-bind:class="submitting ? 'button--loading' : ''"
- x-text="submitting ? 'Saving...' : 'Save'"
+ x-text="submitting ? '{{t "views.partials.saving" }}' : '{{t "views.partials.save" }}'"
></button>
</div>
</div>