diff --git a/js/src/components/Home/MobilizonPresentation.vue b/js/src/components/Home/MobilizonPresentation.vue index a0e124266..47a8a114d 100644 --- a/js/src/components/Home/MobilizonPresentation.vue +++ b/js/src/components/Home/MobilizonPresentation.vue @@ -5,40 +5,43 @@

{{ t("A practical tool") }}

-

+ keypath="Mobilizon is a tool that helps you {find_create_organize_events}." + > + +

{{ t("An ethical alternative") }}

-

+ keypath="Ethical alternative to Facebook events, groups and pages, Mobilizon is a {tool_designed_to_serve_you}. Period." + > + +

{{ t("A federated software") }}

-

+ keypath="Mobilizon is not a giant platform, but a {multitude_of_interconnected_mobilizon_websites}." + > + +

diff --git a/js/src/components/Resource/DraggableList.vue b/js/src/components/Resource/DraggableList.vue index d8ec0f26e..c35841d24 100644 --- a/js/src/components/Resource/DraggableList.vue +++ b/js/src/components/Resource/DraggableList.vue @@ -9,9 +9,13 @@
{{ - $tc("No resources selected", validCheckedResources.length, { - count: validCheckedResources.length, - }) + $t( + "No resources selected", + { + count: validCheckedResources.length, + }, + validCheckedResources.length + ) }} diff --git a/js/src/views/HomeView.vue b/js/src/views/HomeView.vue index bd6b0200a..2e7507dd8 100644 --- a/js/src/views/HomeView.vue +++ b/js/src/views/HomeView.vue @@ -144,21 +144,33 @@ v-if="isInLessThanSevenDays(row[0])" > {{ - $tc("You have one event today.", row[1].size, { - count: row[1].size, - }) + $t( + "You have one event today.", + { + count: row[1].size, + }, + row[1].size + ) }} {{ - $tc("You have one event tomorrow.", row[1].size, { - count: row[1].size, - }) + $t( + "You have one event tomorrow.", + { + count: row[1].size, + }, + row[1].size + ) }} {{ - $tc("You have one event in {days} days.", row[1].size, { - count: row[1].size, - days: calculateDiffDays(row[0]), - }) + $t( + "You have one event in {days} days.", + { + count: row[1].size, + days: calculateDiffDays(row[0]), + }, + row[1].size + ) }}

@@ -223,10 +235,10 @@

{{ - $tc("Within {number} kilometers of {place}", radius, { + $t("Within {number} kilometers of {place}", { radius, place: locationName, - }) + }, radius) }}

{{ - $tc("{title} ({count} todos)", todoList.todos.total, { - count: todoList.todos.total, - title: todoList.title, - }) + $t( + "{title} ({count} todos)", + { + count: todoList.todos.total, + title: todoList.title, + }, + todoList.todos.total + ) }}