Fix admin permissions bounce, prefixes APIs, and Italian UI leftovers.
Local Build and Deploy / deploy (push) Successful in 56s

Gate permissions on ACL manage + resolve super-admin from live user ranks, restore prefixes API routes, and anglicize hardcoded admin copy with nav i18n.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
SimoandCursor committed 2026-07-15 20:33:00 +02:00
1 parent 0e89d03940
commit 3403d3b19f
38 files changed
+673 -208

No files matched your search

+4
View File
@@ -116,10 +116,14 @@ const SETTINGS_WHITELIST = new Set([
"enabled",
"max_length",
"min_rank",
"min_rank_to_buy",
"allow_colors",
"allow_bold",
"allow_italic",
"default_color",
"price_credits",
"price_points",
"points_type",
]);
const updatePrefixSettingsSchema = z.object({
@@ -408,7 +408,7 @@ export function NitroEditorDialog({
htmlFor="dim-y"
className="text-xs text-muted-foreground"
>
Y (profondità)
Y (depth)
</Label>
<Input
id="dim-y"
@@ -817,7 +817,7 @@ export function NitroEditorDialog({
onClick={() => onOpenChange(false)}
disabled={saving}
>
Annulla
Cancel
</Button>
<Button
onClick={handleSave}
@@ -829,7 +829,7 @@ export function NitroEditorDialog({
) : (
<Save className="w-4 h-4" />
)}
Salva
Save
</Button>
</div>
</DialogFooter>
+10 -10
View File
@@ -109,24 +109,24 @@ function getNavGroups(t: (key: string) => string) {
},
{
href: "/admin/events",
label: "Events",
label: t("events"),
icon: <Calendar size={16} />,
},
{
href: "/admin/polls",
label: "Polls",
label: t("polls"),
icon: <ClipboardList size={16} />,
},
{ href: "/admin/banners", label: "Banners", icon: <Image size={16} /> },
{ href: "/admin/banners", label: t("banners"), icon: <Image size={16} /> },
{
href: "/admin/prefixes",
label: "Prefixes",
label: t("prefixes"),
icon: <Languages size={16} />,
},
],
},
{
label: t("usersAccess"),
label: t("usersAndAccess"),
icon: <Shield size={14} />,
items: [
{ href: "/admin/users", label: t("users"), icon: <Users size={16} /> },
@@ -150,12 +150,12 @@ function getNavGroups(t: (key: string) => string) {
},
{
href: "/admin/online",
label: "Online Users",
label: t("onlineUsers"),
icon: <Users size={16} />,
},
{
href: "/admin/moderation",
label: "Moderation",
label: t("moderation"),
icon: <Shield size={16} />,
},
],
@@ -286,15 +286,15 @@ function getNavGroups(t: (key: string) => string) {
{ href: "/admin/logs", label: t("logs"), icon: <FileText size={16} /> },
{
href: "/admin/logs/audit",
label: "Audit Log",
label: t("auditLog"),
icon: <FileText size={16} />,
},
{
href: "/admin/analytics",
label: "Analytics",
label: t("analytics"),
icon: <LayoutDashboard size={16} />,
},
{ href: "/admin/devops", label: "DevOps", icon: <Monitor size={16} /> },
{ href: "/admin/devops", label: t("devops"), icon: <Monitor size={16} /> },
{
href: "/admin/wordfilter",
label: t("wordFilter"),
+1 -1
View File
@@ -168,7 +168,7 @@ export default async function AdminDashboard() {
{t("recentStaffActivity")}
</h2>
<Link
href="/admin/commandocentrum"
href="/admin/logs"
className="text-xs font-medium text-[var(--admin-accent)] hover:text-[var(--admin-accent)] flex items-center gap-1 no-underline"
>
{t("viewAll")} <ArrowRight size={12} />
+7 -3
View File
@@ -1,6 +1,6 @@
import { notFound, redirect } from "next/navigation";
import { AdminBreadcrumb } from "@/components/admin/admin-breadcrumb";
import { getAdminContext } from "@/lib/permissions";
import { canAccess, getAdminContext, PERMS } from "@/lib/permissions";
import { prisma } from "@/lib/prisma";
import { fetchEmulatorRankForEdit } from "@/lib/services/permission-ranks";
import { RankEditClient } from "./rank-edit-client";
@@ -11,8 +11,12 @@ export default async function RankEditPage({
params: Promise<{ locale: string; id: string }>;
}) {
const { id: rawId } = await params;
const { permissions } = await getAdminContext();
if (!permissions.isSuperAdmin) redirect("/admin");
const { session, permissions } = await getAdminContext();
if (
!canAccess(permissions, PERMS.PERMISSIONS_MANAGE, session.user.rank)
) {
redirect("/admin");
}
const rankId = parseInt(rawId, 10);
if (Number.isNaN(rankId)) notFound();
+7 -3
View File
@@ -1,6 +1,6 @@
import { redirect } from "next/navigation";
import { Prisma } from "@/generated/prisma/client";
import { getAdminContext } from "@/lib/permissions";
import { canAccess, getAdminContext, PERMS } from "@/lib/permissions";
import { prisma } from "@/lib/prisma";
import { fetchEmulatorRankSummaries } from "@/lib/services/permission-ranks";
import { PermissionsList } from "./permissions-list";
@@ -8,8 +8,12 @@ import { PermissionsList } from "./permissions-list";
export default async function PermissionsPage(_props: {
params: Promise<{ locale: string }>;
}) {
const { permissions } = await getAdminContext();
if (!permissions.isSuperAdmin) redirect("/admin");
const { session, permissions } = await getAdminContext();
if (
!canAccess(permissions, PERMS.PERMISSIONS_MANAGE, session.user.rank)
) {
redirect("/admin");
}
const ranks = await fetchEmulatorRankSummaries(prisma);
+1 -1
View File
@@ -20,7 +20,7 @@ export default async function PrefixesPage() {
<div>
<h1 className="text-3xl font-bold tracking-tight">Custom Prefixes</h1>
<p className="text-muted-foreground">
Gestisci i prefissi degli utenti, la blacklist e le impostazioni
Manage user prefixes, blacklist and settings
</p>
</div>
<PrefixesClient canEdit={canEdit} />
+86 -81
View File
@@ -60,46 +60,46 @@ interface PrefixFormData {
}
const PRESET_EFFECTS = [
{ id: "", label: "Nessuno" },
{ id: "glow", label: "✨ Bagliore" },
{ id: "shadow", label: "🌑 Ombra" },
{ id: "italic", label: "𝑰 Corsivo" },
{ id: "outline", label: "🔲 Contorno" },
{ id: "pulse", label: "💫 Pulsante" },
{ id: "", label: "None" },
{ id: "glow", label: "✨ Glow" },
{ id: "shadow", label: "🌑 Shadow" },
{ id: "italic", label: "𝑰 Italic" },
{ id: "outline", label: "🔲 Outline" },
{ id: "pulse", label: "💫 Pulse" },
{ id: "bold-glow", label: "💡 Neon" },
];
const PRESET_ICONS = [
{ emoji: "", label: "Nessuna" },
{ emoji: "👑", label: "Corona" },
{ emoji: "⭐", label: "Stella" },
{ emoji: "❤️", label: "Cuore" },
{ emoji: "💎", label: "Diamante" },
{ emoji: "🔥", label: "Fuoco" },
{ emoji: "⚡", label: "Fulmine" },
{ emoji: "🛡️", label: "Scudo" },
{ emoji: "💀", label: "Teschio" },
{ emoji: "🎵", label: "Musica" },
{ emoji: "💠", label: "Gemma" },
{ emoji: "⚔️", label: "Spade" },
{ emoji: "🏆", label: "Trofeo" },
{ emoji: "🚀", label: "Razzo" },
{ emoji: "👻", label: "Fantasma" },
{ emoji: "🐾", label: "Zampa" },
{ emoji: "🍃", label: "Foglia" },
{ emoji: "", label: "None" },
{ emoji: "👑", label: "Crown" },
{ emoji: "⭐", label: "Star" },
{ emoji: "❤️", label: "Heart" },
{ emoji: "💎", label: "Diamond" },
{ emoji: "🔥", label: "Fire" },
{ emoji: "⚡", label: "Lightning" },
{ emoji: "🛡️", label: "Shield" },
{ emoji: "💀", label: "Skull" },
{ emoji: "🎵", label: "Music" },
{ emoji: "💠", label: "Gem" },
{ emoji: "⚔️", label: "Swords" },
{ emoji: "🏆", label: "Trophy" },
{ emoji: "🚀", label: "Rocket" },
{ emoji: "👻", label: "Ghost" },
{ emoji: "🐾", label: "Paw" },
{ emoji: "🍃", label: "Leaf" },
{ emoji: "😎", label: "Cool" },
{ emoji: "🐺", label: "Lupo" },
{ emoji: "🦁", label: "Leone" },
{ emoji: "🐉", label: "Drago" },
{ emoji: "🦄", label: "Unicorno" },
{ emoji: "🌙", label: "Luna" },
{ emoji: "☀️", label: "Sole" },
{ emoji: "❄️", label: "Neve" },
{ emoji: "🌹", label: "Rosa" },
{ emoji: "🐺", label: "Wolf" },
{ emoji: "🦁", label: "Lion" },
{ emoji: "🐉", label: "Dragon" },
{ emoji: "🦄", label: "Unicorn" },
{ emoji: "🌙", label: "Moon" },
{ emoji: "☀️", label: "Sun" },
{ emoji: "❄️", label: "Snow" },
{ emoji: "🌹", label: "Rose" },
{ emoji: "🎮", label: "Controller" },
{ emoji: "💰", label: "Soldi" },
{ emoji: "🔮", label: "Sfera" },
{ emoji: "🏴‍☠️", label: "Pirata" },
{ emoji: "💰", label: "Money" },
{ emoji: "🔮", label: "Orb" },
{ emoji: "🏴‍☠️", label: "Pirate" },
];
function PrefixDialog({
@@ -167,7 +167,7 @@ function PrefixDialog({
<div className="bg-background rounded-lg shadow-lg w-full max-w-md p-6 space-y-4">
<div className="flex items-center justify-between">
<h3 className="text-lg font-semibold">
{editPrefix ? "Modifica Prefisso" : "Aggiungi Prefisso"}
{editPrefix ? "Edit Prefix" : "Add Prefix"}
</h3>
<button
type="button"
@@ -213,7 +213,7 @@ function PrefixDialog({
<div className="space-y-2">
<span className="text-sm font-medium">Username</span>
<Input
placeholder="Nome utente..."
placeholder="Username..."
value={form.username}
onChange={(e) => setForm({ ...form, username: e.target.value })}
/>
@@ -221,10 +221,10 @@ function PrefixDialog({
)}
<div className="space-y-2">
<span className="text-sm font-medium">Testo</span>
<span className="text-sm font-medium">Text</span>
<Input
maxLength={15}
placeholder="Testo del prefix..."
placeholder="Prefix text..."
value={form.text}
onChange={(e) => setForm({ ...form, text: e.target.value })}
/>
@@ -235,7 +235,7 @@ function PrefixDialog({
<div className="space-y-2">
<span className="text-sm font-medium">
Colore (HEX o multi: #FF0000,#00FF00)
Color (HEX or multi: #FF0000,#00FF00)
</span>
<div className="flex items-center gap-2">
<Input
@@ -251,7 +251,7 @@ function PrefixDialog({
</div>
<div className="space-y-2">
<span className="text-sm font-medium">Icona</span>
<span className="text-sm font-medium">Icon</span>
<select
className="w-full px-3 py-2 rounded border bg-background text-sm"
value={form.icon}
@@ -266,7 +266,7 @@ function PrefixDialog({
</div>
<div className="space-y-2">
<span className="text-sm font-medium">Effetto</span>
<span className="text-sm font-medium">Effect</span>
<select
className="w-full px-3 py-2 rounded border bg-background text-sm"
value={form.effect}
@@ -288,13 +288,13 @@ function PrefixDialog({
onChange={(e) => setForm({ ...form, active: e.target.checked })}
/>
<label className="text-sm" htmlFor="prefix-active">
Attivo
Active
</label>
</div>
<div className="flex justify-end gap-2 pt-2">
<Button variant="outline" onClick={onClose}>
Annulla
Cancel
</Button>
<Button
disabled={
@@ -305,7 +305,7 @@ function PrefixDialog({
onClick={handleSave}
>
<Save className="h-4 w-4 mr-1" />
{saving ? "Salvando..." : "Salva"}
{saving ? "Saving..." : "Save"}
</Button>
</div>
</div>
@@ -338,6 +338,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
const params = new URLSearchParams({ page: String(page) });
if (searchQuery) params.set("q", searchQuery);
const res = await fetch(`/api/admin/prefixes?${params}`);
if (!res.ok) return;
const data = await res.json();
if (data.ok) {
setPrefixes(data.prefixes);
@@ -347,12 +348,14 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
const fetchBlacklist = useCallback(async () => {
const res = await fetch("/api/admin/prefixes/blacklist");
if (!res.ok) return;
const data = await res.json();
if (data.ok) setBlacklist(data.words);
}, []);
const fetchSettings = useCallback(async () => {
const res = await fetch("/api/admin/prefixes/settings");
if (!res.ok) return;
const data = await res.json();
if (data.ok) setSettings(data.settings);
}, []);
@@ -367,9 +370,9 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
}, [fetchBlacklist, fetchSettings]);
const handleDeletePrefix = async (id: number) => {
if (!confirm("Sei sicuro di voler eliminare questo prefisso?")) return;
if (!confirm("Are you sure you want to delete this prefix?")) return;
run(() => deletePrefixAction({ id }), {
successMessage: "Prefisso eliminato!",
successMessage: "Prefix deleted!",
onSuccess: () => {
fetchPrefixes();
},
@@ -389,7 +392,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
active: data.active ? 1 : 0,
}),
{
successMessage: "Prefisso aggiornato!",
successMessage: "Prefix updated!",
onSuccess: () => {
fetchPrefixes();
},
@@ -407,7 +410,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
active: data.active ? 1 : 0,
}),
{
successMessage: "Prefisso creato!",
successMessage: "Prefix created!",
onSuccess: () => {
fetchPrefixes();
},
@@ -429,7 +432,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
const handleAddBlacklistWord = async () => {
if (!newWord.trim()) return;
run(() => addBlacklistWordAction({ word: newWord.trim() }), {
successMessage: "Parola aggiunta alla blacklist!",
successMessage: "Word added to blacklist!",
onSuccess: () => {
setNewWord("");
fetchBlacklist();
@@ -439,7 +442,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
const handleRemoveBlacklistWord = async (id: number) => {
run(() => removeBlacklistWordAction({ id }), {
successMessage: "Parola rimossa dalla blacklist!",
successMessage: "Word removed from blacklist!",
onSuccess: () => {
fetchBlacklist();
},
@@ -453,7 +456,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
settings: settings as unknown as Record<string, string>,
}),
{
successMessage: "Impostazioni salvate!",
successMessage: "Settings saved!",
},
);
};
@@ -469,9 +472,9 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
<Tabs defaultValue="prefixes">
<TabsList>
<TabsTrigger value="prefixes">Prefissi Utenti</TabsTrigger>
<TabsTrigger value="prefixes">User Prefixes</TabsTrigger>
<TabsTrigger value="blacklist">Blacklist</TabsTrigger>
<TabsTrigger value="settings">Impostazioni</TabsTrigger>
<TabsTrigger value="settings">Settings</TabsTrigger>
</TabsList>
<TabsContent value="prefixes" className="space-y-4">
@@ -480,7 +483,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
<Search className="absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground" />
<Input
className="pl-8"
placeholder="Cerca per utente o testo..."
placeholder="Search by user or text..."
value={searchQuery}
onChange={(e) => {
setSearchQuery(e.target.value);
@@ -489,12 +492,12 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
/>
</div>
<Button variant="outline" onClick={fetchPrefixes}>
Cerca
Search
</Button>
{canEdit && (
<Button onClick={openAddDialog}>
<Plus className="h-4 w-4 mr-1" />
Aggiungi
Add
</Button>
)}
</div>
@@ -503,14 +506,14 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
<TableHeader>
<TableRow>
<TableHead>ID</TableHead>
<TableHead>Utente</TableHead>
<TableHead>User</TableHead>
<TableHead>Prefix</TableHead>
<TableHead>Colore</TableHead>
<TableHead>Icona</TableHead>
<TableHead>Effetto</TableHead>
<TableHead>Attivo</TableHead>
<TableHead>Data</TableHead>
{canEdit && <TableHead>Azioni</TableHead>}
<TableHead>Color</TableHead>
<TableHead>Icon</TableHead>
<TableHead>Effect</TableHead>
<TableHead>Active</TableHead>
<TableHead>Date</TableHead>
{canEdit && <TableHead>Actions</TableHead>}
</TableRow>
</TableHeader>
<TableBody>
@@ -580,9 +583,11 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
?.label || prefix.effect
: "-"}
</TableCell>
<TableCell>{prefix.active ? "Si" : "No"}</TableCell>
<TableCell>{prefix.active ? "Yes" : "No"}</TableCell>
<TableCell className="text-xs">
{new Date(prefix.created_at).toLocaleDateString()}
{prefix.created_at
? new Date(prefix.created_at).toLocaleDateString()
: "—"}
</TableCell>
{canEdit && (
<TableCell>
@@ -614,7 +619,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
className="text-center text-muted-foreground"
colSpan={9}
>
Nessun prefisso trovato
No prefixes found
</TableCell>
</TableRow>
)}
@@ -629,10 +634,10 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
variant="outline"
onClick={() => setPage(page - 1)}
>
Precedente
Previous
</Button>
<span className="text-sm">
Pagina {page} di {totalPages}
Page {page} of {totalPages}
</span>
<Button
disabled={page >= totalPages}
@@ -640,7 +645,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
variant="outline"
onClick={() => setPage(page + 1)}
>
Successiva
Next
</Button>
</div>
)}
@@ -649,13 +654,13 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
<TabsContent value="blacklist" className="space-y-4">
<Card>
<CardHeader>
<CardTitle>Parole Vietate</CardTitle>
<CardTitle>Forbidden Words</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
{canEdit && (
<div className="flex items-center gap-2">
<Input
placeholder="Aggiungi parola..."
placeholder="Add word..."
value={newWord}
onChange={(e) => setNewWord(e.target.value)}
onKeyDown={(e) =>
@@ -664,7 +669,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
/>
<Button disabled={isPending} onClick={handleAddBlacklistWord}>
<Plus className="h-4 w-4 mr-1" />
Aggiungi
Add
</Button>
</div>
)}
@@ -689,7 +694,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
))}
{blacklist.length === 0 && (
<p className="text-muted-foreground text-sm">
Nessuna parola in blacklist
No blacklist words
</p>
)}
</div>
@@ -700,12 +705,12 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
<TabsContent value="settings" className="space-y-4">
<Card>
<CardHeader>
<CardTitle>Impostazioni Prefissi</CardTitle>
<CardTitle>Prefix Settings</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<div className="grid grid-cols-2 gap-4">
<div className="space-y-2">
<span className="text-sm font-medium">Lunghezza Massima</span>
<span className="text-sm font-medium">Max Length</span>
<Input
disabled={!canEdit}
type="number"
@@ -716,7 +721,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
/>
</div>
<div className="space-y-2">
<span className="text-sm font-medium">Rank Minimo</span>
<span className="text-sm font-medium">Minimum Rank</span>
<Input
disabled={!canEdit}
type="number"
@@ -730,7 +735,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
/>
</div>
<div className="space-y-2">
<span className="text-sm font-medium">Prezzo (Crediti)</span>
<span className="text-sm font-medium">Price (Credits)</span>
<Input
disabled={!canEdit}
type="number"
@@ -744,7 +749,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
/>
</div>
<div className="space-y-2">
<span className="text-sm font-medium">Prezzo (Punti)</span>
<span className="text-sm font-medium">Price (Points)</span>
<Input
disabled={!canEdit}
type="number"
@@ -755,7 +760,7 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
/>
</div>
<div className="space-y-2">
<span className="text-sm font-medium">Tipo Punti</span>
<span className="text-sm font-medium">Points Type</span>
<Input
disabled={!canEdit}
type="number"
@@ -765,14 +770,14 @@ export function PrefixesClient({ canEdit }: { canEdit: boolean }) {
}
/>
<p className="text-xs text-muted-foreground">
0 = Duckets, 5 = Diamonds, ecc.
0 = Duckets, 5 = Diamonds, etc.
</p>
</div>
</div>
{canEdit && (
<Button disabled={isPending} onClick={saveSettings}>
<Save className="h-4 w-4 mr-1" />
Salva Impostazioni
Save Settings
</Button>
)}
</CardContent>
+5 -5
View File
@@ -70,11 +70,11 @@ export default async function SoundsPage() {
<div>
<h1 className="text-3xl font-bold tracking-tight">Song Disks</h1>
<p className="text-muted-foreground">
Carica e gestisci i file MP3 dei song disk riprodotti dai jukebox
in-game. I file sono serviti da <code>{baseUrl}</code> (configurabile
in{" "}
<a href="/admin/settings/cms" className="underline">
Impostazioni &gt; CMS
Upload and manage MP3 files for song disks played by in-game
jukeboxes. Files are served from <code>{baseUrl}</code>{" "}
(configurable in{" "}
<a href="/admin/settings" className="underline">
Settings
</a>
).
</p>
+53 -54
View File
@@ -121,8 +121,8 @@ export function SoundsClient({
if (!deleting) return;
const id = deleting.id;
run(() => deleteSoundtrack({ id }), {
successMessage: `Song disk #${id} eliminato.`,
errorMessage: `Impossibile eliminare il song disk #${id}.`,
successMessage: `Song disk #${id} deleted.`,
errorMessage: `Unable to delete song disk #${id}.`,
onSuccess: () => {
invalidateSongPickerCache();
setDeleting(null);
@@ -139,7 +139,7 @@ export function SoundsClient({
<Input
value={query}
onChange={(e) => setQuery(e.target.value)}
placeholder="Cerca per nome, autore, codice o id…"
placeholder="Search by name, author, code or id…"
className="pl-8"
/>
</div>
@@ -151,9 +151,9 @@ export function SoundsClient({
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="all">Tutti ({soundtracks.length})</SelectItem>
<SelectItem value="all">All ({soundtracks.length})</SelectItem>
<SelectItem value="single">
Singoli MP3 ({counts.single})
Single MP3s ({counts.single})
</SelectItem>
<SelectItem value="composition">
Composition ({counts.composition})
@@ -199,15 +199,15 @@ export function SoundsClient({
{soundtracks.length === 0 ? (
<div className="flex flex-col items-center gap-2">
<Music className="h-8 w-8 opacity-50" />
<p>Nessun song disk caricato.</p>
<p>No song disks uploaded yet.</p>
{canEdit && (
<p className="text-xs">
Clicca &ldquo;Upload MP3&rdquo; per iniziare.
Click &ldquo;Upload MP3&rdquo; to get started.
</p>
)}
</div>
) : (
<>Nessun risultato per i filtri attivi.</>
<>No results for the active filters.</>
)}
</TableCell>
</TableRow>
@@ -293,7 +293,7 @@ export function SoundsClient({
className="h-8 w-8"
onClick={() => setEditing(s)}
disabled={isPending}
title="Modifica"
title="Edit"
>
<Pencil className="h-4 w-4" />
</Button>
@@ -303,7 +303,7 @@ export function SoundsClient({
className="h-8 w-8 text-destructive hover:text-destructive"
onClick={() => setDeleting(s)}
disabled={isPending}
title="Elimina"
title="Delete"
>
<Trash2 className="h-4 w-4" />
</Button>
@@ -345,27 +345,26 @@ export function SoundsClient({
<DialogContent>
<DialogHeader>
<DialogTitle>
Eliminare &ldquo;{deleting.name}&rdquo;?
Delete &ldquo;{deleting.name}&rdquo;?
</DialogTitle>
<DialogDescription>
{deleting.usedBy > 0 ? (
<>
Questo song disk è attualmente usato da{" "}
This song disk is currently used by{" "}
<strong>{deleting.usedBy}</strong> catalog item
{deleting.usedBy === 1 ? "" : "s"}. Eliminandolo, quei
catalog item verranno riportati a &ldquo;nessun song
disk&rdquo;.
{deleting.usedBy === 1 ? "" : "s"}. Deleting it will reset
those catalog items to &ldquo;no song disk&rdquo;.
{deleting.kind === "single" && (
<> Il file MP3 sarà rimosso dal disco.</>
<> The MP3 file will be removed from disk.</>
)}{" "}
L&apos;azione è irreversibile.
This action cannot be undone.
</>
) : (
<>
{deleting.kind === "single"
? "Il file MP3 sarà rimosso dal disco e la riga dal database."
: "La riga sarà rimossa dal database. Nessun file viene eliminato (una composition non ha MP3 dedicato)."}{" "}
L&apos;azione è irreversibile.
? "The MP3 file will be removed from disk and the row from the database."
: "The row will be removed from the database. No file is deleted (a composition has no dedicated MP3)."}{" "}
This action cannot be undone.
</>
)}
</DialogDescription>
@@ -376,7 +375,7 @@ export function SoundsClient({
onClick={() => setDeleting(null)}
disabled={isPending}
>
Annulla
Cancel
</Button>
<Button
variant="destructive"
@@ -384,7 +383,7 @@ export function SoundsClient({
disabled={isPending}
>
{isPending && <Loader2 className="h-4 w-4 mr-1 animate-spin" />}
Elimina
Delete
</Button>
</DialogFooter>
</DialogContent>
@@ -420,11 +419,11 @@ function UploadDialog({
e.preventDefault();
const file = fileRef.current?.files?.[0];
if (!file) {
toast.error("Seleziona un file MP3.");
toast.error("Select an MP3 file.");
return;
}
if (!name.trim()) {
toast.error("Il nome è obbligatorio.");
toast.error("Name is required.");
return;
}
@@ -445,16 +444,16 @@ function UploadDialog({
id?: number;
};
if (!res.ok || !json.ok) {
toast.error(json.error || "Upload fallito.");
toast.error(json.error || "Upload failed.");
return;
}
toast.success(`Song disk #${json.id} caricato.`);
toast.success(`Song disk #${json.id} uploaded.`);
reset();
onOpenChange(false);
onUploaded();
} catch (err) {
console.error(err);
toast.error("Errore di rete durante l'upload.");
toast.error("Network error during upload.");
} finally {
setUploading(false);
}
@@ -471,14 +470,14 @@ function UploadDialog({
<DialogHeader>
<DialogTitle>Upload Song Disk</DialogTitle>
<DialogDescription>
Carica un file MP3. Dimensione massima 10 MB. Il codice sarà
generato automaticamente come <code>song_&#123;id&#125;</code>.
Upload an MP3 file. Max size 10 MB. The code will be generated
automatically as <code>song_&#123;id&#125;</code>.
</DialogDescription>
</DialogHeader>
<form onSubmit={handleSubmit} className="space-y-4">
<div className="space-y-1">
<Label htmlFor="sound-file">File MP3</Label>
<Label htmlFor="sound-file">MP3 file</Label>
<Input
id="sound-file"
type="file"
@@ -488,23 +487,23 @@ function UploadDialog({
/>
</div>
<div className="space-y-1">
<Label htmlFor="sound-name">Nome</Label>
<Label htmlFor="sound-name">Name</Label>
<Input
id="sound-name"
value={name}
onChange={(e) => setName(e.target.value)}
placeholder="Titolo del brano"
placeholder="Track title"
maxLength={100}
required
/>
</div>
<div className="space-y-1">
<Label htmlFor="sound-author">Autore</Label>
<Label htmlFor="sound-author">Author</Label>
<Input
id="sound-author"
value={author}
onChange={(e) => setAuthor(e.target.value)}
placeholder="Autore (opzionale)"
placeholder="Author (optional)"
maxLength={50}
/>
</div>
@@ -516,7 +515,7 @@ function UploadDialog({
onClick={() => onOpenChange(false)}
disabled={uploading}
>
Annulla
Cancel
</Button>
<Button type="submit" disabled={uploading}>
{uploading ? (
@@ -524,7 +523,7 @@ function UploadDialog({
) : (
<Upload className="h-4 w-4 mr-1" />
)}
Carica
Upload
</Button>
</DialogFooter>
</form>
@@ -555,12 +554,12 @@ function EditDialog({
function handleSubmit(e: React.FormEvent) {
e.preventDefault();
if (!name.trim()) {
toast.error("Il nome è obbligatorio.");
toast.error("Name is required.");
return;
}
const lenNum = Number.parseInt(length, 10);
if (!Number.isFinite(lenNum) || lenNum < 0) {
toast.error("La durata deve essere un numero ≥ 0.");
toast.error("Length must be a number ≥ 0.");
return;
}
run(
@@ -573,8 +572,8 @@ function EditDialog({
length: lenNum,
}),
{
successMessage: "Song disk aggiornato.",
errorMessage: "Impossibile aggiornare il song disk.",
successMessage: "Song disk updated.",
errorMessage: "Unable to update the song disk.",
onSuccess: onSaved,
},
);
@@ -585,21 +584,21 @@ function EditDialog({
<DialogContent className="max-w-2xl">
<DialogHeader>
<DialogTitle>
Modifica {isComposition ? "Trax Composition" : "Song Disk"}
Edit {isComposition ? "Trax Composition" : "Song Disk"}
</DialogTitle>
<DialogDescription>
<span className="font-mono text-xs">{soundtrack.code}</span>
{isComposition ? (
<>
{" "}
— composition di {soundtrack.samples.length} sample. Modifica il
campo <code>track</code> solo se sai cosa stai facendo.
— composition of {soundtrack.samples.length} samples. Edit the{" "}
<code>track</code> field only if you know what you are doing.
</>
) : (
<>
{" "}
— il file MP3 non può essere sostituito: elimina e ricarica se
devi cambiare audio.
— the MP3 file cannot be replaced: delete and re-upload if you
need to change the audio.
</>
)}
</DialogDescription>
@@ -607,7 +606,7 @@ function EditDialog({
<form onSubmit={handleSubmit} className="space-y-4">
<div className="space-y-1">
<Label htmlFor="edit-name">Nome</Label>
<Label htmlFor="edit-name">Name</Label>
<Input
id="edit-name"
value={name}
@@ -617,7 +616,7 @@ function EditDialog({
/>
</div>
<div className="space-y-1">
<Label htmlFor="edit-author">Autore</Label>
<Label htmlFor="edit-author">Author</Label>
<Input
id="edit-author"
value={author}
@@ -626,7 +625,7 @@ function EditDialog({
/>
</div>
<div className="space-y-1">
<Label htmlFor="edit-length">Durata (secondi)</Label>
<Label htmlFor="edit-length">Length (seconds)</Label>
<Input
id="edit-length"
type="number"
@@ -636,8 +635,8 @@ function EditDialog({
/>
<p className="text-xs text-muted-foreground">
{isComposition
? "Durata totale della composition. Lascia 0 se sconosciuta."
: "Impostato automaticamente dall’upload. Modifica solo se errato."}
? "Total composition length. Leave 0 if unknown."
: "Set automatically from the upload. Edit only if incorrect."}
</p>
</div>
@@ -653,8 +652,8 @@ function EditDialog({
placeholder="1:371,8;374,4;378,4;0,4;…"
/>
<p className="text-xs text-muted-foreground">
Formato: <code>canale:sample_id,durata;sample_id,durata;…</code>{" "}
— <code>0</code> = silenzio. Sample IDs rilevati:{" "}
Format: <code>channel:sample_id,length;sample_id,length;…</code>{" "}
— <code>0</code> = silence. Detected sample IDs:{" "}
<span className="font-mono">
{soundtrack.samples.join(", ") || "—"}
</span>
@@ -670,11 +669,11 @@ function EditDialog({
onClick={() => onOpenChange(false)}
disabled={isPending}
>
Annulla
Cancel
</Button>
<Button type="submit" disabled={isPending}>
{isPending && <Loader2 className="h-4 w-4 mr-1 animate-spin" />}
Salva
Save
</Button>
</DialogFooter>
</form>
@@ -74,11 +74,11 @@ export function ClientTranslations({
function handleSave() {
if (activeFile.readOnly) return;
run(() => saveClientTranslations({ fileId: activeFile.id, data }), {
successMessage: "File salvato.",
successMessage: "File saved.",
onSuccess: (result) => {
if (result?.commentsLost) {
toast.warning(
"Alcune chiavi non corrispondevano al formato standard: file riserializzato e commenti rimossi.",
"Some keys did not match the standard format: file was reserialized and comments were removed.",
);
}
router.refresh();
@@ -115,7 +115,7 @@ export function ClientTranslations({
disabled={isPending || activeFile.readOnly || !!parseError}
>
<Save className="w-4 h-4 mr-1" />{" "}
{isPending ? "Salvataggio..." : "Salva"}
{isPending ? "Saving..." : "Save"}
</Button>
</div>
</div>
@@ -144,7 +144,7 @@ export function ClientTranslations({
</Select>
<Input
placeholder="Cerca per chiave o valore..."
placeholder="Search by key or value..."
value={search}
onChange={(e) => {
setSearch(e.target.value);
@@ -154,7 +154,7 @@ export function ClientTranslations({
/>
<span className="text-sm text-muted-foreground">
{filteredKeys.length} chiavi
{filteredKeys.length} keys
</span>
</div>
@@ -174,7 +174,7 @@ export function ClientTranslations({
)}
{activeFile.hasComments && !activeFile.readOnly && (
<Badge variant="secondary" className="gap-1 text-[11px]">
<Info className="w-3 h-3" /> commenti preservati
<Info className="w-3 h-3" /> comments preserved
</Badge>
)}
</div>
@@ -189,9 +189,9 @@ export function ClientTranslations({
<div className="rounded-md border border-[var(--admin-warning-border)] bg-[var(--admin-warning-subtle)] px-3 py-2 text-xs text-[var(--admin-warning)] dark:text-[var(--admin-warning)] flex items-start gap-2">
<Lock className="w-4 h-4 flex-shrink-0 mt-0.5" />
<div>
Questo file è di sola lettura.{" "}
This file is read-only.{" "}
{activeFile.note ??
"Modificarlo manualmente non è supportato dal CMS."}
"Manual editing is not supported by the CMS."}
</div>
</div>
)}
@@ -200,24 +200,23 @@ export function ClientTranslations({
<div className="rounded-md border border-[var(--admin-info-border)] bg-[var(--admin-info-subtle)] px-3 py-2 text-xs text-[var(--admin-info)] dark:text-[var(--admin-info)] flex items-start gap-2">
<Info className="w-4 h-4 flex-shrink-0 mt-0.5" />
<div>
I commenti vengono preservati: il salvataggio modifica solo le righe
dei valori cambiati. Se una chiave usa un formato non standard ed è
impossibile patchare in-place, il file viene riserializzato
(commenti persi) e ti avviseremo.
Comments are preserved: saving only patches changed value lines. If
a key uses a non-standard format and cannot be patched in-place, the
file is reserialized (comments lost) and you will be warned.
</div>
</div>
)}
{parseError && (
<div className="rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-xs text-destructive">
Errore di parsing: {parseError}
Parse error: {parseError}
</div>
)}
<div className="rounded-lg border bg-card divide-y">
{pageKeys.length === 0 && !parseError && (
<div className="px-4 py-6 text-sm text-muted-foreground text-center">
Nessuna voce.
No entries.
</div>
)}
{pageKeys.map((key) => (
@@ -241,7 +240,7 @@ export function ClientTranslations({
{totalPages > 1 && (
<div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">
Pagina {page} di {totalPages}
Page {page} of {totalPages}
</span>
<div className="flex gap-1">
<Button
+1 -1
View File
@@ -83,7 +83,7 @@ export default async function EmulatorTranslationsPage({
<p className="text-sm text-muted-foreground">{t("subtitle")}</p>
</div>
<Button asChild variant="outline" size="sm">
<Link href="/admin/settings/emulator">
<Link href="/admin/emulator">
<ExternalLink className="w-4 h-4 mr-1" />
{t("fullSettings")}
</Link>
@@ -0,0 +1,48 @@
import { withAdmin } from "@/lib/api-handler";
import { apiError, apiOk } from "@/lib/api-response";
import { PERMS } from "@/lib/permissions";
import { prisma } from "@/lib/prisma";
interface BlacklistWord {
id: number;
word: string;
}
export const GET = withAdmin({ permission: PERMS.PREFIXES_VIEW }, async () => {
const words = await prisma.$queryRaw<BlacklistWord[]>`
SELECT id, word FROM custom_prefix_blacklist ORDER BY word ASC
`;
return apiOk({
words: words.map((w) => ({ ...w, created_at: "" })),
});
});
export const POST = withAdmin(
{ permission: PERMS.PREFIXES_EDIT },
async (request) => {
const body = await request.json();
const word = typeof body.word === "string" ? body.word.trim() : "";
if (!word) return apiError("Word is required");
await prisma.$executeRaw`INSERT INTO custom_prefix_blacklist (word) VALUES (${word})`;
return apiOk();
},
);
export const DELETE = withAdmin(
{ permission: PERMS.PREFIXES_EDIT },
async (request) => {
const body = await request.json();
const id = Number(body.id);
if (!Number.isInteger(id) || id <= 0)
return apiError("Missing or invalid word id");
await prisma.$executeRaw`DELETE FROM custom_prefix_blacklist WHERE id = ${id}`;
return apiOk({ deleted: id });
},
);
+124
View File
@@ -0,0 +1,124 @@
import { Prisma } from "@/generated/prisma/client";
import { withAdmin } from "@/lib/api-handler";
import { apiError, apiOk } from "@/lib/api-response";
import { PERMS } from "@/lib/permissions";
import { prisma } from "@/lib/prisma";
interface UserPrefix {
id: number;
user_id: number;
text: string;
color: string;
icon: string;
effect: string;
active: number;
username?: string | null;
}
export const GET = withAdmin(
{ permission: PERMS.PREFIXES_VIEW },
async (request) => {
const url = request.nextUrl;
const q = url.searchParams.get("q") || "";
const page = Math.max(1, Number(url.searchParams.get("page") || 1));
const limit = 50;
const offset = (page - 1) * limit;
const whereFragment = q
? Prisma.sql`WHERE up.text LIKE ${`%${q}%`} OR u.username LIKE ${`%${q}%`}`
: Prisma.empty;
const prefixes = await prisma.$queryRaw<UserPrefix[]>(
Prisma.sql`SELECT up.id, up.user_id, up.text, up.color, up.icon, up.effect, up.active, u.username
FROM custom_prefixes up
LEFT JOIN users u ON u.id = up.user_id
${whereFragment}
ORDER BY up.id DESC
LIMIT ${limit} OFFSET ${offset}`,
);
const countResult = await prisma.$queryRaw<[{ total: bigint }]>(
Prisma.sql`SELECT COUNT(*) as total FROM custom_prefixes up
LEFT JOIN users u ON u.id = up.user_id
${whereFragment}`,
);
const total = Number(countResult[0]?.total || 0);
return apiOk({
prefixes: prefixes.map((p) => ({
...p,
icon: p.icon || "",
effect: p.effect || "",
active: Boolean(p.active),
created_at: "",
})),
total,
page,
pages: Math.max(1, Math.ceil(total / limit)),
});
},
);
export const POST = withAdmin(
{ permission: PERMS.PREFIXES_EDIT },
async (request) => {
const body = await request.json();
const { username, text, color, icon, effect, active } = body;
if (!username || !text || !color) {
return apiError("Missing required fields: username, text, color");
}
const users = await prisma.$queryRaw<{ id: number }[]>(
Prisma.sql`SELECT id FROM users WHERE username = ${username} LIMIT 1`,
);
if (!users || users.length === 0) {
return apiError("User not found");
}
const userId = users[0].id;
await prisma.$executeRaw(
Prisma.sql`INSERT INTO custom_prefixes (user_id, text, color, icon, effect, active)
VALUES (${userId}, ${text}, ${color}, ${icon || ""}, ${effect || ""}, ${active ? 1 : 0})`,
);
return apiOk({ created: true });
},
);
export const PUT = withAdmin(
{ permission: PERMS.PREFIXES_EDIT },
async (request) => {
const body = await request.json();
const { id, text, color, icon, effect, active } = body;
if (!id) return apiError("Missing prefix id");
await prisma.$executeRaw(
Prisma.sql`UPDATE custom_prefixes
SET text = ${text}, color = ${color}, icon = ${icon || ""}, effect = ${effect || ""}, active = ${active ? 1 : 0}
WHERE id = ${id}`,
);
return apiOk({ updated: id });
},
);
export const DELETE = withAdmin(
{ permission: PERMS.PREFIXES_EDIT },
async (request) => {
const body = await request.json();
const id = body.id;
if (!id) return apiError("Missing prefix id");
await prisma.$executeRaw(
Prisma.sql`DELETE FROM custom_prefixes WHERE id = ${id}`,
);
return apiOk({ deleted: id });
},
);
@@ -0,0 +1,70 @@
import { withAdmin } from "@/lib/api-handler";
import { apiError, apiOk } from "@/lib/api-response";
import { PERMS } from "@/lib/permissions";
import { prisma } from "@/lib/prisma";
interface PrefixSetting {
key: string;
value: string;
}
const VALID_KEYS = new Set([
"enabled",
"max_length",
"min_rank",
"min_rank_to_buy",
"allow_colors",
"allow_bold",
"allow_italic",
"default_color",
"price_credits",
"price_points",
"points_type",
]);
const DEFAULT_SETTINGS: Record<string, string> = {
max_length: "15",
min_rank_to_buy: "1",
price_credits: "5",
price_points: "0",
points_type: "0",
};
export const GET = withAdmin({ permission: PERMS.PREFIXES_VIEW }, async () => {
const settings = await prisma.$queryRaw<PrefixSetting[]>`
SELECT \`key\`, \`value\` FROM custom_prefix_settings
`;
const result: Record<string, string> = { ...DEFAULT_SETTINGS };
for (const s of settings) {
result[s.key] = s.value;
}
return apiOk({ settings: result });
});
export const PUT = withAdmin(
{ permission: PERMS.PREFIXES_EDIT },
async (request) => {
const body = await request.json();
const settings = body.settings;
if (!settings || typeof settings !== "object") {
return apiError("Settings object is required");
}
for (const [key, value] of Object.entries(settings)) {
if (!VALID_KEYS.has(key)) {
return apiError(`Invalid setting key: ${key}`);
}
const strValue = String(value);
await prisma.$executeRaw`
INSERT INTO custom_prefix_settings (\`key\`, \`value\`)
VALUES (${key}, ${strValue})
ON DUPLICATE KEY UPDATE \`value\` = ${strValue}
`;
}
return apiOk();
},
);
+11 -1
View File
@@ -104,10 +104,20 @@ const getCurrentAuthorizationState = cache(async (userId: number) =>
resolveAuthorizationState(userId, {
user: prisma.user,
highestRank: async () => {
// Prefer the highest rank actually held by a user. Unused high IDs in
// permission_ranks (common on Habbo DBs) would otherwise lock the real
// owner out of super-admin / permissions management.
const rows = await prisma.$queryRaw<
{ highest_rank: number | bigint | null }[]
>`
SELECT MAX(id) AS highest_rank FROM permission_ranks
SELECT COALESCE(
(
SELECT MAX(u.\`rank\`)
FROM users u
INNER JOIN permission_ranks pr ON pr.id = u.\`rank\`
),
(SELECT MAX(id) FROM permission_ranks)
) AS highest_rank
`;
return rows[0]?.highest_rank == null
? null
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Кутии за писане",
"photos": "Снимки",
"tickets": "Билети",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Потребители и достъп",
"users": "Потребители",
"bans": "забрани",
@@ -706,6 +710,8 @@
"applications": "Приложения",
"teams": "Екипи",
"permissions": "Разрешения",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "икономичност",
"catalog": "Каталог",
"shop": "Магазин",
@@ -732,6 +738,9 @@
"emulator": "Емулатор",
"alerts": "Сигнали",
"logs": "трупи",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Филтър за думи",
"maintenance": "Поддръжка",
"rooms": "Стаи",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Popsatelné krabice",
"photos": "Fotografie",
"tickets": "Vstupenky",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Uživatelé a přístup",
"users": "Uživatelé",
"bans": "Zákazy",
@@ -706,6 +710,8 @@
"applications": "Aplikace",
"teams": "Týmy",
"permissions": "Oprávnění",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Ekonomika",
"catalog": "Katalog",
"shop": "Obchod",
@@ -732,6 +738,9 @@
"emulator": "Emulátor",
"alerts": "Upozornění",
"logs": "Protokoly",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filtr slov",
"maintenance": "Údržba",
"rooms": "Pokoje",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Skrivbare kasser",
"photos": "Fotos",
"tickets": "Billetter",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Brugere og adgang",
"users": "Brugere",
"bans": "Forbud",
@@ -706,6 +710,8 @@
"applications": "Ansøgninger",
"teams": "Hold",
"permissions": "Tilladelser",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Økonomi",
"catalog": "Katalog",
"shop": "Butik",
@@ -732,6 +738,9 @@
"emulator": "Emulator",
"alerts": "Advarsler",
"logs": "Logs",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Ord filter",
"maintenance": "Vedligeholdelse",
"rooms": "Værelser",
+15 -6
View File
@@ -662,6 +662,10 @@
"writeableBoxes": "Editierbare Boxen",
"photos": "Fotos",
"tickets": "Tickets",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Benutzer & Zugang",
"users": "Benutzer",
"bans": "Banns",
@@ -670,6 +674,8 @@
"applications": "Bewerbungen",
"teams": "Teams",
"permissions": "Berechtigungen",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Wirtschaft",
"catalog": "Katalog",
"shop": "Shop",
@@ -696,21 +702,24 @@
"emulator": "Emulator",
"alerts": "Alarme",
"logs": "Logs",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Wortfilter",
"maintenance": "Wartung",
"housekeeping": "Hausverwaltung",
"rooms": "Räume",
"emailTemplates": "E-Mail-Vorlagen",
"theme": "Design",
"media": "Medien",
"settings": "Einstellungen",
"backToSite": "Zurück zur Website",
"hotelManagementPanel": "Hotel-Verwaltungsbereich",
"rankLabel": "Rang {rank}",
"favicon": "Favicon",
"sounds": "Sounds",
"translations": "Übersetzungen",
"import": "Importieren"
"import": "Importieren",
"settings": "Einstellungen",
"backToSite": "Zurück zur Website",
"housekeeping": "Hausverwaltung",
"hotelManagementPanel": "Hotel-Verwaltungsbereich",
"rankLabel": "Rang {rank}"
},
"dashboard": {
"title": "Dashboard",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Εγγράψιμα κουτιά",
"photos": "Φωτογραφίες",
"tickets": "Εισιτήρια",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Χρήστες και πρόσβαση",
"users": "Χρήστες",
"bans": "Απαγορεύσεις",
@@ -706,6 +710,8 @@
"applications": "Εφαρμογές",
"teams": "Ομάδες",
"permissions": "Άδειες",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Οικονομία",
"catalog": "Κατάλογος",
"shop": "Κατάστημα",
@@ -732,6 +738,9 @@
"emulator": "Εξομοιωτής",
"alerts": "Ειδοποιήσεις",
"logs": "κούτσουρα",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Φίλτρο λέξεων",
"maintenance": "Συντήρηση",
"rooms": "Δωμάτια",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Writeable boxes",
"photos": "Photos",
"tickets": "Tickets",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Users & access",
"users": "Users",
"bans": "Bans",
@@ -706,6 +710,8 @@
"applications": "Applications",
"teams": "Teams",
"permissions": "Permissions",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Economy",
"catalog": "Catalog",
"shop": "Shop",
@@ -732,6 +738,9 @@
"emulator": "Emulator",
"alerts": "Alerts",
"logs": "Logs",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Word filter",
"maintenance": "Maintenance",
"rooms": "Rooms",
+15 -6
View File
@@ -662,6 +662,10 @@
"writeableBoxes": "Cajas editables",
"photos": "Fotos",
"tickets": "Tickets",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Usuarios y acceso",
"users": "Usuarios",
"bans": "Sanciones",
@@ -670,6 +674,8 @@
"applications": "Solicitudes",
"teams": "Equipos",
"permissions": "Permisos",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Economía",
"catalog": "Catálogo",
"shop": "Tienda",
@@ -696,21 +702,24 @@
"emulator": "Emulador",
"alerts": "Alertas",
"logs": "Registros",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filtro de palabras",
"maintenance": "Mantenimiento",
"housekeeping": "Housekeeping",
"rooms": "Salas",
"emailTemplates": "Plantillas de correo",
"theme": "Tema",
"media": "Multimedia",
"settings": "Ajustes",
"backToSite": "Volver al sitio",
"hotelManagementPanel": "Panel de gestión del hotel",
"rankLabel": "Rango {rank}",
"favicon": "Favicon",
"sounds": "Sonidos",
"translations": "Traducciones",
"import": "Importar"
"import": "Importar",
"settings": "Ajustes",
"backToSite": "Volver al sitio",
"housekeeping": "Housekeeping",
"hotelManagementPanel": "Panel de gestión del hotel",
"rankLabel": "Rango {rank}"
},
"dashboard": {
"title": "Panel",
+15 -6
View File
@@ -662,6 +662,10 @@
"writeableBoxes": "Boîtes modifiables",
"photos": "Photos",
"tickets": "Tickets",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Utilisateurs & accès",
"users": "Utilisateurs",
"bans": "Bannissements",
@@ -670,6 +674,8 @@
"applications": "Candidatures",
"teams": "Équipes",
"permissions": "Permissions",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Économie",
"catalog": "Catalogue",
"shop": "Boutique",
@@ -696,21 +702,24 @@
"emulator": "Émulateur",
"alerts": "Alertes",
"logs": "Journaux",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filtre de mots",
"maintenance": "Maintenance",
"housekeeping": "Gouvernance",
"rooms": "Salons",
"emailTemplates": "Modèles d'e-mail",
"theme": "Thème",
"media": "Médias",
"settings": "Paramètres",
"backToSite": "Retour au site",
"hotelManagementPanel": "Panneau de gestion de l'hôtel",
"rankLabel": "Rang {rank}",
"favicon": "Favicon",
"sounds": "Sons",
"translations": "Traductions",
"import": "Importer"
"import": "Importer",
"settings": "Paramètres",
"backToSite": "Retour au site",
"housekeeping": "Gouvernance",
"hotelManagementPanel": "Panneau de gestion de l'hôtel",
"rankLabel": "Rang {rank}"
},
"dashboard": {
"title": "Tableau de bord",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Kutije za pisanje",
"photos": "Fotografije",
"tickets": "Ulaznice",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Korisnici i pristup",
"users": "Korisnici",
"bans": "Zabrane",
@@ -706,6 +710,8 @@
"applications": "Prijave",
"teams": "Timovi",
"permissions": "Dozvole",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Gospodarstvo",
"catalog": "Katalog",
"shop": "Trgovina",
@@ -732,6 +738,9 @@
"emulator": "Emulator",
"alerts": "upozorenja",
"logs": "Dnevnici",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filter riječi",
"maintenance": "Održavanje",
"rooms": "Sobe",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Írható dobozok",
"photos": "Fényképek",
"tickets": "Jegyek",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Felhasználók és hozzáférés",
"users": "Felhasználók",
"bans": "Tiltások",
@@ -706,6 +710,8 @@
"applications": "Alkalmazások",
"teams": "Csapatok",
"permissions": "Engedélyek",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Gazdaság",
"catalog": "Katalógus",
"shop": "Bolt",
@@ -732,6 +738,9 @@
"emulator": "Emulátor",
"alerts": "Figyelmeztetések",
"logs": "Naplók",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Szószűrő",
"maintenance": "Karbantartás",
"rooms": "Szobák",
+9
View File
@@ -662,6 +662,10 @@
"writeableBoxes": "Box modificabili",
"photos": "Foto",
"tickets": "Ticket",
"events": "Eventi",
"polls": "Sondaggi",
"banners": "Banner",
"prefixes": "Prefissi",
"usersAndAccess": "Utenti e accesso",
"users": "Utenti",
"bans": "Ban",
@@ -670,6 +674,8 @@
"applications": "Candidature",
"teams": "Team",
"permissions": "Permessi",
"onlineUsers": "Utenti online",
"moderation": "Moderazione",
"economy": "Economia",
"catalog": "Catalogo",
"shop": "Negozio",
@@ -696,6 +702,9 @@
"emulator": "Emulatore",
"alerts": "Avvisi",
"logs": "Registri",
"auditLog": "Log di audit",
"analytics": "Analitiche",
"devops": "DevOps",
"wordFilter": "Filtro parole",
"maintenance": "Manutenzione",
"housekeeping": "Housekeeping",
+21 -12
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Beschrijfbare boxes",
"photos": "Foto's",
"tickets": "Tickets",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Gebruikers & toegang",
"users": "Gebruikers",
"bans": "Bans",
@@ -706,6 +710,8 @@
"applications": "Sollicitaties",
"teams": "Teams",
"permissions": "Permissies",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Economie",
"catalog": "Catalogus",
"shop": "Winkel",
@@ -732,9 +738,11 @@
"emulator": "Emulator",
"alerts": "Meldingen",
"logs": "Logboeken",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Woordfilter",
"maintenance": "Onderhoud",
"housekeeping": "Housekeeping",
"rooms": "Kamers",
"emailTemplates": "E-mailsjablonen",
"theme": "Thema",
@@ -745,6 +753,7 @@
"import": "Importeren",
"settings": "Instellingen",
"backToSite": "Terug naar site",
"housekeeping": "Housekeeping",
"hotelManagementPanel": "Hotelbeheerpaneel",
"rankLabel": "Rang {rank}"
},
@@ -1504,7 +1513,7 @@
},
"embedPage": {
"title": "Radio Embed",
"subtitle": "Copy-ready embed code for the live stream. Read-only \u2014 nothing here writes to the database. Configure the stream URL in Radio Settings (radio_stream_url).",
"subtitle": "Copy-ready embed code for the live stream. Read-only — nothing here writes to the database. Configure the stream URL in Radio Settings (radio_stream_url).",
"streamUrl": "Stream URL",
"configured": "Configured",
"missing": "Missing",
@@ -1521,7 +1530,7 @@
"audioSnippet": "Audio player snippet",
"audioSnippetDesc": "Drop-in HTML5 audio player pointed straight at the stream. Works anywhere plain HTML is allowed.",
"iframeSnippet": "Iframe wrapper snippet",
"iframeSnippetDesc": "Embeds the site\u2019s own radio player page in an iframe \u2014 keeps your styling and now-playing info. Adjust width/height to taste.",
"iframeSnippetDesc": "Embeds the site’s own radio player page in an iframe — keeps your styling and now-playing info. Adjust width/height to taste.",
"audioUnsupported": "Your browser does not support the audio element."
},
"banners": {
@@ -1531,7 +1540,7 @@
"addBanner": "Banner toevoegen",
"createBanner": "Create banner",
"deleteBanner": "Banner verwijderen",
"noBanners": "No banners yet \u2014 add one above.",
"noBanners": "No banners yet — add one above.",
"existing": "Existing banners ({count})",
"save": "Save",
"delete": "Delete",
@@ -1562,7 +1571,7 @@
"description": "Description",
"createRank": "Create rank",
"existing": "Existing ranks ({count})",
"noRanks": "No ranks yet \u2014 add one above.",
"noRanks": "No ranks yet — add one above.",
"activeLabel": "active",
"inactiveLabel": "inactive",
"save": "Save",
@@ -1589,13 +1598,13 @@
},
"apiKeysForm": {
"title": "API-sleutels",
"subtitle": "API keys for external radio integrations (radio_api_keys). Keys are generated server-side and shown masked \u2014 copy the full value from the database when first issued.",
"subtitle": "API keys for external radio integrations (radio_api_keys). Keys are generated server-side and shown masked — copy the full value from the database when first issued.",
"dbError": "Could not load API keys (database unavailable).",
"totalKeys": "Total keys",
"active": "Active",
"inactive": "Inactive",
"generateKey": "Nieuwe sleutel genereren",
"generateHint": "The secret key is generated automatically with cryptographic randomness \u2014 you do not enter it.",
"generateHint": "The secret key is generated automatically with cryptographic randomness — you do not enter it.",
"name": "Name",
"namePlaceholder": "AzureCast bridge",
"rateLimit": "Rate limit (requests/min)",
@@ -1603,7 +1612,7 @@
"allowedIpsPlaceholder": "comma-separated, blank = any",
"generate": "Genereren",
"existingKeys": "Existing keys ({count})",
"noKeys": "No API keys yet \u2014 generate one above.",
"noKeys": "No API keys yet — generate one above.",
"colName": "Name",
"colKey": "Sleutel",
"colAllowedIps": "Allowed IPs",
@@ -1656,12 +1665,12 @@
"artist": "Artist",
"album": "Album",
"artworkUrl": "Artwork URL",
"artworkUrlPlaceholder": "https://\u2026/cover.png",
"artworkUrlPlaceholder": "https://…/cover.png",
"duration": "Duration (seconds)",
"durationPlaceholder": "e.g. 215",
"sortOrder": "Sort order",
"playlist": "Playlist ({count})",
"noTracks": "No AutoDJ tracks yet \u2014 add one above.",
"noTracks": "No AutoDJ tracks yet — add one above.",
"colOrder": "Order",
"colTitle": "Title",
"colArtist": "Artist",
@@ -1679,7 +1688,7 @@
},
"monitoring": {
"title": "Radiomonitoring",
"subtitle": "Read-only live probe of the configured radio endpoints (radio_now_playing_api_url, radio_listeners_api_url). Each request fails soft with a {timeout}s timeout \u2014 no data is written. Configure URLs under Settings.",
"subtitle": "Read-only live probe of the configured radio endpoints (radio_now_playing_api_url, radio_listeners_api_url). Each request fails soft with a {timeout}s timeout — no data is written. Configure URLs under Settings.",
"stream": "Stream",
"online": "Online",
"offline": "Offline",
@@ -1694,7 +1703,7 @@
"noNowPlayingHint": "no now-playing API set",
"noListenersHint": "no listeners API set",
"endpointDiagnostics": "Endpoint diagnostics",
"diagnosticsLegend": "<span class=\"inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-green-600/20 text-[var(--color-text)]\">OK</span> reachable \u00b7 <span class=\"inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-[var(--color-primary)]/18 text-[var(--color-text)]\">WARN</span> not configured \u00b7 <span class=\"inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-red-500/22 text-[var(--color-text)]\">ERROR</span> fetch failed / timed out.",
"diagnosticsLegend": "<span class=\"inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-green-600/20 text-[var(--color-text)]\">OK</span> reachable · <span class=\"inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-[var(--color-primary)]/18 text-[var(--color-text)]\">WARN</span> not configured · <span class=\"inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full bg-red-500/22 text-[var(--color-text)]\">ERROR</span> fetch failed / timed out.",
"streamUrl": "Stream URL",
"unreachable": "unreachable",
"refresh": "Vernieuwen"
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Skrivbare bokser",
"photos": "Bilder",
"tickets": "Billetter",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Brukere og tilgang",
"users": "Brukere",
"bans": "Forbud",
@@ -706,6 +710,8 @@
"applications": "Søknader",
"teams": "Lag",
"permissions": "Tillatelser",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Økonomi",
"catalog": "Katalog",
"shop": "Handle",
@@ -732,6 +738,9 @@
"emulator": "Emulator",
"alerts": "Varsler",
"logs": "Logger",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Ordfilter",
"maintenance": "Vedlikehold",
"rooms": "Rom",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Pudełka z możliwością zapisu",
"photos": "Zdjęcia",
"tickets": "Bilety",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Użytkownicy i dostęp",
"users": "Użytkownicy",
"bans": "Zakazy",
@@ -706,6 +710,8 @@
"applications": "Aplikacje",
"teams": "Zespoły",
"permissions": "Uprawnienia",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Ekonomia",
"catalog": "Katalog",
"shop": "Sklep",
@@ -732,6 +738,9 @@
"emulator": "Emulator",
"alerts": "Alerty",
"logs": "Dzienniki",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filtr słów",
"maintenance": "Konserwacja",
"rooms": "Pokoje",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Caixas graváveis",
"photos": "Fotos",
"tickets": "Ingressos",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Usuários e acesso",
"users": "Usuários",
"bans": "Proibições",
@@ -706,6 +710,8 @@
"applications": "Aplicativos",
"teams": "Equipes",
"permissions": "Permissões",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Economia",
"catalog": "Catálogo",
"shop": "Loja",
@@ -732,6 +738,9 @@
"emulator": "Emulador",
"alerts": "Alertas",
"logs": "Registros",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filtro de palavras",
"maintenance": "Manutenção",
"rooms": "Quartos",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Cutii care pot fi scrise",
"photos": "Fotografii",
"tickets": "bilete",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Utilizatori și acces",
"users": "Utilizatori",
"bans": "Interdicții",
@@ -706,6 +710,8 @@
"applications": "Aplicații",
"teams": "Echipe",
"permissions": "Permisiuni",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Economie",
"catalog": "Catalog",
"shop": "Magazin",
@@ -732,6 +738,9 @@
"emulator": "Emulator",
"alerts": "Alerte",
"logs": "Bușteni",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filtru de cuvinte",
"maintenance": "Întreținere",
"rooms": "Camerele",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Ящики для записи",
"photos": "Фото",
"tickets": "Билеты",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Пользователи и доступ",
"users": "Пользователи",
"bans": "Запреты",
@@ -706,6 +710,8 @@
"applications": "Области применения",
"teams": "Команды",
"permissions": "Разрешения",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Экономика",
"catalog": "Каталог",
"shop": "Магазин",
@@ -732,6 +738,9 @@
"emulator": "Эмулятор",
"alerts": "Оповещения",
"logs": "Журналы",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Фильтр слов",
"maintenance": "Техническое обслуживание",
"rooms": "Номера",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Popisovateľné boxy",
"photos": "Fotografie",
"tickets": "Vstupenky",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Používatelia a prístup",
"users": "Používatelia",
"bans": "Zákazy",
@@ -706,6 +710,8 @@
"applications": "Aplikácie",
"teams": "Tímy",
"permissions": "Povolenia",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "ekonomika",
"catalog": "Katalóg",
"shop": "Obchod",
@@ -732,6 +738,9 @@
"emulator": "Emulátor",
"alerts": "Upozornenia",
"logs": "Denníky",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Filter slov",
"maintenance": "Údržba",
"rooms": "Izby",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Кутије за писање",
"photos": "Фотографије",
"tickets": "Улазнице",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Корисници и приступ",
"users": "Корисници",
"bans": "Банс",
@@ -706,6 +710,8 @@
"applications": "Апликације",
"teams": "Тимови",
"permissions": "Дозволе",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Економија",
"catalog": "Каталог",
"shop": "Схоп",
@@ -732,6 +738,9 @@
"emulator": "Емулатор",
"alerts": "Алертс",
"logs": "Дневници",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Филтер речи",
"maintenance": "Одржавање",
"rooms": "Собе",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Skrivbara lådor",
"photos": "Foton",
"tickets": "Biljetter",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Användare och åtkomst",
"users": "Användare",
"bans": "Förbud",
@@ -706,6 +710,8 @@
"applications": "Ansökningar",
"teams": "Lag",
"permissions": "Behörigheter",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Ekonomi",
"catalog": "Katalog",
"shop": "Handla",
@@ -732,6 +738,9 @@
"emulator": "Emulator",
"alerts": "Varningar",
"logs": "Loggar",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Ordfilter",
"maintenance": "Underhåll",
"rooms": "Rum",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Yazılabilir kutular",
"photos": "Fotoğraflar",
"tickets": "Biletler",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Kullanıcılar ve erişim",
"users": "Kullanıcılar",
"bans": "Yasaklar",
@@ -706,6 +710,8 @@
"applications": "Uygulamalar",
"teams": "Takımlar",
"permissions": "İzinler",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Ekonomi",
"catalog": "Katalog",
"shop": "Mağaza",
@@ -732,6 +738,9 @@
"emulator": "Emülatör",
"alerts": "Uyarılar",
"logs": "Günlükler",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Kelime filtresi",
"maintenance": "Bakım",
"rooms": "Odalar",
+9
View File
@@ -698,6 +698,10 @@
"writeableBoxes": "Ящики для запису",
"photos": "Фотографії",
"tickets": "квитки",
"events": "Events",
"polls": "Polls",
"banners": "Banners",
"prefixes": "Prefixes",
"usersAndAccess": "Користувачі та доступ",
"users": "Користувачі",
"bans": "Заборони",
@@ -706,6 +710,8 @@
"applications": "Додатки",
"teams": "Команди",
"permissions": "Дозволи",
"onlineUsers": "Online users",
"moderation": "Moderation",
"economy": "Економіка",
"catalog": "Каталог",
"shop": "Магазин",
@@ -732,6 +738,9 @@
"emulator": "Емулятор",
"alerts": "Оповіщення",
"logs": "Журнали",
"auditLog": "Audit log",
"analytics": "Analytics",
"devops": "DevOps",
"wordFilter": "Фільтр Word",
"maintenance": "Технічне обслуговування",
"rooms": "Кімнати",