updated docs
This commit is contained in:
0
web_services/web-controllers/languages/a.txt
Normal file
0
web_services/web-controllers/languages/a.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
const buildingEn = {
|
||||
building: "Building First Layer Label",
|
||||
};
|
||||
|
||||
const buildingPartsEn = {
|
||||
...buildingEn,
|
||||
parts: "Parts Second Layer Label",
|
||||
};
|
||||
|
||||
const buildingPartsFieldsEn = {
|
||||
"Users.uuid": "UUID",
|
||||
"Users.firstName": "First Name",
|
||||
"Users.lastName": "Last Name",
|
||||
"Users.email": "Email",
|
||||
"Users.phoneNumber": "Phone Number",
|
||||
"Users.country": "Country",
|
||||
"Users.description": "Description",
|
||||
"Users.isDeleted": "Is Deleted",
|
||||
"Users.isConfirmed": "Is Confirmed",
|
||||
"Users.createdAt": "Created At",
|
||||
"Users.updatedAt": "Updated At",
|
||||
};
|
||||
|
||||
export { buildingEn, buildingPartsEn, buildingPartsFieldsEn };
|
||||
@@ -0,0 +1,23 @@
|
||||
const buildingTr = {
|
||||
building: "Bina Birinci Seviye",
|
||||
};
|
||||
const buildingPartsTr = {
|
||||
...buildingTr,
|
||||
parts: "Parçalar İkinci Seviye",
|
||||
};
|
||||
|
||||
const buildingPartsFieldsTr = {
|
||||
"Users.uuid": "UUID",
|
||||
"Users.firstName": "Ad",
|
||||
"Users.lastName": "Soyad",
|
||||
"Users.email": "Email",
|
||||
"Users.phoneNumber": "Telefon Numarası",
|
||||
"Users.country": "Ülke",
|
||||
"Users.description": "Açıklama",
|
||||
"Users.isDeleted": "Silindi",
|
||||
"Users.isConfirmed": "Onaylandı",
|
||||
"Users.createdAt": "Oluşturulma Tarihi",
|
||||
"Users.updatedAt": "Güncellenme Tarihi",
|
||||
};
|
||||
|
||||
export { buildingTr, buildingPartsTr, buildingPartsFieldsTr };
|
||||
14
web_services/web-controllers/languages/custom/index.ts
Normal file
14
web_services/web-controllers/languages/custom/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { LanguageTypes } from "@/validations/mutual/language/validations";
|
||||
import { DynamicPage } from "@/schemas/custom/menu/type";
|
||||
import { managementAccountTenantMain } from "./management/account/tenantSomething/index";
|
||||
import { managementAccountTenantMainSecond } from "./management/account/tenantSomethingSecond/index";
|
||||
import { buildingPartsTenantSomething } from "./building/parts/tenantSomething/index";
|
||||
|
||||
const dynamicPagesIndex: Record<string, Record<LanguageTypes, DynamicPage>> = {
|
||||
"management/account/tenant/something": managementAccountTenantMain,
|
||||
"management/account/tenant/somethingSecond":
|
||||
managementAccountTenantMainSecond,
|
||||
"building/parts/tenant/something": buildingPartsTenantSomething,
|
||||
};
|
||||
|
||||
export { dynamicPagesIndex };
|
||||
@@ -0,0 +1,39 @@
|
||||
import { footerDefaultEn } from "@/languages/mutual/footer/english";
|
||||
import { headerDefaultEn } from "@/languages/mutual/header/english";
|
||||
import { managementAccountEn, managementAccountFieldsEn } from "../../english";
|
||||
import { contentDefaultEn } from "@/languages/mutual/content/english";
|
||||
|
||||
const contentManagementAccountTenantSomethingEn = {
|
||||
...managementAccountFieldsEn,
|
||||
title: "Management Account Tenant Something",
|
||||
content: "Management Account Tenant Something Content",
|
||||
button: "Management Account Tenant Something Button",
|
||||
};
|
||||
const footerManagementAccountTenantSomethingEn = {
|
||||
...footerDefaultEn,
|
||||
page: "Management Account Tenant Something Footer",
|
||||
};
|
||||
const headerManagementAccountTenantSomethingEn = {
|
||||
...headerDefaultEn,
|
||||
page: "Management Account Tenant Something Header",
|
||||
};
|
||||
|
||||
const menuManagementAccountTenantSomethingEn = {
|
||||
...managementAccountEn,
|
||||
"tenant/something": "Tenant Info",
|
||||
};
|
||||
|
||||
const managementAccountTenantMainEn = {
|
||||
header: headerManagementAccountTenantSomethingEn,
|
||||
menu: menuManagementAccountTenantSomethingEn,
|
||||
content: contentManagementAccountTenantSomethingEn,
|
||||
footer: footerManagementAccountTenantSomethingEn,
|
||||
};
|
||||
|
||||
export {
|
||||
contentManagementAccountTenantSomethingEn,
|
||||
footerManagementAccountTenantSomethingEn,
|
||||
headerManagementAccountTenantSomethingEn,
|
||||
menuManagementAccountTenantSomethingEn,
|
||||
managementAccountTenantMainEn,
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
import { managementAccountTenantMainTr } from "./turkish";
|
||||
import { managementAccountTenantMainEn } from "./english";
|
||||
|
||||
const managementAccountTenantMain = {
|
||||
tr: managementAccountTenantMainTr,
|
||||
en: managementAccountTenantMainEn,
|
||||
}
|
||||
|
||||
export { managementAccountTenantMain }
|
||||
@@ -0,0 +1,36 @@
|
||||
import { footerDefaultTr } from "@/languages/mutual/footer/turkish";
|
||||
import { headerDefaultTr } from "@/languages/mutual/header/turkish";
|
||||
import { managementAccountTr } from "../../turkish";
|
||||
|
||||
const contentManagementAccountTenantSomethingTr = {
|
||||
title: "Yönetim Hesap Kiracı Bilgileri",
|
||||
description: "Yönetim Hesap Kiracı Bilgileri",
|
||||
button: "Yönetim Hesap Kiracı Bilgileri Buton",
|
||||
};
|
||||
const footerManagementAccountTenantSomethingTr = {
|
||||
...footerDefaultTr,
|
||||
page: "Yönetim Hesap Kiracı Bilgileri Footer",
|
||||
};
|
||||
const headerManagementAccountTenantSomethingTr = {
|
||||
...headerDefaultTr,
|
||||
page: "Yönetim Hesap Kiracı Bilgileri Header",
|
||||
};
|
||||
|
||||
const menuManagementAccountTenantSomethingTr = {
|
||||
...managementAccountTr,
|
||||
"tenant/something": "Kiracı Bilgileri",
|
||||
};
|
||||
const managementAccountTenantMainTr = {
|
||||
header: headerManagementAccountTenantSomethingTr,
|
||||
menu: menuManagementAccountTenantSomethingTr,
|
||||
content: contentManagementAccountTenantSomethingTr,
|
||||
footer: footerManagementAccountTenantSomethingTr,
|
||||
};
|
||||
|
||||
export {
|
||||
contentManagementAccountTenantSomethingTr,
|
||||
footerManagementAccountTenantSomethingTr,
|
||||
headerManagementAccountTenantSomethingTr,
|
||||
menuManagementAccountTenantSomethingTr,
|
||||
managementAccountTenantMainTr,
|
||||
};
|
||||
@@ -0,0 +1,40 @@
|
||||
import { footerDefaultEn } from "@/languages/mutual/footer/english";
|
||||
import { headerDefaultEn } from "@/languages/mutual/header/english";
|
||||
import { contentDefaultEn } from "@/languages/mutual/content/english";
|
||||
import { managementAccountEn, managementAccountFieldsEn } from "../../english";
|
||||
|
||||
const contentManagementAccountTenantSomethingSecondEn = {
|
||||
...contentDefaultEn,
|
||||
...managementAccountFieldsEn,
|
||||
title: "Management Account Tenant Something",
|
||||
content: "Management Account Tenant Something Content",
|
||||
button: "Management Account Tenant Something Button",
|
||||
};
|
||||
const footerManagementAccountTenantSomethingSecondEn = {
|
||||
...footerDefaultEn,
|
||||
page: "Management Account Tenant Something Second Footer",
|
||||
};
|
||||
const headerManagementAccountTenantSomethingSecondEn = {
|
||||
...headerDefaultEn,
|
||||
page: "Management Account Tenant Something Second Header",
|
||||
};
|
||||
|
||||
const menuManagementAccountTenantSomethingSecondEn = {
|
||||
...managementAccountEn,
|
||||
"tenant/somethingSecond": "Tenant Info Second",
|
||||
};
|
||||
|
||||
const managementAccountTenantMainSecondEn = {
|
||||
header: headerManagementAccountTenantSomethingSecondEn,
|
||||
menu: menuManagementAccountTenantSomethingSecondEn,
|
||||
content: contentManagementAccountTenantSomethingSecondEn,
|
||||
footer: footerManagementAccountTenantSomethingSecondEn,
|
||||
};
|
||||
|
||||
export {
|
||||
contentManagementAccountTenantSomethingSecondEn,
|
||||
footerManagementAccountTenantSomethingSecondEn,
|
||||
headerManagementAccountTenantSomethingSecondEn,
|
||||
menuManagementAccountTenantSomethingSecondEn,
|
||||
managementAccountTenantMainSecondEn,
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
import { managementAccountTenantMainSecondTr } from "./turkish";
|
||||
import { managementAccountTenantMainSecondEn } from "./english";
|
||||
|
||||
const managementAccountTenantMainSecond = {
|
||||
tr: managementAccountTenantMainSecondTr,
|
||||
en: managementAccountTenantMainSecondEn,
|
||||
};
|
||||
|
||||
export { managementAccountTenantMainSecond };
|
||||
@@ -0,0 +1,37 @@
|
||||
import { footerDefaultTr } from "@/languages/mutual/footer/turkish";
|
||||
import { headerDefaultTr } from "@/languages/mutual/header/turkish";
|
||||
import { managementAccountTr, managementAccountFieldsTr } from "../../turkish";
|
||||
|
||||
const contentManagementAccountTenantSomethingSecondTr = {
|
||||
...managementAccountFieldsTr,
|
||||
title: "Yönetim Hesap Kiracı Bilgileri",
|
||||
description: "Yönetim Hesap Kiracı Bilgileri",
|
||||
button: "Yönetim Hesap Kiracı Bilgileri Buton",
|
||||
};
|
||||
const footerManagementAccountTenantSomethingSecondTr = {
|
||||
...footerDefaultTr,
|
||||
page: "Yönetim Hesap Kiracı Bilgileri Footer",
|
||||
};
|
||||
const headerManagementAccountTenantSomethingSecondTr = {
|
||||
...headerDefaultTr,
|
||||
page: "Yönetim Hesap Kiracı Bilgileri Header",
|
||||
};
|
||||
|
||||
const menuManagementAccountTenantSomethingSecondTr = {
|
||||
...managementAccountTr,
|
||||
"tenant/somethingSecond": "İkinci Kiracı Bilgileri",
|
||||
};
|
||||
const managementAccountTenantMainSecondTr = {
|
||||
header: headerManagementAccountTenantSomethingSecondTr,
|
||||
menu: menuManagementAccountTenantSomethingSecondTr,
|
||||
content: contentManagementAccountTenantSomethingSecondTr,
|
||||
footer: footerManagementAccountTenantSomethingSecondTr,
|
||||
};
|
||||
|
||||
export {
|
||||
contentManagementAccountTenantSomethingSecondTr,
|
||||
footerManagementAccountTenantSomethingSecondTr,
|
||||
headerManagementAccountTenantSomethingSecondTr,
|
||||
menuManagementAccountTenantSomethingSecondTr,
|
||||
managementAccountTenantMainSecondTr,
|
||||
};
|
||||
@@ -0,0 +1,23 @@
|
||||
const managementEn = {
|
||||
management: "Management First Layer Label",
|
||||
};
|
||||
|
||||
const managementAccountEn = {
|
||||
...managementEn,
|
||||
account: "Account Second Layer Label",
|
||||
};
|
||||
|
||||
const managementAccountFieldsEn = {
|
||||
"User.firstName": "First Name",
|
||||
"User.lastName": "Last Name",
|
||||
"User.email": "Email",
|
||||
"User.phoneNumber": "Phone Number",
|
||||
"User.country": "Country",
|
||||
"User.description": "Description",
|
||||
"User.isDeleted": "Is Deleted",
|
||||
"User.isConfirmed": "Is Confirmed",
|
||||
"User.createdAt": "Created At",
|
||||
"User.updatedAt": "Updated At",
|
||||
};
|
||||
|
||||
export { managementEn, managementAccountEn, managementAccountFieldsEn };
|
||||
@@ -0,0 +1,22 @@
|
||||
const managementTr = {
|
||||
management: "Management Birinci Seviye",
|
||||
};
|
||||
const managementAccountTr = {
|
||||
...managementTr,
|
||||
account: "Account İkinci Seviye",
|
||||
};
|
||||
|
||||
const managementAccountFieldsTr = {
|
||||
"User.firstName": "Ad",
|
||||
"User.lastName": "Soyad",
|
||||
"User.email": "Email",
|
||||
"User.phoneNumber": "Telefon Numarası",
|
||||
"User.country": "Ülke",
|
||||
"User.description": "Açıklama",
|
||||
"User.isDeleted": "Silindi",
|
||||
"User.isConfirmed": "Onaylandı",
|
||||
"User.createdAt": "Oluşturulma Tarihi",
|
||||
"User.updatedAt": "Güncellenme Tarihi",
|
||||
};
|
||||
|
||||
export { managementTr, managementAccountTr, managementAccountFieldsTr };
|
||||
@@ -0,0 +1,8 @@
|
||||
const contentDefaultEn = {
|
||||
title: "Content Default",
|
||||
content: "Content Default",
|
||||
button: "Content Default",
|
||||
rows: "Rows",
|
||||
};
|
||||
|
||||
export { contentDefaultEn };
|
||||
@@ -0,0 +1,9 @@
|
||||
import { contentDefaultTr } from "./turkish";
|
||||
import { contentDefaultEn } from "./english";
|
||||
|
||||
const contentDefault = {
|
||||
tr: contentDefaultTr,
|
||||
en: contentDefaultEn,
|
||||
};
|
||||
|
||||
export { contentDefault };
|
||||
@@ -0,0 +1,8 @@
|
||||
const contentDefaultTr = {
|
||||
title: "İçerik Varsayılan",
|
||||
content: "İçerik Varsayılan",
|
||||
button: "İçerik Varsayılan",
|
||||
rows: "Satır",
|
||||
};
|
||||
|
||||
export { contentDefaultTr };
|
||||
@@ -0,0 +1,5 @@
|
||||
const dashboardTranslationEn = {
|
||||
title: "Dashboard Panel",
|
||||
};
|
||||
|
||||
export { dashboardTranslationEn };
|
||||
@@ -0,0 +1,7 @@
|
||||
import { dashboardTranslationEn } from "./english";
|
||||
import { dashboardTranslationTr } from "./turkish";
|
||||
|
||||
export const dashboardTranslation = {
|
||||
en: dashboardTranslationEn,
|
||||
tr: dashboardTranslationTr,
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
const dashboardTranslationTr = {
|
||||
title: "Yönetim Panosu",
|
||||
};
|
||||
|
||||
export { dashboardTranslationTr };
|
||||
@@ -0,0 +1,6 @@
|
||||
const footerDefaultEn = {
|
||||
description: "Footer Default",
|
||||
footer: "Footer Info",
|
||||
};
|
||||
|
||||
export { footerDefaultEn };
|
||||
@@ -0,0 +1,6 @@
|
||||
const footerDefaultTr = {
|
||||
description: "Footer Bilgi",
|
||||
footer: "Alt Bilgi",
|
||||
};
|
||||
|
||||
export { footerDefaultTr };
|
||||
@@ -0,0 +1,5 @@
|
||||
const headerDefaultEn = {
|
||||
selectedPage: "Selected Page",
|
||||
};
|
||||
|
||||
export { headerDefaultEn };
|
||||
@@ -0,0 +1,5 @@
|
||||
const headerDefaultTr = {
|
||||
selectedPage: "Seçili Sayfa",
|
||||
};
|
||||
|
||||
export { headerDefaultTr };
|
||||
@@ -0,0 +1,7 @@
|
||||
const languageSelectionTranslationEn = {
|
||||
title: "Language Selection",
|
||||
english: "English",
|
||||
turkish: "Turkish",
|
||||
};
|
||||
|
||||
export { languageSelectionTranslationEn };
|
||||
@@ -0,0 +1,7 @@
|
||||
import { languageSelectionTranslationEn } from "./english";
|
||||
import { languageSelectionTranslationTr } from "./turkish";
|
||||
|
||||
export const languageSelectionTranslation = {
|
||||
en: languageSelectionTranslationEn,
|
||||
tr: languageSelectionTranslationTr
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
const languageSelectionTranslationTr = {
|
||||
title: "Dil Seçimi",
|
||||
english: "İngilizce",
|
||||
turkish: "Türkçe",
|
||||
};
|
||||
|
||||
export { languageSelectionTranslationTr };
|
||||
@@ -0,0 +1,11 @@
|
||||
const menuTranslationEn = {
|
||||
"/management/account/something/something/something": "Account Third Layer",
|
||||
"/management/account": "Account Second Layer",
|
||||
"/management": "Management First Layer",
|
||||
};
|
||||
const menuIndex = [
|
||||
"/management/account/something/something/something",
|
||||
"/building/parts/something/something/something",
|
||||
];
|
||||
|
||||
export { menuTranslationEn, menuIndex };
|
||||
@@ -0,0 +1,7 @@
|
||||
import { menuTranslationEn } from "./english";
|
||||
import { menuTranslationTr } from "./turkish";
|
||||
|
||||
export const menuTranslation = {
|
||||
en: menuTranslationEn,
|
||||
tr: menuTranslationTr,
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
const menuTranslationTr = {};
|
||||
|
||||
export { menuTranslationTr };
|
||||
@@ -0,0 +1,5 @@
|
||||
const dashboardTranslationEn = {
|
||||
title: "Dashboard Panel",
|
||||
};
|
||||
|
||||
export { dashboardTranslationEn };
|
||||
@@ -0,0 +1,7 @@
|
||||
import { dashboardTranslationEn } from "./english";
|
||||
import { dashboardTranslationTr } from "./turkish";
|
||||
|
||||
export const dashboardTranslation = {
|
||||
en: dashboardTranslationEn,
|
||||
tr: dashboardTranslationTr,
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
const dashboardTranslationTr = {
|
||||
title: "Yönetim Panosu",
|
||||
};
|
||||
|
||||
export { dashboardTranslationTr };
|
||||
Reference in New Issue
Block a user