summaryrefslogtreecommitdiff
path: root/views/newevent.handlebars
diff options
context:
space:
mode:
authorINOUE Daisuke <inoue.daisuke@gmail.com>2025-04-02 01:49:11 +0900
committerINOUE Daisuke <inoue.daisuke@gmail.com>2025-04-08 22:24:46 +0900
commit1fd6a7d2249fdf6ba5ca9ced6ea43348ebe0941d (patch)
treeea1344af0d6259ce70c99f556f26a86d29d9440f /views/newevent.handlebars
parentb56f838718386e611af71a74b479a331b832da79 (diff)
rename translation keys as filestructure
Diffstat (limited to 'views/newevent.handlebars')
-rwxr-xr-xviews/newevent.handlebars22
1 files changed, 11 insertions, 11 deletions
diff --git a/views/newevent.handlebars b/views/newevent.handlebars
index 62756ca..9de2efd 100755
--- a/views/newevent.handlebars
+++ b/views/newevent.handlebars
@@ -1,25 +1,25 @@
<main class="page" x-data="{currentTab: null}">
-<h2 class="mb-3 pb-2 text-center border-bottom">{{t "newevent.pagetitle" }}</h2>
+<h2 class="mb-3 pb-2 text-center border-bottom">{{t "views.newevent.pagetitle" }}</h2>
<div class="container-fluid mb-4">
<div class="row">
<div class="col-lg-4 p-2">
- <button type="button" id="showNewEventFormButton" class="button w-100" x-bind:class="currentTab === 'event' ? 'button--primary' : 'button--secondary'" x-on:click="currentTab = 'event'"><i class="fas fa-calendar-day"></i> {{t "newevent.neweventbutton" }}</button>
+ <button type="button" id="showNewEventFormButton" class="button w-100" x-bind:class="currentTab === 'event' ? 'button--primary' : 'button--secondary'" x-on:click="currentTab = 'event'"><i class="fas fa-calendar-day"></i> {{t "views.newevent.neweventbutton" }}</button>
</div>
<div class="col-lg-4 p-2">
- <button type="button" id="showImportEventFormButton" class="button w-100" x-bind:class="currentTab === 'importEvent' ? 'button--primary' : 'button--secondary'" x-on:click="currentTab = 'importEvent'"><i class="fas fa-file-import"></i> {{t "newevent.importevent" }}</button>
+ <button type="button" id="showImportEventFormButton" class="button w-100" x-bind:class="currentTab === 'importEvent' ? 'button--primary' : 'button--secondary'" x-on:click="currentTab = 'importEvent'"><i class="fas fa-file-import"></i> {{t "views.newevent.importevent" }}</button>
</div>
<div class="col-lg-4 p-2">
- <button type="button" id="showNewEventGroupFormButton" class="button w-100" x-bind:class="currentTab === 'group' ? 'button--primary' : 'button--secondary'" x-on:click="currentTab = 'group'"><i class="fas fa-calendar-alt"></i> {{t "newevent.neweventgroup" }} </button>
+ <button type="button" id="showNewEventGroupFormButton" class="button w-100" x-bind:class="currentTab === 'group' ? 'button--primary' : 'button--secondary'" x-on:click="currentTab = 'group'"><i class="fas fa-calendar-alt"></i> {{t "views.newevent.neweventgroup" }} </button>
</div>
</div>
</div>
<div class="alert alert-info mb-4 text-center" role="alert">
- <i class="fas fa-exclamation-circle"></i> {{{t "newevent.visiblealert" }}}
+ <i class="fas fa-exclamation-circle"></i> {{{t "views.newevent.visiblealert" }}}
</div>
<div id="newEventFormContainer" x-show="currentTab === 'event'" style="display: none">
- <h4 class="mb-2">{{t "newevent.createnew" }}</h4>
+ <h4 class="mb-2">{{t "views.newevent.createnew" }}</h4>
<form
id="newEventForm"
enctype="multipart/form-data"
@@ -38,7 +38,7 @@
class="button button--primary w-50"
x-bind:disabled="submitting"
x-bind:class="submitting ? 'button--loading' : ''"
- x-text="submitting ? '{{t "creating" }}' : '{{t "create" }}'"
+ x-text="submitting ? '{{t "common.creating" }}' : '{{t "common.create" }}'"
></button>
</div>
</div>
@@ -50,9 +50,9 @@
</div>
<div id="newEventGroupFormContainer" x-show="currentTab === 'group'" style="display: none">
- <h4 class="mb-2">{{t "newevent.newgroup" }}</h4>
- <p class="text-muted">{{t "newevent.groupdesc" }}</p>
- <p class="text-muted">{{{t "newevent.groupattention" }}}</p>
+ <h4 class="mb-2">{{t "views.newevent.newgroup" }}</h4>
+ <p class="text-muted">{{t "views.newevent.groupdesc" }}</p>
+ <p class="text-muted">{{{t "views.newevent.groupattention" }}}</p>
<form id="newEventGroupForm" enctype="multipart/form-data" x-data="newEventGroupForm()" @submit.prevent="submitForm">
{{> eventGroupForm }}
<div class="form-group row">
@@ -62,7 +62,7 @@
class="button button--primary w-50"
x-bind:disabled="submitting"
x-bind:class="submitting ? 'button--loading' : ''"
- x-text="submitting ? '{{t "creating" }}' : '{{t "create" }}'"
+ x-text="submitting ? '{{t "common.creating" }}' : '{{t "common.create" }}'"
></button>
</div>
</div>