summaryrefslogtreecommitdiff
path: root/views/partials
diff options
context:
space:
mode:
authorRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:32:47 +0100
committerRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:32:47 +0100
commita6f8ec770d06ce33042ed3f222cba786897e0233 (patch)
treea060e72668de41fcbeae5e891ee86b096b096f26 /views/partials
parent08fa2f616c90e59066d0308097c65c424b5b4a88 (diff)
parentfd637b405c8784a07dabd54b10fda98ad9f4a4ad (diff)
Merge remote-tracking branch 'origin/main' into clearer-editing-mode
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/editeventgroupmodal.handlebars10
-rw-r--r--views/partials/editeventmodal.handlebars10
-rwxr-xr-xviews/partials/eventForm.handlebars74
-rw-r--r--views/partials/eventGroupForm.handlebars34
-rw-r--r--views/partials/eventList.handlebars2
-rw-r--r--views/partials/importeventform.handlebars16
-rw-r--r--views/partials/instanceRules.handlebars2
-rwxr-xr-xviews/partials/sidebar.handlebars6
8 files changed, 77 insertions, 77 deletions
diff --git a/views/partials/editeventgroupmodal.handlebars b/views/partials/editeventgroupmodal.handlebars
index 046d15e..8a6a347 100644
--- a/views/partials/editeventgroupmodal.handlebars
+++ b/views/partials/editeventgroupmodal.handlebars
@@ -2,7 +2,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 '{{eventGroupData.name}}'</h5>
+ <h5 class="modal-title" id="editModalLabel">{{{t "views.eventgroup.edit" }}} </h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
@@ -14,23 +14,23 @@
<div class="form-group">
<div class="card border-danger mb-3">
- <div class="card-header text-danger">Delete this event group</div>
+ <div class="card-header text-danger">{{t "views.partials.editeventgroup.del" }}</div>
<div class="card-body text-danger">
- <button type="button" id="deleteEvent" class="button button--danger" data-toggle="modal" data-target="#deleteModal"><i class="fas fa-trash"></i> Delete event group</button>
+ <button type="button" id="deleteEvent" class="button button--danger" data-toggle="modal" data-target="#deleteModal"><i class="fas fa-trash"></i> {{t "views.partials.editeventgroup.delbutton" }}</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>
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>
diff --git a/views/partials/eventForm.handlebars b/views/partials/eventForm.handlebars
index 93e8e84..8714058 100755
--- a/views/partials/eventForm.handlebars
+++ b/views/partials/eventForm.handlebars
@@ -1,100 +1,100 @@
<input type="hidden" name="magicLinkToken" value="{{magicLinkToken}}" x-ref="magicLinkToken">
<div class="form-group">
- <label for="eventName" >Event name</label>
+ <label for="eventName" >{{t "common.eventname" }}</label>
<div class="form-group ">
- <input type="text" class="form-control" id="eventName" name="eventName" placeholder="Make it snappy." x-model="data.eventName" >
+ <input type="text" class="form-control" id="eventName" name="eventName" placeholder="{{t "views.partials.snappy" }}" x-model="data.eventName" >
</div>
</div>
<div class="form-group">
- <label for="eventLocation" >Location</label>
+ <label for="eventLocation" >{{t "common.eventlocation" }}</label>
<div class="form-group ">
- <input type="text" class="form-control" id="eventLocation" name="eventLocation" placeholder="Be specific." x-model="data.eventLocation">
+ <input type="text" class="form-control" id="eventLocation" name="eventLocation" placeholder="{{t "views.event.locationdesc" }}" x-model="data.eventLocation">
</div>
</div>
<div class="form-group">
- <label for="eventStart" >Starts</label>
+ <label for="eventStart" >{{t "common.eventstart" }}</label>
<div class="form-group">
<input type="datetime-local" class="form-control" id="eventStart" name="eventStart" x-model="data.eventStart" x-on:blur="updateEventEnd">
</div>
</div>
<div class="form-group">
- <label for="eventEnd" >Ends</label>
+ <label for="eventEnd" >{{t "common.eventend" }}</label>
<div class="form-group ">
<input type="datetime-local" class="form-control" id="eventEnd" name="eventEnd" x-model="data.eventEnd">
</div>
</div>
<div class="form-group">
- <label for="timezone" >Timezone</label>
+ <label for="timezone" >{{t "common.timezone" }}</label>
<div class="form-group ">
<select class="select2" id="timezone" name="timezone" x-ref="timezone"></select>
</div>
</div>
<div class="form-group">
- <label for="eventDescription" >Description</label>
+ <label for="eventDescription" >{{t "views.partials.eventform.eventdescription" }}</label>
<div class="form-group ">
- <textarea class="form-control expand" id="eventDescription" name="eventDescription" placeholder="You can always edit it later." x-model="data.eventDescription" ></textarea>
- <small class="form-text"><a href="https://commonmark.org/help/">Markdown</a> formatting supported.</small>
+ <textarea class="form-control expand" id="eventDescription" name="eventDescription" placeholder="{{t "views.event.editlater" }}" x-model="data.eventDescription" ></textarea>
+ <small class="form-text">{{{t "views.partials.mdsupport" }}}</small>
</div>
</div>
<div class="form-group">
- <label for="eventURL">Link</label>
+ <label for="eventURL">{{t "views.partials.eventform.eventurl" }}</label>
<div class="form-group ">
<input type="url" class="form-control" id="eventURL" name="eventURL" placeholder="https://example.com" x-model="data.eventURL">
- <small class="form-text">For tickets or another event page (optional).</small>
+ <small class="form-text">{{t "views.partials.eventform.eventurldesc" }}</small>
</div>
</div>
<div class="form-group">
- <label for="eventImage" >Cover image</label>
+ <label for="eventImage" >{{t "common.coverimg" }}</label>
<div class="form-group ">
<div class="image-preview" id="event-image-preview">
- <label for="image-upload" id="event-image-label">Choose file</label>
+ <label for="image-upload" id="event-image-label">{{t "views.partials.choosefile" }}</label>
<input type="file" name="imageUpload" id="event-image-upload" accept="image/jpeg,image/gif,image/png" x-ref="eventImageUpload" />
</div>
- <small class="form-text">Recommended dimensions (w x h): 920px by 300px.</small>
+ <small class="form-text">{{t "views.partials.recommendeddimensions" }}</small>
{{#if eventData.image}}
<div class="form-group my-2">
- <button type="button" class="button button--danger" id="deleteImage">Delete image</button>
+ <button type="button" class="button button--danger" id="deleteImage">{{t "views.partials.delimg" }}</button>
</div>
{{/if}}
</div>
</div>
<div class="form-group">
- <label for="hostName" >Host name</label>
+ <label for="hostName" >{{t "views.partials.eventform.hostname" }}</label>
<div class="form-group ">
- <input type="text" class="form-control" id="hostName" name="hostName" placeholder="Will be shown on the event page (optional)." x-model="data.hostName" >
+ <input type="text" class="form-control" id="hostName" name="hostName" placeholder="{{t "views.partials.eventform.hostnamedesc" }}" x-model="data.hostName" >
</div>
</div>
<div class="form-group">
- <label for="creatorEmail" >Your email</label>
+ <label for="creatorEmail" >{{t "views.partials.eventform.creatoremail" }}</label>
<div class="form-group ">
- <input type="email" class="form-control" id="creatorEmail" name="creatorEmail" placeholder="Will not be shown anywhere (optional)." x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
- <small class="form-text">If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event.</small>
+ <input type="email" class="form-control" id="creatorEmail" name="creatorEmail" placeholder="{{t "views.partials.wontshow" }}" x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
+ <small class="form-text">{{t "views.partials.creatoremaildesc" }}</small>
</div>
</div>
<div class="form-group">
- <label>Options</label>
+ <label>{{t "views.partials.eventform.options" }}</label>
<div >
{{#if showPublicEventList}}
<div class="form-check">
<input class="form-check-input" type="checkbox" id="publicEventCheckbox" name="publicCheckbox" x-model="data.publicCheckbox">
<label class="form-check-label" for="publicEventCheckbox">
- Display this event on the public event list
+ {{t "views.partials.eventform.publicevent" }}
</label>
</div>
{{/if}}
<div class="form-check">
<input class="form-check-input" type="checkbox" id="eventGroupCheckbox" name="eventGroupCheckbox" x-model="data.eventGroupCheckbox">
<label class="form-check-label" for="eventGroupCheckbox">
- This event is part of an event group
+ {{t "views.partials.eventform.eventgroup" }}
</label>
</div>
<div class="card my-2" id="eventGroupData" x-show="data.eventGroupCheckbox">
<div class="card-header">
- <strong>Link this event to an event group</strong>
+ <strong>{{t "views.partials.eventform.eventgroupdata" }}</strong>
</div>
<div class="card-body" x-data="eventGroupLinker()">
<div class="form-group-label" x-show="data.groups.length > 0">
- <label>Choose a group you've edited before</label>
+ <label>{{t "views.partials.eventform.eventgrouplinker" }}</label>
</div>
<div class="form-group" x-show="data.groups.length > 0">
<select
@@ -111,7 +111,7 @@
</select>
</div>
<button type="button" class="button button--outline-primary w-100 text-center" x-on:click="manualGroupInputVisible = !manualGroupInputVisible">
- Enter group details manually <i class="fas" :class="{'fa-caret-down': !manualGroupInputVisible, 'fa-caret-up': manualGroupInputVisible}"></i>
+ {{t "views.partials.eventform.groupbutton" }} <i class="fas" :class="{'fa-caret-down': !manualGroupInputVisible, 'fa-caret-up': manualGroupInputVisible}"></i>
</button>
<div
class="form-group slider"
@@ -120,15 +120,15 @@
:style="manualGroupInputVisible && {height: $el.scrollHeight+`px`}"
:aria-hidden="!manualGroupInputVisible"
>
- <label for="eventGroupID" class="mt-2">Event group ID</label>
+ <label for="eventGroupID" class="mt-2">{{t "common.eventgroupid" }}</label>
<div class="form-group">
<input type="text" class="form-control text-monospace" id="eventGroupID" name="eventGroupID" x-model="data.eventGroupID" x-on:input="resetGroupSelector">
- <small class="form-text">You can find this short string of characters in the event group's link, in your confirmation email, or on the event group's page.</small>
+ <small class="form-text">{{t "views.partials.eventform.eventgroupid" }}</small>
</div>
- <label for="eventGroupEditToken">Event group secret editing code</label>
+ <label for="eventGroupEditToken">{{t "views.partials.eventform.eventgroupedittoken" }}</label>
<div class="form-group mb-0">
<input type="text" class="form-control text-monospace" id="eventGroupEditToken" name="eventGroupEditToken" x-model="data.eventGroupEditToken" x-on:input="resetGroupSelector">
- <small class="form-text">You can find this long string of characters in the confirmation email you received when you created the event group.</small>
+ <small class="form-text">{{t "views.partials.eventform.eventgroupedittoken" }}</small>
</div>
</div>
</div>
@@ -136,27 +136,27 @@
<div class="form-check">
<input class="form-check-input" type="checkbox" id="interactionCheckbox" name="interactionCheckbox" x-model="data.interactionCheckbox">
<label class="form-check-label" for="interactionCheckbox">
- Users can post comments on this event
+ {{t "views.interaction" }}
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="joinCheckbox" name="joinCheckbox" x-model="data.joinCheckbox">
<label class="form-check-label" for="joinCheckbox">
- Users can mark themselves as attending this event
+ {{t "views.join" }}
</label>
</div>
<div class="form-check" id="maxAttendeesCheckboxContainer" x-show="data.joinCheckbox">
<input class="form-check-input" type="checkbox" id="maxAttendeesCheckbox" name="maxAttendeesCheckbox" x-model="data.maxAttendeesCheckbox">
<label class="form-check-label" for="maxAttendeesCheckbox">
- Set a limit on the maximum number of attendees
+ {{t "views.partials.eventform.maxattendeestitle" }}
</label>
</div>
</div>
</div>
<div class="form-group" id="maxAttendeesContainer" x-show="data.maxAttendeesCheckbox && data.joinCheckbox">
- <label for="maxAttendees" >Attendee limit</label>
+ <label for="maxAttendees" >{{t "views.partials.eventform.maxattendees" }}</label>
<div class="form-group ">
- <input type="number" class="form-control" id="maxAttendees" name="maxAttendees" placeholder="Enter a number." x-model="data.maxAttendees" >
+ <input type="number" class="form-control" id="maxAttendees" name="maxAttendees" placeholder="{{t "views.event.enternum" }}" x-model="data.maxAttendees" >
</div>
</div>
<div class="form-group">
@@ -166,7 +166,7 @@
role="alert"
x-show="errors.length > 0"
>
- <p><i class="fas fa-exclamation-triangle"></i> Please fix these errors:</p>
+ <p><i class="fas fa-exclamation-triangle"></i> {{t "views.partials.fixerrors" }}</p>
<ul>
<template x-for="error in errors">
<li x-html="error.message"></li>
diff --git a/views/partials/eventGroupForm.handlebars b/views/partials/eventGroupForm.handlebars
index 5536e49..5cc8b40 100644
--- a/views/partials/eventGroupForm.handlebars
+++ b/views/partials/eventGroupForm.handlebars
@@ -1,44 +1,44 @@
<input type="hidden" name="magicLinkToken" value="{{magicLinkToken}}" x-ref="magicLinkToken">
<div class="form-group">
- <label for="eventGroupName">Name</label>
- <input type="text" class="form-control" id="eventGroupName" name="eventGroupName" placeholder="Make it snappy." x-model="data.eventGroupName">
+ <label for="eventGroupName">{{t "common.eventgroupname" }}</label>
+ <input type="text" class="form-control" id="eventGroupName" name="eventGroupName" placeholder="{{t "views.partials.snappy" }}" x-model="data.eventGroupName">
</div>
<div class="form-group">
- <label for="eventGroupDescription">Description</label>
+ <label for="eventGroupDescription">{{t "views.partials.eventgroupform.eventgroupddesc" }}</label>
<textarea class="form-control" id="eventGroupDescription" name="eventGroupDescription" x-model="data.eventGroupDescription">{{eventGroupData.description}}</textarea>
- <small class="form-text"><a href="https://commonmark.org/help/">Markdown</a> formatting supported.</small>
+ <small class="form-text">{{{t "views.partials.mdsupport" }}}</small>
</div>
<div class="form-group">
- <label for="eventGroupURL">Link</label>
+ <label for="eventGroupURL">{{t "views.partials.eventgroupform.eventgroupurl" }}</label>
<input type="url" class="form-control" id="eventGroupURL" name="eventGroupURL" placeholder="https://example.com" x-model="data.eventGroupURL">
- <small class="form-text">For tickets or a page with more information (optional).</small>
+ <small class="form-text">{{t "views.partials.eventgroupform.eventgroupurldesc" }}</small>
</div>
<div class="form-group">
- <label for="hostName">Host or organisation name</label>
- <input type="text" class="form-control" id="eventGroupHostName" name="hostName" placeholder="Will be shown on the event group page (optional)." x-model="data.hostName">
+ <label for="hostName">{{t "views.partials.eventgroupform.hostname" }}</label>
+ <input type="text" class="form-control" id="eventGroupHostName" name="hostName" placeholder="{{t "views.partials.eventgroupform.isshowningroup" }}" x-model="data.hostName">
</div>
<div class="form-group">
- <label for="creatorEmail">Your email</label>
+ <label for="creatorEmail">{{t "views.partials.eventgroupform.creatoremail" }}</label>
<div class="form-group">
- <input type="email" class="form-control" id="eventGroupCreatorEmail" name="creatorEmail" placeholder="Will not be shown anywhere (optional)." x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
- <small class="form-text">If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event.</small>
+ <input type="email" class="form-control" id="eventGroupCreatorEmail" name="creatorEmail" placeholder="{{t "views.partials.wontshow" }}" x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
+ <small class="form-text">{{t "views.partials.creatoremaildesc" }}</small>
</div>
</div>
<div class="form-group">
- <label>Cover image</label>
+ <label>{{t "common.coverimg" }}</label>
<div class="image-preview" id="group-image-preview">
- <label for="eventGroupImageUpload" id="group-image-label">Choose file</label>
+ <label for="eventGroupImageUpload" id="group-image-label">{{t "views.partials.choosefile" }}</label>
<input type="file" name="imageUpload" id="group-image-upload" accept="image/jpeg,image/gif,image/png" x-ref="eventGroupImageUpload"/>
</div>
- <small class="form-text">Recommended dimensions (w x h): 920px by 300px.</small>
+ <small class="form-text">{{t "views.partials.recommendeddimensions" }}</small>
</div>
{{#if showPublicEventList}}
<div class="form-group">
- <label>Options</label>
+ <label>{{{t "views.partials.eventgroup.options" }}}</label>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="publicGroupCheckbox" name="publicCheckbox" x-model="data.publicCheckbox">
<label class="form-check-label" for="publicGroupCheckbox">
- Display this group on the public group list
+ {{t "views.partials.eventgroupform.publicgroup" }}
</label>
</div>
</div>
@@ -50,7 +50,7 @@
role="alert"
x-show="errors.length > 0"
>
- <p><i class="fas fa-exclamation-triangle"></i> Please fix these errors:</p>
+ <p><i class="fas fa-exclamation-triangle"></i> {{t "views.partials.fixerrors" }}</p>
<ul>
<template x-for="error in errors">
<li x-html="error.message"></li>
diff --git a/views/partials/eventList.handlebars b/views/partials/eventList.handlebars
index 6c8e7a4..b694fa3 100644
--- a/views/partials/eventList.handlebars
+++ b/views/partials/eventList.handlebars
@@ -17,6 +17,6 @@
{{/each}}
{{/each}}
{{else}}
- <div class="list-group-item">No events!</div>
+ <div class="list-group-item">{{t "views.partials.eventlist.noevents" }}</div>
{{/if}}
</div>
diff --git a/views/partials/importeventform.handlebars b/views/partials/importeventform.handlebars
index a8c0f0e..2d91e36 100644
--- a/views/partials/importeventform.handlebars
+++ b/views/partials/importeventform.handlebars
@@ -1,6 +1,6 @@
-<h4 class="mb-2">Import an existing event</h4>
+<h4 class="mb-2">{{t "views.newevent.importevent" }}</h4>
<p>
- Upload an .ics file here to instantly create an event. You can save a Facebook event as an .ics file by clicking on the context menu next to the 'Import' and 'Edit' buttons on the event page and choosing the 'Export Event' option. Then select the 'Save to calendar' option and save the file on your computer.
+ {{t "views.partials.importeventform.importdesc" }}
</p>
<img class="img-thumbnail mb-3 d-block mx-auto" src="/images/facebook-export.png" alt="Image showing the location of the export option on Facebook" />
@@ -11,15 +11,15 @@
<div class="custom-file" id="icsImportContainer">
<input required name="icsImportControl" type="file" class="custom-file-input" id="icsImportControl" aria-describedby="fileHelp" accept="text/calendar" x-ref="icsImportControl"/>
<label name="icsImportLabel" class="custom-file-label" id="icsImportLabel" for="icsImportControl">
- <i class="far fa-file-alt"></i> Select file
+ <i class="far fa-file-alt"></i> {{t "views.partials.importevent.selectfile" }}
</label>
</div>
</div>
<div class="form-group">
- <label for="creatorEmail" class="form-label">Your email</label>
+ <label for="creatorEmail" class="form-label">{{t "common.youremail" }}</label>
<div class="form-group">
- <input type="email" class="form-control" id="importCreatorEmail" name="creatorEmail" placeholder="Will not be shown anywhere (optional)." x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
- <small class="form-text">If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event.</small>
+ <input type="email" class="form-control" id="importCreatorEmail" name="creatorEmail" placeholder="{{t "views.partials.wontshow" }}" x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
+ <small class="form-text">{{t "views.partials.creatoremaildesc" }}</small>
</div>
</div>
<div class="form-group">
@@ -29,7 +29,7 @@
role="alert"
x-show="errors.length > 0"
>
- <p><i class="fas fa-exclamation-triangle"></i> Please fix these errors:</p>
+ <p><i class="fas fa-exclamation-triangle"></i> {{t "views.partials.fixerrors" }}</p>
<ul>
<template x-for="error in errors">
<li x-html="error.message"></li>
@@ -43,6 +43,6 @@
class="d-block mx-auto button button--primary w-50"
x-bind:disabled="submitting"
x-bind:class="submitting ? 'button--loading' : ''"
- x-text="submitting ? 'Importing...' : 'Import'"
+ x-text="submitting ? '{{t "views.partials.importeventform.importing" }}' : '{{t "views.partials.importeventform.import" }}'"
></button>
</form>
diff --git a/views/partials/instanceRules.handlebars b/views/partials/instanceRules.handlebars
index c7fa9be..5cf3bcf 100644
--- a/views/partials/instanceRules.handlebars
+++ b/views/partials/instanceRules.handlebars
@@ -1,6 +1,6 @@
<div class="card mb-4">
<div class="card-header">
- <h6 class="mb-1">Instance settings</h6>
+ <h6 class="mb-1">{{t "views.partials.instancerules.instancesettings" }}</h6>
</div>
<ul class="list-group list-group-flush">
diff --git a/views/partials/sidebar.handlebars b/views/partials/sidebar.handlebars
index c1184be..ae4929d 100755
--- a/views/partials/sidebar.handlebars
+++ b/views/partials/sidebar.handlebars
@@ -2,10 +2,10 @@
<h1><a href="/">gathio</a></h1>
<ul id="sidebar__nav">
- <li><a class="button button--primary" href="/new"><i class="far fa-calendar-plus"></i> Create an event</a></li>
+ <li><a class="button button--primary" href="/new"><i class="far fa-calendar-plus"></i> {{t "views.partials.sidebar.createevent" }}</a></li>
{{#if showPublicEventList}}
- <li><a href="/events">View events</a></li>
- <li><a href="/about">About</a></li>
+ <li><a href="/events">{{t "views.partials.sidebar.events" }}</a></li>
+ <li><a href="/about">{{t "views.partials.sidebar.about" }}</a></li>
{{/if}}
</ul>
</div>