locale upgrade
This commit is contained in:
108
types/translations.ts
Normal file
108
types/translations.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
/**
|
||||
* Type Definitions für Directus-basierte Translations
|
||||
* Jede Section hat ihre eigenen Translation Props
|
||||
*/
|
||||
|
||||
export interface NavTranslations {
|
||||
home: string;
|
||||
about: string;
|
||||
projects: string;
|
||||
contact: string;
|
||||
}
|
||||
|
||||
export interface FooterTranslations {
|
||||
role: string;
|
||||
description: string;
|
||||
links: {
|
||||
privacy: string;
|
||||
imprint: string;
|
||||
};
|
||||
copyright: string;
|
||||
madeWith: string;
|
||||
resetConsent: string;
|
||||
}
|
||||
|
||||
export interface HeroTranslations {
|
||||
greeting: string;
|
||||
name: string;
|
||||
role: string;
|
||||
description: string;
|
||||
cta: {
|
||||
projects: string;
|
||||
contact: string;
|
||||
};
|
||||
features: {
|
||||
f1: string;
|
||||
f2: string;
|
||||
f3: string;
|
||||
};
|
||||
scrollDown: string;
|
||||
}
|
||||
|
||||
export interface AboutTranslations {
|
||||
title: string;
|
||||
description: string;
|
||||
techStack: {
|
||||
title: string;
|
||||
categories: {
|
||||
frontendMobile: string;
|
||||
backendDevops: string;
|
||||
toolsAutomation: string;
|
||||
securityAdmin: string;
|
||||
};
|
||||
items: {
|
||||
selfHostedServices: string;
|
||||
};
|
||||
};
|
||||
interests: {
|
||||
title: string;
|
||||
cybersecurity: {
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
selfHosting: {
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
gaming: {
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
automation: {
|
||||
title: string;
|
||||
description: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
export interface ProjectsTranslations {
|
||||
title: string;
|
||||
viewAll: string;
|
||||
}
|
||||
|
||||
export interface ContactTranslations {
|
||||
title: string;
|
||||
description: string;
|
||||
form: {
|
||||
name: string;
|
||||
email: string;
|
||||
message: string;
|
||||
send: string;
|
||||
sending: string;
|
||||
success: string;
|
||||
error: string;
|
||||
};
|
||||
info: {
|
||||
title: string;
|
||||
email: string;
|
||||
response: string;
|
||||
emailLabel: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ConsentTranslations {
|
||||
title: string;
|
||||
description: string;
|
||||
accept: string;
|
||||
decline: string;
|
||||
}
|
||||
Reference in New Issue
Block a user