Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ProcessMaker/Http/Controllers/RequestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function index($type = null)
$this->authorize('view-all_requests');
}

$title = 'My Request';
$title = 'My Requests';

$types = ['all'=>'All Requests', 'in_progress'=>'Requests In Progress', 'completed'=>'Completed Requests'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="tw-w-full">
<InputLeading
v-model="model"
placeholder="Search here"
:placeholder="$t('Search here')"
data-test="search-cases-list"
@change="onChange"
@keypress="onKeypress" />
Expand Down
12 changes: 6 additions & 6 deletions resources/js/processes/screens/components/ScreenTypeDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export default {
isDisabled: false,
selectedType: {
type: "FORM",
typeHuman: "Form",
typeHuman: this.$t("Form"),
icon: "fas fa-file",
description: "Design interactive and complex multi-page forms.",
description: this.$t("Design interactive and complex multi-page forms."),
},
};
},
Expand Down Expand Up @@ -89,25 +89,25 @@ export default {
switch (screenType) {
case "FORM":
type = "FORM";
typeHuman = "Form";
typeHuman = this.$t("Form");
icon = "fas fa-file";
description = this.$t("Design interactive and complex multi-page forms.");
break;
case "EMAIL":
type = "EMAIL";
typeHuman = "E-mail";
typeHuman = this.$t("E-mail");
icon = "fas fa-envelope";
description = this.$t("Compose the email body for email messages.");
break;
case "DISPLAY":
type = "DISPLAY";
typeHuman = "Display";
typeHuman = this.$t("Display");
icon = "fas fa-desktop";
description = this.$t("Display information or allow Request participants to download files.");
break;
case "CONVERSATIONAL":
type = "CONVERSATIONAL";
typeHuman = "Conversational";
typeHuman = this.$t("Conversational");
icon = "fas fa-comment";
description = this.$t("Design functional rule-based modern chat style experiences.");
break;
Expand Down
9 changes: 6 additions & 3 deletions resources/jscomposition/cases/casesMain/CasesMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
<div
class="tw-mx-4 tw-p-4 tw-bg-white tw-rounded-2xl
tw-border-gray-200 tw-border tw-space-y-4 tw-flex
tw-flex-col tw-overflow-hidden tw-grow tw-shadow-md">
tw-flex-col tw-overflow-hidden tw-grow tw-shadow-md"
>
<AppCounters
:data="countersData"
:active="indexCounter"
class="tw-w-full"
@change="onChangeCounter" />
@change="onChangeCounter"
/>
<RouterView :key="route.fullPath" />
</div>
</div>
Expand All @@ -20,6 +22,7 @@ import {
ref, onMounted, watch, onUnmounted,
} from "vue";
import { useRouter, useRoute } from "vue-router/composables";
import { t } from "i18next";
import AppCounters from "./components/AppCounters.vue";
import { formatCounters } from "./utils/counters";
import { getCounters } from "./api";
Expand Down Expand Up @@ -55,7 +58,7 @@ const updateBreadcrum = () => {
const index = indexCounter.value ?? 0;
pages.value = [
configHomeBreadcrum(),
{ name: "Cases", href: "/cases", current: false },
{ name: t("Cases"), href: "/cases", current: false },
];

pages.value.push({ name: countersData.value[index].header, current: true });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="tw-w-full">
<InputLeading
v-model="model"
placeholder="Search here"
:placeholder="$t('Search here')"
data-test="search-cases-list"
@change="onChange"
@keypress="onKeypress" />
Expand Down
Loading