-
-**Palmr.** is a **flexible** and **open-source** alternative to file transfer services like **WeTransfer**, **SendGB**, **Send Anywhere**, and **Files.fm**.
-
-
-๐ **For detailed documentation visit:** [Palmr. - Documentation](https://palmr.kyantech.com.br)
-
-## ๐ Why Choose Palmr.?
-
-- **Self-hosted** โ Deploy on your own server or VPS.
-- **Full control** โ No third-party dependencies, ensuring privacy and security.
-- **No artificial limits** โ Share files without hidden restrictions or fees.
-- **Simple deployment** โ SQLite database and filesystem storage for easy setup.
-- **Scalable storage** โ Optional S3-compatible object storage for enterprise needs.
-
-## ๐ Technologies Used
-
-### **Palmr.** is built with a focus on **performance**, **scalability**, and **security**.
-
-
-
-
-
-
-### **Backend & API**
-- **Fastify (Node.js)** โ High-performance API framework with built-in schema validation.
-- **SQLite** โ Lightweight, reliable database with zero-configuration setup.
-- **Filesystem Storage** โ Direct file storage with optional S3-compatible object storage.
-
-### **Frontend**
-- **NextJS 15 + TypeScript + Shadcn/ui** โ Modern and fast web interface.
-
-
-## ๐ ๏ธ How It Works
-
-1. **Web Interface** โ Built with Next, React and TypeScript for a seamless user experience.
-2. **Backend API** โ Fastify handles requests and manages file operations.
-3. **Database** โ SQLite stores metadata and transactional data with zero configuration.
-4. **Storage** โ Filesystem storage ensures reliable file storage with optional S3-compatible object storage for scalability.
-
-## ๐ธ Screenshots
-
-
+
+**Palmr.** is a **flexible** and **open-source** alternative to file transfer services like **WeTransfer**, **SendGB**, **Send Anywhere**, and **Files.fm**.
+
+
+๐ **For detailed documentation visit:** [Palmr. - Documentation](https://palmr.kyantech.com.br)
+
+## ๐ Why Choose Palmr.?
+
+- **Self-hosted** โ Deploy on your own server or VPS.
+- **Full control** โ No third-party dependencies, ensuring privacy and security.
+- **No artificial limits** โ Share files without hidden restrictions or fees.
+- **Folder organization** โ Create folders to organize and share files.
+- **Simple deployment** โ SQLite database and filesystem storage for easy setup.
+- **Scalable storage** โ Optional S3-compatible object storage for enterprise needs.
+
+## ๐ Technologies Used
+
+### **Palmr.** is built with a focus on **performance**, **scalability**, and **security**.
+
+
+
+
+
+
+### **Backend & API**
+- **Fastify (Node.js)** โ High-performance API framework with built-in schema validation.
+- **SQLite** โ Lightweight, reliable database with zero-configuration setup.
+- **Filesystem Storage** โ Direct file storage with optional S3-compatible object storage.
+
+### **Frontend**
+- **NextJS 15 + TypeScript + Shadcn/ui** โ Modern and fast web interface.
+
+
+## ๐ ๏ธ How It Works
+
+1. **Web Interface** โ Built with Next, React and TypeScript for a seamless user experience.
+2. **Backend API** โ Fastify handles requests and manages file operations.
+3. **Database** โ SQLite stores metadata and transactional data with zero configuration.
+4. **Storage** โ Filesystem storage ensures reliable file storage with optional S3-compatible object storage for scalability.
+
+## ๐ธ Screenshots
+
+
+
+
+
+ Login Page
+
+
+
+ Home Page
+
+
+
+
+
+ Dashboard
+
+
+
+ Profile Page
+
+
+
+
+
+ Files List View
+
+
+
+ Files Card View
+
+
+
+
+
+ Shares Management
+
+
+
+ Receive Files
+
+
+
+
+
+ Reverse Share
+
+
+
+ Settings Panel
+
+
+
+
+
+ User Management
+
+
+
+ Forgot Password
+
+
+
+
+
+ Reverse Share (WeTransfer Style)
+
+
+
+
+
+## ๐จโ๐ป Core Maintainers
+
+| [**Daniel Luiz Alves**](https://github.com/danielalves96) |
+|------------------|
+| |
+
+
+
+## ๐ค Supporters
+
+[](https://www.repoflow.io/)
+
+## โญ Star History
+
+
+
+
+
+
+
+
+
+## ๐ ๏ธ Contributing
+
+For contribution guidelines, please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file.
+
diff --git a/apps/docs/content/docs/3.2-beta/api.mdx b/apps/docs/content/docs/3.2-beta/api.mdx
index 78710fa..ab1f6f3 100644
--- a/apps/docs/content/docs/3.2-beta/api.mdx
+++ b/apps/docs/content/docs/3.2-beta/api.mdx
@@ -1,230 +1,236 @@
----
-title: API Endpoints
-icon: Plug
----
-
-Palmr. provides a comprehensive, well-documented, and fully typed REST API designed for maximum developer productivity and seamless integration. Whether you're building custom applications, automating workflows, or integrating with third-party services, our API offers the flexibility and reliability you need.
-
-> **Overview:** The API is built with Fastify + Zod + TypeScript, ensuring type safety, schema validation, and excellent performance for all operations.
-
-## Prerequisites
-
-### Exposing the API port
-
-To access the API endpoints, you need to expose port **3333** in your Docker configuration. This port is where the Palmr. API server runs.
-
-**Using Docker Compose:**
-
-```yaml
-services:
- palmr:
- image: kyantech/palmr:latest
- ports:
- - "5487:5487" # Web interface
- - "3333:3333" # API port (required for API access)
- # ... other configuration
-```
-
-**Using Docker run command:**
-
-```bash
-docker run -d \
- --name palmr \
- -p 5487:5487 \
- -p 3333:3333 \
- -v palmr_data:/app/server \
- --restart unless-stopped \
- kyantech/palmr:latest
-```
-
-> **Note:** Port 3333 exposure is optional if you only need the web interface. However, it's required for direct API access, custom integrations, and accessing the interactive documentation.
-
-## Accessing the API documentation
-
-The API documentation is available through interactive interfaces that allow you to explore, test, and validate all available endpoints directly in your browser.
-
-### Documentation endpoints
-
-**Local development:**
-
-- Scalar documentation: `http://localhost:3333/docs`
-- Swagger documentation: `http://localhost:3333/swagger`
-
-**Production environment:**
-
-- Scalar documentation: `{your_domain}:3333/docs`
-- Swagger documentation: `{your_domain}:3333/swagger`
-
-> **Important:** We don't provide an online version of the API documentation because endpoints and functionality may vary between different versions of Palmr. Always access the documentation from your specific deployment to ensure accuracy.
-
-## Interactive documentation with Scalar
-
-Our primary API documentation is powered by **Scalar**, a modern documentation platform that provides an exceptional developer experience.
-
-
-
-### Why Scalar?
-
-- **Interactive testing** - Test endpoints directly in the documentation
-- **Real-time validation** - Immediate feedback on request/response formats
-- **Modern interface** - Clean, intuitive design optimized for developer productivity
-- **Type-safe integration** - Full TypeScript support with automatic type inference
-- **Schema visualization** - Clear representation of request and response structures
-
-### Key features
-
-- **Comprehensive endpoint coverage** - All API endpoints documented with examples
-- **Authentication testing** - Built-in support for JWT token authentication
-- **Request builders** - Interactive forms for constructing API requests
-- **Response visualization** - Formatted display of API responses with syntax highlighting
-- **Code generation** - Generate client code in multiple programming languages
-
-## Alternative Swagger documentation
-
-For developers who prefer Swagger or need compatibility with existing tools, we also provide a Swagger-based documentation interface.
-
-
-
-### When to use Swagger
-
-- **Legacy tool compatibility** - Integration with existing Swagger-based workflows
-- **Team preferences** - When your team is more familiar with Swagger interface
-- **OpenAPI specification** - Direct access to OpenAPI spec for code generation
-- **Third-party integrations** - Tools that specifically require Swagger format
-
-Both documentation formats provide identical endpoint coverage and functionality, ensuring you can choose the interface that best fits your development workflow.
-
-## API capabilities
-
-The Palmr. API provides comprehensive access to all platform features:
-
-### File operations
-
-- **Upload files** - Single and batch file uploads with progress tracking
-- **Download files** - Secure file retrieval with access control
-- **File management** - Rename, delete, and organize files
-- **Metadata access** - Retrieve file information and properties
-
-### Share management
-
-- **Create shares** - Generate public links for file sharing
-- **Configure access** - Set passwords, expiration dates, and view limits
-- **Track usage** - Monitor share views and download statistics
-- **Manage recipients** - Add and remove share recipients
-
-### User operations
-
-- **Authentication** - Login, logout, and session management
-- **Profile management** - Update user information and preferences
-- **User administration** - Create and manage user accounts (admin only)
-
-### System integration
-
-- **Health checks** - Monitor system status and availability
-- **Configuration** - Access and modify system settings
-- **Storage operations** - Manage filesystem and S3 storage options
-
-## Authentication
-
-The API uses **HTTP-only cookies** for secure authentication. After logging in through the web interface or API, authentication is automatically handled via secure cookies:
-
-```bash
-# Login to establish authenticated session
-POST /auth/login
-{
- "email": "user@example.com",
- "password": "your-password"
-}
-
-# Subsequent requests automatically include authentication cookies
-# No Authorization header needed - cookies are sent automatically
-GET /api/files
-```
-
-### How authentication works
-
-1. **Login** - Use the `/auth/login` endpoint with your credentials
-2. **Cookie storage** - The server sets HTTP-only cookies containing JWT tokens
-3. **Automatic authentication** - All subsequent API requests include these cookies automatically
-4. **Session management** - Cookies handle session persistence and expiration
-
-### Security features
-
-- **HTTP-only cookies** - Tokens stored securely in HTTP-only cookies, preventing XSS attacks
-- **Secure transmission** - Cookies marked as secure and same-site for enhanced protection
-- **Token expiration** - Automatic session timeout for security
-- **Role-based access** - Different permissions for users and administrators
-- **Request validation** - All inputs validated using Zod schemas
-
-## Getting started with the API
-
-### 1. Expose the API port
-
-Ensure port 3333 is exposed in your Docker configuration to access the API endpoints.
-
-### 2. Access the documentation
-
-Visit your Palmr. instance at `:3333/docs` to explore the interactive API documentation.
-
-### 3. Authenticate
-
-Use the login endpoint to establish an authenticated session. Authentication cookies will be automatically set and included in subsequent requests.
-
-### 4. Test endpoints
-
-Use the interactive documentation to test API endpoints and understand request/response formats.
-
-### 5. Build your integration
-
-Implement your custom application using the API endpoints that match your requirements.
-
-## Integration examples
-
-The API enables powerful integrations and automation:
-
-**Workflow automation:**
-
-- Automatically upload files from CI/CD pipelines
-- Create shares for build artifacts and reports
-- Integrate with project management tools
-
-**Custom applications:**
-
-- Build mobile apps with native file management
-- Create specialized interfaces for specific use cases
-- Develop backup and sync solutions
-
-**Business integrations:**
-
-- Connect with existing document management systems
-- Automate file sharing workflows
-- Integrate with CRM and ERP systems
-
-## Best practices
-
-### Performance optimization
-
-- **Use appropriate HTTP methods** - GET for retrieval, POST for creation, etc.
-- **Implement pagination** - Handle large datasets efficiently
-- **Cache responses** - Store frequently accessed data locally
-- **Batch operations** - Group multiple operations when possible
-
-### Error handling
-
-- **Check status codes** - Handle different HTTP response codes appropriately
-- **Parse error messages** - Use detailed error information for debugging
-- **Implement retries** - Handle temporary failures gracefully
-- **Log API interactions** - Maintain audit trails for troubleshooting
-
-### Security considerations
-
-- **Use HTTPS** - Always encrypt API communications to protect authentication cookies
-- **Secure cookies** - Authentication handled automatically via HTTP-only cookies
-- **Validate inputs** - Sanitize data before sending to API
-- **Monitor usage** - Track API calls for unusual activity
-
-## Useful links
-
-- [Scalar Official Website](https://scalar.com/) - Learn more about our primary documentation platform
-- [Swagger Official Website](https://swagger.io/) - Information about the alternative documentation format
-- [JWT.io](https://jwt.io/) - Understanding JSON Web Tokens for authentication
+---
+title: API Endpoints
+icon: Plug
+---
+
+Palmr. provides a comprehensive, well-documented, and fully typed REST API designed for maximum developer productivity and seamless integration. Whether you're building custom applications, automating workflows, or integrating with third-party services, our API offers the flexibility and reliability you need.
+
+> **Overview:** The API is built with Fastify + Zod + TypeScript, ensuring type safety, schema validation, and excellent performance for all operations.
+
+## Prerequisites
+
+### Exposing the API port
+
+To access the API endpoints, you need to expose port **3333** in your Docker configuration. This port is where the Palmr. API server runs.
+
+**Using Docker Compose:**
+
+```yaml
+services:
+ palmr:
+ image: kyantech/palmr:latest
+ ports:
+ - "5487:5487" # Web interface
+ - "3333:3333" # API port (required for API access)
+ # ... other configuration
+```
+
+**Using Docker run command:**
+
+```bash
+docker run -d \
+ --name palmr \
+ -p 5487:5487 \
+ -p 3333:3333 \
+ -v palmr_data:/app/server \
+ --restart unless-stopped \
+ kyantech/palmr:latest
+```
+
+> **Note:** Port 3333 exposure is optional if you only need the web interface. However, it's required for direct API access, custom integrations, and accessing the interactive documentation.
+
+## Accessing the API documentation
+
+The API documentation is available through interactive interfaces that allow you to explore, test, and validate all available endpoints directly in your browser.
+
+### Documentation endpoints
+
+**Local development:**
+
+- Scalar documentation: `http://localhost:3333/docs`
+- Swagger documentation: `http://localhost:3333/swagger`
+
+**Production environment:**
+
+- Scalar documentation: `{your_domain}:3333/docs`
+- Swagger documentation: `{your_domain}:3333/swagger`
+
+> **Important:** We don't provide an online version of the API documentation because endpoints and functionality may vary between different versions of Palmr. Always access the documentation from your specific deployment to ensure accuracy.
+
+## Interactive documentation with Scalar
+
+Our primary API documentation is powered by **Scalar**, a modern documentation platform that provides an exceptional developer experience.
+
+
+
+### Why Scalar?
+
+- **Interactive testing** - Test endpoints directly in the documentation
+- **Real-time validation** - Immediate feedback on request/response formats
+- **Modern interface** - Clean, intuitive design optimized for developer productivity
+- **Type-safe integration** - Full TypeScript support with automatic type inference
+- **Schema visualization** - Clear representation of request and response structures
+
+### Key features
+
+- **Comprehensive endpoint coverage** - All API endpoints documented with examples
+- **Authentication testing** - Built-in support for JWT token authentication
+- **Request builders** - Interactive forms for constructing API requests
+- **Response visualization** - Formatted display of API responses with syntax highlighting
+- **Code generation** - Generate client code in multiple programming languages
+
+## Alternative Swagger documentation
+
+For developers who prefer Swagger or need compatibility with existing tools, we also provide a Swagger-based documentation interface.
+
+
+
+### When to use Swagger
+
+- **Legacy tool compatibility** - Integration with existing Swagger-based workflows
+- **Team preferences** - When your team is more familiar with Swagger interface
+- **OpenAPI specification** - Direct access to OpenAPI spec for code generation
+- **Third-party integrations** - Tools that specifically require Swagger format
+
+Both documentation formats provide identical endpoint coverage and functionality, ensuring you can choose the interface that best fits your development workflow.
+
+## API capabilities
+
+The Palmr. API provides comprehensive access to all platform features:
+
+### File operations
+
+- **Upload files** - Single and batch file uploads with progress tracking
+- **Download files** - Secure file retrieval with access control
+- **File management** - Rename, delete, and organize files
+- **Metadata access** - Retrieve file information and properties
+
+### Folder operations
+
+- **Create folders** - Build folder structures for organization
+- **Folder management** - Rename, move, delete folders
+- **Folder sharing** - Share folders with same controls as files
+
+### Share management
+
+- **Create shares** - Generate public links for file sharing
+- **Configure access** - Set passwords, expiration dates, and view limits
+- **Track usage** - Monitor share views and download statistics
+- **Manage recipients** - Add and remove share recipients
+
+### User operations
+
+- **Authentication** - Login, logout, and session management
+- **Profile management** - Update user information and preferences
+- **User administration** - Create and manage user accounts (admin only)
+
+### System integration
+
+- **Health checks** - Monitor system status and availability
+- **Configuration** - Access and modify system settings
+- **Storage operations** - Manage filesystem and S3 storage options
+
+## Authentication
+
+The API uses **HTTP-only cookies** for secure authentication. After logging in through the web interface or API, authentication is automatically handled via secure cookies:
+
+```bash
+# Login to establish authenticated session
+POST /auth/login
+{
+ "email": "user@example.com",
+ "password": "your-password"
+}
+
+# Subsequent requests automatically include authentication cookies
+# No Authorization header needed - cookies are sent automatically
+GET /api/files
+```
+
+### How authentication works
+
+1. **Login** - Use the `/auth/login` endpoint with your credentials
+2. **Cookie storage** - The server sets HTTP-only cookies containing JWT tokens
+3. **Automatic authentication** - All subsequent API requests include these cookies automatically
+4. **Session management** - Cookies handle session persistence and expiration
+
+### Security features
+
+- **HTTP-only cookies** - Tokens stored securely in HTTP-only cookies, preventing XSS attacks
+- **Secure transmission** - Cookies marked as secure and same-site for enhanced protection
+- **Token expiration** - Automatic session timeout for security
+- **Role-based access** - Different permissions for users and administrators
+- **Request validation** - All inputs validated using Zod schemas
+
+## Getting started with the API
+
+### 1. Expose the API port
+
+Ensure port 3333 is exposed in your Docker configuration to access the API endpoints.
+
+### 2. Access the documentation
+
+Visit your Palmr. instance at `:3333/docs` to explore the interactive API documentation.
+
+### 3. Authenticate
+
+Use the login endpoint to establish an authenticated session. Authentication cookies will be automatically set and included in subsequent requests.
+
+### 4. Test endpoints
+
+Use the interactive documentation to test API endpoints and understand request/response formats.
+
+### 5. Build your integration
+
+Implement your custom application using the API endpoints that match your requirements.
+
+## Integration examples
+
+The API enables powerful integrations and automation:
+
+**Workflow automation:**
+
+- Automatically upload files from CI/CD pipelines
+- Create shares for build artifacts and reports
+- Integrate with project management tools
+
+**Custom applications:**
+
+- Build mobile apps with native file management
+- Create specialized interfaces for specific use cases
+- Develop backup and sync solutions
+
+**Business integrations:**
+
+- Connect with existing document management systems
+- Automate file sharing workflows
+- Integrate with CRM and ERP systems
+
+## Best practices
+
+### Performance optimization
+
+- **Use appropriate HTTP methods** - GET for retrieval, POST for creation, etc.
+- **Implement pagination** - Handle large datasets efficiently
+- **Cache responses** - Store frequently accessed data locally
+- **Batch operations** - Group multiple operations when possible
+
+### Error handling
+
+- **Check status codes** - Handle different HTTP response codes appropriately
+- **Parse error messages** - Use detailed error information for debugging
+- **Implement retries** - Handle temporary failures gracefully
+- **Log API interactions** - Maintain audit trails for troubleshooting
+
+### Security considerations
+
+- **Use HTTPS** - Always encrypt API communications to protect authentication cookies
+- **Secure cookies** - Authentication handled automatically via HTTP-only cookies
+- **Validate inputs** - Sanitize data before sending to API
+- **Monitor usage** - Track API calls for unusual activity
+
+## Useful links
+
+- [Scalar Official Website](https://scalar.com/) - Learn more about our primary documentation platform
+- [Swagger Official Website](https://swagger.io/) - Information about the alternative documentation format
+- [JWT.io](https://jwt.io/) - Understanding JSON Web Tokens for authentication
diff --git a/apps/docs/content/docs/3.2-beta/github-architecture.mdx b/apps/docs/content/docs/3.2-beta/github-architecture.mdx
index f7929d2..eb6faf6 100644
--- a/apps/docs/content/docs/3.2-beta/github-architecture.mdx
+++ b/apps/docs/content/docs/3.2-beta/github-architecture.mdx
@@ -1,142 +1,144 @@
----
-title: GitHub Architecture
-icon: Github
----
-
-import { File, Files, Folder } from "fumadocs-ui/components/files";
-
-This guide provides a comprehensive overview of Palmr.'s GitHub repository structure, explaining how the different components are organized in the codebase. Understanding this architecture will help you navigate the repository, contribute effectively, and understand how the project is structured.
-
-> **Overview:** Palmr. uses a monorepo architecture with clear separation between frontend, backend, and documentation components.
-
-## Project structure
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-## Core components
-
-### Frontend application (apps/web)
-
-**Technology stack:**
-
-- Next.js 15 (App Router)
-- React 18
-- TypeScript
-- TailwindCSS
-- shadcn/ui components
-- next-intl for internationalization
-
-Palmr.'s frontend is built with **Next.js 15**, using the App Router and Server Components for performance, scalability, and flexibility. The structure is modular and feature-based, keeping things easy to evolve as the product grows. UI logic runs on **React 18**, and **TypeScript** adds type safety that prevents a lot of silent bugs. Styles are handled with **TailwindCSS**, letting us build clean, responsive interfaces quickly. For components, we rely on **shadcn/ui**, a headless component library built with Radix UI and Tailwind, it's fast, accessible, and fully customizable.
-
-Internationalization is handled by **next-intl**, which integrates perfectly with Next.js routing. It supports locale-aware routes, per-page translation loading, and plural rules, all without any extra client-side bloat. It's flexible, lightweight, and great for apps with multilingual audiences.
-
-The frontend is organized with:
-
-- A **components-based architecture** for modular UI
-- **Custom hooks** to isolate logic and side effects
-- A **route protection system** using session cookies and middleware
-- A **file management interface** integrated with the backend
-- A **reusable modal system** used for file actions, confirmations, and more
-- **Dynamic, locale-aware routing** using next-intl
-
-### Backend service (apps/server)
-
-**Technology stack:**
-
-- Fastify
-- SQLite
-- Filesystem storage (with S3-compatible object storage support)
-- Prisma ORM
-
-The backend is built on **Fastify**, a blazing-fast web framework for Node.js. It's lightweight, modular, and optimized for high performance. Every route is validated using JSON schema, which helps keep the API consistent and secure. Auth flows are built using JWTs stored in HTTP-only cookies, and everything from file uploads to token-based sharing goes through this layer.
-
-Data is stored in **SQLite**, which handles user info, file metadata, session tokens, and more. For file storage, the system uses **filesystem storage** by default, keeping files organized in the local file system. The architecture also supports **S3-compatible object storage** as an alternative storage option for scalability. We use **Prisma** as our ORM to simplify database access, it gives us type-safe queries and easy-to-read code.
-
-Key features include:
-
-- **Authentication/authorization** with JWT + cookie sessions
-- **File management logic** including uploads, deletes, and renames
-- **Storage operations** to handle file organization, usage tracking, and cleanup
-- A **share system** that generates tokenized public file links
-- Schema-based request validation for all endpoints
-- Prisma models that keep the database logic predictable and type-safe
-
-### Documentation (apps/docs)
-
-**Technology stack:**
-
-- Fumadocs
-- MDX (Markdown + JSX)
-- React-based components
-
-The docs are built using **Fumadocs**, a modern documentation system built on top of Next.js. It uses **MDX**, so you can mix Markdown with interactive React components, perfect for developer tools and open-source projects. Pages are fast, versionable, and easy to customize. The goal is to keep the documentation as close to the codebase as possible, using shared components where needed and reusing UI patterns directly from the app.
-
-It supports sidebar navigation, keyboard shortcuts, dark mode, and even interactive demos or UI previews. The file tree you see above, for example, is powered by a real React component from the docs.
-
-- Built with **Fumadocs**, powered by Next.js
-- Supports **MDX** and full React component embedding
-- Ideal for technical docs and live code samples
-- Styled using the same Tailwind setup from the main app
-
-### Infrastructure
-
-Palmr. is fully containerized using **Docker**, which means every service: frontend, backend, database, storage, runs in its own isolated environment. With `docker-compose`, the whole stack spins up locally with a single command. It's also easy to deploy to services like Fly.io, Render, or your own VPS.
-
-Volumes are used to persist data locally, and containers are networked together so that all services can talk to each other securely.
-
-- **Docker-first architecture** with all services containerized
-- Configurable through `.env` and compose overrides
-- Local volumes and named networks
-- Easy to deploy and scale on any container-compatible infra
-
-## Key features
-
-### File management
-
-Files are at the heart of Palmr. Users can upload files via the frontend, and they're stored directly in the filesystem. The backend handles metadata (name, size, type, ownership), and also handles deletion, renaming, and public sharing. Every file operation is tracked, and all actions can be scoped per user.
-
-- Upload/download with instant feedback
-- File previews, type validation, and size limits
-- Token-based sharing system
-- Disk usage tracking by user
-
-### User system
-
-Authentication is done through secure JWTs, stored in HTTP-only cookies for safety. Signup and login flows are simple and fast, and user info is kept in sync across the frontend and backend.
-
-- Cookie-based session management
-- Role support and future admin access
-- Profile updates and password reset flows
-- Logged-in user state handled via custom hooks
-
-### Storage system
-
-The system uses **filesystem storage** for all file operations by default. It's simple, fast, and reliable for most use cases. The architecture also supports **S3-compatible object storage** as an alternative for users who need cloud storage or additional scalability. The backend tracks usage, handles cleanup of orphaned files, and ensures that every file on disk has a matching database record.
-
-- Filesystem-based storage with organized directory structure
-- Optional S3-compatible object storage support
-- Upload validation and automatic cleanup
-- Usage tracking and quotas (per user or global)
-- Secure access to stored files with proper permissions
-
-### Internationalization
-
-Palmr. supports multiple languages using **next-intl**, which is deeply integrated into the routing system. It loads only the necessary translations per route, supports nested namespaces, and makes it easy to keep things organized even at scale.
-
-- Per-locale localstorage (`en-US`, `pt-BR`, etc.)
-- Translation loading by namespace/page
-- Full pluralization and formatting support
-- Easy translation management via JSON files
+---
+title: GitHub Architecture
+icon: Github
+---
+
+import { File, Files, Folder } from "fumadocs-ui/components/files";
+
+This guide provides a comprehensive overview of Palmr.'s GitHub repository structure, explaining how the different components are organized in the codebase. Understanding this architecture will help you navigate the repository, contribute effectively, and understand how the project is structured.
+
+> **Overview:** Palmr. uses a monorepo architecture with clear separation between frontend, backend, and documentation components.
+
+## Project structure
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Core components
+
+### Frontend application (apps/web)
+
+**Technology stack:**
+
+- Next.js 15 (App Router)
+- React 18
+- TypeScript
+- TailwindCSS
+- shadcn/ui components
+- next-intl for internationalization
+
+Palmr.'s frontend is built with **Next.js 15**, using the App Router and Server Components for performance, scalability, and flexibility. The structure is modular and feature-based, keeping things easy to evolve as the product grows. UI logic runs on **React 18**, and **TypeScript** adds type safety that prevents a lot of silent bugs. Styles are handled with **TailwindCSS**, letting us build clean, responsive interfaces quickly. For components, we rely on **shadcn/ui**, a headless component library built with Radix UI and Tailwind, it's fast, accessible, and fully customizable.
+
+Internationalization is handled by **next-intl**, which integrates perfectly with Next.js routing. It supports locale-aware routes, per-page translation loading, and plural rules, all without any extra client-side bloat. It's flexible, lightweight, and great for apps with multilingual audiences.
+
+The frontend is organized with:
+
+- A **components-based architecture** for modular UI
+- **Custom hooks** to isolate logic and side effects
+- A **route protection system** using session cookies and middleware
+- A **file management interface** integrated with the backend
+- **Folder support** for organizing files hierarchically
+- A **reusable modal system** used for file actions, confirmations, and more
+- **Dynamic, locale-aware routing** using next-intl
+
+### Backend service (apps/server)
+
+**Technology stack:**
+
+- Fastify
+- SQLite
+- Filesystem storage (with S3-compatible object storage support)
+- Prisma ORM
+
+The backend is built on **Fastify**, a blazing-fast web framework for Node.js. It's lightweight, modular, and optimized for high performance. Every route is validated using JSON schema, which helps keep the API consistent and secure. Auth flows are built using JWTs stored in HTTP-only cookies, and everything from file uploads to token-based sharing goes through this layer.
+
+Data is stored in **SQLite**, which handles user info, file metadata, session tokens, and more. For file storage, the system uses **filesystem storage** by default, keeping files organized in the local file system. The architecture also supports **S3-compatible object storage** as an alternative storage option for scalability. We use **Prisma** as our ORM to simplify database access, it gives us type-safe queries and easy-to-read code.
+
+Key features include:
+
+- **Authentication/authorization** with JWT + cookie sessions
+- **File management logic** including uploads, deletes, renames, and folders
+- **Storage operations** to handle file organization, usage tracking, and cleanup
+- A **share system** that generates tokenized public file links
+- Schema-based request validation for all endpoints
+- Prisma models that keep the database logic predictable and type-safe
+
+### Documentation (apps/docs)
+
+**Technology stack:**
+
+- Fumadocs
+- MDX (Markdown + JSX)
+- React-based components
+
+The docs are built using **Fumadocs**, a modern documentation system built on top of Next.js. It uses **MDX**, so you can mix Markdown with interactive React components, perfect for developer tools and open-source projects. Pages are fast, versionable, and easy to customize. The goal is to keep the documentation as close to the codebase as possible, using shared components where needed and reusing UI patterns directly from the app.
+
+It supports sidebar navigation, keyboard shortcuts, dark mode, and even interactive demos or UI previews. The file tree you see above, for example, is powered by a real React component from the docs.
+
+- Built with **Fumadocs**, powered by Next.js
+- Supports **MDX** and full React component embedding
+- Ideal for technical docs and live code samples
+- Styled using the same Tailwind setup from the main app
+
+### Infrastructure
+
+Palmr. is fully containerized using **Docker**, which means every service: frontend, backend, database, storage, runs in its own isolated environment. With `docker-compose`, the whole stack spins up locally with a single command. It's also easy to deploy to services like Fly.io, Render, or your own VPS.
+
+Volumes are used to persist data locally, and containers are networked together so that all services can talk to each other securely.
+
+- **Docker-first architecture** with all services containerized
+- Configurable through `.env` and compose overrides
+- Local volumes and named networks
+- Easy to deploy and scale on any container-compatible infra
+
+## Key features
+
+### File management
+
+Files are at the heart of Palmr. Users can upload files via the frontend, and they're stored directly in the filesystem. Users can also create folders to organize files. The backend handles metadata (name, size, type, ownership), and also handles deletion, renaming, and public sharing. Every file operation is tracked, and all actions can be scoped per user.
+
+- Upload/download with instant feedback
+- Create and organize files in folders
+- File previews, type validation, and size limits
+- Token-based sharing system
+- Disk usage tracking by user
+
+### User system
+
+Authentication is done through secure JWTs, stored in HTTP-only cookies for safety. Signup and login flows are simple and fast, and user info is kept in sync across the frontend and backend.
+
+- Cookie-based session management
+- Role support and future admin access
+- Profile updates and password reset flows
+- Logged-in user state handled via custom hooks
+
+### Storage system
+
+The system uses **filesystem storage** for all file operations by default. It's simple, fast, and reliable for most use cases. The architecture also supports **S3-compatible object storage** as an alternative for users who need cloud storage or additional scalability. The backend tracks usage, handles cleanup of orphaned files, and ensures that every file on disk has a matching database record.
+
+- Filesystem-based storage with organized directory structure
+- Optional S3-compatible object storage support
+- Upload validation and automatic cleanup
+- Usage tracking and quotas (per user or global)
+- Secure access to stored files with proper permissions
+
+### Internationalization
+
+Palmr. supports multiple languages using **next-intl**, which is deeply integrated into the routing system. It loads only the necessary translations per route, supports nested namespaces, and makes it easy to keep things organized even at scale.
+
+- Per-locale localstorage (`en-US`, `pt-BR`, etc.)
+- Translation loading by namespace/page
+- Full pluralization and formatting support
+- Easy translation management via JSON files
diff --git a/apps/docs/content/docs/3.2-beta/index.mdx b/apps/docs/content/docs/3.2-beta/index.mdx
index e3f9565..3b8722f 100644
--- a/apps/docs/content/docs/3.2-beta/index.mdx
+++ b/apps/docs/content/docs/3.2-beta/index.mdx
@@ -1,50 +1,50 @@
----
-title: Welcome to Palmr.
-icon: TreePalm
----
-
-import { Ban, Palette, Shield, Star, Users, Zap } from "lucide-react";
-
-
-
-**Palmr.** is your go-to **open-source alternative** for file sharing, standing tall against services like **WeTransfer**, **SendGB**, **Send Anywhere**, and **Files.fm**. What sets Palmr. apart? You get to **host it on your own infrastructure** be it a **dedicated server** or **VPS** putting you in the driverโs seat for data security and file control. No more third-party dependencies or worrying about pesky limits and steep fees!
-
-## Why Palmr. Rocks?
-
-### No limits, seriously
-
-Forget about arbitrary caps on file sizes or numbers. With Palmr., the only limit is your **serverโs storage space**. Got the capacity? Then transfer files of any size or quantity without a hitch. No premium plans to unlock, no annoying ads to dodge, and definitely no hidden fees sneaking up on you. Your file sharing freedom is tied to your infrastructure, not artificial restrictions.
-
-### Open source & totally free
-
-Palmr. is 100% **open source** and free no licenses, subscriptions, or surprise costs. This transparency means youโve got full control over how you use it. Hereโs what that looks like:
-
-- Deploy anywhere **VPS**, **dedicated server**, **Docker**, or any cloud platform you fancy.
-- Peek under the hood by reviewing the **codebase** to ensure itโs secure and meets your standards.
-- Pitch in with **improvements** or custom features to make Palmr. even better.
-- Tweak it for any use case, from personal sharing to business needs or niche applications.
-
-### Your data, your rules
-
-Host Palmr. on your own setup and keep **full control over your data**. By managing storage and transfers yourself, you cut out third-party risks. Your files stay in your environment no external services touching or storing them ensuring top-notch **privacy** and **confidentiality**. Set up security measures that fit your needs, and rest easy knowing no one else is in the loop. Palmr. hands you the reins for ultimate peace of mind, perfect for organizations needing strict data control or regulatory compliance.
-
-### Make it yours
-
-Palmr. is a canvas for customization, letting you shape every detail to match your **brand** and **user experience**:
-
-- Slap on your **logo** for consistent branding across the platform.
-- Pick a **custom app name** that screams your identity.
-- Hook up an **SMTP server** for seamless email notifications about transfers or updates.
-- Rewrite **interface text** to vibe with your audience and keep your brandโs voice.
-
-### Manage users like a pro
-
-Take charge of your file-sharing world with Palmr.โs robust **user and admin management** system:
-
-- Set up multiple **admins** to share the load and keep things running smoothly.
-- Add as many **users** as you need, from small crews to huge teams.
-- Keep tabs on **storage usage** with handy analytics for smarter resource planning.
-
-### Lightning fast & feather light
-
-Palmr. is built for speed with a sleek, scalable design that handles big file transfers and busy user loads without breaking a sweat. It keeps transfer speeds high and adapts to growing demands effortlessly. Thanks to smart resource use and polished code, you get a snappy experience that scales with your needs while staying rock-solid and stable.
+---
+title: Welcome to Palmr.
+icon: TreePalm
+---
+
+import { Ban, Palette, Shield, Star, Users, Zap } from "lucide-react";
+
+
+
+**Palmr.** is your go-to **open-source alternative** for file sharing, standing tall against services like **WeTransfer**, **SendGB**, **Send Anywhere**, and **Files.fm**. What sets Palmr. apart? You get to **host it on your own infrastructure** be it a **dedicated server** or **VPS** putting you in the driverโs seat for data security and file control. No more third-party dependencies or worrying about pesky limits and steep fees!
+
+## Why Palmr. Rocks?
+
+### No limits, seriously
+
+Forget about arbitrary caps on file sizes or numbers. With Palmr., the only limit is your **serverโs storage space**. Got the capacity? Then transfer files of any size or quantity without a hitch. No premium plans to unlock, no annoying ads to dodge, and definitely no hidden fees sneaking up on you. Your file sharing freedom is tied to your infrastructure, not artificial restrictions.
+
+### Open source & totally free
+
+Palmr. is 100% **open source** and free no licenses, subscriptions, or surprise costs. This transparency means youโve got full control over how you use it. Hereโs what that looks like:
+
+- Deploy anywhere **VPS**, **dedicated server**, **Docker**, or any cloud platform you fancy.
+- Peek under the hood by reviewing the **codebase** to ensure itโs secure and meets your standards.
+- Pitch in with **improvements** or custom features to make Palmr. even better.
+- Tweak it for any use case, from personal sharing to business needs or niche applications.
+
+### Your data, your rules
+
+Host Palmr. on your own setup and keep **full control over your data**. By managing storage and transfers yourself, you cut out third-party risks. Your files stay in your environment no external services touching or storing them ensuring top-notch **privacy** and **confidentiality**. Set up security measures that fit your needs, and rest easy knowing no one else is in the loop. Palmr. hands you the reins for ultimate peace of mind, perfect for organizations needing strict data control or regulatory compliance.
+
+### Make it yours
+
+Palmr. is a canvas for customization, letting you shape every detail to match your **brand** and **user experience**:
+
+- Slap on your **logo** for consistent branding across the platform.
+- Pick a **custom app name** that screams your identity.
+- Hook up an **SMTP server** for seamless email notifications about transfers or updates.
+- Rewrite **interface text** to vibe with your audience and keep your brandโs voice.
+
+### Manage users like a pro
+
+Take charge of your file-sharing world with Palmr.โs robust **user and admin management** system:
+
+- Set up multiple **admins** to share the load and keep things running smoothly.
+- Add as many **users** as you need, from small crews to huge teams.
+- Keep tabs on **storage usage** with handy analytics for smarter resource planning.
+
+### Lightning fast & feather light
+
+Palmr. is built for speed with a sleek, scalable design that handles big file transfers and busy user loads without breaking a sweat. It keeps transfer speeds high and adapts to growing demands effortlessly. Thanks to smart resource use and polished code, you get a snappy experience that scales with your needs while staying rock-solid and stable.
diff --git a/apps/docs/content/docs/3.2-beta/screenshots.mdx b/apps/docs/content/docs/3.2-beta/screenshots.mdx
index c97003e..28951b3 100644
--- a/apps/docs/content/docs/3.2-beta/screenshots.mdx
+++ b/apps/docs/content/docs/3.2-beta/screenshots.mdx
@@ -1,130 +1,130 @@
----
-title: Screenshots
-icon: Image
----
-
-import { ZoomableImage } from "@/components/ui/zoomable-image";
-
-Here you can find a collection of screenshots showcasing various features and interfaces of the Palmr. web application. These images provide a visual overview of the user experience, highlighting key functionalities such as file sharing, user management, and settings configuration. Explore the screenshots below to get a better understanding of how Palmr works and what to expect from the platform.
-
-> **Note:** All screenshots shown are taken in dark mode, but Palmr. also offers a light mode theme for users who prefer brighter interfaces.
-
-## Authentication & Access
-
-### Home page
-
-The main landing page where users can access the platform and learn about Palmr.'s features.
-
-
-
-### Login page
-
-Secure authentication interface where users enter their credentials to access their Palmr account.
-
-
-
-### Forgot password
-
-Password recovery interface that allows users to reset their passwords when they can't access their accounts.
-
-
-
-## Main Application Interface
-
-### Dashboard
-
-The central hub after login, providing an overview of recent activity, quick actions, and system status.
-
-
-
-## File Management
-
-### Files list view
-
-Comprehensive file browser displaying all uploaded files in a detailed list format with metadata, actions, and sorting options.
-
-
-
-### Files card view
-
-Alternative file browser layout showing files as visual cards, perfect for quick browsing and visual file identification.
-
-
-
-### Receive files
-
-File upload interface where users can drag and drop or select files to upload to their Palmr storage.
-
-
-
-## Sharing & Collaboration
-
-### Shares page
-
-Management interface for all shared files and folders, showing share status, permissions, and access controls.
-
-
-
-## User & System Management
-
-### User management
-
-Administrative interface for managing user accounts, permissions, roles, and system access controls.
-
-
-
-### Profile settings
-
-Personal account management where users can update their profile information, preferences, and account settings.
-
-
-
-### System settings
-
-Comprehensive system configuration interface for administrators to manage platform settings, integrations, and system behavior.
-
-
-
-## Reverse share page themes
-
-### WeTransfer theme
-
-Special sharing interface with WeTransfer-inspired design, providing a familiar experience for file sharing with custom theming.
-
-
-
-### Default reverse theme
-
-Alternative dark theme interface showing Palmr's theming capabilities and customization options for different user preferences.
-
-
+---
+title: Screenshots
+icon: Image
+---
+
+import { ZoomableImage } from "@/components/ui/zoomable-image";
+
+Here you can find a collection of screenshots showcasing various features and interfaces of the Palmr. web application. These images provide a visual overview of the user experience, highlighting key functionalities such as file sharing, user management, and settings configuration. Explore the screenshots below to get a better understanding of how Palmr works and what to expect from the platform.
+
+> **Note:** All screenshots shown are taken in dark mode, but Palmr. also offers a light mode theme for users who prefer brighter interfaces.
+
+## Authentication & Access
+
+### Home page
+
+The main landing page where users can access the platform and learn about Palmr.'s features.
+
+
+
+### Login page
+
+Secure authentication interface where users enter their credentials to access their Palmr account.
+
+
+
+### Forgot password
+
+Password recovery interface that allows users to reset their passwords when they can't access their accounts.
+
+
+
+## Main Application Interface
+
+### Dashboard
+
+The central hub after login, providing an overview of recent activity, quick actions, and system status.
+
+
+
+## File Management
+
+### Files list view
+
+Comprehensive file browser displaying all uploaded files in a detailed list format with metadata, actions, sorting options, and folder navigation.
+
+
+
+### Files card view
+
+Alternative file browser layout showing files as visual cards, perfect for quick browsing, visual file identification, and folder navigation.
+
+
+
+### Receive files
+
+File upload interface where users can drag and drop or select files to upload to their Palmr storage.
+
+
+
+## Sharing & Collaboration
+
+### Shares page
+
+Management interface for all shared files and folders, showing share status, permissions, and access controls for both individual files and folders.
+
+
+
+## User & System Management
+
+### User management
+
+Administrative interface for managing user accounts, permissions, roles, and system access controls.
+
+
+
+### Profile settings
+
+Personal account management where users can update their profile information, preferences, and account settings.
+
+
+
+### System settings
+
+Comprehensive system configuration interface for administrators to manage platform settings, integrations, and system behavior.
+
+
+
+## Reverse share page themes
+
+### WeTransfer theme
+
+Special sharing interface with WeTransfer-inspired design, providing a familiar experience for file sharing with custom theming.
+
+
+
+### Default reverse theme
+
+Alternative dark theme interface showing Palmr's theming capabilities and customization options for different user preferences.
+
+
diff --git a/apps/server/prisma/schema.prisma b/apps/server/prisma/schema.prisma
index 0d26370..01eccd0 100644
--- a/apps/server/prisma/schema.prisma
+++ b/apps/server/prisma/schema.prisma
@@ -1,287 +1,319 @@
-generator client {
- provider = "prisma-client-js"
-}
-
-datasource db {
- provider = "sqlite"
- url = env("DATABASE_URL")
-}
-
-model User {
- id String @id @default(cuid())
- firstName String
- lastName String
- username String @unique
- email String @unique
- password String?
- image String?
- isAdmin Boolean @default(false)
- isActive Boolean @default(true)
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- twoFactorEnabled Boolean @default(false)
- twoFactorSecret String?
- twoFactorBackupCodes String?
- twoFactorVerified Boolean @default(false)
-
- files File[]
- shares Share[]
- reverseShares ReverseShare[]
-
- loginAttempts LoginAttempt?
-
- passwordResets PasswordReset[]
- authProviders UserAuthProvider[]
- trustedDevices TrustedDevice[]
-
- @@map("users")
-}
-
-model File {
- id String @id @default(cuid())
- name String
- description String?
- extension String
- size BigInt
- objectName String
-
- userId String
- user User @relation(fields: [userId], references: [id], onDelete: Cascade)
-
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- shares Share[] @relation("ShareFiles")
-
- @@map("files")
-}
-
-model Share {
- id String @id @default(cuid())
- name String?
- views Int @default(0)
- expiration DateTime?
- description String?
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- creatorId String?
- creator User? @relation(fields: [creatorId], references: [id], onDelete: SetNull)
-
- securityId String @unique
- security ShareSecurity @relation(fields: [securityId], references: [id])
-
- files File[] @relation("ShareFiles")
- recipients ShareRecipient[]
-
- alias ShareAlias?
-
- @@map("shares")
-}
-
-model ShareSecurity {
- id String @id @default(cuid())
- password String?
- maxViews Int?
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- share Share?
-
- @@map("share_security")
-}
-
-model ShareRecipient {
- id String @id @default(cuid())
- email String
-
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- shareId String
- share Share @relation(fields: [shareId], references: [id], onDelete: Cascade)
-
- @@map("share_recipients")
-}
-
-model AppConfig {
- id String @id @default(cuid())
- key String @unique
- value String
- type String
- group String
- isSystem Boolean @default(true)
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- @@map("app_configs")
-}
-
-model LoginAttempt {
- id String @id @default(cuid())
- userId String @unique
- user User @relation(fields: [userId], references: [id], onDelete: Cascade)
- attempts Int @default(1)
- lastAttempt DateTime @default(now())
-
- @@map("login_attempts")
-}
-
-model PasswordReset {
- id String @id @default(cuid())
- userId String
- user User @relation(fields: [userId], references: [id], onDelete: Cascade)
- token String @unique
- expiresAt DateTime
- used Boolean @default(false)
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- @@map("password_resets")
-}
-
-model ShareAlias {
- id String @id @default(cuid())
- alias String @unique
- shareId String @unique
- share Share @relation(fields: [shareId], references: [id], onDelete: Cascade)
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- @@map("share_aliases")
-}
-
-model AuthProvider {
- id String @id @default(cuid())
- name String @unique
- displayName String
- type String
- icon String?
- enabled Boolean @default(false)
-
- issuerUrl String?
- clientId String?
- clientSecret String?
- redirectUri String?
- scope String? @default("openid profile email")
-
- authorizationEndpoint String?
- tokenEndpoint String?
- userInfoEndpoint String?
-
- metadata String?
-
- autoRegister Boolean @default(true)
- adminEmailDomains String?
-
- sortOrder Int @default(0)
-
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- userAuthProviders UserAuthProvider[]
-
- @@map("auth_providers")
-}
-
-model UserAuthProvider {
- id String @id @default(cuid())
- userId String
- user User @relation(fields: [userId], references: [id], onDelete: Cascade)
-
- providerId String
- authProvider AuthProvider @relation(fields: [providerId], references: [id], onDelete: Cascade)
-
- provider String?
-
- externalId String
- metadata String?
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- @@unique([userId, providerId])
- @@unique([providerId, externalId])
- @@map("user_auth_providers")
-}
-
-model ReverseShare {
- id String @id @default(cuid())
- name String?
- description String?
- expiration DateTime?
- maxFiles Int?
- maxFileSize BigInt?
- allowedFileTypes String?
- password String?
- pageLayout PageLayout @default(DEFAULT)
- isActive Boolean @default(true)
- nameFieldRequired FieldRequirement @default(OPTIONAL)
- emailFieldRequired FieldRequirement @default(OPTIONAL)
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- creatorId String
- creator User @relation(fields: [creatorId], references: [id], onDelete: Cascade)
-
- files ReverseShareFile[]
- alias ReverseShareAlias?
-
- @@map("reverse_shares")
-}
-
-model ReverseShareFile {
- id String @id @default(cuid())
- name String
- description String?
- extension String
- size BigInt
- objectName String
- uploaderEmail String?
- uploaderName String?
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- reverseShareId String
- reverseShare ReverseShare @relation(fields: [reverseShareId], references: [id], onDelete: Cascade)
-
- @@map("reverse_share_files")
-}
-
-model ReverseShareAlias {
- id String @id @default(cuid())
- alias String @unique
- reverseShareId String @unique
- reverseShare ReverseShare @relation(fields: [reverseShareId], references: [id], onDelete: Cascade)
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- @@map("reverse_share_aliases")
-}
-
-enum FieldRequirement {
- HIDDEN
- OPTIONAL
- REQUIRED
-}
-
-enum PageLayout {
- DEFAULT
- WETRANSFER
-}
-
-model TrustedDevice {
- id String @id @default(cuid())
- userId String
- user User @relation(fields: [userId], references: [id], onDelete: Cascade)
- deviceHash String @unique
- deviceName String?
- userAgent String?
- ipAddress String?
- lastUsedAt DateTime @default(now())
- expiresAt DateTime
- createdAt DateTime @default(now())
- updatedAt DateTime @updatedAt
-
- @@map("trusted_devices")
-}
+generator client {
+ provider = "prisma-client-js"
+}
+
+datasource db {
+ provider = "sqlite"
+ url = env("DATABASE_URL")
+}
+
+model User {
+ id String @id @default(cuid())
+ firstName String
+ lastName String
+ username String @unique
+ email String @unique
+ password String?
+ image String?
+ isAdmin Boolean @default(false)
+ isActive Boolean @default(true)
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ twoFactorEnabled Boolean @default(false)
+ twoFactorSecret String?
+ twoFactorBackupCodes String?
+ twoFactorVerified Boolean @default(false)
+
+ files File[]
+ folders Folder[]
+ shares Share[]
+ reverseShares ReverseShare[]
+
+ loginAttempts LoginAttempt?
+
+ passwordResets PasswordReset[]
+ authProviders UserAuthProvider[]
+ trustedDevices TrustedDevice[]
+
+ @@map("users")
+}
+
+model File {
+ id String @id @default(cuid())
+ name String
+ description String?
+ extension String
+ size BigInt
+ objectName String
+
+ userId String
+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)
+
+ folderId String?
+ folder Folder? @relation(fields: [folderId], references: [id], onDelete: Cascade)
+
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ shares Share[] @relation("ShareFiles")
+
+ @@index([folderId])
+
+ @@map("files")
+}
+
+model Share {
+ id String @id @default(cuid())
+ name String?
+ views Int @default(0)
+ expiration DateTime?
+ description String?
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ creatorId String?
+ creator User? @relation(fields: [creatorId], references: [id], onDelete: SetNull)
+
+ securityId String @unique
+ security ShareSecurity @relation(fields: [securityId], references: [id])
+
+ files File[] @relation("ShareFiles")
+ folders Folder[] @relation("ShareFolders")
+ recipients ShareRecipient[]
+
+ alias ShareAlias?
+
+ @@map("shares")
+}
+
+model ShareSecurity {
+ id String @id @default(cuid())
+ password String?
+ maxViews Int?
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ share Share?
+
+ @@map("share_security")
+}
+
+model ShareRecipient {
+ id String @id @default(cuid())
+ email String
+
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ shareId String
+ share Share @relation(fields: [shareId], references: [id], onDelete: Cascade)
+
+ @@map("share_recipients")
+}
+
+model AppConfig {
+ id String @id @default(cuid())
+ key String @unique
+ value String
+ type String
+ group String
+ isSystem Boolean @default(true)
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@map("app_configs")
+}
+
+model LoginAttempt {
+ id String @id @default(cuid())
+ userId String @unique
+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)
+ attempts Int @default(1)
+ lastAttempt DateTime @default(now())
+
+ @@map("login_attempts")
+}
+
+model PasswordReset {
+ id String @id @default(cuid())
+ userId String
+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)
+ token String @unique
+ expiresAt DateTime
+ used Boolean @default(false)
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@map("password_resets")
+}
+
+model ShareAlias {
+ id String @id @default(cuid())
+ alias String @unique
+ shareId String @unique
+ share Share @relation(fields: [shareId], references: [id], onDelete: Cascade)
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@map("share_aliases")
+}
+
+model AuthProvider {
+ id String @id @default(cuid())
+ name String @unique
+ displayName String
+ type String
+ icon String?
+ enabled Boolean @default(false)
+
+ issuerUrl String?
+ clientId String?
+ clientSecret String?
+ redirectUri String?
+ scope String? @default("openid profile email")
+
+ authorizationEndpoint String?
+ tokenEndpoint String?
+ userInfoEndpoint String?
+
+ metadata String?
+
+ autoRegister Boolean @default(true)
+ adminEmailDomains String?
+
+ sortOrder Int @default(0)
+
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ userAuthProviders UserAuthProvider[]
+
+ @@map("auth_providers")
+}
+
+model UserAuthProvider {
+ id String @id @default(cuid())
+ userId String
+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)
+
+ providerId String
+ authProvider AuthProvider @relation(fields: [providerId], references: [id], onDelete: Cascade)
+
+ provider String?
+
+ externalId String
+ metadata String?
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@unique([userId, providerId])
+ @@unique([providerId, externalId])
+ @@map("user_auth_providers")
+}
+
+model ReverseShare {
+ id String @id @default(cuid())
+ name String?
+ description String?
+ expiration DateTime?
+ maxFiles Int?
+ maxFileSize BigInt?
+ allowedFileTypes String?
+ password String?
+ pageLayout PageLayout @default(DEFAULT)
+ isActive Boolean @default(true)
+ nameFieldRequired FieldRequirement @default(OPTIONAL)
+ emailFieldRequired FieldRequirement @default(OPTIONAL)
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ creatorId String
+ creator User @relation(fields: [creatorId], references: [id], onDelete: Cascade)
+
+ files ReverseShareFile[]
+ alias ReverseShareAlias?
+
+ @@map("reverse_shares")
+}
+
+model ReverseShareFile {
+ id String @id @default(cuid())
+ name String
+ description String?
+ extension String
+ size BigInt
+ objectName String
+ uploaderEmail String?
+ uploaderName String?
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ reverseShareId String
+ reverseShare ReverseShare @relation(fields: [reverseShareId], references: [id], onDelete: Cascade)
+
+ @@map("reverse_share_files")
+}
+
+model ReverseShareAlias {
+ id String @id @default(cuid())
+ alias String @unique
+ reverseShareId String @unique
+ reverseShare ReverseShare @relation(fields: [reverseShareId], references: [id], onDelete: Cascade)
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@map("reverse_share_aliases")
+}
+
+enum FieldRequirement {
+ HIDDEN
+ OPTIONAL
+ REQUIRED
+}
+
+enum PageLayout {
+ DEFAULT
+ WETRANSFER
+}
+
+model TrustedDevice {
+ id String @id @default(cuid())
+ userId String
+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)
+ deviceHash String @unique
+ deviceName String?
+ userAgent String?
+ ipAddress String?
+ lastUsedAt DateTime @default(now())
+ expiresAt DateTime
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@map("trusted_devices")
+}
+
+model Folder {
+ id String @id @default(cuid())
+ name String
+ description String?
+ objectName String
+
+ parentId String?
+ parent Folder? @relation("FolderHierarchy", fields: [parentId], references: [id], onDelete: Cascade)
+ children Folder[] @relation("FolderHierarchy")
+
+ userId String
+ user User @relation(fields: [userId], references: [id], onDelete: Cascade)
+
+ files File[]
+
+ shares Share[] @relation("ShareFolders")
+
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@index([userId])
+ @@index([parentId])
+ @@map("folders")
+}
diff --git a/apps/server/src/config/swagger.config.ts b/apps/server/src/config/swagger.config.ts
index 3df2621..cfef60e 100644
--- a/apps/server/src/config/swagger.config.ts
+++ b/apps/server/src/config/swagger.config.ts
@@ -18,6 +18,7 @@ export function registerSwagger(app: any) {
{ name: "Auth Providers", description: "External authentication providers management" },
{ name: "User", description: "User management endpoints" },
{ name: "File", description: "File management endpoints" },
+ { name: "Folder", description: "Folder management endpoints" },
{ name: "Share", description: "File sharing endpoints" },
{ name: "Storage", description: "Storage management endpoints" },
{ name: "App", description: "Application configuration endpoints" },
diff --git a/apps/server/src/modules/file/controller.ts b/apps/server/src/modules/file/controller.ts
index f5d9ce0..29a1d9f 100644
--- a/apps/server/src/modules/file/controller.ts
+++ b/apps/server/src/modules/file/controller.ts
@@ -3,7 +3,18 @@ import { FastifyReply, FastifyRequest } from "fastify";
import { env } from "../../env";
import { prisma } from "../../shared/prisma";
import { ConfigService } from "../config/service";
-import { CheckFileInput, CheckFileSchema, RegisterFileInput, RegisterFileSchema, UpdateFileSchema } from "./dto";
+import {
+ CheckFileInput,
+ CheckFileSchema,
+ ListFilesInput,
+ ListFilesSchema,
+ MoveFileInput,
+ MoveFileSchema,
+ RegisterFileInput,
+ RegisterFileSchema,
+ UpdateFileInput,
+ UpdateFileSchema,
+} from "./dto";
import { FileService } from "./service";
export class FileController {
@@ -72,6 +83,15 @@ export class FileController {
});
}
+ if (input.folderId) {
+ const folder = await prisma.folder.findFirst({
+ where: { id: input.folderId, userId },
+ });
+ if (!folder) {
+ return reply.status(400).send({ error: "Folder not found or access denied." });
+ }
+ }
+
const fileRecord = await prisma.file.create({
data: {
name: input.name,
@@ -80,6 +100,7 @@ export class FileController {
size: BigInt(input.size),
objectName: input.objectName,
userId,
+ folderId: input.folderId,
},
});
@@ -91,6 +112,7 @@ export class FileController {
size: fileRecord.size.toString(),
objectName: fileRecord.objectName,
userId: fileRecord.userId,
+ folderId: fileRecord.folderId,
createdAt: fileRecord.createdAt,
updatedAt: fileRecord.updatedAt,
};
@@ -189,18 +211,43 @@ export class FileController {
return reply.status(401).send({ error: "Unauthorized: a valid token is required to access this resource." });
}
- const files = await prisma.file.findMany({
- where: { userId },
- });
+ const input: ListFilesInput = ListFilesSchema.parse(request.query);
+ const { folderId, recursive: recursiveStr } = input;
+ const recursive = recursiveStr === "false" ? false : true;
- const filesResponse = files.map((file) => ({
+ let files: any[];
+
+ let targetFolderId: string | null;
+ if (folderId === "null" || folderId === "" || !folderId) {
+ targetFolderId = null; // Root folder
+ } else {
+ targetFolderId = folderId;
+ }
+
+ if (recursive) {
+ if (targetFolderId === null) {
+ files = await this.getAllUserFilesRecursively(userId);
+ } else {
+ const { FolderService } = await import("../folder/service.js");
+ const folderService = new FolderService();
+ files = await folderService.getAllFilesInFolder(targetFolderId, userId);
+ }
+ } else {
+ files = await prisma.file.findMany({
+ where: { userId, folderId: targetFolderId },
+ });
+ }
+
+ const filesResponse = files.map((file: any) => ({
id: file.id,
name: file.name,
description: file.description,
extension: file.extension,
- size: file.size.toString(),
+ size: typeof file.size === "bigint" ? file.size.toString() : file.size,
objectName: file.objectName,
userId: file.userId,
+ folderId: file.folderId,
+ relativePath: file.relativePath || null,
createdAt: file.createdAt,
updatedAt: file.updatedAt,
}));
@@ -278,6 +325,7 @@ export class FileController {
size: updatedFile.size.toString(),
objectName: updatedFile.objectName,
userId: updatedFile.userId,
+ folderId: updatedFile.folderId,
createdAt: updatedFile.createdAt,
updatedAt: updatedFile.updatedAt,
};
@@ -291,4 +339,86 @@ export class FileController {
return reply.status(400).send({ error: error.message });
}
}
+
+ async moveFile(request: FastifyRequest, reply: FastifyReply) {
+ try {
+ await request.jwtVerify();
+ const userId = (request as any).user?.userId;
+
+ if (!userId) {
+ return reply.status(401).send({ error: "Unauthorized: a valid token is required to access this resource." });
+ }
+
+ const { id } = request.params as { id: string };
+ const input: MoveFileInput = MoveFileSchema.parse(request.body);
+
+ const existingFile = await prisma.file.findFirst({
+ where: { id, userId },
+ });
+
+ if (!existingFile) {
+ return reply.status(404).send({ error: "File not found." });
+ }
+
+ if (input.folderId) {
+ const targetFolder = await prisma.folder.findFirst({
+ where: { id: input.folderId, userId },
+ });
+ if (!targetFolder) {
+ return reply.status(400).send({ error: "Target folder not found." });
+ }
+ }
+
+ const updatedFile = await prisma.file.update({
+ where: { id },
+ data: { folderId: input.folderId },
+ });
+
+ const fileResponse = {
+ id: updatedFile.id,
+ name: updatedFile.name,
+ description: updatedFile.description,
+ extension: updatedFile.extension,
+ size: updatedFile.size.toString(),
+ objectName: updatedFile.objectName,
+ userId: updatedFile.userId,
+ folderId: updatedFile.folderId,
+ createdAt: updatedFile.createdAt,
+ updatedAt: updatedFile.updatedAt,
+ };
+
+ return reply.send({
+ file: fileResponse,
+ message: "File moved successfully.",
+ });
+ } catch (error: any) {
+ console.error("Error moving file:", error);
+ return reply.status(400).send({ error: error.message });
+ }
+ }
+
+ private async getAllUserFilesRecursively(userId: string): Promise {
+ const rootFiles = await prisma.file.findMany({
+ where: { userId, folderId: null },
+ });
+
+ const rootFolders = await prisma.folder.findMany({
+ where: { userId, parentId: null },
+ select: { id: true },
+ });
+
+ let allFiles = [...rootFiles];
+
+ if (rootFolders.length > 0) {
+ const { FolderService } = await import("../folder/service.js");
+ const folderService = new FolderService();
+
+ for (const folder of rootFolders) {
+ const folderFiles = await folderService.getAllFilesInFolder(folder.id, userId);
+ allFiles = [...allFiles, ...folderFiles];
+ }
+ }
+
+ return allFiles;
+ }
}
diff --git a/apps/server/src/modules/file/dto.ts b/apps/server/src/modules/file/dto.ts
index 29e3434..987178f 100644
--- a/apps/server/src/modules/file/dto.ts
+++ b/apps/server/src/modules/file/dto.ts
@@ -9,6 +9,7 @@ export const RegisterFileSchema = z.object({
invalid_type_error: "O tamanho deve ser um nรบmero",
}),
objectName: z.string().min(1, "O objectName รฉ obrigatรณrio"),
+ folderId: z.string().optional(),
});
export const CheckFileSchema = z.object({
@@ -20,6 +21,7 @@ export const CheckFileSchema = z.object({
invalid_type_error: "O tamanho deve ser um nรบmero",
}),
objectName: z.string().min(1, "O objectName รฉ obrigatรณrio"),
+ folderId: z.string().optional(),
});
export type RegisterFileInput = z.infer;
@@ -30,4 +32,15 @@ export const UpdateFileSchema = z.object({
description: z.string().optional().nullable().describe("The file description"),
});
+export const MoveFileSchema = z.object({
+ folderId: z.string().nullable(),
+});
+
+export const ListFilesSchema = z.object({
+ folderId: z.string().optional().describe("The folder ID"),
+ recursive: z.string().optional().default("true").describe("Include files from subfolders"),
+});
+
export type UpdateFileInput = z.infer;
+export type MoveFileInput = z.infer;
+export type ListFilesInput = z.infer;
diff --git a/apps/server/src/modules/file/routes.ts b/apps/server/src/modules/file/routes.ts
index eaf504a..810498e 100644
--- a/apps/server/src/modules/file/routes.ts
+++ b/apps/server/src/modules/file/routes.ts
@@ -2,7 +2,7 @@ import { FastifyInstance, FastifyReply, FastifyRequest } from "fastify";
import { z } from "zod";
import { FileController } from "./controller";
-import { CheckFileSchema, RegisterFileSchema, UpdateFileSchema } from "./dto";
+import { CheckFileSchema, ListFilesSchema, MoveFileSchema, RegisterFileSchema, UpdateFileSchema } from "./dto";
export async function fileRoutes(app: FastifyInstance) {
const fileController = new FileController();
@@ -62,6 +62,7 @@ export async function fileRoutes(app: FastifyInstance) {
size: z.string().describe("The file size"),
objectName: z.string().describe("The object name of the file"),
userId: z.string().describe("The user ID"),
+ folderId: z.string().nullable().describe("The folder ID"),
createdAt: z.date().describe("The file creation date"),
updatedAt: z.date().describe("The file last update date"),
}),
@@ -78,6 +79,7 @@ export async function fileRoutes(app: FastifyInstance) {
app.post(
"/files/check",
{
+ preValidation,
schema: {
tags: ["File"],
operationId: "checkFile",
@@ -106,11 +108,12 @@ export async function fileRoutes(app: FastifyInstance) {
app.get(
"/files/:objectName/download",
{
+ preValidation,
schema: {
tags: ["File"],
operationId: "getDownloadUrl",
summary: "Get Download URL",
- description: "Generates a pre-signed URL for downloading a private file",
+ description: "Generates a pre-signed URL for downloading a file",
params: z.object({
objectName: z.string().min(1, "The objectName is required"),
}),
@@ -136,7 +139,8 @@ export async function fileRoutes(app: FastifyInstance) {
tags: ["File"],
operationId: "listFiles",
summary: "List Files",
- description: "Lists user files",
+ description: "Lists user files recursively by default, optionally filtered by folder",
+ querystring: ListFilesSchema,
response: {
200: z.object({
files: z.array(
@@ -148,6 +152,8 @@ export async function fileRoutes(app: FastifyInstance) {
size: z.string().describe("The file size"),
objectName: z.string().describe("The object name of the file"),
userId: z.string().describe("The user ID"),
+ folderId: z.string().nullable().describe("The folder ID"),
+ relativePath: z.string().nullable().describe("The relative path (only for recursive listing)"),
createdAt: z.date().describe("The file creation date"),
updatedAt: z.date().describe("The file last update date"),
})
@@ -160,6 +166,84 @@ export async function fileRoutes(app: FastifyInstance) {
fileController.listFiles.bind(fileController)
);
+ app.patch(
+ "/files/:id",
+ {
+ preValidation,
+ schema: {
+ tags: ["File"],
+ operationId: "updateFile",
+ summary: "Update File Metadata",
+ description: "Updates file metadata in the database",
+ params: z.object({
+ id: z.string().min(1, "The file id is required").describe("The file ID"),
+ }),
+ body: UpdateFileSchema,
+ response: {
+ 200: z.object({
+ file: z.object({
+ id: z.string().describe("The file ID"),
+ name: z.string().describe("The file name"),
+ description: z.string().nullable().describe("The file description"),
+ extension: z.string().describe("The file extension"),
+ size: z.string().describe("The file size"),
+ objectName: z.string().describe("The object name of the file"),
+ userId: z.string().describe("The user ID"),
+ folderId: z.string().nullable().describe("The folder ID"),
+ createdAt: z.date().describe("The file creation date"),
+ updatedAt: z.date().describe("The file last update date"),
+ }),
+ message: z.string().describe("Success message"),
+ }),
+ 400: z.object({ error: z.string().describe("Error message") }),
+ 401: z.object({ error: z.string().describe("Error message") }),
+ 403: z.object({ error: z.string().describe("Error message") }),
+ 404: z.object({ error: z.string().describe("Error message") }),
+ },
+ },
+ },
+ fileController.updateFile.bind(fileController)
+ );
+
+ app.put(
+ "/files/:id/move",
+ {
+ preValidation,
+ schema: {
+ tags: ["File"],
+ operationId: "moveFile",
+ summary: "Move File",
+ description: "Moves a file to a different folder",
+ params: z.object({
+ id: z.string().min(1, "The file id is required").describe("The file ID"),
+ }),
+ body: MoveFileSchema,
+ response: {
+ 200: z.object({
+ file: z.object({
+ id: z.string().describe("The file ID"),
+ name: z.string().describe("The file name"),
+ description: z.string().nullable().describe("The file description"),
+ extension: z.string().describe("The file extension"),
+ size: z.string().describe("The file size"),
+ objectName: z.string().describe("The object name of the file"),
+ userId: z.string().describe("The user ID"),
+ folderId: z.string().nullable().describe("The folder ID"),
+ createdAt: z.date().describe("The file creation date"),
+ updatedAt: z.date().describe("The file last update date"),
+ }),
+ message: z.string().describe("Success message"),
+ }),
+ 400: z.object({ error: z.string().describe("Error message") }),
+ 401: z.object({ error: z.string().describe("Error message") }),
+ 403: z.object({ error: z.string().describe("Error message") }),
+ 404: z.object({ error: z.string().describe("Error message") }),
+ },
+ },
+ },
+ fileController.moveFile.bind(fileController)
+ );
+
app.delete(
"/files/:id",
{
@@ -185,42 +269,4 @@ export async function fileRoutes(app: FastifyInstance) {
},
fileController.deleteFile.bind(fileController)
);
-
- app.patch(
- "/files/:id",
- {
- preValidation,
- schema: {
- tags: ["File"],
- operationId: "updateFile",
- summary: "Update File Metadata",
- description: "Updates file metadata in the database",
- params: z.object({
- id: z.string().min(1, "The file id is required").describe("The file ID"),
- }),
- body: UpdateFileSchema,
- response: {
- 200: z.object({
- file: z.object({
- id: z.string().describe("The file ID"),
- name: z.string().describe("The file name"),
- description: z.string().nullable().describe("The file description"),
- extension: z.string().describe("The file extension"),
- size: z.string().describe("The file size"),
- objectName: z.string().describe("The object name of the file"),
- userId: z.string().describe("The user ID"),
- createdAt: z.date().describe("The file creation date"),
- updatedAt: z.date().describe("The file last update date"),
- }),
- message: z.string().describe("Success message"),
- }),
- 400: z.object({ error: z.string().describe("Error message") }),
- 401: z.object({ error: z.string().describe("Error message") }),
- 403: z.object({ error: z.string().describe("Error message") }),
- 404: z.object({ error: z.string().describe("Error message") }),
- },
- },
- },
- fileController.updateFile.bind(fileController)
- );
}
diff --git a/apps/server/src/modules/folder/controller.ts b/apps/server/src/modules/folder/controller.ts
new file mode 100644
index 0000000..8ebcea8
--- /dev/null
+++ b/apps/server/src/modules/folder/controller.ts
@@ -0,0 +1,412 @@
+import { FastifyReply, FastifyRequest } from "fastify";
+
+import { env } from "../../env";
+import { prisma } from "../../shared/prisma";
+import { ConfigService } from "../config/service";
+import {
+ CheckFolderSchema,
+ ListFoldersSchema,
+ MoveFolderSchema,
+ RegisterFolderSchema,
+ UpdateFolderSchema,
+} from "./dto";
+import { FolderService } from "./service";
+
+export class FolderController {
+ private folderService = new FolderService();
+ private configService = new ConfigService();
+
+ async registerFolder(request: FastifyRequest, reply: FastifyReply) {
+ try {
+ await request.jwtVerify();
+ const userId = (request as any).user?.userId;
+ if (!userId) {
+ return reply.status(401).send({ error: "Unauthorized: a valid token is required to access this resource." });
+ }
+
+ const input = RegisterFolderSchema.parse(request.body);
+
+ if (input.parentId) {
+ const parentFolder = await prisma.folder.findFirst({
+ where: { id: input.parentId, userId },
+ });
+ if (!parentFolder) {
+ return reply.status(400).send({ error: "Parent folder not found or access denied" });
+ }
+ }
+
+ const existingFolder = await prisma.folder.findFirst({
+ where: {
+ name: input.name,
+ parentId: input.parentId || null,
+ userId,
+ },
+ });
+
+ if (existingFolder) {
+ return reply.status(400).send({ error: "A folder with this name already exists in this location" });
+ }
+
+ const folderRecord = await prisma.folder.create({
+ data: {
+ name: input.name,
+ description: input.description,
+ objectName: input.objectName,
+ parentId: input.parentId,
+ userId,
+ },
+ include: {
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ });
+
+ const totalSize = await this.folderService.calculateFolderSize(folderRecord.id, userId);
+
+ const folderResponse = {
+ id: folderRecord.id,
+ name: folderRecord.name,
+ description: folderRecord.description,
+ objectName: folderRecord.objectName,
+ parentId: folderRecord.parentId,
+ userId: folderRecord.userId,
+ createdAt: folderRecord.createdAt,
+ updatedAt: folderRecord.updatedAt,
+ totalSize: totalSize.toString(),
+ _count: folderRecord._count,
+ };
+
+ return reply.status(201).send({
+ folder: folderResponse,
+ message: "Folder registered successfully.",
+ });
+ } catch (error: any) {
+ console.error("Error in registerFolder:", error);
+ return reply.status(400).send({ error: error.message });
+ }
+ }
+
+ async checkFolder(request: FastifyRequest, reply: FastifyReply) {
+ try {
+ await request.jwtVerify();
+ const userId = (request as any).user?.userId;
+ if (!userId) {
+ return reply.status(401).send({
+ error: "Unauthorized: a valid token is required to access this resource.",
+ code: "unauthorized",
+ });
+ }
+
+ const input = CheckFolderSchema.parse(request.body);
+
+ if (input.name.length > 100) {
+ return reply.status(400).send({
+ code: "folderNameTooLong",
+ error: "Folder name exceeds maximum length of 100 characters",
+ details: "100",
+ });
+ }
+
+ const existingFolder = await prisma.folder.findFirst({
+ where: {
+ name: input.name,
+ parentId: input.parentId || null,
+ userId,
+ },
+ });
+
+ if (existingFolder) {
+ return reply.status(400).send({
+ error: "A folder with this name already exists in this location",
+ code: "duplicateFolderName",
+ });
+ }
+
+ return reply.status(201).send({
+ message: "Folder checks succeeded.",
+ });
+ } catch (error: any) {
+ console.error("Error in checkFolder:", error);
+ return reply.status(400).send({ error: error.message });
+ }
+ }
+
+ async listFolders(request: FastifyRequest, reply: FastifyReply) {
+ try {
+ await request.jwtVerify();
+ const userId = (request as any).user?.userId;
+ if (!userId) {
+ return reply.status(401).send({ error: "Unauthorized: a valid token is required to access this resource." });
+ }
+
+ const input = ListFoldersSchema.parse(request.query);
+ const { parentId, recursive: recursiveStr } = input;
+ const recursive = recursiveStr === "false" ? false : true;
+
+ let folders: any[];
+
+ if (recursive) {
+ folders = await prisma.folder.findMany({
+ where: { userId },
+ include: {
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ orderBy: [{ name: "asc" }],
+ });
+ } else {
+ // Get only direct children of specified parent
+ const targetParentId = parentId === "null" || parentId === "" || !parentId ? null : parentId;
+ folders = await prisma.folder.findMany({
+ where: {
+ userId,
+ parentId: targetParentId,
+ },
+ include: {
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ orderBy: [{ name: "asc" }],
+ });
+ }
+
+ const foldersResponse = await Promise.all(
+ folders.map(async (folder) => {
+ const totalSize = await this.folderService.calculateFolderSize(folder.id, userId);
+ return {
+ id: folder.id,
+ name: folder.name,
+ description: folder.description,
+ objectName: folder.objectName,
+ parentId: folder.parentId,
+ userId: folder.userId,
+ createdAt: folder.createdAt,
+ updatedAt: folder.updatedAt,
+ totalSize: totalSize.toString(),
+ _count: folder._count,
+ };
+ })
+ );
+
+ return reply.send({ folders: foldersResponse });
+ } catch (error: any) {
+ console.error("Error in listFolders:", error);
+ return reply.status(500).send({ error: error.message });
+ }
+ }
+
+ async updateFolder(request: FastifyRequest, reply: FastifyReply) {
+ try {
+ await request.jwtVerify();
+ const { id } = request.params as { id: string };
+ const userId = (request as any).user?.userId;
+
+ if (!userId) {
+ return reply.status(401).send({
+ error: "Unauthorized: a valid token is required to access this resource.",
+ });
+ }
+
+ const updateData = UpdateFolderSchema.parse(request.body);
+
+ const folderRecord = await prisma.folder.findUnique({ where: { id } });
+
+ if (!folderRecord) {
+ return reply.status(404).send({ error: "Folder not found." });
+ }
+
+ if (folderRecord.userId !== userId) {
+ return reply.status(403).send({ error: "Access denied." });
+ }
+
+ if (updateData.name && updateData.name !== folderRecord.name) {
+ const duplicateFolder = await prisma.folder.findFirst({
+ where: {
+ name: updateData.name,
+ parentId: folderRecord.parentId,
+ userId,
+ id: { not: id },
+ },
+ });
+
+ if (duplicateFolder) {
+ return reply.status(400).send({ error: "A folder with this name already exists in this location" });
+ }
+ }
+
+ const updatedFolder = await prisma.folder.update({
+ where: { id },
+ data: updateData,
+ include: {
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ });
+
+ const totalSize = await this.folderService.calculateFolderSize(updatedFolder.id, userId);
+
+ const folderResponse = {
+ id: updatedFolder.id,
+ name: updatedFolder.name,
+ description: updatedFolder.description,
+ objectName: updatedFolder.objectName,
+ parentId: updatedFolder.parentId,
+ userId: updatedFolder.userId,
+ createdAt: updatedFolder.createdAt,
+ updatedAt: updatedFolder.updatedAt,
+ totalSize: totalSize.toString(),
+ _count: updatedFolder._count,
+ };
+
+ return reply.send({
+ folder: folderResponse,
+ message: "Folder updated successfully.",
+ });
+ } catch (error: any) {
+ console.error("Error in updateFolder:", error);
+ return reply.status(400).send({ error: error.message });
+ }
+ }
+
+ async moveFolder(request: FastifyRequest, reply: FastifyReply) {
+ try {
+ await request.jwtVerify();
+ const userId = (request as any).user?.userId;
+
+ if (!userId) {
+ return reply.status(401).send({ error: "Unauthorized: a valid token is required to access this resource." });
+ }
+
+ const { id } = request.params as { id: string };
+ const body = request.body as any;
+
+ const input = {
+ parentId: body.parentId === undefined ? null : body.parentId,
+ };
+
+ const validatedInput = MoveFolderSchema.parse(input);
+
+ const existingFolder = await prisma.folder.findFirst({
+ where: { id, userId },
+ });
+
+ if (!existingFolder) {
+ return reply.status(404).send({ error: "Folder not found." });
+ }
+
+ if (validatedInput.parentId) {
+ const parentFolder = await prisma.folder.findFirst({
+ where: { id: validatedInput.parentId, userId },
+ });
+ if (!parentFolder) {
+ return reply.status(400).send({ error: "Parent folder not found or access denied" });
+ }
+
+ if (await this.isDescendantOf(validatedInput.parentId, id, userId)) {
+ return reply.status(400).send({ error: "Cannot move a folder into itself or its subfolders" });
+ }
+ }
+
+ const updatedFolder = await prisma.folder.update({
+ where: { id },
+ data: { parentId: validatedInput.parentId },
+ include: {
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ });
+
+ const totalSize = await this.folderService.calculateFolderSize(updatedFolder.id, userId);
+
+ const folderResponse = {
+ id: updatedFolder.id,
+ name: updatedFolder.name,
+ description: updatedFolder.description,
+ objectName: updatedFolder.objectName,
+ parentId: updatedFolder.parentId,
+ userId: updatedFolder.userId,
+ createdAt: updatedFolder.createdAt,
+ updatedAt: updatedFolder.updatedAt,
+ totalSize: totalSize.toString(),
+ _count: updatedFolder._count,
+ };
+
+ return reply.send({
+ folder: folderResponse,
+ message: "Folder moved successfully.",
+ });
+ } catch (error: any) {
+ console.error("Error in moveFolder:", error);
+ const statusCode = error.message === "Folder not found" ? 404 : 400;
+ return reply.status(statusCode).send({ error: error.message });
+ }
+ }
+
+ async deleteFolder(request: FastifyRequest, reply: FastifyReply) {
+ try {
+ await request.jwtVerify();
+ const { id } = request.params as { id: string };
+ if (!id) {
+ return reply.status(400).send({ error: "The 'id' parameter is required." });
+ }
+
+ const folderRecord = await prisma.folder.findUnique({ where: { id } });
+ if (!folderRecord) {
+ return reply.status(404).send({ error: "Folder not found." });
+ }
+
+ const userId = (request as any).user?.userId;
+ if (folderRecord.userId !== userId) {
+ return reply.status(403).send({ error: "Access denied." });
+ }
+
+ await this.folderService.deleteObject(folderRecord.objectName);
+
+ await prisma.folder.delete({ where: { id } });
+
+ return reply.send({ message: "Folder deleted successfully." });
+ } catch (error) {
+ console.error("Error in deleteFolder:", error);
+ return reply.status(500).send({ error: "Internal server error." });
+ }
+ }
+
+ private async isDescendantOf(potentialDescendantId: string, ancestorId: string, userId: string): Promise {
+ let currentId: string | null = potentialDescendantId;
+
+ while (currentId) {
+ if (currentId === ancestorId) {
+ return true;
+ }
+
+ const folder: { parentId: string | null } | null = await prisma.folder.findFirst({
+ where: { id: currentId, userId },
+ });
+
+ if (!folder) break;
+ currentId = folder.parentId;
+ }
+
+ return false;
+ }
+}
diff --git a/apps/server/src/modules/folder/dto.ts b/apps/server/src/modules/folder/dto.ts
new file mode 100644
index 0000000..9df8976
--- /dev/null
+++ b/apps/server/src/modules/folder/dto.ts
@@ -0,0 +1,56 @@
+import { z } from "zod";
+
+export const RegisterFolderSchema = z.object({
+ name: z.string().min(1, "O nome da pasta รฉ obrigatรณrio"),
+ description: z.string().optional(),
+ objectName: z.string().min(1, "O objectName รฉ obrigatรณrio"),
+ parentId: z.string().optional(),
+});
+
+export const UpdateFolderSchema = z.object({
+ name: z.string().optional(),
+ description: z.string().optional().nullable(),
+});
+
+export const MoveFolderSchema = z.object({
+ parentId: z.string().nullable(),
+});
+
+export const FolderResponseSchema = z.object({
+ id: z.string(),
+ name: z.string(),
+ description: z.string().nullable(),
+ parentId: z.string().nullable(),
+ userId: z.string(),
+ createdAt: z.date(),
+ updatedAt: z.date(),
+ totalSize: z
+ .bigint()
+ .transform((val) => val.toString())
+ .optional(),
+ _count: z
+ .object({
+ files: z.number(),
+ children: z.number(),
+ })
+ .optional(),
+});
+
+export const CheckFolderSchema = z.object({
+ name: z.string().min(1, "O nome da pasta รฉ obrigatรณrio"),
+ description: z.string().optional(),
+ objectName: z.string().min(1, "O objectName รฉ obrigatรณrio"),
+ parentId: z.string().optional(),
+});
+
+export const ListFoldersSchema = z.object({
+ parentId: z.string().optional(),
+ recursive: z.string().optional().default("true"),
+});
+
+export type RegisterFolderInput = z.infer;
+export type UpdateFolderInput = z.infer;
+export type MoveFolderInput = z.infer;
+export type CheckFolderInput = z.infer;
+export type ListFoldersInput = z.infer;
+export type FolderResponse = z.infer;
diff --git a/apps/server/src/modules/folder/routes.ts b/apps/server/src/modules/folder/routes.ts
new file mode 100644
index 0000000..a33d77f
--- /dev/null
+++ b/apps/server/src/modules/folder/routes.ts
@@ -0,0 +1,245 @@
+import { FastifyInstance, FastifyReply, FastifyRequest } from "fastify";
+import { z } from "zod";
+
+import { FolderController } from "./controller";
+import {
+ CheckFolderSchema,
+ FolderResponseSchema,
+ ListFoldersSchema,
+ MoveFolderSchema,
+ RegisterFolderSchema,
+ UpdateFolderSchema,
+} from "./dto";
+
+export async function folderRoutes(app: FastifyInstance) {
+ const folderController = new FolderController();
+
+ const preValidation = async (request: FastifyRequest, reply: FastifyReply) => {
+ try {
+ await request.jwtVerify();
+ } catch (err) {
+ console.error(err);
+ reply.status(401).send({ error: "Token invรกlido ou ausente." });
+ }
+ };
+
+ app.post(
+ "/folders",
+ {
+ schema: {
+ tags: ["Folder"],
+ operationId: "registerFolder",
+ summary: "Register Folder Metadata",
+ description: "Registers folder metadata in the database",
+ body: RegisterFolderSchema,
+ response: {
+ 201: z.object({
+ folder: z.object({
+ id: z.string().describe("The folder ID"),
+ name: z.string().describe("The folder name"),
+ description: z.string().nullable().describe("The folder description"),
+ parentId: z.string().nullable().describe("The parent folder ID"),
+ userId: z.string().describe("The user ID"),
+ createdAt: z.date().describe("The folder creation date"),
+ updatedAt: z.date().describe("The folder last update date"),
+ totalSize: z.string().optional().describe("The total size of the folder"),
+ _count: z
+ .object({
+ files: z.number().describe("Number of files in folder"),
+ children: z.number().describe("Number of subfolders"),
+ })
+ .optional()
+ .describe("Count statistics"),
+ }),
+ message: z.string().describe("The folder registration message"),
+ }),
+ 400: z.object({ error: z.string().describe("Error message") }),
+ 401: z.object({ error: z.string().describe("Error message") }),
+ },
+ },
+ },
+ folderController.registerFolder.bind(folderController)
+ );
+
+ app.post(
+ "/folders/check",
+ {
+ preValidation,
+ schema: {
+ tags: ["Folder"],
+ operationId: "checkFolder",
+ summary: "Check Folder validity",
+ description: "Checks if the folder meets all requirements",
+ body: CheckFolderSchema,
+ response: {
+ 201: z.object({
+ message: z.string().describe("The folder check success message"),
+ }),
+ 400: z.object({
+ error: z.string().describe("Error message"),
+ code: z.string().optional().describe("Error code"),
+ details: z.string().optional().describe("Error details"),
+ }),
+ 401: z.object({
+ error: z.string().describe("Error message"),
+ code: z.string().optional().describe("Error code"),
+ }),
+ },
+ },
+ },
+ folderController.checkFolder.bind(folderController)
+ );
+
+ app.get(
+ "/folders",
+ {
+ preValidation,
+ schema: {
+ tags: ["Folder"],
+ operationId: "listFolders",
+ summary: "List Folders",
+ description: "Lists user folders recursively by default, optionally filtered by folder",
+ querystring: ListFoldersSchema,
+ response: {
+ 200: z.object({
+ folders: z.array(
+ z.object({
+ id: z.string().describe("The folder ID"),
+ name: z.string().describe("The folder name"),
+ description: z.string().nullable().describe("The folder description"),
+ parentId: z.string().nullable().describe("The parent folder ID"),
+ userId: z.string().describe("The user ID"),
+ createdAt: z.date().describe("The folder creation date"),
+ updatedAt: z.date().describe("The folder last update date"),
+ totalSize: z.string().optional().describe("The total size of the folder"),
+ _count: z
+ .object({
+ files: z.number().describe("Number of files in folder"),
+ children: z.number().describe("Number of subfolders"),
+ })
+ .optional()
+ .describe("Count statistics"),
+ })
+ ),
+ }),
+ 500: z.object({ error: z.string().describe("Error message") }),
+ },
+ },
+ },
+ folderController.listFolders.bind(folderController)
+ );
+
+ app.patch(
+ "/folders/:id",
+ {
+ preValidation,
+ schema: {
+ tags: ["Folder"],
+ operationId: "updateFolder",
+ summary: "Update Folder Metadata",
+ description: "Updates folder metadata in the database",
+ params: z.object({
+ id: z.string().min(1, "The folder id is required").describe("The folder ID"),
+ }),
+ body: UpdateFolderSchema,
+ response: {
+ 200: z.object({
+ folder: z.object({
+ id: z.string().describe("The folder ID"),
+ name: z.string().describe("The folder name"),
+ description: z.string().nullable().describe("The folder description"),
+ parentId: z.string().nullable().describe("The parent folder ID"),
+ userId: z.string().describe("The user ID"),
+ createdAt: z.date().describe("The folder creation date"),
+ updatedAt: z.date().describe("The folder last update date"),
+ totalSize: z.string().optional().describe("The total size of the folder"),
+ _count: z
+ .object({
+ files: z.number().describe("Number of files in folder"),
+ children: z.number().describe("Number of subfolders"),
+ })
+ .optional()
+ .describe("Count statistics"),
+ }),
+ message: z.string().describe("Success message"),
+ }),
+ 400: z.object({ error: z.string().describe("Error message") }),
+ 401: z.object({ error: z.string().describe("Error message") }),
+ 403: z.object({ error: z.string().describe("Error message") }),
+ 404: z.object({ error: z.string().describe("Error message") }),
+ },
+ },
+ },
+ folderController.updateFolder.bind(folderController)
+ );
+
+ app.put(
+ "/folders/:id/move",
+ {
+ preValidation,
+ schema: {
+ tags: ["Folder"],
+ operationId: "moveFolder",
+ summary: "Move Folder",
+ description: "Moves a folder to a different parent folder",
+ params: z.object({
+ id: z.string().min(1, "The folder id is required").describe("The folder ID"),
+ }),
+ body: MoveFolderSchema,
+ response: {
+ 200: z.object({
+ folder: z.object({
+ id: z.string().describe("The folder ID"),
+ name: z.string().describe("The folder name"),
+ description: z.string().nullable().describe("The folder description"),
+ parentId: z.string().nullable().describe("The parent folder ID"),
+ userId: z.string().describe("The user ID"),
+ createdAt: z.date().describe("The folder creation date"),
+ updatedAt: z.date().describe("The folder last update date"),
+ totalSize: z.string().optional().describe("The total size of the folder"),
+ _count: z
+ .object({
+ files: z.number().describe("Number of files in folder"),
+ children: z.number().describe("Number of subfolders"),
+ })
+ .optional()
+ .describe("Count statistics"),
+ }),
+ message: z.string().describe("Success message"),
+ }),
+ 400: z.object({ error: z.string().describe("Error message") }),
+ 401: z.object({ error: z.string().describe("Error message") }),
+ 403: z.object({ error: z.string().describe("Error message") }),
+ 404: z.object({ error: z.string().describe("Error message") }),
+ },
+ },
+ },
+ folderController.moveFolder.bind(folderController)
+ );
+
+ app.delete(
+ "/folders/:id",
+ {
+ preValidation,
+ schema: {
+ tags: ["Folder"],
+ operationId: "deleteFolder",
+ summary: "Delete Folder",
+ description: "Deletes a folder and all its contents",
+ params: z.object({
+ id: z.string().min(1, "The folder id is required").describe("The folder ID"),
+ }),
+ response: {
+ 200: z.object({
+ message: z.string().describe("The folder deletion message"),
+ }),
+ 400: z.object({ error: z.string().describe("Error message") }),
+ 401: z.object({ error: z.string().describe("Error message") }),
+ 404: z.object({ error: z.string().describe("Error message") }),
+ 500: z.object({ error: z.string().describe("Error message") }),
+ },
+ },
+ },
+ folderController.deleteFolder.bind(folderController)
+ );
+}
diff --git a/apps/server/src/modules/folder/service.ts b/apps/server/src/modules/folder/service.ts
new file mode 100644
index 0000000..3104033
--- /dev/null
+++ b/apps/server/src/modules/folder/service.ts
@@ -0,0 +1,93 @@
+import { isS3Enabled } from "../../config/storage.config";
+import { FilesystemStorageProvider } from "../../providers/filesystem-storage.provider";
+import { S3StorageProvider } from "../../providers/s3-storage.provider";
+import { prisma } from "../../shared/prisma";
+import { StorageProvider } from "../../types/storage";
+
+export class FolderService {
+ private storageProvider: StorageProvider;
+
+ constructor() {
+ if (isS3Enabled) {
+ this.storageProvider = new S3StorageProvider();
+ } else {
+ this.storageProvider = FilesystemStorageProvider.getInstance();
+ }
+ }
+
+ async getPresignedPutUrl(objectName: string, expires: number): Promise {
+ try {
+ return await this.storageProvider.getPresignedPutUrl(objectName, expires);
+ } catch (err) {
+ console.error("Erro no presignedPutObject:", err);
+ throw err;
+ }
+ }
+
+ async getPresignedGetUrl(objectName: string, expires: number, folderName?: string): Promise {
+ try {
+ return await this.storageProvider.getPresignedGetUrl(objectName, expires, folderName);
+ } catch (err) {
+ console.error("Erro no presignedGetObject:", err);
+ throw err;
+ }
+ }
+
+ async deleteObject(objectName: string): Promise {
+ try {
+ await this.storageProvider.deleteObject(objectName);
+ } catch (err) {
+ console.error("Erro no removeObject:", err);
+ throw err;
+ }
+ }
+
+ isFilesystemMode(): boolean {
+ return !isS3Enabled;
+ }
+
+ async getAllFilesInFolder(folderId: string, userId: string, basePath: string = ""): Promise {
+ const files = await prisma.file.findMany({
+ where: { folderId, userId },
+ });
+
+ const subfolders = await prisma.folder.findMany({
+ where: { parentId: folderId, userId },
+ select: { id: true, name: true },
+ });
+
+ let allFiles = files.map((file: any) => ({
+ ...file,
+ relativePath: basePath + file.name,
+ }));
+
+ for (const subfolder of subfolders) {
+ const subfolderPath = basePath + subfolder.name + "/";
+ const subfolderFiles = await this.getAllFilesInFolder(subfolder.id, userId, subfolderPath);
+ allFiles = [...allFiles, ...subfolderFiles];
+ }
+
+ return allFiles;
+ }
+
+ async calculateFolderSize(folderId: string, userId: string): Promise {
+ const files = await prisma.file.findMany({
+ where: { folderId, userId },
+ select: { size: true },
+ });
+
+ const subfolders = await prisma.folder.findMany({
+ where: { parentId: folderId, userId },
+ select: { id: true },
+ });
+
+ let totalSize = files.reduce((sum, file) => sum + file.size, BigInt(0));
+
+ for (const subfolder of subfolders) {
+ const subfolderSize = await this.calculateFolderSize(subfolder.id, userId);
+ totalSize += subfolderSize;
+ }
+
+ return totalSize;
+ }
+}
diff --git a/apps/server/src/modules/share/controller.ts b/apps/server/src/modules/share/controller.ts
index a387e70..c2e072d 100644
--- a/apps/server/src/modules/share/controller.ts
+++ b/apps/server/src/modules/share/controller.ts
@@ -2,7 +2,7 @@ import { FastifyReply, FastifyRequest } from "fastify";
import {
CreateShareSchema,
- UpdateShareFilesSchema,
+ UpdateShareItemsSchema,
UpdateSharePasswordSchema,
UpdateShareRecipientsSchema,
UpdateShareSchema,
@@ -116,7 +116,7 @@ export class ShareController {
}
}
- async addFiles(request: FastifyRequest, reply: FastifyReply) {
+ async addItems(request: FastifyRequest, reply: FastifyReply) {
try {
await request.jwtVerify();
const userId = (request as any).user?.userId;
@@ -125,9 +125,9 @@ export class ShareController {
}
const { shareId } = request.params as { shareId: string };
- const { files } = UpdateShareFilesSchema.parse(request.body);
+ const { files, folders } = UpdateShareItemsSchema.parse(request.body);
- const share = await this.shareService.addFilesToShare(shareId, userId, files);
+ const share = await this.shareService.addItemsToShare(shareId, userId, files || [], folders || []);
return reply.send({ share });
} catch (error: any) {
if (error.message === "Share not found") {
@@ -136,14 +136,14 @@ export class ShareController {
if (error.message === "Unauthorized to update this share") {
return reply.status(401).send({ error: error.message });
}
- if (error.message.startsWith("Files not found:")) {
+ if (error.message.startsWith("Files not found:") || error.message.startsWith("Folders not found:")) {
return reply.status(404).send({ error: error.message });
}
return reply.status(400).send({ error: error.message });
}
}
- async removeFiles(request: FastifyRequest, reply: FastifyReply) {
+ async removeItems(request: FastifyRequest, reply: FastifyReply) {
try {
await request.jwtVerify();
const userId = (request as any).user?.userId;
@@ -152,9 +152,9 @@ export class ShareController {
}
const { shareId } = request.params as { shareId: string };
- const { files } = UpdateShareFilesSchema.parse(request.body);
+ const { files, folders } = UpdateShareItemsSchema.parse(request.body);
- const share = await this.shareService.removeFilesFromShare(shareId, userId, files);
+ const share = await this.shareService.removeItemsFromShare(shareId, userId, files || [], folders || []);
return reply.send({ share });
} catch (error: any) {
if (error.message === "Share not found") {
diff --git a/apps/server/src/modules/share/dto.ts b/apps/server/src/modules/share/dto.ts
index 3dae483..4f1bcfe 100644
--- a/apps/server/src/modules/share/dto.ts
+++ b/apps/server/src/modules/share/dto.ts
@@ -1,19 +1,31 @@
import { z } from "zod";
-export const CreateShareSchema = z.object({
- name: z.string().optional().describe("The share name"),
- description: z.string().optional().describe("The share description"),
- expiration: z
- .string()
- .datetime({
- message: "Data de expiraรงรฃo deve estar no formato ISO 8601 (ex: 2025-02-06T13:20:49Z)",
- })
- .optional(),
- files: z.array(z.string()).describe("The file IDs"),
- password: z.string().optional().describe("The share password"),
- maxViews: z.number().optional().nullable().describe("The maximum number of views"),
- recipients: z.array(z.string().email()).optional().describe("The recipient emails"),
-});
+export const CreateShareSchema = z
+ .object({
+ name: z.string().optional().describe("The share name"),
+ description: z.string().optional().describe("The share description"),
+ expiration: z
+ .string()
+ .datetime({
+ message: "Data de expiraรงรฃo deve estar no formato ISO 8601 (ex: 2025-02-06T13:20:49Z)",
+ })
+ .optional(),
+ files: z.array(z.string()).optional().describe("The file IDs"),
+ folders: z.array(z.string()).optional().describe("The folder IDs"),
+ password: z.string().optional().describe("The share password"),
+ maxViews: z.number().optional().nullable().describe("The maximum number of views"),
+ recipients: z.array(z.string().email()).optional().describe("The recipient emails"),
+ })
+ .refine(
+ (data) => {
+ const hasFiles = data.files && data.files.length > 0;
+ const hasFolders = data.folders && data.folders.length > 0;
+ return hasFiles || hasFolders;
+ },
+ {
+ message: "At least one file or folder must be selected to create a share",
+ }
+ );
export const UpdateShareSchema = z.object({
id: z.string(),
@@ -55,10 +67,30 @@ export const ShareResponseSchema = z.object({
size: z.string().describe("The file size"),
objectName: z.string().describe("The file object name"),
userId: z.string().describe("The user ID"),
+ folderId: z.string().nullable().describe("The folder ID containing this file"),
createdAt: z.string().describe("The file creation date"),
updatedAt: z.string().describe("The file update date"),
})
),
+ folders: z.array(
+ z.object({
+ id: z.string().describe("The folder ID"),
+ name: z.string().describe("The folder name"),
+ description: z.string().nullable().describe("The folder description"),
+ objectName: z.string().describe("The folder object name"),
+ parentId: z.string().nullable().describe("The parent folder ID"),
+ userId: z.string().describe("The user ID"),
+ totalSize: z.string().nullable().describe("The total size of folder contents"),
+ createdAt: z.string().describe("The folder creation date"),
+ updatedAt: z.string().describe("The folder update date"),
+ _count: z
+ .object({
+ files: z.number().describe("Number of files in folder"),
+ children: z.number().describe("Number of subfolders"),
+ })
+ .optional(),
+ })
+ ),
recipients: z.array(
z.object({
id: z.string().describe("The recipient ID"),
@@ -74,9 +106,21 @@ export const UpdateSharePasswordSchema = z.object({
password: z.string().nullable().describe("The new password. Send null to remove password"),
});
-export const UpdateShareFilesSchema = z.object({
- files: z.array(z.string().min(1, "File ID is required").describe("The file IDs")),
-});
+export const UpdateShareItemsSchema = z
+ .object({
+ files: z.array(z.string().min(1, "File ID is required").describe("The file IDs")).optional(),
+ folders: z.array(z.string().min(1, "Folder ID is required").describe("The folder IDs")).optional(),
+ })
+ .refine(
+ (data) => {
+ const hasFiles = data.files && data.files.length > 0;
+ const hasFolders = data.folders && data.folders.length > 0;
+ return hasFiles || hasFolders;
+ },
+ {
+ message: "At least one file or folder must be provided",
+ }
+ );
export const UpdateShareRecipientsSchema = z.object({
emails: z.array(z.string().email("Invalid email format").describe("The recipient emails")),
diff --git a/apps/server/src/modules/share/repository.ts b/apps/server/src/modules/share/repository.ts
index b4be41a..849154e 100644
--- a/apps/server/src/modules/share/repository.ts
+++ b/apps/server/src/modules/share/repository.ts
@@ -9,30 +9,39 @@ export interface IShareRepository {
| (Share & {
security: ShareSecurity;
files: any[];
+ folders: any[];
recipients: { email: string }[];
})
| null
>;
- findShareBySecurityId(securityId: string): Promise<(Share & { security: ShareSecurity; files: any[] }) | null>;
+ findShareBySecurityId(
+ securityId: string
+ ): Promise<(Share & { security: ShareSecurity; files: any[]; folders: any[] }) | null>;
updateShare(id: string, data: Partial): Promise;
updateShareSecurity(id: string, data: Partial): Promise;
deleteShare(id: string): Promise;
incrementViews(id: string): Promise;
addFilesToShare(shareId: string, fileIds: string[]): Promise;
removeFilesFromShare(shareId: string, fileIds: string[]): Promise;
+ addFoldersToShare(shareId: string, folderIds: string[]): Promise;
+ removeFoldersFromShare(shareId: string, folderIds: string[]): Promise;
findFilesByIds(fileIds: string[]): Promise;
+ findFoldersByIds(folderIds: string[]): Promise;
addRecipients(shareId: string, emails: string[]): Promise;
removeRecipients(shareId: string, emails: string[]): Promise;
- findSharesByUserId(userId: string): Promise;
+ findSharesByUserId(
+ userId: string
+ ): Promise<(Share & { security: ShareSecurity; files: any[]; folders: any[]; recipients: any[]; alias: any })[]>;
}
export class PrismaShareRepository implements IShareRepository {
async createShare(
data: Omit & { securityId: string; creatorId: string }
): Promise {
- const { files, recipients, expiration, ...shareData } = data;
+ const { files, folders, recipients, expiration, ...shareData } = data;
const validFiles = (files ?? []).filter((id) => id && id.trim().length > 0);
+ const validFolders = (folders ?? []).filter((id) => id && id.trim().length > 0);
const validRecipients = (recipients ?? []).filter((email) => email && email.trim().length > 0);
return prisma.share.create({
@@ -45,6 +54,12 @@ export class PrismaShareRepository implements IShareRepository {
connect: validFiles.map((id) => ({ id })),
}
: undefined,
+ folders:
+ validFolders.length > 0
+ ? {
+ connect: validFolders.map((id) => ({ id })),
+ }
+ : undefined,
recipients:
validRecipients?.length > 0
? {
@@ -61,10 +76,28 @@ export class PrismaShareRepository implements IShareRepository {
return prisma.share.findUnique({
where: { id },
include: {
+ alias: true,
security: true,
files: true,
+ folders: {
+ select: {
+ id: true,
+ name: true,
+ description: true,
+ objectName: true,
+ parentId: true,
+ userId: true,
+ createdAt: true,
+ updatedAt: true,
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ },
recipients: true,
- alias: true,
},
});
}
@@ -75,6 +108,24 @@ export class PrismaShareRepository implements IShareRepository {
include: {
security: true,
files: true,
+ folders: {
+ select: {
+ id: true,
+ name: true,
+ description: true,
+ objectName: true,
+ parentId: true,
+ userId: true,
+ createdAt: true,
+ updatedAt: true,
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ },
},
});
}
@@ -121,6 +172,17 @@ export class PrismaShareRepository implements IShareRepository {
});
}
+ async addFoldersToShare(shareId: string, folderIds: string[]): Promise {
+ await prisma.share.update({
+ where: { id: shareId },
+ data: {
+ folders: {
+ connect: folderIds.map((id) => ({ id })),
+ },
+ },
+ });
+ }
+
async removeFilesFromShare(shareId: string, fileIds: string[]): Promise {
await prisma.share.update({
where: { id: shareId },
@@ -132,6 +194,17 @@ export class PrismaShareRepository implements IShareRepository {
});
}
+ async removeFoldersFromShare(shareId: string, folderIds: string[]): Promise {
+ await prisma.share.update({
+ where: { id: shareId },
+ data: {
+ folders: {
+ disconnect: folderIds.map((id) => ({ id })),
+ },
+ },
+ });
+ }
+
async findFilesByIds(fileIds: string[]): Promise {
return prisma.file.findMany({
where: {
@@ -142,6 +215,16 @@ export class PrismaShareRepository implements IShareRepository {
});
}
+ async findFoldersByIds(folderIds: string[]): Promise {
+ return prisma.folder.findMany({
+ where: {
+ id: {
+ in: folderIds,
+ },
+ },
+ });
+ }
+
async addRecipients(shareId: string, emails: string[]): Promise {
await prisma.share.update({
where: { id: shareId },
@@ -178,6 +261,24 @@ export class PrismaShareRepository implements IShareRepository {
include: {
security: true,
files: true,
+ folders: {
+ select: {
+ id: true,
+ name: true,
+ description: true,
+ objectName: true,
+ parentId: true,
+ userId: true,
+ createdAt: true,
+ updatedAt: true,
+ _count: {
+ select: {
+ files: true,
+ children: true,
+ },
+ },
+ },
+ },
recipients: true,
alias: true,
},
diff --git a/apps/server/src/modules/share/routes.ts b/apps/server/src/modules/share/routes.ts
index 9d1254d..e3243a6 100644
--- a/apps/server/src/modules/share/routes.ts
+++ b/apps/server/src/modules/share/routes.ts
@@ -6,7 +6,7 @@ import {
CreateShareSchema,
ShareAliasResponseSchema,
ShareResponseSchema,
- UpdateShareFilesSchema,
+ UpdateShareItemsSchema,
UpdateSharePasswordSchema,
UpdateShareRecipientsSchema,
UpdateShareSchema,
@@ -32,7 +32,7 @@ export async function shareRoutes(app: FastifyInstance) {
tags: ["Share"],
operationId: "createShare",
summary: "Create a new share",
- description: "Create a new share",
+ description: "Create a new share with files and/or folders",
body: CreateShareSchema,
response: {
201: z.object({
@@ -164,17 +164,17 @@ export async function shareRoutes(app: FastifyInstance) {
);
app.post(
- "/shares/:shareId/files",
+ "/shares/:shareId/items",
{
preValidation,
schema: {
tags: ["Share"],
- operationId: "addFiles",
- summary: "Add files to share",
+ operationId: "addItems",
+ summary: "Add files and/or folders to share",
params: z.object({
shareId: z.string().describe("The share ID"),
}),
- body: UpdateShareFilesSchema,
+ body: UpdateShareItemsSchema,
response: {
200: z.object({
share: ShareResponseSchema,
@@ -185,21 +185,21 @@ export async function shareRoutes(app: FastifyInstance) {
},
},
},
- shareController.addFiles.bind(shareController)
+ shareController.addItems.bind(shareController)
);
app.delete(
- "/shares/:shareId/files",
+ "/shares/:shareId/items",
{
preValidation,
schema: {
tags: ["Share"],
- operationId: "removeFiles",
- summary: "Remove files from share",
+ operationId: "removeItems",
+ summary: "Remove files and/or folders from share",
params: z.object({
shareId: z.string().describe("The share ID"),
}),
- body: UpdateShareFilesSchema,
+ body: UpdateShareItemsSchema,
response: {
200: z.object({
share: ShareResponseSchema,
@@ -210,7 +210,7 @@ export async function shareRoutes(app: FastifyInstance) {
},
},
},
- shareController.removeFiles.bind(shareController)
+ shareController.removeItems.bind(shareController)
);
app.post(
diff --git a/apps/server/src/modules/share/service.ts b/apps/server/src/modules/share/service.ts
index 7ab0de2..11d7c30 100644
--- a/apps/server/src/modules/share/service.ts
+++ b/apps/server/src/modules/share/service.ts
@@ -2,6 +2,7 @@ import bcrypt from "bcryptjs";
import { prisma } from "../../shared/prisma";
import { EmailService } from "../email/service";
+import { FolderService } from "../folder/service";
import { UserService } from "../user/service";
import { CreateShareInput, ShareResponseSchema, UpdateShareInput } from "./dto";
import { IShareRepository, PrismaShareRepository } from "./repository";
@@ -11,8 +12,9 @@ export class ShareService {
private emailService = new EmailService();
private userService = new UserService();
+ private folderService = new FolderService();
- private formatShareResponse(share: any) {
+ private async formatShareResponse(share: any) {
return {
...share,
createdAt: share.createdAt.toISOString(),
@@ -36,6 +38,20 @@ export class ShareService {
createdAt: file.createdAt.toISOString(),
updatedAt: file.updatedAt.toISOString(),
})) || [],
+ folders:
+ share.folders && share.folders.length > 0
+ ? await Promise.all(
+ share.folders.map(async (folder: any) => {
+ const totalSize = await this.folderService.calculateFolderSize(folder.id, folder.userId);
+ return {
+ ...folder,
+ totalSize: totalSize.toString(),
+ createdAt: folder.createdAt.toISOString(),
+ updatedAt: folder.updatedAt.toISOString(),
+ };
+ })
+ )
+ : [],
recipients:
share.recipients?.map((recipient: any) => ({
...recipient,
@@ -46,7 +62,37 @@ export class ShareService {
}
async createShare(data: CreateShareInput, userId: string) {
- const { password, maxViews, ...shareData } = data;
+ const { password, maxViews, files, folders, ...shareData } = data;
+
+ if (files && files.length > 0) {
+ const existingFiles = await prisma.file.findMany({
+ where: {
+ id: { in: files },
+ userId: userId,
+ },
+ });
+ const notFoundFiles = files.filter((id) => !existingFiles.some((file) => file.id === id));
+ if (notFoundFiles.length > 0) {
+ throw new Error(`Files not found or access denied: ${notFoundFiles.join(", ")}`);
+ }
+ }
+
+ if (folders && folders.length > 0) {
+ const existingFolders = await prisma.folder.findMany({
+ where: {
+ id: { in: folders },
+ userId: userId,
+ },
+ });
+ const notFoundFolders = folders.filter((id) => !existingFolders.some((folder) => folder.id === id));
+ if (notFoundFolders.length > 0) {
+ throw new Error(`Folders not found or access denied: ${notFoundFolders.join(", ")}`);
+ }
+ }
+
+ if ((!files || files.length === 0) && (!folders || folders.length === 0)) {
+ throw new Error("At least one file or folder must be selected to create a share");
+ }
const security = await prisma.shareSecurity.create({
data: {
@@ -57,12 +103,14 @@ export class ShareService {
const share = await this.shareRepository.createShare({
...shareData,
+ files,
+ folders,
securityId: security.id,
creatorId: userId,
});
const shareWithRelations = await this.shareRepository.findShareById(share.id);
- return ShareResponseSchema.parse(this.formatShareResponse(shareWithRelations));
+ return ShareResponseSchema.parse(await this.formatShareResponse(shareWithRelations));
}
async getShare(shareId: string, password?: string, userId?: string) {
@@ -73,7 +121,7 @@ export class ShareService {
}
if (userId && share.creatorId === userId) {
- return ShareResponseSchema.parse(this.formatShareResponse(share));
+ return ShareResponseSchema.parse(await this.formatShareResponse(share));
}
if (share.expiration && new Date() > new Date(share.expiration)) {
@@ -98,7 +146,7 @@ export class ShareService {
await this.shareRepository.incrementViews(shareId);
const updatedShare = await this.shareRepository.findShareById(shareId);
- return ShareResponseSchema.parse(this.formatShareResponse(updatedShare));
+ return ShareResponseSchema.parse(await this.formatShareResponse(updatedShare));
}
async updateShare(shareId: string, data: Omit, userId: string) {
@@ -136,7 +184,7 @@ export class ShareService {
});
const shareWithRelations = await this.shareRepository.findShareById(shareId);
- return this.formatShareResponse(shareWithRelations);
+ return await this.formatShareResponse(shareWithRelations);
}
async deleteShare(id: string) {
@@ -172,12 +220,12 @@ export class ShareService {
return deletedShare;
});
- return ShareResponseSchema.parse(this.formatShareResponse(deleted));
+ return ShareResponseSchema.parse(await this.formatShareResponse(deleted));
}
async listUserShares(userId: string) {
const shares = await this.shareRepository.findSharesByUserId(userId);
- return shares.map((share) => this.formatShareResponse(share));
+ return await Promise.all(shares.map(async (share) => await this.formatShareResponse(share)));
}
async updateSharePassword(shareId: string, userId: string, password: string | null) {
@@ -195,10 +243,10 @@ export class ShareService {
});
const updated = await this.shareRepository.findShareById(shareId);
- return ShareResponseSchema.parse(this.formatShareResponse(updated));
+ return ShareResponseSchema.parse(await this.formatShareResponse(updated));
}
- async addFilesToShare(shareId: string, userId: string, fileIds: string[]) {
+ async addItemsToShare(shareId: string, userId: string, fileIds: string[], folderIds: string[]) {
const share = await this.shareRepository.findShareById(shareId);
if (!share) {
throw new Error("Share not found");
@@ -208,19 +256,33 @@ export class ShareService {
throw new Error("Unauthorized to update this share");
}
- const existingFiles = await this.shareRepository.findFilesByIds(fileIds);
- const notFoundFiles = fileIds.filter((id) => !existingFiles.some((file) => file.id === id));
+ if (fileIds.length > 0) {
+ const existingFiles = await this.shareRepository.findFilesByIds(fileIds);
+ const notFoundFiles = fileIds.filter((id) => !existingFiles.some((file) => file.id === id));
- if (notFoundFiles.length > 0) {
- throw new Error(`Files not found: ${notFoundFiles.join(", ")}`);
+ if (notFoundFiles.length > 0) {
+ throw new Error(`Files not found: ${notFoundFiles.join(", ")}`);
+ }
+
+ await this.shareRepository.addFilesToShare(shareId, fileIds);
+ }
+
+ if (folderIds.length > 0) {
+ const existingFolders = await this.shareRepository.findFoldersByIds(folderIds);
+ const notFoundFolders = folderIds.filter((id) => !existingFolders.some((folder) => folder.id === id));
+
+ if (notFoundFolders.length > 0) {
+ throw new Error(`Folders not found: ${notFoundFolders.join(", ")}`);
+ }
+
+ await this.shareRepository.addFoldersToShare(shareId, folderIds);
}
- await this.shareRepository.addFilesToShare(shareId, fileIds);
const updated = await this.shareRepository.findShareById(shareId);
- return ShareResponseSchema.parse(this.formatShareResponse(updated));
+ return ShareResponseSchema.parse(await this.formatShareResponse(updated));
}
- async removeFilesFromShare(shareId: string, userId: string, fileIds: string[]) {
+ async removeItemsFromShare(shareId: string, userId: string, fileIds: string[], folderIds: string[]) {
const share = await this.shareRepository.findShareById(shareId);
if (!share) {
throw new Error("Share not found");
@@ -230,9 +292,16 @@ export class ShareService {
throw new Error("Unauthorized to update this share");
}
- await this.shareRepository.removeFilesFromShare(shareId, fileIds);
+ if (fileIds.length > 0) {
+ await this.shareRepository.removeFilesFromShare(shareId, fileIds);
+ }
+
+ if (folderIds.length > 0) {
+ await this.shareRepository.removeFoldersFromShare(shareId, folderIds);
+ }
+
const updated = await this.shareRepository.findShareById(shareId);
- return ShareResponseSchema.parse(this.formatShareResponse(updated));
+ return ShareResponseSchema.parse(await this.formatShareResponse(updated));
}
async findShareById(id: string) {
@@ -255,7 +324,7 @@ export class ShareService {
await this.shareRepository.addRecipients(shareId, emails);
const updated = await this.shareRepository.findShareById(shareId);
- return ShareResponseSchema.parse(this.formatShareResponse(updated));
+ return ShareResponseSchema.parse(await this.formatShareResponse(updated));
}
async removeRecipients(shareId: string, userId: string, emails: string[]) {
@@ -270,7 +339,7 @@ export class ShareService {
await this.shareRepository.removeRecipients(shareId, emails);
const updated = await this.shareRepository.findShareById(shareId);
- return ShareResponseSchema.parse(this.formatShareResponse(updated));
+ return ShareResponseSchema.parse(await this.formatShareResponse(updated));
}
async createOrUpdateAlias(shareId: string, alias: string, userId: string) {
@@ -341,7 +410,6 @@ export class ShareService {
throw new Error("No recipients found for this share");
}
- // Get sender information
let senderName = "Someone";
try {
const sender = await this.userService.getUserById(userId);
diff --git a/apps/server/src/server.ts b/apps/server/src/server.ts
index 86121bf..07558f3 100644
--- a/apps/server/src/server.ts
+++ b/apps/server/src/server.ts
@@ -14,6 +14,7 @@ import { fileRoutes } from "./modules/file/routes";
import { ChunkManager } from "./modules/filesystem/chunk-manager";
import { downloadQueueRoutes } from "./modules/filesystem/download-queue-routes";
import { filesystemRoutes } from "./modules/filesystem/routes";
+import { folderRoutes } from "./modules/folder/routes";
import { healthRoutes } from "./modules/health/routes";
import { reverseShareRoutes } from "./modules/reverse-share/routes";
import { shareRoutes } from "./modules/share/routes";
@@ -75,6 +76,7 @@ async function startServer() {
app.register(twoFactorRoutes, { prefix: "/auth" });
app.register(userRoutes);
app.register(fileRoutes);
+ app.register(folderRoutes);
app.register(downloadQueueRoutes);
app.register(shareRoutes);
app.register(reverseShareRoutes);
diff --git a/apps/web/messages/ar-SA.json b/apps/web/messages/ar-SA.json
index 7a6dc9b..d80adaf 100644
--- a/apps/web/messages/ar-SA.json
+++ b/apps/web/messages/ar-SA.json
@@ -144,7 +144,13 @@
"update": "ุชุญุฏูุซ",
"click": "ุงููุฑ ุนูู",
"creating": "ุฌุงุฑู ุงูุฅูุดุงุก...",
- "loadingSimple": "ุฌุงุฑู ุงูุชุญู ูู..."
+ "loadingSimple": "ุฌุงุฑู ุงูุชุญู ูู...",
+ "create": "ุฅูุดุงุก",
+ "deleting": "ุฌุงุฑู ุงูุญุฐู...",
+ "move": "ููู",
+ "rename": "ุฅุนุงุฏุฉ ุชุณู ูุฉ",
+ "search": "ุจุญุซ",
+ "share": "ู ุดุงุฑูุฉ"
},
"createShare": {
"title": "ุฅูุดุงุก ู ุดุงุฑูุฉ",
@@ -160,7 +166,13 @@
"create": "ุฅูุดุงุก ู ุดุงุฑูุฉ",
"success": "ุชู ุฅูุดุงุก ุงูู ุดุงุฑูุฉ ุจูุฌุงุญ",
"error": "ูุดู ูู ุฅูุดุงุก ุงูู ุดุงุฑูุฉ",
- "namePlaceholder": "ุฃุฏุฎู ุงุณู ูุง ูู ุดุงุฑูุชู"
+ "namePlaceholder": "ุฃุฏุฎู ุงุณู ูุง ูู ุดุงุฑูุชู",
+ "nextSelectFiles": "ุงูุชุงูู: ุงุฎุชูุงุฑ ุงูู ููุงุช",
+ "searchLabel": "ุจุญุซ",
+ "tabs": {
+ "shareDetails": "ุชูุงุตูู ุงูู ุดุงุฑูุฉ",
+ "selectFiles": "ุงุฎุชูุงุฑ ุงูู ููุงุช"
+ }
},
"customization": {
"breadcrumb": "ุงูุชุฎุตูุต",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "ุงูู ููุงุช ุงูู ุฑุงุฏ ุญุฐููุง",
- "sharesToDelete": "ุงูู ุดุงุฑูุงุช ุงูุชู ุณูุชู ุญุฐููุง"
+ "sharesToDelete": "ุงูู ุดุงุฑูุงุช ุงูุชู ุณูุชู ุญุฐููุง",
+ "foldersToDelete": "ุงูู ุฌูุฏุงุช ุงูู ุฑุงุฏ ุญุฐููุง",
+ "itemsToDelete": "ุงูุนูุงุตุฑ ุงูู ุฑุงุฏ ุญุฐููุง"
},
"downloadQueue": {
"downloadQueued": "ุชู ุฅุถุงูุฉ ุงูุชูุฒูู ุฅูู ูุงุฆู ุฉ ุงูุงูุชุธุงุฑ: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "ู ุนุงููุฉ ุงูู ูู",
"addToShare": "ุฅุถุงูุฉ ุฅูู ุงูู ุดุงุฑูุฉ",
"removeFromShare": "ุฅุฒุงูุฉ ู ู ุงูู ุดุงุฑูุฉ",
- "saveChanges": "ุญูุธ ุงูุชุบููุฑุงุช"
+ "saveChanges": "ุญูุธ ุงูุชุบููุฑุงุช",
+ "editFolder": "ุชุญุฑูุฑ ุงูู ุฌูุฏ"
},
"files": {
"title": "ุฌู ูุน ุงูู ููุงุช",
@@ -347,7 +362,18 @@
},
"totalFiles": "{count, plural, =0 {ูุง ุชูุฌุฏ ู ููุงุช} =1 {ู ูู ูุงุญุฏ} other {# ู ููุงุช}}",
"bulkDeleteConfirmation": "ูู ุฃูุช ู ุชุฃูุฏ ู ู ุฑุบุจุชู ูู ุญุฐู {count, plural, =1 {ู ูู ูุงุญุฏ} other {# ู ููุงุช}}ุ ูุง ูู ูู ุงูุชุฑุงุฌุน ุนู ูุฐุง ุงูุฅุฌุฑุงุก.",
- "bulkDeleteTitle": "ุญุฐู ุงูู ููุงุช ุงูู ุญุฏุฏุฉ"
+ "bulkDeleteTitle": "ุญุฐู ุงูู ููุงุช ุงูู ุญุฏุฏุฉ",
+ "actions": {
+ "open": "ูุชุญ",
+ "rename": "ุฅุนุงุฏุฉ ุชุณู ูุฉ",
+ "delete": "ุญุฐู"
+ },
+ "empty": {
+ "title": "ูุง ุชูุฌุฏ ู ููุงุช ุฃู ู ุฌูุฏุงุช ุจุนุฏ",
+ "description": "ุงุฑูุน ู ููู ุงูุฃูู ุฃู ุฃูุดุฆ ู ุฌูุฏูุง ููุจุฏุก"
+ },
+ "files": "ู ููุงุช",
+ "folders": "ู ุฌูุฏุงุช"
},
"filesTable": {
"ariaLabel": "ุฌุฏูู ุงูู ููุงุช",
@@ -377,6 +403,33 @@
"delete": "ุญุฐู ุงูู ุญุฏุฏ"
}
},
+ "folderActions": {
+ "editFolder": "ุชุญุฑูุฑ ุงูู ุฌูุฏ",
+ "folderName": "ุงุณู ุงูู ุฌูุฏ",
+ "folderNamePlaceholder": "ุฃุฏุฎู ุงุณู ุงูู ุฌูุฏ",
+ "folderDescription": "ุงููุตู",
+ "folderDescriptionPlaceholder": "ุฃุฏุฎู ูุตู ุงูู ุฌูุฏ (ุงุฎุชูุงุฑู)",
+ "createFolder": "ุฅูุดุงุก ู ุฌูุฏ ุฌุฏูุฏ",
+ "renameFolder": "ุฅุนุงุฏุฉ ุชุณู ูุฉ ุงูู ุฌูุฏ",
+ "moveFolder": "ููู ุงูู ุฌูุฏ",
+ "shareFolder": "ู ุดุงุฑูุฉ ุงูู ุฌูุฏ",
+ "deleteFolder": "ุญุฐู ุงูู ุฌูุฏ",
+ "moveTo": "ููู ุฅูู",
+ "selectDestination": "ุงุฎุชุฑ ู ุฌูุฏ ุงููุฌูุฉ",
+ "rootFolder": "ุงูุฌุฐุฑ",
+ "folderCreated": "ุชู ุฅูุดุงุก ุงูู ุฌูุฏ ุจูุฌุงุญ",
+ "folderRenamed": "ุชู ุฅุนุงุฏุฉ ุชุณู ูุฉ ุงูู ุฌูุฏ ุจูุฌุงุญ",
+ "folderMoved": "ุชู ููู ุงูู ุฌูุฏ ุจูุฌุงุญ",
+ "folderDeleted": "ุชู ุญุฐู ุงูู ุฌูุฏ ุจูุฌุงุญ",
+ "folderShared": "ุชู ู ุดุงุฑูุฉ ุงูู ุฌูุฏ ุจูุฌุงุญ",
+ "createFolderError": "ุฎุทุฃ ูู ุฅูุดุงุก ุงูู ุฌูุฏ",
+ "renameFolderError": "ุฎุทุฃ ูู ุฅุนุงุฏุฉ ุชุณู ูุฉ ุงูู ุฌูุฏ",
+ "moveFolderError": "ุฎุทุฃ ูู ููู ุงูู ุฌูุฏ",
+ "deleteFolderError": "ุฎุทุฃ ูู ุญุฐู ุงูู ุฌูุฏ",
+ "shareFolderError": "ุฎุทุฃ ูู ู ุดุงุฑูุฉ ุงูู ุฌูุฏ",
+ "deleteConfirmation": "ูู ุฃูุช ู ุชุฃูุฏ ู ู ุฃูู ุชุฑูุฏ ุญุฐู ูุฐุง ุงูู ุฌูุฏุ",
+ "deleteWarning": "ูุง ูู ูู ุงูุชุฑุงุฌุน ุนู ูุฐุง ุงูุฅุฌุฑุงุก."
+ },
"footer": {
"poweredBy": "ู ุฏุนูู ู ู",
"kyanHomepage": "ุงูุตูุญุฉ ุงูุฑุฆูุณูุฉ ูู Kyantech"
@@ -478,6 +531,13 @@
"removeFailed": "ูุดู ูู ุญุฐู ุงูุดุนุงุฑ"
}
},
+ "moveItems": {
+ "itemsToMove": "ุงูุนูุงุตุฑ ุงูู ุฑุงุฏ ููููุง:",
+ "movingTo": "ุงูููู ุฅูู:",
+ "title": "ููู {count, plural, =1 {ุนูุตุฑ} other {ุนูุงุตุฑ}}",
+ "description": "ููู {count, plural, =1 {ุนูุตุฑ} other {ุนูุงุตุฑ}} ุฅูู ู ููุน ุฌุฏูุฏ",
+ "success": "ุชู ููู {count} {count, plural, =1 {ุนูุตุฑ} other {ุนูุงุตุฑ}} ุจูุฌุงุญ"
+ },
"navbar": {
"logoAlt": "ุดุนุงุฑ ุงูุชุทุจูู",
"profileMenu": "ูุงุฆู ุฉ ุงูู ูู ุงูุดุฎุตู",
@@ -1108,7 +1168,10 @@
},
"searchBar": {
"placeholder": "ุงุจุญุซ ุนู ุงูู ููุงุช...",
- "results": "ุชู ุงูุนุซูุฑ ุนูู {filtered} ู ู {total} ู ูู"
+ "results": "ุชู ุงูุนุซูุฑ ุนูู {filtered} ู ู {total} ู ูู",
+ "placeholderFolders": "ุงูุจุญุซ ูู ุงูู ุฌูุฏุงุช...",
+ "noResults": "ูู ูุชู ุงูุนุซูุฑ ุนูู ูุชุงุฆุฌ ูู \"{query}\"",
+ "placeholderFiles": "ุงูุจุญุซ ูู ุงูู ููุงุช..."
},
"settings": {
"groups": {
@@ -1322,7 +1385,17 @@
"editError": "ูุดู ูู ุชุญุฏูุซ ุงูู ุดุงุฑูุฉ",
"bulkDeleteConfirmation": "ูู ุฃูุช ู ุชุฃูุฏ ู ู ุฃูู ุชุฑูุฏ ุญุฐู {count, plural, =1 {ู ุดุงุฑูุฉ ูุงุญุฏุฉ} other {# ู ุดุงุฑูุงุช}} ู ุญุฏุฏุฉุ ูุง ูู ูู ุงูุชุฑุงุฌุน ุนู ูุฐุง ุงูุฅุฌุฑุงุก.",
"bulkDeleteTitle": "ุญุฐู ุงูู ุดุงุฑูุงุช ุงูู ุญุฏุฏุฉ",
- "addDescriptionPlaceholder": "ุฅุถุงูุฉ ูุตู..."
+ "addDescriptionPlaceholder": "ุฅุถุงูุฉ ูุตู...",
+ "aliasLabel": "ุงุณู ู ุณุชุนุงุฑ ููุฑุงุจุท",
+ "aliasPlaceholder": "ุฃุฏุฎู ุงุณู ูุง ู ุณุชุนุงุฑูุง ู ุฎุตุตูุง",
+ "copyLink": "ูุณุฎ ุงูุฑุงุจุท",
+ "fileTitle": "ู ุดุงุฑูุฉ ู ูู",
+ "folderTitle": "ู ุดุงุฑูุฉ ู ุฌูุฏ",
+ "generateLink": "ุฅูุดุงุก ุฑุงุจุท",
+ "linkDescriptionFile": "ุฅูุดุงุก ุฑุงุจุท ู ุฎุตุต ูู ุดุงุฑูุฉ ุงูู ูู",
+ "linkDescriptionFolder": "ุฅูุดุงุก ุฑุงุจุท ู ุฎุตุต ูู ุดุงุฑูุฉ ุงูู ุฌูุฏ",
+ "linkReady": "ุฑุงุจุท ุงูู ุดุงุฑูุฉ ุฌุงูุฒ:",
+ "linkTitle": "ุฅูุดุงุก ุฑุงุจุท"
},
"shareDetails": {
"title": "ุชูุงุตูู ุงูู ุดุงุฑูุฉ",
@@ -1449,7 +1522,8 @@
"files": "ู ููุงุช",
"totalSize": "ุงูุญุฌู ุงูุฅุฌู ุงูู",
"creating": "ุฌุงุฑู ุงูุฅูุดุงุก...",
- "create": "ุฅูุดุงุก ู ุดุงุฑูุฉ"
+ "create": "ุฅูุดุงุก ู ุดุงุฑูุฉ",
+ "itemsToShare": "ุงูุนูุงุตุฑ ููู ุดุงุฑูุฉ ({count} {count, plural, =1 {ุนูุตุฑ} other {ุนูุงุตุฑ}})"
},
"shareSecurity": {
"subtitle": "ุชูููู ุญู ุงูุฉ ููู ุฉ ุงูู ุฑูุฑ ูุฎูุงุฑุงุช ุงูุฃู ุงู ููุฐู ุงูู ุดุงุฑูุฉ",
@@ -1554,7 +1628,8 @@
"download": "ุชูุฒูู ู ุญุฏุฏ"
},
"selectAll": "ุชุญุฏูุฏ ุงููู",
- "selectShare": "ุชุญุฏูุฏ ุงูู ุดุงุฑูุฉ {shareName}"
+ "selectShare": "ุชุญุฏูุฏ ุงูู ุดุงุฑูุฉ {shareName}",
+ "folderCount": "ู ุฌูุฏุงุช"
},
"storageUsage": {
"title": "ุงุณุชุฎุฏุงู ุงูุชุฎุฒูู",
diff --git a/apps/web/messages/de-DE.json b/apps/web/messages/de-DE.json
index a2bb77b..9d03ba8 100644
--- a/apps/web/messages/de-DE.json
+++ b/apps/web/messages/de-DE.json
@@ -144,7 +144,13 @@
"update": "Aktualisieren",
"click": "Klicken Sie auf",
"creating": "Erstellen...",
- "loadingSimple": "Lade..."
+ "loadingSimple": "Lade...",
+ "create": "Erstellen",
+ "deleting": "Lรถsche...",
+ "move": "Verschieben",
+ "rename": "Umbenennen",
+ "search": "Suchen",
+ "share": "Teilen"
},
"createShare": {
"title": "Freigabe Erstellen",
@@ -160,7 +166,13 @@
"create": "Freigabe Erstellen",
"success": "Freigabe erfolgreich erstellt",
"error": "Fehler beim Erstellen der Freigabe",
- "namePlaceholder": "Geben Sie einen Namen fรผr Ihre Freigabe ein"
+ "namePlaceholder": "Geben Sie einen Namen fรผr Ihre Freigabe ein",
+ "nextSelectFiles": "Weiter: Dateien auswรคhlen",
+ "searchLabel": "Suchen",
+ "tabs": {
+ "shareDetails": "Freigabe-Details",
+ "selectFiles": "Dateien auswรคhlen"
+ }
},
"customization": {
"breadcrumb": "Anpassung",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "Zu lรถschende Dateien",
- "sharesToDelete": "Freigaben, die gelรถscht werden"
+ "sharesToDelete": "Freigaben, die gelรถscht werden",
+ "foldersToDelete": "Zu lรถschende Ordner",
+ "itemsToDelete": "Zu lรถschende Elemente"
},
"downloadQueue": {
"downloadQueued": "Download in Warteschlange: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Datei-Vorschau",
"addToShare": "Zur Freigabe hinzufรผgen",
"removeFromShare": "Aus Freigabe entfernen",
- "saveChanges": "รnderungen Speichern"
+ "saveChanges": "รnderungen Speichern",
+ "editFolder": "Ordner bearbeiten"
},
"files": {
"title": "Alle Dateien",
@@ -347,7 +362,18 @@
"table": "Tabelle",
"grid": "Raster"
},
- "totalFiles": "{count, plural, =0 {Keine Dateien} =1 {1 Datei} other {# Dateien}}"
+ "totalFiles": "{count, plural, =0 {Keine Dateien} =1 {1 Datei} other {# Dateien}}",
+ "actions": {
+ "open": "รffnen",
+ "rename": "Umbenennen",
+ "delete": "Lรถschen"
+ },
+ "empty": {
+ "title": "Noch keine Dateien oder Ordner",
+ "description": "Laden Sie Ihre erste Datei hoch oder erstellen Sie einen Ordner, um zu beginnen"
+ },
+ "files": "Dateien",
+ "folders": "Ordner"
},
"filesTable": {
"ariaLabel": "Dateien-Tabelle",
@@ -377,6 +403,33 @@
"delete": "Ausgewรคhlte Lรถschen"
}
},
+ "folderActions": {
+ "editFolder": "Ordner bearbeiten",
+ "folderName": "Ordnername",
+ "folderNamePlaceholder": "Ordnername eingeben",
+ "folderDescription": "Beschreibung",
+ "folderDescriptionPlaceholder": "Ordnerbeschreibung eingeben (optional)",
+ "createFolder": "Neuen Ordner erstellen",
+ "renameFolder": "Ordner umbenennen",
+ "moveFolder": "Ordner verschieben",
+ "shareFolder": "Ordner teilen",
+ "deleteFolder": "Ordner lรถschen",
+ "moveTo": "Verschieben nach",
+ "selectDestination": "Zielordner auswรคhlen",
+ "rootFolder": "Stammordner",
+ "folderCreated": "Ordner erfolgreich erstellt",
+ "folderRenamed": "Ordner erfolgreich umbenannt",
+ "folderMoved": "Ordner erfolgreich verschoben",
+ "folderDeleted": "Ordner erfolgreich gelรถscht",
+ "folderShared": "Ordner erfolgreich geteilt",
+ "createFolderError": "Fehler beim Erstellen des Ordners",
+ "renameFolderError": "Fehler beim Umbenennen des Ordners",
+ "moveFolderError": "Fehler beim Verschieben des Ordners",
+ "deleteFolderError": "Fehler beim Lรถschen des Ordners",
+ "shareFolderError": "Fehler beim Teilen des Ordners",
+ "deleteConfirmation": "Sind Sie sicher, dass Sie diesen Ordner lรถschen mรถchten?",
+ "deleteWarning": "Diese Aktion kann nicht rรผckgรคngig gemacht werden."
+ },
"footer": {
"poweredBy": "Angetrieben von",
"kyanHomepage": "Kyantech Homepage"
@@ -478,6 +531,13 @@
"removeFailed": "Fehler beim Entfernen des Logos"
}
},
+ "moveItems": {
+ "itemsToMove": "Zu verschiebende Elemente:",
+ "movingTo": "Verschieben nach:",
+ "title": "{count, plural, =1 {Element} other {Elemente}} verschieben",
+ "description": "{count, plural, =1 {Element} other {Elemente}} an einen neuen Ort verschieben",
+ "success": "Erfolgreich {count} {count, plural, =1 {Element} other {Elemente}} verschoben"
+ },
"navbar": {
"logoAlt": "Anwendungslogo",
"profileMenu": "Profilmenรผ",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "Dateien suchen...",
- "results": "Gefunden {filtered} von {total} Dateien"
+ "results": "Gefunden {filtered} von {total} Dateien",
+ "placeholderFolders": "Ordner durchsuchen...",
+ "noResults": "Keine Ergebnisse fรผr \"{query}\" gefunden",
+ "placeholderFiles": "Dateien suchen..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editSuccess": "Freigabe erfolgreich aktualisiert",
"editError": "Fehler beim Aktualisieren der Freigabe",
"bulkDeleteConfirmation": "Sind Sie sicher, dass Sie {count, plural, =1 {1 Freigabe} other {# Freigaben}} lรถschen mรถchten? Diese Aktion kann nicht rรผckgรคngig gemacht werden.",
- "bulkDeleteTitle": "Ausgewรคhlte Freigaben lรถschen"
+ "bulkDeleteTitle": "Ausgewรคhlte Freigaben lรถschen",
+ "aliasLabel": "Link-Alias",
+ "aliasPlaceholder": "Benutzerdefinierten Alias eingeben",
+ "copyLink": "Link kopieren",
+ "fileTitle": "Datei teilen",
+ "folderTitle": "Ordner teilen",
+ "generateLink": "Link generieren",
+ "linkDescriptionFile": "Erstellen Sie einen benutzerdefinierten Link zum Teilen der Datei",
+ "linkDescriptionFolder": "Erstellen Sie einen benutzerdefinierten Link zum Teilen des Ordners",
+ "linkReady": "Ihr Freigabe-Link ist bereit:",
+ "linkTitle": "Link generieren"
},
"shareDetails": {
"title": "Freigabe-Details",
@@ -1447,7 +1520,8 @@
"files": "Dateien",
"totalSize": "Gesamtgrรถรe",
"creating": "Erstellen...",
- "create": "Freigabe Erstellen"
+ "create": "Freigabe Erstellen",
+ "itemsToShare": "Zu teilende Elemente ({count} {count, plural, =1 {Element} other {Elemente}})"
},
"shareSecurity": {
"subtitle": "Passwortschutz und Sicherheitsoptionen fรผr diese Freigabe konfigurieren",
@@ -1552,7 +1626,8 @@
"download": "Download ausgewรคhlt"
},
"selectAll": "Alle auswรคhlen",
- "selectShare": "Freigabe {shareName} auswรคhlen"
+ "selectShare": "Freigabe {shareName} auswรคhlen",
+ "folderCount": "Ordner"
},
"storageUsage": {
"title": "Speichernutzung",
diff --git a/apps/web/messages/en-US.json b/apps/web/messages/en-US.json
index 93d5c6f..c8a61ed 100644
--- a/apps/web/messages/en-US.json
+++ b/apps/web/messages/en-US.json
@@ -136,6 +136,7 @@
"update": "Update",
"updating": "Updating...",
"delete": "Delete",
+ "deleting": "Deleting...",
"close": "Close",
"download": "Download",
"unexpectedError": "An unexpected error occurred. Please try again.",
@@ -144,7 +145,12 @@
"dashboard": "Dashboard",
"back": "Back",
"click": "Click to",
- "creating": "Creating..."
+ "creating": "Creating...",
+ "create": "Create",
+ "rename": "Rename",
+ "move": "Move",
+ "share": "Share",
+ "search": "Search"
},
"createShare": {
"title": "Create Share",
@@ -160,7 +166,13 @@
"passwordLabel": "Password",
"create": "Create Share",
"success": "Share created successfully",
- "error": "Failed to create share"
+ "error": "Failed to create share",
+ "tabs": {
+ "shareDetails": "Share Details",
+ "selectFiles": "Select Files"
+ },
+ "nextSelectFiles": "Next: Select Files",
+ "searchLabel": "Search"
},
"customization": {
"breadcrumb": "Customization",
@@ -214,6 +226,8 @@
},
"deleteConfirmation": {
"filesToDelete": "Files to be deleted",
+ "foldersToDelete": "Folders to be deleted",
+ "itemsToDelete": "Items to be deleted",
"sharesToDelete": "Shares to be deleted"
},
"downloadQueue": {
@@ -319,6 +333,7 @@
"fileCount": "{count, plural, =1 {file} other {files}}",
"filesSelected": "{count, plural, =0 {No files selected} =1 {1 file selected} other {# files selected}}",
"editFile": "Edit file",
+ "editFolder": "Edit folder",
"previewFile": "Preview file",
"addToShare": "Add to share",
"removeFromShare": "Remove from share",
@@ -339,11 +354,22 @@
"bulkDownloadSuccess": "Files download started successfully",
"bulkDownloadError": "Error creating ZIP file",
"bulkDownloadFileError": "Error downloading file {fileName}",
- "bulkDeleteSuccess": "{count, plural, =1 {1 file deleted successfully} other {# files deleted successfully}}",
- "bulkDeleteError": "Error deleting selected files",
- "bulkDeleteTitle": "Delete Selected Files",
- "bulkDeleteConfirmation": "Are you sure you want to delete {count, plural, =1 {1 file} other {# files}}? This action cannot be undone.",
+ "bulkDeleteSuccess": "{count, plural, =1 {1 item deleted successfully} other {# items deleted successfully}}",
+ "bulkDeleteError": "Error deleting selected items",
+ "bulkDeleteTitle": "Delete Selected Items",
+ "bulkDeleteConfirmation": "Are you sure you want to delete {count, plural, =1 {1 item} other {# items}}? This action cannot be undone.",
"totalFiles": "{count, plural, =0 {No files} =1 {1 file} other {# files}}",
+ "empty": {
+ "title": "No files or folders yet",
+ "description": "Upload your first file or create a folder to get started"
+ },
+ "files": "files",
+ "folders": "folders",
+ "actions": {
+ "open": "Open",
+ "rename": "Rename",
+ "delete": "Delete"
+ },
"viewMode": {
"table": "Table",
"grid": "Grid"
@@ -377,6 +403,33 @@
"delete": "Delete Selected"
}
},
+ "folderActions": {
+ "editFolder": "Edit Folder",
+ "folderName": "Folder Name",
+ "folderNamePlaceholder": "Enter folder name",
+ "folderDescription": "Description",
+ "folderDescriptionPlaceholder": "Enter folder description (optional)",
+ "createFolder": "Create Folder",
+ "renameFolder": "Rename Folder",
+ "moveFolder": "Move Folder",
+ "shareFolder": "Share Folder",
+ "deleteFolder": "Delete Folder",
+ "moveTo": "Move to",
+ "selectDestination": "Select destination folder",
+ "rootFolder": "Root",
+ "folderCreated": "Folder created successfully",
+ "folderRenamed": "Folder renamed successfully",
+ "folderMoved": "Folder moved successfully",
+ "folderDeleted": "Folder deleted successfully",
+ "folderShared": "Folder shared successfully",
+ "createFolderError": "Error creating folder",
+ "renameFolderError": "Error renaming folder",
+ "moveFolderError": "Error moving folder",
+ "deleteFolderError": "Error deleting folder",
+ "shareFolderError": "Error sharing folder",
+ "deleteConfirmation": "Are you sure you want to delete this folder?",
+ "deleteWarning": "This action cannot be undone."
+ },
"footer": {
"poweredBy": "Powered by",
"kyanHomepage": "Kyantech homepage"
@@ -478,6 +531,13 @@
"removeFailed": "Failed to remove logo"
}
},
+ "moveItems": {
+ "itemsToMove": "Items to move:",
+ "movingTo": "Moving to:",
+ "title": "Move {count, plural, =1 {Item} other {Items}}",
+ "description": "Move {count, plural, =1 {item} other {items}} to a new location",
+ "success": "Successfully moved {count} {count, plural, =1 {item} other {items}}"
+ },
"navbar": {
"logoAlt": "App Logo",
"profileMenu": "Profile Menu",
@@ -1103,8 +1163,11 @@
}
},
"searchBar": {
- "placeholder": "Search files...",
- "results": "Found {filtered} of {total} files"
+ "placeholder": "Search files and folders...",
+ "placeholderFiles": "Search files...",
+ "placeholderFolders": "Search folders...",
+ "results": "Showing {filtered} of {total} items",
+ "noResults": "No results found for \"{query}\""
},
"settings": {
"groups": {
@@ -1297,20 +1360,20 @@
"pageTitle": "Share"
},
"shareActions": {
+ "fileTitle": "Share File",
+ "folderTitle": "Share Folder",
+ "linkTitle": "Generate Link",
+ "linkDescriptionFile": "Generate a custom link to share the file",
+ "linkDescriptionFolder": "Generate a custom link to share the folder",
+ "aliasLabel": "Link Alias",
+ "aliasPlaceholder": "Enter custom alias",
+ "linkReady": "Your share link is ready:",
+ "generateLink": "Generate Link",
+ "copyLink": "Copy Link",
"deleteTitle": "Delete Share",
"deleteConfirmation": "Are you sure you want to delete this share? This action cannot be undone.",
"addDescriptionPlaceholder": "Add description...",
"editTitle": "Edit Share",
- "nameLabel": "Share Name",
- "descriptionLabel": "Description",
- "descriptionPlaceholder": "Enter a description (optional)",
- "expirationLabel": "Expiration Date",
- "expirationPlaceholder": "MM/DD/YYYY HH:MM",
- "maxViewsLabel": "Max Views",
- "maxViewsPlaceholder": "Leave empty for unlimited",
- "passwordProtection": "Password Protected",
- "passwordLabel": "Password",
- "passwordPlaceholder": "Enter password",
"newPasswordLabel": "New Password (leave empty to keep current)",
"newPasswordPlaceholder": "Enter new password",
"manageFilesTitle": "Manage Files",
@@ -1381,28 +1444,6 @@
"noExpiration": "This share will never expire and will remain accessible indefinitely."
}
},
- "shareFile": {
- "title": "Share File",
- "linkTitle": "Generate Link",
- "nameLabel": "Share Name",
- "namePlaceholder": "Enter share name",
- "descriptionLabel": "Description",
- "descriptionPlaceholder": "Enter a description (optional)",
- "expirationLabel": "Expiration Date",
- "expirationPlaceholder": "MM/DD/YYYY HH:MM",
- "maxViewsLabel": "Maximum Views",
- "maxViewsPlaceholder": "Leave empty for unlimited",
- "passwordProtection": "Password Protected",
- "passwordLabel": "Password",
- "passwordPlaceholder": "Enter password",
- "linkDescription": "Generate a custom link to share the file",
- "aliasLabel": "Link Alias",
- "aliasPlaceholder": "Enter custom alias",
- "linkReady": "Your share link is ready:",
- "createShare": "Create Share",
- "generateLink": "Generate Link",
- "copyLink": "Copy Link"
- },
"shareManager": {
"deleteSuccess": "Share deleted successfully",
"deleteError": "Failed to delete share",
@@ -1440,11 +1481,12 @@
"shareNamePlaceholder": "Enter share name",
"descriptionLabel": "Description",
"descriptionPlaceholder": "Enter a description (optional)",
- "filesToShare": "Files to share",
+ "filesToShare": "Files to Share",
"files": "files",
"totalSize": "Total size",
- "creating": "Creating...",
- "create": "Create Share"
+ "creating": "Creating share...",
+ "create": "Create Share",
+ "itemsToShare": "Items to share ({count} {count, plural, =1 {item} other {items}})"
},
"shareSecurity": {
"title": "Share Security Settings",
@@ -1527,6 +1569,7 @@
"public": "Public"
},
"filesCount": "files",
+ "folderCount": "folders",
"recipientsCount": "recipients",
"actions": {
"menu": "Share actions menu",
diff --git a/apps/web/messages/es-ES.json b/apps/web/messages/es-ES.json
index 34605bb..b9ef907 100644
--- a/apps/web/messages/es-ES.json
+++ b/apps/web/messages/es-ES.json
@@ -144,7 +144,13 @@
"update": "Actualizar",
"click": "Haga clic para",
"creating": "Creando...",
- "loadingSimple": "Cargando..."
+ "loadingSimple": "Cargando...",
+ "create": "Crear",
+ "deleting": "Eliminando...",
+ "move": "Mover",
+ "rename": "Renombrar",
+ "search": "Buscar",
+ "share": "Compartir"
},
"createShare": {
"title": "Crear Compartir",
@@ -160,7 +166,13 @@
"create": "Crear Compartir",
"success": "Compartir creado exitosamente",
"error": "Error al crear compartir",
- "namePlaceholder": "Ingrese un nombre para su compartir"
+ "namePlaceholder": "Ingrese un nombre para su compartir",
+ "nextSelectFiles": "Siguiente: Seleccionar archivos",
+ "searchLabel": "Buscar",
+ "tabs": {
+ "shareDetails": "Detalles del compartido",
+ "selectFiles": "Seleccionar archivos"
+ }
},
"customization": {
"breadcrumb": "Personalizaciรณn",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "Archivos que serรกn eliminados",
- "sharesToDelete": "Compartidos que serรกn eliminados"
+ "sharesToDelete": "Compartidos que serรกn eliminados",
+ "foldersToDelete": "Carpetas a eliminar",
+ "itemsToDelete": "Elementos a eliminar"
},
"downloadQueue": {
"downloadQueued": "Descarga en cola: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Vista previa del archivo",
"addToShare": "Agregar a comparticiรณn",
"removeFromShare": "Quitar de comparticiรณn",
- "saveChanges": "Guardar Cambios"
+ "saveChanges": "Guardar Cambios",
+ "editFolder": "Editar carpeta"
},
"files": {
"title": "Todos los Archivos",
@@ -347,7 +362,18 @@
"table": "Tabla",
"grid": "Cuadrรญcula"
},
- "totalFiles": "{count, plural, =0 {Sin archivos} =1 {1 archivo} other {# archivos}}"
+ "totalFiles": "{count, plural, =0 {Sin archivos} =1 {1 archivo} other {# archivos}}",
+ "actions": {
+ "open": "Abrir",
+ "rename": "Renombrar",
+ "delete": "Eliminar"
+ },
+ "empty": {
+ "title": "Aรบn no hay archivos o carpetas",
+ "description": "Suba su primer archivo o cree una carpeta para comenzar"
+ },
+ "files": "archivos",
+ "folders": "carpetas"
},
"filesTable": {
"ariaLabel": "Tabla de archivos",
@@ -377,6 +403,33 @@
"delete": "Eliminar Seleccionados"
}
},
+ "folderActions": {
+ "editFolder": "Editar carpeta",
+ "folderName": "Nombre de carpeta",
+ "folderNamePlaceholder": "Ingrese nombre de carpeta",
+ "folderDescription": "Descripciรณn",
+ "folderDescriptionPlaceholder": "Ingrese descripciรณn de carpeta (opcional)",
+ "createFolder": "Crear nueva carpeta",
+ "renameFolder": "Renombrar carpeta",
+ "moveFolder": "Mover carpeta",
+ "shareFolder": "Compartir carpeta",
+ "deleteFolder": "Eliminar carpeta",
+ "moveTo": "Mover a",
+ "selectDestination": "Seleccionar carpeta destino",
+ "rootFolder": "Raรญz",
+ "folderCreated": "Carpeta creada exitosamente",
+ "folderRenamed": "Carpeta renombrada exitosamente",
+ "folderMoved": "Carpeta movida exitosamente",
+ "folderDeleted": "Carpeta eliminada exitosamente",
+ "folderShared": "Carpeta compartida exitosamente",
+ "createFolderError": "Error al crear carpeta",
+ "renameFolderError": "Error al renombrar carpeta",
+ "moveFolderError": "Error al mover carpeta",
+ "deleteFolderError": "Error al eliminar carpeta",
+ "shareFolderError": "Error al compartir carpeta",
+ "deleteConfirmation": "ยฟEstรก seguro de que desea eliminar esta carpeta?",
+ "deleteWarning": "Esta acciรณn no se puede deshacer."
+ },
"footer": {
"poweredBy": "Desarrollado por",
"kyanHomepage": "Pรกgina principal de Kyantech"
@@ -478,6 +531,13 @@
"removeFailed": "Error al eliminar el logo"
}
},
+ "moveItems": {
+ "itemsToMove": "Elementos a mover:",
+ "movingTo": "Moviendo a:",
+ "title": "Mover {count, plural, =1 {elemento} other {elementos}}",
+ "description": "Mover {count, plural, =1 {elemento} other {elementos}} a una nueva ubicaciรณn",
+ "success": "Se movieron exitosamente {count} {count, plural, =1 {elemento} other {elementos}}"
+ },
"navbar": {
"logoAlt": "Logo de la aplicaciรณn",
"profileMenu": "Menรบ de perfil",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "Buscar archivos...",
- "results": "Se encontraron {filtered} de {total} archivos"
+ "results": "Se encontraron {filtered} de {total} archivos",
+ "placeholderFolders": "Buscar carpetas...",
+ "noResults": "No se encontraron resultados para \"{query}\"",
+ "placeholderFiles": "Buscar archivos..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editSuccess": "Compartir actualizado exitosamente",
"editError": "Error al actualizar compartir",
"bulkDeleteConfirmation": "ยฟEstรกs seguro de que quieres eliminar {count, plural, =1 {1 compartido} other {# compartidos}}? Esta acciรณn no se puede deshacer.",
- "bulkDeleteTitle": "Eliminar Compartidos Seleccionados"
+ "bulkDeleteTitle": "Eliminar Compartidos Seleccionados",
+ "aliasLabel": "Alias del enlace",
+ "aliasPlaceholder": "Ingrese alias personalizado",
+ "copyLink": "Copiar enlace",
+ "fileTitle": "Compartir archivo",
+ "folderTitle": "Compartir carpeta",
+ "generateLink": "Generar enlace",
+ "linkDescriptionFile": "Genere un enlace personalizado para compartir el archivo",
+ "linkDescriptionFolder": "Genere un enlace personalizado para compartir la carpeta",
+ "linkReady": "Su enlace de comparticiรณn estรก listo:",
+ "linkTitle": "Generar enlace"
},
"shareDetails": {
"title": "Detalles del Compartir",
@@ -1447,7 +1520,8 @@
"files": "archivos",
"totalSize": "Tamaรฑo total",
"creating": "Creando...",
- "create": "Crear Compartir"
+ "create": "Crear Compartir",
+ "itemsToShare": "Elementos a compartir ({count} {count, plural, =1 {elemento} other {elementos}})"
},
"shareSecurity": {
"subtitle": "Configurar protecciรณn por contraseรฑa y opciones de seguridad para este compartir",
@@ -1530,6 +1604,7 @@
"public": "Pรบblico"
},
"filesCount": "archivos",
+ "folderCount": "carpetas",
"recipientsCount": "destinatarios",
"actions": {
"menu": "Menรบ de acciones de compartir",
diff --git a/apps/web/messages/fr-FR.json b/apps/web/messages/fr-FR.json
index 598e4d6..a887e0d 100644
--- a/apps/web/messages/fr-FR.json
+++ b/apps/web/messages/fr-FR.json
@@ -144,7 +144,13 @@
"update": "Mettre ร jour",
"click": "Clique para",
"creating": "Criando...",
- "loadingSimple": "Chargement..."
+ "loadingSimple": "Chargement...",
+ "create": "Crรฉer",
+ "deleting": "Suppression...",
+ "move": "Dรฉplacer",
+ "rename": "Renommer",
+ "search": "Rechercher",
+ "share": "Partager"
},
"createShare": {
"title": "Crรฉer un Partage",
@@ -160,7 +166,13 @@
"create": "Crรฉer un Partage",
"success": "Partage crรฉรฉ avec succรจs",
"error": "รchec de la crรฉation du partage",
- "namePlaceholder": "Entrez un nom pour votre partage"
+ "namePlaceholder": "Entrez un nom pour votre partage",
+ "nextSelectFiles": "Suivant : Sรฉlectionner les fichiers",
+ "searchLabel": "Rechercher",
+ "tabs": {
+ "shareDetails": "Dรฉtails du partage",
+ "selectFiles": "Sรฉlectionner les fichiers"
+ }
},
"customization": {
"breadcrumb": "Personnalisation",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "Fichiers ร supprimer",
- "sharesToDelete": "Partages qui seront supprimรฉs"
+ "sharesToDelete": "Partages qui seront supprimรฉs",
+ "foldersToDelete": "Dossiers ร supprimer",
+ "itemsToDelete": "รlรฉments ร supprimer"
},
"downloadQueue": {
"downloadQueued": "Tรฉlรฉchargement en file d'attente : {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Aperรงu du fichier",
"addToShare": "Ajouter au partage",
"removeFromShare": "Retirer du partage",
- "saveChanges": "Sauvegarder les Modifications"
+ "saveChanges": "Sauvegarder les Modifications",
+ "editFolder": "Modifier le dossier"
},
"files": {
"title": "Tous les Fichiers",
@@ -347,7 +362,18 @@
"table": "Tableau",
"grid": "Grille"
},
- "totalFiles": "{count, plural, =0 {Aucun fichier} =1 {1 fichier} other {# fichiers}}"
+ "totalFiles": "{count, plural, =0 {Aucun fichier} =1 {1 fichier} other {# fichiers}}",
+ "actions": {
+ "open": "Ouvrir",
+ "rename": "Renommer",
+ "delete": "Supprimer"
+ },
+ "empty": {
+ "title": "Aucun fichier ou dossier pour le moment",
+ "description": "Tรฉlรฉchargez votre premier fichier ou crรฉez un dossier pour commencer"
+ },
+ "files": "fichiers",
+ "folders": "dossiers"
},
"filesTable": {
"ariaLabel": "Tableau des fichiers",
@@ -377,6 +403,33 @@
"delete": "Supprimer les Sรฉlectionnรฉs"
}
},
+ "folderActions": {
+ "editFolder": "Modifier le dossier",
+ "folderName": "Nom du dossier",
+ "folderNamePlaceholder": "Entrez le nom du dossier",
+ "folderDescription": "Description",
+ "folderDescriptionPlaceholder": "Entrez la description du dossier (facultatif)",
+ "createFolder": "Crรฉer un nouveau dossier",
+ "renameFolder": "Renommer le dossier",
+ "moveFolder": "Dรฉplacer le dossier",
+ "shareFolder": "Partager le dossier",
+ "deleteFolder": "Supprimer le dossier",
+ "moveTo": "Dรฉplacer vers",
+ "selectDestination": "Sรฉlectionner le dossier de destination",
+ "rootFolder": "Racine",
+ "folderCreated": "Dossier crรฉรฉ avec succรจs",
+ "folderRenamed": "Dossier renommรฉ avec succรจs",
+ "folderMoved": "Dossier dรฉplacรฉ avec succรจs",
+ "folderDeleted": "Dossier supprimรฉ avec succรจs",
+ "folderShared": "Dossier partagรฉ avec succรจs",
+ "createFolderError": "Erreur lors de la crรฉation du dossier",
+ "renameFolderError": "Erreur lors du renommage du dossier",
+ "moveFolderError": "Erreur lors du dรฉplacement du dossier",
+ "deleteFolderError": "Erreur lors de la suppression du dossier",
+ "shareFolderError": "Erreur lors du partage du dossier",
+ "deleteConfirmation": "รtes-vous sรปr de vouloir supprimer ce dossier ?",
+ "deleteWarning": "Cette action ne peut pas รชtre annulรฉe."
+ },
"footer": {
"poweredBy": "Propulsรฉ par",
"kyanHomepage": "Page d'accueil de Kyantech"
@@ -478,6 +531,13 @@
"removeFailed": "รchec de la suppression du logo"
}
},
+ "moveItems": {
+ "itemsToMove": "รlรฉments ร dรฉplacer :",
+ "movingTo": "Dรฉplacement vers :",
+ "title": "Dรฉplacer {count, plural, =1 {รฉlรฉment} other {รฉlรฉments}}",
+ "description": "Dรฉplacer {count, plural, =1 {รฉlรฉment} other {รฉlรฉments}} vers un nouvel emplacement",
+ "success": "{count} {count, plural, =1 {รฉlรฉment dรฉplacรฉ} other {รฉlรฉments dรฉplacรฉs}} avec succรจs"
+ },
"navbar": {
"logoAlt": "Logo de l'Application",
"profileMenu": "Menu du Profil",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "Rechercher des fichiers...",
- "results": "Trouvรฉ {filtered} sur {total} fichiers"
+ "results": "Trouvรฉ {filtered} sur {total} fichiers",
+ "placeholderFolders": "Rechercher des dossiers...",
+ "noResults": "Aucun rรฉsultat trouvรฉ pour \"{query}\"",
+ "placeholderFiles": "Rechercher des fichiers..."
},
"settings": {
"title": "Paramรจtres",
@@ -1320,7 +1383,17 @@
"editSuccess": "Partage mis ร jour avec succรจs",
"editError": "รchec de la mise ร jour du partage",
"bulkDeleteConfirmation": "รtes-vous sรปr de vouloir supprimer {count, plural, =1 {1 partage} other {# partages}} ? Cette action ne peut pas รชtre annulรฉe.",
- "bulkDeleteTitle": "Supprimer les Partages Sรฉlectionnรฉs"
+ "bulkDeleteTitle": "Supprimer les Partages Sรฉlectionnรฉs",
+ "aliasLabel": "Alias du lien",
+ "aliasPlaceholder": "Entrez un alias personnalisรฉ",
+ "copyLink": "Copier le lien",
+ "fileTitle": "Partager le fichier",
+ "folderTitle": "Partager le dossier",
+ "generateLink": "Gรฉnรฉrer un lien",
+ "linkDescriptionFile": "Gรฉnรฉrez un lien personnalisรฉ pour partager le fichier",
+ "linkDescriptionFolder": "Gรฉnรฉrez un lien personnalisรฉ pour partager le dossier",
+ "linkReady": "Votre lien de partage est prรชt :",
+ "linkTitle": "Gรฉnรฉrer un lien"
},
"shareDetails": {
"title": "Dรฉtails du Partage",
@@ -1447,7 +1520,8 @@
"files": "fichiers",
"totalSize": "Taille totale",
"creating": "Crรฉation...",
- "create": "Crรฉer un Partage"
+ "create": "Crรฉer un Partage",
+ "itemsToShare": "รlรฉments ร partager ({count} {count, plural, =1 {รฉlรฉment} other {รฉlรฉments}})"
},
"shareSecurity": {
"subtitle": "Configurer la protection par mot de passe et les options de sรฉcuritรฉ pour ce partage",
@@ -1552,7 +1626,8 @@
"download": "Tรฉlรฉcharger sรฉlectionnรฉ"
},
"selectAll": "Tout sรฉlectionner",
- "selectShare": "Sรฉlectionner le partage {shareName}"
+ "selectShare": "Sรฉlectionner le partage {shareName}",
+ "folderCount": "dossiers"
},
"storageUsage": {
"title": "Utilisation du Stockage",
diff --git a/apps/web/messages/hi-IN.json b/apps/web/messages/hi-IN.json
index a291256..8394580 100644
--- a/apps/web/messages/hi-IN.json
+++ b/apps/web/messages/hi-IN.json
@@ -144,7 +144,13 @@
"update": "เค เคชเคกเฅเค เคเคฐเฅเค",
"click": "เคเฅเคฒเคฟเค เคเคฐเฅเค",
"creating": "เคฌเคจเคพ เคฐเคนเคพ เคนเฅ...",
- "loadingSimple": "เคฒเฅเคก เคนเฅ เคฐเคนเคพ เคนเฅ..."
+ "loadingSimple": "เคฒเฅเคก เคนเฅ เคฐเคนเคพ เคนเฅ...",
+ "create": "เคฌเคจเคพเคเค",
+ "deleting": "เคนเคเคพ เคฐเคนเฅ เคนเฅเค...",
+ "move": "เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐเฅเค",
+ "rename": "เคจเคพเคฎ เคฌเคฆเคฒเฅเค",
+ "search": "เคเฅเคเฅเค",
+ "share": "เคธเคพเคเคพ เคเคฐเฅเค"
},
"createShare": {
"title": "เคธเคพเคเคพเคเคฐเคฃ เคฌเคจเคพเคเค",
@@ -160,7 +166,13 @@
"create": "เคธเคพเคเคพเคเคฐเคฃ เคฌเคจเคพเคเค",
"success": "เคธเคพเคเคพเคเคฐเคฃ เคธเคซเคฒเคคเคพเคชเฅเคฐเฅเคตเค เคฌเคจเคพเคฏเคพ เคเคฏเคพ",
"error": "เคธเคพเคเคพเคเคฐเคฃ เคฌเคจเคพเคจเฅ เคฎเฅเค เคตเคฟเคซเคฒ",
- "namePlaceholder": "เค เคชเคจเฅ เคธเคพเคเคพเคเคฐเคฃ เคเฅ เคฒเคฟเค เคเค เคจเคพเคฎ เคฆเคฐเฅเค เคเคฐเฅเค"
+ "namePlaceholder": "เค เคชเคจเฅ เคธเคพเคเคพเคเคฐเคฃ เคเฅ เคฒเคฟเค เคเค เคจเคพเคฎ เคฆเคฐเฅเค เคเคฐเฅเค",
+ "nextSelectFiles": "เคเคเฅ: เคซเคผเคพเคเคฒเฅเค เคเฅเคจเฅเค",
+ "searchLabel": "เคเฅเคเฅเค",
+ "tabs": {
+ "shareDetails": "เคธเคพเคเคพเคเคฐเคฃ เคตเคฟเคตเคฐเคฃ",
+ "selectFiles": "เคซเคผเคพเคเคฒเฅเค เคเฅเคจเฅเค"
+ }
},
"customization": {
"breadcrumb": "เค เคจเฅเคเฅเคฒเคจ",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "เคนเคเคพเค เคเคพเคจเฅ เคตเคพเคฒเฅ เคซเคพเคเคฒเฅเค",
- "sharesToDelete": "เคธเคพเคเคพเคเคฐเคฃ เคเฅ เคนเคเคพเค เคเคพเคเคเคเฅ"
+ "sharesToDelete": "เคธเคพเคเคพเคเคฐเคฃ เคเฅ เคนเคเคพเค เคเคพเคเคเคเฅ",
+ "foldersToDelete": "เคนเคเคพเค เคเคพเคจเฅ เคตเคพเคฒเฅ เคซเคผเฅเคฒเฅเคกเคฐ",
+ "itemsToDelete": "เคนเคเคพเค เคเคพเคจเฅ เคตเคพเคฒเฅ เคเคเคเคฎ"
},
"downloadQueue": {
"downloadQueued": "เคกเคพเคเคจเคฒเฅเคก เคเคคเคพเคฐ เคฎเฅเค: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "เคซเคพเคเคฒ เคชเฅเคฐเฅเคตเคพเคตเคฒเฅเคเคจ",
"addToShare": "เคธเคพเคเคพเคเคฐเคฃ เคฎเฅเค เคเฅเคกเคผเฅเค",
"removeFromShare": "เคธเคพเคเคพเคเคฐเคฃ เคธเฅ เคนเคเคพเคเค",
- "saveChanges": "เคชเคฐเคฟเคตเคฐเฅเคคเคจ เคธเคนเฅเคเฅเค"
+ "saveChanges": "เคชเคฐเคฟเคตเคฐเฅเคคเคจ เคธเคนเฅเคเฅเค",
+ "editFolder": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคเคชเคพเคฆเคฟเคค เคเคฐเฅเค"
},
"files": {
"title": "เคธเคญเฅ เคซเคพเคเคฒเฅเค",
@@ -347,7 +362,18 @@
},
"totalFiles": "{count, plural, =0 {เคเฅเค เคซเคผเคพเคเคฒ เคจเคนเฅเค} =1 {1 เคซเคผเคพเคเคฒ} other {# เคซเคผเคพเคเคฒเฅเค}}",
"bulkDeleteConfirmation": "เคเฅเคฏเคพ เคเคช เคตเคพเคธเฅเคคเคต เคฎเฅเค {count, plural, =1 {1 เคซเคพเคเคฒ} other {# เคซเคพเคเคฒเฅเค}} เคเฅ เคนเคเคพเคจเคพ เคเคพเคนเคคเฅ เคนเฅเค? เคฏเคน เคเฅเคฐเคฟเคฏเคพ เคชเฅเคฐเฅเคตเคตเคค เคจเคนเฅเค เคเฅ เคเคพ เคธเคเคคเฅเฅค",
- "bulkDeleteTitle": "เคเคฏเคจเคฟเคค เคซเคพเคเคฒเฅเค เคเฅ เคนเคเคพเคเค"
+ "bulkDeleteTitle": "เคเคฏเคจเคฟเคค เคซเคพเคเคฒเฅเค เคเฅ เคนเคเคพเคเค",
+ "actions": {
+ "open": "เคเฅเคฒเฅเค",
+ "rename": "เคจเคพเคฎ เคฌเคฆเคฒเฅเค",
+ "delete": "เคนเคเคพเคเค"
+ },
+ "empty": {
+ "title": "เค เคญเฅ เคคเค เคเฅเค เคซเคผเคพเคเคฒ เคฏเคพ เคซเคผเฅเคฒเฅเคกเคฐ เคจเคนเฅเค",
+ "description": "เคเคฐเคเคญ เคเคฐเคจเฅ เคเฅ เคฒเคฟเค เค เคชเคจเฅ เคชเคนเคฒเฅ เคซเคผเคพเคเคฒ เค เคชเคฒเฅเคก เคเคฐเฅเค เคฏเคพ เคซเคผเฅเคฒเฅเคกเคฐ เคฌเคจเคพเคเค"
+ },
+ "files": "เคซเคผเคพเคเคฒเฅเค",
+ "folders": "เคซเคผเฅเคฒเฅเคกเคฐ"
},
"filesTable": {
"ariaLabel": "เคซเคพเคเคฒ เคคเคพเคฒเคฟเคเคพ",
@@ -377,6 +403,33 @@
"delete": "เคเคฏเคจเคฟเคค เคนเคเคพเคเค"
}
},
+ "folderActions": {
+ "editFolder": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคเคชเคพเคฆเคฟเคค เคเคฐเฅเค",
+ "folderName": "เคซเคผเฅเคฒเฅเคกเคฐ เคจเคพเคฎ",
+ "folderNamePlaceholder": "เคซเคผเฅเคฒเฅเคกเคฐ เคจเคพเคฎ เคฆเคฐเฅเค เคเคฐเฅเค",
+ "folderDescription": "เคตเคฟเคตเคฐเคฃ",
+ "folderDescriptionPlaceholder": "เคซเคผเฅเคฒเฅเคกเคฐ เคตเคฟเคตเคฐเคฃ เคฆเคฐเฅเค เคเคฐเฅเค (เคตเฅเคเคฒเฅเคชเคฟเค)",
+ "createFolder": "เคจเคฏเคพ เคซเคผเฅเคฒเฅเคกเคฐ เคฌเคจเคพเคเค",
+ "renameFolder": "เคซเคผเฅเคฒเฅเคกเคฐ เคเคพ เคจเคพเคฎ เคฌเคฆเคฒเฅเค",
+ "moveFolder": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐเฅเค",
+ "shareFolder": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคพเคเคพ เคเคฐเฅเค",
+ "deleteFolder": "เคซเคผเฅเคฒเฅเคกเคฐ เคนเคเคพเคเค",
+ "moveTo": "เคฏเคนเคพเค เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐเฅเค",
+ "selectDestination": "เคเคเคคเคตเฅเคฏ เคซเคผเฅเคฒเฅเคกเคฐ เคเฅเคจเฅเค",
+ "rootFolder": "เคฎเฅเคฒ",
+ "folderCreated": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคซเคฒเคคเคพเคชเฅเคฐเฅเคตเค เคฌเคจเคพเคฏเคพ เคเคฏเคพ",
+ "folderRenamed": "เคซเคผเฅเคฒเฅเคกเคฐ เคเคพ เคจเคพเคฎ เคธเคซเคฒเคคเคพเคชเฅเคฐเฅเคตเค เคฌเคฆเคฒเคพ เคเคฏเคพ",
+ "folderMoved": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคซเคฒเคคเคพเคชเฅเคฐเฅเคตเค เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฟเคฏเคพ เคเคฏเคพ",
+ "folderDeleted": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคซเคฒเคคเคพเคชเฅเคฐเฅเคตเค เคนเคเคพเคฏเคพ เคเคฏเคพ",
+ "folderShared": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคซเคฒเคคเคพเคชเฅเคฐเฅเคตเค เคธเคพเคเคพ เคเคฟเคฏเคพ เคเคฏเคพ",
+ "createFolderError": "เคซเคผเฅเคฒเฅเคกเคฐ เคฌเคจเคพเคจเฅ เคฎเฅเค เคคเฅเคฐเฅเคเคฟ",
+ "renameFolderError": "เคซเคผเฅเคฒเฅเคกเคฐ เคเคพ เคจเคพเคฎ เคฌเคฆเคฒเคจเฅ เคฎเฅเค เคคเฅเคฐเฅเคเคฟ",
+ "moveFolderError": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐเคจเฅ เคฎเฅเค เคคเฅเคฐเฅเคเคฟ",
+ "deleteFolderError": "เคซเคผเฅเคฒเฅเคกเคฐ เคนเคเคพเคจเฅ เคฎเฅเค เคคเฅเคฐเฅเคเคฟ",
+ "shareFolderError": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคพเคเคพ เคเคฐเคจเฅ เคฎเฅเค เคคเฅเคฐเฅเคเคฟ",
+ "deleteConfirmation": "เคเฅเคฏเคพ เคเคช เคตเคพเคเค เคเคธ เคซเคผเฅเคฒเฅเคกเคฐ เคเฅ เคนเคเคพเคจเคพ เคเคพเคนเคคเฅ เคนเฅเค?",
+ "deleteWarning": "เคฏเคน เคเคพเคฐเฅเคฏ เคชเฅเคฐเฅเคตเคตเคค เคจเคนเฅเค เคเคฟเคฏเคพ เคเคพ เคธเคเคคเคพเฅค"
+ },
"footer": {
"poweredBy": "เคฆเฅเคตเคพเคฐเคพ เคธเคเคเคพเคฒเคฟเคค",
"kyanHomepage": "Kyantech เคนเฅเคฎเคชเฅเค"
@@ -478,6 +531,13 @@
"removeFailed": "เคฒเฅเคเฅ เคนเคเคพเคจเฅ เคฎเฅเค เคตเคฟเคซเคฒ"
}
},
+ "moveItems": {
+ "itemsToMove": "เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐเคจเฅ เคตเคพเคฒเฅ เคเคเคเคฎ:",
+ "movingTo": "เคฏเคนเคพเค เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐ เคฐเคนเฅ เคนเฅเค:",
+ "title": "เคเคเคเคฎ เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐเฅเค",
+ "description": "เคเคเคเคฎ เคเฅ เคจเค เคธเฅเคฅเคพเคจ เคชเคฐ เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฐเฅเค",
+ "success": "{count} เคเคเคเคฎ เคธเคซเคฒเคคเคพเคชเฅเคฐเฅเคตเค เคธเฅเคฅเคพเคจเคพเคเคคเคฐเคฟเคค เคเคฟเค เคเค"
+ },
"navbar": {
"logoAlt": "เคเคชเฅเคฒเคฟเคเฅเคถเคจ เคฒเฅเคเฅ",
"profileMenu": "เคชเฅเคฐเฅเคซเคผเคพเคเคฒ เคฎเฅเคจเฅเคฏเฅ",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "เคซเคพเคเคฒเฅเค เคเฅเคเฅเค...",
- "results": "{total} เคฎเฅเค เคธเฅ {filtered} เคซเคพเคเคฒเฅเค เคฎเคฟเคฒเฅเค"
+ "results": "{total} เคฎเฅเค เคธเฅ {filtered} เคซเคพเคเคฒเฅเค เคฎเคฟเคฒเฅเค",
+ "placeholderFolders": "เคซเคผเฅเคฒเฅเคกเคฐ เคเฅเคเฅเค...",
+ "noResults": "\"{query}\" เคเฅ เคฒเคฟเค เคเฅเค เคชเคฐเคฟเคฃเคพเคฎ เคจเคนเฅเค เคฎเคฟเคฒเคพ",
+ "placeholderFiles": "เคซเคพเคเคฒเฅเค เคเฅเคเฅเค..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editError": "เคธเคพเคเคพเคเคฐเคฃ เค เคชเคกเฅเค เคเคฐเคจเฅ เคฎเฅเค เคตเคฟเคซเคฒ",
"bulkDeleteConfirmation": "เคเฅเคฏเคพ เคเคช เคตเคพเคเค {count, plural, =1 {1 เคธเคพเคเคพเคเคฐเคฃ} other {# เคธเคพเคเคพเคเคฐเคฃ}} เคนเคเคพเคจเคพ เคเคพเคนเคคเฅ เคนเฅเค? เคเคธ เคเฅเคฐเคฟเคฏเคพ เคเฅ เคชเฅเคฐเฅเคตเคตเคค เคจเคนเฅเค เคเคฟเคฏเคพ เคเคพ เคธเคเคคเคพเฅค",
"bulkDeleteTitle": "เคเคฏเคจเคฟเคค เคธเคพเคเคพเคเคฐเคฃ เคนเคเคพเคเค",
- "addDescriptionPlaceholder": "เคตเคฟเคตเคฐเคฃ เคเฅเคกเคผเฅเค..."
+ "addDescriptionPlaceholder": "เคตเคฟเคตเคฐเคฃ เคเฅเคกเคผเฅเค...",
+ "aliasLabel": "เคฒเคฟเคเค เคเคชเคจเคพเคฎ",
+ "aliasPlaceholder": "เคเคธเฅเคเคฎ เคเคชเคจเคพเคฎ เคฆเคฐเฅเค เคเคฐเฅเค",
+ "copyLink": "เคฒเคฟเคเค เคเฅเคชเฅ เคเคฐเฅเค",
+ "fileTitle": "เคซเคผเคพเคเคฒ เคธเคพเคเคพ เคเคฐเฅเค",
+ "folderTitle": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคพเคเคพ เคเคฐเฅเค",
+ "generateLink": "เคฒเคฟเคเค เคเฅเคจเคฐเฅเค เคเคฐเฅเค",
+ "linkDescriptionFile": "เคซเคผเคพเคเคฒ เคธเคพเคเคพ เคเคฐเคจเฅ เคเฅ เคฒเคฟเค เคเคธเฅเคเคฎ เคฒเคฟเคเค เคเฅเคจเคฐเฅเค เคเคฐเฅเค",
+ "linkDescriptionFolder": "เคซเคผเฅเคฒเฅเคกเคฐ เคธเคพเคเคพ เคเคฐเคจเฅ เคเฅ เคฒเคฟเค เคเคธเฅเคเคฎ เคฒเคฟเคเค เคเฅเคจเคฐเฅเค เคเคฐเฅเค",
+ "linkReady": "เคเคชเคเคพ เคธเคพเคเคพเคเคฐเคฃ เคฒเคฟเคเค เคคเฅเคฏเคพเคฐ เคนเฅ:",
+ "linkTitle": "เคฒเคฟเคเค เคเฅเคจเคฐเฅเค เคเคฐเฅเค"
},
"shareDetails": {
"title": "เคธเคพเคเคพเคเคฐเคฃ เคตเคฟเคตเคฐเคฃ",
@@ -1447,7 +1520,8 @@
"files": "เคซเคพเคเคฒเฅเค",
"totalSize": "เคเฅเคฒ เคเคเคพเคฐ",
"creating": "เคฌเคจเคพเคฏเคพ เคเคพ เคฐเคนเคพ เคนเฅ...",
- "create": "เคธเคพเคเคพเคเคฐเคฃ เคฌเคจเคพเคเค"
+ "create": "เคธเคพเคเคพเคเคฐเคฃ เคฌเคจเคพเคเค",
+ "itemsToShare": "เคธเคพเคเคพ เคเคฐเคจเฅ เคตเคพเคฒเฅ เคเคเคเคฎ ({count} เคเคเคเคฎ)"
},
"shareSecurity": {
"subtitle": "เคเคธ เคธเคพเคเคพเคเคฐเคฃ เคเฅ เคฒเคฟเค เคชเคพเคธเคตเคฐเฅเคก เคธเฅเคฐเคเฅเคทเคพ เคเคฐ เคธเฅเคฐเคเฅเคทเคพ เคตเคฟเคเคฒเฅเคช เคเฅเคจเฅเคซเคผเคฟเคเคฐ เคเคฐเฅเค",
@@ -1552,7 +1626,8 @@
"download": "เคเคฏเคจเคฟเคค เคกเคพเคเคจเคฒเฅเคก เคเคฐเฅเค"
},
"selectAll": "เคธเคญเฅ เคเฅเคจเฅเค",
- "selectShare": "เคธเคพเคเคพเคเคฐเคฃ {shareName} เคเฅเคจเฅเค"
+ "selectShare": "เคธเคพเคเคพเคเคฐเคฃ {shareName} เคเฅเคจเฅเค",
+ "folderCount": "เคซเคผเฅเคฒเฅเคกเคฐ"
},
"storageUsage": {
"title": "เคธเฅเคเฅเคฐเฅเค เคเคชเคฏเฅเค",
diff --git a/apps/web/messages/it-IT.json b/apps/web/messages/it-IT.json
index 505e56f..f603d2f 100644
--- a/apps/web/messages/it-IT.json
+++ b/apps/web/messages/it-IT.json
@@ -144,7 +144,13 @@
"update": "Aggiorna",
"click": "Clicca per",
"creating": "Creazione in corso...",
- "loadingSimple": "Caricamento..."
+ "loadingSimple": "Caricamento...",
+ "create": "Crea",
+ "deleting": "Eliminazione...",
+ "move": "Sposta",
+ "rename": "Rinomina",
+ "search": "Cerca",
+ "share": "Condividi"
},
"createShare": {
"title": "Crea Condivisione",
@@ -160,7 +166,13 @@
"create": "Crea Condivisione",
"success": "Condivisione creata con successo",
"error": "Errore nella creazione della condivisione",
- "namePlaceholder": "Inserisci un nome per la tua condivisione"
+ "namePlaceholder": "Inserisci un nome per la tua condivisione",
+ "nextSelectFiles": "Avanti: Seleziona file",
+ "searchLabel": "Cerca",
+ "tabs": {
+ "shareDetails": "Dettagli condivisione",
+ "selectFiles": "Seleziona file"
+ }
},
"customization": {
"breadcrumb": "Personalizzazione",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "File da eliminare",
- "sharesToDelete": "Condivisioni che saranno eliminate"
+ "sharesToDelete": "Condivisioni che saranno eliminate",
+ "foldersToDelete": "Cartelle da eliminare",
+ "itemsToDelete": "Elementi da eliminare"
},
"downloadQueue": {
"downloadQueued": "Download in coda: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Anteprima file",
"addToShare": "Aggiungi alla condivisione",
"removeFromShare": "Rimuovi dalla condivisione",
- "saveChanges": "Salva Modifiche"
+ "saveChanges": "Salva Modifiche",
+ "editFolder": "Modifica cartella"
},
"files": {
"title": "Tutti i File",
@@ -347,7 +362,18 @@
"table": "Tabella",
"grid": "Griglia"
},
- "totalFiles": "{count, plural, =0 {Nessun file} =1 {1 file} other {# file}}"
+ "totalFiles": "{count, plural, =0 {Nessun file} =1 {1 file} other {# file}}",
+ "actions": {
+ "open": "Apri",
+ "rename": "Rinomina",
+ "delete": "Elimina"
+ },
+ "empty": {
+ "title": "Ancora nessun file o cartella",
+ "description": "Carica il tuo primo file o crea una cartella per iniziare"
+ },
+ "files": "file",
+ "folders": "cartelle"
},
"filesTable": {
"ariaLabel": "Tabella dei file",
@@ -377,6 +403,33 @@
"delete": "Elimina Selezionati"
}
},
+ "folderActions": {
+ "editFolder": "Modifica cartella",
+ "folderName": "Nome cartella",
+ "folderNamePlaceholder": "Inserisci nome cartella",
+ "folderDescription": "Descrizione",
+ "folderDescriptionPlaceholder": "Inserisci descrizione cartella (opzionale)",
+ "createFolder": "Crea nuova cartella",
+ "renameFolder": "Rinomina cartella",
+ "moveFolder": "Sposta cartella",
+ "shareFolder": "Condividi cartella",
+ "deleteFolder": "Elimina cartella",
+ "moveTo": "Sposta in",
+ "selectDestination": "Seleziona cartella destinazione",
+ "rootFolder": "Radice",
+ "folderCreated": "Cartella creata con successo",
+ "folderRenamed": "Cartella rinominata con successo",
+ "folderMoved": "Cartella spostata con successo",
+ "folderDeleted": "Cartella eliminata con successo",
+ "folderShared": "Cartella condivisa con successo",
+ "createFolderError": "Errore nella creazione della cartella",
+ "renameFolderError": "Errore nella rinominazione della cartella",
+ "moveFolderError": "Errore nello spostamento della cartella",
+ "deleteFolderError": "Errore nell'eliminazione della cartella",
+ "shareFolderError": "Errore nella condivisione della cartella",
+ "deleteConfirmation": "Sei sicuro di voler eliminare questa cartella?",
+ "deleteWarning": "Questa azione non puรฒ essere annullata."
+ },
"footer": {
"poweredBy": "Sviluppato da",
"kyanHomepage": "Homepage di Kyantech"
@@ -478,6 +531,13 @@
"removeFailed": "Errore durante la rimozione del logo"
}
},
+ "moveItems": {
+ "itemsToMove": "Elementi da spostare:",
+ "movingTo": "Spostamento in:",
+ "title": "Sposta {count, plural, =1 {elemento} other {elementi}}",
+ "description": "Sposta {count, plural, =1 {elemento} other {elementi}} in una nuova posizione",
+ "success": "Spostati con successo {count} {count, plural, =1 {elemento} other {elementi}}"
+ },
"navbar": {
"logoAlt": "Logo dell'App",
"profileMenu": "Menu Profilo",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "Cerca file...",
- "results": "Trovati {filtered} di {total} file"
+ "results": "Trovati {filtered} di {total} file",
+ "placeholderFolders": "Cerca cartelle...",
+ "noResults": "Nessun risultato trovato per \"{query}\"",
+ "placeholderFiles": "Cerca file..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editSuccess": "Condivisione aggiornata con successo",
"editError": "Errore nell'aggiornamento della condivisione",
"bulkDeleteConfirmation": "Sei sicuro di voler eliminare {count, plural, =1 {1 condivisione} other {# condivisioni}}? Questa azione non puรฒ essere annullata.",
- "bulkDeleteTitle": "Elimina Condivisioni Selezionate"
+ "bulkDeleteTitle": "Elimina Condivisioni Selezionate",
+ "aliasLabel": "Alias collegamento",
+ "aliasPlaceholder": "Inserisci alias personalizzato",
+ "copyLink": "Copia collegamento",
+ "fileTitle": "Condividi file",
+ "folderTitle": "Condividi cartella",
+ "generateLink": "Genera collegamento",
+ "linkDescriptionFile": "Genera un collegamento personalizzato per condividere il file",
+ "linkDescriptionFolder": "Genera un collegamento personalizzato per condividere la cartella",
+ "linkReady": "Il tuo collegamento di condivisione รจ pronto:",
+ "linkTitle": "Genera collegamento"
},
"shareDetails": {
"title": "Dettagli Condivisione",
@@ -1447,7 +1520,8 @@
"files": "file",
"totalSize": "Dimensione totale",
"creating": "Creazione...",
- "create": "Crea Condivisione"
+ "create": "Crea Condivisione",
+ "itemsToShare": "Elementi da condividere ({count} {count, plural, =1 {elemento} other {elementi}})"
},
"shareSecurity": {
"subtitle": "Configura protezione password e opzioni di sicurezza per questa condivisione",
@@ -1552,7 +1626,8 @@
"download": "Scarica selezionato"
},
"selectAll": "Seleziona tutto",
- "selectShare": "Seleziona condivisione {shareName}"
+ "selectShare": "Seleziona condivisione {shareName}",
+ "folderCount": "cartelle"
},
"storageUsage": {
"title": "Utilizzo Archiviazione",
diff --git a/apps/web/messages/ja-JP.json b/apps/web/messages/ja-JP.json
index 15f1a24..2652c7f 100644
--- a/apps/web/messages/ja-JP.json
+++ b/apps/web/messages/ja-JP.json
@@ -144,7 +144,13 @@
"update": "ๆดๆฐ",
"click": "ใฏใชใใฏใใฆ",
"creating": "ไฝๆไธญ...",
- "loadingSimple": "่ชญใฟ่พผใฟไธญ..."
+ "loadingSimple": "่ชญใฟ่พผใฟไธญ...",
+ "create": "ไฝๆ",
+ "deleting": "ๅ้คไธญ...",
+ "move": "็งปๅ",
+ "rename": "ๅๅใๅคๆด",
+ "search": "ๆค็ดข",
+ "share": "ๅ ฑๆ"
},
"createShare": {
"title": "ๅ ฑๆใไฝๆ",
@@ -160,7 +166,13 @@
"create": "ๅ ฑๆใไฝๆ",
"success": "ๅ ฑๆใๆญฃๅธธใซไฝๆใใใพใใ",
"error": "ๅ ฑๆใฎไฝๆใซๅคฑๆใใพใใ",
- "namePlaceholder": "ๅ ฑๆใฎๅๅใๅ ฅๅใใฆใใ ใใ"
+ "namePlaceholder": "ๅ ฑๆใฎๅๅใๅ ฅๅใใฆใใ ใใ",
+ "nextSelectFiles": "ๆฌกใธ๏ผใใกใคใซใ้ธๆ",
+ "searchLabel": "ๆค็ดข",
+ "tabs": {
+ "shareDetails": "ๅ ฑๆใฎ่ฉณ็ดฐ",
+ "selectFiles": "ใใกใคใซใ้ธๆ"
+ }
},
"customization": {
"breadcrumb": "ใซในใฟใใคใบ",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "ๅ้คใใใใกใคใซ",
- "sharesToDelete": "ๅ้คใใใๅ ฑๆ"
+ "sharesToDelete": "ๅ้คใใใๅ ฑๆ",
+ "foldersToDelete": "ๅ้คใใใใฉใซใ",
+ "itemsToDelete": "ๅ้คใใใขใคใใ "
},
"downloadQueue": {
"downloadQueued": "ใใฆใณใญใผใใญใฅใผใซ่ฟฝๅ : {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "ใใกใคใซใใใฌใใฅใผ",
"addToShare": "ๅ ฑๆใซ่ฟฝๅ ",
"removeFromShare": "ๅ ฑๆใใๅ้ค",
- "saveChanges": "ๅคๆดใไฟๅญ"
+ "saveChanges": "ๅคๆดใไฟๅญ",
+ "editFolder": "ใใฉใซใใ็ทจ้"
},
"files": {
"title": "ใในใฆใฎใใกใคใซ",
@@ -347,7 +362,18 @@
},
"totalFiles": "{count, plural, =0 {ใใกใคใซใชใ} =1 {1ใใกใคใซ} other {#ใใกใคใซ}}",
"bulkDeleteConfirmation": "{count, plural, =1 {1ใคใฎใใกใคใซ} other {#ใคใฎใใกใคใซ}}ใๅ้คใใฆใใใใใงใใ๏ผใใฎๆไฝใฏๅ ใซๆปใใพใใใ",
- "bulkDeleteTitle": "้ธๆใใใใกใคใซใๅ้ค"
+ "bulkDeleteTitle": "้ธๆใใใใกใคใซใๅ้ค",
+ "actions": {
+ "open": "้ใ",
+ "rename": "ๅๅใๅคๆด",
+ "delete": "ๅ้ค"
+ },
+ "empty": {
+ "title": "ใพใ ใใกใคใซใใใฉใซใใใใใพใใ",
+ "description": "ๆๅใฎใใกใคใซใใขใใใญใผใใใใใใใฉใซใใไฝๆใใฆๅงใใพใใใ"
+ },
+ "files": "ใใกใคใซ",
+ "folders": "ใใฉใซใ"
},
"filesTable": {
"ariaLabel": "ใใกใคใซใใผใใซ",
@@ -377,6 +403,33 @@
"delete": "้ธๆๆธใฟใๅ้ค"
}
},
+ "folderActions": {
+ "editFolder": "ใใฉใซใใ็ทจ้",
+ "folderName": "ใใฉใซใๅ",
+ "folderNamePlaceholder": "ใใฉใซใๅใๅ ฅๅ",
+ "folderDescription": "่ชฌๆ",
+ "folderDescriptionPlaceholder": "ใใฉใซใใฎ่ชฌๆใๅ ฅๅ๏ผไปปๆ๏ผ",
+ "createFolder": "ๆฐใใใใฉใซใใไฝๆ",
+ "renameFolder": "ใใฉใซใๅใๅคๆด",
+ "moveFolder": "ใใฉใซใใ็งปๅ",
+ "shareFolder": "ใใฉใซใใๅ ฑๆ",
+ "deleteFolder": "ใใฉใซใใๅ้ค",
+ "moveTo": "็งปๅๅ ",
+ "selectDestination": "็งปๅๅ ใใฉใซใใ้ธๆ",
+ "rootFolder": "ใซใผใ",
+ "folderCreated": "ใใฉใซใใๆญฃๅธธใซไฝๆใใใพใใ",
+ "folderRenamed": "ใใฉใซใใๆญฃๅธธใซๅๅๅคๆดใใใพใใ",
+ "folderMoved": "ใใฉใซใใๆญฃๅธธใซ็งปๅใใใพใใ",
+ "folderDeleted": "ใใฉใซใใๆญฃๅธธใซๅ้คใใใพใใ",
+ "folderShared": "ใใฉใซใใๆญฃๅธธใซๅ ฑๆใใใพใใ",
+ "createFolderError": "ใใฉใซใใฎไฝๆไธญใซใจใฉใผใ็บ็ใใพใใ",
+ "renameFolderError": "ใใฉใซใใฎๅๅๅคๆดไธญใซใจใฉใผใ็บ็ใใพใใ",
+ "moveFolderError": "ใใฉใซใใฎ็งปๅไธญใซใจใฉใผใ็บ็ใใพใใ",
+ "deleteFolderError": "ใใฉใซใใฎๅ้คไธญใซใจใฉใผใ็บ็ใใพใใ",
+ "shareFolderError": "ใใฉใซใใฎๅ ฑๆไธญใซใจใฉใผใ็บ็ใใพใใ",
+ "deleteConfirmation": "ใใฎใใฉใซใใๅ้คใใฆใใใใใใงใใ๏ผ",
+ "deleteWarning": "ใใฎๆไฝใฏๅ ใซๆปใใใจใใงใใพใใใ"
+ },
"footer": {
"poweredBy": "ๆไพ:",
"kyanHomepage": "Kyantech ใใผใ ใใผใธ"
@@ -478,6 +531,13 @@
"removeFailed": "ใญใดใฎๅ้คใซๅคฑๆใใพใใ"
}
},
+ "moveItems": {
+ "itemsToMove": "็งปๅใใใขใคใใ ๏ผ",
+ "movingTo": "็งปๅๅ ๏ผ",
+ "title": "ใขใคใใ ใ็งปๅ",
+ "description": "ใขใคใใ ใๆฐใใๅ ดๆใซ็งปๅ",
+ "success": "{count}ๅใฎใขใคใใ ใๆญฃๅธธใซ็งปๅใใใพใใ"
+ },
"navbar": {
"logoAlt": "ใขใใชใฑใผใทใงใณใญใด",
"profileMenu": "ใใญใใฃใผใซใกใใฅใผ",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "ใใกใคใซใๆค็ดข...",
- "results": "ๅ จ{total}ไปถไธญ{filtered}ไปถใ่ฆใคใใใพใใ"
+ "results": "ๅ จ{total}ไปถไธญ{filtered}ไปถใ่ฆใคใใใพใใ",
+ "placeholderFolders": "ใใฉใซใใๆค็ดข...",
+ "noResults": "\"{query}\"ใฎๆค็ดข็ตๆใ่ฆใคใใใพใใใงใใ",
+ "placeholderFiles": "ใใกใคใซใๆค็ดข..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editError": "ๅ ฑๆใฎๆดๆฐใซๅคฑๆใใพใใ",
"bulkDeleteConfirmation": "{count, plural, =1 {1ใคใฎๅ ฑๆ} other {#ใคใฎๅ ฑๆ}}ใๅ้คใใฆใใใใใใงใใ๏ผใใฎๆไฝใฏๅ ใซๆปใใพใใใ",
"bulkDeleteTitle": "้ธๆใใๅ ฑๆใๅ้ค",
- "addDescriptionPlaceholder": "่ชฌๆใ่ฟฝๅ ..."
+ "addDescriptionPlaceholder": "่ชฌๆใ่ฟฝๅ ...",
+ "aliasLabel": "ใชใณใฏใจใคใชใขใน",
+ "aliasPlaceholder": "ใซในใฟใ ใจใคใชใขในใๅ ฅๅ",
+ "copyLink": "ใชใณใฏใใณใใผ",
+ "fileTitle": "ใใกใคใซใๅ ฑๆ",
+ "folderTitle": "ใใฉใซใใๅ ฑๆ",
+ "generateLink": "ใชใณใฏใ็ๆ",
+ "linkDescriptionFile": "ใใกใคใซใๅ ฑๆใใใใใฎใซในใฟใ ใชใณใฏใ็ๆ",
+ "linkDescriptionFolder": "ใใฉใซใใๅ ฑๆใใใใใฎใซในใฟใ ใชใณใฏใ็ๆ",
+ "linkReady": "ๅ ฑๆใชใณใฏใฎๆบๅใใงใใพใใ๏ผ",
+ "linkTitle": "ใชใณใฏใ็ๆ"
},
"shareDetails": {
"title": "ๅ ฑๆ่ฉณ็ดฐ",
@@ -1447,7 +1520,8 @@
"files": "ใใกใคใซ",
"totalSize": "ๅ่จใตใคใบ",
"creating": "ไฝๆไธญ...",
- "create": "ๅ ฑๆใไฝๆ"
+ "create": "ๅ ฑๆใไฝๆ",
+ "itemsToShare": "ๅ ฑๆใใใขใคใใ ๏ผ{count}ๅใฎใขใคใใ ๏ผ"
},
"shareSecurity": {
"subtitle": "ใใฎๅ ฑๆใฎใในใฏใผใไฟ่ญทใจใปใญใฅใชใใฃใชใใทใงใณใ่จญๅฎ",
@@ -1552,7 +1626,8 @@
"download": "้ธๆใใใใฆใณใญใผใ"
},
"selectAll": "ใในใฆ้ธๆ",
- "selectShare": "ๅ ฑๆ{shareName}ใ้ธๆ"
+ "selectShare": "ๅ ฑๆ{shareName}ใ้ธๆ",
+ "folderCount": "ใใฉใซใ"
},
"storageUsage": {
"title": "ในใใฌใผใธไฝฟ็จ้",
diff --git a/apps/web/messages/ko-KR.json b/apps/web/messages/ko-KR.json
index eafa310..067eba9 100644
--- a/apps/web/messages/ko-KR.json
+++ b/apps/web/messages/ko-KR.json
@@ -144,7 +144,13 @@
"update": "์ ๋ฐ์ดํธ",
"click": "ํด๋ฆญํ์ฌ",
"creating": "์์ฑ ์ค...",
- "loadingSimple": "๋ก๋ฉ ์ค..."
+ "loadingSimple": "๋ก๋ฉ ์ค...",
+ "create": "์์ฑ",
+ "deleting": "์ญ์ ์ค...",
+ "move": "์ด๋",
+ "rename": "์ด๋ฆ ๋ณ๊ฒฝ",
+ "search": "๊ฒ์",
+ "share": "๊ณต์ "
},
"createShare": {
"title": "๊ณต์ ์์ฑ",
@@ -160,7 +166,13 @@
"create": "๊ณต์ ์์ฑ",
"success": "๊ณต์ ๊ฐ ์ฑ๊ณต์ ์ผ๋ก ์์ฑ๋์์ต๋๋ค",
"error": "๊ณต์ ์์ฑ์ ์คํจํ์ต๋๋ค",
- "namePlaceholder": "๊ณต์ ์ด๋ฆ์ ์ ๋ ฅํ์ธ์"
+ "namePlaceholder": "๊ณต์ ์ด๋ฆ์ ์ ๋ ฅํ์ธ์",
+ "nextSelectFiles": "๋ค์: ํ์ผ ์ ํ",
+ "searchLabel": "๊ฒ์",
+ "tabs": {
+ "shareDetails": "๊ณต์ ์ธ๋ถ์ฌํญ",
+ "selectFiles": "ํ์ผ ์ ํ"
+ }
},
"customization": {
"breadcrumb": "์ปค์คํฐ๋ง์ด์ง",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "์ญ์ ํ ํ์ผ",
- "sharesToDelete": "์ญ์ ๋ ๊ณต์ "
+ "sharesToDelete": "์ญ์ ๋ ๊ณต์ ",
+ "foldersToDelete": "์ญ์ ํ ํด๋",
+ "itemsToDelete": "์ญ์ ํ ํญ๋ชฉ"
},
"downloadQueue": {
"downloadQueued": "๋ค์ด๋ก๋ ๋๊ธฐ ์ค: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "ํ์ผ ๋ฏธ๋ฆฌ๋ณด๊ธฐ",
"addToShare": "๊ณต์ ์ ์ถ๊ฐ",
"removeFromShare": "๊ณต์ ์์ ์ ๊ฑฐ",
- "saveChanges": "๋ณ๊ฒฝ์ฌํญ ์ ์ฅ"
+ "saveChanges": "๋ณ๊ฒฝ์ฌํญ ์ ์ฅ",
+ "editFolder": "ํด๋ ํธ์ง"
},
"files": {
"title": "๋ชจ๋ ํ์ผ",
@@ -347,7 +362,18 @@
},
"totalFiles": "{count, plural, =0 {ํ์ผ ์์} =1 {1๊ฐ ํ์ผ} other {#๊ฐ ํ์ผ}}",
"bulkDeleteConfirmation": "{count, plural, =1 {1๊ฐ ํ์ผ} other {#๊ฐ ํ์ผ}}์ ์ญ์ ํ์๊ฒ ์ต๋๊น? ์ด ์์ ์ ๋๋๋ฆด ์ ์์ต๋๋ค.",
- "bulkDeleteTitle": "์ ํํ ํ์ผ ์ญ์ "
+ "bulkDeleteTitle": "์ ํํ ํ์ผ ์ญ์ ",
+ "actions": {
+ "open": "์ด๊ธฐ",
+ "rename": "์ด๋ฆ ๋ณ๊ฒฝ",
+ "delete": "์ญ์ "
+ },
+ "empty": {
+ "title": "์์ง ํ์ผ์ด๋ ํด๋๊ฐ ์์ต๋๋ค",
+ "description": "์ฒซ ๋ฒ์งธ ํ์ผ์ ์ ๋ก๋ํ๊ฑฐ๋ ํด๋๋ฅผ ๋ง๋ค์ด ์์ํ์ธ์"
+ },
+ "files": "ํ์ผ",
+ "folders": "ํด๋"
},
"filesTable": {
"ariaLabel": "ํ์ผ ํ ์ด๋ธ",
@@ -377,6 +403,33 @@
"delete": "์ ํ๋ ํญ๋ชฉ ์ญ์ "
}
},
+ "folderActions": {
+ "editFolder": "ํด๋ ํธ์ง",
+ "folderName": "ํด๋ ์ด๋ฆ",
+ "folderNamePlaceholder": "ํด๋ ์ด๋ฆ ์ ๋ ฅ",
+ "folderDescription": "์ค๋ช ",
+ "folderDescriptionPlaceholder": "ํด๋ ์ค๋ช ์ ๋ ฅ (์ ํ์ฌํญ)",
+ "createFolder": "์ ํด๋ ๋ง๋ค๊ธฐ",
+ "renameFolder": "ํด๋ ์ด๋ฆ ๋ณ๊ฒฝ",
+ "moveFolder": "ํด๋ ์ด๋",
+ "shareFolder": "ํด๋ ๊ณต์ ",
+ "deleteFolder": "ํด๋ ์ญ์ ",
+ "moveTo": "์ด๋ ์์น",
+ "selectDestination": "๋์ ํด๋ ์ ํ",
+ "rootFolder": "๋ฃจํธ",
+ "folderCreated": "ํด๋๊ฐ ์ฑ๊ณต์ ์ผ๋ก ์์ฑ๋์์ต๋๋ค",
+ "folderRenamed": "ํด๋ ์ด๋ฆ์ด ์ฑ๊ณต์ ์ผ๋ก ๋ณ๊ฒฝ๋์์ต๋๋ค",
+ "folderMoved": "ํด๋๊ฐ ์ฑ๊ณต์ ์ผ๋ก ์ด๋๋์์ต๋๋ค",
+ "folderDeleted": "ํด๋๊ฐ ์ฑ๊ณต์ ์ผ๋ก ์ญ์ ๋์์ต๋๋ค",
+ "folderShared": "ํด๋๊ฐ ์ฑ๊ณต์ ์ผ๋ก ๊ณต์ ๋์์ต๋๋ค",
+ "createFolderError": "ํด๋ ์์ฑ ์ค ์ค๋ฅ ๋ฐ์",
+ "renameFolderError": "ํด๋ ์ด๋ฆ ๋ณ๊ฒฝ ์ค ์ค๋ฅ ๋ฐ์",
+ "moveFolderError": "ํด๋ ์ด๋ ์ค ์ค๋ฅ ๋ฐ์",
+ "deleteFolderError": "ํด๋ ์ญ์ ์ค ์ค๋ฅ ๋ฐ์",
+ "shareFolderError": "ํด๋ ๊ณต์ ์ค ์ค๋ฅ ๋ฐ์",
+ "deleteConfirmation": "์ด ํด๋๋ฅผ ์ญ์ ํ์๊ฒ ์ต๋๊น?",
+ "deleteWarning": "์ด ์์ ์ ๋๋๋ฆด ์ ์์ต๋๋ค."
+ },
"footer": {
"poweredBy": "์ ๊ณต:",
"kyanHomepage": "Kyantech ํํ์ด์ง"
@@ -478,6 +531,13 @@
"removeFailed": "๋ก๊ณ ์ญ์ ์ ์คํจํ์ต๋๋ค"
}
},
+ "moveItems": {
+ "itemsToMove": "์ด๋ํ ํญ๋ชฉ:",
+ "movingTo": "์ด๋ ์์น:",
+ "title": "ํญ๋ชฉ ์ด๋",
+ "description": "ํญ๋ชฉ์ ์ ์์น๋ก ์ด๋",
+ "success": "{count}๊ฐ ํญ๋ชฉ์ด ์ฑ๊ณต์ ์ผ๋ก ์ด๋๋์์ต๋๋ค"
+ },
"navbar": {
"logoAlt": "์ ํ๋ฆฌ์ผ์ด์ ๋ก๊ณ ",
"profileMenu": "ํ๋กํ ๋ฉ๋ด",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "ํ์ผ ๊ฒ์...",
- "results": "์ ์ฒด {total}๊ฐ ์ค {filtered}๊ฐ ํ์ผ์ ์ฐพ์์ต๋๋ค"
+ "results": "์ ์ฒด {total}๊ฐ ์ค {filtered}๊ฐ ํ์ผ์ ์ฐพ์์ต๋๋ค",
+ "placeholderFolders": "ํด๋ ๊ฒ์...",
+ "noResults": "\"{query}\"์ ๋ํ ๊ฒ์ ๊ฒฐ๊ณผ๊ฐ ์์ต๋๋ค",
+ "placeholderFiles": "ํ์ผ ๊ฒ์..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editError": "๊ณต์ ์ ๋ฐ์ดํธ์ ์คํจํ์ต๋๋ค",
"bulkDeleteConfirmation": "{count, plural, =1 {1๊ฐ์ ๊ณต์ } other {#๊ฐ์ ๊ณต์ }}๋ฅผ ์ญ์ ํ์๊ฒ ์ต๋๊น? ์ด ์์ ์ ๋๋๋ฆด ์ ์์ต๋๋ค.",
"bulkDeleteTitle": "์ ํํ ๊ณต์ ์ญ์ ",
- "addDescriptionPlaceholder": "์ค๋ช ์ถ๊ฐ..."
+ "addDescriptionPlaceholder": "์ค๋ช ์ถ๊ฐ...",
+ "aliasLabel": "๋งํฌ ๋ณ์นญ",
+ "aliasPlaceholder": "์ฌ์ฉ์ ์ ์ ๋ณ์นญ ์ ๋ ฅ",
+ "copyLink": "๋งํฌ ๋ณต์ฌ",
+ "fileTitle": "ํ์ผ ๊ณต์ ",
+ "folderTitle": "ํด๋ ๊ณต์ ",
+ "generateLink": "๋งํฌ ์์ฑ",
+ "linkDescriptionFile": "ํ์ผ์ ๊ณต์ ํ ์ฌ์ฉ์ ์ ์ ๋งํฌ ์์ฑ",
+ "linkDescriptionFolder": "ํด๋๋ฅผ ๊ณต์ ํ ์ฌ์ฉ์ ์ ์ ๋งํฌ ์์ฑ",
+ "linkReady": "๊ณต์ ๋งํฌ๊ฐ ์ค๋น๋์์ต๋๋ค:",
+ "linkTitle": "๋งํฌ ์์ฑ"
},
"shareDetails": {
"title": "๊ณต์ ์ธ๋ถ ์ ๋ณด",
@@ -1447,7 +1520,8 @@
"files": "ํ์ผ",
"totalSize": "์ ์ฒด ํฌ๊ธฐ",
"creating": "์์ฑ ์ค...",
- "create": "๊ณต์ ์์ฑ"
+ "create": "๊ณต์ ์์ฑ",
+ "itemsToShare": "๊ณต์ ํ ํญ๋ชฉ ({count}๊ฐ ํญ๋ชฉ)"
},
"shareSecurity": {
"subtitle": "์ด ๊ณต์ ์ ๋น๋ฐ๋ฒํธ ๋ณดํธ ๋ฐ ๋ณด์ ์ต์ ์ ๊ตฌ์ฑํ์ธ์",
@@ -1552,7 +1626,8 @@
"download": "์ ํํ ๋ค์ด๋ก๋"
},
"selectAll": "๋ชจ๋ ์ ํ",
- "selectShare": "๊ณต์ {shareName} ์ ํ"
+ "selectShare": "๊ณต์ {shareName} ์ ํ",
+ "folderCount": "ํด๋"
},
"storageUsage": {
"title": "์คํ ๋ฆฌ์ง ์ฌ์ฉ๋",
diff --git a/apps/web/messages/nl-NL.json b/apps/web/messages/nl-NL.json
index 32c5eb8..da02b35 100644
--- a/apps/web/messages/nl-NL.json
+++ b/apps/web/messages/nl-NL.json
@@ -144,7 +144,13 @@
"update": "Bijwerken",
"click": "Klik om",
"creating": "Maken...",
- "loadingSimple": "Laden..."
+ "loadingSimple": "Laden...",
+ "create": "Aanmaken",
+ "deleting": "Verwijderen...",
+ "move": "Verplaatsen",
+ "rename": "Hernoemen",
+ "search": "Zoeken",
+ "share": "Delen"
},
"createShare": {
"title": "Delen Maken",
@@ -160,7 +166,13 @@
"create": "Delen Maken",
"success": "Delen succesvol aangemaakt",
"error": "Fout bij het aanmaken van delen",
- "namePlaceholder": "Voer een naam in voor uw delen"
+ "namePlaceholder": "Voer een naam in voor uw delen",
+ "nextSelectFiles": "Volgende: Bestanden selecteren",
+ "searchLabel": "Zoeken",
+ "tabs": {
+ "shareDetails": "Deel details",
+ "selectFiles": "Bestanden selecteren"
+ }
},
"customization": {
"breadcrumb": "Aanpassing",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "Te verwijderen bestanden",
- "sharesToDelete": "Delen die worden verwijderd"
+ "sharesToDelete": "Delen die worden verwijderd",
+ "foldersToDelete": "Mappen die worden verwijderd",
+ "itemsToDelete": "Items die worden verwijderd"
},
"downloadQueue": {
"downloadQueued": "Download in wachtrij: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Bestand bekijken",
"addToShare": "Toevoegen aan share",
"removeFromShare": "Verwijderen uit share",
- "saveChanges": "Wijzigingen Opslaan"
+ "saveChanges": "Wijzigingen Opslaan",
+ "editFolder": "Map bewerken"
},
"files": {
"title": "Alle Bestanden",
@@ -347,7 +362,18 @@
},
"totalFiles": "{count, plural, =0 {Geen bestanden} =1 {1 bestand} other {# bestanden}}",
"bulkDeleteConfirmation": "Weet je zeker dat je {count, plural, =1 {1 bestand} other {# bestanden}} wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",
- "bulkDeleteTitle": "Geselecteerde Bestanden Verwijderen"
+ "bulkDeleteTitle": "Geselecteerde Bestanden Verwijderen",
+ "actions": {
+ "open": "Openen",
+ "rename": "Hernoemen",
+ "delete": "Verwijderen"
+ },
+ "empty": {
+ "title": "Nog geen bestanden of mappen",
+ "description": "Upload uw eerste bestand of maak een map om te beginnen"
+ },
+ "files": "bestanden",
+ "folders": "mappen"
},
"filesTable": {
"ariaLabel": "Bestanden tabel",
@@ -377,6 +403,33 @@
"delete": "Geselecteerde Verwijderen"
}
},
+ "folderActions": {
+ "editFolder": "Map bewerken",
+ "folderName": "Mapnaam",
+ "folderNamePlaceholder": "Voer mapnaam in",
+ "folderDescription": "Beschrijving",
+ "folderDescriptionPlaceholder": "Voer mapbeschrijving in (optioneel)",
+ "createFolder": "Nieuwe map maken",
+ "renameFolder": "Map hernoemen",
+ "moveFolder": "Map verplaatsen",
+ "shareFolder": "Map delen",
+ "deleteFolder": "Map verwijderen",
+ "moveTo": "Verplaatsen naar",
+ "selectDestination": "Bestemmingsmap selecteren",
+ "rootFolder": "Hoofdmap",
+ "folderCreated": "Map succesvol aangemaakt",
+ "folderRenamed": "Map succesvol hernoemd",
+ "folderMoved": "Map succesvol verplaatst",
+ "folderDeleted": "Map succesvol verwijderd",
+ "folderShared": "Map succesvol gedeeld",
+ "createFolderError": "Fout bij maken van map",
+ "renameFolderError": "Fout bij hernoemen van map",
+ "moveFolderError": "Fout bij verplaatsen van map",
+ "deleteFolderError": "Fout bij verwijderen van map",
+ "shareFolderError": "Fout bij delen van map",
+ "deleteConfirmation": "Weet u zeker dat u deze map wilt verwijderen?",
+ "deleteWarning": "Deze actie kan niet ongedaan worden gemaakt."
+ },
"footer": {
"poweredBy": "Mogelijk gemaakt door",
"kyanHomepage": "Kyantech homepage"
@@ -478,6 +531,13 @@
"removeFailed": "Fout bij het verwijderen van logo"
}
},
+ "moveItems": {
+ "itemsToMove": "Items om te verplaatsen:",
+ "movingTo": "Verplaatsen naar:",
+ "title": "{count, plural, =1 {Item} other {Items}} verplaatsen",
+ "description": "{count, plural, =1 {Item} other {Items}} naar een nieuwe locatie verplaatsen",
+ "success": "{count} {count, plural, =1 {item} other {items}} succesvol verplaatst"
+ },
"navbar": {
"logoAlt": "Applicatie Logo",
"profileMenu": "Profiel Menu",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "Bestanden zoeken...",
- "results": "{filtered} van {total} bestanden gevonden"
+ "results": "{filtered} van {total} bestanden gevonden",
+ "placeholderFolders": "Zoek mappen...",
+ "noResults": "Geen resultaten gevonden voor \"{query}\"",
+ "placeholderFiles": "Bestanden zoeken..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editError": "Fout bij bijwerken van delen",
"bulkDeleteConfirmation": "Weet je zeker dat je {count, plural, =1 {1 deel} other {# delen}} wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",
"bulkDeleteTitle": "Geselecteerde Delen Verwijderen",
- "addDescriptionPlaceholder": "Beschrijving toevoegen..."
+ "addDescriptionPlaceholder": "Beschrijving toevoegen...",
+ "aliasLabel": "Link alias",
+ "aliasPlaceholder": "Voer aangepaste alias in",
+ "copyLink": "Link kopiรซren",
+ "fileTitle": "Bestand delen",
+ "folderTitle": "Map delen",
+ "generateLink": "Link genereren",
+ "linkDescriptionFile": "Genereer een aangepaste link om het bestand te delen",
+ "linkDescriptionFolder": "Genereer een aangepaste link om de map te delen",
+ "linkReady": "Uw deel-link is klaar:",
+ "linkTitle": "Link genereren"
},
"shareDetails": {
"title": "Delen Details",
@@ -1447,7 +1520,8 @@
"files": "bestanden",
"totalSize": "Totale grootte",
"creating": "Aanmaken...",
- "create": "Delen Maken"
+ "create": "Delen Maken",
+ "itemsToShare": "Items om te delen ({count} {count, plural, =1 {item} other {items}})"
},
"shareSecurity": {
"subtitle": "Configureer wachtwoordbeveiliging en beveiligingsopties voor dit delen",
@@ -1552,7 +1626,8 @@
"download": "Download geselecteerd"
},
"selectAll": "Alles selecteren",
- "selectShare": "Deel {shareName} selecteren"
+ "selectShare": "Deel {shareName} selecteren",
+ "folderCount": "mappen"
},
"storageUsage": {
"title": "Opslaggebruik",
diff --git a/apps/web/messages/pl-PL.json b/apps/web/messages/pl-PL.json
index 8a51dc1..9af2ade 100644
--- a/apps/web/messages/pl-PL.json
+++ b/apps/web/messages/pl-PL.json
@@ -144,7 +144,13 @@
"back": "Wrรณฤ",
"click": "Kliknij, aby",
"creating": "Tworzenie...",
- "loadingSimple": "ลadowanie..."
+ "loadingSimple": "ลadowanie...",
+ "create": "Utwรณrz",
+ "deleting": "Usuwanie...",
+ "move": "Przenieล",
+ "rename": "Zmieล nazwฤ",
+ "search": "Szukaj",
+ "share": "Udostฤpnij"
},
"createShare": {
"title": "Utwรณrz Udostฤpnienie",
@@ -160,7 +166,13 @@
"create": "Utwรณrz Udostฤpnienie",
"success": "Udostฤpnienie utworzone pomyลlnie",
"error": "Nie udaลo siฤ utworzyฤ udostฤpnienia",
- "namePlaceholder": "Wprowadลบ nazwฤ dla swojego udostฤpnienia"
+ "namePlaceholder": "Wprowadลบ nazwฤ dla swojego udostฤpnienia",
+ "nextSelectFiles": "Dalej: Wybierz pliki",
+ "searchLabel": "Szukaj",
+ "tabs": {
+ "shareDetails": "Szczegรณลy udostฤpniania",
+ "selectFiles": "Wybierz pliki"
+ }
},
"customization": {
"breadcrumb": "Personalizacja",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "Pliki do usuniฤcia",
- "sharesToDelete": "Udostฤpnienia do usuniฤcia"
+ "sharesToDelete": "Udostฤpnienia do usuniฤcia",
+ "foldersToDelete": "Foldery do usuniฤcia",
+ "itemsToDelete": "Elementy do usuniฤcia"
},
"downloadQueue": {
"downloadQueued": "Pobieranie w kolejce: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Podglฤ d pliku",
"addToShare": "Dodaj do udostฤpnienia",
"removeFromShare": "Usuล z udostฤpnienia",
- "saveChanges": "Zapisz zmiany"
+ "saveChanges": "Zapisz zmiany",
+ "editFolder": "Edytuj folder"
},
"files": {
"title": "Wszystkie pliki",
@@ -347,7 +362,18 @@
"grid": "Siatka"
},
"bulkDeleteConfirmation": "Czy na pewno chcesz usunฤ ฤ {count, plural, =1 {1 plik} other {# plikรณw}}? Ta akcja nie moลผe zostaฤ cofniฤta.",
- "bulkDeleteTitle": "Usuล Wybrane Pliki"
+ "bulkDeleteTitle": "Usuล Wybrane Pliki",
+ "actions": {
+ "open": "Otwรณrz",
+ "rename": "Zmieล nazwฤ",
+ "delete": "Usuล"
+ },
+ "empty": {
+ "title": "Brak plikรณw lub folderรณw",
+ "description": "Przeลlij swรณj pierwszy plik lub utwรณrz folder, aby rozpoczฤ ฤ"
+ },
+ "files": "pliki",
+ "folders": "foldery"
},
"filesTable": {
"ariaLabel": "Tabela plikรณw",
@@ -377,6 +403,33 @@
"delete": "Usuล wybrane"
}
},
+ "folderActions": {
+ "editFolder": "Edytuj folder",
+ "folderName": "Nazwa folderu",
+ "folderNamePlaceholder": "Wprowadลบ nazwฤ folderu",
+ "folderDescription": "Opis",
+ "folderDescriptionPlaceholder": "Wprowadลบ opis folderu (opcjonalnie)",
+ "createFolder": "Utwรณrz nowy folder",
+ "renameFolder": "Zmieล nazwฤ folderu",
+ "moveFolder": "Przenieล folder",
+ "shareFolder": "Udostฤpnij folder",
+ "deleteFolder": "Usuล folder",
+ "moveTo": "Przenieล do",
+ "selectDestination": "Wybierz folder docelowy",
+ "rootFolder": "Katalog gลรณwny",
+ "folderCreated": "Folder utworzony pomyลlnie",
+ "folderRenamed": "Nazwa folderu zmieniona pomyลlnie",
+ "folderMoved": "Folder przeniesiony pomyลlnie",
+ "folderDeleted": "Folder usuniฤty pomyลlnie",
+ "folderShared": "Folder udostฤpniony pomyลlnie",
+ "createFolderError": "Bลฤ d podczas tworzenia folderu",
+ "renameFolderError": "Bลฤ d podczas zmiany nazwy folderu",
+ "moveFolderError": "Bลฤ d podczas przenoszenia folderu",
+ "deleteFolderError": "Bลฤ d podczas usuwania folderu",
+ "shareFolderError": "Bลฤ d podczas udostฤpniania folderu",
+ "deleteConfirmation": "Czy na pewno chcesz usunฤ ฤ ten folder?",
+ "deleteWarning": "Ta operacja nie moลผe zostaฤ cofniฤta."
+ },
"footer": {
"poweredBy": "Zasilane przez",
"kyanHomepage": "Strona gลรณwna Kyantech"
@@ -478,6 +531,13 @@
"removeFailed": "Nie udaลo siฤ usunฤ ฤ logo"
}
},
+ "moveItems": {
+ "itemsToMove": "Elementy do przeniesienia:",
+ "movingTo": "Przenoszenie do:",
+ "title": "Przenieล {count, plural, =1 {element} other {elementy}}",
+ "description": "Przenieล {count, plural, =1 {element} other {elementy}} do nowej lokalizacji",
+ "success": "Pomyลlnie przeniesiono {count} {count, plural, =1 {element} other {elementรณw}}"
+ },
"navbar": {
"logoAlt": "Logo aplikacji",
"profileMenu": "Menu profilu",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "Szukaj plikรณw...",
- "results": "Znaleziono {filtered} z {total} plikรณw"
+ "results": "Znaleziono {filtered} z {total} plikรณw",
+ "placeholderFolders": "Szukaj folderรณw...",
+ "noResults": "Nie znaleziono wynikรณw dla \"{query}\"",
+ "placeholderFiles": "Szukaj plikรณw..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editError": "Nie udaลo siฤ zaktualizowaฤ udostฤpnienia",
"bulkDeleteConfirmation": "Czy na pewno chcesz usunฤ ฤ {count, plural, =1 {1 udostฤpnienie} other {# udostฤpnieล}}? Tej operacji nie moลผna cofnฤ ฤ.",
"bulkDeleteTitle": "Usuล wybrane udostฤpnienia",
- "addDescriptionPlaceholder": "Dodaj opis..."
+ "addDescriptionPlaceholder": "Dodaj opis...",
+ "aliasLabel": "Alias linku",
+ "aliasPlaceholder": "Wprowadลบ niestandardowy alias",
+ "copyLink": "Kopiuj link",
+ "fileTitle": "Udostฤpnij plik",
+ "folderTitle": "Udostฤpnij folder",
+ "generateLink": "Generuj link",
+ "linkDescriptionFile": "Wygeneruj niestandardowy link do udostฤpnienia pliku",
+ "linkDescriptionFolder": "Wygeneruj niestandardowy link do udostฤpnienia folderu",
+ "linkReady": "Twรณj link udostฤpniania jest gotowy:",
+ "linkTitle": "Generuj link"
},
"shareDetails": {
"title": "Szczegรณลy udostฤpnienia",
@@ -1447,7 +1520,8 @@
"files": "plikรณw",
"totalSize": "Caลkowity rozmiar",
"creating": "Tworzenie...",
- "create": "Utwรณrz udostฤpnienie"
+ "create": "Utwรณrz udostฤpnienie",
+ "itemsToShare": "Elementy do udostฤpnienia ({count} {count, plural, =1 {element} other {elementรณw}})"
},
"shareSecurity": {
"title": "Ustawienia bezpieczeลstwa udostฤpniania",
@@ -1552,7 +1626,8 @@
"download": "Pobierz wybrany"
},
"selectAll": "Zaznacz wszystko",
- "selectShare": "Wybierz udostฤpnienie {shareName}"
+ "selectShare": "Wybierz udostฤpnienie {shareName}",
+ "folderCount": "foldery"
},
"storageUsage": {
"title": "Uลผycie pamiฤci",
diff --git a/apps/web/messages/pt-BR.json b/apps/web/messages/pt-BR.json
index 45a24c7..8d9c7c5 100644
--- a/apps/web/messages/pt-BR.json
+++ b/apps/web/messages/pt-BR.json
@@ -144,7 +144,13 @@
"update": "Atualizar",
"creating": "Criando...",
"click": "Clique para",
- "loadingSimple": "Carregando..."
+ "loadingSimple": "Carregando...",
+ "create": "Criar",
+ "deleting": "Excluindo...",
+ "move": "Mover",
+ "rename": "Renomear",
+ "search": "Pesquisar",
+ "share": "Compartilhar"
},
"createShare": {
"title": "Criar compartilhamento",
@@ -160,7 +166,13 @@
"create": "Criar compartilhamento",
"success": "Compartilhamento criado com sucesso",
"error": "Falha ao criar compartilhamento",
- "namePlaceholder": "Digite um nome para seu compartilhamento"
+ "namePlaceholder": "Digite um nome para seu compartilhamento",
+ "nextSelectFiles": "Prรณximo: Selecionar arquivos",
+ "searchLabel": "Pesquisar",
+ "tabs": {
+ "shareDetails": "Detalhes do compartilhamento",
+ "selectFiles": "Selecionar arquivos"
+ }
},
"customization": {
"breadcrumb": "Personalizaรงรฃo",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "Arquivos que serรฃo excluรญdos",
- "sharesToDelete": "Compartilhamentos que serรฃo excluรญdos"
+ "sharesToDelete": "Compartilhamentos que serรฃo excluรญdos",
+ "foldersToDelete": "Pastas a serem excluรญdas",
+ "itemsToDelete": "Itens a serem excluรญdos"
},
"downloadQueue": {
"downloadQueued": "Download na fila: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Visualizar arquivo",
"addToShare": "Adicionar ao compartilhamento",
"removeFromShare": "Remover do compartilhamento",
- "saveChanges": "Salvar Alteraรงรตes"
+ "saveChanges": "Salvar Alteraรงรตes",
+ "editFolder": "Editar pasta"
},
"files": {
"title": "Todos os Arquivos",
@@ -347,7 +362,18 @@
"viewMode": {
"table": "Tabela",
"grid": "Grade"
- }
+ },
+ "actions": {
+ "open": "Abrir",
+ "rename": "Renomear",
+ "delete": "Excluir"
+ },
+ "empty": {
+ "title": "Nenhum arquivo ou pasta ainda",
+ "description": "Carregue seu primeiro arquivo ou crie uma pasta para comeรงar"
+ },
+ "files": "arquivos",
+ "folders": "pastas"
},
"filesTable": {
"ariaLabel": "Tabela de arquivos",
@@ -377,6 +403,33 @@
"delete": "Excluir selecionados"
}
},
+ "folderActions": {
+ "editFolder": "Editar pasta",
+ "folderName": "Nome da pasta",
+ "folderNamePlaceholder": "Digite o nome da pasta",
+ "folderDescription": "Descriรงรฃo",
+ "folderDescriptionPlaceholder": "Digite a descriรงรฃo da pasta (opcional)",
+ "createFolder": "Criar nova pasta",
+ "renameFolder": "Renomear pasta",
+ "moveFolder": "Mover pasta",
+ "shareFolder": "Compartilhar pasta",
+ "deleteFolder": "Excluir pasta",
+ "moveTo": "Mover para",
+ "selectDestination": "Selecionar pasta de destino",
+ "rootFolder": "Raiz",
+ "folderCreated": "Pasta criada com sucesso",
+ "folderRenamed": "Pasta renomeada com sucesso",
+ "folderMoved": "Pasta movida com sucesso",
+ "folderDeleted": "Pasta excluรญda com sucesso",
+ "folderShared": "Pasta compartilhada com sucesso",
+ "createFolderError": "Erro ao criar pasta",
+ "renameFolderError": "Erro ao renomear pasta",
+ "moveFolderError": "Erro ao mover pasta",
+ "deleteFolderError": "Erro ao excluir pasta",
+ "shareFolderError": "Erro ao compartilhar pasta",
+ "deleteConfirmation": "Tem certeza de que deseja excluir esta pasta?",
+ "deleteWarning": "Esta aรงรฃo nรฃo pode ser desfeita."
+ },
"footer": {
"poweredBy": "Desenvolvido por",
"kyanHomepage": "Pรกgina inicial da Kyantech"
@@ -478,6 +531,13 @@
"removeFailed": "Falha ao remover logo"
}
},
+ "moveItems": {
+ "itemsToMove": "Itens para mover:",
+ "movingTo": "Movendo para:",
+ "title": "Mover {count, plural, =1 {item} other {itens}}",
+ "description": "Mover {count, plural, =1 {item} other {itens}} para um novo local",
+ "success": "Movidos com sucesso {count} {count, plural, =1 {item} other {itens}}"
+ },
"navbar": {
"logoAlt": "Logo do aplicativo",
"profileMenu": "Menu do Perfil",
@@ -1107,7 +1167,10 @@
},
"searchBar": {
"placeholder": "Buscar arquivos...",
- "results": "Encontrados {filtered} de {total} arquivos"
+ "results": "Encontrados {filtered} de {total} arquivos",
+ "placeholderFolders": "Pesquisar pastas...",
+ "noResults": "Nenhum resultado encontrado para \"{query}\"",
+ "placeholderFiles": "Buscar arquivos..."
},
"settings": {
"groups": {
@@ -1321,7 +1384,17 @@
"manageFilesTitle": "Gerenciar Arquivos",
"manageRecipientsTitle": "Gerenciar Destinatรกrios",
"editSuccess": "Compartilhamento atualizado com sucesso",
- "editError": "Falha ao atualizar compartilhamento"
+ "editError": "Falha ao atualizar compartilhamento",
+ "aliasLabel": "Alias do link",
+ "aliasPlaceholder": "Digite alias personalizado",
+ "copyLink": "Copiar link",
+ "fileTitle": "Compartilhar arquivo",
+ "folderTitle": "Compartilhar pasta",
+ "generateLink": "Gerar link",
+ "linkDescriptionFile": "Gere um link personalizado para compartilhar o arquivo",
+ "linkDescriptionFolder": "Gere um link personalizado para compartilhar a pasta",
+ "linkReady": "Seu link de compartilhamento estรก pronto:",
+ "linkTitle": "Gerar link"
},
"shareDetails": {
"title": "Detalhes do Compartilhamento",
@@ -1448,7 +1521,8 @@
"files": "arquivos",
"totalSize": "Tamanho total",
"creating": "Criando...",
- "create": "Criar Compartilhamento"
+ "create": "Criar Compartilhamento",
+ "itemsToShare": "Itens para compartilhar ({count} {count, plural, =1 {item} other {itens}})"
},
"shareSecurity": {
"subtitle": "Configurar proteรงรฃo por senha e opรงรตes de seguranรงa para este compartilhamento",
@@ -1553,7 +1627,8 @@
"delete": "Excluir",
"downloadShareFiles": "Baixar todos os arquivos",
"viewQrCode": "Visualizar QR Code"
- }
+ },
+ "folderCount": "pastas"
},
"storageUsage": {
"title": "Uso de armazenamento",
diff --git a/apps/web/messages/ru-RU.json b/apps/web/messages/ru-RU.json
index 623f01b..5942be3 100644
--- a/apps/web/messages/ru-RU.json
+++ b/apps/web/messages/ru-RU.json
@@ -144,7 +144,13 @@
"update": "ะะฑะฝะพะฒะธัั",
"click": "ะะฐะถะผะธัะต ะดะปั",
"creating": "ะกะพะทะดะฐะฝะธะต...",
- "loadingSimple": "ะะฐะณััะทะบะฐ..."
+ "loadingSimple": "ะะฐะณััะทะบะฐ...",
+ "create": "ะกะพะทะดะฐัั",
+ "deleting": "ะฃะดะฐะปะตะฝะธะต...",
+ "move": "ะะตัะตะผะตััะธัั",
+ "rename": "ะะตัะตะธะผะตะฝะพะฒะฐัั",
+ "search": "ะะพะธัะบ",
+ "share": "ะะพะดะตะปะธัััั"
},
"createShare": {
"title": "ะกะพะทะดะฐัั ะพะฑัะธะน ะดะพัััะฟ",
@@ -160,7 +166,13 @@
"error": "ะะต ัะดะฐะปะพัั ัะพะทะดะฐัั ะพะฑัะธะน ะดะพัััะฟ",
"descriptionLabel": "ะะฟะธัะฐะฝะธะต",
"descriptionPlaceholder": "ะะฒะตะดะธัะต ะพะฟะธัะฐะฝะธะต (ะพะฟัะธะพะฝะฐะปัะฝะพ)",
- "namePlaceholder": "ะะฒะตะดะธัะต ะธะผั ะดะปั ะฒะฐัะตะณะพ ะพะฑัะตะณะพ ะดะพัััะฟะฐ"
+ "namePlaceholder": "ะะฒะตะดะธัะต ะธะผั ะดะปั ะฒะฐัะตะณะพ ะพะฑัะตะณะพ ะดะพัััะฟะฐ",
+ "nextSelectFiles": "ะะฐะปะตะต: ะัะฑะพั ัะฐะนะปะพะฒ",
+ "searchLabel": "ะะพะธัะบ",
+ "tabs": {
+ "shareDetails": "ะะตัะฐะปะธ ะพะฑัะตะณะพ ะดะพัััะฟะฐ",
+ "selectFiles": "ะัะฑัะฐัั ัะฐะนะปั"
+ }
},
"customization": {
"breadcrumb": "ะะฐัััะพะนะบะฐ",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "ะคะฐะนะปั ะดะปั ัะดะฐะปะตะฝะธั",
- "sharesToDelete": "ะะฑัะธะต ะฟะฐะฟะบะธ, ะบะพัะพััะต ะฑัะดัั ัะดะฐะปะตะฝั"
+ "sharesToDelete": "ะะฑัะธะต ะฟะฐะฟะบะธ, ะบะพัะพััะต ะฑัะดัั ัะดะฐะปะตะฝั",
+ "foldersToDelete": "ะะฐะฟะบะธ ะดะปั ัะดะฐะปะตะฝะธั",
+ "itemsToDelete": "ะญะปะตะผะตะฝัั ะดะปั ัะดะฐะปะตะฝะธั"
},
"downloadQueue": {
"downloadQueued": "ะะฐะณััะทะบะฐ ะฒ ะพัะตัะตะดะธ: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "ะัะตะดะฟัะพัะผะพัั ัะฐะนะปะฐ",
"addToShare": "ะะพะฑะฐะฒะธัั ะฒ ะพะฑัะธะน ะดะพัััะฟ",
"removeFromShare": "ะฃะดะฐะปะธัั ะธะท ะพะฑัะตะณะพ ะดะพัััะฟะฐ",
- "saveChanges": "ะกะพั ัะฐะฝะธัั ะะทะผะตะฝะตะฝะธั"
+ "saveChanges": "ะกะพั ัะฐะฝะธัั ะะทะผะตะฝะตะฝะธั",
+ "editFolder": "ะ ะตะดะฐะบัะธัะพะฒะฐัั ะฟะฐะฟะบั"
},
"files": {
"title": "ะัะต ัะฐะนะปั",
@@ -347,7 +362,18 @@
"grid": "ะกะตัะบะฐ"
},
"bulkDeleteConfirmation": "ะั ัะฒะตัะตะฝั, ััะพ ั ะพัะธัะต ัะดะฐะปะธัั {count, plural, =1 {1 ัะฐะนะป} other {# ัะฐะนะปะพะฒ}}? ะญัะพ ะดะตะนััะฒะธะต ะฝะตะปัะทั ะพัะผะตะฝะธัั.",
- "bulkDeleteTitle": "ะฃะดะฐะปะธัั ะัะฑัะฐะฝะฝัะต ะคะฐะนะปั"
+ "bulkDeleteTitle": "ะฃะดะฐะปะธัั ะัะฑัะฐะฝะฝัะต ะคะฐะนะปั",
+ "actions": {
+ "open": "ะัะบัััั",
+ "rename": "ะะตัะตะธะผะตะฝะพะฒะฐัั",
+ "delete": "ะฃะดะฐะปะธัั"
+ },
+ "empty": {
+ "title": "ะะพะบะฐ ะฝะตั ัะฐะนะปะพะฒ ะธะปะธ ะฟะฐะฟะพะบ",
+ "description": "ะะฐะณััะทะธัะต ัะฒะพะน ะฟะตัะฒัะน ัะฐะนะป ะธะปะธ ัะพะทะดะฐะนัะต ะฟะฐะฟะบั ะดะปั ะฝะฐัะฐะปะฐ ัะฐะฑะพัั"
+ },
+ "files": "ัะฐะนะปั",
+ "folders": "ะฟะฐะฟะบะธ"
},
"filesTable": {
"ariaLabel": "ะขะฐะฑะปะธัะฐ ัะฐะนะปะพะฒ",
@@ -377,6 +403,33 @@
"delete": "ะฃะดะฐะปะธัั ะัะฑัะฐะฝะฝัะต"
}
},
+ "folderActions": {
+ "editFolder": "ะ ะตะดะฐะบัะธัะพะฒะฐัั ะฟะฐะฟะบั",
+ "folderName": "ะะผั ะฟะฐะฟะบะธ",
+ "folderNamePlaceholder": "ะะฒะตะดะธัะต ะธะผั ะฟะฐะฟะบะธ",
+ "folderDescription": "ะะฟะธัะฐะฝะธะต",
+ "folderDescriptionPlaceholder": "ะะฒะตะดะธัะต ะพะฟะธัะฐะฝะธะต ะฟะฐะฟะบะธ (ะฝะตะพะฑัะทะฐัะตะปัะฝะพ)",
+ "createFolder": "ะกะพะทะดะฐัั ะฝะพะฒัั ะฟะฐะฟะบั",
+ "renameFolder": "ะะตัะตะธะผะตะฝะพะฒะฐัั ะฟะฐะฟะบั",
+ "moveFolder": "ะะตัะตะผะตััะธัั ะฟะฐะฟะบั",
+ "shareFolder": "ะะพะดะตะปะธัััั ะฟะฐะฟะบะพะน",
+ "deleteFolder": "ะฃะดะฐะปะธัั ะฟะฐะฟะบั",
+ "moveTo": "ะะตัะตะผะตััะธัั ะฒ",
+ "selectDestination": "ะัะฑะตัะธัะต ะฟะฐะฟะบั ะฝะฐะทะฝะฐัะตะฝะธั",
+ "rootFolder": "ะะพัะตะฝั",
+ "folderCreated": "ะะฐะฟะบะฐ ััะฟะตัะฝะพ ัะพะทะดะฐะฝะฐ",
+ "folderRenamed": "ะะฐะฟะบะฐ ััะฟะตัะฝะพ ะฟะตัะตะธะผะตะฝะพะฒะฐะฝะฐ",
+ "folderMoved": "ะะฐะฟะบะฐ ััะฟะตัะฝะพ ะฟะตัะตะผะตัะตะฝะฐ",
+ "folderDeleted": "ะะฐะฟะบะฐ ััะฟะตัะฝะพ ัะดะฐะปะตะฝะฐ",
+ "folderShared": "ะะฐะฟะบะฐ ััะฟะตัะฝะพ ะพัะฟัะฐะฒะปะตะฝะฐ",
+ "createFolderError": "ะัะธะฑะบะฐ ัะพะทะดะฐะฝะธั ะฟะฐะฟะบะธ",
+ "renameFolderError": "ะัะธะฑะบะฐ ะฟะตัะตะธะผะตะฝะพะฒะฐะฝะธั ะฟะฐะฟะบะธ",
+ "moveFolderError": "ะัะธะฑะบะฐ ะฟะตัะตะผะตัะตะฝะธั ะฟะฐะฟะบะธ",
+ "deleteFolderError": "ะัะธะฑะบะฐ ัะดะฐะปะตะฝะธั ะฟะฐะฟะบะธ",
+ "shareFolderError": "ะัะธะฑะบะฐ ะพะฑะผะตะฝะฐ ะฟะฐะฟะบะพะน",
+ "deleteConfirmation": "ะั ัะฒะตัะตะฝั, ััะพ ั ะพัะธัะต ัะดะฐะปะธัั ััั ะฟะฐะฟะบั?",
+ "deleteWarning": "ะญัะพ ะดะตะนััะฒะธะต ะฝะตะปัะทั ะพัะผะตะฝะธัั."
+ },
"footer": {
"poweredBy": "ะัะธ ะฟะพะดะดะตัะถะบะต",
"kyanHomepage": "ะะพะผะฐัะฝัั ัััะฐะฝะธัะฐ Kyantech"
@@ -478,6 +531,13 @@
"removeFailed": "ะัะธะฑะบะฐ ัะดะฐะปะตะฝะธั ะปะพะณะพัะธะฟะฐ"
}
},
+ "moveItems": {
+ "itemsToMove": "ะญะปะตะผะตะฝัั ะดะปั ะฟะตัะตะผะตัะตะฝะธั:",
+ "movingTo": "ะะตัะตะผะตัะตะฝะธะต ะฒ:",
+ "title": "ะะตัะตะผะตััะธัั {count, plural, =1 {ัะปะตะผะตะฝั} other {ัะปะตะผะตะฝัั}}",
+ "description": "ะะตัะตะผะตััะธัั {count, plural, =1 {ัะปะตะผะตะฝั} other {ัะปะตะผะตะฝัั}} ะฒ ะฝะพะฒะพะต ะผะตััะพ",
+ "success": "ะฃัะฟะตัะฝะพ ะฟะตัะตะผะตัะตะฝะพ {count} {count, plural, =1 {ัะปะตะผะตะฝั} other {ัะปะตะผะตะฝัะพะฒ}}"
+ },
"navbar": {
"logoAlt": "ะะพะณะพัะธะฟ ะฟัะธะปะพะถะตะฝะธั",
"profileMenu": "ะะตะฝั ะฟัะพัะธะปั",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "ะะพะธัะบ ัะฐะนะปะพะฒ...",
- "results": "ะะฐะนะดะตะฝะพ {filtered} ะธะท {total} ัะฐะนะปะพะฒ"
+ "results": "ะะฐะนะดะตะฝะพ {filtered} ะธะท {total} ัะฐะนะปะพะฒ",
+ "placeholderFolders": "ะะพะธัะบ ะฟะฐะฟะพะบ...",
+ "noResults": "ะะต ะฝะฐะนะดะตะฝะพ ัะตะทัะปััะฐัะพะฒ ะดะปั \"{query}\"",
+ "placeholderFiles": "ะะพะธัะบ ัะฐะนะปะพะฒ..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editError": "ะัะธะฑะบะฐ ะพะฑะฝะพะฒะปะตะฝะธั ะพะฑัะตะณะพ ะดะพัััะฟะฐ",
"bulkDeleteConfirmation": "ะั ัะฒะตัะตะฝั, ััะพ ั ะพัะธัะต ัะดะฐะปะธัั {count, plural, =1 {1 ะพะฑััั ะฟะฐะฟะบั} other {# ะพะฑัะธั ะฟะฐะฟะพะบ}}? ะญัะพ ะดะตะนััะฒะธะต ะฝะตะปัะทั ะพัะผะตะฝะธัั.",
"bulkDeleteTitle": "ะฃะดะฐะปะธัั ะัะฑัะฐะฝะฝัะต ะะฑัะธะต ะะฐะฟะบะธ",
- "addDescriptionPlaceholder": "ะะพะฑะฐะฒะธัั ะพะฟะธัะฐะฝะธะต..."
+ "addDescriptionPlaceholder": "ะะพะฑะฐะฒะธัั ะพะฟะธัะฐะฝะธะต...",
+ "aliasLabel": "ะัะตะฒะดะพะฝะธะผ ัััะปะบะธ",
+ "aliasPlaceholder": "ะะฒะตะดะธัะต ะฟะพะปัะทะพะฒะฐัะตะปััะบะธะน ะฟัะตะฒะดะพะฝะธะผ",
+ "copyLink": "ะะพะฟะธัะพะฒะฐัั ัััะปะบั",
+ "fileTitle": "ะะพะดะตะปะธัััั ัะฐะนะปะพะผ",
+ "folderTitle": "ะะพะดะตะปะธัััั ะฟะฐะฟะบะพะน",
+ "generateLink": "ะกะพะทะดะฐัั ัััะปะบั",
+ "linkDescriptionFile": "ะกะพะทะดะฐะนัะต ะฟะพะปัะทะพะฒะฐัะตะปััะบัั ัััะปะบั ะดะปั ะพะฑะผะตะฝะฐ ัะฐะนะปะพะผ",
+ "linkDescriptionFolder": "ะกะพะทะดะฐะนัะต ะฟะพะปัะทะพะฒะฐัะตะปััะบัั ัััะปะบั ะดะปั ะพะฑะผะตะฝะฐ ะฟะฐะฟะบะพะน",
+ "linkReady": "ะะฐัะฐ ัััะปะบะฐ ะดะปั ะพะฑะผะตะฝะฐ ะณะพัะพะฒะฐ:",
+ "linkTitle": "ะกะพะทะดะฐัั ัััะปะบั"
},
"shareDetails": {
"title": "ะะตัะฐะปะธ ะะฑัะตะณะพ ะะพัััะฟะฐ",
@@ -1447,7 +1520,8 @@
"files": "ัะฐะนะปะพะฒ",
"totalSize": "ะะฑัะธะน ัะฐะทะผะตั",
"creating": "ะกะพะทะดะฐะฝะธะต...",
- "create": "ะกะพะทะดะฐัั ะะฑัะธะน ะะพัััะฟ"
+ "create": "ะกะพะทะดะฐัั ะะฑัะธะน ะะพัััะฟ",
+ "itemsToShare": "ะญะปะตะผะตะฝัั ะดะปั ะพะฑะผะตะฝะฐ ({count} {count, plural, =1 {ัะปะตะผะตะฝั} other {ัะปะตะผะตะฝัะพะฒ}})"
},
"shareSecurity": {
"subtitle": "ะะฐัััะพะนัะต ะทะฐัะธัั ะฟะฐัะพะปะตะผ ะธ ะฟะฐัะฐะผะตััั ะฑะตะทะพะฟะฐัะฝะพััะธ ะดะปั ััะพะณะพ ะพะฑัะตะณะพ ะดะพัััะฟะฐ",
@@ -1552,7 +1626,8 @@
"download": "ะกะบะฐัะฐัั ะฒัะฑัะฐะฝะฝัะน"
},
"selectAll": "ะัะฑัะฐัั ะฒัะต",
- "selectShare": "ะัะฑัะฐัั ะพะฑััั ะฟะฐะฟะบั {shareName}"
+ "selectShare": "ะัะฑัะฐัั ะพะฑััั ะฟะฐะฟะบั {shareName}",
+ "folderCount": "ะฟะฐะฟะบะธ"
},
"storageUsage": {
"title": "ะัะฟะพะปัะทะพะฒะฐะฝะธะต ั ัะฐะฝะธะปะธัะฐ",
diff --git a/apps/web/messages/tr-TR.json b/apps/web/messages/tr-TR.json
index 5d64c08..ae10a41 100644
--- a/apps/web/messages/tr-TR.json
+++ b/apps/web/messages/tr-TR.json
@@ -144,7 +144,13 @@
"update": "Gรผncelle",
"click": "Tฤฑklayฤฑn",
"creating": "Oluลturuluyor...",
- "loadingSimple": "Yรผkleniyor..."
+ "loadingSimple": "Yรผkleniyor...",
+ "create": "Oluลtur",
+ "deleting": "Siliniyor...",
+ "move": "Taลฤฑ",
+ "rename": "Yeniden Adlandฤฑr",
+ "search": "Ara",
+ "share": "Paylaล"
},
"createShare": {
"title": "Paylaลฤฑm Oluลtur",
@@ -160,7 +166,13 @@
"error": "Paylaลฤฑm oluลturulamadฤฑ",
"descriptionLabel": "Aรงฤฑklama",
"descriptionPlaceholder": "Aรงฤฑklama girin (isteฤe baฤlฤฑ)",
- "namePlaceholder": "Paylaลฤฑmฤฑnฤฑz iรงin bir ad girin"
+ "namePlaceholder": "Paylaลฤฑmฤฑnฤฑz iรงin bir ad girin",
+ "nextSelectFiles": "ฤฐleri: Dosyalarฤฑ Seรง",
+ "searchLabel": "Ara",
+ "tabs": {
+ "shareDetails": "Paylaลฤฑm Detaylarฤฑ",
+ "selectFiles": "Dosyalarฤฑ Seรง"
+ }
},
"customization": {
"breadcrumb": "รzelleลtirme",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "Silinecek dosyalar",
- "sharesToDelete": "Silinecek paylaลฤฑmlar"
+ "sharesToDelete": "Silinecek paylaลฤฑmlar",
+ "foldersToDelete": "Silinecek klasรถrler",
+ "itemsToDelete": "Silinecek รถฤeler"
},
"downloadQueue": {
"downloadQueued": "ฤฐndirme sฤฑraya alฤฑndฤฑ: {fileName}",
@@ -322,7 +336,8 @@
"previewFile": "Dosyayฤฑ รถnizle",
"addToShare": "Paylaลฤฑma ekle",
"removeFromShare": "Paylaลฤฑmdan kaldฤฑr",
- "saveChanges": "Deฤiลiklikleri Kaydet"
+ "saveChanges": "Deฤiลiklikleri Kaydet",
+ "editFolder": "Klasรถrรผ dรผzenle"
},
"files": {
"title": "Tรผm Dosyalar",
@@ -347,7 +362,18 @@
"grid": "Izgara"
},
"bulkDeleteConfirmation": "{count, plural, =1 {1 dosyayฤฑ} other {# dosyayฤฑ}} silmek istediฤinizden emin misiniz? Bu iลlem geri alฤฑnamaz.",
- "bulkDeleteTitle": "Seรงili Dosyalarฤฑ Sil"
+ "bulkDeleteTitle": "Seรงili Dosyalarฤฑ Sil",
+ "actions": {
+ "open": "Aรง",
+ "rename": "Yeniden Adlandฤฑr",
+ "delete": "Sil"
+ },
+ "empty": {
+ "title": "Henรผz dosya veya klasรถr yok",
+ "description": "Baลlamak iรงin ilk dosyanฤฑzฤฑ yรผkleyin veya bir klasรถr oluลturun"
+ },
+ "files": "dosyalar",
+ "folders": "klasรถrler"
},
"filesTable": {
"ariaLabel": "Dosya Tablosu",
@@ -377,6 +403,33 @@
"delete": "Seรงilenleri Sil"
}
},
+ "folderActions": {
+ "editFolder": "Klasรถrรผ dรผzenle",
+ "folderName": "Klasรถr Adฤฑ",
+ "folderNamePlaceholder": "Klasรถr adฤฑnฤฑ girin",
+ "folderDescription": "Aรงฤฑklama",
+ "folderDescriptionPlaceholder": "Klasรถr aรงฤฑklamasฤฑ girin (isteฤe baฤlฤฑ)",
+ "createFolder": "Yeni Klasรถr Oluลtur",
+ "renameFolder": "Klasรถrรผ Yeniden Adlandฤฑr",
+ "moveFolder": "Klasรถrรผ Taลฤฑ",
+ "shareFolder": "Klasรถrรผ Paylaล",
+ "deleteFolder": "Klasรถrรผ Sil",
+ "moveTo": "Taลฤฑ",
+ "selectDestination": "Hedef klasรถrรผ seรง",
+ "rootFolder": "Kรถk",
+ "folderCreated": "Klasรถr baลarฤฑyla oluลturuldu",
+ "folderRenamed": "Klasรถr baลarฤฑyla yeniden adlandฤฑrฤฑldฤฑ",
+ "folderMoved": "Klasรถr baลarฤฑyla taลฤฑndฤฑ",
+ "folderDeleted": "Klasรถr baลarฤฑyla silindi",
+ "folderShared": "Klasรถr baลarฤฑyla paylaลฤฑldฤฑ",
+ "createFolderError": "Klasรถr oluลturulurken hata",
+ "renameFolderError": "Klasรถr yeniden adlandฤฑrฤฑlฤฑrken hata",
+ "moveFolderError": "Klasรถr taลฤฑnฤฑrken hata",
+ "deleteFolderError": "Klasรถr silinirken hata",
+ "shareFolderError": "Klasรถr paylaลฤฑlฤฑrken hata",
+ "deleteConfirmation": "Bu klasรถrรผ silmek istediฤinizden emin misiniz?",
+ "deleteWarning": "Bu iลlem geri alฤฑnamaz."
+ },
"footer": {
"poweredBy": "Tarafฤฑndan destekleniyor:",
"kyanHomepage": "Kyantech Ana Sayfasฤฑ"
@@ -478,6 +531,13 @@
"removeFailed": "Logo kaldฤฑrฤฑlamadฤฑ"
}
},
+ "moveItems": {
+ "itemsToMove": "Taลฤฑnacak รถฤeler:",
+ "movingTo": "Taลฤฑnฤฑyor:",
+ "title": "{count, plural, =1 {รฤe} other {รฤeler}} Taลฤฑ",
+ "description": "{count, plural, =1 {รฤeyi} other {รฤeleri}} yeni konuma taลฤฑ",
+ "success": "{count} {count, plural, =1 {รถฤe} other {รถฤe}} baลarฤฑyla taลฤฑndฤฑ"
+ },
"navbar": {
"logoAlt": "Uygulama Logosu",
"profileMenu": "Profil Menรผsรผ",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "Dosya ara...",
- "results": "Toplam {total} dosya iรงinde {filtered} dosya bulundu"
+ "results": "Toplam {total} dosya iรงinde {filtered} dosya bulundu",
+ "placeholderFolders": "Klasรถrleri ara...",
+ "noResults": "\"{query}\" iรงin sonuรง bulunamadฤฑ",
+ "placeholderFiles": "Dosya ara..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"editError": "Paylaลฤฑm gรผncelleme baลarฤฑsฤฑz",
"bulkDeleteConfirmation": "{count, plural, =1 {1 paylaลฤฑmฤฑ} other {# paylaลฤฑmฤฑ}} silmek istediฤinizden emin misiniz? Bu iลlem geri alฤฑnamaz.",
"bulkDeleteTitle": "Seรงili Paylaลฤฑmlarฤฑ Sil",
- "addDescriptionPlaceholder": "Aรงฤฑklama ekle..."
+ "addDescriptionPlaceholder": "Aรงฤฑklama ekle...",
+ "aliasLabel": "Baฤlantฤฑ Takma Adฤฑ",
+ "aliasPlaceholder": "รzel takma ad girin",
+ "copyLink": "Baฤlantฤฑyฤฑ Kopyala",
+ "fileTitle": "Dosyayฤฑ Paylaล",
+ "folderTitle": "Klasรถrรผ Paylaล",
+ "generateLink": "Baฤlantฤฑ Oluลtur",
+ "linkDescriptionFile": "Dosyayฤฑ paylaลmak iรงin รถzel baฤlantฤฑ oluลturun",
+ "linkDescriptionFolder": "Klasรถrรผ paylaลmak iรงin รถzel baฤlantฤฑ oluลturun",
+ "linkReady": "Paylaลฤฑm baฤlantฤฑnฤฑz hazฤฑr:",
+ "linkTitle": "Baฤlantฤฑ Oluลtur"
},
"shareDetails": {
"title": "Paylaลฤฑm Detaylarฤฑ",
@@ -1447,7 +1520,8 @@
"files": "dosya",
"totalSize": "Toplam boyut",
"creating": "Oluลturuluyor...",
- "create": "Paylaลฤฑm Oluลtur"
+ "create": "Paylaลฤฑm Oluลtur",
+ "itemsToShare": "Paylaลฤฑlacak รถฤeler ({count} {count, plural, =1 {รถฤe} other {รถฤe}})"
},
"shareSecurity": {
"subtitle": "Bu paylaลฤฑm iรงin ลifre korumasฤฑ ve gรผvenlik seรงeneklerini yapฤฑlandฤฑrฤฑn",
@@ -1552,7 +1626,8 @@
"download": "Seรงili indir"
},
"selectAll": "Tรผmรผnรผ seรง",
- "selectShare": "Paylaลฤฑm {shareName} seรง"
+ "selectShare": "Paylaลฤฑm {shareName} seรง",
+ "folderCount": "klasรถrler"
},
"storageUsage": {
"title": "Depolama Kullanฤฑmฤฑ",
diff --git a/apps/web/messages/zh-CN.json b/apps/web/messages/zh-CN.json
index 35d4bff..d77db16 100644
--- a/apps/web/messages/zh-CN.json
+++ b/apps/web/messages/zh-CN.json
@@ -144,7 +144,13 @@
"update": "ๆดๆฐ",
"click": "็นๅป",
"creating": "ๅๅปบไธญ...",
- "loadingSimple": "ๅ ่ฝฝไธญ..."
+ "loadingSimple": "ๅ ่ฝฝไธญ...",
+ "create": "ๅๅปบ",
+ "deleting": "ๅ ้คไธญ...",
+ "move": "็งปๅจ",
+ "rename": "้ๅฝๅ",
+ "search": "ๆ็ดข",
+ "share": "ๅไบซ"
},
"createShare": {
"title": "ๅๅปบๅไบซ",
@@ -160,7 +166,13 @@
"create": "ๅๅปบๅไบซ",
"success": "ๅไบซๅๅปบๆๅ",
"error": "ๅๅปบๅไบซๅคฑ่ดฅ",
- "namePlaceholder": "่พๅ ฅๅไบซๅ็งฐ"
+ "namePlaceholder": "่พๅ ฅๅไบซๅ็งฐ",
+ "nextSelectFiles": "ไธไธๆญฅ๏ผ้ๆฉๆไปถ",
+ "searchLabel": "ๆ็ดข",
+ "tabs": {
+ "shareDetails": "ๅไบซ่ฏฆๆ ",
+ "selectFiles": "้ๆฉๆไปถ"
+ }
},
"customization": {
"breadcrumb": "่ชๅฎไน",
@@ -214,7 +226,9 @@
},
"deleteConfirmation": {
"filesToDelete": "่ฆๅ ้ค็ๆไปถ",
- "sharesToDelete": "ๅฐ่ขซๅ ้ค็ๅ ฑไบซ"
+ "sharesToDelete": "ๅฐ่ขซๅ ้ค็ๅ ฑไบซ",
+ "foldersToDelete": "่ฆๅ ้ค็ๆไปถๅคน",
+ "itemsToDelete": "่ฆๅ ้ค็้กน็ฎ"
},
"downloadQueue": {
"downloadQueued": "ๅทฒๅ ๅ ฅไธ่ฝฝ้ๅ๏ผ{fileName}",
@@ -322,7 +336,8 @@
"previewFile": "้ข่งๆไปถ",
"addToShare": "ๆทปๅ ๅฐๅ ฑไบซ",
"removeFromShare": "ไปๅ ฑไบซไธญ็งป้ค",
- "saveChanges": "ไฟๅญๆดๆน"
+ "saveChanges": "ไฟๅญๆดๆน",
+ "editFolder": "็ผ่พๆไปถๅคน"
},
"files": {
"title": "ๆๆๆไปถ",
@@ -347,7 +362,18 @@
},
"totalFiles": "{count, plural, =0 {ๆ ๆไปถ} =1 {1ไธชๆไปถ} other {#ไธชๆไปถ}}",
"bulkDeleteConfirmation": "ๆจ็กฎๅฎ่ฆๅ ้ค {count, plural, =1 {1 ไธชๆไปถ} other {# ไธชๆไปถ}}ๅ๏ผๆญคๆไฝๆ ๆณๆค้ใ",
- "bulkDeleteTitle": "ๅ ้คๆ้ๆไปถ"
+ "bulkDeleteTitle": "ๅ ้คๆ้ๆไปถ",
+ "actions": {
+ "open": "ๆๅผ",
+ "rename": "้ๅฝๅ",
+ "delete": "ๅ ้ค"
+ },
+ "empty": {
+ "title": "่ฟๆฒกๆๆไปถๆๆไปถๅคน",
+ "description": "ไธไผ ๆจ็็ฌฌไธไธชๆไปถๆๅๅปบๆไปถๅคนไปฅๅผๅงไฝฟ็จ"
+ },
+ "files": "ๆไปถ",
+ "folders": "ๆไปถๅคน"
},
"filesTable": {
"ariaLabel": "ๆไปถ่กจๆ ผ",
@@ -377,6 +403,33 @@
"delete": "ๅ ้ค้ไธญ้กน"
}
},
+ "folderActions": {
+ "editFolder": "็ผ่พๆไปถๅคน",
+ "folderName": "ๆไปถๅคนๅ็งฐ",
+ "folderNamePlaceholder": "่พๅ ฅๆไปถๅคนๅ็งฐ",
+ "folderDescription": "ๆ่ฟฐ",
+ "folderDescriptionPlaceholder": "่พๅ ฅๆไปถๅคนๆ่ฟฐ๏ผๅฏ้๏ผ",
+ "createFolder": "ๅๅปบๆฐๆไปถๅคน",
+ "renameFolder": "้ๅฝๅๆไปถๅคน",
+ "moveFolder": "็งปๅจๆไปถๅคน",
+ "shareFolder": "ๅไบซๆไปถๅคน",
+ "deleteFolder": "ๅ ้คๆไปถๅคน",
+ "moveTo": "็งปๅจๅฐ",
+ "selectDestination": "้ๆฉ็ฎๆ ๆไปถๅคน",
+ "rootFolder": "ๆ น็ฎๅฝ",
+ "folderCreated": "ๆไปถๅคนๅๅปบๆๅ",
+ "folderRenamed": "ๆไปถๅคน้ๅฝๅๆๅ",
+ "folderMoved": "ๆไปถๅคน็งปๅจๆๅ",
+ "folderDeleted": "ๆไปถๅคนๅ ้คๆๅ",
+ "folderShared": "ๆไปถๅคนๅไบซๆๅ",
+ "createFolderError": "ๅๅปบๆไปถๅคนๆถๅบ้",
+ "renameFolderError": "้ๅฝๅๆไปถๅคนๆถๅบ้",
+ "moveFolderError": "็งปๅจๆไปถๅคนๆถๅบ้",
+ "deleteFolderError": "ๅ ้คๆไปถๅคนๆถๅบ้",
+ "shareFolderError": "ๅไบซๆไปถๅคนๆถๅบ้",
+ "deleteConfirmation": "ๆจ็กฎๅฎ่ฆๅ ้คๆญคๆไปถๅคนๅ๏ผ",
+ "deleteWarning": "ๆญคๆไฝๆ ๆณๆค้ใ"
+ },
"footer": {
"poweredBy": "ๆๆฏๆฏๆ๏ผ",
"kyanHomepage": "Kyantech ไธป้กต"
@@ -478,6 +531,13 @@
"removeFailed": "Logoๅ ้คๅคฑ่ดฅ"
}
},
+ "moveItems": {
+ "itemsToMove": "่ฆ็งปๅจ็้กน็ฎ๏ผ",
+ "movingTo": "็งปๅจๅฐ๏ผ",
+ "title": "็งปๅจ {count, plural, =1 {้กน็ฎ} other {้กน็ฎ}}",
+ "description": "ๅฐ {count, plural, =1 {้กน็ฎ} other {้กน็ฎ}} ็งปๅจๅฐๆฐไฝ็ฝฎ",
+ "success": "ๆๅ็งปๅจไบ {count} ไธช้กน็ฎ"
+ },
"navbar": {
"logoAlt": "ๅบ็จLogo",
"profileMenu": "ไธชไบบ่ๅ",
@@ -1106,7 +1166,10 @@
},
"searchBar": {
"placeholder": "ๆ็ดขๆไปถ...",
- "results": "ๅ ฑ{total}ไธชๆไปถ๏ผๆพๅฐ{filtered}ไธช"
+ "results": "ๅ ฑ{total}ไธชๆไปถ๏ผๆพๅฐ{filtered}ไธช",
+ "placeholderFolders": "ๆ็ดขๆไปถๅคน...",
+ "noResults": "ๆชๆพๅฐ \"{query}\" ็ๆ็ดข็ปๆ",
+ "placeholderFiles": "ๆ็ดขๆไปถ..."
},
"settings": {
"groups": {
@@ -1320,7 +1383,17 @@
"descriptionLabel": "ๆ่ฟฐ",
"bulkDeleteConfirmation": "ๆจ็กฎๅฎ่ฆๅ ้ค{count, plural, =1 {1ไธชๅ ฑไบซ} other {#ไธชๅ ฑไบซ}}ๅ๏ผๆญคๆไฝๆ ๆณๆค้ใ",
"bulkDeleteTitle": "ๅ ้ค้ไธญ็ๅ ฑไบซ",
- "addDescriptionPlaceholder": "ๆทปๅ ๆ่ฟฐ..."
+ "addDescriptionPlaceholder": "ๆทปๅ ๆ่ฟฐ...",
+ "aliasLabel": "้พๆฅๅซๅ",
+ "aliasPlaceholder": "่พๅ ฅ่ชๅฎไนๅซๅ",
+ "copyLink": "ๅคๅถ้พๆฅ",
+ "fileTitle": "ๅไบซๆไปถ",
+ "folderTitle": "ๅไบซๆไปถๅคน",
+ "generateLink": "็ๆ้พๆฅ",
+ "linkDescriptionFile": "็ๆ่ชๅฎไน้พๆฅไปฅๅไบซๆไปถ",
+ "linkDescriptionFolder": "็ๆ่ชๅฎไน้พๆฅไปฅๅไบซๆไปถๅคน",
+ "linkReady": "ๆจ็ๅไบซ้พๆฅๅทฒๅๅคๅฅฝ๏ผ",
+ "linkTitle": "็ๆ้พๆฅ"
},
"shareDetails": {
"title": "ๅ ฑไบซ่ฏฆๆ ",
@@ -1447,7 +1520,8 @@
"files": "ๆไปถ",
"totalSize": "ๆปๅคงๅฐ",
"creating": "ๅๅปบไธญ...",
- "create": "ๅๅปบๅไบซ"
+ "create": "ๅๅปบๅไบซ",
+ "itemsToShare": "่ฆๅไบซ็้กน็ฎ๏ผ{count} ไธช้กน็ฎ๏ผ"
},
"shareSecurity": {
"subtitle": "ไธบๆญคๅไบซ้ ็ฝฎๅฏ็ ไฟๆคๅๅฎๅ จ้้กน",
@@ -1552,7 +1626,8 @@
"download": "้ๆฉไธ่ฝฝ"
},
"selectAll": "ๅ จ้",
- "selectShare": "้ๆฉๅ ฑไบซ {shareName}"
+ "selectShare": "้ๆฉๅ ฑไบซ {shareName}",
+ "folderCount": "ๆไปถๅคน"
},
"storageUsage": {
"title": "ๅญๅจไฝฟ็จๆ ๅต",
diff --git a/apps/web/src/app/(shares)/s/[alias]/components/files-table.tsx b/apps/web/src/app/(shares)/s/[alias]/components/files-table.tsx
index 186071b..ce585f6 100644
--- a/apps/web/src/app/(shares)/s/[alias]/components/files-table.tsx
+++ b/apps/web/src/app/(shares)/s/[alias]/components/files-table.tsx
@@ -1,5 +1,5 @@
import { useState } from "react";
-import { IconDownload, IconEye } from "@tabler/icons-react";
+import { IconDownload, IconEye, IconFolder, IconFolderOpen } from "@tabler/icons-react";
import { useTranslations } from "next-intl";
import { FilePreviewModal } from "@/components/modals/file-preview-modal";
@@ -7,9 +7,39 @@ import { Button } from "@/components/ui/button";
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table";
import { getFileIcon } from "@/utils/file-icons";
import { formatFileSize } from "@/utils/format-file-size";
-import { ShareFilesTableProps } from "../types";
-export function ShareFilesTable({ files, onDownload }: ShareFilesTableProps) {
+interface ShareFile {
+ id: string;
+ name: string;
+ size: string | number;
+ objectName: string;
+ createdAt: string;
+}
+
+interface ShareFolder {
+ id: string;
+ name: string;
+ totalSize?: string | number | null;
+ createdAt: string;
+}
+
+interface ShareFilesTableProps {
+ files?: ShareFile[];
+ folders?: ShareFolder[];
+ onDownload: (objectName: string, fileName: string) => Promise;
+ onDownloadFolder?: (folderId: string, folderName: string) => Promise;
+ onNavigateToFolder?: (folderId: string) => void;
+ enableNavigation?: boolean;
+}
+
+export function ShareFilesTable({
+ files = [],
+ folders = [],
+ onDownload,
+ onDownloadFolder,
+ onNavigateToFolder,
+ enableNavigation = false,
+}: ShareFilesTableProps) {
const t = useTranslations();
const [isPreviewOpen, setIsPreviewOpen] = useState(false);
const [selectedFile, setSelectedFile] = useState<{ name: string; objectName: string; type?: string } | null>(null);
@@ -36,6 +66,25 @@ export function ShareFilesTable({ files, onDownload }: ShareFilesTableProps) {
setSelectedFile(null);
};
+ const handleFolderClick = (folderId: string) => {
+ if (enableNavigation && onNavigateToFolder) {
+ onNavigateToFolder(folderId);
+ }
+ };
+
+ const handleFolderDownload = async (folderId: string, folderName: string) => {
+ if (enableNavigation && onDownloadFolder) {
+ await onDownloadFolder(folderId, folderName);
+ } else {
+ await onDownload(`folder:${folderId}`, folderName);
+ }
+ };
+
+ const allItems = [
+ ...folders.map((folder) => ({ ...folder, type: "folder" as const })),
+ ...files.map((file) => ({ ...file, type: "file" as const })),
+ ];
+
return (