added application page

This commit is contained in:
2025-04-28 02:30:06 +03:00
parent 346b132f4c
commit ac344773c5
27 changed files with 1796 additions and 347 deletions

View File

@@ -0,0 +1,42 @@
export type LanguageKey = "en" | "tr";
export interface TranslationSet {
showing: string;
of: string;
items: string;
total: string;
filtered: string;
page: string;
previous: string;
next: string;
itemsPerPage: string;
};
export const translations: Record<LanguageKey, TranslationSet> = {
en: {
showing: "Showing",
of: "of",
items: "items",
total: "Total",
filtered: "Filtered",
page: "Page",
previous: "Previous",
next: "Next",
itemsPerPage: "Items per page",
},
tr: {
showing: "Gösteriliyor",
of: "/",
items: "öğe",
total: "Toplam",
filtered: "Filtrelenmiş",
page: "Sayfa",
previous: "Önceki",
next: "Sonraki",
itemsPerPage: "Sayfa başına öğe",
},
};
export function getTranslation(lang: LanguageKey): TranslationSet {
return translations[lang];
}