gh_UserManager/apps/web/lib/i18n.ts
bermooda-company 54d5891edf user
2026-08-23 23:59:14 +03:30

679 lines
22 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { Lang } from "./content";
export interface Dict {
nav: {
features: string;
ecosystem: string;
how: string;
developers: string;
architecture: string;
security: string;
dashboard: string;
docs: string;
login: string;
sidebarTitle: string;
};
sidebar: {
dashboard: string;
security: string;
privacy: string;
data: string;
};
about: {
title: string;
subtitle: string;
button1: string;
button2: string;
profileBtn: string;
};
stats: {
users: string;
usersLabel: string;
sessions: string;
sessionsLabel: string;
events: string;
eventsLabel: string;
devices: string;
devicesLabel: string;
};
capabilities: {
eyebrow: string;
title: string;
subtitle: string;
items: { icon: string; title: string; body: string }[];
};
safety: {
eyebrow: string;
title: string;
subtitle: string;
points: { title: string; body: string }[];
};
preview: {
eyebrow: string;
title: string;
subtitle: string;
cards: { label: string; value: string }[];
cta: string;
};
architecture: {
eyebrow: string;
title: string;
subtitle: string;
identityTitle: string;
productTitle: string;
tableHead: { data: string; owner: string };
rows: { data: string; owner: string }[];
};
benefits: {
eyebrow: string;
title: string;
subtitle: string;
points: { title: string; body: string }[];
};
developers: {
eyebrow: string;
title: string;
subtitle: string;
endpointsTitle: string;
codeTitle: string;
};
ecosystem: {
eyebrow: string;
title: string;
subtitle: string;
futureNote: string;
hubLabel: string;
};
features: {
eyebrow: string;
title: string;
subtitle: string;
};
footer: {
tagline: string;
productCol: string;
platformCol: string;
legal: string;
};
how: {
eyebrow: string;
title: string;
subtitle: string;
};
problem: {
eyebrow: string;
title: string;
subtitle: string;
points: { title: string; body: string }[];
stat1: { value: string; label: string };
stat2: { value: string; label: string };
stat3: { value: string; label: string };
};
security: {
eyebrow: string;
title: string;
subtitle: string;
points: { title: string; body: string }[];
};
dashboard: {
eyebrow: string;
title: string;
subtitle: string;
users: string;
sessions: string;
events: string;
activeNow: string;
revoke: string;
activeSessions: string;
of: string;
totalSessions: string;
manageSessions: string;
recentEvents: string;
viewAll: string;
};
hero: {
badge: string;
title: string;
subtitle: string;
ctaPrimary: string;
ctaSecondary: string;
note: string;
};
cta: {
title: string;
subtitle: string;
button: string;
};
recentActivity: {
title: string;
viewAll: string;
};
services: {
search: string;
youtube: string;
gmail: string;
drive: string;
maps: string;
youtube_music: string;
google_play: string;
android: string;
};
admin: {
users: string;
organizations: string;
applications: string;
sessions: string;
securityEvents: string;
overview: string;
total: string;
active: string;
search: string;
filter: string;
create: string;
actions: string;
revoke: string;
status: string;
role: string;
name: string;
email: string;
joined: string;
lastActive: string;
type: string;
ip: string;
device: string;
expires: string;
event: string;
severity: string;
time: string;
low: string;
medium: string;
high: string;
critical: string;
userManagement: string;
orgManagement: string;
appManagement: string;
sessionManagement: string;
auditLog: string;
adminPanel: string;
welcomeBack: string;
overviewSubtitle: string;
dashboard: string;
manageUsers: string;
manageOrgs: string;
securitySettings: string;
viewAll: string;
};
}
export const dict: Record<Lang, Dict> = {
fa: {
nav: {
features: "قابلیت‌ها",
ecosystem: "اکوسیستم",
how: "نحوه کار",
developers: "توسعه‌دهندگان",
architecture: "معماری",
security: "امنیت",
dashboard: "داشبورد",
docs: "مستندات",
login: "ورود",
sidebarTitle: "نвигации",
},
sidebar: {
dashboard: "داشبورد",
security: "امنیت",
privacy: "خصوصیت",
data: "داده‌ها",
},
about: {
title: " درباره حساب Google",
subtitle: "مدیریت حساب و تنظیمات امنیتی",
button1: "management",
button2: "security checkup",
profileBtn: " profil",
},
stats: {
users: "۱۲۸,۴۹۲",
usersLabel: "کاربران",
sessions: "۳,۹۱۴",
sessionsLabel: "نشست‌ها",
events: "۷۴۲",
eventsLabel: "رویدادها",
devices: "۵ دستگاه",
devicesLabel: "almazمعتمد",
},
capabilities: {
eyebrow: "قابلیت‌ها",
title: "یک هویت، تمام اکوسیستم",
subtitle: "همسو یک لایه احراز هویت واحد برای تمام محصولات شما فراهم می‌کند.",
items: [
{ icon: "shield", title: "احراز هویت امن", body: "ورود با رمز عبور، MFA و Passkey." },
{ icon: "key", title: "مدیریت نشست‌ها", body: "مشاهده و لغو نشست‌های فعال." },
{ icon: "lock", title: "حریم‌خصوصی", body: "کنترل کامل روی داده‌های شما." },
],
},
safety: {
eyebrow: "ایمنی",
title: "امنیت در هسته",
subtitle: "معماری ما روی کمترین دسترسی و بیشترین شفافیت بنا شده است.",
points: [
{ title: "رمزنگاری", body: "تمام توکن‌ها با RS256 امضا می‌شوند." },
{ title: "کنترل دسترسی", body: "نقش‌های دقیق برای ادمین و کاربر." },
],
},
preview: {
eyebrow: "پیش‌نمایش",
title: "داشبورد در یک نگاه",
subtitle: "آمار زنده از کاربران، نشست‌ها و رویدادها.",
cards: [
{ label: "کاربران", value: "۱۲۸,۴۹۲" },
{ label: "نشست‌ها", value: "۳,۹۱۴" },
{ label: "رویدادها", value: "۷۴۲" },
],
cta: "مشاهده داشبورد",
},
architecture: {
eyebrow: "معماری",
title: "یک هاب مرکزی برای هویت",
subtitle: "همسو لایه‌ای واحد برای احراز هویت و مدیریت دسترسی در تمام محصولات فراهم می‌کند.",
identityTitle: "هویت مرکزی",
productTitle: "محصولات متصل",
tableHead: { data: "داده", owner: "مالک" },
rows: [
{ data: "احراز هویت", owner: "Identity" },
{ data: "نشست‌ها", owner: "Identity" },
{ data: "رویدادهای امنیتی", owner: "Identity" },
{ data: "محصولات", owner: "Products" },
],
},
benefits: {
eyebrow: "مزایا",
title: "همه چیز در یک حساب",
subtitle: "یک بار ثبت‌نام کنید و به کل اکوسیستم وصل شوید.",
points: [
{ title: "یک ورود برای همه", body: "با یک حساب به تمام محصولات دسترسی دارید." },
{ title: "شخصی‌سازی", body: "تنظیمات و ترجیحات شما همگام می‌مانند." },
{ title: "کنترل مرکزی", body: "دسترسی و امنیت را از یک جا مدیریت کنید." },
],
},
developers: {
eyebrow: "توسعه‌دهندگان",
title: "API ساده و استاندارد",
subtitle: "احراز هویت را با چند خط کد به محصول خود اضافه کنید.",
endpointsTitle: "نقاط پایانی",
codeTitle: "نمونه درخواست",
},
ecosystem: {
eyebrow: "اکوسیستم",
title: "یک حساب، تمام محصولات",
subtitle: "همسو هاب مرکزی است که محصولات را به هم متصل می‌کند.",
futureNote: "محصولات بیشتری در راه است",
hubLabel: "هاب مرکزی",
},
features: {
eyebrow: "قابلیت‌ها",
title: "امنیت در هر لایه",
subtitle: "از احراز هویت تا کنترل دسترسی، همه چیز آماده است.",
},
footer: {
tagline: "یک حساب برای کل اکوسیستم همسو.",
productCol: "محصولات",
platformCol: "پلتفرم",
legal: "سیاست حریم‌خصوصی · شرایط استفاده",
},
how: {
eyebrow: "نحوه کار",
title: "در چهار قدم ساده",
subtitle: "از ثبت‌نام تا دسترسی ایمن، همه چیز سریع است.",
},
problem: {
eyebrow: "چالش",
title: "حساب‌های پراکنده، امنیت ضعیف",
subtitle: "مدیریت چندین حساب و رمز عبور باری سنگین و پرخطر است.",
points: [
{ title: "حساب‌های تکراری", body: "کاربران بارها ثبت‌نام می‌کنند." },
{ title: "امنیت ناهمگون", body: "هر محصول استاندارد خود را دارد." },
{ title: "هزینه بالا", body: "نگهداری سیستم احراز جداگانه گران است." },
],
stat1: { value: "۷۳٪", label: "کاربران چند حساب" },
stat2: { value: "۶۱٪", label: "فراموشی رمز عبور" },
stat3: { value: "۳×", label: "هزینه توسعه" },
},
security: {
eyebrow: "امنیت",
title: "امنیت سازمانی",
subtitle: "زیرساخت احراز هویت مطابق با استانداردهای روز.",
points: [
{ title: "امضای RS256", body: "توکن‌ها با کلید خصوصی امضا می‌شوند." },
{ title: "تأیید با کلید عمومی", body: "سرویس‌ها توکن را بدون کلید خصوصی تأیید می‌کنند." },
{ title: "لغو نشست و توکن", body: "نشست‌ها و توکن‌های مشکوک فوری لغو می‌شوند." },
{ title: "لاگ حسابرسی و اعتبار سرویس", body: "هر دسترسی ثبت و قابل بازرسی است." },
],
},
recentActivity: {
title: "فعالیت اخیر",
viewAll: "بrowse all",
},
services: {
search: "جستجو",
youtube: "یوتیوب",
gmail: "ایمیل",
drive: "درايف",
maps: "مپز",
youtube_music: "یوتیو Musik",
google_play: "Google Play",
android: "اندروید",
},
cta: {
title: "حساب خودتان را امروز بسازید",
subtitle:
"یک بار ثبت‌نام کنید و به کل اکوسیستم همسو وصل شوید — ورود، امنیت و حریم‌خصوصی در یک جا.",
button: "ساخت-account / ورود",
},
admin: {
users: "کاربران",
organizations: "سازمان‌ها",
applications: "اپلیکیشن‌ها",
sessions: "نشست‌ها",
securityEvents: "رویدادهای امنیتی",
overview: "نمایش کلی",
total: "کل",
active: "فعال",
search: "جستجو",
filter: "فیلتر",
create: "ایجاد",
actions: "اقدامات",
revoke: "لغو",
status: "وضعیت",
role: "نقش",
name: "نام",
email: "ایمیل",
joined: "عضویت",
lastActive: "آخرین فعالیت",
type: "نوع",
ip: "آی‌پی",
device: "دستگاه",
expires: "انقضا",
event: "رویداد",
severity: "شدت",
time: "زمان",
low: "پایین",
medium: "متوسط",
high: "بالا",
critical: "بحرانی",
userManagement: "مدیریت کاربران",
orgManagement: "مدیریت سازمان‌ها",
appManagement: "مدیریت اپلیکیشن‌ها",
sessionManagement: "مدیریت نشست‌ها",
auditLog: "لاگ حسابرتی",
adminPanel: "پنل ادمین",
welcomeBack: "بازگوش",
overviewSubtitle: "یک دید یکپارچه از هویت و امنیت اکوسیستم محصولات شما",
dashboard: "داشبورد",
manageUsers: "ویرایش کاربران",
manageOrgs: "مدیریت سازمان‌ها",
securitySettings: "تنظیمات امنیتی",
viewAll: "مشاهده همه",
},
dashboard: {
eyebrow: "داشبورد",
title: "یک دید یکپارچه از هویت",
subtitle:
"مدیریت کاربران، نشست‌های فعال و رویدادهای امنیتی در یک جا — برای همه محصولات.",
users: "کاربران",
sessions: "نشست‌ها",
events: "رویدادهای امنیتی",
activeNow: "فعال اکنون",
revoke: "لغو",
activeSessions: "نشست‌های فعال",
of: "از",
totalSessions: "کل نشست‌ها",
manageSessions: "مدیریت نشست‌ها",
recentEvents: "رویدادهای اخیر",
viewAll: "مشاهده همه",
},
hero: {
badge: "نشانگر",
title: هRestore session",
subtitle: "",
ctaPrimary: "باشهِ",
ctaSecondary: "انصراف",
note: "تغییرات شما نگهداری نشده‌اند",
},
},
en: {
nav: {
features: "Features",
ecosystem: "Ecosystem",
how: "How it works",
developers: "Developers",
architecture: "Architecture",
security: "Security",
dashboard: "Dashboard",
docs: "Docs",
login: "Sign in",
sidebarTitle: "Navigation",
},
sidebar: {
dashboard: "Dashboard",
security: "Security",
privacy: "Privacy",
data: "Data",
},
about: {
title: "About Google Account",
subtitle: "Manage your account and security settings",
button1: "Management",
button2: "Security checkup",
profileBtn: "profil",
},
stats: {
users: "128,492",
usersLabel: "Users",
sessions: "3,914",
sessionsLabel: "Sessions",
events: "742",
eventsLabel: "Events",
devices: "5 devices",
devicesLabel: "Devices",
},
capabilities: {
eyebrow: "Capabilities",
title: "One identity, your whole ecosystem",
subtitle: "Hamsoo provides a single authentication layer for all your products.",
items: [
{ icon: "shield", title: "Secure auth", body: "Sign in with password, MFA and Passkey." },
{ icon: "key", title: "Session management", body: "View and revoke active sessions." },
{ icon: "lock", title: "Privacy", body: "Full control over your data." },
],
},
safety: {
eyebrow: "Safety",
title: "Security at the core",
subtitle: "Our architecture is built on least privilege and maximum transparency.",
points: [
{ title: "Encryption", body: "All tokens are signed with RS256." },
{ title: "Access control", body: "Fine-grained roles for admin and user." },
],
},
preview: {
eyebrow: "Preview",
title: "The dashboard at a glance",
subtitle: "Live stats for users, sessions and events.",
cards: [
{ label: "Users", value: "128,492" },
{ label: "Sessions", value: "3,914" },
{ label: "Events", value: "742" },
],
cta: "View dashboard",
},
architecture: {
eyebrow: "Architecture",
title: "One central hub for identity",
subtitle: "Hamsoo provides a single authentication and access layer across all products.",
identityTitle: "Central Identity",
productTitle: "Connected Products",
tableHead: { data: "Data", owner: "Owner" },
rows: [
{ data: "Authentication", owner: "Identity" },
{ data: "Sessions", owner: "Identity" },
{ data: "Security events", owner: "Identity" },
{ data: "Products", owner: "Products" },
],
},
benefits: {
eyebrow: "Benefits",
title: "Everything in one account",
subtitle: "Sign up once and connect to the whole ecosystem.",
points: [
{ title: "One sign-in for all", body: "Access every product with a single account." },
{ title: "Personalization", body: "Your settings and preferences stay in sync." },
{ title: "Central control", body: "Manage access and security from one place." },
],
},
developers: {
eyebrow: "Developers",
title: "A simple, standard API",
subtitle: "Add authentication to your product in a few lines of code.",
endpointsTitle: "Endpoints",
codeTitle: "Example request",
},
ecosystem: {
eyebrow: "Ecosystem",
title: "One account, every product",
subtitle: "Hamsoo is the central hub connecting all your products.",
futureNote: "More products on the way",
hubLabel: "Central Hub",
},
features: {
eyebrow: "Features",
title: "Security at every layer",
subtitle: "From authentication to access control, it's all built in.",
},
footer: {
tagline: "One account for the whole Hamsoo ecosystem.",
productCol: "Products",
platformCol: "Platform",
legal: "Privacy Policy · Terms of Service",
},
how: {
eyebrow: "How it works",
title: "In four simple steps",
subtitle: "From sign-up to secure access, it's fast.",
},
problem: {
eyebrow: "The problem",
title: "Scattered accounts, weak security",
subtitle: "Managing many accounts and passwords is a heavy, risky burden.",
points: [
{ title: "Duplicate accounts", body: "Users sign up over and over." },
{ title: "Inconsistent security", body: "Every product has its own standard." },
{ title: "High cost", body: "Maintaining separate auth is expensive." },
],
stat1: { value: "73%", label: "Users with multiple accounts" },
stat2: { value: "61%", label: "Forgot password" },
stat3: { value: "3x", label: "Dev cost" },
},
security: {
eyebrow: "Security",
title: "Enterprise-grade security",
subtitle: "An authentication backbone built to modern standards.",
points: [
{ title: "RS256 signing", body: "Tokens are signed with a private key." },
{ title: "Verify with public key", body: "Services verify tokens without the private key." },
{ title: "Session & token revocation", body: "Suspicious sessions and tokens are revoked instantly." },
{ title: "Audit log & service credentials", body: "Every access is logged and auditable." },
],
},
recentActivity: {
title: "Recent activity",
viewAll: "View all",
},
services: {
search: "Search",
youtube: "YouTube",
gmail: "Gmail",
drive: "Drive",
maps: "Maps",
youtube_music: "YouTube Music",
google_play: "Google Play",
android: "Android",
},
cta: {
title: "Create your account today",
subtitle:
"Sign up once and connect to the whole Hamsoo ecosystem sign-in, security and privacy in one place.",
button: "Create account / Sign in",
},
admin: {
users: "Users",
organizations: "Organizations",
applications: "Applications",
sessions: "Sessions",
securityEvents: "Security Events",
overview: "Overview",
total: "Total",
active: "Active",
search: "Search",
filter: "Filter",
create: "Create",
actions: "Actions",
revoke: "Revoke",
status: "Status",
role: "Role",
name: "Name",
email: "Email",
joined: "Joined",
lastActive: "Last Active",
type: "Type",
ip: "IP",
device: "Device",
expires: "Expires",
event: "Event",
severity: "Severity",
time: "Time",
low: "Low",
medium: "Medium",
high: "High",
critical: "Critical",
userManagement: "User Management",
orgManagement: "Organization Management",
appManagement: "Application Management",
sessionManagement: "Session Management",
auditLog: "Audit Log",
adminPanel: "Admin Panel",
welcomeBack: "Welcome to the Admin Panel",
overviewSubtitle: "A unified view of identity and security across your product ecosystem",
dashboard: "Dashboard",
manageUsers: "Manage Users",
manageOrgs: "Manage Organizations",
securitySettings: "Security Settings",
viewAll: "View All",
},
dashboard: {
eyebrow: "Dashboard",
title: "One unified view of identity",
subtitle:
"Manage users, active sessions and security events in one place across all products.",
users: "Users",
sessions: "Sessions",
events: "Security events",
activeNow: "Active now",
revoke: "Revoke",
activeSessions: "Active Sessions",
of: "of",
totalSessions: "Total Sessions",
manageSessions: "Manage Sessions",
recentEvents: "Recent Events",
viewAll: "View All",
},
hero: {
badge: "Badge",
title: "Restore session",
subtitle: "",
ctaPrimary: "Restore",
ctaSecondary: "Cancel",
note: "Your changes have not been saved",
},
},
};