docs: update import paths to legacy for consistency

- Revised documentation links to point to the legacy import paths across multiple files, ensuring uniformity in referencing legacy resources.
- This change enhances clarity and maintains consistency in the documentation structure.
This commit is contained in:
Marvin
2026-04-10 01:42:07 +02:00
parent 7f8070fe2a
commit a5a34940a1
12 changed files with 2 additions and 777 deletions

View File

@@ -1,54 +0,0 @@
import type { HomepageContent } from './types';
import { homepageShellEn } from './sharedLinks';
export const es: HomepageContent = {
...homepageShellEn,
heroLine1: 'HUB DE MODDING DATACENTER.',
heroLine2: 'SÉ INTELIGENTE. SÉ COMO GREG.',
heroSub1: 'Claro. Flexible. Impulsado por la comunidad.',
heroSub2: 'gregFramework, stacks Rust, multijugador y plugins.',
ctaStart: 'EMPEZAR MODDING',
ctaMods: 'MODS Y PLUGINS STANDALONE DISPONIBLES',
docsPaths: 'Rutas de documentación',
featureTitles: ['Modding doble vía', 'Puente de hooks runtime', 'Docs desde wiki', 'Ecosistema comunidad'],
featureDescriptions: [
'Crea mods en C# o en Rust nativo vía C-ABI/FFI.',
'Parches Harmony, IDs de eventos y forwarding determinista.',
'Fuente oficial en .wiki para usuarios y modders.',
'Docs del framework core y de plugins standalone.',
],
comingSoon: 'Próximamente',
comingSoonText: '`datacentermods.com` está en preparación. Mientras tanto, usa `Docs Hub → Standalone Mods`.',
communityTitle: 'Comunidad y mantenedores',
communityText: 'Este portal reúne docs de gregFramework y plugins de la comunidad para el ecosistema Data Center.',
docsEndUserTitle: 'End-User',
docsEndUserDescription: 'Install, update, FAQ, troubleshooting.',
docsModDevsTitle: 'Mod-Devs',
docsModDevsDescription: 'Debug workflows, setup, hooks and references.',
docsContributorsTitle: 'Contributors',
docsContributorsDescription: 'Conventions, CI checks, contribution workflow.',
docsCapabilityTitle: 'Capability Matrix',
docsCapabilityDescription: 'Complete feature map and implementation use cases.',
ecosystemTitle: 'Ecosystem Coverage',
ecosystemCoreTitle: 'gregFramework core',
ecosystemCoreDescription: 'Hook system, FFI bridge, event contracts and runtime architecture.',
ecosystemCoreCta: 'Open core docs →',
ecosystemRustTitle: 'Standalone Rust',
ecosystemRustDescription: 'Rust/FFI implementation guides for external and standalone runtimes.',
ecosystemRustCta: 'Open Rust/FFI docs →',
ecosystemMultiplayerTitle: 'Multiplayer & Plugins',
ecosystemMultiplayerDescription: 'Multiplayer roadmap, plugin docs, and community module references.',
ecosystemMultiplayerCta: 'Open multiplayer docs →',
gregTitle: 'The Legend of Greg',
gregText1:
'Greg is the tireless server technician of this project. He looks like he has not slept for months, and he is usually quiet — but once a rack fails or a mod breaks, Greg is already there.',
gregText2:
'He quietly fulfills your wishes: more uptime, cleaner configs, better logs and less deployment drama. He does not ask much, he just ships.',
gregQuote: '"Be smart. Be like Greg."',
supportTitle: 'Support',
supportText: 'Report bugs, request docs for new community plugins, and track workstreams.',
supportCta: 'Open GitHub Issues',
availableModsLabel: 'Available Mods',
repositoryLabel: 'Repository',
joinLabel: 'JOIN',
};

View File

@@ -1,54 +0,0 @@
import type { HomepageContent } from './types';
import { homepageShellEn } from './sharedLinks';
export const fr: HomepageContent = {
...homepageShellEn,
heroLine1: 'HUB DE MODDING DATACENTER.',
heroLine2: 'SOYEZ MALIN, SOYEZ GREG.',
heroSub1: 'Simple. Flexible. Piloté par la communauté.',
heroSub2: 'gregFramework, stacks Rust, multijoueur et plugins.',
ctaStart: 'COMMENCER LE MODDING',
ctaMods: 'MODS & PLUGINS STANDALONE DISPONIBLES',
docsPaths: 'Parcours de documentation',
featureTitles: ['Modding double piste', 'Pont runtime hooks', 'Docs basées sur le wiki', 'Écosystème communauté'],
featureDescriptions: [
'Créez des mods en C# ou en Rust natif via C-ABI/FFI.',
'Patches Harmony, IDs dévénements et routage déterministe.',
'Source de vérité issue de .wiki pour users et moddeurs.',
'Docs du framework principal et des plugins standalone.',
],
comingSoon: 'Bientôt disponible',
comingSoonText: '`datacentermods.com` est en préparation. En attendant, consultez `Docs Hub → Standalone Mods`.',
communityTitle: 'Communauté & Mainteneurs',
communityText: 'Ce portail regroupe la doc gregFramework et les plugins communautaires de lécosystème Data Center.',
docsEndUserTitle: 'End-User',
docsEndUserDescription: 'Install, update, FAQ, troubleshooting.',
docsModDevsTitle: 'Mod-Devs',
docsModDevsDescription: 'Debug workflows, setup, hooks and references.',
docsContributorsTitle: 'Contributors',
docsContributorsDescription: 'Conventions, CI checks, contribution workflow.',
docsCapabilityTitle: 'Capability Matrix',
docsCapabilityDescription: 'Complete feature map and implementation use cases.',
ecosystemTitle: 'Ecosystem Coverage',
ecosystemCoreTitle: 'gregFramework core',
ecosystemCoreDescription: 'Hook system, FFI bridge, event contracts and runtime architecture.',
ecosystemCoreCta: 'Open core docs →',
ecosystemRustTitle: 'Standalone Rust',
ecosystemRustDescription: 'Rust/FFI implementation guides for external and standalone runtimes.',
ecosystemRustCta: 'Open Rust/FFI docs →',
ecosystemMultiplayerTitle: 'Multiplayer & Plugins',
ecosystemMultiplayerDescription: 'Multiplayer roadmap, plugin docs, and community module references.',
ecosystemMultiplayerCta: 'Open multiplayer docs →',
gregTitle: 'The Legend of Greg',
gregText1:
'Greg is the tireless server technician of this project. He looks like he has not slept for months, and he is usually quiet — but once a rack fails or a mod breaks, Greg is already there.',
gregText2:
'He quietly fulfills your wishes: more uptime, cleaner configs, better logs and less deployment drama. He does not ask much, he just ships.',
gregQuote: '"Be smart. Be like Greg."',
supportTitle: 'Support',
supportText: 'Report bugs, request docs for new community plugins, and track workstreams.',
supportCta: 'Open GitHub Issues',
availableModsLabel: 'Available Mods',
repositoryLabel: 'Repository',
joinLabel: 'JOIN',
};

View File

@@ -1,18 +1,10 @@
import { de } from './de';
import { en } from './en';
import { es } from './es';
import { fr } from './fr';
import { ja } from './ja';
import { ru } from './ru';
import type { HomepageContent, LocaleKey } from './types';
const homepageByLocale: Record<LocaleKey, HomepageContent> = {
en,
de,
fr,
es,
ru,
ja,
};
export type { HomepageContent, LocaleKey } from './types';

View File

@@ -1,54 +0,0 @@
import type { HomepageContent } from './types';
import { homepageShellEn } from './sharedLinks';
export const ja: HomepageContent = {
...homepageShellEn,
heroLine1: 'DATACENTER MODDING HUB.',
heroLine2: 'BE SMART. BE LIKE GREG.',
heroSub1: 'シンプル。柔軟。コミュニティ主導。',
heroSub2: 'gregFramework、Rustスタック、マルチプレイ、プラグインを網羅。',
ctaStart: 'MODDING を始める',
ctaMods: '利用可能な STANDALONE MODS & PLUGINS',
docsPaths: 'ドキュメント導線',
featureTitles: ['デュアルトラック Modding', 'ランタイム Hook Bridge', 'Wiki ベース Docs', 'コミュニティ エコシステム'],
featureDescriptions: [
'C# または Rust (C-ABI/FFI) で Mod を開発。',
'Harmony パッチ、Event ID、決定的な Hook 転送。',
'.wiki を source of truth としたユーザー/開発者向け導線。',
'Framework 本体と Standalone プラグインの情報を統合。',
],
comingSoon: '近日公開',
comingSoonText: '`datacentermods.com` は準備中です。公開まで `Docs Hub → Standalone Mods` をご利用ください。',
communityTitle: 'コミュニティ & メンテナー',
communityText: 'このポータルは Data Center エコシステム向けに gregFramework docs と community plugins をまとめています。',
docsEndUserTitle: 'End-User',
docsEndUserDescription: 'Install, update, FAQ, troubleshooting.',
docsModDevsTitle: 'Mod-Devs',
docsModDevsDescription: 'Debug workflows, setup, hooks and references.',
docsContributorsTitle: 'Contributors',
docsContributorsDescription: 'Conventions, CI checks, contribution workflow.',
docsCapabilityTitle: 'Capability Matrix',
docsCapabilityDescription: 'Complete feature map and implementation use cases.',
ecosystemTitle: 'Ecosystem Coverage',
ecosystemCoreTitle: 'gregFramework core',
ecosystemCoreDescription: 'Hook system, FFI bridge, event contracts and runtime architecture.',
ecosystemCoreCta: 'Open core docs →',
ecosystemRustTitle: 'Standalone Rust',
ecosystemRustDescription: 'Rust/FFI implementation guides for external and standalone runtimes.',
ecosystemRustCta: 'Open Rust/FFI docs →',
ecosystemMultiplayerTitle: 'Multiplayer & Plugins',
ecosystemMultiplayerDescription: 'Multiplayer roadmap, plugin docs, and community module references.',
ecosystemMultiplayerCta: 'Open multiplayer docs →',
gregTitle: 'The Legend of Greg',
gregText1:
'Greg is the tireless server technician of this project. He looks like he has not slept for months, and he is usually quiet — but once a rack fails or a mod breaks, Greg is already there.',
gregText2:
'He quietly fulfills your wishes: more uptime, cleaner configs, better logs and less deployment drama. He does not ask much, he just ships.',
gregQuote: '"Be smart. Be like Greg."',
supportTitle: 'Support',
supportText: 'Report bugs, request docs for new community plugins, and track workstreams.',
supportCta: 'Open GitHub Issues',
availableModsLabel: 'Available Mods',
repositoryLabel: 'Repository',
joinLabel: 'JOIN',
};

View File

@@ -1,54 +0,0 @@
import type { HomepageContent } from './types';
import { homepageShellEn } from './sharedLinks';
export const ru: HomepageContent = {
...homepageShellEn,
heroLine1: 'ХАБ МОДДИНГА DATACENTER.',
heroLine2: 'БУДЬ УМНЫМ. БУДЬ КАК ГРЕГ.',
heroSub1: 'Просто. Гибко. Силой сообщества.',
heroSub2: 'gregFramework, Rust-стек, мультиплеер и плагины.',
ctaStart: 'НАЧАТЬ МОДДИНГ',
ctaMods: 'ДОСТУПНЫЕ STANDALONE МОДЫ И ПЛАГИНЫ',
docsPaths: 'Разделы документации',
featureTitles: ['Два пути моддинга', 'Runtime Hook Bridge', 'Вики-документация', 'Экосистема сообщества'],
featureDescriptions: [
'Пишите моды на C# или нативно на Rust через C-ABI/FFI.',
'Harmony-патчи, event IDs и детерминированный forwarding.',
'Единый источник в .wiki для пользователей и моддеров.',
'Документация ядра и standalone-плагинов сообщества.',
],
comingSoon: 'Скоро',
comingSoonText: '`datacentermods.com` пока готовится. До запуска используйте `Docs Hub → Standalone Mods`.',
communityTitle: 'Сообщество и мейнтейнеры',
communityText: 'Портал объединяет документацию gregFramework и community-плагинов экосистемы Data Center.',
docsEndUserTitle: 'End-User',
docsEndUserDescription: 'Install, update, FAQ, troubleshooting.',
docsModDevsTitle: 'Mod-Devs',
docsModDevsDescription: 'Debug workflows, setup, hooks and references.',
docsContributorsTitle: 'Contributors',
docsContributorsDescription: 'Conventions, CI checks, contribution workflow.',
docsCapabilityTitle: 'Capability Matrix',
docsCapabilityDescription: 'Complete feature map and implementation use cases.',
ecosystemTitle: 'Ecosystem Coverage',
ecosystemCoreTitle: 'gregFramework core',
ecosystemCoreDescription: 'Hook system, FFI bridge, event contracts and runtime architecture.',
ecosystemCoreCta: 'Open core docs →',
ecosystemRustTitle: 'Standalone Rust',
ecosystemRustDescription: 'Rust/FFI implementation guides for external and standalone runtimes.',
ecosystemRustCta: 'Open Rust/FFI docs →',
ecosystemMultiplayerTitle: 'Multiplayer & Plugins',
ecosystemMultiplayerDescription: 'Multiplayer roadmap, plugin docs, and community module references.',
ecosystemMultiplayerCta: 'Open multiplayer docs →',
gregTitle: 'The Legend of Greg',
gregText1:
'Greg is the tireless server technician of this project. He looks like he has not slept for months, and he is usually quiet — but once a rack fails or a mod breaks, Greg is already there.',
gregText2:
'He quietly fulfills your wishes: more uptime, cleaner configs, better logs and less deployment drama. He does not ask much, he just ships.',
gregQuote: '"Be smart. Be like Greg."',
supportTitle: 'Support',
supportText: 'Report bugs, request docs for new community plugins, and track workstreams.',
supportCta: 'Open GitHub Issues',
availableModsLabel: 'Available Mods',
repositoryLabel: 'Repository',
joinLabel: 'JOIN',
};

View File

@@ -1,4 +1,4 @@
export type LocaleKey = 'en' | 'de' | 'fr' | 'es' | 'ru' | 'ja';
export type LocaleKey = 'en' | 'de';
export type HomepageDocLink = {
title: string;

View File

@@ -34,49 +34,6 @@ const byLocale: Record<LocaleKey, ModsPageStrings> = {
download: 'DLL laden',
notReleased: 'Noch nicht veröffentlicht',
},
fr: {
title: 'Catalogue mods & plugins',
description:
'Généré depuis le catalogue des modules. Chaque entrée renvoie vers le wiki, la page release et le téléchargement.',
pluginsHeading: 'Plugins',
modsHeading: 'Mods',
wiki: 'Wiki',
release: 'Release',
download: 'Télécharger DLL',
notReleased: 'Pas encore publié',
},
es: {
title: 'Catálogo de mods y plugins',
description:
'Generado desde el catálogo de módulos. Cada entrada enlaza al wiki, la página de release y la descarga.',
pluginsHeading: 'Plugins',
modsHeading: 'Mods',
wiki: 'Wiki',
release: 'Release',
download: 'Descargar DLL',
notReleased: 'Aún no publicado',
},
ru: {
title: 'Каталог модов и плагинов',
description:
'Собрано из каталога модулей. Каждая запись ведёт на wiki, страницу релиза и маршрут загрузки.',
pluginsHeading: 'Плагины',
modsHeading: 'Моды',
wiki: 'Wiki',
release: 'Релиз',
download: 'Скачать DLL',
notReleased: 'Ещё не выпущено',
},
ja: {
title: 'Mods & プラグインカタログ',
description: 'モジュールカタログから生成。各エントリは Wiki・リリースページ・ダウンロードへリンクします。',
pluginsHeading: 'プラグイン',
modsHeading: 'Mods',
wiki: 'Wiki',
release: 'リリース',
download: 'DLL を取得',
notReleased: '未リリース',
},
};
export function getModsPageStrings(locale: string): ModsPageStrings {