Skip to content

Commit

Permalink
translation changes (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
fahad-aot authored Nov 15, 2023
1 parent af443ea commit 4b542b1
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion forms-flow-admin/src/components/dashboard/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export const InsightDashboard = React.memo((props: any) => {
value: 100,
},
{
text: "All",
text: t("All"),
value: authDashBoardList.length
},
];
Expand Down
6 changes: 4 additions & 2 deletions forms-flow-admin/src/components/roles/roles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ const Roles = React.memo((props: any) => {
placeholder={t("Eg: Account Manager")}
required
onChange={handleChangeName}
title={t("Enter role name")}
/>
<Form.Label className="mt-2">{t("Description")}</Form.Label>
<i style={{ color: "red" }}>*</i>
Expand All @@ -291,6 +292,7 @@ const Roles = React.memo((props: any) => {
placeholder="Eg: Lorem ipsum..."
rows={3}
onChange={handleChangeDescription}
title={t("Enter Description")}
/>
</Form.Group>
</Form>
Expand Down Expand Up @@ -392,7 +394,7 @@ const Roles = React.memo((props: any) => {
value: 100,
},
{
text: "All",
text: t("All"),
value: roles.length,
},
];
Expand Down Expand Up @@ -519,7 +521,7 @@ const Roles = React.memo((props: any) => {
className="search-role-input"
onChange={handlFilter}
value={search}
title={t("Search here")}
title={t("Search...")}
/>

{search.length > 0 && (
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-admin/src/components/users/users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ const Users = React.memo((props: any) => {
className="search-role-input"
onChange={handleSearch}
value={props.search || ""}
title={t("Search here")}
title={t("Search...")}
/>
{props.search?.length > 0 && (
<Button
Expand Down
3 changes: 3 additions & 0 deletions forms-flow-service/src/resourceBundles/bg/resourceBundles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* eslint-disable max-len */
export const RESOURCE_BUNDLES_BG = {
"results": "Резултати",
"Enter role name": "Въведете името на ролята",
"Public": "Публичен",
"View Submitted Form": "Преглед на представен формуляр",
"View Draft Details": "Преглед на детайлите на черновата",
"Edit Draft": "Редактиране на черновата",
Expand Down
3 changes: 3 additions & 0 deletions forms-flow-service/src/resourceBundles/de/resourceBundles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* eslint-disable max-len */
export const RESOURCE_BUNDLES_DE = {
"results": "Ergebnisse",
"Enter role name": "Rollenname eingeben",
"Public": "Öffentlich",
"View Submitted Form": "Eingereichtes Formular anzeigen",
"View Draft Details": "Entwurfsdetails anzeigen",
"Edit Draft": "Entwurf bearbeiten",
Expand Down
3 changes: 3 additions & 0 deletions forms-flow-service/src/resourceBundles/en/resourceBundles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* eslint-disable max-len */
export const RESOURCE_BUNDLES_EN = {
"results": "Results",
"Enter role name": "Enter role name",
"Public": "Public",
"View Submitted Form": "View Submitted Form",
"View Draft Details": "View Draft Details",
"Edit Draft": "Edit Draft",
Expand Down
3 changes: 3 additions & 0 deletions forms-flow-service/src/resourceBundles/fr/resourceBundles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* eslint-disable max-len */
export const RESOURCE_BUNDLES_FR = {
"results": "Résultats",
"Enter role name": "Entrez le nom du rôle",
"Public": "Public",
"View Submitted Form": "Voir le formulaire soumis",
"View Draft Details": "Voir les détails du brouillon",
"Edit Draft": "Éditer le brouillon",
Expand Down
3 changes: 3 additions & 0 deletions forms-flow-service/src/resourceBundles/pt/resourceBundles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* eslint-disable max-len */
export const RESOURCE_BUNDLES_PT = {
"results": "Resultados",
"Enter role name": "Digite o nome da função",
"Public": "Público",
"View Submitted Form": "Ver Formulário Enviado",
"View Draft Details": "Ver Detalhes do Rascunho",
"Edit Draft": "Editar Rascunho",
Expand Down
3 changes: 3 additions & 0 deletions forms-flow-service/src/resourceBundles/zh/resourceBundles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* eslint-disable max-len */
export const RESOURCE_BUNDLES_ZH = {
"results": "结果",
"Enter role name": "输入角色名称",
"Public": "公开",
"View Submitted Form": "查看已提交的表单",
"View Draft Details": "查看草稿详情",
"Edit Draft": "编辑草稿",
Expand Down

0 comments on commit 4b542b1

Please sign in to comment.